droplinked-chatbot-next 1.0.4 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -4988,80 +4988,72 @@ function MessageInput(_ref) {
4988
4988
  borderTop: "1px solid",
4989
4989
  borderColor: "#27272A",
4990
4990
  borderBottomRadius: 16,
4991
- children: jsxRuntime.jsx(Chakra.VStack, {
4992
- gap: 6,
4991
+ children: jsxRuntime.jsxs(Chakra.VStack, {
4992
+ gap: 4,
4993
4993
  w: "full",
4994
4994
  align: "stretch",
4995
- children: jsxRuntime.jsxs(Chakra.VStack, {
4996
- gap: 4,
4995
+ children: [jsxRuntime.jsx(Chakra.Input, {
4996
+ value: input,
4997
+ onChange: function onChange(e) {
4998
+ return setInput(e.target.value);
4999
+ },
5000
+ onKeyDown: function onKeyDown(e) {
5001
+ return e.key === "Enter" && handleSend();
5002
+ },
5003
+ placeholder: "Send a message",
5004
+ bg: "transparent",
5005
+ color: "white",
5006
+ border: "none",
5007
+ outline: "none",
5008
+ _placeholder: {
5009
+ color: "#737373"
5010
+ },
5011
+ _focus: {
5012
+ border: "none",
5013
+ outline: "none",
5014
+ boxShadow: "none"
5015
+ },
5016
+ _active: {
5017
+ border: "none",
5018
+ outline: "none",
5019
+ boxShadow: "none"
5020
+ },
5021
+ p: 3,
5022
+ fontSize: "sm"
5023
+ }), jsxRuntime.jsxs(Chakra.HStack, {
5024
+ align: "center",
4997
5025
  w: "full",
4998
- children: [jsxRuntime.jsx(Chakra.Box, {
4999
- w: "full",
5000
- position: "relative",
5001
- children: jsxRuntime.jsx(Chakra.Input, {
5002
- value: input,
5003
- onChange: function onChange(e) {
5004
- return setInput(e.target.value);
5005
- },
5006
- onKeyDown: function onKeyDown(e) {
5007
- return e.key === "Enter" && handleSend();
5008
- },
5009
- placeholder: "Send a message",
5010
- bg: "transparent",
5011
- color: "white",
5012
- border: "none",
5013
- outline: "none",
5014
- _placeholder: {
5015
- color: "#737373"
5016
- },
5017
- _focus: {
5018
- border: "none",
5019
- outline: "none",
5020
- boxShadow: "none"
5021
- },
5022
- _active: {
5023
- border: "none",
5024
- outline: "none",
5025
- boxShadow: "none"
5026
- },
5027
- p: 3,
5028
- fontSize: "sm"
5026
+ children: [user.logoUrl && jsxRuntime.jsx(Chakra.HStack, {
5027
+ gap: 3,
5028
+ children: jsxRuntime.jsx(Chakra.Image, {
5029
+ boxSize: "40px",
5030
+ src: user.logoUrl,
5031
+ alt: "User avatar",
5032
+ border: "1px solid",
5033
+ borderColor: "#27272A",
5034
+ borderRadius: "24px"
5035
+ })
5036
+ }), jsxRuntime.jsx(Chakra.Spacer, {}), jsxRuntime.jsx(Chakra.IconButton, {
5037
+ "aria-label": "Send message",
5038
+ onClick: handleSend,
5039
+ isDisabled: !input.trim() || isLoading,
5040
+ isLoading: isLoading,
5041
+ size: "md",
5042
+ bg: !input.trim() || isLoading ? "#262626" : "#2BCFA1",
5043
+ _hover: {
5044
+ bg: !input.trim() || isLoading ? "#262626" : "#22B890"
5045
+ },
5046
+ _disabled: {
5047
+ bg: "#262626",
5048
+ cursor: "not-allowed"
5049
+ },
5050
+ borderRadius: "lg",
5051
+ border: "none",
5052
+ children: jsxRuntime.jsx(SendMd, {
5053
+ color: !input.trim() || isLoading ? "#525252" : "white"
5029
5054
  })
5030
- }), jsxRuntime.jsxs(Chakra.HStack, {
5031
- align: "center",
5032
- w: "full",
5033
- children: [user.logoUrl && jsxRuntime.jsx(Chakra.HStack, {
5034
- gap: 3,
5035
- children: jsxRuntime.jsx(Chakra.Image, {
5036
- boxSize: "40px",
5037
- src: user.logoUrl,
5038
- alt: "User avatar",
5039
- border: "1px solid",
5040
- borderColor: "#27272A",
5041
- borderRadius: "24px"
5042
- })
5043
- }), jsxRuntime.jsx(Chakra.Spacer, {}), jsxRuntime.jsx(Chakra.IconButton, {
5044
- "aria-label": "Send message",
5045
- onClick: handleSend,
5046
- isDisabled: !input.trim() || isLoading,
5047
- isLoading: isLoading,
5048
- size: "md",
5049
- bg: !input.trim() || isLoading ? "#262626" : "#2BCFA1",
5050
- _hover: {
5051
- bg: !input.trim() || isLoading ? "#262626" : "#22B890"
5052
- },
5053
- _disabled: {
5054
- bg: "#262626",
5055
- cursor: "not-allowed"
5056
- },
5057
- borderRadius: "lg",
5058
- border: "none",
5059
- children: jsxRuntime.jsx(SendMd, {
5060
- color: !input.trim() || isLoading ? "#525252" : "white"
5061
- })
5062
- })]
5063
5055
  })]
5064
- })
5056
+ })]
5065
5057
  })
5066
5058
  })]
5067
5059
  });
@@ -5133,17 +5125,15 @@ var TypingIndicator = /*#__PURE__*/React.memo(function TypingIndicator(_ref) {
5133
5125
  maxW: "80%",
5134
5126
  mb: 2,
5135
5127
  style: containerAnimationStyle,
5136
- children: jsxRuntime.jsx(Chakra.Box, {
5137
- bg: "rgba(34, 197, 94, 0.2)",
5138
- p: "10px 14px",
5139
- borderRadius: "16px",
5140
- w: "fit-content",
5141
- border: "1px solid rgba(34, 197, 94, 0.3)",
5142
- backdropFilter: "blur(10px)",
5143
- boxShadow: "0 4px 12px rgba(0, 0, 0, 0.1)",
5144
- children: jsxRuntime.jsx(TypingDots, {
5145
- delay: 0.1
5146
- })
5128
+ bg: "rgba(34, 197, 94, 0.2)",
5129
+ p: "10px 14px",
5130
+ borderRadius: "16px",
5131
+ w: "fit-content",
5132
+ border: "1px solid rgba(34, 197, 94, 0.3)",
5133
+ backdropFilter: "blur(10px)",
5134
+ boxShadow: "0 4px 12px rgba(0, 0, 0, 0.1)",
5135
+ children: jsxRuntime.jsx(TypingDots, {
5136
+ delay: 0.1
5147
5137
  })
5148
5138
  });
5149
5139
  });
@@ -41416,8 +41406,8 @@ function MarkdownRenderer(_ref) {
41416
41406
  fontSize: fontSize,
41417
41407
  lineHeight: lineHeight,
41418
41408
  css: {
41419
- listStyleType: 'disc',
41420
- listStylePosition: 'outside'
41409
+ listStylePosition: 'outside',
41410
+ listStyleType: 'disc'
41421
41411
  },
41422
41412
  children: children
41423
41413
  });
@@ -41432,8 +41422,8 @@ function MarkdownRenderer(_ref) {
41432
41422
  fontSize: fontSize,
41433
41423
  lineHeight: lineHeight,
41434
41424
  css: {
41435
- listStyleType: 'decimal',
41436
- listStylePosition: 'outside'
41425
+ listStylePosition: 'outside',
41426
+ listStyleType: 'decimal'
41437
41427
  },
41438
41428
  children: children
41439
41429
  });
@@ -41606,109 +41596,93 @@ function GradualMessageDisplay(_ref) {
41606
41596
  return jsxRuntime.jsx(Chakra.Box, {
41607
41597
  alignSelf: "flex-start",
41608
41598
  mb: 4,
41609
- children: jsxRuntime.jsx(Chakra.Box, {
41610
- p: 4,
41611
- borderRadius: "12px",
41612
- borderBottomLeftRadius: "6px",
41613
- children: jsxRuntime.jsx(MarkdownRenderer, {
41614
- content: message,
41615
- fontSize: "sm",
41616
- lineHeight: "1.4",
41617
- color: "white"
41618
- })
41599
+ p: 4,
41600
+ borderRadius: "12px",
41601
+ borderBottomLeftRadius: "6px",
41602
+ children: jsxRuntime.jsx(MarkdownRenderer, {
41603
+ content: message,
41604
+ fontSize: "sm",
41605
+ lineHeight: "1.4",
41606
+ color: "white"
41619
41607
  })
41620
41608
  });
41621
41609
  }
41622
- return jsxRuntime.jsx(Chakra.Box, {
41610
+ return jsxRuntime.jsxs(Chakra.Box, {
41623
41611
  alignSelf: "flex-start",
41624
41612
  mb: 4,
41625
- children: jsxRuntime.jsxs(Chakra.Box, {
41626
- display: "flex",
41627
- flexDirection: "column",
41628
- gap: 2,
41629
- children: [(phase === "typing" || phase === "revealing") && jsxRuntime.jsx(TypingIndicator, {
41630
- isVisible: true
41631
- }), (phase === "revealing" || phase === "complete") && jsxRuntime.jsx(Chakra.Box, {
41632
- position: "relative",
41613
+ display: "flex",
41614
+ flexDirection: "column",
41615
+ gap: 2,
41616
+ children: [(phase === "typing" || phase === "revealing") && jsxRuntime.jsx(TypingIndicator, {
41617
+ isVisible: true
41618
+ }), (phase === "revealing" || phase === "complete") && jsxRuntime.jsx(Chakra.Box, {
41619
+ position: "relative",
41620
+ borderRadius: "12px",
41621
+ _before: {
41622
+ content: '""',
41623
+ position: "absolute",
41624
+ zIndex: -1,
41625
+ width: "calc(100% + 1px)",
41626
+ height: "calc(100% + 1px)",
41627
+ top: 0,
41628
+ left: 0,
41633
41629
  borderRadius: "12px",
41634
- _before: {
41635
- content: '""',
41636
- position: "absolute",
41637
- zIndex: -1,
41638
- width: "calc(100% + 1px)",
41639
- height: "calc(100% + 1px)",
41640
- top: 0,
41641
- left: 0,
41642
- borderRadius: "12px",
41643
- backgroundSize: "400% 400%",
41644
- opacity: phase === "revealing" ? 1 : 0,
41645
- transition: "opacity 0.3s ease"
41646
- },
41647
- _after: {
41648
- content: '""',
41649
- position: "absolute",
41650
- zIndex: -1,
41651
- width: "calc(100% + 1px)",
41652
- height: "calc(100% + 1px)",
41653
- top: 0,
41654
- left: 0,
41655
- borderRadius: "12px",
41656
- backgroundSize: "400% 400%",
41657
- opacity: phase === "revealing" ? 1 : 0,
41658
- transition: "opacity 0.3s ease",
41659
- filter: "blur(100px)"
41660
- },
41661
- children: jsxRuntime.jsx(Chakra.Box, {
41662
- borderRadius: "11px",
41663
- p: "12px 16px",
41664
- position: "relative",
41665
- zIndex: 1,
41666
- children: displayedLines.map(function (line, lineIndex) {
41667
- var isCurrentLine = lineIndex === currentLineIndex && phase === "revealing";
41668
- return jsxRuntime.jsxs(Chakra.Box, {
41669
- position: "relative",
41670
- css: isCurrentLine ? {
41671
- maskImage: "linear-gradient(to right, \n black 0%, \n black ".concat(Math.max(0, lineProgress - 10), "%, \n transparent ").concat(lineProgress, "%, \n transparent 100%)"),
41672
- WebkitMaskImage: "linear-gradient(to right, \n black 0%, \n black ".concat(Math.max(0, lineProgress - 10), "%, \n transparent ").concat(lineProgress, "%, \n transparent 100%)")
41673
- } : {},
41674
- children: [isCurrentLine && jsxRuntime.jsxs(jsxRuntime.Fragment, {
41675
- children: [jsxRuntime.jsx(Chakra.Box, {
41676
- position: "absolute",
41677
- top: 0,
41678
- left: 0,
41679
- right: 0,
41680
- css: {
41681
- filter: "blur(800px)",
41682
- opacity: 0,
41683
- transform: "scale(500)"
41684
- },
41685
- children: jsxRuntime.jsx(MarkdownRenderer, {
41686
- content: line || " ",
41687
- fontSize: "sm",
41688
- lineHeight: "1.4",
41689
- color: "white"
41690
- })
41691
- }), jsxRuntime.jsx(Chakra.Box, {
41692
- position: "absolute",
41693
- top: 0,
41694
- left: 0,
41695
- right: 0,
41696
- css: {
41697
- filter: "blur(8px)",
41698
- opacity: 0.7
41699
- },
41700
- children: jsxRuntime.jsx(MarkdownRenderer, {
41701
- content: line || " ",
41702
- fontSize: "sm",
41703
- lineHeight: "1.4",
41704
- color: "white"
41705
- })
41706
- })]
41630
+ backgroundSize: "400% 400%",
41631
+ opacity: phase === "revealing" ? 1 : 0,
41632
+ transition: "opacity 0.3s ease"
41633
+ },
41634
+ _after: {
41635
+ content: '""',
41636
+ position: "absolute",
41637
+ zIndex: -1,
41638
+ width: "calc(100% + 1px)",
41639
+ height: "calc(100% + 1px)",
41640
+ top: 0,
41641
+ left: 0,
41642
+ borderRadius: "12px",
41643
+ backgroundSize: "400% 400%",
41644
+ opacity: phase === "revealing" ? 1 : 0,
41645
+ transition: "opacity 0.3s ease",
41646
+ filter: "blur(100px)"
41647
+ },
41648
+ children: jsxRuntime.jsx(Chakra.Box, {
41649
+ borderRadius: "11px",
41650
+ p: "12px 16px",
41651
+ position: "relative",
41652
+ zIndex: 1,
41653
+ children: displayedLines.map(function (line, lineIndex) {
41654
+ var isCurrentLine = lineIndex === currentLineIndex && phase === "revealing";
41655
+ return jsxRuntime.jsxs(Chakra.Box, {
41656
+ position: "relative",
41657
+ css: isCurrentLine ? {
41658
+ WebkitMaskImage: "linear-gradient(to right, \n black 0%, \n black ".concat(Math.max(0, lineProgress - 10), "%, \n transparent ").concat(lineProgress, "%, \n transparent 100%)"),
41659
+ maskImage: "linear-gradient(to right, \n black 0%, \n black ".concat(Math.max(0, lineProgress - 10), "%, \n transparent ").concat(lineProgress, "%, \n transparent 100%)")
41660
+ } : {},
41661
+ children: [isCurrentLine && jsxRuntime.jsxs(jsxRuntime.Fragment, {
41662
+ children: [jsxRuntime.jsx(Chakra.Box, {
41663
+ position: "absolute",
41664
+ top: 0,
41665
+ left: 0,
41666
+ right: 0,
41667
+ css: {
41668
+ filter: "blur(800px)",
41669
+ opacity: 0,
41670
+ transform: "scale(500)"
41671
+ },
41672
+ children: jsxRuntime.jsx(MarkdownRenderer, {
41673
+ content: line || " ",
41674
+ fontSize: "sm",
41675
+ lineHeight: "1.4",
41676
+ color: "white"
41677
+ })
41707
41678
  }), jsxRuntime.jsx(Chakra.Box, {
41708
- position: "relative",
41679
+ position: "absolute",
41680
+ top: 0,
41681
+ left: 0,
41682
+ right: 0,
41709
41683
  css: {
41710
- filter: isCurrentLine ? "blur(".concat(Math.max(0, 6 - lineProgress / 100 * 6), "px)") : "blur(0px)",
41711
- opacity: isCurrentLine ? Math.min(1, lineProgress / 70) : 1
41684
+ filter: "blur(8px)",
41685
+ opacity: 0.7
41712
41686
  },
41713
41687
  children: jsxRuntime.jsx(MarkdownRenderer, {
41714
41688
  content: line || " ",
@@ -41717,11 +41691,23 @@ function GradualMessageDisplay(_ref) {
41717
41691
  color: "white"
41718
41692
  })
41719
41693
  })]
41720
- }, lineIndex);
41721
- })
41694
+ }), jsxRuntime.jsx(Chakra.Box, {
41695
+ position: "relative",
41696
+ css: {
41697
+ filter: isCurrentLine ? "blur(".concat(Math.max(0, 6 - lineProgress / 100 * 6), "px)") : "blur(0px)",
41698
+ opacity: isCurrentLine ? Math.min(1, lineProgress / 70) : 1
41699
+ },
41700
+ children: jsxRuntime.jsx(MarkdownRenderer, {
41701
+ content: line || " ",
41702
+ fontSize: "sm",
41703
+ lineHeight: "1.4",
41704
+ color: "white"
41705
+ })
41706
+ })]
41707
+ }, lineIndex);
41722
41708
  })
41723
- })]
41724
- })
41709
+ })
41710
+ })]
41725
41711
  });
41726
41712
  }
41727
41713
 
@@ -41808,41 +41794,35 @@ function ErrorMessage(_ref) {
41808
41794
  return _ref2.apply(this, arguments);
41809
41795
  };
41810
41796
  }();
41811
- return jsxRuntime.jsxs(Chakra.Box, {
41797
+ return jsxRuntime.jsxs(Chakra.HStack, {
41812
41798
  alignSelf: "stretch",
41813
41799
  p: 4,
41814
41800
  bg: "rgba(244, 63, 94, 0.05)",
41815
41801
  borderRadius: "lg",
41816
41802
  border: "1px solid",
41817
41803
  borderColor: "rgb(244, 63, 94)",
41818
- display: "flex",
41819
- alignItems: "flex-start",
41804
+ align: "flex-start",
41820
41805
  gap: 4,
41821
- children: [jsxRuntime.jsxs(Chakra.HStack, {
41806
+ children: [jsxRuntime.jsx(WarningMd, {
41807
+ color: "#F24"
41808
+ }), jsxRuntime.jsxs(Chakra.VStack, {
41822
41809
  flex: 1,
41823
41810
  align: "flex-start",
41824
- gap: 2,
41825
- children: [jsxRuntime.jsx(WarningMd, {
41826
- color: "#F24"
41827
- }), jsxRuntime.jsxs(Chakra.VStack, {
41828
- flex: 1,
41829
- align: "flex-start",
41830
- gap: 1,
41831
- children: [jsxRuntime.jsx(Chakra.Text, {
41832
- w: "full",
41833
- color: "white",
41834
- fontSize: "sm",
41835
- fontWeight: "bold",
41836
- lineHeight: "tight",
41837
- children: "Connection Lost"
41838
- }), jsxRuntime.jsx(Chakra.Text, {
41839
- w: "full",
41840
- color: "white",
41841
- fontSize: "sm",
41842
- fontWeight: "normal",
41843
- lineHeight: "tight",
41844
- children: "Chatbot encountered connected issues."
41845
- })]
41811
+ gap: 1,
41812
+ children: [jsxRuntime.jsx(Chakra.Text, {
41813
+ w: "full",
41814
+ color: "white",
41815
+ fontSize: "sm",
41816
+ fontWeight: "bold",
41817
+ lineHeight: "tight",
41818
+ children: "Connection Lost"
41819
+ }), jsxRuntime.jsx(Chakra.Text, {
41820
+ w: "full",
41821
+ color: "white",
41822
+ fontSize: "sm",
41823
+ fontWeight: "normal",
41824
+ lineHeight: "tight",
41825
+ children: "Chatbot encountered connected issues."
41846
41826
  })]
41847
41827
  }), showRetry && onRetry && jsxRuntime.jsx(Chakra.Button, {
41848
41828
  px: "14px",
@@ -41897,19 +41877,17 @@ function MessageItem(_ref) {
41897
41877
  return jsxRuntime.jsx(Chakra.Box, {
41898
41878
  alignSelf: "flex-end",
41899
41879
  maxW: "80%",
41900
- children: jsxRuntime.jsx(Chakra.Box, {
41901
- p: 4,
41902
- borderRadius: "16px",
41903
- borderBottomRightRadius: "sm",
41904
- border: "1px solid",
41905
- borderColor: "#292929",
41906
- bg: "#222222",
41907
- color: "white",
41908
- children: jsxRuntime.jsx(Chakra.Text, {
41909
- fontSize: "sm",
41910
- lineHeight: "1.4",
41911
- children: message.text
41912
- })
41880
+ p: 4,
41881
+ borderRadius: "16px",
41882
+ borderBottomRightRadius: "sm",
41883
+ border: "1px solid",
41884
+ borderColor: "#292929",
41885
+ bg: "#222222",
41886
+ color: "white",
41887
+ children: jsxRuntime.jsx(Chakra.Text, {
41888
+ fontSize: "sm",
41889
+ lineHeight: "1.4",
41890
+ children: message.text
41913
41891
  })
41914
41892
  });
41915
41893
  }
@@ -65677,10 +65655,6 @@ function MessageList(_ref) {
65677
65655
  "&::-webkit-scrollbar": {
65678
65656
  width: "6px"
65679
65657
  },
65680
- "&::-webkit-scrollbar-track": {
65681
- background: "rgba(255, 255, 255, 0.1)",
65682
- borderRadius: "3px"
65683
- },
65684
65658
  "&::-webkit-scrollbar-thumb": {
65685
65659
  background: "rgba(255, 255, 255, 0.3)",
65686
65660
  borderRadius: "3px"
@@ -65688,6 +65662,10 @@ function MessageList(_ref) {
65688
65662
  "&::-webkit-scrollbar-thumb:hover": {
65689
65663
  background: "rgba(255, 255, 255, 0.5)"
65690
65664
  },
65665
+ "&::-webkit-scrollbar-track": {
65666
+ background: "rgba(255, 255, 255, 0.1)",
65667
+ borderRadius: "3px"
65668
+ },
65691
65669
  scrollBehavior: "smooth"
65692
65670
  },
65693
65671
  children: jsxRuntime.jsx(Chakra.VStack, {
@@ -65741,8 +65719,8 @@ function MessageList(_ref) {
65741
65719
  loop: true,
65742
65720
  autoplay: true,
65743
65721
  style: {
65744
- width: "100%",
65745
- height: "100%"
65722
+ height: "100%",
65723
+ width: "100%"
65746
65724
  }
65747
65725
  })
65748
65726
  })]
@@ -66300,32 +66278,185 @@ function ChatHeader(_ref) {
66300
66278
 
66301
66279
  function EmbeddedChatButton(_ref) {
66302
66280
  var onClick = _ref.onClick;
66303
- return jsxRuntime.jsx(Chakra.Button, {
66281
+ return jsxRuntime.jsxs(Chakra.Button, {
66304
66282
  onClick: onClick,
66305
66283
  bg: "transparent",
66306
- color: "#2BCFA1",
66307
- border: "1px solid #292929",
66308
- borderRadius: "8px",
66309
- px: "14px",
66310
- py: "10px",
66311
- h: "auto",
66312
- fontWeight: "medium",
66313
- fontSize: "sm",
66314
- transition: "all 0.2s",
66284
+ color: "white",
66285
+ borderRadius: "12px",
66286
+ px: "12px",
66287
+ py: "8px",
66288
+ h: "36px",
66289
+ minW: "36px",
66290
+ fontWeight: "500",
66291
+ fontSize: "14px",
66292
+ lineHeight: "20px",
66293
+ transition: "all 0.2s ease-in-out",
66294
+ position: "relative",
66295
+ overflow: "hidden",
66296
+ leftIcon: jsxRuntime.jsx(AIMd, {
66297
+ color: "currentColor"
66298
+ }),
66315
66299
  _hover: {
66316
- bg: "rgba(255, 255, 255, 0.05)",
66317
- borderColor: "#404040"
66300
+ bg: "#2BCFA1",
66301
+ color: "#FFFFFF"
66318
66302
  },
66319
66303
  _active: {
66320
- bg: "rgba(255, 255, 255, 0.1)"
66304
+ bg: "#26B894",
66305
+ color: "#FFFFFF"
66321
66306
  },
66322
- children: jsxRuntime.jsxs(Chakra.Flex, {
66323
- align: "center",
66324
- gap: "6px",
66325
- children: [jsxRuntime.jsx(AIMd, {
66326
- color: "currentColor"
66327
- }), "AI Assistant"]
66328
- })
66307
+ _focus: {
66308
+ boxShadow: "none"
66309
+ },
66310
+ _focusVisible: {
66311
+ boxShadow: "0 0 0 2px rgba(43, 207, 161, 0.3)"
66312
+ },
66313
+ children: ["AI Assistant", jsxRuntime.jsx(Chakra.Box, {
66314
+ position: "absolute",
66315
+ bottom: 0,
66316
+ left: 0,
66317
+ right: 0,
66318
+ width: "100%",
66319
+ height: "36px",
66320
+ pointerEvents: "none",
66321
+ opacity: 0,
66322
+ transition: "opacity 0.2s ease-in-out",
66323
+ sx: {
66324
+ '.chakra-button:hover &': {
66325
+ opacity: 1
66326
+ },
66327
+ '.chakra-button:active &': {
66328
+ opacity: 1
66329
+ }
66330
+ },
66331
+ children: jsxRuntime.jsxs("svg", {
66332
+ xmlns: "http://www.w3.org/2000/svg",
66333
+ width: "100%",
66334
+ height: "100%",
66335
+ viewBox: "0 0 188 48",
66336
+ fill: "none",
66337
+ preserveAspectRatio: "none",
66338
+ children: [jsxRuntime.jsxs("g", {
66339
+ clipPath: "url(#clip0_ai_overlay)",
66340
+ children: [jsxRuntime.jsx("rect", {
66341
+ width: "188",
66342
+ height: "48",
66343
+ rx: "12",
66344
+ fill: "url(#paint0_radial_ai_overlay)"
66345
+ }), jsxRuntime.jsx("g", {
66346
+ style: {
66347
+ mixBlendMode: "hard-light"
66348
+ },
66349
+ filter: "url(#filter0_f_ai_overlay)",
66350
+ children: jsxRuntime.jsx("path", {
66351
+ d: "M221.009 20.167C224.17 22.8539 225.861 25.6847 225.861 28.6104C225.861 45.9462 166.533 60 93.3477 60C20.1622 60 -39.167 45.9462 -39.167 28.6104C-39.1668 25.6847 -37.4754 22.8539 -34.3145 20.167C-18.7449 33.4011 32.5139 43.1123 93.3477 43.1123C154.181 43.1123 205.439 33.401 221.009 20.167Z",
66352
+ fill: "#2BCFA1"
66353
+ })
66354
+ }), jsxRuntime.jsx("g", {
66355
+ style: {
66356
+ mixBlendMode: "color-dodge"
66357
+ },
66358
+ filter: "url(#filter1_f_ai_overlay)",
66359
+ children: jsxRuntime.jsx("path", {
66360
+ d: "M229.808 46.167C233.191 47.0105 234.999 47.8979 235 48.8164C235 54.2565 171.58 58.667 93.3474 58.667C15.1147 58.667 -48.3049 54.2565 -48.3049 48.8164C-48.3045 47.8979 -46.4965 47.0105 -43.1145 46.167C-26.4654 50.3193 28.3245 53.3672 93.3474 53.3672C158.369 53.3672 213.158 50.3192 229.808 46.167Z",
66361
+ fill: "white"
66362
+ })
66363
+ }), jsxRuntime.jsx("g", {
66364
+ style: {
66365
+ mixBlendMode: "plus-lighter"
66366
+ },
66367
+ filter: "url(#filter2_f_ai_overlay)",
66368
+ children: jsxRuntime.jsx("path", {
66369
+ d: "M200.885 39.5C203.548 40.8829 204.972 42.3399 204.972 43.8457C204.972 52.7675 154.996 60 93.3469 60C31.6984 60 -18.2778 52.7675 -18.2781 43.8457C-18.2781 42.3401 -16.8545 40.8827 -14.1921 39.5C-1.07789 46.3111 42.1018 51.3086 93.3469 51.3086C144.591 51.3086 187.769 46.3108 200.885 39.5Z",
66370
+ fill: "white"
66371
+ })
66372
+ })]
66373
+ }), jsxRuntime.jsxs("defs", {
66374
+ children: [jsxRuntime.jsxs("filter", {
66375
+ id: "filter0_f_ai_overlay",
66376
+ x: "-58.067",
66377
+ y: "1.26699",
66378
+ width: "302.828",
66379
+ height: "77.633",
66380
+ filterUnits: "userSpaceOnUse",
66381
+ colorInterpolationFilters: "sRGB",
66382
+ children: [jsxRuntime.jsx("feFlood", {
66383
+ floodOpacity: "0",
66384
+ result: "BackgroundImageFix"
66385
+ }), jsxRuntime.jsx("feBlend", {
66386
+ mode: "normal",
66387
+ "in": "SourceGraphic",
66388
+ in2: "BackgroundImageFix",
66389
+ result: "shape"
66390
+ }), jsxRuntime.jsx("feGaussianBlur", {
66391
+ stdDeviation: "9.45",
66392
+ result: "effect1_foregroundBlur_ai_overlay"
66393
+ })]
66394
+ }), jsxRuntime.jsxs("filter", {
66395
+ id: "filter1_f_ai_overlay",
66396
+ x: "-61.1716",
66397
+ y: "33.3003",
66398
+ width: "309.038",
66399
+ height: "38.2333",
66400
+ filterUnits: "userSpaceOnUse",
66401
+ colorInterpolationFilters: "sRGB",
66402
+ children: [jsxRuntime.jsx("feFlood", {
66403
+ floodOpacity: "0",
66404
+ result: "BackgroundImageFix"
66405
+ }), jsxRuntime.jsx("feBlend", {
66406
+ mode: "normal",
66407
+ "in": "SourceGraphic",
66408
+ in2: "BackgroundImageFix",
66409
+ result: "shape"
66410
+ }), jsxRuntime.jsx("feGaussianBlur", {
66411
+ stdDeviation: "6.43333",
66412
+ result: "effect1_foregroundBlur_ai_overlay"
66413
+ })]
66414
+ }), jsxRuntime.jsxs("filter", {
66415
+ id: "filter2_f_ai_overlay",
66416
+ x: "-30.5781",
66417
+ y: "27.2",
66418
+ width: "247.85",
66419
+ height: "45.1",
66420
+ filterUnits: "userSpaceOnUse",
66421
+ colorInterpolationFilters: "sRGB",
66422
+ children: [jsxRuntime.jsx("feFlood", {
66423
+ floodOpacity: "0",
66424
+ result: "BackgroundImageFix"
66425
+ }), jsxRuntime.jsx("feBlend", {
66426
+ mode: "normal",
66427
+ "in": "SourceGraphic",
66428
+ in2: "BackgroundImageFix",
66429
+ result: "shape"
66430
+ }), jsxRuntime.jsx("feGaussianBlur", {
66431
+ stdDeviation: "6.15",
66432
+ result: "effect1_foregroundBlur_ai_overlay"
66433
+ })]
66434
+ }), jsxRuntime.jsxs("radialGradient", {
66435
+ id: "paint0_radial_ai_overlay",
66436
+ cx: "0",
66437
+ cy: "0",
66438
+ r: "1",
66439
+ gradientUnits: "userSpaceOnUse",
66440
+ gradientTransform: "translate(94 -5.33333) rotate(90) scale(70.8333 150.489)",
66441
+ children: [jsxRuntime.jsx("stop", {
66442
+ offset: "0.707302",
66443
+ stopOpacity: "0"
66444
+ }), jsxRuntime.jsx("stop", {
66445
+ offset: "0.897964",
66446
+ stopColor: "#2BCFA1"
66447
+ })]
66448
+ }), jsxRuntime.jsx("clipPath", {
66449
+ id: "clip0_ai_overlay",
66450
+ children: jsxRuntime.jsx("rect", {
66451
+ width: "188",
66452
+ height: "48",
66453
+ rx: "12",
66454
+ fill: "white"
66455
+ })
66456
+ })]
66457
+ })]
66458
+ })
66459
+ })]
66329
66460
  });
66330
66461
  }
66331
66462