@inkeep/cxkit-primitives 0.5.20 → 0.5.21

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.
@@ -1 +1 @@
1
- "use client";"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),C=require("react"),t=require("@radix-ui/react-id"),n=C.forwardRef((s,o)=>{const r=t.useId();return e.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o,...s,children:[e.jsx("title",{children:"AI Avatar"}),e.jsx("path",{d:"M9.937 15.5002C9.84772 15.1542 9.66734 14.8384 9.41462 14.5856C9.1619 14.3329 8.84607 14.1525 8.5 14.0632L2.365 12.4812C2.26033 12.4515 2.16821 12.3885 2.10261 12.3017C2.03702 12.2149 2.00153 12.1091 2.00153 12.0002C2.00153 11.8914 2.03702 11.7856 2.10261 11.6988C2.16821 11.612 2.26033 11.549 2.365 11.5192L8.5 9.93625C8.84595 9.84706 9.16169 9.66682 9.4144 9.41429C9.66711 9.16175 9.84757 8.84614 9.937 8.50025L11.519 2.36525C11.5484 2.26017 11.6114 2.16759 11.6983 2.10164C11.7853 2.0357 11.8914 2 12.0005 2C12.1096 2 12.2157 2.0357 12.3027 2.10164C12.3896 2.16759 12.4526 2.26017 12.482 2.36525L14.063 8.50025C14.1523 8.84632 14.3327 9.16215 14.5854 9.41487C14.8381 9.66759 15.1539 9.84797 15.5 9.93725L21.635 11.5182C21.7405 11.5473 21.8335 11.6103 21.8998 11.6973C21.9661 11.7844 22.0021 11.8908 22.0021 12.0002C22.0021 12.1097 21.9661 12.2161 21.8998 12.3032C21.8335 12.3902 21.7405 12.4531 21.635 12.4822L15.5 14.0632C15.1539 14.1525 14.8381 14.3329 14.5854 14.5856C14.3327 14.8384 14.1523 15.1542 14.063 15.5002L12.481 21.6353C12.4516 21.7403 12.3886 21.8329 12.3017 21.8989C12.2147 21.9648 12.1086 22.0005 11.9995 22.0005C11.8904 22.0005 11.7843 21.9648 11.6973 21.8989C11.6104 21.8329 11.5474 21.7403 11.518 21.6353L9.937 15.5002Z",stroke:`url(#${r}-stroke1)`,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M18.9838 5.37522C18.9615 5.28871 18.9164 5.20975 18.8532 5.14657C18.79 5.08339 18.7111 5.0383 18.6246 5.01598L17.0909 4.62049C17.0647 4.61306 17.0417 4.5973 17.0253 4.5756C17.0089 4.5539 17 4.52744 17 4.50024C17 4.47304 17.0089 4.44659 17.0253 4.42488C17.0417 4.40318 17.0647 4.38742 17.0909 4.38L18.6246 3.98426C18.7111 3.96196 18.79 3.9169 18.8532 3.85377C18.9163 3.79064 18.9615 3.71174 18.9838 3.62527L19.3793 2.09155C19.3867 2.06528 19.4024 2.04214 19.4241 2.02565C19.4459 2.00917 19.4724 2.00024 19.4997 2.00024C19.527 2.00024 19.5535 2.00917 19.5752 2.02565C19.597 2.04214 19.6127 2.06528 19.6201 2.09155L20.0153 3.62527C20.0376 3.71178 20.0827 3.79074 20.1459 3.85391C20.2091 3.91709 20.288 3.96219 20.3745 3.98451L21.9082 4.37975C21.9346 4.38702 21.9579 4.40275 21.9744 4.42452C21.991 4.44628 22 4.47288 22 4.50024C22 4.5276 21.991 4.55421 21.9744 4.57597C21.9579 4.59774 21.9346 4.61347 21.9082 4.62074L20.3745 5.01598C20.288 5.0383 20.2091 5.08339 20.1459 5.14657C20.0827 5.20975 20.0376 5.28871 20.0153 5.37522L19.6198 6.90893C19.6124 6.9352 19.5967 6.95835 19.575 6.97483C19.5532 6.99132 19.5267 7.00024 19.4994 7.00024C19.4721 7.00024 19.4456 6.99132 19.4239 6.97483C19.4022 6.95835 19.3864 6.9352 19.3791 6.90893L18.9838 5.37522Z",stroke:`url(#${r}-stroke2)`,strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M3.98382 20.3752C3.9615 20.2887 3.9164 20.2098 3.85322 20.1466C3.79005 20.0834 3.71109 20.0383 3.62458 20.016L2.09087 19.6205C2.0647 19.6131 2.04167 19.5973 2.02527 19.5756C2.00887 19.5539 2 19.5274 2 19.5002C2 19.473 2.00887 19.4466 2.02527 19.4249C2.04167 19.4032 2.0647 19.3874 2.09087 19.38L3.62458 18.9843C3.71106 18.962 3.78999 18.9169 3.85317 18.8538C3.91635 18.7906 3.96146 18.7117 3.98382 18.6253L4.37931 17.0916C4.38666 17.0653 4.4024 17.0421 4.42414 17.0257C4.44587 17.0092 4.4724 17.0002 4.49968 17.0002C4.52696 17.0002 4.55349 17.0092 4.57522 17.0257C4.59695 17.0421 4.6127 17.0653 4.62005 17.0916L5.01529 18.6253C5.03761 18.7118 5.0827 18.7907 5.14588 18.8539C5.20906 18.9171 5.28801 18.9622 5.37453 18.9845L6.90824 19.3797C6.93461 19.387 6.95787 19.4027 6.97445 19.4245C6.99102 19.4463 7 19.4729 7 19.5002C7 19.5276 6.99102 19.5542 6.97445 19.576C6.95787 19.5977 6.93461 19.6135 6.90824 19.6207L5.37453 20.016C5.28801 20.0383 5.20906 20.0834 5.14588 20.1466C5.0827 20.2098 5.03761 20.2887 5.01529 20.3752L4.6198 21.9089C4.61245 21.9352 4.5967 21.9583 4.57497 21.9748C4.55324 21.9913 4.52671 22.0002 4.49943 22.0002C4.47215 22.0002 4.44562 21.9913 4.42389 21.9748C4.40215 21.9583 4.38641 21.9352 4.37906 21.9089L3.98382 20.3752Z",stroke:`url(#${r}-stroke3)`,strokeLinecap:"round",strokeLinejoin:"round"}),e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:`${r}-stroke1`,x1:"0.149625",y1:"0.148102",x2:"23.8539",y2:"23.8524",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{offset:"0.287444",stopColor:"var(--start-color)"}),e.jsx("stop",{offset:"0.728693",stopColor:"var(--end-color)"})]}),e.jsxs("linearGradient",{id:`${r}-stroke2`,x1:"16.537",y1:"1.53728",x2:"22.463",y2:"7.46321",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{offset:"0.287444",stopColor:"var(--start-color)"}),e.jsx("stop",{offset:"0.728693",stopColor:"var(--end-color)"})]}),e.jsxs("linearGradient",{id:`${r}-stroke3`,x1:"1.53704",y1:"16.5373",x2:"7.46296",y2:"22.4632",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{offset:"0.287444",stopColor:"var(--start-color)"}),e.jsx("stop",{offset:"0.728693",stopColor:"var(--end-color)"})]})]})]})});exports.default=n;
1
+ "use client";"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),o=require("react"),t=o.forwardRef((r,C)=>{const s=o.useId();return e.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",height:"100%",width:"100%",ref:C,...r,children:[e.jsx("title",{children:"AI Avatar"}),e.jsx("path",{d:"M9.937 15.5002C9.84772 15.1542 9.66734 14.8384 9.41462 14.5856C9.1619 14.3329 8.84607 14.1525 8.5 14.0632L2.365 12.4812C2.26033 12.4515 2.16821 12.3885 2.10261 12.3017C2.03702 12.2149 2.00153 12.1091 2.00153 12.0002C2.00153 11.8914 2.03702 11.7856 2.10261 11.6988C2.16821 11.612 2.26033 11.549 2.365 11.5192L8.5 9.93625C8.84595 9.84706 9.16169 9.66682 9.4144 9.41429C9.66711 9.16175 9.84757 8.84614 9.937 8.50025L11.519 2.36525C11.5484 2.26017 11.6114 2.16759 11.6983 2.10164C11.7853 2.0357 11.8914 2 12.0005 2C12.1096 2 12.2157 2.0357 12.3027 2.10164C12.3896 2.16759 12.4526 2.26017 12.482 2.36525L14.063 8.50025C14.1523 8.84632 14.3327 9.16215 14.5854 9.41487C14.8381 9.66759 15.1539 9.84797 15.5 9.93725L21.635 11.5182C21.7405 11.5473 21.8335 11.6103 21.8998 11.6973C21.9661 11.7844 22.0021 11.8908 22.0021 12.0002C22.0021 12.1097 21.9661 12.2161 21.8998 12.3032C21.8335 12.3902 21.7405 12.4531 21.635 12.4822L15.5 14.0632C15.1539 14.1525 14.8381 14.3329 14.5854 14.5856C14.3327 14.8384 14.1523 15.1542 14.063 15.5002L12.481 21.6353C12.4516 21.7403 12.3886 21.8329 12.3017 21.8989C12.2147 21.9648 12.1086 22.0005 11.9995 22.0005C11.8904 22.0005 11.7843 21.9648 11.6973 21.8989C11.6104 21.8329 11.5474 21.7403 11.518 21.6353L9.937 15.5002Z",stroke:`url(#${s}-stroke1)`,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M18.9838 5.37522C18.9615 5.28871 18.9164 5.20975 18.8532 5.14657C18.79 5.08339 18.7111 5.0383 18.6246 5.01598L17.0909 4.62049C17.0647 4.61306 17.0417 4.5973 17.0253 4.5756C17.0089 4.5539 17 4.52744 17 4.50024C17 4.47304 17.0089 4.44659 17.0253 4.42488C17.0417 4.40318 17.0647 4.38742 17.0909 4.38L18.6246 3.98426C18.7111 3.96196 18.79 3.9169 18.8532 3.85377C18.9163 3.79064 18.9615 3.71174 18.9838 3.62527L19.3793 2.09155C19.3867 2.06528 19.4024 2.04214 19.4241 2.02565C19.4459 2.00917 19.4724 2.00024 19.4997 2.00024C19.527 2.00024 19.5535 2.00917 19.5752 2.02565C19.597 2.04214 19.6127 2.06528 19.6201 2.09155L20.0153 3.62527C20.0376 3.71178 20.0827 3.79074 20.1459 3.85391C20.2091 3.91709 20.288 3.96219 20.3745 3.98451L21.9082 4.37975C21.9346 4.38702 21.9579 4.40275 21.9744 4.42452C21.991 4.44628 22 4.47288 22 4.50024C22 4.5276 21.991 4.55421 21.9744 4.57597C21.9579 4.59774 21.9346 4.61347 21.9082 4.62074L20.3745 5.01598C20.288 5.0383 20.2091 5.08339 20.1459 5.14657C20.0827 5.20975 20.0376 5.28871 20.0153 5.37522L19.6198 6.90893C19.6124 6.9352 19.5967 6.95835 19.575 6.97483C19.5532 6.99132 19.5267 7.00024 19.4994 7.00024C19.4721 7.00024 19.4456 6.99132 19.4239 6.97483C19.4022 6.95835 19.3864 6.9352 19.3791 6.90893L18.9838 5.37522Z",stroke:`url(#${s}-stroke2)`,strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M3.98382 20.3752C3.9615 20.2887 3.9164 20.2098 3.85322 20.1466C3.79005 20.0834 3.71109 20.0383 3.62458 20.016L2.09087 19.6205C2.0647 19.6131 2.04167 19.5973 2.02527 19.5756C2.00887 19.5539 2 19.5274 2 19.5002C2 19.473 2.00887 19.4466 2.02527 19.4249C2.04167 19.4032 2.0647 19.3874 2.09087 19.38L3.62458 18.9843C3.71106 18.962 3.78999 18.9169 3.85317 18.8538C3.91635 18.7906 3.96146 18.7117 3.98382 18.6253L4.37931 17.0916C4.38666 17.0653 4.4024 17.0421 4.42414 17.0257C4.44587 17.0092 4.4724 17.0002 4.49968 17.0002C4.52696 17.0002 4.55349 17.0092 4.57522 17.0257C4.59695 17.0421 4.6127 17.0653 4.62005 17.0916L5.01529 18.6253C5.03761 18.7118 5.0827 18.7907 5.14588 18.8539C5.20906 18.9171 5.28801 18.9622 5.37453 18.9845L6.90824 19.3797C6.93461 19.387 6.95787 19.4027 6.97445 19.4245C6.99102 19.4463 7 19.4729 7 19.5002C7 19.5276 6.99102 19.5542 6.97445 19.576C6.95787 19.5977 6.93461 19.6135 6.90824 19.6207L5.37453 20.016C5.28801 20.0383 5.20906 20.0834 5.14588 20.1466C5.0827 20.2098 5.03761 20.2887 5.01529 20.3752L4.6198 21.9089C4.61245 21.9352 4.5967 21.9583 4.57497 21.9748C4.55324 21.9913 4.52671 22.0002 4.49943 22.0002C4.47215 22.0002 4.44562 21.9913 4.42389 21.9748C4.40215 21.9583 4.38641 21.9352 4.37906 21.9089L3.98382 20.3752Z",stroke:`url(#${s}-stroke3)`,strokeLinecap:"round",strokeLinejoin:"round"}),e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:`${s}-stroke1`,x1:"0.149625",y1:"0.148102",x2:"23.8539",y2:"23.8524",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{offset:"0.287444",stopColor:"var(--start-color)"}),e.jsx("stop",{offset:"0.728693",stopColor:"var(--end-color)"})]}),e.jsxs("linearGradient",{id:`${s}-stroke2`,x1:"16.537",y1:"1.53728",x2:"22.463",y2:"7.46321",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{offset:"0.287444",stopColor:"var(--start-color)"}),e.jsx("stop",{offset:"0.728693",stopColor:"var(--end-color)"})]}),e.jsxs("linearGradient",{id:`${s}-stroke3`,x1:"1.53704",y1:"16.5373",x2:"7.46296",y2:"22.4632",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{offset:"0.287444",stopColor:"var(--start-color)"}),e.jsx("stop",{offset:"0.728693",stopColor:"var(--end-color)"})]})]})]})});exports.default=t;
@@ -1,88 +1,99 @@
1
1
  "use client";
2
- import { jsxs as C, jsx as o } from "react/jsx-runtime";
3
- import { forwardRef as s } from "react";
4
- import { useId as n } from "@radix-ui/react-id";
5
- const l = s((t, e) => {
6
- const r = n();
7
- return /* @__PURE__ */ C("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: e, ...t, children: [
8
- /* @__PURE__ */ o("title", { children: "AI Avatar" }),
9
- /* @__PURE__ */ o(
10
- "path",
11
- {
12
- d: "M9.937 15.5002C9.84772 15.1542 9.66734 14.8384 9.41462 14.5856C9.1619 14.3329 8.84607 14.1525 8.5 14.0632L2.365 12.4812C2.26033 12.4515 2.16821 12.3885 2.10261 12.3017C2.03702 12.2149 2.00153 12.1091 2.00153 12.0002C2.00153 11.8914 2.03702 11.7856 2.10261 11.6988C2.16821 11.612 2.26033 11.549 2.365 11.5192L8.5 9.93625C8.84595 9.84706 9.16169 9.66682 9.4144 9.41429C9.66711 9.16175 9.84757 8.84614 9.937 8.50025L11.519 2.36525C11.5484 2.26017 11.6114 2.16759 11.6983 2.10164C11.7853 2.0357 11.8914 2 12.0005 2C12.1096 2 12.2157 2.0357 12.3027 2.10164C12.3896 2.16759 12.4526 2.26017 12.482 2.36525L14.063 8.50025C14.1523 8.84632 14.3327 9.16215 14.5854 9.41487C14.8381 9.66759 15.1539 9.84797 15.5 9.93725L21.635 11.5182C21.7405 11.5473 21.8335 11.6103 21.8998 11.6973C21.9661 11.7844 22.0021 11.8908 22.0021 12.0002C22.0021 12.1097 21.9661 12.2161 21.8998 12.3032C21.8335 12.3902 21.7405 12.4531 21.635 12.4822L15.5 14.0632C15.1539 14.1525 14.8381 14.3329 14.5854 14.5856C14.3327 14.8384 14.1523 15.1542 14.063 15.5002L12.481 21.6353C12.4516 21.7403 12.3886 21.8329 12.3017 21.8989C12.2147 21.9648 12.1086 22.0005 11.9995 22.0005C11.8904 22.0005 11.7843 21.9648 11.6973 21.8989C11.6104 21.8329 11.5474 21.7403 11.518 21.6353L9.937 15.5002Z",
13
- stroke: `url(#${r}-stroke1)`,
14
- strokeWidth: "2",
15
- strokeLinecap: "round",
16
- strokeLinejoin: "round"
17
- }
18
- ),
19
- /* @__PURE__ */ o(
20
- "path",
21
- {
22
- d: "M18.9838 5.37522C18.9615 5.28871 18.9164 5.20975 18.8532 5.14657C18.79 5.08339 18.7111 5.0383 18.6246 5.01598L17.0909 4.62049C17.0647 4.61306 17.0417 4.5973 17.0253 4.5756C17.0089 4.5539 17 4.52744 17 4.50024C17 4.47304 17.0089 4.44659 17.0253 4.42488C17.0417 4.40318 17.0647 4.38742 17.0909 4.38L18.6246 3.98426C18.7111 3.96196 18.79 3.9169 18.8532 3.85377C18.9163 3.79064 18.9615 3.71174 18.9838 3.62527L19.3793 2.09155C19.3867 2.06528 19.4024 2.04214 19.4241 2.02565C19.4459 2.00917 19.4724 2.00024 19.4997 2.00024C19.527 2.00024 19.5535 2.00917 19.5752 2.02565C19.597 2.04214 19.6127 2.06528 19.6201 2.09155L20.0153 3.62527C20.0376 3.71178 20.0827 3.79074 20.1459 3.85391C20.2091 3.91709 20.288 3.96219 20.3745 3.98451L21.9082 4.37975C21.9346 4.38702 21.9579 4.40275 21.9744 4.42452C21.991 4.44628 22 4.47288 22 4.50024C22 4.5276 21.991 4.55421 21.9744 4.57597C21.9579 4.59774 21.9346 4.61347 21.9082 4.62074L20.3745 5.01598C20.288 5.0383 20.2091 5.08339 20.1459 5.14657C20.0827 5.20975 20.0376 5.28871 20.0153 5.37522L19.6198 6.90893C19.6124 6.9352 19.5967 6.95835 19.575 6.97483C19.5532 6.99132 19.5267 7.00024 19.4994 7.00024C19.4721 7.00024 19.4456 6.99132 19.4239 6.97483C19.4022 6.95835 19.3864 6.9352 19.3791 6.90893L18.9838 5.37522Z",
23
- stroke: `url(#${r}-stroke2)`,
24
- strokeLinecap: "round",
25
- strokeLinejoin: "round"
26
- }
27
- ),
28
- /* @__PURE__ */ o(
29
- "path",
30
- {
31
- d: "M3.98382 20.3752C3.9615 20.2887 3.9164 20.2098 3.85322 20.1466C3.79005 20.0834 3.71109 20.0383 3.62458 20.016L2.09087 19.6205C2.0647 19.6131 2.04167 19.5973 2.02527 19.5756C2.00887 19.5539 2 19.5274 2 19.5002C2 19.473 2.00887 19.4466 2.02527 19.4249C2.04167 19.4032 2.0647 19.3874 2.09087 19.38L3.62458 18.9843C3.71106 18.962 3.78999 18.9169 3.85317 18.8538C3.91635 18.7906 3.96146 18.7117 3.98382 18.6253L4.37931 17.0916C4.38666 17.0653 4.4024 17.0421 4.42414 17.0257C4.44587 17.0092 4.4724 17.0002 4.49968 17.0002C4.52696 17.0002 4.55349 17.0092 4.57522 17.0257C4.59695 17.0421 4.6127 17.0653 4.62005 17.0916L5.01529 18.6253C5.03761 18.7118 5.0827 18.7907 5.14588 18.8539C5.20906 18.9171 5.28801 18.9622 5.37453 18.9845L6.90824 19.3797C6.93461 19.387 6.95787 19.4027 6.97445 19.4245C6.99102 19.4463 7 19.4729 7 19.5002C7 19.5276 6.99102 19.5542 6.97445 19.576C6.95787 19.5977 6.93461 19.6135 6.90824 19.6207L5.37453 20.016C5.28801 20.0383 5.20906 20.0834 5.14588 20.1466C5.0827 20.2098 5.03761 20.2887 5.01529 20.3752L4.6198 21.9089C4.61245 21.9352 4.5967 21.9583 4.57497 21.9748C4.55324 21.9913 4.52671 22.0002 4.49943 22.0002C4.47215 22.0002 4.44562 21.9913 4.42389 21.9748C4.40215 21.9583 4.38641 21.9352 4.37906 21.9089L3.98382 20.3752Z",
32
- stroke: `url(#${r}-stroke3)`,
33
- strokeLinecap: "round",
34
- strokeLinejoin: "round"
35
- }
36
- ),
37
- /* @__PURE__ */ C("defs", { children: [
38
- /* @__PURE__ */ C(
39
- "linearGradient",
40
- {
41
- id: `${r}-stroke1`,
42
- x1: "0.149625",
43
- y1: "0.148102",
44
- x2: "23.8539",
45
- y2: "23.8524",
46
- gradientUnits: "userSpaceOnUse",
47
- children: [
48
- /* @__PURE__ */ o("stop", { offset: "0.287444", stopColor: "var(--start-color)" }),
49
- /* @__PURE__ */ o("stop", { offset: "0.728693", stopColor: "var(--end-color)" })
50
- ]
51
- }
52
- ),
53
- /* @__PURE__ */ C(
54
- "linearGradient",
55
- {
56
- id: `${r}-stroke2`,
57
- x1: "16.537",
58
- y1: "1.53728",
59
- x2: "22.463",
60
- y2: "7.46321",
61
- gradientUnits: "userSpaceOnUse",
62
- children: [
63
- /* @__PURE__ */ o("stop", { offset: "0.287444", stopColor: "var(--start-color)" }),
64
- /* @__PURE__ */ o("stop", { offset: "0.728693", stopColor: "var(--end-color)" })
65
- ]
66
- }
67
- ),
68
- /* @__PURE__ */ C(
69
- "linearGradient",
70
- {
71
- id: `${r}-stroke3`,
72
- x1: "1.53704",
73
- y1: "16.5373",
74
- x2: "7.46296",
75
- y2: "22.4632",
76
- gradientUnits: "userSpaceOnUse",
77
- children: [
78
- /* @__PURE__ */ o("stop", { offset: "0.287444", stopColor: "var(--start-color)" }),
79
- /* @__PURE__ */ o("stop", { offset: "0.728693", stopColor: "var(--end-color)" })
80
- ]
81
- }
82
- )
83
- ] })
84
- ] });
2
+ import { jsxs as r, jsx as o } from "react/jsx-runtime";
3
+ import { forwardRef as s, useId as n } from "react";
4
+ const a = s((t, e) => {
5
+ const C = n();
6
+ return /* @__PURE__ */ r(
7
+ "svg",
8
+ {
9
+ viewBox: "0 0 24 24",
10
+ fill: "none",
11
+ xmlns: "http://www.w3.org/2000/svg",
12
+ height: "100%",
13
+ width: "100%",
14
+ ref: e,
15
+ ...t,
16
+ children: [
17
+ /* @__PURE__ */ o("title", { children: "AI Avatar" }),
18
+ /* @__PURE__ */ o(
19
+ "path",
20
+ {
21
+ d: "M9.937 15.5002C9.84772 15.1542 9.66734 14.8384 9.41462 14.5856C9.1619 14.3329 8.84607 14.1525 8.5 14.0632L2.365 12.4812C2.26033 12.4515 2.16821 12.3885 2.10261 12.3017C2.03702 12.2149 2.00153 12.1091 2.00153 12.0002C2.00153 11.8914 2.03702 11.7856 2.10261 11.6988C2.16821 11.612 2.26033 11.549 2.365 11.5192L8.5 9.93625C8.84595 9.84706 9.16169 9.66682 9.4144 9.41429C9.66711 9.16175 9.84757 8.84614 9.937 8.50025L11.519 2.36525C11.5484 2.26017 11.6114 2.16759 11.6983 2.10164C11.7853 2.0357 11.8914 2 12.0005 2C12.1096 2 12.2157 2.0357 12.3027 2.10164C12.3896 2.16759 12.4526 2.26017 12.482 2.36525L14.063 8.50025C14.1523 8.84632 14.3327 9.16215 14.5854 9.41487C14.8381 9.66759 15.1539 9.84797 15.5 9.93725L21.635 11.5182C21.7405 11.5473 21.8335 11.6103 21.8998 11.6973C21.9661 11.7844 22.0021 11.8908 22.0021 12.0002C22.0021 12.1097 21.9661 12.2161 21.8998 12.3032C21.8335 12.3902 21.7405 12.4531 21.635 12.4822L15.5 14.0632C15.1539 14.1525 14.8381 14.3329 14.5854 14.5856C14.3327 14.8384 14.1523 15.1542 14.063 15.5002L12.481 21.6353C12.4516 21.7403 12.3886 21.8329 12.3017 21.8989C12.2147 21.9648 12.1086 22.0005 11.9995 22.0005C11.8904 22.0005 11.7843 21.9648 11.6973 21.8989C11.6104 21.8329 11.5474 21.7403 11.518 21.6353L9.937 15.5002Z",
22
+ stroke: `url(#${C}-stroke1)`,
23
+ strokeWidth: "2",
24
+ strokeLinecap: "round",
25
+ strokeLinejoin: "round"
26
+ }
27
+ ),
28
+ /* @__PURE__ */ o(
29
+ "path",
30
+ {
31
+ d: "M18.9838 5.37522C18.9615 5.28871 18.9164 5.20975 18.8532 5.14657C18.79 5.08339 18.7111 5.0383 18.6246 5.01598L17.0909 4.62049C17.0647 4.61306 17.0417 4.5973 17.0253 4.5756C17.0089 4.5539 17 4.52744 17 4.50024C17 4.47304 17.0089 4.44659 17.0253 4.42488C17.0417 4.40318 17.0647 4.38742 17.0909 4.38L18.6246 3.98426C18.7111 3.96196 18.79 3.9169 18.8532 3.85377C18.9163 3.79064 18.9615 3.71174 18.9838 3.62527L19.3793 2.09155C19.3867 2.06528 19.4024 2.04214 19.4241 2.02565C19.4459 2.00917 19.4724 2.00024 19.4997 2.00024C19.527 2.00024 19.5535 2.00917 19.5752 2.02565C19.597 2.04214 19.6127 2.06528 19.6201 2.09155L20.0153 3.62527C20.0376 3.71178 20.0827 3.79074 20.1459 3.85391C20.2091 3.91709 20.288 3.96219 20.3745 3.98451L21.9082 4.37975C21.9346 4.38702 21.9579 4.40275 21.9744 4.42452C21.991 4.44628 22 4.47288 22 4.50024C22 4.5276 21.991 4.55421 21.9744 4.57597C21.9579 4.59774 21.9346 4.61347 21.9082 4.62074L20.3745 5.01598C20.288 5.0383 20.2091 5.08339 20.1459 5.14657C20.0827 5.20975 20.0376 5.28871 20.0153 5.37522L19.6198 6.90893C19.6124 6.9352 19.5967 6.95835 19.575 6.97483C19.5532 6.99132 19.5267 7.00024 19.4994 7.00024C19.4721 7.00024 19.4456 6.99132 19.4239 6.97483C19.4022 6.95835 19.3864 6.9352 19.3791 6.90893L18.9838 5.37522Z",
32
+ stroke: `url(#${C}-stroke2)`,
33
+ strokeLinecap: "round",
34
+ strokeLinejoin: "round"
35
+ }
36
+ ),
37
+ /* @__PURE__ */ o(
38
+ "path",
39
+ {
40
+ d: "M3.98382 20.3752C3.9615 20.2887 3.9164 20.2098 3.85322 20.1466C3.79005 20.0834 3.71109 20.0383 3.62458 20.016L2.09087 19.6205C2.0647 19.6131 2.04167 19.5973 2.02527 19.5756C2.00887 19.5539 2 19.5274 2 19.5002C2 19.473 2.00887 19.4466 2.02527 19.4249C2.04167 19.4032 2.0647 19.3874 2.09087 19.38L3.62458 18.9843C3.71106 18.962 3.78999 18.9169 3.85317 18.8538C3.91635 18.7906 3.96146 18.7117 3.98382 18.6253L4.37931 17.0916C4.38666 17.0653 4.4024 17.0421 4.42414 17.0257C4.44587 17.0092 4.4724 17.0002 4.49968 17.0002C4.52696 17.0002 4.55349 17.0092 4.57522 17.0257C4.59695 17.0421 4.6127 17.0653 4.62005 17.0916L5.01529 18.6253C5.03761 18.7118 5.0827 18.7907 5.14588 18.8539C5.20906 18.9171 5.28801 18.9622 5.37453 18.9845L6.90824 19.3797C6.93461 19.387 6.95787 19.4027 6.97445 19.4245C6.99102 19.4463 7 19.4729 7 19.5002C7 19.5276 6.99102 19.5542 6.97445 19.576C6.95787 19.5977 6.93461 19.6135 6.90824 19.6207L5.37453 20.016C5.28801 20.0383 5.20906 20.0834 5.14588 20.1466C5.0827 20.2098 5.03761 20.2887 5.01529 20.3752L4.6198 21.9089C4.61245 21.9352 4.5967 21.9583 4.57497 21.9748C4.55324 21.9913 4.52671 22.0002 4.49943 22.0002C4.47215 22.0002 4.44562 21.9913 4.42389 21.9748C4.40215 21.9583 4.38641 21.9352 4.37906 21.9089L3.98382 20.3752Z",
41
+ stroke: `url(#${C}-stroke3)`,
42
+ strokeLinecap: "round",
43
+ strokeLinejoin: "round"
44
+ }
45
+ ),
46
+ /* @__PURE__ */ r("defs", { children: [
47
+ /* @__PURE__ */ r(
48
+ "linearGradient",
49
+ {
50
+ id: `${C}-stroke1`,
51
+ x1: "0.149625",
52
+ y1: "0.148102",
53
+ x2: "23.8539",
54
+ y2: "23.8524",
55
+ gradientUnits: "userSpaceOnUse",
56
+ children: [
57
+ /* @__PURE__ */ o("stop", { offset: "0.287444", stopColor: "var(--start-color)" }),
58
+ /* @__PURE__ */ o("stop", { offset: "0.728693", stopColor: "var(--end-color)" })
59
+ ]
60
+ }
61
+ ),
62
+ /* @__PURE__ */ r(
63
+ "linearGradient",
64
+ {
65
+ id: `${C}-stroke2`,
66
+ x1: "16.537",
67
+ y1: "1.53728",
68
+ x2: "22.463",
69
+ y2: "7.46321",
70
+ gradientUnits: "userSpaceOnUse",
71
+ children: [
72
+ /* @__PURE__ */ o("stop", { offset: "0.287444", stopColor: "var(--start-color)" }),
73
+ /* @__PURE__ */ o("stop", { offset: "0.728693", stopColor: "var(--end-color)" })
74
+ ]
75
+ }
76
+ ),
77
+ /* @__PURE__ */ r(
78
+ "linearGradient",
79
+ {
80
+ id: `${C}-stroke3`,
81
+ x1: "1.53704",
82
+ y1: "16.5373",
83
+ x2: "7.46296",
84
+ y2: "22.4632",
85
+ gradientUnits: "userSpaceOnUse",
86
+ children: [
87
+ /* @__PURE__ */ o("stop", { offset: "0.287444", stopColor: "var(--start-color)" }),
88
+ /* @__PURE__ */ o("stop", { offset: "0.728693", stopColor: "var(--end-color)" })
89
+ ]
90
+ }
91
+ )
92
+ ] })
93
+ ]
94
+ }
95
+ );
85
96
  });
86
97
  export {
87
- l as default
98
+ a as default
88
99
  };
@@ -14,4 +14,4 @@ ${M}${N}`}).join(`
14
14
 
15
15
  ---
16
16
 
17
- `);X(Q)},share:async()=>{const Q={visibility:"public",tags:[],userProperties:{},messages:p.messages.map(S=>({...S,id:Date.now().toString()+S.id,conversationId:void 0}))},{apiKey:y,analyticsApiBaseUrl:L}=E,M=await Wa.logConversation("",Q,y,L);if(M){const N=`${v.shareChatUrlBasePath}?${D.SHARE_QUERY_PARAM}=${M?.id}`;Z(N),j({eventName:"chat_share_button_clicked",properties:{sharedConversationId:M?.id,originalConversationId:p.id,sharedChatUrl:N,conversation:M}})}},clear:d,stop:o},Ce={copy:W,share:O};return n.jsx(T.Tooltip,{delayDuration:0,open:Ce[e],children:n.jsx(cr,{"data-type":e,"data-copied":h.dataAttr(W||O),className:`${r} ${e}`,children:n.jsx(le,{action:e}),onClick:u.composeEventHandlers(a,te[e]),...s})})},mr=i.ikp(T.Trigger,{_id:"aiChat__ChatActionLabel"}),le=t=>{const{action:e,...a}=t,{aiChatSettings:r}=C.useInkeepConfig(),s=r.toolbarButtonLabels??{},d={help:s.getHelp??"Get Help",copy:s.copyChat??"Copy",share:s.share??"Share",clear:s.clear??"Clear",stop:s.stop??"Stop"};return n.jsx(mr,{children:d[e],...a})},lr=i.ikp(T.TooltipContent,{_id:"aiChat__ChatActionFeeback"}),Ai=t=>{const{action:e,children:a,...r}=t,s={copy:"Copied!",share:"Link copied!"};return n.jsxs(lr,{sideOffset:5,...r,children:[n.jsx(T.Arrow,{}),a||s[e]]})},hr=i.ikp(z.Root,{_id:"aiChatHelpActions"}),ki=t=>{const{children:e,...a}=t,{aiChatSettings:r}=C.useInkeepConfig(),{getHelpOptions:s}=r;if(!s||(s??[]).length===0)return null;const{_pinned:d,_unpinned:o}=s.reduce((p,v)=>{const E=v.isPinnedToToolbar?"_pinned":"_unpinned";return{...p,[E]:[...p[E],v]}},{_pinned:[],_unpinned:[]}),c=o.length===1?[...d,o[0]]:d,m=o.length===1?[]:o,l=ae.useHelpMenuState();return n.jsx(ae.HelpMenuProvider,{value:l,children:n.jsx(hr,{open:l.open,onOpenChange:l.setOpen,children:h.maybeRender(e,{pinned:c,unpinned:m}),...a})})},ur=i.ikp(Y,{_id:"aiChatHelpAction"}),Fi=t=>{const{action:e,onClick:a,...r}=t,{handleAction:s,logHelpAction:d}=se.useChatAction(e),o=e.action.type,c=o==="open_link"?n.jsx("a",{href:e.action.url,target:"_blank",rel:"noreferrer",children:e.name}):e.name;return n.jsx(ur,{action:"help","aria-label":e.name,"data-name":e.name,children:c,asChild:o==="open_link",onClick:u.composeEventHandlers(a,()=>{s(),d()}),...r})},Cr=i.ikp(z.Trigger,{_id:"aiChatHelpActions__Trigger"}),Ei=g.memo(t=>{const{aiChatSettings:e}=C.useInkeepConfig();return n.jsx(Y,{action:"help",...t,asChild:!0,children:n.jsx(Cr,{children:e.toolbarButtonLabels?.getHelp??"Get Help"})})}),pr=i.ikp(z.Content,{_id:"aiChatHelpActions__Menu"}),Ii=t=>n.jsx(pr,{side:"top",sideOffset:8,align:"center",alignOffset:-10,...t}),Mi=i.ikp(z.Arrow,{_id:"aiChatHelpActions__MenuArrow"}),Si=t=>{const{action:e,onClick:a,...r}=t,{handleAction:s,logHelpAction:d}=se.useChatAction(e),{setOpen:o}=ae.useHelpMenu(),c=()=>{s({onOpenForm:()=>o(!1)}),d()},m=e.action.type,l=i.ikp(m==="open_link"?"a":"button",{_id:"aiChatHelpActions__MenuItem",children:e.name,"aria-label":e.name,"data-name":e.name,"data-type":e.action.type,...m==="open_link"&&{href:e.action.url,target:"_blank",rel:"noopener"},onClick:u.composeEventHandlers(a,c)});return n.jsx(l,{...r})},vr=i.ikp(f.BuiltInIconRenderer,{_id:"aiChatHelpActions_MenuItemIcon"}),fi=t=>{const{action:e,...a}=t;return e.icon?n.jsx(vr,{iconSettings:e.icon,...a}):null},br=i.ikp(_.Root,{_id:"aiChatFeedbackModal"}),Bi=t=>{const{onOpenChange:e,...a}=t,{currentFeedback:r,setCurrentFeedback:s}=re.useMessageFeedback();return n.jsx(br,{open:r!==null,onOpenChange:u.composeEventHandlers(e,()=>s(null)),...a})},xi=i.ikp(_.Overlay,{_id:"aiChatFeedbackModal__Overlay"}),Ti=i.ikp(_.Content,{_id:"aiChatFeedbackModal__Content","aria-describedby":void 0}),ji=i.ikp(_.Title,{_id:"aiChatFeedbackModal__Header",children:"Help improve my answers!"}),yi=i.ikp(_.Close,{_id:"aiChatFeedbackModal__Close",children:n.jsx(k.CustomIcon,{iconKey:"close"})}),Hi=i.ikp("div",{_id:"aiChatFeedbackModal__Body"}),gr=i.ikp("form",{_id:"aiChatFeedbackForm"}),wi=t=>{const{onSubmit:e,...a}=t,{submitNegativeFeedback:r,currentFeedback:s,setCurrentFeedback:d}=re.useMessageFeedback(),o=c=>{c.preventDefault();const m=c.target,l=new FormData(m),p=Object.fromEntries(l.entries());s&&(r(s,p),d(null))};return n.jsx(gr,{onSubmit:u.composeEventHandlers(e,o),...a})},Pr=i.ikp("div",{_id:"aiChatFeedbackItem"}),Li=t=>{const{name:e,...a}=t;return n.jsx(U.FeedbackItemProvider,{name:e,children:n.jsx(Pr,{...a})})},_r=i.ikp(K.Root,{_id:"aiChatFeedbackItem__Checkbox"}),Di=t=>{const{name:e,focusItem:a}=U.useFeedbackItem(),{onCheckedChange:r,...s}=t,d=o=>{o&&a?.current?.focus()};return n.jsx(_r,{id:`feedback-${e}`,name:e,onCheckedChange:u.composeEventHandlers(r,d),...s})},qi=i.ikp(K.Indicator,{_id:"aiChatFeedbackItem__CheckboxIndicator",children:n.jsx(be.CheckboxIcon,{})}),Ar=i.ikp("label",{_id:"aiChatFeedbackItem__Label"}),Ri=t=>{const{name:e}=U.useFeedbackItem(),a={unrelated_response:"Didn't answer my question",inaccurate_statement:"Inaccurate statement",inaccurate_code_snippet:"Inaccurate code snippet",irrelevant_citations:"Irrelevant citations"};return n.jsx(Ar,{htmlFor:`feedback-${e}`,children:a[e],...t})},kr=i.ikp("textarea",{_id:"aiChatFeedbackItem__Description",placeholder:"Please describe"}),Wi=t=>{const{name:e,focusItem:a}=U.useFeedbackItem();return n.jsx(kr,{ref:a,name:`${e}:description`,...t})},Oi=i.ikp("button",{_id:"aiChatFeedbackForm__SubmitButton",children:"Submit",type:"submit"}),Fr=i.ikp("div",{_id:"aiChatForm__Wrapper"}),Qi=t=>{const{form:e}=A.useChatForm();return e?n.jsx(Fr,{...t}):null},Er=i.ikp("form",{_id:"aiChatForm"}),Ni=t=>{const{onSubmit:e,...a}=t,{handleSubmit:r,isSuccess:s}=A.useChatForm();return s?null:n.jsx(Er,{onSubmit:u.composeEventHandlers(e,r),...a})},Ir=i.ikp("button",{_id:"aiChatForm__Close",children:n.jsx(k.CustomIcon,{iconKey:"close"})}),$i=t=>{const{onClick:e,...a}=t,{closeForm:r}=A.useChatForm();return n.jsx(Ir,{onClick:u.composeEventHandlers(e,r),...a})},Vi=i.ikp("div",{_id:"aiChatForm__Header"}),Mr=i.ikp("h2",{_id:"aiChatForm__Heading"}),Ui=t=>{const{form:e}=A.useChatForm();return e?.heading?n.jsx(Mr,{children:e.heading,...t}):null},Sr=i.ikp("span",{_id:"aiChatForm__Description"}),Ki=t=>{const{form:e}=A.useChatForm();return e?.description?n.jsx(Sr,{children:e.description,...t}):null},fr=i.ikp("div",{_id:"aiChatForm__Content"}),zi=t=>{const{children:e,...a}=t,{fields:r=[]}=A.useChatForm();return n.jsx(fr,{children:h.maybeRender(e,r),...a})},Br=i.ikp("div",{_id:"aiChatForm__Field"}),Gi=t=>{const{field:e,autoFocus:a,...r}=t,{control:s,errors:d}=A.useChatForm();return n.jsx(La.Controller,{name:e.name,control:s,rules:{required:e.isRequired?`${e.label} is required.`:void 0},render:({field:o})=>{const c=o.value!==void 0||e.inputType==="file";return n.jsx(x.FormFieldProvider,{"data-invalid":h.dataAttr(!!d[e.name]),field:e,fieldProps:o,autoFocus:a,children:c&&n.jsx(Br,{"data-input-type":e.inputType,"data-hidden":h.dataAttr(e.isHidden),...r})})}})},xr=i.ikp("label",{_id:"aiChatForm__FieldLabel"}),Yi=t=>{const{field:e}=x.useFormField();return n.jsx(xr,{"data-required":h.dataAttr(e.isRequired),htmlFor:e.name,children:e.label,...t})},Tr=i.ikp("input",{_id:"aiChatForm__FieldText",type:"text"}),J=t=>{const{field:e,error:a,fieldProps:{onChange:r,onBlur:s,...d},autoFocus:o}=x.useFormField(),{onChange:c,onBlur:m,...l}=t;return n.jsx(Tr,{id:e.name,autoFocus:o,placeholder:"placeholder"in e?e.placeholder:void 0,"data-invalid":h.dataAttr(!!a),onChange:u.composeEventHandlers(c,r),onBlur:u.composeEventHandlers(m,s),...d,...l})},Ji=i.ikp(J,{_id:"aiChatForm__FieldEmail",type:"email"}),jr=i.ikp("input",{_id:"aiChatForm__FieldFile",type:"file",multiple:!0}),Xi=t=>{const{field:e,error:a,fieldProps:{value:r,onChange:s,onBlur:d,...o},autoFocus:c}=x.useFormField(),{onChange:m,onBlur:l,...p}=t,v=E=>{const j=E.target.files;s(j)};return n.jsx(jr,{id:e.name,autoFocus:c,"data-value":r,"data-invalid":h.dataAttr(!!a),...p,...o,onChange:u.composeEventHandlers(m,v),onBlur:u.composeEventHandlers(l,d)})},Zi=i.ikp(J,{_id:"aiChatForm__FieldTextArea",type:"textarea",asChild:!0,children:n.jsx(ne,{maxRows:8})}),yr=i.ikp(K.Root,{_id:"aiChatForm__FieldCheckbox"}),ea=t=>{const{field:e,error:a,fieldProps:r,autoFocus:s}=x.useFormField(),{onCheckedChange:d,...o}=t;return n.jsx(yr,{id:e.name,name:e.name,autoFocus:s,"data-invalid":h.dataAttr(!!a),checked:r.value,onCheckedChange:u.composeEventHandlers(d,r.onChange),...o})},ta=i.ikp(K.Indicator,{_id:"aiChatForm__FieldCheckboxIndicator",children:n.jsx(be.CheckboxIcon,{})}),Hr=i.ikp(I.Root,{_id:"aiChatForm__FieldSelect"}),ia=t=>{const{field:e,error:a,fieldProps:r}=x.useFormField(),{onValueChange:s,...d}=t;return n.jsx(Hr,{name:e.name,"data-invalid":h.dataAttr(!!a),value:r.value,onValueChange:u.composeEventHandlers(s,r.onChange),...d})},aa=i.ikp(I.Trigger,{_id:"aiChatForm__FieldSelect__Trigger"}),wr=i.ikp(I.Value,{_id:"aiChatForm__FieldSelect__Value"}),na=t=>{const{field:e}=x.useFormField();return n.jsx(wr,{placeholder:"placeholder"in e?e.placeholder:void 0,...t})},ra=i.ikp(I.Icon,{_id:"aiChatForm__FieldSelect__Icon",asChild:!0,children:n.jsx(f.BuiltInIconRenderer,{iconSettings:{builtIn:"LuChevronDown"}})}),sa=i.ikp(I.Content,{_id:"aiChatForm__FieldSelect__Content",position:"popper"}),oa=i.ikp(I.Viewport,{_id:"aiChatForm__FieldSelect__Viewport"}),da=i.ikp(I.Item,{_id:"aiChatForm__FieldSelect__Item"}),ca=i.ikp(I.ItemText,{_id:"aiChatForm__FieldSelect__ItemText"}),ma=i.ikp(I.ItemIndicator,{_id:"aiChatForm__FieldSelect__ItemIndicator",asChild:!0,children:n.jsx(f.BuiltInIconRenderer,{iconSettings:{builtIn:"LuCheck"}})}),Lr=i.ikp("span",{_id:"aiChatForm__FieldError"}),la=t=>{const{error:e}=x.useFormField();return e?n.jsx(Lr,{children:e.message?.toString(),...t}):null},Dr=i.ikp("span",{_id:"aiChatForm__Error"}),ha=t=>{const{formError:e}=A.useChatForm();return e?n.jsx(Dr,{children:e.message,...t}):null},ua=i.ikp("div",{_id:"aiChatForm__Footer"}),qr=i.ikp("button",{_id:"aiChatForm__Cancel",children:"Cancel"}),Ca=t=>{const{onClick:e,...a}=t,{closeForm:r}=A.useChatForm();return n.jsx(qr,{onClick:u.composeEventHandlers(e,r),...a})},Rr=i.ikp("button",{_id:"aiChatForm__Submit",children:"Submit",type:"submit"}),pa=t=>{const{onClick:e,...a}=t,{isSubmitting:r}=A.useChatForm();return n.jsx(Rr,{disabled:r,...a})},Wr=i.ikp("div",{_id:"aiChatForm__Success"}),va=t=>{const{isSuccess:e}=A.useChatForm();return e?n.jsx(Wr,{...t}):null},Or=i.ikp("h2",{_id:"aiChatForm__SuccessHeading"}),ba=t=>{const{form:e}=A.useChatForm();return n.jsx(Or,{children:e?.successView.heading,...t})},Qr=i.ikp($.Markdown,{_id:"aiChatForm__SuccessMessage"}),ga=t=>{const{form:e}=A.useChatForm();return n.jsx(Qr,{children:e?.successView.message,...t})},Nr=i.ikp("button",{_id:"aiChatForm__SuccessButton"}),Pa=t=>{const{onClick:e,...a}=t,{form:r,closeForm:s}=A.useChatForm(),d=r?.successView?.doneButton;if(!d)return null;const o=d.icon&&n.jsx(f.BuiltInIconRenderer,{iconSettings:d.icon}),c=d.label;return n.jsx(Nr,{onClick:u.composeEventHandlers(e,s),children:n.jsxs(n.Fragment,{children:[o,c]}),...a})};exports.Provider=b.ChatProvider;exports.ActionBar=pi;exports.Actions=vi;exports.AttachmentsBar=Dt;exports.AttachmentsBarActions=Nt;exports.AttachmentsBarAttachment=Rt;exports.AttachmentsBarAttachmentDelete=Qt;exports.AttachmentsBarAttachmentIcon=Wt;exports.AttachmentsBarAttachmentTitle=Ot;exports.AttachmentsBarForm=ri;exports.AttachmentsBarFormContent=mi;exports.AttachmentsBarFormContentError=ui;exports.AttachmentsBarFormContentInput=hi;exports.AttachmentsBarFormContentLabel=li;exports.AttachmentsBarFormSubmitButton=Ci;exports.AttachmentsBarFormTitle=si;exports.AttachmentsBarFormTitleError=ci;exports.AttachmentsBarFormTitleInput=di;exports.AttachmentsBarFormTitleLabel=oi;exports.AttachmentsBarInfoTip=$t;exports.AttachmentsBarInfoTipArrow=me;exports.AttachmentsBarInfoTipIcon=Vt;exports.AttachmentsBarInfoTipText=Ut;exports.AttachmentsBarInput=zt;exports.AttachmentsBarInputIcon=Gt;exports.AttachmentsBarInputs=Kt;exports.AttachmentsBarList=qt;exports.AttachmentsBarModal=Yt;exports.AttachmentsBarModalBody=ni;exports.AttachmentsBarModalClose=ai;exports.AttachmentsBarModalContent=Xt;exports.AttachmentsBarModalDescription=ti;exports.AttachmentsBarModalHeader=Zt;exports.AttachmentsBarModalHeading=ei;exports.AttachmentsBarModalHelp=ii;exports.AttachmentsBarModalOverlay=Jt;exports.ChatAction=Y;exports.ChatActionFeedback=Ai;exports.ChatActionLabel=le;exports.ChatHelpAction=Fi;exports.Content=Ie;exports.ContentScrollArea=Me;exports.ContentScrollAreaCorner=xe;exports.ContentScrollAreaScrollbar=fe;exports.ContentScrollAreaThumb=Be;exports.ContentScrollAreaViewport=Se;exports.ConversationLoading=_e;exports.Disclaimer=je;exports.DisclaimerArrow=De;exports.DisclaimerContent=we;exports.DisclaimerLabel=ye;exports.DisclaimerText=Le;exports.DisclaimerTrigger=He;exports.EmbeddedChatPrimitiveActionBar=pi;exports.EmbeddedChatPrimitiveActions=vi;exports.EmbeddedChatPrimitiveAttachmentsBar=Dt;exports.EmbeddedChatPrimitiveAttachmentsBarActions=Nt;exports.EmbeddedChatPrimitiveAttachmentsBarAttachment=Rt;exports.EmbeddedChatPrimitiveAttachmentsBarAttachmentDelete=Qt;exports.EmbeddedChatPrimitiveAttachmentsBarAttachmentIcon=Wt;exports.EmbeddedChatPrimitiveAttachmentsBarAttachmentTitle=Ot;exports.EmbeddedChatPrimitiveAttachmentsBarForm=ri;exports.EmbeddedChatPrimitiveAttachmentsBarFormContent=mi;exports.EmbeddedChatPrimitiveAttachmentsBarFormContentError=ui;exports.EmbeddedChatPrimitiveAttachmentsBarFormContentInput=hi;exports.EmbeddedChatPrimitiveAttachmentsBarFormContentLabel=li;exports.EmbeddedChatPrimitiveAttachmentsBarFormSubmitButton=Ci;exports.EmbeddedChatPrimitiveAttachmentsBarFormTitle=si;exports.EmbeddedChatPrimitiveAttachmentsBarFormTitleError=ci;exports.EmbeddedChatPrimitiveAttachmentsBarFormTitleInput=di;exports.EmbeddedChatPrimitiveAttachmentsBarFormTitleLabel=oi;exports.EmbeddedChatPrimitiveAttachmentsBarInfoTip=$t;exports.EmbeddedChatPrimitiveAttachmentsBarInfoTipArrow=me;exports.EmbeddedChatPrimitiveAttachmentsBarInfoTipIcon=Vt;exports.EmbeddedChatPrimitiveAttachmentsBarInfoTipText=Ut;exports.EmbeddedChatPrimitiveAttachmentsBarInput=zt;exports.EmbeddedChatPrimitiveAttachmentsBarInputIcon=Gt;exports.EmbeddedChatPrimitiveAttachmentsBarInputs=Kt;exports.EmbeddedChatPrimitiveAttachmentsBarList=qt;exports.EmbeddedChatPrimitiveAttachmentsBarModal=Yt;exports.EmbeddedChatPrimitiveAttachmentsBarModalBody=ni;exports.EmbeddedChatPrimitiveAttachmentsBarModalClose=ai;exports.EmbeddedChatPrimitiveAttachmentsBarModalContent=Xt;exports.EmbeddedChatPrimitiveAttachmentsBarModalDescription=ti;exports.EmbeddedChatPrimitiveAttachmentsBarModalHeader=Zt;exports.EmbeddedChatPrimitiveAttachmentsBarModalHeading=ei;exports.EmbeddedChatPrimitiveAttachmentsBarModalHelp=ii;exports.EmbeddedChatPrimitiveAttachmentsBarModalOverlay=Jt;exports.EmbeddedChatPrimitiveChatAction=Y;exports.EmbeddedChatPrimitiveChatActionFeedback=Ai;exports.EmbeddedChatPrimitiveChatActionLabel=le;exports.EmbeddedChatPrimitiveChatHelpAction=Fi;exports.EmbeddedChatPrimitiveContent=Ie;exports.EmbeddedChatPrimitiveContentScrollArea=Me;exports.EmbeddedChatPrimitiveContentScrollAreaCorner=xe;exports.EmbeddedChatPrimitiveContentScrollAreaScrollbar=fe;exports.EmbeddedChatPrimitiveContentScrollAreaThumb=Be;exports.EmbeddedChatPrimitiveContentScrollAreaViewport=Se;exports.EmbeddedChatPrimitiveConversationLoading=_e;exports.EmbeddedChatPrimitiveDisclaimer=je;exports.EmbeddedChatPrimitiveDisclaimerArrow=De;exports.EmbeddedChatPrimitiveDisclaimerContent=we;exports.EmbeddedChatPrimitiveDisclaimerLabel=ye;exports.EmbeddedChatPrimitiveDisclaimerText=Le;exports.EmbeddedChatPrimitiveDisclaimerTrigger=He;exports.EmbeddedChatPrimitiveFeedbackForm=wi;exports.EmbeddedChatPrimitiveFeedbackItem=Li;exports.EmbeddedChatPrimitiveFeedbackItemCheckbox=Di;exports.EmbeddedChatPrimitiveFeedbackItemCheckboxIndicator=qi;exports.EmbeddedChatPrimitiveFeedbackItemDescription=Wi;exports.EmbeddedChatPrimitiveFeedbackItemLabel=Ri;exports.EmbeddedChatPrimitiveFeedbackModal=Bi;exports.EmbeddedChatPrimitiveFeedbackModalBody=Hi;exports.EmbeddedChatPrimitiveFeedbackModalClose=yi;exports.EmbeddedChatPrimitiveFeedbackModalContent=Ti;exports.EmbeddedChatPrimitiveFeedbackModalHeader=ji;exports.EmbeddedChatPrimitiveFeedbackModalOverlay=xi;exports.EmbeddedChatPrimitiveFeedbackSubmitButton=Oi;exports.EmbeddedChatPrimitiveFooter=Tt;exports.EmbeddedChatPrimitiveForm=Ni;exports.EmbeddedChatPrimitiveFormCancel=Ca;exports.EmbeddedChatPrimitiveFormClose=$i;exports.EmbeddedChatPrimitiveFormContent=zi;exports.EmbeddedChatPrimitiveFormDescription=Ki;exports.EmbeddedChatPrimitiveFormError=ha;exports.EmbeddedChatPrimitiveFormField=Gi;exports.EmbeddedChatPrimitiveFormFieldCheckbox=ea;exports.EmbeddedChatPrimitiveFormFieldCheckboxIndicator=ta;exports.EmbeddedChatPrimitiveFormFieldEmail=Ji;exports.EmbeddedChatPrimitiveFormFieldError=la;exports.EmbeddedChatPrimitiveFormFieldFile=Xi;exports.EmbeddedChatPrimitiveFormFieldLabel=Yi;exports.EmbeddedChatPrimitiveFormFieldSelect=ia;exports.EmbeddedChatPrimitiveFormFieldSelectContent=sa;exports.EmbeddedChatPrimitiveFormFieldSelectIcon=ra;exports.EmbeddedChatPrimitiveFormFieldSelectItem=da;exports.EmbeddedChatPrimitiveFormFieldSelectItemIndicator=ma;exports.EmbeddedChatPrimitiveFormFieldSelectItemText=ca;exports.EmbeddedChatPrimitiveFormFieldSelectTrigger=aa;exports.EmbeddedChatPrimitiveFormFieldSelectValue=na;exports.EmbeddedChatPrimitiveFormFieldSelectViewport=oa;exports.EmbeddedChatPrimitiveFormFieldText=J;exports.EmbeddedChatPrimitiveFormFieldTextArea=Zi;exports.EmbeddedChatPrimitiveFormFooter=ua;exports.EmbeddedChatPrimitiveFormHeader=Vi;exports.EmbeddedChatPrimitiveFormHeading=Ui;exports.EmbeddedChatPrimitiveFormSubmit=pa;exports.EmbeddedChatPrimitiveFormSuccess=va;exports.EmbeddedChatPrimitiveFormSuccessButton=Pa;exports.EmbeddedChatPrimitiveFormSuccessHeading=ba;exports.EmbeddedChatPrimitiveFormSuccessMessage=ga;exports.EmbeddedChatPrimitiveFormWrapper=Qi;exports.EmbeddedChatPrimitiveHeaderToolbar=ke;exports.EmbeddedChatPrimitiveHelpActions=ki;exports.EmbeddedChatPrimitiveHelpActionsMenu=Ii;exports.EmbeddedChatPrimitiveHelpActionsMenuArrow=Mi;exports.EmbeddedChatPrimitiveHelpActionsMenuItem=Si;exports.EmbeddedChatPrimitiveHelpActionsMenuItemIcon=fi;exports.EmbeddedChatPrimitiveHelpActionsTrigger=Ei;exports.EmbeddedChatPrimitiveInput=Ht;exports.EmbeddedChatPrimitiveInputFieldset=jt;exports.EmbeddedChatPrimitiveInputGroup=yt;exports.EmbeddedChatPrimitiveIntroMessageWrapper=ze;exports.EmbeddedChatPrimitiveMessage=pt;exports.EmbeddedChatPrimitiveMessageAction=Pt;exports.EmbeddedChatPrimitiveMessageActions=vt;exports.EmbeddedChatPrimitiveMessageAttachments=nt;exports.EmbeddedChatPrimitiveMessageAttachmentsItem=st;exports.EmbeddedChatPrimitiveMessageAttachmentsItemIcon=ot;exports.EmbeddedChatPrimitiveMessageAttachmentsItemTitle=dt;exports.EmbeddedChatPrimitiveMessageAttachmentsList=rt;exports.EmbeddedChatPrimitiveMessageAttachmentsPreview=ct;exports.EmbeddedChatPrimitiveMessageAttachmentsPreviewBody=Ct;exports.EmbeddedChatPrimitiveMessageAttachmentsPreviewClose=ut;exports.EmbeddedChatPrimitiveMessageAttachmentsPreviewContent=lt;exports.EmbeddedChatPrimitiveMessageAttachmentsPreviewHeader=ht;exports.EmbeddedChatPrimitiveMessageAttachmentsPreviewOverlay=mt;exports.EmbeddedChatPrimitiveMessageAvatar=Je;exports.EmbeddedChatPrimitiveMessageAvatarContent=Xe;exports.EmbeddedChatPrimitiveMessageAvatarFallback=Ze;exports.EmbeddedChatPrimitiveMessageAvatarImage=et;exports.EmbeddedChatPrimitiveMessageContent=at;exports.EmbeddedChatPrimitiveMessageContentWrapper=it;exports.EmbeddedChatPrimitiveMessageHeader=Ge;exports.EmbeddedChatPrimitiveMessageLoading=Ye;exports.EmbeddedChatPrimitiveMessageName=tt;exports.EmbeddedChatPrimitiveMessageSourceItem=Ft;exports.EmbeddedChatPrimitiveMessageSourceItemBreadcrumbs=Et;exports.EmbeddedChatPrimitiveMessageSourceItemDescription=ft;exports.EmbeddedChatPrimitiveMessageSourceItemDescriptionPart=Bt;exports.EmbeddedChatPrimitiveMessageSourceItemIcon=It;exports.EmbeddedChatPrimitiveMessageSourceItemIndicator=xt;exports.EmbeddedChatPrimitiveMessageSourceItemTag=St;exports.EmbeddedChatPrimitiveMessageSourceItemTitle=Mt;exports.EmbeddedChatPrimitiveMessageSources=_t;exports.EmbeddedChatPrimitiveMessageSourcesHeader=At;exports.EmbeddedChatPrimitiveMessageSourcesList=kt;exports.EmbeddedChatPrimitiveMessageToolAction=gt;exports.EmbeddedChatPrimitiveMessageToolActions=bt;exports.EmbeddedChatPrimitiveMessageWrapper=ce;exports.EmbeddedChatPrimitiveMessages=Te;exports.EmbeddedChatPrimitiveQuickQuestion=Oe;exports.EmbeddedChatPrimitiveQuickQuestionButton=Qe;exports.EmbeddedChatPrimitiveQuickQuestions=qe;exports.EmbeddedChatPrimitiveQuickQuestionsLabel=Re;exports.EmbeddedChatPrimitiveQuickQuestionsList=We;exports.EmbeddedChatPrimitiveRoot=Ae;exports.EmbeddedChatPrimitiveSendButton=wt;exports.EmbeddedChatPrimitiveSendButtonIcon=Lt;exports.EmbeddedChatPrimitiveTaglineBrandName=_i;exports.EmbeddedChatPrimitiveTaglineContainer=bi;exports.EmbeddedChatPrimitiveTaglineLogo=Pi;exports.EmbeddedChatPrimitiveTaglineText=gi;exports.EmbeddedChatPrimitiveToolbarHeader=Ee;exports.EmbeddedChatPrimitiveToolbarHeaderWrapper=Fe;exports.EmbeddedChatPrimitiveWorkflow=Ue;exports.EmbeddedChatPrimitiveWorkflowIcon=Ke;exports.EmbeddedChatPrimitiveWorkflows=Ne;exports.EmbeddedChatPrimitiveWorkflowsLabel=$e;exports.EmbeddedChatPrimitiveWorkflowsList=Ve;exports.EmbeddedChatPrimitiveWrapper=Pe;exports.FeedbackForm=wi;exports.FeedbackItem=Li;exports.FeedbackItemCheckbox=Di;exports.FeedbackItemCheckboxIndicator=qi;exports.FeedbackItemDescription=Wi;exports.FeedbackItemLabel=Ri;exports.FeedbackModal=Bi;exports.FeedbackModalBody=Hi;exports.FeedbackModalClose=yi;exports.FeedbackModalContent=Ti;exports.FeedbackModalHeader=ji;exports.FeedbackModalOverlay=xi;exports.FeedbackSubmitButton=Oi;exports.Footer=Tt;exports.Form=Ni;exports.FormCancel=Ca;exports.FormClose=$i;exports.FormContent=zi;exports.FormDescription=Ki;exports.FormError=ha;exports.FormField=Gi;exports.FormFieldCheckbox=ea;exports.FormFieldCheckboxIndicator=ta;exports.FormFieldEmail=Ji;exports.FormFieldError=la;exports.FormFieldFile=Xi;exports.FormFieldLabel=Yi;exports.FormFieldSelect=ia;exports.FormFieldSelectContent=sa;exports.FormFieldSelectIcon=ra;exports.FormFieldSelectItem=da;exports.FormFieldSelectItemIndicator=ma;exports.FormFieldSelectItemText=ca;exports.FormFieldSelectTrigger=aa;exports.FormFieldSelectValue=na;exports.FormFieldSelectViewport=oa;exports.FormFieldText=J;exports.FormFieldTextArea=Zi;exports.FormFooter=ua;exports.FormHeader=Vi;exports.FormHeading=Ui;exports.FormSubmit=pa;exports.FormSuccess=va;exports.FormSuccessButton=Pa;exports.FormSuccessHeading=ba;exports.FormSuccessMessage=ga;exports.FormWrapper=Qi;exports.Header=Ua;exports.HeaderToolbar=ke;exports.HeaderToolbarWrapper=Fe;exports.HelpActions=ki;exports.HelpActionsMenu=Ii;exports.HelpActionsMenuArrow=Mi;exports.HelpActionsMenuItem=Si;exports.HelpActionsMenuItemIcon=fi;exports.HelpActionsTrigger=Ei;exports.Input=Ht;exports.InputFieldset=jt;exports.InputGroup=yt;exports.IntroMessageWrapper=ze;exports.Message=pt;exports.MessageAction=Pt;exports.MessageActions=vt;exports.MessageAttachments=nt;exports.MessageAttachmentsItem=st;exports.MessageAttachmentsItemIcon=ot;exports.MessageAttachmentsItemTitle=dt;exports.MessageAttachmentsList=rt;exports.MessageAttachmentsPreview=ct;exports.MessageAttachmentsPreviewBody=Ct;exports.MessageAttachmentsPreviewClose=ut;exports.MessageAttachmentsPreviewContent=lt;exports.MessageAttachmentsPreviewHeader=ht;exports.MessageAttachmentsPreviewOverlay=mt;exports.MessageAvatar=Je;exports.MessageAvatarContent=Xe;exports.MessageAvatarFallback=Ze;exports.MessageAvatarImage=et;exports.MessageContent=at;exports.MessageContentWrapper=it;exports.MessageHeader=Ge;exports.MessageLoading=Ye;exports.MessageName=tt;exports.MessageSourceItem=Ft;exports.MessageSourceItemBreadcrumbIcon=wn;exports.MessageSourceItemBreadcrumbs=Et;exports.MessageSourceItemDescription=ft;exports.MessageSourceItemDescriptionPart=Bt;exports.MessageSourceItemIcon=It;exports.MessageSourceItemIndicator=xt;exports.MessageSourceItemTag=St;exports.MessageSourceItemTitle=Mt;exports.MessageSources=_t;exports.MessageSourcesHeader=At;exports.MessageSourcesList=kt;exports.MessageToolAction=gt;exports.MessageToolActions=bt;exports.MessageWrapper=ce;exports.Messages=Te;exports.QuickQuestion=Oe;exports.QuickQuestionButton=Qe;exports.QuickQuestions=qe;exports.QuickQuestionsLabel=Re;exports.QuickQuestionsList=We;exports.Root=Ae;exports.SendButton=wt;exports.SendButtonIcon=Lt;exports.TaglineBrandName=_i;exports.TaglineContainer=bi;exports.TaglineLogo=Pi;exports.TaglineText=gi;exports.ToolbarHeader=Ee;exports.Workflow=Ue;exports.WorkflowIcon=Ke;exports.Workflows=Ne;exports.WorkflowsLabel=$e;exports.WorkflowsList=Ve;exports.Wrapper=Pe;
17
+ `);X(Q)},share:async()=>{const Q={visibility:"public",tags:[],userProperties:{},messages:p.messages.map(S=>({...S,id:Date.now().toString()+S.id,conversationId:void 0}))},{apiKey:y,analyticsApiBaseUrl:L}=E,M=await Wa.logConversation("",Q,y,L);if(M){const N=`${v.shareChatUrlBasePath}?${D.SHARE_QUERY_PARAM}=${M?.id}`;Z(N),j({eventName:"chat_share_button_clicked",properties:{sharedConversationId:M?.id,originalConversationId:p.id,sharedChatUrl:N,conversation:M}})}},clear:d,stop:o},Ce={copy:W,share:O};return n.jsx(T.Tooltip,{delayDuration:0,open:Ce[e],children:n.jsx(cr,{"data-type":e,"data-copied":h.dataAttr(W||O),className:`${r} ${e}`,children:n.jsx(le,{action:e}),onClick:u.composeEventHandlers(a,te[e]),...s})})},mr=i.ikp(T.Trigger,{_id:"aiChat__ChatActionLabel"}),le=t=>{const{action:e,...a}=t,{aiChatSettings:r}=C.useInkeepConfig(),s=r.toolbarButtonLabels??{},d={help:s.getHelp??"Get Help",copy:s.copyChat??"Copy",share:s.share??"Share",clear:s.clear??"Clear",stop:s.stop??"Stop"};return n.jsx(mr,{children:d[e],...a})},lr=i.ikp(T.TooltipContent,{_id:"aiChat__ChatActionFeeback"}),Ai=t=>{const{action:e,children:a,...r}=t,s={copy:"Copied!",share:"Link copied!"};return n.jsxs(lr,{sideOffset:5,...r,children:[n.jsx(T.Arrow,{}),a||s[e]]})},hr=i.ikp(z.Root,{_id:"aiChatHelpActions"}),ki=t=>{const{children:e,...a}=t,{aiChatSettings:r}=C.useInkeepConfig(),{getHelpOptions:s}=r;if(!s||(s??[]).length===0)return null;const{_pinned:d,_unpinned:o}=s.reduce((p,v)=>{const E=v.isPinnedToToolbar?"_pinned":"_unpinned";return{...p,[E]:[...p[E],v]}},{_pinned:[],_unpinned:[]}),c=o.length===1?[...d,o[0]]:d,m=o.length===1?[]:o,l=ae.useHelpMenuState();return n.jsx(ae.HelpMenuProvider,{value:l,children:n.jsx(hr,{open:l.open,onOpenChange:l.setOpen,children:h.maybeRender(e,{pinned:c,unpinned:m}),...a})})},ur=i.ikp(Y,{_id:"aiChatHelpAction",action:"help"}),Fi=t=>{const{action:e,onClick:a,...r}=t,{handleAction:s,logHelpAction:d}=se.useChatAction(e),o=e.action.type,c=o==="open_link",m=o==="open_link"?n.jsx("a",{href:e.action.url,target:"_blank",rel:"noreferrer",children:e.name}):e.name;return n.jsx(ur,{"aria-label":e.name,"data-name":e.name,children:m,asChild:c,onClick:u.composeEventHandlers(a,()=>{s(),d()}),...r})},Cr=i.ikp(z.Trigger,{_id:"aiChatHelpActions__Trigger"}),Ei=g.memo(t=>{const{aiChatSettings:e}=C.useInkeepConfig();return n.jsx(Y,{action:"help",...t,asChild:!0,children:n.jsx(Cr,{children:e.toolbarButtonLabels?.getHelp??"Get Help"})})}),pr=i.ikp(z.Content,{_id:"aiChatHelpActions__Menu"}),Ii=t=>n.jsx(pr,{side:"top",sideOffset:8,align:"center",alignOffset:-10,...t}),Mi=i.ikp(z.Arrow,{_id:"aiChatHelpActions__MenuArrow"}),Si=t=>{const{action:e,onClick:a,...r}=t,{handleAction:s,logHelpAction:d}=se.useChatAction(e),{setOpen:o}=ae.useHelpMenu(),c=()=>{s({onOpenForm:()=>o(!1)}),d()},m=e.action.type,l=i.ikp(m==="open_link"?"a":"button",{_id:"aiChatHelpActions__MenuItem",children:e.name,"aria-label":e.name,"data-name":e.name,"data-type":e.action.type,...m==="open_link"&&{href:e.action.url,target:"_blank",rel:"noopener"},onClick:u.composeEventHandlers(a,c)});return n.jsx(l,{...r})},vr=i.ikp(f.BuiltInIconRenderer,{_id:"aiChatHelpActions_MenuItemIcon"}),fi=t=>{const{action:e,...a}=t;return e.icon?n.jsx(vr,{iconSettings:e.icon,...a}):null},br=i.ikp(_.Root,{_id:"aiChatFeedbackModal"}),Bi=t=>{const{onOpenChange:e,...a}=t,{currentFeedback:r,setCurrentFeedback:s}=re.useMessageFeedback();return n.jsx(br,{open:r!==null,onOpenChange:u.composeEventHandlers(e,()=>s(null)),...a})},xi=i.ikp(_.Overlay,{_id:"aiChatFeedbackModal__Overlay"}),Ti=i.ikp(_.Content,{_id:"aiChatFeedbackModal__Content","aria-describedby":void 0}),ji=i.ikp(_.Title,{_id:"aiChatFeedbackModal__Header",children:"Help improve my answers!"}),yi=i.ikp(_.Close,{_id:"aiChatFeedbackModal__Close",children:n.jsx(k.CustomIcon,{iconKey:"close"})}),Hi=i.ikp("div",{_id:"aiChatFeedbackModal__Body"}),gr=i.ikp("form",{_id:"aiChatFeedbackForm"}),wi=t=>{const{onSubmit:e,...a}=t,{submitNegativeFeedback:r,currentFeedback:s,setCurrentFeedback:d}=re.useMessageFeedback(),o=c=>{c.preventDefault();const m=c.target,l=new FormData(m),p=Object.fromEntries(l.entries());s&&(r(s,p),d(null))};return n.jsx(gr,{onSubmit:u.composeEventHandlers(e,o),...a})},Pr=i.ikp("div",{_id:"aiChatFeedbackItem"}),Li=t=>{const{name:e,...a}=t;return n.jsx(U.FeedbackItemProvider,{name:e,children:n.jsx(Pr,{...a})})},_r=i.ikp(K.Root,{_id:"aiChatFeedbackItem__Checkbox"}),Di=t=>{const{name:e,focusItem:a}=U.useFeedbackItem(),{onCheckedChange:r,...s}=t,d=o=>{o&&a?.current?.focus()};return n.jsx(_r,{id:`feedback-${e}`,name:e,onCheckedChange:u.composeEventHandlers(r,d),...s})},qi=i.ikp(K.Indicator,{_id:"aiChatFeedbackItem__CheckboxIndicator",children:n.jsx(be.CheckboxIcon,{})}),Ar=i.ikp("label",{_id:"aiChatFeedbackItem__Label"}),Ri=t=>{const{name:e}=U.useFeedbackItem(),a={unrelated_response:"Didn't answer my question",inaccurate_statement:"Inaccurate statement",inaccurate_code_snippet:"Inaccurate code snippet",irrelevant_citations:"Irrelevant citations"};return n.jsx(Ar,{htmlFor:`feedback-${e}`,children:a[e],...t})},kr=i.ikp("textarea",{_id:"aiChatFeedbackItem__Description",placeholder:"Please describe"}),Wi=t=>{const{name:e,focusItem:a}=U.useFeedbackItem();return n.jsx(kr,{ref:a,name:`${e}:description`,...t})},Oi=i.ikp("button",{_id:"aiChatFeedbackForm__SubmitButton",children:"Submit",type:"submit"}),Fr=i.ikp("div",{_id:"aiChatForm__Wrapper"}),Qi=t=>{const{form:e}=A.useChatForm();return e?n.jsx(Fr,{...t}):null},Er=i.ikp("form",{_id:"aiChatForm"}),Ni=t=>{const{onSubmit:e,...a}=t,{handleSubmit:r,isSuccess:s}=A.useChatForm();return s?null:n.jsx(Er,{onSubmit:u.composeEventHandlers(e,r),...a})},Ir=i.ikp("button",{_id:"aiChatForm__Close",children:n.jsx(k.CustomIcon,{iconKey:"close"})}),$i=t=>{const{onClick:e,...a}=t,{closeForm:r}=A.useChatForm();return n.jsx(Ir,{onClick:u.composeEventHandlers(e,r),...a})},Vi=i.ikp("div",{_id:"aiChatForm__Header"}),Mr=i.ikp("h2",{_id:"aiChatForm__Heading"}),Ui=t=>{const{form:e}=A.useChatForm();return e?.heading?n.jsx(Mr,{children:e.heading,...t}):null},Sr=i.ikp("span",{_id:"aiChatForm__Description"}),Ki=t=>{const{form:e}=A.useChatForm();return e?.description?n.jsx(Sr,{children:e.description,...t}):null},fr=i.ikp("div",{_id:"aiChatForm__Content"}),zi=t=>{const{children:e,...a}=t,{fields:r=[]}=A.useChatForm();return n.jsx(fr,{children:h.maybeRender(e,r),...a})},Br=i.ikp("div",{_id:"aiChatForm__Field"}),Gi=t=>{const{field:e,autoFocus:a,...r}=t,{control:s,errors:d}=A.useChatForm();return n.jsx(La.Controller,{name:e.name,control:s,rules:{required:e.isRequired?`${e.label} is required.`:void 0},render:({field:o})=>{const c=o.value!==void 0||e.inputType==="file";return n.jsx(x.FormFieldProvider,{"data-invalid":h.dataAttr(!!d[e.name]),field:e,fieldProps:o,autoFocus:a,children:c&&n.jsx(Br,{"data-input-type":e.inputType,"data-hidden":h.dataAttr(e.isHidden),...r})})}})},xr=i.ikp("label",{_id:"aiChatForm__FieldLabel"}),Yi=t=>{const{field:e}=x.useFormField();return n.jsx(xr,{"data-required":h.dataAttr(e.isRequired),htmlFor:e.name,children:e.label,...t})},Tr=i.ikp("input",{_id:"aiChatForm__FieldText",type:"text"}),J=t=>{const{field:e,error:a,fieldProps:{onChange:r,onBlur:s,...d},autoFocus:o}=x.useFormField(),{onChange:c,onBlur:m,...l}=t;return n.jsx(Tr,{id:e.name,autoFocus:o,placeholder:"placeholder"in e?e.placeholder:void 0,"data-invalid":h.dataAttr(!!a),onChange:u.composeEventHandlers(c,r),onBlur:u.composeEventHandlers(m,s),...d,...l})},Ji=i.ikp(J,{_id:"aiChatForm__FieldEmail",type:"email"}),jr=i.ikp("input",{_id:"aiChatForm__FieldFile",type:"file",multiple:!0}),Xi=t=>{const{field:e,error:a,fieldProps:{value:r,onChange:s,onBlur:d,...o},autoFocus:c}=x.useFormField(),{onChange:m,onBlur:l,...p}=t,v=E=>{const j=E.target.files;s(j)};return n.jsx(jr,{id:e.name,autoFocus:c,"data-value":r,"data-invalid":h.dataAttr(!!a),...p,...o,onChange:u.composeEventHandlers(m,v),onBlur:u.composeEventHandlers(l,d)})},Zi=i.ikp(J,{_id:"aiChatForm__FieldTextArea",type:"textarea",asChild:!0,children:n.jsx(ne,{maxRows:8})}),yr=i.ikp(K.Root,{_id:"aiChatForm__FieldCheckbox"}),ea=t=>{const{field:e,error:a,fieldProps:r,autoFocus:s}=x.useFormField(),{onCheckedChange:d,...o}=t;return n.jsx(yr,{id:e.name,name:e.name,autoFocus:s,"data-invalid":h.dataAttr(!!a),checked:r.value,onCheckedChange:u.composeEventHandlers(d,r.onChange),...o})},ta=i.ikp(K.Indicator,{_id:"aiChatForm__FieldCheckboxIndicator",children:n.jsx(be.CheckboxIcon,{})}),Hr=i.ikp(I.Root,{_id:"aiChatForm__FieldSelect"}),ia=t=>{const{field:e,error:a,fieldProps:r}=x.useFormField(),{onValueChange:s,...d}=t;return n.jsx(Hr,{name:e.name,"data-invalid":h.dataAttr(!!a),value:r.value,onValueChange:u.composeEventHandlers(s,r.onChange),...d})},aa=i.ikp(I.Trigger,{_id:"aiChatForm__FieldSelect__Trigger"}),wr=i.ikp(I.Value,{_id:"aiChatForm__FieldSelect__Value"}),na=t=>{const{field:e}=x.useFormField();return n.jsx(wr,{placeholder:"placeholder"in e?e.placeholder:void 0,...t})},ra=i.ikp(I.Icon,{_id:"aiChatForm__FieldSelect__Icon",asChild:!0,children:n.jsx(f.BuiltInIconRenderer,{iconSettings:{builtIn:"LuChevronDown"}})}),sa=i.ikp(I.Content,{_id:"aiChatForm__FieldSelect__Content",position:"popper"}),oa=i.ikp(I.Viewport,{_id:"aiChatForm__FieldSelect__Viewport"}),da=i.ikp(I.Item,{_id:"aiChatForm__FieldSelect__Item"}),ca=i.ikp(I.ItemText,{_id:"aiChatForm__FieldSelect__ItemText"}),ma=i.ikp(I.ItemIndicator,{_id:"aiChatForm__FieldSelect__ItemIndicator",asChild:!0,children:n.jsx(f.BuiltInIconRenderer,{iconSettings:{builtIn:"LuCheck"}})}),Lr=i.ikp("span",{_id:"aiChatForm__FieldError"}),la=t=>{const{error:e}=x.useFormField();return e?n.jsx(Lr,{children:e.message?.toString(),...t}):null},Dr=i.ikp("span",{_id:"aiChatForm__Error"}),ha=t=>{const{formError:e}=A.useChatForm();return e?n.jsx(Dr,{children:e.message,...t}):null},ua=i.ikp("div",{_id:"aiChatForm__Footer"}),qr=i.ikp("button",{_id:"aiChatForm__Cancel",children:"Cancel"}),Ca=t=>{const{onClick:e,...a}=t,{closeForm:r}=A.useChatForm();return n.jsx(qr,{onClick:u.composeEventHandlers(e,r),...a})},Rr=i.ikp("button",{_id:"aiChatForm__Submit",children:"Submit",type:"submit"}),pa=t=>{const{onClick:e,...a}=t,{isSubmitting:r}=A.useChatForm();return n.jsx(Rr,{disabled:r,...a})},Wr=i.ikp("div",{_id:"aiChatForm__Success"}),va=t=>{const{isSuccess:e}=A.useChatForm();return e?n.jsx(Wr,{...t}):null},Or=i.ikp("h2",{_id:"aiChatForm__SuccessHeading"}),ba=t=>{const{form:e}=A.useChatForm();return n.jsx(Or,{children:e?.successView.heading,...t})},Qr=i.ikp($.Markdown,{_id:"aiChatForm__SuccessMessage"}),ga=t=>{const{form:e}=A.useChatForm();return n.jsx(Qr,{children:e?.successView.message,...t})},Nr=i.ikp("button",{_id:"aiChatForm__SuccessButton"}),Pa=t=>{const{onClick:e,...a}=t,{form:r,closeForm:s}=A.useChatForm(),d=r?.successView?.doneButton;if(!d)return null;const o=d.icon&&n.jsx(f.BuiltInIconRenderer,{iconSettings:d.icon}),c=d.label;return n.jsx(Nr,{onClick:u.composeEventHandlers(e,s),children:n.jsxs(n.Fragment,{children:[o,c]}),...a})};exports.Provider=b.ChatProvider;exports.ActionBar=pi;exports.Actions=vi;exports.AttachmentsBar=Dt;exports.AttachmentsBarActions=Nt;exports.AttachmentsBarAttachment=Rt;exports.AttachmentsBarAttachmentDelete=Qt;exports.AttachmentsBarAttachmentIcon=Wt;exports.AttachmentsBarAttachmentTitle=Ot;exports.AttachmentsBarForm=ri;exports.AttachmentsBarFormContent=mi;exports.AttachmentsBarFormContentError=ui;exports.AttachmentsBarFormContentInput=hi;exports.AttachmentsBarFormContentLabel=li;exports.AttachmentsBarFormSubmitButton=Ci;exports.AttachmentsBarFormTitle=si;exports.AttachmentsBarFormTitleError=ci;exports.AttachmentsBarFormTitleInput=di;exports.AttachmentsBarFormTitleLabel=oi;exports.AttachmentsBarInfoTip=$t;exports.AttachmentsBarInfoTipArrow=me;exports.AttachmentsBarInfoTipIcon=Vt;exports.AttachmentsBarInfoTipText=Ut;exports.AttachmentsBarInput=zt;exports.AttachmentsBarInputIcon=Gt;exports.AttachmentsBarInputs=Kt;exports.AttachmentsBarList=qt;exports.AttachmentsBarModal=Yt;exports.AttachmentsBarModalBody=ni;exports.AttachmentsBarModalClose=ai;exports.AttachmentsBarModalContent=Xt;exports.AttachmentsBarModalDescription=ti;exports.AttachmentsBarModalHeader=Zt;exports.AttachmentsBarModalHeading=ei;exports.AttachmentsBarModalHelp=ii;exports.AttachmentsBarModalOverlay=Jt;exports.ChatAction=Y;exports.ChatActionFeedback=Ai;exports.ChatActionLabel=le;exports.ChatHelpAction=Fi;exports.Content=Ie;exports.ContentScrollArea=Me;exports.ContentScrollAreaCorner=xe;exports.ContentScrollAreaScrollbar=fe;exports.ContentScrollAreaThumb=Be;exports.ContentScrollAreaViewport=Se;exports.ConversationLoading=_e;exports.Disclaimer=je;exports.DisclaimerArrow=De;exports.DisclaimerContent=we;exports.DisclaimerLabel=ye;exports.DisclaimerText=Le;exports.DisclaimerTrigger=He;exports.EmbeddedChatPrimitiveActionBar=pi;exports.EmbeddedChatPrimitiveActions=vi;exports.EmbeddedChatPrimitiveAttachmentsBar=Dt;exports.EmbeddedChatPrimitiveAttachmentsBarActions=Nt;exports.EmbeddedChatPrimitiveAttachmentsBarAttachment=Rt;exports.EmbeddedChatPrimitiveAttachmentsBarAttachmentDelete=Qt;exports.EmbeddedChatPrimitiveAttachmentsBarAttachmentIcon=Wt;exports.EmbeddedChatPrimitiveAttachmentsBarAttachmentTitle=Ot;exports.EmbeddedChatPrimitiveAttachmentsBarForm=ri;exports.EmbeddedChatPrimitiveAttachmentsBarFormContent=mi;exports.EmbeddedChatPrimitiveAttachmentsBarFormContentError=ui;exports.EmbeddedChatPrimitiveAttachmentsBarFormContentInput=hi;exports.EmbeddedChatPrimitiveAttachmentsBarFormContentLabel=li;exports.EmbeddedChatPrimitiveAttachmentsBarFormSubmitButton=Ci;exports.EmbeddedChatPrimitiveAttachmentsBarFormTitle=si;exports.EmbeddedChatPrimitiveAttachmentsBarFormTitleError=ci;exports.EmbeddedChatPrimitiveAttachmentsBarFormTitleInput=di;exports.EmbeddedChatPrimitiveAttachmentsBarFormTitleLabel=oi;exports.EmbeddedChatPrimitiveAttachmentsBarInfoTip=$t;exports.EmbeddedChatPrimitiveAttachmentsBarInfoTipArrow=me;exports.EmbeddedChatPrimitiveAttachmentsBarInfoTipIcon=Vt;exports.EmbeddedChatPrimitiveAttachmentsBarInfoTipText=Ut;exports.EmbeddedChatPrimitiveAttachmentsBarInput=zt;exports.EmbeddedChatPrimitiveAttachmentsBarInputIcon=Gt;exports.EmbeddedChatPrimitiveAttachmentsBarInputs=Kt;exports.EmbeddedChatPrimitiveAttachmentsBarList=qt;exports.EmbeddedChatPrimitiveAttachmentsBarModal=Yt;exports.EmbeddedChatPrimitiveAttachmentsBarModalBody=ni;exports.EmbeddedChatPrimitiveAttachmentsBarModalClose=ai;exports.EmbeddedChatPrimitiveAttachmentsBarModalContent=Xt;exports.EmbeddedChatPrimitiveAttachmentsBarModalDescription=ti;exports.EmbeddedChatPrimitiveAttachmentsBarModalHeader=Zt;exports.EmbeddedChatPrimitiveAttachmentsBarModalHeading=ei;exports.EmbeddedChatPrimitiveAttachmentsBarModalHelp=ii;exports.EmbeddedChatPrimitiveAttachmentsBarModalOverlay=Jt;exports.EmbeddedChatPrimitiveChatAction=Y;exports.EmbeddedChatPrimitiveChatActionFeedback=Ai;exports.EmbeddedChatPrimitiveChatActionLabel=le;exports.EmbeddedChatPrimitiveChatHelpAction=Fi;exports.EmbeddedChatPrimitiveContent=Ie;exports.EmbeddedChatPrimitiveContentScrollArea=Me;exports.EmbeddedChatPrimitiveContentScrollAreaCorner=xe;exports.EmbeddedChatPrimitiveContentScrollAreaScrollbar=fe;exports.EmbeddedChatPrimitiveContentScrollAreaThumb=Be;exports.EmbeddedChatPrimitiveContentScrollAreaViewport=Se;exports.EmbeddedChatPrimitiveConversationLoading=_e;exports.EmbeddedChatPrimitiveDisclaimer=je;exports.EmbeddedChatPrimitiveDisclaimerArrow=De;exports.EmbeddedChatPrimitiveDisclaimerContent=we;exports.EmbeddedChatPrimitiveDisclaimerLabel=ye;exports.EmbeddedChatPrimitiveDisclaimerText=Le;exports.EmbeddedChatPrimitiveDisclaimerTrigger=He;exports.EmbeddedChatPrimitiveFeedbackForm=wi;exports.EmbeddedChatPrimitiveFeedbackItem=Li;exports.EmbeddedChatPrimitiveFeedbackItemCheckbox=Di;exports.EmbeddedChatPrimitiveFeedbackItemCheckboxIndicator=qi;exports.EmbeddedChatPrimitiveFeedbackItemDescription=Wi;exports.EmbeddedChatPrimitiveFeedbackItemLabel=Ri;exports.EmbeddedChatPrimitiveFeedbackModal=Bi;exports.EmbeddedChatPrimitiveFeedbackModalBody=Hi;exports.EmbeddedChatPrimitiveFeedbackModalClose=yi;exports.EmbeddedChatPrimitiveFeedbackModalContent=Ti;exports.EmbeddedChatPrimitiveFeedbackModalHeader=ji;exports.EmbeddedChatPrimitiveFeedbackModalOverlay=xi;exports.EmbeddedChatPrimitiveFeedbackSubmitButton=Oi;exports.EmbeddedChatPrimitiveFooter=Tt;exports.EmbeddedChatPrimitiveForm=Ni;exports.EmbeddedChatPrimitiveFormCancel=Ca;exports.EmbeddedChatPrimitiveFormClose=$i;exports.EmbeddedChatPrimitiveFormContent=zi;exports.EmbeddedChatPrimitiveFormDescription=Ki;exports.EmbeddedChatPrimitiveFormError=ha;exports.EmbeddedChatPrimitiveFormField=Gi;exports.EmbeddedChatPrimitiveFormFieldCheckbox=ea;exports.EmbeddedChatPrimitiveFormFieldCheckboxIndicator=ta;exports.EmbeddedChatPrimitiveFormFieldEmail=Ji;exports.EmbeddedChatPrimitiveFormFieldError=la;exports.EmbeddedChatPrimitiveFormFieldFile=Xi;exports.EmbeddedChatPrimitiveFormFieldLabel=Yi;exports.EmbeddedChatPrimitiveFormFieldSelect=ia;exports.EmbeddedChatPrimitiveFormFieldSelectContent=sa;exports.EmbeddedChatPrimitiveFormFieldSelectIcon=ra;exports.EmbeddedChatPrimitiveFormFieldSelectItem=da;exports.EmbeddedChatPrimitiveFormFieldSelectItemIndicator=ma;exports.EmbeddedChatPrimitiveFormFieldSelectItemText=ca;exports.EmbeddedChatPrimitiveFormFieldSelectTrigger=aa;exports.EmbeddedChatPrimitiveFormFieldSelectValue=na;exports.EmbeddedChatPrimitiveFormFieldSelectViewport=oa;exports.EmbeddedChatPrimitiveFormFieldText=J;exports.EmbeddedChatPrimitiveFormFieldTextArea=Zi;exports.EmbeddedChatPrimitiveFormFooter=ua;exports.EmbeddedChatPrimitiveFormHeader=Vi;exports.EmbeddedChatPrimitiveFormHeading=Ui;exports.EmbeddedChatPrimitiveFormSubmit=pa;exports.EmbeddedChatPrimitiveFormSuccess=va;exports.EmbeddedChatPrimitiveFormSuccessButton=Pa;exports.EmbeddedChatPrimitiveFormSuccessHeading=ba;exports.EmbeddedChatPrimitiveFormSuccessMessage=ga;exports.EmbeddedChatPrimitiveFormWrapper=Qi;exports.EmbeddedChatPrimitiveHeaderToolbar=ke;exports.EmbeddedChatPrimitiveHelpActions=ki;exports.EmbeddedChatPrimitiveHelpActionsMenu=Ii;exports.EmbeddedChatPrimitiveHelpActionsMenuArrow=Mi;exports.EmbeddedChatPrimitiveHelpActionsMenuItem=Si;exports.EmbeddedChatPrimitiveHelpActionsMenuItemIcon=fi;exports.EmbeddedChatPrimitiveHelpActionsTrigger=Ei;exports.EmbeddedChatPrimitiveInput=Ht;exports.EmbeddedChatPrimitiveInputFieldset=jt;exports.EmbeddedChatPrimitiveInputGroup=yt;exports.EmbeddedChatPrimitiveIntroMessageWrapper=ze;exports.EmbeddedChatPrimitiveMessage=pt;exports.EmbeddedChatPrimitiveMessageAction=Pt;exports.EmbeddedChatPrimitiveMessageActions=vt;exports.EmbeddedChatPrimitiveMessageAttachments=nt;exports.EmbeddedChatPrimitiveMessageAttachmentsItem=st;exports.EmbeddedChatPrimitiveMessageAttachmentsItemIcon=ot;exports.EmbeddedChatPrimitiveMessageAttachmentsItemTitle=dt;exports.EmbeddedChatPrimitiveMessageAttachmentsList=rt;exports.EmbeddedChatPrimitiveMessageAttachmentsPreview=ct;exports.EmbeddedChatPrimitiveMessageAttachmentsPreviewBody=Ct;exports.EmbeddedChatPrimitiveMessageAttachmentsPreviewClose=ut;exports.EmbeddedChatPrimitiveMessageAttachmentsPreviewContent=lt;exports.EmbeddedChatPrimitiveMessageAttachmentsPreviewHeader=ht;exports.EmbeddedChatPrimitiveMessageAttachmentsPreviewOverlay=mt;exports.EmbeddedChatPrimitiveMessageAvatar=Je;exports.EmbeddedChatPrimitiveMessageAvatarContent=Xe;exports.EmbeddedChatPrimitiveMessageAvatarFallback=Ze;exports.EmbeddedChatPrimitiveMessageAvatarImage=et;exports.EmbeddedChatPrimitiveMessageContent=at;exports.EmbeddedChatPrimitiveMessageContentWrapper=it;exports.EmbeddedChatPrimitiveMessageHeader=Ge;exports.EmbeddedChatPrimitiveMessageLoading=Ye;exports.EmbeddedChatPrimitiveMessageName=tt;exports.EmbeddedChatPrimitiveMessageSourceItem=Ft;exports.EmbeddedChatPrimitiveMessageSourceItemBreadcrumbs=Et;exports.EmbeddedChatPrimitiveMessageSourceItemDescription=ft;exports.EmbeddedChatPrimitiveMessageSourceItemDescriptionPart=Bt;exports.EmbeddedChatPrimitiveMessageSourceItemIcon=It;exports.EmbeddedChatPrimitiveMessageSourceItemIndicator=xt;exports.EmbeddedChatPrimitiveMessageSourceItemTag=St;exports.EmbeddedChatPrimitiveMessageSourceItemTitle=Mt;exports.EmbeddedChatPrimitiveMessageSources=_t;exports.EmbeddedChatPrimitiveMessageSourcesHeader=At;exports.EmbeddedChatPrimitiveMessageSourcesList=kt;exports.EmbeddedChatPrimitiveMessageToolAction=gt;exports.EmbeddedChatPrimitiveMessageToolActions=bt;exports.EmbeddedChatPrimitiveMessageWrapper=ce;exports.EmbeddedChatPrimitiveMessages=Te;exports.EmbeddedChatPrimitiveQuickQuestion=Oe;exports.EmbeddedChatPrimitiveQuickQuestionButton=Qe;exports.EmbeddedChatPrimitiveQuickQuestions=qe;exports.EmbeddedChatPrimitiveQuickQuestionsLabel=Re;exports.EmbeddedChatPrimitiveQuickQuestionsList=We;exports.EmbeddedChatPrimitiveRoot=Ae;exports.EmbeddedChatPrimitiveSendButton=wt;exports.EmbeddedChatPrimitiveSendButtonIcon=Lt;exports.EmbeddedChatPrimitiveTaglineBrandName=_i;exports.EmbeddedChatPrimitiveTaglineContainer=bi;exports.EmbeddedChatPrimitiveTaglineLogo=Pi;exports.EmbeddedChatPrimitiveTaglineText=gi;exports.EmbeddedChatPrimitiveToolbarHeader=Ee;exports.EmbeddedChatPrimitiveToolbarHeaderWrapper=Fe;exports.EmbeddedChatPrimitiveWorkflow=Ue;exports.EmbeddedChatPrimitiveWorkflowIcon=Ke;exports.EmbeddedChatPrimitiveWorkflows=Ne;exports.EmbeddedChatPrimitiveWorkflowsLabel=$e;exports.EmbeddedChatPrimitiveWorkflowsList=Ve;exports.EmbeddedChatPrimitiveWrapper=Pe;exports.FeedbackForm=wi;exports.FeedbackItem=Li;exports.FeedbackItemCheckbox=Di;exports.FeedbackItemCheckboxIndicator=qi;exports.FeedbackItemDescription=Wi;exports.FeedbackItemLabel=Ri;exports.FeedbackModal=Bi;exports.FeedbackModalBody=Hi;exports.FeedbackModalClose=yi;exports.FeedbackModalContent=Ti;exports.FeedbackModalHeader=ji;exports.FeedbackModalOverlay=xi;exports.FeedbackSubmitButton=Oi;exports.Footer=Tt;exports.Form=Ni;exports.FormCancel=Ca;exports.FormClose=$i;exports.FormContent=zi;exports.FormDescription=Ki;exports.FormError=ha;exports.FormField=Gi;exports.FormFieldCheckbox=ea;exports.FormFieldCheckboxIndicator=ta;exports.FormFieldEmail=Ji;exports.FormFieldError=la;exports.FormFieldFile=Xi;exports.FormFieldLabel=Yi;exports.FormFieldSelect=ia;exports.FormFieldSelectContent=sa;exports.FormFieldSelectIcon=ra;exports.FormFieldSelectItem=da;exports.FormFieldSelectItemIndicator=ma;exports.FormFieldSelectItemText=ca;exports.FormFieldSelectTrigger=aa;exports.FormFieldSelectValue=na;exports.FormFieldSelectViewport=oa;exports.FormFieldText=J;exports.FormFieldTextArea=Zi;exports.FormFooter=ua;exports.FormHeader=Vi;exports.FormHeading=Ui;exports.FormSubmit=pa;exports.FormSuccess=va;exports.FormSuccessButton=Pa;exports.FormSuccessHeading=ba;exports.FormSuccessMessage=ga;exports.FormWrapper=Qi;exports.Header=Ua;exports.HeaderToolbar=ke;exports.HeaderToolbarWrapper=Fe;exports.HelpActions=ki;exports.HelpActionsMenu=Ii;exports.HelpActionsMenuArrow=Mi;exports.HelpActionsMenuItem=Si;exports.HelpActionsMenuItemIcon=fi;exports.HelpActionsTrigger=Ei;exports.Input=Ht;exports.InputFieldset=jt;exports.InputGroup=yt;exports.IntroMessageWrapper=ze;exports.Message=pt;exports.MessageAction=Pt;exports.MessageActions=vt;exports.MessageAttachments=nt;exports.MessageAttachmentsItem=st;exports.MessageAttachmentsItemIcon=ot;exports.MessageAttachmentsItemTitle=dt;exports.MessageAttachmentsList=rt;exports.MessageAttachmentsPreview=ct;exports.MessageAttachmentsPreviewBody=Ct;exports.MessageAttachmentsPreviewClose=ut;exports.MessageAttachmentsPreviewContent=lt;exports.MessageAttachmentsPreviewHeader=ht;exports.MessageAttachmentsPreviewOverlay=mt;exports.MessageAvatar=Je;exports.MessageAvatarContent=Xe;exports.MessageAvatarFallback=Ze;exports.MessageAvatarImage=et;exports.MessageContent=at;exports.MessageContentWrapper=it;exports.MessageHeader=Ge;exports.MessageLoading=Ye;exports.MessageName=tt;exports.MessageSourceItem=Ft;exports.MessageSourceItemBreadcrumbIcon=wn;exports.MessageSourceItemBreadcrumbs=Et;exports.MessageSourceItemDescription=ft;exports.MessageSourceItemDescriptionPart=Bt;exports.MessageSourceItemIcon=It;exports.MessageSourceItemIndicator=xt;exports.MessageSourceItemTag=St;exports.MessageSourceItemTitle=Mt;exports.MessageSources=_t;exports.MessageSourcesHeader=At;exports.MessageSourcesList=kt;exports.MessageToolAction=gt;exports.MessageToolActions=bt;exports.MessageWrapper=ce;exports.Messages=Te;exports.QuickQuestion=Oe;exports.QuickQuestionButton=Qe;exports.QuickQuestions=qe;exports.QuickQuestionsLabel=Re;exports.QuickQuestionsList=We;exports.Root=Ae;exports.SendButton=wt;exports.SendButtonIcon=Lt;exports.TaglineBrandName=_i;exports.TaglineContainer=bi;exports.TaglineLogo=Pi;exports.TaglineText=gi;exports.ToolbarHeader=Ee;exports.Workflow=Ue;exports.WorkflowIcon=Ke;exports.Workflows=Ne;exports.WorkflowsLabel=$e;exports.WorkflowsList=Ve;exports.Wrapper=Pe;