impact-ui 5.0.4 → 5.0.5-chatbot.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/ArrowBack.js +4 -0
- package/dist/_virtual/AttachFileOutlined.js +4 -0
- package/dist/_virtual/ContentCopyOutlined.js +4 -0
- package/dist/_virtual/Menu.js +4 -0
- package/dist/_virtual/NorthRounded.js +4 -0
- package/dist/_virtual/RefreshOutlined.js +4 -0
- package/dist/_virtual/StopRounded.js +4 -0
- package/dist/_virtual/VolumeUpOutlined.js +4 -0
- package/dist/_virtual/index2.js +2 -2
- package/dist/_virtual/index3.js +2 -2
- package/dist/_virtual/index4.js +4 -2
- package/dist/_virtual/index5.js +3 -3
- package/dist/_virtual/index6.js +2 -4
- package/dist/components/AccordionModern/index.js +1 -1
- package/dist/components/Badge/index.js +1 -1
- package/dist/components/Breadcrumbs/index.js +1 -1
- package/dist/components/Button/index.js +1 -1
- package/dist/components/ButtonGroup/index.js +1 -1
- package/dist/components/Chatbot/Chatbot.types.d.ts +253 -186
- package/dist/components/Chatbot/Chatbot.types.d.ts.map +1 -1
- package/dist/components/Chatbot/chatBotFooter.d.ts +1 -1
- package/dist/components/Chatbot/chatBotFooter.d.ts.map +1 -1
- package/dist/components/Chatbot/chatBotFooter.js +21 -4
- package/dist/components/Chatbot/chatbotComposer.d.ts +4 -0
- package/dist/components/Chatbot/chatbotComposer.d.ts.map +1 -0
- package/dist/components/Chatbot/chatbotComposer.js +328 -0
- package/dist/components/Chatbot/chatbotGreetingHeader.d.ts +4 -0
- package/dist/components/Chatbot/chatbotGreetingHeader.d.ts.map +1 -0
- package/dist/components/Chatbot/chatbotGreetingHeader.js +226 -0
- package/dist/components/Chatbot/greetingWeather.d.ts +23 -0
- package/dist/components/Chatbot/greetingWeather.d.ts.map +1 -0
- package/dist/components/Chatbot/greetingWeather.js +81 -0
- package/dist/components/Chatbot/greetingWeather.test.d.ts +2 -0
- package/dist/components/Chatbot/greetingWeather.test.d.ts.map +1 -0
- package/dist/components/Chatbot/index.d.ts +5 -2
- package/dist/components/Chatbot/index.d.ts.map +1 -1
- package/dist/components/Chatbot/index.js +390 -421
- package/dist/components/Chatbot/irisConversationThread.d.ts +24 -0
- package/dist/components/Chatbot/irisConversationThread.d.ts.map +1 -0
- package/dist/components/Chatbot/irisConversationThread.js +511 -0
- package/dist/components/Chatbot/irisGreetingBackdrop.d.ts +5 -0
- package/dist/components/Chatbot/irisGreetingBackdrop.d.ts.map +1 -0
- package/dist/components/Chatbot/irisGreetingBackdrop.js +62 -0
- package/dist/components/Chatbot/irisMenuListItem.d.ts +11 -0
- package/dist/components/Chatbot/irisMenuListItem.d.ts.map +1 -0
- package/dist/components/Chatbot/irisMenuListItem.js +126 -0
- package/dist/components/Chatbot/irisMenuScreen.d.ts +4 -0
- package/dist/components/Chatbot/irisMenuScreen.d.ts.map +1 -0
- package/dist/components/Chatbot/irisMenuScreen.js +357 -0
- package/dist/components/Chatbot/irisThinking.d.ts +7 -0
- package/dist/components/Chatbot/irisThinking.d.ts.map +1 -0
- package/dist/components/Chatbot/irisThinking.js +219 -0
- package/dist/components/Chatbot/newChatComponent.d.ts +1 -1
- package/dist/components/Chatbot/newChatComponent.d.ts.map +1 -1
- package/dist/components/Chatbot/newChatComponent.js +497 -72
- package/dist/components/Chips/index.js +1 -1
- package/dist/components/CommentsPanel/CommentsPanel.impl.js +1 -1
- package/dist/components/DatePicker/DatePicker.types.d.ts +4 -0
- package/dist/components/DatePicker/DatePicker.types.d.ts.map +1 -1
- package/dist/components/DatePicker/datePickerInput.d.ts +2 -0
- package/dist/components/DatePicker/datePickerInput.d.ts.map +1 -1
- package/dist/components/DatePicker/datePickerInput.js +32 -2
- package/dist/components/DatePicker/index.d.ts.map +1 -1
- package/dist/components/DatePicker/index.js +5 -1
- package/dist/components/DatePicker/showMonthYearSelect.d.ts.map +1 -1
- package/dist/components/DatePicker/showMonthYearSelect.js +2 -0
- package/dist/components/DateRangePicker/index.js +1 -1
- package/dist/components/DateRangePicker/showMonthYearSelect.d.ts.map +1 -1
- package/dist/components/DateRangePicker/showMonthYearSelect.js +2 -0
- package/dist/components/FileUpload/index.js +1 -1
- package/dist/components/FilterPanel/index.js +1 -1
- package/dist/components/FiltersStrip/FilterSlider.js +1 -1
- package/dist/components/FiltersStrip/index.js +1 -1
- package/dist/components/Input/index.js +1 -1
- package/dist/components/KeyboardShortCuts/ShortcutLandingPage.js +1 -1
- package/dist/components/KeyboardShortCuts/ShortcutModal.js +1 -1
- package/dist/components/KeyboardShortCuts/allSetBox.js +1 -1
- package/dist/components/KeyboardShortCuts/index.js +1 -1
- package/dist/components/KeyboardShortCuts/tutorial.js +1 -1
- package/dist/components/Menu/IconMenuItem.js +1 -1
- package/dist/components/Menu/NestedMenuItem.js +1 -1
- package/dist/components/Menu/index.js +1 -1
- package/dist/components/Menu/nestedMenuItemsFromObject.js +1 -1
- package/dist/components/Modal/index.js +1 -1
- package/dist/components/MonthPicker/index.js +1 -1
- package/dist/components/MonthRangePicker/index.js +1 -1
- package/dist/components/NewCreateItemFlow/index.js +1 -1
- package/dist/components/NewDynamicLayout/index.js +1 -1
- package/dist/components/OnboardingTour/index.js +1 -1
- package/dist/components/OnboardingTour/productTourList.js +1 -1
- package/dist/components/OnboardingTour/tooltipCard.js +1 -1
- package/dist/components/Panel/index.js +1 -1
- package/dist/components/Popover/index.js +1 -1
- package/dist/components/Prompt/index.js +1 -1
- package/dist/components/Select/Select.types.d.ts +7 -0
- package/dist/components/Select/Select.types.d.ts.map +1 -1
- package/dist/components/Select/index.d.ts.map +1 -1
- package/dist/components/Select/index.js +44 -26
- package/dist/components/Stepper/index.js +1 -1
- package/dist/components/TableChat/EmptyContainer.js +1 -1
- package/dist/components/TableChat/TableChatSidePanel.js +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/AddChatContainer/AddChatContainer.js +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/ChatFilterChips/ChatFilterChips.js +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/TableChatChannelHeader.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/AvatarGroup/AvatarGroup.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatDefaultMessageType/ChatDefaultMessageType.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatDeleteMessageType/ChatDeletedMessageType.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeader.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatInlineEdit/ChatInlineEdit.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatInput/ChatInput.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatMessages/ChatMessage.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatNotificationSettings/ChatNotificationSettings.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/TableChatRightSection.js +1 -1
- package/dist/components/TableChat/components/TextEditor/EditorToolbar.js +1 -1
- package/dist/components/TableChat/components/TextEditor/Mention.js +1 -1
- package/dist/components/TableChat/components/TextEditor/MentionList.js +1 -1
- package/dist/components/TableV36/AgGridHeader.d.ts.map +1 -1
- package/dist/components/TableV36/AgGridHeader.js +107 -115
- package/dist/components/TableV36/index.d.ts.map +1 -1
- package/dist/components/TableV36/index.js +27 -5
- package/dist/components/TableV36/tableFunctions.d.ts.map +1 -1
- package/dist/components/TableV36/tableFunctions.js +15 -14
- package/dist/components/Tag/index.js +1 -1
- package/dist/components/TextArea/index.js +1 -1
- package/dist/components/common/MentionEditor/MentionList/index.js +1 -1
- package/dist/components/common/MentionEditor/index.js +1 -1
- package/dist/components/index.d.ts +3 -2
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +3 -0
- package/dist/hooks/useDraggableResizable.d.ts +11 -1
- package/dist/hooks/useDraggableResizable.d.ts.map +1 -1
- package/dist/hooks/useDraggableResizable.js +73 -59
- package/dist/locales/de-DE.json.d.ts +50 -30
- package/dist/locales/de-DE.json.js +50 -30
- package/dist/locales/en-US.json.d.ts +50 -30
- package/dist/locales/en-US.json.js +50 -30
- package/dist/locales/es-ES.json.d.ts +50 -30
- package/dist/locales/es-ES.json.js +50 -30
- package/dist/mcp-component-registry.json +65 -263
- package/dist/node_modules/@impactsmartsuite/impact-icons/dist/index.js +293 -53
- package/dist/node_modules/@mui/icons-material/ArrowBack.js +17 -0
- package/dist/node_modules/@mui/icons-material/AttachFileOutlined.js +17 -0
- package/dist/node_modules/@mui/icons-material/ContentCopyOutlined.js +17 -0
- package/dist/node_modules/@mui/icons-material/Menu.js +17 -0
- package/dist/node_modules/@mui/icons-material/NorthRounded.js +17 -0
- package/dist/node_modules/@mui/icons-material/RefreshOutlined.js +17 -0
- package/dist/node_modules/@mui/icons-material/StopRounded.js +17 -0
- package/dist/node_modules/@mui/icons-material/VolumeUpOutlined.js +17 -0
- package/dist/node_modules/@mui/system/colorManipulator.js +2 -2
- package/dist/node_modules/prop-types/index.js +1 -1
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/react-is/index.js +1 -1
- package/dist/stories/chatBotApiMock.d.ts +91 -0
- package/dist/stories/chatBotApiMock.d.ts.map +1 -0
- package/dist/styles/style.css +1 -1
- package/package.json +2 -2
- package/dist/_virtual/MoreVert.js +0 -4
- package/dist/_virtual/RemoveRounded.js +0 -4
- package/dist/_virtual/SaveOutlined.js +0 -4
- package/dist/components/Chatbot/bookMarkPanel.d.ts +0 -4
- package/dist/components/Chatbot/bookMarkPanel.d.ts.map +0 -1
- package/dist/components/Chatbot/bookMarkPanel.js +0 -64
- package/dist/components/Chatbot/chatBotLandingScreen.d.ts +0 -4
- package/dist/components/Chatbot/chatBotLandingScreen.d.ts.map +0 -1
- package/dist/components/Chatbot/chatBotLandingScreen.js +0 -24
- package/dist/components/Chatbot/chatInput.d.ts +0 -4
- package/dist/components/Chatbot/chatInput.d.ts.map +0 -1
- package/dist/components/Chatbot/chatInput.js +0 -198
- package/dist/components/Chatbot/chatbotModuleMenu.d.ts +0 -4
- package/dist/components/Chatbot/chatbotModuleMenu.d.ts.map +0 -1
- package/dist/components/Chatbot/chatbotModuleMenu.js +0 -248
- package/dist/components/Chatbot/constant.d.ts +0 -6
- package/dist/components/Chatbot/constant.d.ts.map +0 -1
- package/dist/components/Chatbot/constant.js +0 -27
- package/dist/components/Chatbot/conversationScreen.d.ts +0 -4
- package/dist/components/Chatbot/conversationScreen.d.ts.map +0 -1
- package/dist/components/Chatbot/conversationScreen.js +0 -207
- package/dist/components/Chatbot/customScreen.d.ts +0 -4
- package/dist/components/Chatbot/customScreen.d.ts.map +0 -1
- package/dist/components/Chatbot/customScreen.js +0 -66
- package/dist/components/Chatbot/historyPanel.d.ts +0 -4
- package/dist/components/Chatbot/historyPanel.d.ts.map +0 -1
- package/dist/components/Chatbot/historyPanel.js +0 -374
- package/dist/components/Chatbot/utils.d.ts +0 -5
- package/dist/components/Chatbot/utils.d.ts.map +0 -1
- package/dist/components/Chatbot/utils.js +0 -29
- package/dist/node_modules/@mui/icons-material/MoreVert.js +0 -17
- package/dist/node_modules/@mui/icons-material/RemoveRounded.js +0 -17
- package/dist/node_modules/@mui/icons-material/SaveOutlined.js +0 -17
- package/dist/utils/onResize.js +0 -28
|
@@ -1,24 +1,13 @@
|
|
|
1
|
-
!function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('@keyframes ia-shimmer-horizontal{0%{background-position:100% 0}to{background-position:0 0}}@keyframes ia-shimmer-vertical{0%{background-position:0 100%}to{background-position:0 0}}@property --ia-shimmer-angle{syntax:"<angle>";inherits:false;initial-value:0deg}@keyframes ia-shimmer-circular{0%{--ia-shimmer-angle:0deg}to{--ia-shimmer-angle:360deg}}.ia-shimmer{animation:ia-shimmer-horizontal 1.6s ease-in-out infinite;animation-direction:normal;background-color:#e8edf5;background-image:linear-gradient(90deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:300% 100%}@media (prefers-reduced-motion:reduce){.ia-shimmer{animation:none;background-image:linear-gradient(90deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--ltr{animation:ia-shimmer-horizontal 1.6s ease-in-out infinite;animation-direction:normal;background-color:#e8edf5;background-image:linear-gradient(90deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:300% 100%}@media (prefers-reduced-motion:reduce){.ia-shimmer--ltr{animation:none;background-image:linear-gradient(90deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--rtl{animation:ia-shimmer-horizontal 1.6s ease-in-out infinite;animation-direction:reverse;background-color:#e8edf5;background-image:linear-gradient(270deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:300% 100%}@media (prefers-reduced-motion:reduce){.ia-shimmer--rtl{animation:none;background-image:linear-gradient(270deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--btt{animation:ia-shimmer-vertical 1.6s ease-in-out infinite;animation-direction:reverse;background-color:#e8edf5;background-image:linear-gradient(0deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:100% 300%}@media (prefers-reduced-motion:reduce){.ia-shimmer--btt{animation:none;background-image:linear-gradient(0deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--ttb{animation:ia-shimmer-vertical 1.6s ease-in-out infinite;animation-direction:normal;background-color:#e8edf5;background-image:linear-gradient(0deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:100% 300%}@media (prefers-reduced-motion:reduce){.ia-shimmer--ttb{animation:none;background-image:linear-gradient(0deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--circular{background-color:#e8edf5;background-repeat:no-repeat;--ia-shimmer-angle:0deg;animation:ia-shimmer-circular 1.6s linear infinite;background-image:conic-gradient(from var(--ia-shimmer-angle),#eceef4 0deg,#e8edf5 80deg,#d5dbe8 160deg,#e8edf5 260deg,#eceef4 1turn);background-size:100% 100%}@media (prefers-reduced-motion:reduce){.ia-shimmer--circular{animation:none;background-image:conic-gradient(from 0deg,#eceef4,#e8edf5,#d5dbe8,#e8edf5 1turn)}}:root{--ia-focus-color:#4259ee;--ia-focus-bg:#fff;--ia-focus-ring-width:2px;--ia-focus-ring-offset:2px;--ia-modal-backdrop:#0d152ccc}*,:after,:before{box-sizing:border-box}body,textarea{font-style:normal;font-weight:500}a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{border:0;font-size:100%;font:inherit;margin:0;padding:0;vertical-align:initial}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:"";content:none}table{border-collapse:collapse;border-spacing:0}body{font-family:Manrope,sans-serif}.impact-notification-separator{background-color:#d9dde7;display:inline-block;height:16px;width:1.5px}.impact-notification-horizontal-separator{background-color:#d9dde7;display:inline-block;height:1px;width:100%}ul.storybook-order-list{list-style-type:disc;padding-left:12px}ul.storybook-order-list li{font-size:12px;line-height:20px;padding-bottom:8px}ul.storybook-order-list li strong{font-weight:800}ul.storybook-order-child-list{list-style-type:circle;padding-left:20px}ul.storybook-order-child-list li{font-size:12px;line-height:20px;padding-bottom:8px}ul.storybook-order-child-list li strong{font-weight:800}.chatbot-modal-wrapper{position:relative;z-index:1300}.chatbot-modal-wrapper .chatbot-component-container{background:#fff;border-radius:12px;box-shadow:0 8px 32px #101e3629;padding:10px 16px 10px 10px;position:fixed}.chatbot-modal-wrapper .chatbot-component-container.is-dragging,.chatbot-modal-wrapper .chatbot-component-container.is-resizing{transition:none!important;-webkit-user-select:none;user-select:none}.chatbot-modal-wrapper .chatbot-component-container.is-dragging{cursor:grabbing}.chatbot-modal-wrapper .chatbot-component-container.is-collapsed{overflow:hidden;padding:16px;padding-top:unset}.chatbot-modal-wrapper .chatbot-component-container.full-width{height:calc(100vh - 56px);left:auto!important;right:0;top:56px;width:calc(100vw - 64px)}.chatbot-modal-wrapper .chatbot-component-container .chatbot-component-header-close-icon{height:26px;width:26px}.chatbot-modal-wrapper .chatbot-component-container .chatbot-landing-screen-container{display:flex;flex:1 1 auto;flex-direction:column;height:100%;min-height:0;pointer-events:none;position:relative;width:100%}.chatbot-modal-wrapper .chatbot-component-container .chatbot-landing-screen-container .chatbot-landing-screen-container-body{display:flex;flex:1 1 auto;flex-direction:column;min-height:0;overflow-y:auto}.chatbot-modal-wrapper .chatbot-component-container .chatbot-landing-screen-container .chatbot-landing-screen-container-close-icon{align-items:center;display:flex;flex-shrink:0;gap:10px;justify-content:flex-end;pointer-events:auto}.chatbot-modal-wrapper .chatbot-component-container .chatbot-landing-screen-container .chatbot-landing-screen-container-circle-1{background:#418dffab;border-radius:50%;filter:blur(68px);height:118px;left:calc(50% - 120px);position:absolute;top:calc(50% - 60px);width:118px;z-index:1}.chatbot-modal-wrapper .chatbot-component-container .chatbot-landing-screen-container .chatbot-landing-screen-container-circle-2{background:#ffb4d8;border-radius:50%;filter:blur(80px);height:189px;left:calc(50% - 20px);position:absolute;top:calc(50% - 40px);width:189px;z-index:2}.chatbot-modal-wrapper .chatbot-component-container .chatbot-main-content{box-sizing:border-box;display:flex;gap:20px;height:100%;width:100%}.chatbot-modal-wrapper .chatbot-component-container .chatbot-drag-strip{cursor:grab;height:18px;left:10px;position:absolute;right:10px;top:10px;touch-action:none;z-index:15}.chatbot-modal-wrapper .chatbot-component-container .chatbot-drag-strip:active{cursor:grabbing}.chatbot-modal-wrapper .chatbot-component-container .chatbot-component-left-side{height:100%;position:relative;width:60px}.chatbot-modal-wrapper .chatbot-component-container .chatbot-component-left-side:before{background:linear-gradient(180deg,#b3bdf8,#eceefd 61%,#f7bea3b3);border-radius:12px;content:"";top:0;right:0;bottom:0;left:0;-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;padding:1px;pointer-events:none;position:absolute;z-index:2}.chatbot-modal-wrapper .chatbot-component-container .chatbot-component-left-side.chatbot-component-left-side-open{width:400px}.chatbot-modal-wrapper .chatbot-component-container .chatbot-component-left-side .chatbot-component-menu-container{display:flex;height:100%;justify-content:center;width:100%}.chatbot-modal-wrapper .chatbot-component-container .chatbot-component-left-side .chatbot-component-menu-container.chatbot-component-menu-container-open{justify-content:unset}.chatbot-modal-wrapper .chatbot-component-container .chatbot-component-left-side .chatbot-component-menu-container.chatbot-component-menu-container-open .book-mark-panel-container-wrapper{flex:1;height:100%;padding:12px 12px 12px 0}.chatbot-modal-wrapper .chatbot-component-container .chatbot-component-left-side .chatbot-component-menu-container.chatbot-component-menu-container-open .book-mark-panel-container-wrapper .book-mark-panel-container{background:linear-gradient(180deg,#f0f2ff99,#ffeff871 50%,#ffeceb40);box-shadow:12px 13px 45px -1px #402b701c;display:flex;flex-direction:column;gap:16px;height:100%;padding:20px 16px 0;position:relative;width:100%}.chatbot-modal-wrapper .chatbot-component-container .chatbot-component-left-side .chatbot-component-menu-container.chatbot-component-menu-container-open .book-mark-panel-container-wrapper .book-mark-panel-container:before{background:linear-gradient(187.22deg,#b3bdf8b3,#fff 57.21%,#cdcaf5);border-radius:12px;content:"";top:0;right:0;bottom:0;left:0;-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;padding:1px;pointer-events:none;position:absolute;z-index:2}.chatbot-modal-wrapper .chatbot-component-container .chatbot-component-left-side .chatbot-component-menu-container.chatbot-component-menu-container-open .book-mark-panel-container-wrapper .book-mark-panel-container .book-mark-panel-header{align-items:center;display:flex;justify-content:space-between;width:100%}.chatbot-modal-wrapper .chatbot-component-container .chatbot-component-left-side .chatbot-component-menu-container.chatbot-component-menu-container-open .book-mark-panel-container-wrapper .book-mark-panel-container .book-mark-panel-header .book-mark-panel-header-left{align-items:center;display:flex;gap:7px}.chatbot-modal-wrapper .chatbot-component-container .chatbot-component-left-side .chatbot-component-menu-container.chatbot-component-menu-container-open .book-mark-panel-container-wrapper .book-mark-panel-container .book-mark-panel-header .book-mark-panel-header-left .book-mark-panel-header-left-title{color:#0d152c;font-size:16px;font-weight:800;line-height:24px}.chatbot-modal-wrapper .chatbot-component-container .chatbot-component-left-side .chatbot-component-menu-container.chatbot-component-menu-container-open .book-mark-panel-container-wrapper .book-mark-panel-container .book-mark-panel-header .book-mark-panel-header-right{align-items:center;display:flex;gap:12px}.chatbot-modal-wrapper .chatbot-component-container .chatbot-component-left-side .chatbot-component-menu-container{background:linear-gradient(180deg,#f0f2ff99,#ffeff871 50%,#ffeceb40);border-radius:12px;position:relative;z-index:1}.chatbot-modal-wrapper .chatbot-component-container .chatbot-component-left-side .chatbot-component-menu-container .chatbot-component-menu-container-icon{align-items:center;display:flex;flex-direction:column;justify-content:space-between;padding:12px}.chatbot-modal-wrapper .chatbot-component-container .chatbot-component-left-side .chatbot-component-menu-container .chatbot-component-menu-container-icon.chatbot-component-menu-container-icon-open{padding:12px;width:60px}.chatbot-modal-wrapper .chatbot-component-container .chatbot-component-left-side .chatbot-component-menu-container .chatbot-component-menu-container-icon .chatbot-component-menu-list{align-items:center;display:flex;flex-direction:column;gap:12px;list-style:none;margin:0;padding:0}.chatbot-modal-wrapper .chatbot-component-container .chatbot-component-left-side .chatbot-component-menu-container .chatbot-component-menu-container-icon .chatbot-component-menu-list li{align-items:center;border-radius:8px;cursor:pointer;display:flex;height:37px;justify-content:center;width:37px}.chatbot-modal-wrapper .chatbot-component-container .chatbot-component-left-side .chatbot-component-menu-container .chatbot-component-menu-container-icon .chatbot-component-menu-list li:focus-visible{box-shadow:0 0 0 var(--ia-focus-ring-offset,2px) var(--ia-focus-bg,#fff),0 0 0 calc(var(--ia-focus-ring-offset, 2px) + var(--ia-focus-ring-width, 2px)) var(--ia-focus-color,#4259ee);outline:none;transition:box-shadow .15s ease-in-out}.chatbot-modal-wrapper .chatbot-component-container .chatbot-component-left-side .chatbot-component-menu-container .chatbot-component-menu-container-icon .chatbot-component-menu-list li:focus:not(:focus-visible){box-shadow:none;outline:none}.chatbot-modal-wrapper .chatbot-component-container .chatbot-component-left-side .chatbot-component-menu-container .chatbot-component-menu-container-icon .chatbot-component-menu-list li:hover{background:linear-gradient(152deg,#b3bdf82b 17.25%,#b3bdf89c 122.41%)}.chatbot-modal-wrapper .chatbot-component-container .chatbot-component-left-side .chatbot-component-menu-container .chatbot-component-menu-container-icon .utility-list li:hover{background:linear-gradient(152deg,#b3bdf82b 17.25%,#b3bdf89c 122.41%)!important}.chatbot-modal-wrapper .chatbot-component-container .chatbot-component-left-side .chatbot-component-menu-container .chatbot-component-menu-container-icon .active{background:linear-gradient(152deg,#b3bdf82b 17.25%,#b3bdf89c 122.41%)}.chatbot-modal-wrapper .chatbot-component-container .chatbot-component-left-side .chatbot-component-menu-container .chatbot-component-menu-list img{cursor:pointer}.chatbot-modal-wrapper .chatbot-component-container .chatbot-component-left-side .chatbot-component-menu-container .chatbot-component-menu-container-icon-new-chat{margin-bottom:10px}.chatbot-modal-wrapper .chatbot-component-container .chatbot-component-left-side .chatbot-component-menu-container .chatbot-component-menu-container-icon-notification{height:16px;width:16px}.chatbot-modal-wrapper .chatbot-component-right-side{display:flex;flex:1 1 auto;flex-direction:column;min-height:0;min-width:0;transition:none!important}.chatbot-modal-wrapper .chatbot-component-right-side .chatbot-component-header{align-items:center;display:flex;justify-content:space-between}.chatbot-modal-wrapper .chatbot-component-right-side .chatbot-component-header .chatbot-component-header-dropdown .ia-btn-icon{margin-bottom:0}.chatbot-modal-wrapper .chatbot-component-right-side .chatbot-component-header .chatbot-component-header-dropdown .chatbot-component-header-dropdown-text{font-size:12px;font-weight:400}.chatbot-modal-wrapper .chatbot-component-right-side .chatbot-component-body{align-items:center;display:flex;flex:1 1 auto;justify-content:center;min-height:0;overflow-y:auto}.chatbot-modal-wrapper .chatbot-component-right-side .chatbot-component-body .chatbot-component-body-container{display:flex;flex:1;flex-direction:column;gap:10px;justify-content:center}.chatbot-modal-wrapper .chatbot-component-right-side .chatbot-component-body .chatbot-component-body-container .chatbot-component-body-icon.rotating{animation:chatbot-rotate .7s linear}.chatbot-modal-wrapper .chatbot-component-right-side .chatbot-component-body .chatbot-component-body-container .chatbot-component-body-icon{align-items:center;display:flex;height:84px;justify-content:center;margin:auto;width:84px}@keyframes chatbot-rotate{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.chatbot-modal-wrapper .chatbot-component-right-side .chatbot-component-body .chatbot-component-body-container .chatbot-component-body-icon{height:54px;width:54px}.chatbot-modal-wrapper .chatbot-component-right-side .chatbot-component-body .chatbot-component-body-text{align-items:center;display:flex;flex-direction:column;gap:5px;justify-content:center}.chatbot-modal-wrapper .chatbot-component-right-side .chatbot-component-body .chatbot-component-body-text .chatbot-component-body-text-title{color:#1f2b4d;font-size:26px;font-weight:600}.chatbot-modal-wrapper .chatbot-component-right-side .chatbot-component-body .chatbot-component-body-text .chatbot-component-body-text-title .chatbot-component-body-text-username{background:linear-gradient(82deg,#ec7550 10.92%,#a0508f 81.37%);-webkit-background-clip:text;font-weight:700;-webkit-text-fill-color:#0000;background-clip:text;color:#0000;line-height:47px}.chatbot-modal-wrapper .chatbot-component-right-side .chatbot-component-body .chatbot-component-body-text .chatbot-component-body-text-title .chatbot-component-body-text-username img{height:20px;margin-left:6px;margin-top:-2px;vertical-align:middle;width:20px}.chatbot-modal-wrapper .chatbot-component-right-side .chatbot-component-body .chatbot-component-body-text .chatbot-component-body-text-description{color:#7a8294;font-size:16px;font-weight:500;margin-bottom:15px}.chatbot-modal-wrapper .chatbot-header-row{flex-shrink:0}.chatbot-modal-wrapper .conversation-screen-container-header{align-items:center;container-name:screen-container;container-type:inline-size;display:flex;gap:12px;justify-content:space-between;min-width:0}.chatbot-modal-wrapper .conversation-screen-container-header.draggable{cursor:grab;touch-action:none}.chatbot-modal-wrapper .conversation-screen-container-header.draggable:active{cursor:grabbing}.chatbot-modal-wrapper .conversation-screen-container-header.draggable img{-webkit-user-drag:none;-webkit-user-select:none;user-select:none}.chatbot-modal-wrapper .conversation-screen-container-header.collapsed{height:50px}.chatbot-modal-wrapper .conversation-screen-container-header .left_logo_arrow_container{align-items:center;display:flex;flex-shrink:0;gap:5px}.chatbot-modal-wrapper .conversation-screen-container-header .left_logo_arrow_container .conversation_chatbot_logo_container img{height:18px;width:18px}.chatbot-modal-wrapper .conversation-screen-container-header .left_logo_arrow_container .conversation_chatbot_logo_container .left_logo_arrow_container{align-items:center;display:flex;gap:5px}.chatbot-modal-wrapper .conversation-screen-container-header .center_options_container{background:linear-gradient(91deg,#f8f8ff 54.01%,#ffe4e400 107.24%);border:1px solid #b3bdf8;border-radius:37px;display:flex;flex:1 1 auto;height:30px;max-width:600px;min-width:0;overflow:visible;position:relative}.chatbot-modal-wrapper .conversation-screen-container-header .center_options_container:focus-visible{box-shadow:0 0 0 var(--ia-focus-ring-offset,2px) var(--ia-focus-bg,#fff),0 0 0 calc(var(--ia-focus-ring-offset, 2px) + var(--ia-focus-ring-width, 2px)) var(--ia-focus-color,#4259ee);outline:none;transition:box-shadow .15s ease-in-out}.chatbot-modal-wrapper .conversation-screen-container-header .center_options_container:focus:not(:focus-visible){box-shadow:none;outline:none}.chatbot-modal-wrapper .conversation-screen-container-header .center_options_container .left_tabs_container{flex:1 1 auto;min-width:0;overflow-x:auto;scrollbar-width:none}.chatbot-modal-wrapper .conversation-screen-container-header .center_options_container .left_tabs_container::-webkit-scrollbar{display:none}.chatbot-modal-wrapper .conversation-screen-container-header .center_options_container .left_tabs_container{margin-bottom:-1px;padding-bottom:1px}.chatbot-modal-wrapper .conversation-screen-container-header .center_options_container .left_tabs_container ul{align-items:flex-end;box-sizing:border-box;display:flex;gap:12px;height:100%;padding:0 15px;width:max-content}.chatbot-modal-wrapper .conversation-screen-container-header .center_options_container .left_tabs_container ul li{align-items:center;border:1px solid #0000;border-bottom:none;border-radius:8px 8px 0 0;color:#1f2b4d;cursor:pointer;display:flex;font-size:12px;gap:4px;height:25px;padding:4px 12px;position:relative}.chatbot-modal-wrapper .conversation-screen-container-header .center_options_container .left_tabs_container ul li:focus-visible{box-shadow:0 0 0 var(--ia-focus-ring-offset,2px) var(--ia-focus-bg,#fff),0 0 0 calc(var(--ia-focus-ring-offset, 2px) + var(--ia-focus-ring-width, 2px)) var(--ia-focus-color,#4259ee);outline:none;transition:box-shadow .15s ease-in-out}.chatbot-modal-wrapper .conversation-screen-container-header .center_options_container .left_tabs_container ul li:focus:not(:focus-visible){box-shadow:none;outline:none}.chatbot-modal-wrapper .conversation-screen-container-header .center_options_container .left_tabs_container ul li:hover:not(.active){background:#ffffff8c}.chatbot-modal-wrapper .conversation-screen-container-header .center_options_container .left_tabs_container ul li .close_thread img{height:8px;width:8px}.chatbot-modal-wrapper .conversation-screen-container-header .center_options_container .left_tabs_container ul li.active{background:#fff;border-color:#b3bdf8;border-bottom:none;height:26px;margin-bottom:-1px;z-index:2}.chatbot-modal-wrapper .conversation-screen-container-header .center_options_container .left_tabs_container ul li.active:after,.chatbot-modal-wrapper .conversation-screen-container-header .center_options_container .left_tabs_container ul li.active:before{bottom:-1px;content:"";height:10px;pointer-events:none;position:absolute;width:10px}.chatbot-modal-wrapper .conversation-screen-container-header .center_options_container .left_tabs_container ul li.active:before{background:radial-gradient(circle at 0 0,#0000 10px,#b3bdf8 0,#b3bdf8 11px,#fff 0);left:-10px}.chatbot-modal-wrapper .conversation-screen-container-header .center_options_container .left_tabs_container ul li.active:after{background:radial-gradient(circle at 100% 0,#0000 10px,#b3bdf8 0,#b3bdf8 11px,#fff 0);right:-10px}.chatbot-modal-wrapper .conversation-screen-container-header .right_close_save_icon_container{display:flex;flex-shrink:0;gap:10px}.chatbot-modal-wrapper .conversation-screen-container-header .right_close_save_icon_container .collapse_icon_container{align-items:center;background:#f5f6fa;border-radius:8px;cursor:pointer;display:flex;justify-content:center;max-height:32px}.chatbot-modal-wrapper .conversation-screen-container-header .right_close_save_icon_container .collapse_icon_container .ia-btn-icon{align-items:center;display:flex;justify-content:center;margin-bottom:0}.chatbot-modal-wrapper .conversation-screen-container{display:flex;flex:1 1 auto;flex-direction:column;margin-top:6px;min-height:0;min-width:0}.chatbot-modal-wrapper .conversation-screen-container .conversation-body-container.show-suggestion-banner{margin-top:16px}.chatbot-modal-wrapper .conversation-screen-container .conversation-body-container.collapsed{margin-top:unset}.chatbot-modal-wrapper .conversation-screen-container .conversation-body-container{box-sizing:border-box;flex:1 1 auto;min-height:0;overflow-y:auto;scrollbar-width:none}.chatbot-modal-wrapper .conversation-screen-container .conversation-body-container .time_stamp_badge_chat_container{align-items:center;display:flex;justify-content:center;margin-bottom:10px}.chatbot-modal-wrapper .conversation-screen-container .conversation-body-container .time_stamp_badge_chat_container .time_stamp_badge_chat{align-items:center;background:linear-gradient(90deg,#f5f5f5 6%,#f5f5f500 120%);border:1px solid #d9dde7;border-radius:23px;box-sizing:border-box;color:#60697d;display:flex;font-size:12px;font-weight:500;height:23px;max-width:100%;padding:2px 8px}.chatbot-modal-wrapper .conversation-screen-container .conversation-body-container .user_chat_messages_container{align-items:flex-end;display:flex;flex-direction:column;gap:10px;justify-content:flex-end;margin-bottom:35px}.chatbot-modal-wrapper .conversation-screen-container .conversation-body-container .user_chat_messages_container .user_chat_message{background:linear-gradient(91deg,#dfe7ff66 .67%,#e4d8ff52,#ffcbcc45 111.65%);border-radius:12px;max-width:550px;padding:8px 12px}.chatbot-modal-wrapper .conversation-screen-container .conversation-body-container .user_chat_messages_container .user_chat_message .user_chat_message_text{color:#1f2b4d;font-size:14px;font-weight:500;line-height:18px;word-wrap:break-word}.chatbot-modal-wrapper .conversation-screen-container .conversation-body-container .user_chat_messages_container .user_chat_message .time_chat{color:#60697d;font-size:12px;font-weight:500;margin-top:4px;text-align:right}.chatbot-modal-wrapper .conversation-screen-container .conversation-body-container .assistant_chat_messages_container{display:flex;margin-bottom:35px;width:100%}.chatbot-modal-wrapper .conversation-screen-container .conversation-body-container .assistant_chat_messages_container .chat_logo_circle{background:url(https://impact-kit.iaproducts.ai/api/v1/files/uploads/impact-ui/prod/icons/chat-icon-circle.svg) no-repeat 50%;height:25px;width:25px}.chatbot-modal-wrapper .conversation-screen-container .conversation-body-container .assistant_chat_messages_container .chat_logo_circle_empty{height:25px;width:25px}.chatbot-modal-wrapper .conversation-screen-container .conversation-body-container .assistant_chat_messages_container .loading_messages{align-items:center;animation:none;background:#0000;border:none;display:flex;gap:4px;height:25px;justify-content:center;margin-left:12px;width:25px}.chatbot-modal-wrapper .conversation-screen-container .conversation-body-container .assistant_chat_messages_container .loading_messages .dot{animation:loading-dot-bounce-vertical 1.2s infinite;background:#1f2b4d;border-radius:50%;height:6px;opacity:1;transform:translateY(0);width:6px}.chatbot-modal-wrapper .conversation-screen-container .conversation-body-container .assistant_chat_messages_container .loading_messages .dot:first-child{animation-delay:0s}.chatbot-modal-wrapper .conversation-screen-container .conversation-body-container .assistant_chat_messages_container .loading_messages .dot:nth-child(2){animation-delay:.2s}.chatbot-modal-wrapper .conversation-screen-container .conversation-body-container .assistant_chat_messages_container .loading_messages .dot:nth-child(3){animation-delay:.4s}.chatbot-modal-wrapper .conversation-screen-container .conversation-body-container .assistant_chat_messages_container .response_main_container{margin-left:12px;width:80%;word-wrap:break-word}.chatbot-modal-wrapper .conversation-screen-container .conversation-body-container .assistant_chat_messages_container .response_main_container .assistant_with_dropdown_container{color:#7a8294;display:inline-flex;font-size:12px;margin-bottom:10px;padding-right:13px}.chatbot-modal-wrapper .conversation-screen-container .conversation-body-container .assistant_chat_messages_container .response_main_container .assistant_with_dropdown_container:focus-visible{box-shadow:0 0 0 var(--ia-focus-ring-offset,2px) var(--ia-focus-bg,#fff),0 0 0 calc(var(--ia-focus-ring-offset, 2px) + var(--ia-focus-ring-width, 2px)) var(--ia-focus-color,#4259ee);outline:none;transition:box-shadow .15s ease-in-out}.chatbot-modal-wrapper .conversation-screen-container .conversation-body-container .assistant_chat_messages_container .response_main_container .assistant_with_dropdown_container:focus:not(:focus-visible){box-shadow:none;outline:none}.chatbot-modal-wrapper .conversation-screen-container .conversation-body-container .assistant_chat_messages_container .response_main_container .assistant_main_container{background:#fff;border-radius:12px;box-shadow:0 0 4px #7c5cb1;padding:8px 12px}.chatbot-modal-wrapper .conversation-screen-container .conversation-body-container .assistant_chat_messages_container .response_main_container .assistant_main_container.questions-container{background:#0000;box-shadow:none}.chatbot-modal-wrapper .conversation-screen-container .conversation-body-container .assistant_chat_messages_container .response_main_container .assistant_main_container .assistant_text_container{color:#1f2b4d;font-size:14px;line-height:18px}.chatbot-modal-wrapper .conversation-screen-container .conversation-body-container .assistant_chat_messages_container .response_main_container .assistant_main_container .assistant_form_container{display:flex;flex-direction:column;gap:8px}.chatbot-modal-wrapper .conversation-screen-container .conversation-body-container .assistant_chat_messages_container .response_main_container .assistant_main_container .assistant_form_container .datePicker-input-container,.chatbot-modal-wrapper .conversation-screen-container .conversation-body-container .assistant_chat_messages_container .response_main_container .assistant_main_container .assistant_form_container .dateRangePicker-container{width:100%}.chatbot-modal-wrapper .conversation-screen-container .conversation-body-container .assistant_chat_messages_container .response_main_container .assistant_main_container .time_chat{color:#60697d;font-size:12px;font-weight:500;margin-top:4px;text-align:right}.chatbot-modal-wrapper .conversation-screen-container .conversation-body-container .assistant_chat_messages_container .response_main_container .questions-container{background:#0000}.chatbot-modal-wrapper .conversation-screen-container .conversation-body-container .assistant_chat_messages_container .response_main_container .assistant_actions_container{align-items:center;display:flex;gap:8px;margin-top:12px}.chatbot-modal-wrapper .conversation-screen-container .conversation-body-container .assistant_chat_messages_container .response_main_container .assistant_actions_container .asst_feedback_buttons{background:#0000;border:none;border-radius:4px;cursor:pointer}.chatbot-modal-wrapper .conversation-screen-container .conversation-body-container .assistant_chat_messages_container .response_main_container .assistant_actions_container .asst_feedback_buttons:focus-visible{box-shadow:0 0 0 var(--ia-focus-ring-offset,2px) var(--ia-focus-bg,#fff),0 0 0 calc(var(--ia-focus-ring-offset, 2px) + var(--ia-focus-ring-width, 2px)) var(--ia-focus-color,#4259ee);outline:none;transition:box-shadow .15s ease-in-out}.chatbot-modal-wrapper .conversation-screen-container .conversation-body-container .assistant_chat_messages_container .response_main_container .assistant_actions_container .asst_feedback_buttons:focus:not(:focus-visible){box-shadow:none;outline:none}.chatbot-modal-wrapper .conversation-screen-container .conversation-body-container .assistant_chat_messages_container .response_main_container .assistant_actions_container .left_icon_container_action{display:flex;gap:4px}.chatbot-modal-wrapper .conversation-screen-container .conversation-body-container .assistant_chat_messages_container .response_main_container .assistant_actions_container .left_icon_container_action .good_feedback{background:url(https://impact-kit.iaproducts.ai/api/v1/files/uploads/impact-ui/prod/icons/thumbs-up.svg) no-repeat;background-size:cover;height:20px;transition:background-image .2s;width:20px}.chatbot-modal-wrapper .conversation-screen-container .conversation-body-container .assistant_chat_messages_container .response_main_container .assistant_actions_container .left_icon_container_action .animatingLike{animation:rotateUpDown 1s forwards}.chatbot-modal-wrapper .conversation-screen-container .conversation-body-container .assistant_chat_messages_container .response_main_container .assistant_actions_container .left_icon_container_action .animatingDislike{animation:rotateDownUp 1s forwards}.chatbot-modal-wrapper .conversation-screen-container .conversation-body-container .assistant_chat_messages_container .response_main_container .assistant_actions_container .left_icon_container_action .liked{background:url(https://impact-kit.iaproducts.ai/api/v1/files/uploads/impact-ui/prod/icons/thumbs-up-filled.svg) no-repeat;background-position:50%;background-size:auto}.chatbot-modal-wrapper .conversation-screen-container .conversation-body-container .assistant_chat_messages_container .response_main_container .assistant_actions_container .left_icon_container_action .bad_feedback{background:url(https://impact-kit.iaproducts.ai/api/v1/files/uploads/impact-ui/prod/icons/thumbs-down.svg) no-repeat;background-size:cover;height:20px;width:20px}.chatbot-modal-wrapper .conversation-screen-container .conversation-body-container .assistant_chat_messages_container .response_main_container .assistant_actions_container .left_icon_container_action .disliked{background:url(https://impact-kit.iaproducts.ai/api/v1/files/uploads/impact-ui/prod/icons/thumbs-down-filled.svg) no-repeat;background-position:50%;background-size:auto}.chatbot-modal-wrapper .conversation-screen-container .conversation-body-container .assistant_chat_messages_container .response_main_container .assistant_actions_container .left_icon_container_action .speaker{background:url(https://impact-kit.iaproducts.ai/api/v1/files/uploads/impact-ui/prod/icons/speaker.svg) no-repeat;background-size:cover;height:20px;width:20px}.chatbot-modal-wrapper .conversation-screen-container .conversation-body-container .assistant_chat_messages_container .response_main_container .assistant_actions_container .button_url_container{border-left:1px solid #d9dde7;padding-left:10px}.chatbot-modal-wrapper .conversation-screen-container .conversation-body-container .assistant_chat_messages_container .response_main_container .assistant_actions_container .button_url_container .asst_feedback_buttons{background:url(https://impact-kit.iaproducts.ai/api/v1/files/uploads/impact-ui/prod/icons/add-thread.svg) no-repeat;color:#60697d;padding-left:24px}@keyframes loading-dot-bounce-vertical{0%,80%,to{transform:translateY(0)}40%{transform:translateY(-8px)}}.chatbot-modal-wrapper .chatbot-component-footer{align-items:center;display:flex;flex-shrink:0;justify-content:center;padding:8px}.chatbot-modal-wrapper .chatbot-component-footer .chatbot-component-footer-text,.chatbot-modal-wrapper .chatbot-component-footer .chatbot-component-footer-text-link{color:#7a8294;font-size:12px;font-weight:500;line-height:14px}.chatbot-modal-wrapper .chatbot-component-container .chatbot-component-left-side .chatbot-component-menu-container .chatbot-component-menu-container-icon .chatbot-component-menu-list li:first-child:hover{background:#0000}.dis_none{display:none!important}.bold{font-weight:700}.green_text{color:#108431}.red_text{color:#ec4c5c}.resizer{position:absolute;touch-action:none;z-index:20}.resizer:focus-visible{outline:2px solid #4259ee;outline-offset:-2px}.resizer-n,.resizer-s{cursor:row-resize;height:8px;left:16px;right:16px}.resizer-n{top:0}.resizer-s{bottom:0}.resizer-e,.resizer-w{bottom:16px;cursor:col-resize;top:16px;width:8px}.resizer-e{right:0}.resizer-w{left:0}.resizer-ne,.resizer-sw{cursor:nesw-resize;height:16px;width:16px}.resizer-nw,.resizer-se{cursor:nwse-resize;height:16px;width:16px}.resizer-ne{right:0;top:0}.resizer-nw{left:0;top:0}.resizer-se{bottom:0;right:0}.resizer-sw{bottom:0;left:0}.no-select{user-select:none!important;-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important}.book-mark-panel-tabs-container{height:38px}.bookmark-tabs{align-items:center;display:flex;height:100%;justify-content:space-around;position:relative}.bookmark-tabs:after{background:#b3bdf8;bottom:0;content:" ";height:1px;left:-16px;position:absolute;right:-16px}.bookmark-tab{color:#60697d;cursor:pointer;font-size:16px;font-weight:500;position:relative;transition:color .2s}.bookmark-tab.active:after{background:#4259ee;bottom:-10px;content:"";height:2px;left:-25px;position:absolute;right:-25px}.bookmark-panel-body{align-items:center;background:#0000;display:flex;gap:8px;padding:8px 0}.drag-handle{color:#b3b3b3;cursor:grab;font-size:22px;-webkit-user-select:none;user-select:none}.bookmark-question-text{color:#31416e;font-size:16px;font-weight:500;line-height:1.2}.bookmark-menu{color:#b3b3b3;cursor:pointer;font-size:26px;margin-left:16px}@keyframes rotateUpDown{0%{background-image:url(https://impact-kit.iaproducts.ai/api/v1/files/uploads/impact-ui/prod/icons/thumbs-up.svg);transform:rotate(0)}20%{background-image:url(https://impact-kit.iaproducts.ai/api/v1/files/uploads/impact-ui/prod/icons/thumbs-up-blue.svg);transform:rotate(-15deg)}80%{background-image:url(https://impact-kit.iaproducts.ai/api/v1/files/uploads/impact-ui/prod/icons/thumbs-up-blue.svg);transform:rotate(0)}to{background-image:url(https://impact-kit.iaproducts.ai/api/v1/files/uploads/impact-ui/prod/icons/thumbs-up-filled.svg);transform:rotate(0)}}@keyframes rotateDownUp{0%{background-image:url(https://impact-kit.iaproducts.ai/api/v1/files/uploads/impact-ui/prod/icons/thumbs-down.svg);transform:rotate(0)}20%{background-image:url(https://impact-kit.iaproducts.ai/api/v1/files/uploads/impact-ui/prod/icons/thumbs-down-blue.svg);transform:rotate(15deg)}80%{background-image:url(https://impact-kit.iaproducts.ai/api/v1/files/uploads/impact-ui/prod/icons/thumbs-down-blue.svg);transform:rotate(0)}to{background-image:url(https://impact-kit.iaproducts.ai/api/v1/files/uploads/impact-ui/prod/icons/thumbs-down-filled.svg);transform:rotate(0)}}.conversation-footer-container{box-sizing:border-box;container-name:inputbox;container-type:inline-size;flex-shrink:0;height:auto;padding-top:8px}.conversation-footer-container .MuiTextField-root .MuiOutlinedInput-root fieldset{border:1px solid #d9dde7}.conversation-footer-container .MuiTextField-root .MuiOutlinedInput-root.Mui-focused fieldset,.conversation-footer-container .MuiTextField-root .MuiOutlinedInput-root:hover fieldset{border:1px solid #b3bdf8}.conversation-footer-container .css-1eow9i0-MuiInputBase-root-MuiOutlinedInput-root{font-size:14px;padding:12px}.suggestion-banner{align-items:center;background:linear-gradient(90deg,#eceefd,#f5ecfd);border-radius:8px;box-shadow:0 0 16px 2px #0000000f;color:#425690;display:flex;gap:8px;justify-content:space-between;overflow:hidden;padding-inline:8px;padding:6px 10px;position:relative;z-index:999}.suggestion-banner img{height:20px;width:20px}.suggestion-banner .suggestion-banner-content{align-items:center;display:flex;gap:12px}.suggestion-banner .suggestion-banner-text{font-size:14px;font-weight:400;line-height:21px}.suggestion-banner:before{background:linear-gradient(90deg,#b3bdf8,#d6cbe633);border-radius:9px;content:"";top:0;right:0;bottom:0;left:0;-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;padding:1px;position:absolute;z-index:0}.stop-icon-button .ia-btn-icon{height:auto;margin-bottom:0;width:auto}.chat-input-box{border-radius:12px;display:flex;flex-direction:column;gap:6px}.chat-input-box.new-chat-screen{width:100%}.chat-input-box.custom-screen{width:95%}.chat-input-container{background:#fff;border:1px solid #d9dde7;border-radius:12px;box-shadow:0 0 12px 8px #0000000f;padding:12px;position:relative;width:100%}.chat-input-container:focus-within,.chat-input-container:hover{border:1px solid #b3bdf8}.chat-input-wrapper{align-items:flex-end;display:flex;max-height:182px;transition:all .2s ease-in-out;width:100%}.chat-input-wrapper.stacked{align-items:stretch;flex-direction:column}.chat-input-wrapper.empty{align-items:flex-end;flex-direction:row}.chat-input-wrapper.single-line-textarea{align-items:center}.chat-textarea{background:#0000;border:none;color:#1f2b4d;flex:1;font-family:Manrope,sans-serif;font-size:14px;font-weight:400;line-height:160%;max-height:142px;outline:none;overflow-y:hidden;padding:0;resize:none}.chat-textarea::placeholder{color:#b4bac7}.chat-textarea{transition:all .2s ease-in-out}.chat-textarea.scrollable{overflow-y:auto}.chat-actions{align-items:flex-end;display:flex;gap:12px;height:32px;justify-content:flex-end}.chat-actions.fixed{height:36px}.chat-actions.not-fixed{height:32px}.history-panel-container{border:1px solid #000;border-radius:8px;display:flex;flex:1;flex-direction:column;gap:12px;margin:12px 12px 12px 0;min-width:0;padding:12px}.history-panel-header{align-items:center;border-bottom:1px solid #d9dde7;display:flex;justify-content:space-between;padding-bottom:8px}.history-panel-header span{font-weight:600}.history-panel-header img{cursor:pointer;height:16px;width:16px}.history-panel-header img:focus-visible{box-shadow:0 0 0 var(--ia-focus-ring-offset,2px) var(--ia-focus-bg,#fff),0 0 0 calc(var(--ia-focus-ring-offset, 2px) + var(--ia-focus-ring-width, 2px)) var(--ia-focus-color,#4259ee);outline:none;transition:box-shadow .15s ease-in-out}.history-panel-header img:focus:not(:focus-visible){box-shadow:none;outline:none}.history-panel-search input{background:#fff;border:1px solid #d9dde7;border-radius:8px;color:#1f2b4d;font-family:Manrope,sans-serif;font-size:14px;outline:none;padding:8px 10px;width:100%}.history-panel-search input::placeholder{color:#b4bac7}.history-panel-search input:focus{border:1px solid #b3bdf8}.history-panel-groups{display:flex;flex-direction:column;gap:8px;height:100%;overflow:auto}.history-pinned-list{display:flex;flex-direction:column;gap:6px;list-style:none;margin:0 0 8px;padding:0}.history-pinned-item{background:#6366f114;border-color:#b3bdf8}.history-group{display:flex;flex-direction:column;gap:6px}.history-group-header{align-items:center;background:#0000;border:none;border-radius:6px;color:#1f2b4d;cursor:pointer;display:flex;gap:6px;padding:6px 2px;text-align:left}.history-group-header:focus-visible{box-shadow:0 0 0 var(--ia-focus-ring-offset,2px) var(--ia-focus-bg,#fff),0 0 0 calc(var(--ia-focus-ring-offset, 2px) + var(--ia-focus-ring-width, 2px)) var(--ia-focus-color,#4259ee);outline:none;transition:box-shadow .15s ease-in-out}.history-group-header:focus:not(:focus-visible){box-shadow:none;outline:none}.history-group-header .chevron{display:inline-block;width:12px}.history-group-header .group-title{font-weight:600}.history-group-list{display:flex;flex-direction:column;gap:6px;list-style:none;margin:0;padding:0}.history-item{align-items:center;background:#fff;border:1px solid #d9dde7;border-radius:8px;cursor:pointer;display:flex;justify-content:space-between;padding:10px 12px;position:relative}.history-item:focus-visible{box-shadow:0 0 0 var(--ia-focus-ring-offset,2px) var(--ia-focus-bg,#fff),0 0 0 calc(var(--ia-focus-ring-offset, 2px) + var(--ia-focus-ring-width, 2px)) var(--ia-focus-color,#4259ee);outline:none;transition:box-shadow .15s ease-in-out}.history-item:focus:not(:focus-visible){box-shadow:none;outline:none}.history-item:hover{border-color:#b3bdf8}.history-item.active{background:#eceefd;border:2px solid #4259ee}.history-item.active .item-menu-trigger{opacity:1}.history-item-row{align-items:center;display:flex;gap:8px;justify-content:space-between;width:100%}.item-menu-trigger{background:#0000;border:none;border-radius:6px;cursor:pointer;line-height:1;opacity:0;padding:2px 6px;transition:opacity .15s ease-in-out,background .15s ease-in-out}.item-menu-trigger:focus-visible{box-shadow:0 0 0 var(--ia-focus-ring-offset,2px) var(--ia-focus-bg,#fff),0 0 0 calc(var(--ia-focus-ring-offset, 2px) + var(--ia-focus-ring-width, 2px)) var(--ia-focus-color,#4259ee);outline:none;transition:box-shadow .15s ease-in-out}.item-menu-trigger:focus:not(:focus-visible){box-shadow:none;outline:none}.item-menu-trigger:hover{background:#f3f4f6}.history-item:hover .item-menu-trigger{opacity:1}.item-menu-trigger:focus-visible{opacity:1}.item-menu-trigger.always-visible{opacity:1}.history-item-menu{background:#fff;border:1px solid #d9dde7;border-radius:10px;box-shadow:0 4px 20px #00000014;display:flex;flex-direction:column;gap:6px;min-width:180px;padding:8px;position:absolute;right:8px;top:36px;z-index:5}.history-item-menu .menu-item{background:#0000;border:none;border-radius:8px;color:#1f2b4d;cursor:pointer;padding:10px;text-align:left}.history-item-menu .menu-item:focus-visible{box-shadow:0 0 0 var(--ia-focus-ring-offset,2px) var(--ia-focus-bg,#fff),0 0 0 calc(var(--ia-focus-ring-offset, 2px) + var(--ia-focus-ring-width, 2px)) var(--ia-focus-color,#4259ee);outline:none;transition:box-shadow .15s ease-in-out}.history-item-menu .menu-item:focus:not(:focus-visible){box-shadow:none;outline:none}.history-item-menu .menu-item:hover{background:#f7f7f9}.history-item-menu .menu-item.danger{color:#d12c2c}.history-item-name{color:#1f2b4d;font-size:14px;font-weight:500;line-height:21px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pin-icon{margin-right:8px}.history-empty-state{align-items:center;color:#b4bac7;display:flex;flex:1;font-size:12px;justify-content:center;padding:12px 0}.history-panel-skeleton{display:flex;flex-direction:column;gap:8px;padding-top:4px}.history-panel-skeleton-group-block,.history-panel-skeleton-pinned{display:flex;flex-direction:column;gap:6px}.history-panel-skeleton-item{border-radius:8px}.chatbot-component-header-dropdown-container{background-color:#fff;border-radius:18px;box-shadow:0 1px 6px #1933451a;min-width:340px;padding:16px;position:absolute;top:52px;z-index:999999}.chatbot-component-header-dropdown-container .item{background-color:#fff;cursor:pointer;display:flex;flex-direction:column;gap:6px;justify-content:center}.chatbot-component-header-dropdown-container .item.isCollapsed{gap:8px}.chatbot-component-header-dropdown-container .item-container{align-items:center;display:flex;height:66px;justify-content:space-between;padding:12px}.chatbot-component-header-dropdown-container .item-container.isCollapsed{height:50px}.chatbot-component-header-dropdown-container .item-content{align-items:center;display:flex;gap:10px}.chatbot-component-header-dropdown-container .item-content-text{display:flex;flex-direction:column}.chatbot-component-header-dropdown-container .item-content-text-name{color:#1f2b4d;font-size:16px;font-weight:600;line-height:24px}.chatbot-component-header-dropdown-container .item-content-text-name.collapsed{font-size:14px}.chatbot-component-header-dropdown-container .item-content-text-description{color:#7a8294;font-size:12px;font-weight:500;line-height:16px}.chatbot-component-header-dropdown-container .item-content-text-description.collapsed{font-size:12px}@container inputbox (max-width: 500px){.chat-input-container{padding:4px 12px}.suggestion-banner .suggestion-banner-text{font-size:12px}}@container screen-container (max-width: 500px){.chat-input-container{padding:4px 12px}.suggestion-banner .suggestion-banner-text{font-size:12px}}')),document.head.appendChild(e)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}}();
|
|
2
|
-
import {
|
|
3
|
-
import { useState, useRef,
|
|
4
|
-
import {
|
|
5
|
-
import { getAssetUrl } from "../../utils/assetBase.js";
|
|
6
|
-
import { Tooltip } from "../Tooltip/index.js";
|
|
7
|
-
import { BookMarkPanel } from "./bookMarkPanel.js";
|
|
8
|
-
import ChatBotLandingScreen from "./chatBotLandingScreen.js";
|
|
9
|
-
import { ChatbotModuleMenu } from "./chatbotModuleMenu.js";
|
|
10
|
-
import { newChatMenuItem, mandatoryTabList, menuItems } from "./constant.js";
|
|
11
|
-
import { ConversationScreen } from "./conversationScreen.js";
|
|
12
|
-
import { CustomScreen } from "./customScreen.js";
|
|
13
|
-
import { HistoryPanel } from "./historyPanel.js";
|
|
1
|
+
!function(){"use strict";try{if("undefined"!=typeof document){var t=document.createElement("style");t.appendChild(document.createTextNode('@keyframes ia-shimmer-horizontal{0%{background-position:100% 0}to{background-position:0 0}}@keyframes ia-shimmer-vertical{0%{background-position:0 100%}to{background-position:0 0}}@property --ia-shimmer-angle{syntax:"<angle>";inherits:false;initial-value:0deg}@keyframes ia-shimmer-circular{0%{--ia-shimmer-angle:0deg}to{--ia-shimmer-angle:360deg}}.ia-shimmer{animation:ia-shimmer-horizontal 1.6s ease-in-out infinite;animation-direction:normal;background-color:#cacbcc33;background-image:linear-gradient(90deg,#cacbcc33,#cacbcc99 22%,#cacbcc33 48%,#cacbcc1a 62%,#cacbcc33);background-repeat:no-repeat;background-size:300% 100%}@media (prefers-reduced-motion:reduce){.ia-shimmer{animation:none;background-image:linear-gradient(90deg,#cacbcc33,#cacbcc99 40%,#cacbcc1a);background-size:100% 100%}}.ia-shimmer--ltr{animation:ia-shimmer-horizontal 1.6s ease-in-out infinite;animation-direction:normal;background-color:#cacbcc33;background-image:linear-gradient(90deg,#cacbcc33,#cacbcc99 22%,#cacbcc33 48%,#cacbcc1a 62%,#cacbcc33);background-repeat:no-repeat;background-size:300% 100%}@media (prefers-reduced-motion:reduce){.ia-shimmer--ltr{animation:none;background-image:linear-gradient(90deg,#cacbcc33,#cacbcc99 40%,#cacbcc1a);background-size:100% 100%}}.ia-shimmer--rtl{animation:ia-shimmer-horizontal 1.6s ease-in-out infinite;animation-direction:reverse;background-color:#cacbcc33;background-image:linear-gradient(270deg,#cacbcc33,#cacbcc99 22%,#cacbcc33 48%,#cacbcc1a 62%,#cacbcc33);background-repeat:no-repeat;background-size:300% 100%}@media (prefers-reduced-motion:reduce){.ia-shimmer--rtl{animation:none;background-image:linear-gradient(270deg,#cacbcc33,#cacbcc99 40%,#cacbcc1a);background-size:100% 100%}}.ia-shimmer--btt{animation:ia-shimmer-vertical 1.6s ease-in-out infinite;animation-direction:reverse;background-color:#cacbcc33;background-image:linear-gradient(0deg,#cacbcc33,#cacbcc99 22%,#cacbcc33 48%,#cacbcc1a 62%,#cacbcc33);background-repeat:no-repeat;background-size:100% 300%}@media (prefers-reduced-motion:reduce){.ia-shimmer--btt{animation:none;background-image:linear-gradient(0deg,#cacbcc33,#cacbcc99 40%,#cacbcc1a);background-size:100% 100%}}.ia-shimmer--ttb{animation:ia-shimmer-vertical 1.6s ease-in-out infinite;animation-direction:normal;background-color:#cacbcc33;background-image:linear-gradient(0deg,#cacbcc33,#cacbcc99 22%,#cacbcc33 48%,#cacbcc1a 62%,#cacbcc33);background-repeat:no-repeat;background-size:100% 300%}@media (prefers-reduced-motion:reduce){.ia-shimmer--ttb{animation:none;background-image:linear-gradient(0deg,#cacbcc33,#cacbcc99 40%,#cacbcc1a);background-size:100% 100%}}.ia-shimmer--circular{background-color:#cacbcc33;background-repeat:no-repeat;--ia-shimmer-angle:0deg;animation:ia-shimmer-circular 1.6s linear infinite;background-image:conic-gradient(from var(--ia-shimmer-angle),#cacbcc99 0deg,#cacbcc33 80deg,#cacbcc1a 160deg,#cacbcc33 260deg,#cacbcc99 1turn);background-size:100% 100%}@media (prefers-reduced-motion:reduce){.ia-shimmer--circular{animation:none;background-image:conic-gradient(from 0deg,#cacbcc99,#cacbcc33,#cacbcc1a,#cacbcc33 1turn)}}:root{--ia-focus-color:#4259ee;--ia-focus-bg:#fff;--ia-focus-ring-width:2px;--ia-focus-ring-offset:2px;--ia-modal-backdrop:#0d152ccc}*,:after,:before{box-sizing:border-box}body,textarea{font-style:normal;font-weight:500}a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{border:0;font-size:100%;font:inherit;margin:0;padding:0;vertical-align:initial}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:"";content:none}table{border-collapse:collapse;border-spacing:0}body{font-family:Manrope,sans-serif}.impact-notification-separator{background-color:#d9dde7;display:inline-block;height:16px;width:1.5px}.impact-notification-horizontal-separator{background-color:#d9dde7;display:inline-block;height:1px;width:100%}ul.storybook-order-list{list-style-type:disc;padding-left:12px}ul.storybook-order-list li{font-size:12px;line-height:20px;padding-bottom:8px}ul.storybook-order-list li strong{font-weight:800}ul.storybook-order-child-list{list-style-type:circle;padding-left:20px}ul.storybook-order-child-list li{font-size:12px;line-height:20px;padding-bottom:8px}ul.storybook-order-child-list li strong{font-weight:800}.chatbot-modal-wrapper{position:relative;z-index:1300}.chatbot-modal-wrapper .chatbot-sidebar-dock-preview{align-items:flex-start;background:#1f2b4d0a;border:2px dashed #1f2b4d33;border-radius:12px;box-sizing:border-box;display:flex;justify-content:center;padding-top:24px;pointer-events:none;position:fixed;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease;z-index:1290}.chatbot-modal-wrapper .chatbot-sidebar-dock-preview.is-hot{background:#6962ef1a;border-color:#6962efa6;box-shadow:0 0 0 4px #6962ef1f}.chatbot-modal-wrapper .chatbot-sidebar-dock-preview-label{background:#ffffffeb;border-radius:8px;box-shadow:0 2px 8px #101e361a;color:#1f2b4d;font-family:Manrope,sans-serif;font-size:12px;font-weight:600;letter-spacing:.01em;line-height:16px;padding:6px 12px}.chatbot-modal-wrapper .chatbot-component-container{background:#fff;border-radius:12px;box-shadow:0 8px 32px #101e3629;padding:10px 16px 10px 10px;position:fixed}.chatbot-modal-wrapper .chatbot-component-container.is-dragging,.chatbot-modal-wrapper .chatbot-component-container.is-resizing{transition:none!important;-webkit-user-select:none;user-select:none}.chatbot-modal-wrapper .chatbot-component-container.is-dragging{cursor:grabbing}.chatbot-modal-wrapper .chatbot-component-container.is-dragging.is-dock-hot{box-shadow:0 8px 32px #6962ef38;outline:2px solid #6962ef8c;outline-offset:2px}.chatbot-modal-wrapper .chatbot-component-container.is-collapsed{overflow:hidden;padding:12px 16px}.chatbot-modal-wrapper .chatbot-component-container.is-greeting.is-collapsed{border-top:1px solid #eceefd;box-shadow:0 0 18px 8px #0000000f;padding:0}.chatbot-modal-wrapper .chatbot-component-container.is-greeting:not(.is-collapsed){padding:0}.chatbot-modal-wrapper .chatbot-component-container.full-width{height:calc(100vh - 56px);left:auto!important;right:0;top:56px;width:calc(100vw - 64px)}.chatbot-modal-wrapper .chatbot-component-container.is-full-screen{border-left:3px solid #f6f5f3cc;border-radius:0;box-shadow:-10px 0 12px 2px #00000005}.chatbot-modal-wrapper .chatbot-component-container .chatbot-component-header-close-icon{height:26px;width:26px}.chatbot-modal-wrapper .chatbot-component-container .chatbot-main-content{box-sizing:border-box;display:flex;gap:20px;height:100%;width:100%}.chatbot-modal-wrapper .chatbot-component-container .chatbot-main-content.chatbot-main-content-greeting{gap:0;min-height:0}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting{background:#fff;display:flex;flex-direction:column;height:100%;min-height:0;width:100%}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting.is-conversation .chatbot-greeting-main{overflow:hidden}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting.is-conversation .chatbot-greeting-content{flex:1 1 auto;gap:16px;justify-content:flex-end;max-width:none;overflow:hidden;padding:12px 16px 8px}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting.is-conversation .chatbot-greeting-composer-wrap{flex-shrink:0;margin:0 auto;max-width:600px;width:100%}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting.is-conversation .chatbot-composer-box{min-height:92px}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting.is-collapsed{container-name:collapsed-greeting;container-type:size}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting.is-collapsed .chatbot-greeting-main{min-height:0}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting.is-collapsed .chatbot-greeting-content{gap:clamp(8px,3.3cqb,16px);min-height:0;overflow:hidden;padding:clamp(4px,1.6cqb,8px) clamp(8px,3.9cqi,16px)}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting.is-collapsed .chatbot-greeting-intro{flex-shrink:1;margin-bottom:clamp(0px,4.9cqb,24px);min-height:0}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting.is-collapsed .chatbot-greeting-composer-wrap{flex-shrink:0;min-height:0;padding-inline:clamp(8px,3.9cqi,12px)}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting.is-collapsed .chatbot-greeting-suggested{flex-shrink:1;margin-top:0;min-height:0;overflow:hidden;padding-inline:clamp(8px,3.9cqi,12px)}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting.is-collapsed .chatbot-greeting-suggested-list{overflow:hidden}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting.is-collapsed .chatbot-greeting-logo{margin-bottom:clamp(4px,2.4cqb,12px)}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting.is-collapsed .chatbot-greeting-logo img{height:clamp(24px,6.5cqb,32px);width:clamp(24px,6.5cqb,32px)}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting.is-collapsed .chatbot-greeting-title{font-size:clamp(14px,3.9cqi,20px);font-weight:800;line-height:clamp(20px,5.9cqi,28px)}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting.is-collapsed .chatbot-greeting-subtitle{font-size:clamp(12px,3.4cqi,16px);font-weight:500;line-height:clamp(16px,4.9cqi,24px);max-width:clamp(200px,62cqi,320px)}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting.is-collapsed .chatbot-composer-box{align-items:stretch;flex-direction:column;gap:clamp(6px,2cqb,10px);justify-content:flex-end;max-height:min(182px,var(--composer-available-height,182px));min-height:min(clamp(56px,18.8cqb,182px),var(--composer-available-height,182px));padding:clamp(8px,2.9cqi,12px)}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting.is-collapsed .chatbot-composer-box .chatbot-composer-toolbar{display:flex}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting.is-collapsed .chatbot-composer-box .chatbot-composer-textarea{flex:1 1 auto;font-size:clamp(12px,3.4cqi,14px);line-height:clamp(16px,4.9cqi,20px);order:0;width:100%}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting.is-collapsed .chatbot-greeting-suggested-label{font-size:clamp(10px,2.9cqi,12px)}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting.is-collapsed .chatbot-greeting-suggested-item{font-size:clamp(11px,2.9cqi,14px);font-weight:500;line-height:clamp(14px,3.9cqi,20px);min-height:unset;padding:clamp(2px,.8cqb,6px) clamp(4px,1.5cqi,8px)}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting.is-collapsed .chatbot-greeting-suggested-icon{font-size:clamp(8px,2.4cqi,14px);width:clamp(8px,2.4cqi,14px)}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting.is-collapsed .chatbot-component-footer{background:linear-gradient(180deg,#fff,#f8f9fb);padding:clamp(4px,1.6cqb,8px) 16px clamp(6px,2.4cqb,12px)}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting.is-collapsed .chatbot-component-footer-text{font-size:clamp(10px,2.9cqi,12px);line-height:clamp(14px,3.9cqi,16px)}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting.is-collapsed .iris-conversation-messages{gap:8px;padding:0 0 8px}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting.is-collapsed .iris-conversation-user-row{box-sizing:border-box;padding-bottom:16px;padding-left:clamp(40px,34cqi,140px)}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting.is-collapsed .iris-conversation-user-block,.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting.is-collapsed .iris-conversation-user-bubble{max-width:100%}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting.is-collapsed .iris-conversation-user-text{font-weight:400;letter-spacing:0}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting.is-collapsed.is-conversation .chatbot-greeting-content{gap:clamp(8px,3.3cqb,16px);justify-content:flex-end}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting.is-collapsed.is-conversation .chatbot-composer-box:not(.is-active):not(.has-content):not(.is-stopping){align-items:center;flex-direction:row;gap:8px;justify-content:flex-start;min-height:56px}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting.is-collapsed.is-conversation .chatbot-composer-box:not(.is-active):not(.has-content):not(.is-stopping) .chatbot-composer-toolbar{display:contents}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting.is-collapsed.is-conversation .chatbot-composer-box:not(.is-active):not(.has-content):not(.is-stopping) .chatbot-composer-toolbar-left{flex-shrink:0;order:0}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting.is-collapsed.is-conversation .chatbot-composer-box:not(.is-active):not(.has-content):not(.is-stopping) .chatbot-composer-textarea{flex:1 1 auto;min-width:0;order:1;width:auto}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting.is-collapsed.is-conversation .chatbot-composer-box:not(.is-active):not(.has-content):not(.is-stopping) .chatbot-composer-toolbar-right{flex-shrink:0;margin-left:auto;order:2}@container collapsed-greeting (max-height: 380px){.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting-subtitle{display:none}}@container collapsed-greeting (max-height: 300px){.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting-intro{display:none}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting-content{justify-content:flex-end}}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting-header{align-items:center;background:#fff;box-sizing:border-box;display:flex;flex-shrink:0;gap:12px;justify-content:space-between;min-height:50px;padding:9px 16px}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting-header.is-draggable{cursor:grab}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting-header.is-draggable:active{cursor:grabbing}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting-header-left,.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting-header-right{align-items:center;display:flex;gap:8px}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting-header-button-ghost{background:#0000!important}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting-header-button-active{background:#eceefd!important;color:#3649c6!important}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting-header-button-active svg{color:#3649c6!important}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting-header-button-active svg path{fill:currentColor!important}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting-brand{align-items:center;display:flex;gap:4px}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting-brand-mark{height:18px;width:18px}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting-brand-title{color:#1f2b4d;font-size:14px;font-weight:600;line-height:20px}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting-conversation-title{color:#1f2b4d;font-size:16px;font-weight:600;line-height:24px;margin:0;max-width:280px;overflow:hidden;text-overflow:ellipsis;text-transform:capitalize;white-space:nowrap}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting.is-collapsed .chatbot-greeting-header,.chatbot-modal-wrapper .chatbot-component-container .iris-menu-screen.is-collapsed .chatbot-greeting-header{height:50px;min-height:50px;padding:8px 16px}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting.is-collapsed .chatbot-greeting-conversation-title,.chatbot-modal-wrapper .chatbot-component-container .iris-menu-screen.is-collapsed .chatbot-greeting-conversation-title{font-size:14px;font-weight:700;line-height:21px}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting.is-collapsed .chatbot-greeting-header-window,.chatbot-modal-wrapper .chatbot-component-container .iris-menu-screen.is-collapsed .chatbot-greeting-header-window{height:28px;min-width:28px;padding:6px;width:28px}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting.is-collapsed .chatbot-greeting-header-close,.chatbot-modal-wrapper .chatbot-component-container .iris-menu-screen.is-collapsed .chatbot-greeting-header-close{height:26px;min-width:26px;padding:5px;width:26px}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting.is-full-screen .chatbot-greeting-header-close,.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting.is-full-screen .chatbot-greeting-header-exit-fullscreen,.chatbot-modal-wrapper .chatbot-component-container .iris-menu-screen.is-full-screen .chatbot-greeting-header-close,.chatbot-modal-wrapper .chatbot-component-container .iris-menu-screen.is-full-screen .chatbot-greeting-header-exit-fullscreen{background:#f5f6fa!important;border-radius:8px;height:32px;min-width:32px;padding:8px;width:32px}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting.is-full-screen .chatbot-greeting-main{align-items:center}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting.is-full-screen .chatbot-greeting-content{gap:0;max-width:739px}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting.is-full-screen .chatbot-greeting-composer-wrap{max-width:739px}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting.is-full-screen .chatbot-greeting-intro{margin-bottom:73px}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting.is-full-screen .chatbot-greeting-suggested{margin-top:32px}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting.is-full-screen.is-conversation .chatbot-greeting-composer-wrap,.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting.is-full-screen.is-conversation .chatbot-greeting-content{max-width:739px}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting-header-divider{background:#d9dde7;display:inline-block;flex-shrink:0;height:12px;width:1px}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting-header.is-conversation .chatbot-greeting-header-left{flex:1 1 auto;min-width:0}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting-main{display:flex;flex:1 1 auto;flex-direction:column;min-height:0;overflow:hidden;position:relative}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting-hero{height:min(779px,100%);left:50%;overflow:visible;pointer-events:none;position:absolute;top:50%;transform:translate(-50%,-50%);width:min(542px,100%);z-index:0}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting-hero-image{display:block;height:100%;max-width:none;overflow:visible;width:100%}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting-hero-image .chatbot-greeting-glow-group{animation:chatbot-greeting-glow-spin 20s linear infinite;transform-box:view-box;transform-origin:271px 389.5px}@media (prefers-reduced-motion:reduce){.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting-hero-image .chatbot-greeting-glow-group{animation:none}}@keyframes chatbot-greeting-glow-spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting-content{align-items:center;box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:column;gap:24px;justify-content:center;margin:0 auto;max-width:536px;overflow-y:auto;padding:16px 0 24px;position:relative;width:100%;z-index:1}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting-composer-wrap{max-width:536px;opacity:0;pointer-events:none;transform:translateY(8px);transition:opacity .25s ease,transform .25s ease;width:100%}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting-composer-wrap.is-revealed{opacity:1;pointer-events:auto;transform:none}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting-intro{align-items:center;display:flex;flex-direction:column;gap:0;margin-bottom:50px;text-align:center}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting-logo{align-items:center;display:flex;justify-content:center;margin-bottom:14px}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting-logo img{height:58px;width:58px}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting-logo.chatbot-greeting-logo--spin{animation:chatbot-greeting-logo-spin .7s ease-out 1}@keyframes chatbot-greeting-logo-spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting-title{align-items:center;color:#1f2b4d;display:flex;flex-wrap:wrap;font-size:26px;font-weight:600;gap:4px;justify-content:center;line-height:1.8;margin:0}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting-title-name{background:linear-gradient(73deg,#ec7550 10.92%,#a0508f 81.37%);-webkit-background-clip:text;background-clip:text;color:#0000;font-weight:800}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting-title-sun{font-size:23px;line-height:1}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting-subtitle{color:#7a8294;font-size:16px;font-weight:500;line-height:1.25;margin:0;text-align:center}.chatbot-modal-wrapper .chatbot-component-container .chatbot-composer{max-width:1125px;position:relative;width:100%}.chatbot-modal-wrapper .chatbot-component-container .chatbot-composer-box{background:#fff;border:1px solid #d9dde7;border-radius:16px;box-shadow:0 0 12px #0000000f;box-sizing:border-box;cursor:text;display:flex;flex-direction:column;gap:0;justify-content:space-between;min-height:123px;padding:12px;position:relative;width:100%;z-index:1}.chatbot-modal-wrapper .chatbot-component-container .chatbot-composer-box.is-stopping{gap:16px;min-height:92px}.chatbot-modal-wrapper .chatbot-component-container .chatbot-composer-box.has-content,.chatbot-modal-wrapper .chatbot-component-container .chatbot-composer-box.is-active,.chatbot-modal-wrapper .chatbot-component-container .chatbot-composer-box:hover{background:linear-gradient(#fff,#fff) padding-box,linear-gradient(136.31deg,#2ac2ee99 12.23%,#6962ef99 49.23%,#f2692199 88.52%) border-box;border:1px solid #0000}.chatbot-modal-wrapper .chatbot-component-container .chatbot-composer-textarea{background:#0000;border:0;color:#1f2b4d;display:block;flex:1 1 auto;font-size:14px;font-weight:500;line-height:20px;margin-bottom:6px;min-height:20px;outline:none;resize:none;text-align:left;width:100%}.chatbot-modal-wrapper .chatbot-component-container .chatbot-composer-textarea::placeholder{color:#b4bac7;text-transform:capitalize}.chatbot-modal-wrapper .chatbot-component-container .chatbot-composer-toolbar{align-items:center;display:flex;flex-shrink:0;gap:8px;justify-content:space-between;margin-top:0;width:100%}.chatbot-modal-wrapper .chatbot-component-container .chatbot-composer-toolbar-left,.chatbot-modal-wrapper .chatbot-component-container .chatbot-composer-toolbar-right{align-items:center;display:flex;gap:0}.chatbot-modal-wrapper .chatbot-component-container .chatbot-composer-toolbar-right{gap:4px}.chatbot-modal-wrapper .chatbot-component-container .chatbot-composer-icon-button{background:#0000!important}.chatbot-modal-wrapper .chatbot-component-container .chatbot-composer-model{position:relative}.chatbot-modal-wrapper .chatbot-component-container .chatbot-composer-model-trigger{gap:12px;text-transform:capitalize}.chatbot-modal-wrapper .chatbot-component-container .chatbot-composer-model-trigger .ia-btn-icon,.chatbot-modal-wrapper .chatbot-component-container .chatbot-composer-model-trigger .ia-btn-icon svg{height:20px;width:20px}.chatbot-modal-wrapper .chatbot-component-container .chatbot-composer-model-menu{background:#fff;border:1px solid #d9dde7;border-radius:8px;bottom:calc(100% + 4px);box-shadow:0 8px 16px #101e361f;list-style:none;margin:0;min-width:120px;padding:4px;position:absolute;right:0;z-index:5}.chatbot-modal-wrapper .chatbot-component-container .chatbot-composer-model-option{background:#0000;border:0;border-radius:6px;color:#1f2b4d;cursor:pointer;display:block;font-family:inherit;font-size:14px;font-weight:500;padding:8px 12px;text-align:left;width:100%}.chatbot-modal-wrapper .chatbot-component-container .chatbot-composer-model-option.is-selected,.chatbot-modal-wrapper .chatbot-component-container .chatbot-composer-model-option:hover{background:#f5f6fa}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting-suggested{display:flex;flex-direction:column;gap:8px;opacity:0;pointer-events:none;position:relative;transform:translateY(8px);transition:opacity .25s ease,transform .25s ease;width:100%}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting-suggested.is-revealed{opacity:1;pointer-events:auto;transform:none}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting-suggested.is-hidden{pointer-events:none;visibility:hidden}@media (prefers-reduced-motion:reduce){.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting-logo.chatbot-greeting-logo--spin{animation:none}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting-composer-wrap,.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting-suggested{opacity:1;pointer-events:auto;transform:none;transition:none}}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting-suggested-label{color:#31416e;font-size:12px;font-weight:500;line-height:16px;margin:0;text-transform:capitalize}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting-suggested-list{display:flex;flex-direction:column;gap:8px;list-style:none;margin:0;padding:0}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting-suggested-skeleton{box-sizing:border-box;display:flex;flex-direction:column;gap:8px;padding:6px 8px;width:100%}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting-suggested-skeleton-item{border-radius:8px}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting-suggested-item{align-items:center;background:#0000;border:0;border-radius:8px;color:#60697d;cursor:pointer;display:flex;font-family:inherit;font-size:14px;font-weight:500;gap:4px;line-height:20px;min-height:32px;padding:6px 8px;text-align:left;width:100%}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting-suggested-item:hover{background:linear-gradient(90deg,#eceefd,#f6edfd)}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting-suggested-icon{color:#60697d;flex-shrink:0;font-size:14px;line-height:1;width:14px}.chatbot-modal-wrapper .chatbot-component-container .chatbot-greeting-suggested-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chatbot-modal-wrapper .chatbot-component-container .iris-conversation-thread{display:flex;flex:1 1 auto;flex-direction:column;gap:16px;min-height:0;overflow:hidden;width:100%}.chatbot-modal-wrapper .chatbot-component-container .iris-conversation-date{display:flex;flex-shrink:0;justify-content:center}.chatbot-modal-wrapper .chatbot-component-container .iris-conversation-date-pill{align-items:center;background:linear-gradient(90deg,#f5f5f5 6%,#f5f5f500 120%);border:1px solid #d9dde7;border-radius:1000px;color:#60697d;display:inline-flex;font-size:12px;font-weight:500;justify-content:center;letter-spacing:.12px;line-height:1.6;min-height:24px;padding:2px 8px}.chatbot-modal-wrapper .chatbot-component-container .iris-conversation-messages{display:flex;flex:1 1 auto;flex-direction:column;gap:32px;min-height:0;overflow-y:auto;padding:0 4px 8px}.chatbot-modal-wrapper .chatbot-component-container .iris-conversation-user-row{display:flex;justify-content:flex-end;width:100%}.chatbot-modal-wrapper .chatbot-component-container .iris-conversation-user-block{align-items:flex-end;display:flex;flex:1;flex-direction:column;gap:8px;max-width:min(385px,92%)}.chatbot-modal-wrapper .chatbot-component-container .iris-conversation-user-editor{max-width:none;width:100%}.chatbot-modal-wrapper .chatbot-component-container .iris-conversation-user-editor.chatbot-composer:before{display:none}.chatbot-modal-wrapper .chatbot-component-container .iris-conversation-user-editor .chatbot-composer-box{border-radius:12px;min-height:0;padding:12px}.chatbot-modal-wrapper .chatbot-component-container .iris-conversation-user-editor .chatbot-composer-toolbar{justify-content:flex-end;margin-top:8px}.chatbot-modal-wrapper .chatbot-component-container .iris-conversation-user-editor .chatbot-composer-toolbar-right{gap:8px}.chatbot-modal-wrapper .chatbot-component-container .iris-conversation-user-bubble{background:linear-gradient(92deg,#dfe7ff66 .67%,#e4d8ff52,#ffcbcc45 111.65%);border-radius:12px;box-sizing:border-box;display:flex;flex-direction:column;gap:0;padding:16px 16px 8px;width:100%}.chatbot-modal-wrapper .chatbot-component-container .iris-conversation-user-text{color:#1f2b4d;font-size:14px;font-weight:500;letter-spacing:.14px;line-height:1.6;margin:0;white-space:pre-wrap;word-break:break-word}.chatbot-modal-wrapper .chatbot-component-container .iris-conversation-user-time{align-self:stretch;color:#60697d;font-size:12px;font-weight:500;letter-spacing:.12px;line-height:1.6;margin-top:0;text-align:right}.chatbot-modal-wrapper .chatbot-component-container .iris-conversation-user-actions{align-items:center;display:flex;gap:8px;justify-content:flex-end}@media (hover:hover) and (pointer:fine){.chatbot-modal-wrapper .chatbot-component-container .iris-conversation-user-actions{opacity:0;transition:opacity .15s ease}.chatbot-modal-wrapper .chatbot-component-container .iris-conversation-user-block:focus-within .iris-conversation-user-actions,.chatbot-modal-wrapper .chatbot-component-container .iris-conversation-user-block:hover .iris-conversation-user-actions{opacity:1}}.chatbot-modal-wrapper .chatbot-component-container .iris-conversation-assistant-row,.chatbot-modal-wrapper .chatbot-component-container .iris-conversation-thinking{align-items:flex-start;box-sizing:border-box;display:flex;gap:10px;width:100%}.chatbot-modal-wrapper .chatbot-component-container .iris-conversation-assistant-avatar{border-radius:6.667px;flex-shrink:0;height:24px;margin-top:0;object-fit:contain;width:24px}.chatbot-modal-wrapper .chatbot-component-container .iris-conversation-assistant-content{display:flex;flex:1 1 auto;flex-direction:column;gap:10px;max-width:min(511px,100% - 34px);min-width:0}.chatbot-modal-wrapper .chatbot-component-container .iris-conversation-assistant-bubble{background:linear-gradient(94deg,#f8f9fb .92%,#f6f7fa 98.11%);border-radius:12px;box-sizing:border-box;display:flex;flex-direction:column;gap:4px;max-width:900px;padding:16px 16px 8px;width:100%}.chatbot-modal-wrapper .chatbot-component-container .iris-conversation-assistant-text{color:#1f2b4d;font-size:14px;font-weight:500;letter-spacing:.14px;line-height:1.6;margin:0;white-space:pre-wrap;word-break:break-word}.chatbot-modal-wrapper .chatbot-component-container .iris-conversation-assistant-text b,.chatbot-modal-wrapper .chatbot-component-container .iris-conversation-assistant-text strong{font-weight:800}.chatbot-modal-wrapper .chatbot-component-container .iris-conversation-assistant-text .iris-metric-positive{color:#26734b;font-weight:800}.chatbot-modal-wrapper .chatbot-component-container .iris-conversation-assistant-time{align-self:stretch;color:#60697d;font-size:12px;font-weight:500;letter-spacing:.12px;line-height:1.6;margin:0;text-align:right}.chatbot-modal-wrapper .chatbot-component-container .iris-conversation-assistant-actions{align-items:center;display:flex;gap:12px;justify-content:space-between;width:100%}.chatbot-modal-wrapper .chatbot-component-container .iris-conversation-assistant-actions-left{align-items:center;display:flex;gap:4px;min-width:0}.chatbot-modal-wrapper .chatbot-component-container .iris-conversation-assistant-action{background-color:initial}.chatbot-modal-wrapper .chatbot-component-container .iris-conversation-assistant-action.iris-conversation-reaction .ia-btn-icon,.chatbot-modal-wrapper .chatbot-component-container .iris-conversation-assistant-action.iris-conversation-reaction .ia-btn-icon svg{height:20px;width:20px}.chatbot-modal-wrapper .chatbot-component-container .iris-conversation-assistant-action.is-active.ia-btn,.chatbot-modal-wrapper .chatbot-component-container .iris-conversation-assistant-action.is-active.ia-btn svg{color:#4259ee}.chatbot-modal-wrapper .chatbot-component-container .iris-conversation-assistant-action.is-animating-like .ia-btn-icon{animation:iris-like-tilt 1s ease-in-out}.chatbot-modal-wrapper .chatbot-component-container .iris-conversation-assistant-action.is-animating-dislike .ia-btn-icon{animation:iris-dislike-tilt 1s ease-in-out}.chatbot-modal-wrapper .chatbot-component-container .iris-conversation-assistant-revert{background:#0000;border:0;color:#4259ee;cursor:pointer;flex-shrink:0;font-family:inherit;font-size:14px;font-weight:500;line-height:20px;margin:0;padding:0;white-space:nowrap}.chatbot-modal-wrapper .chatbot-component-container .iris-conversation-assistant-revert:hover{text-decoration:underline}.chatbot-modal-wrapper .chatbot-component-container .iris-conversation-thinking-dots,.chatbot-modal-wrapper .chatbot-component-container .iris-thinking-dots{align-items:center;display:inline-flex;gap:4px;min-height:15px;padding:0}.chatbot-modal-wrapper .chatbot-component-container .iris-conversation-thinking-dots span,.chatbot-modal-wrapper .chatbot-component-container .iris-thinking-dots span{animation:iris-thinking-pulse 1.2s ease-in-out infinite;background:#7a8294;border-radius:50%;height:5px;width:5px}.chatbot-modal-wrapper .chatbot-component-container .iris-conversation-thinking-dots span:nth-child(2),.chatbot-modal-wrapper .chatbot-component-container .iris-thinking-dots span:nth-child(2){animation-delay:.2s}.chatbot-modal-wrapper .chatbot-component-container .iris-conversation-thinking-dots span:nth-child(3),.chatbot-modal-wrapper .chatbot-component-container .iris-thinking-dots span:nth-child(3){animation-delay:.4s}@keyframes iris-thinking-pulse{0%,80%,to{opacity:.35;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}.chatbot-modal-wrapper .chatbot-component-container .iris-thinking{box-sizing:border-box;display:flex;flex-direction:column;gap:8px;max-width:100%;width:100%}.chatbot-modal-wrapper .chatbot-component-container .iris-thinking-icon{align-items:center;border-radius:8px;display:inline-flex;flex-shrink:0;height:24px;justify-content:center;overflow:visible;width:24px}.chatbot-modal-wrapper .chatbot-component-container .iris-thinking-sparkle{display:block;transform-origin:center}.chatbot-modal-wrapper .chatbot-component-container .iris-conversation-thinking .iris-conversation-assistant-avatar,.chatbot-modal-wrapper .chatbot-component-container .iris-thinking--status .iris-thinking-sparkle,.chatbot-modal-wrapper .chatbot-component-container .iris-thinking--steps .iris-thinking-sparkle{animation:iris-thinking-logo-spin 1.6s linear infinite}@keyframes iris-thinking-logo-spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.chatbot-modal-wrapper .chatbot-component-container .iris-thinking-status{align-items:flex-start;display:flex;gap:4px;width:100%}.chatbot-modal-wrapper .chatbot-component-container .iris-thinking-status-content{align-items:center;border-radius:12px;display:flex;gap:4px;min-height:25px;padding:4px 0}.chatbot-modal-wrapper .chatbot-component-container .iris-thinking-status-label{color:#60697d;font-size:12px;font-weight:500;line-height:16px;text-transform:capitalize;white-space:nowrap}.chatbot-modal-wrapper .chatbot-component-container .iris-thinking-live{display:flex;flex-direction:column;gap:8px;width:100%}.chatbot-modal-wrapper .chatbot-component-container .iris-thinking-live-header{align-items:center;display:flex;gap:8px;width:100%}.chatbot-modal-wrapper .chatbot-component-container .iris-thinking-live-title{background:linear-gradient(128deg,#b4bac7,#1f2b4d);-webkit-background-clip:text;background-clip:text;color:#0000;font-size:14px;font-weight:600;line-height:21px;margin:0;text-transform:capitalize;white-space:nowrap}.chatbot-modal-wrapper .chatbot-component-container .iris-thinking-steps{display:flex;flex-direction:column;gap:0;width:100%}.chatbot-modal-wrapper .chatbot-component-container .iris-thinking-step{align-items:stretch;display:flex;gap:4px;width:100%}.chatbot-modal-wrapper .chatbot-component-container .iris-thinking-step-rail{align-items:center;display:flex;flex-direction:column;flex-shrink:0;position:relative;width:20px}.chatbot-modal-wrapper .chatbot-component-container .iris-thinking-step-marker{align-items:center;background:#0000;border-radius:50%;display:inline-flex;flex-shrink:0;height:20px;justify-content:center;position:relative;width:20px}.chatbot-modal-wrapper .chatbot-component-container .iris-thinking-step-marker .iris-thinking-pop-dot,.chatbot-modal-wrapper .chatbot-component-container .iris-thinking-step-marker .iris-thinking-pop-halo{border-radius:50%}.chatbot-modal-wrapper .chatbot-component-container .iris-thinking-step-marker .iris-thinking-pop-halo{height:16px;opacity:.8;position:absolute;width:16px}.chatbot-modal-wrapper .chatbot-component-container .iris-thinking-step-marker .iris-thinking-pop-dot{position:relative;z-index:1}.chatbot-modal-wrapper .chatbot-component-container .iris-thinking-step-marker.is-active .iris-thinking-pop-halo{animation:iris-thinking-pop 1.4s ease-in-out infinite;background:#f6edfd}.chatbot-modal-wrapper .chatbot-component-container .iris-thinking-step-marker.is-active .iris-thinking-pop-dot{background:#d09bf3;height:10px;width:10px}.chatbot-modal-wrapper .chatbot-component-container .iris-thinking-step-marker.is-complete svg{display:block;height:20px;width:20px}@keyframes iris-thinking-pop{0%,to{opacity:.35;transform:scale(.72)}50%{opacity:.9;transform:scale(1)}}@media (prefers-reduced-motion:reduce){.chatbot-modal-wrapper .chatbot-component-container .iris-conversation-thinking .iris-conversation-assistant-avatar,.chatbot-modal-wrapper .chatbot-component-container .iris-thinking--status .iris-thinking-sparkle,.chatbot-modal-wrapper .chatbot-component-container .iris-thinking--steps .iris-thinking-sparkle,.chatbot-modal-wrapper .chatbot-component-container .iris-thinking-pop-halo{animation:none}}.chatbot-modal-wrapper .chatbot-component-container .iris-thinking-step-connector{border-left:1px dashed #d9dde7;flex:1 1 auto;margin:2px 0 0;min-height:20px;width:0}.chatbot-modal-wrapper .chatbot-component-container .iris-thinking-step-body{display:flex;flex:1 1 auto;flex-direction:column;gap:8px;min-width:0;padding-bottom:16px}.chatbot-modal-wrapper .chatbot-component-container .iris-thinking-step.is-last .iris-thinking-step-body{padding-bottom:0}.chatbot-modal-wrapper .chatbot-component-container .iris-thinking-step-row{align-items:flex-start;display:flex;gap:8px;justify-content:space-between;width:100%}.chatbot-modal-wrapper .chatbot-component-container .iris-thinking-step-label{color:#1f2b4d;flex:1 1 auto;font-size:14px;font-weight:400;line-height:16px;margin:0;min-width:0;text-transform:capitalize;word-break:break-word}.chatbot-modal-wrapper .chatbot-component-container .iris-thinking-complete .iris-thinking-step-label{color:#31416e}.chatbot-modal-wrapper .chatbot-component-container .iris-thinking-step-chevron{align-items:center;background:#0000;border:0;color:#7a8294;cursor:pointer;display:inline-flex;flex-shrink:0;height:16px;justify-content:center;margin:0;padding:0;width:16px}.chatbot-modal-wrapper .chatbot-component-container .iris-thinking-step-chip{align-items:center;background:#f1f5f9;border-radius:12px;box-sizing:border-box;display:inline-flex;max-width:100%;padding:6px 8px}.chatbot-modal-wrapper .chatbot-component-container .iris-thinking-step-chip span{color:#60697d;font-family:JetBrains Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:12px;font-weight:400;line-height:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chatbot-modal-wrapper .chatbot-component-container .iris-thinking-complete{display:flex;flex-direction:column;gap:12px;width:100%}.chatbot-modal-wrapper .chatbot-component-container .iris-thinking-complete-section{display:flex;flex-direction:column;gap:8px;width:100%}.chatbot-modal-wrapper .chatbot-component-container .iris-thinking-section-toggle{align-items:center;background:#0000;border:0;color:#60697d;cursor:pointer;display:inline-flex;gap:4px;margin:0;max-width:100%;padding:0;text-align:left;width:fit-content}.chatbot-modal-wrapper .chatbot-component-container .iris-thinking-section-toggle-label{font-family:Manrope,sans-serif;font-size:14px;font-weight:600;line-height:21px;text-transform:capitalize}.chatbot-modal-wrapper .chatbot-component-container .iris-thinking-citations{display:flex;flex-direction:column;gap:8px;max-height:320px;overflow-x:hidden;overflow-y:auto;width:100%}.chatbot-modal-wrapper .chatbot-component-container .iris-thinking-citation-card{background:#fff;border:1px solid #f2f2f2;border-radius:10px;box-sizing:border-box;display:flex;flex-direction:column;gap:4px;padding:12px;width:100%}.chatbot-modal-wrapper .chatbot-component-container .iris-thinking-citation-group{color:#60697d;font-size:12px;font-weight:500;line-height:16px;margin:0;text-transform:capitalize}.chatbot-modal-wrapper .chatbot-component-container .iris-thinking-citation-tags{display:flex;flex-wrap:wrap;gap:4px;width:100%}.chatbot-modal-wrapper .chatbot-component-container .iris-thinking-citation-tags .MuiChip-root,.chatbot-modal-wrapper .chatbot-component-container .iris-thinking-citation-tags .impact-tag,.chatbot-modal-wrapper .chatbot-component-container .iris-thinking-citation-tags .impact-tag-solid{background:#eceefd!important;border:0!important;color:#31416e!important}.chatbot-modal-wrapper .chatbot-component-container .iris-conversation-assistant-thinking,.chatbot-modal-wrapper .chatbot-component-container .iris-conversation-thinking{width:100%}.chatbot-modal-wrapper .chatbot-component-container .iris-menu-screen{background:#fff;display:flex;flex-direction:column;height:100%;min-height:0;width:100%}.chatbot-modal-wrapper .chatbot-component-container .iris-menu-main{display:flex;flex:1 1 auto;flex-direction:column;min-height:0;overflow:hidden}.chatbot-modal-wrapper .chatbot-component-container .iris-menu-content{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:column;gap:24px;margin:0 auto;max-width:608px;overflow-y:auto;padding:16px 16px 24px;width:100%}.chatbot-modal-wrapper .chatbot-component-container .iris-menu-content-list{gap:12px}.chatbot-modal-wrapper .chatbot-component-container .iris-menu-section{border-bottom:1px solid #d9dde7;display:flex;flex-direction:column;gap:12px;padding-bottom:24px}.chatbot-modal-wrapper .chatbot-component-container .iris-menu-section:last-child{border-bottom:0;padding-bottom:0}.chatbot-modal-wrapper .chatbot-component-container .iris-menu-section-header{align-items:center;display:flex;gap:12px;justify-content:space-between;min-height:32px;width:100%}.chatbot-modal-wrapper .chatbot-component-container .iris-menu-section-header-left{align-items:center;display:flex;flex:1 1 auto;gap:8px;min-width:0}.chatbot-modal-wrapper .chatbot-component-container .iris-menu-section-expand-icon{align-items:center;background-color:#f5f6fa;border-radius:8px;box-sizing:border-box;cursor:pointer;display:flex;flex-shrink:0;height:32px;justify-content:center;padding:8px;transition:transform .2s ease-in-out;width:32px}.chatbot-modal-wrapper .chatbot-component-container .iris-menu-section-expand-icon:focus-visible{box-shadow:0 0 0 var(--ia-focus-ring-offset,2px) var(--ia-focus-bg,#fff),0 0 0 calc(var(--ia-focus-ring-offset, 2px) + var(--ia-focus-ring-width, 2px)) var(--ia-focus-color,#4259ee);outline:none;transition:box-shadow .15s ease-in-out}.chatbot-modal-wrapper .chatbot-component-container .iris-menu-section-expand-icon:focus:not(:focus-visible){box-shadow:none;outline:none}.chatbot-modal-wrapper .chatbot-component-container .iris-menu-section-expand-icon svg{fill:#60697d;height:20px;transition:transform .2s ease-in-out;width:20px}.chatbot-modal-wrapper .chatbot-component-container .iris-menu-section-expand-icon.is-expanded{transform:rotate(-90deg)}.chatbot-modal-wrapper .chatbot-component-container .iris-menu-section-title{color:#1f2b4d;font-size:14px;font-weight:600;line-height:21px;margin:0;text-transform:capitalize}.chatbot-modal-wrapper .chatbot-component-container .iris-menu-section.is-expanded .iris-menu-section-title{font-weight:800}.chatbot-modal-wrapper .chatbot-component-container .iris-menu-section-body{display:flex;flex-direction:column;gap:12px;padding-left:28px}.chatbot-modal-wrapper .chatbot-component-container .iris-menu-list{display:flex;flex-direction:column;gap:4px;list-style:none;margin:0;padding:0}.chatbot-modal-wrapper .chatbot-component-container .iris-menu-list-skeleton{box-sizing:border-box;display:flex;flex-direction:column;gap:8px;padding:0 0 0 8px;width:100%}.chatbot-modal-wrapper .chatbot-component-container .iris-menu-list-skeleton-item{border-radius:8px}.chatbot-modal-wrapper .chatbot-component-container .iris-menu-list-skeleton.is-compact .iris-menu-list-skeleton-item{border-radius:6px}.chatbot-modal-wrapper .chatbot-component-container .iris-menu-list-item{align-items:center;border-radius:8px;box-sizing:border-box;display:flex;gap:4px;height:32px;justify-content:space-between;padding:0 0 0 8px;position:relative;width:100%}.chatbot-modal-wrapper .chatbot-component-container .iris-menu-list-item.is-menu-open,.chatbot-modal-wrapper .chatbot-component-container .iris-menu-list-item:focus-within,.chatbot-modal-wrapper .chatbot-component-container .iris-menu-list-item:hover{background:#eceefd}.chatbot-modal-wrapper .chatbot-component-container .iris-menu-list-item.is-menu-open .iris-menu-list-item-label,.chatbot-modal-wrapper .chatbot-component-container .iris-menu-list-item:focus-within .iris-menu-list-item-label,.chatbot-modal-wrapper .chatbot-component-container .iris-menu-list-item:hover .iris-menu-list-item-label{color:#1f2b4d}.chatbot-modal-wrapper .chatbot-component-container .iris-menu-list-item.is-compact{height:24px}.chatbot-modal-wrapper .chatbot-component-container .iris-menu-list-item.is-compact .iris-menu-list-item-label{font-size:12px;font-weight:500;line-height:16px}.chatbot-modal-wrapper .chatbot-component-container .iris-menu-list-item-main{align-items:center;background:#0000;border:0;cursor:pointer;display:flex;flex:1 1 auto;font-family:Manrope,sans-serif;height:100%;min-width:0;padding:0;text-align:left}.chatbot-modal-wrapper .chatbot-component-container .iris-menu-list-item-label{color:#60697d;font-size:14px;font-weight:400;line-height:20px;overflow:hidden;text-overflow:ellipsis;text-transform:capitalize;white-space:nowrap}.chatbot-modal-wrapper .chatbot-component-container .iris-menu-list-item-more{background:#0000!important;flex-shrink:0}.chatbot-modal-wrapper .chatbot-component-container .iris-menu-list-item-more[aria-expanded=true]{background:#eceefd!important;color:#4259ee!important}.chatbot-modal-wrapper .chatbot-component-container .iris-menu-list-item-more[aria-expanded=true] svg{color:#4259ee!important}.chatbot-modal-wrapper .chatbot-component-container .iris-menu-list-item-more[aria-expanded=true] svg path{fill:currentColor!important}.chatbot-modal-wrapper .chatbot-component-container .iris-menu-screen.is-collapsed .iris-menu-content{gap:16px;max-width:none;padding:12px 16px 16px}.chatbot-modal-wrapper .chatbot-component-container .iris-menu-screen.is-collapsed .iris-menu-section{gap:12px;padding-bottom:16px}.chatbot-modal-wrapper .chatbot-component-container .iris-menu-screen.is-collapsed .iris-menu-section:first-child{gap:8px}.chatbot-modal-wrapper .chatbot-component-container .iris-menu-screen.is-collapsed .iris-menu-section-header{min-height:24px}.chatbot-modal-wrapper .chatbot-component-container .iris-menu-screen.is-collapsed .iris-menu-section-body{padding-left:24px}.chatbot-modal-wrapper .chatbot-component-container .iris-menu-screen.is-collapsed .iris-menu-section-title{font-size:14px;font-weight:600;line-height:21px}.chatbot-modal-wrapper .chatbot-component-container .iris-menu-screen.is-collapsed .iris-menu-view-more{font-size:14px;font-weight:500;height:auto;line-height:20px;min-height:0;padding:0}.chatbot-modal-wrapper .chatbot-component-container .iris-menu-view-more{align-self:flex-start;margin-left:8px;text-transform:capitalize}.chatbot-modal-wrapper .chatbot-component-container .iris-menu-empty{color:#7a8294;font-size:14px;font-weight:500;line-height:20px;margin:0;padding:8px}.chatbot-modal-wrapper .chatbot-component-container .iris-menu-filter-button{background:#0000!important}.chatbot-modal-wrapper .chatbot-component-container .iris-menu-filter-button.is-active{background:#eceefd!important;color:#4259ee!important}.chatbot-modal-wrapper .chatbot-component-container .iris-menu-filter-button.is-active svg{color:#4259ee!important}.chatbot-modal-wrapper .chatbot-component-container .iris-menu-filter-button.is-active svg path{fill:currentColor!important}.chatbot-modal-wrapper .chatbot-component-container .iris-menu-list-toolbar{align-items:center;display:flex;gap:12px;justify-content:space-between;min-height:32px;width:100%}.chatbot-modal-wrapper .chatbot-component-container .iris-menu-list-toolbar-title{color:#60697d;font-size:14px;font-weight:600;line-height:21px;margin:0;text-transform:capitalize}.chatbot-modal-wrapper .chatbot-component-container .chatbot-component-footer{align-items:center;display:flex;flex-shrink:0;justify-content:center;padding:8px 16px 12px}.chatbot-modal-wrapper .chatbot-component-container .chatbot-component-footer .chatbot-component-footer-text{color:#7a8294;font-size:12px;font-weight:500;line-height:16px;margin:0;text-align:center}.chatbot-modal-wrapper .chatbot-component-container .chatbot-component-footer .chatbot-component-footer-text-link{background:#0000;border:0;color:#7a8294;cursor:pointer;font:inherit;line-height:16px;padding:0;text-decoration:underline}.resizer{position:absolute;touch-action:none;z-index:20}.resizer:focus-visible{outline:2px solid #4259ee;outline-offset:-2px}.resizer-n,.resizer-s{cursor:row-resize;height:8px;left:16px;right:16px}.resizer-n{top:0}.resizer-s{bottom:0}.resizer-e,.resizer-w{bottom:16px;cursor:col-resize;top:16px;width:8px}.resizer-e{right:0}.resizer-w{left:0}.resizer-ne,.resizer-sw{cursor:nesw-resize;height:16px;width:16px}.resizer-nw,.resizer-se{cursor:nwse-resize;height:16px;width:16px}.resizer-ne{right:0;top:0}.resizer-nw{left:0;top:0}.resizer-se{bottom:0;right:0}.resizer-sw{bottom:0;left:0}.chatbot-greeting-window-menu-paper,.iris-menu-filter-paper{border-radius:12px!important;box-shadow:0 0 4px #0000001f!important;margin-top:4px;max-width:240px!important;min-width:180px!important;padding:8px 6px;width:182px!important;z-index:2000}.chatbot-greeting-window-menu-paper .MuiMenuItem-root,.iris-menu-filter-paper .MuiMenuItem-root{border-radius:8px;color:#1f2b4d;font-size:14px;font-weight:500;gap:6px;line-height:20px;min-height:35px;padding:8px 12px;text-transform:capitalize}.chatbot-greeting-window-menu-paper .MuiMenuItem-root.Mui-selected,.iris-menu-filter-paper .MuiMenuItem-root.Mui-selected{background:#eceefd!important;color:#3649c6}.chatbot-greeting-window-menu-paper .MuiMenuItem-root.Mui-disabled,.iris-menu-filter-paper .MuiMenuItem-root.Mui-disabled{opacity:.45}.chatbot-greeting-window-menu-paper .ia-list-icon,.iris-menu-filter-paper .ia-list-icon{color:inherit;margin-right:0;min-width:14px!important}.chatbot-greeting-window-menu-paper .ia-list-icon svg,.iris-menu-filter-paper .ia-list-icon svg{color:inherit!important;display:block;height:14px!important;width:14px!important}.chatbot-greeting-window-menu-paper .ia-list-icon svg path,.iris-menu-filter-paper .ia-list-icon svg path{fill:currentColor!important}.iris-menu-filter-paper .MuiMenuItem-root{flex-direction:row-reverse;justify-content:space-between}.iris-menu-item-actions-paper{border:0!important;border-radius:12px!important;box-shadow:0 0 4px #0000001f!important;margin-top:4px;max-width:240px!important;min-width:180px!important;padding:8px 6px!important;width:182px!important;z-index:2000}.iris-menu-item-actions-paper .MuiList-root{gap:2px}.iris-menu-item-actions-paper .MuiMenuItem-root{border-radius:8px;color:#1f2b4d;font-size:14px;font-weight:500;height:35px;justify-content:flex-start;line-height:20px;min-height:35px;padding:8px 12px;text-transform:capitalize}.iris-menu-item-actions-paper .MuiMenuItem-root:last-child{color:#ab3939}.iris-menu-item-actions-paper .ia-list-body{gap:6px}.iris-menu-item-actions-paper .ia-list-icon{color:inherit;margin-right:0;min-width:14px!important}.iris-menu-item-actions-paper .ia-list-icon svg{display:block;height:14px!important;width:14px!important}.chatbot-floating-shell{bottom:24px;box-sizing:border-box;left:50%;max-width:calc(100vw - 48px);padding:12px;position:fixed;transform:translate(-50%);width:624px;z-index:1300}.chatbot-floating-shell .chatbot-floating-glow-svg{background:#1f2b4d99;border-radius:16px;box-shadow:0 0 18px #0000000f;height:100%;top:0;right:0;bottom:0;left:0;overflow:hidden;pointer-events:none;position:absolute;width:100%}.chatbot-floating-shell .chatbot-floating-glow-gold,.chatbot-floating-shell .chatbot-floating-glow-lavender{transform-box:fill-box;will-change:transform}.chatbot-floating-shell .chatbot-floating-glow-lavender{animation:chatbot-glow-orbit-lavender 16s linear infinite}.chatbot-floating-shell .chatbot-floating-glow-gold{animation:chatbot-glow-orbit-gold 16s linear infinite}.chatbot-floating-shell .chatbot-composer{position:relative;width:100%;z-index:1}.chatbot-floating-shell .chatbot-composer-box.is-floating{align-items:center;background:#fff;border:1px solid #d9dde7;border-radius:16px;box-shadow:0 0 6px #0000000f;box-sizing:border-box;cursor:text;display:flex;flex-direction:row;gap:0;padding:12px;position:relative;width:100%;z-index:1}.chatbot-floating-shell .chatbot-composer-box.is-floating.has-content,.chatbot-floating-shell .chatbot-composer-box.is-floating.is-active,.chatbot-floating-shell .chatbot-composer-box.is-floating:hover{background:linear-gradient(#fff,#fff) padding-box,linear-gradient(136.31deg,#2ac2ee99 12.23%,#6962ef99 49.23%,#f2692199 88.52%) border-box;border:1px solid #0000}.chatbot-floating-shell .chatbot-composer-box.is-floating.is-stacked{align-items:stretch;flex-direction:column;gap:8px}.chatbot-floating-shell .chatbot-composer-box.is-floating.is-stacked .chatbot-composer-textarea{flex:1 1 auto;order:0;width:100%}.chatbot-floating-shell .chatbot-composer-box.is-floating.is-stacked .chatbot-composer-toolbar{align-items:center;display:flex;flex-shrink:0;gap:8px;justify-content:space-between;order:1;width:100%}.chatbot-floating-shell .chatbot-composer-box.is-floating.is-stacked .chatbot-composer-toolbar-left,.chatbot-floating-shell .chatbot-composer-box.is-floating.is-stacked .chatbot-composer-toolbar-right{margin-left:0;order:unset}.chatbot-floating-shell .chatbot-composer-box.is-floating.is-stacked .chatbot-composer-toolbar-right{margin-left:auto}.chatbot-floating-shell .chatbot-composer-textarea{background:#0000;border:0;color:#1f2b4d;display:block;flex:1 1 auto;font-family:Manrope,sans-serif;font-size:14px;font-weight:500;line-height:20px;min-width:0;order:1;outline:none;resize:none}.chatbot-floating-shell .chatbot-composer-textarea::placeholder{color:#b4bac7;text-transform:capitalize}.chatbot-floating-shell .chatbot-composer-toolbar{display:contents}.chatbot-floating-shell .chatbot-composer-toolbar-left{align-items:center;display:flex;flex-shrink:0;gap:0;order:0}.chatbot-floating-shell .chatbot-composer-toolbar-right{align-items:center;display:flex;flex-shrink:0;gap:4px;margin-left:auto;order:2}.chatbot-floating-shell .chatbot-composer-icon-button{background:#0000!important}.chatbot-floating-shell .chatbot-composer-float-toggle{background:#f5f6fa!important;border-radius:8px}.chatbot-floating-shell .chatbot-composer-model{position:relative}.chatbot-floating-shell .chatbot-composer-model-trigger{align-items:center;background:#f5f6fa;border:0;border-radius:8px;color:#1f2b4d;cursor:pointer;display:inline-flex;font-family:Manrope,sans-serif;font-size:14px;font-weight:500;gap:2px;line-height:20px;min-height:24px;padding:6px 12px;text-transform:capitalize;white-space:nowrap}@keyframes iris-like-tilt{0%,to{transform:rotate(0)}20%{transform:rotate(-15deg)}80%{transform:rotate(0)}}@keyframes iris-dislike-tilt{0%,to{transform:rotate(0)}20%{transform:rotate(15deg)}80%{transform:rotate(0)}}@keyframes chatbot-glow-orbit-lavender{0%,to{transform:translate(0)}8.33%{transform:translate(27px,-36px)}16.67%{transform:translate(100px,-62px)}25%{transform:translate(200px,-72px)}33.33%{transform:translate(300px,-62px)}41.67%{transform:translate(373px,-36px)}50%{transform:translate(400px)}58.33%{transform:translate(373px,36px)}66.67%{transform:translate(300px,62px)}75%{transform:translate(200px,72px)}83.33%{transform:translate(100px,62px)}91.67%{transform:translate(27px,36px)}}@keyframes chatbot-glow-orbit-gold{0%,to{transform:translate(0)}8.33%{transform:translate(-27px,36px)}16.67%{transform:translate(-100px,62px)}25%{transform:translate(-200px,72px)}33.33%{transform:translate(-300px,62px)}41.67%{transform:translate(-373px,36px)}50%{transform:translate(-400px)}58.33%{transform:translate(-373px,-36px)}66.67%{transform:translate(-300px,-62px)}75%{transform:translate(-200px,-72px)}83.33%{transform:translate(-100px,-62px)}91.67%{transform:translate(-27px,-36px)}}@media (prefers-reduced-motion:reduce){.chatbot-floating-shell .chatbot-floating-glow-gold,.chatbot-floating-shell .chatbot-floating-glow-lavender{animation:none}}@media (max-width:680px){.chatbot-floating-shell{width:calc(100vw - 32px)}}')),document.head.appendChild(t)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}}();
|
|
2
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
3
|
+
import { useState, useRef, useEffect } from "react";
|
|
4
|
+
import { BOTTOM_VIEWPORT_MARGIN, useDraggableResizable } from "../../hooks/useDraggableResizable.js";
|
|
14
5
|
import { NewChatComponent } from "./newChatComponent.js";
|
|
6
|
+
import { ChatbotComposer } from "./chatbotComposer.js";
|
|
15
7
|
|
|
16
8
|
import { useTranslation } from "../../i18n/useTranslation.js";
|
|
17
|
-
const BookmarkIcon = getAssetUrl("icons/bookmarkIcon.svg");
|
|
18
9
|
const HEADER_HEIGHT = 56;
|
|
19
|
-
const SIDEBAR_WIDTH = 72;
|
|
20
10
|
const DEFAULT_CONTENT_WIDTH = 640;
|
|
21
|
-
const DEFAULT_WIDTH = SIDEBAR_WIDTH + DEFAULT_CONTENT_WIDTH;
|
|
22
11
|
const COLLAPSED_SIZE = { width: 410, height: 490 };
|
|
23
12
|
const FLOATING_VIEWPORT_MARGIN = BOTTOM_VIEWPORT_MARGIN;
|
|
24
13
|
const FLOATING_MARGIN = {
|
|
@@ -30,19 +19,18 @@ const FLOATING_MARGIN = {
|
|
|
30
19
|
const DOCKED_MARGIN = { top: HEADER_HEIGHT, right: 0, bottom: 0, left: FLOATING_VIEWPORT_MARGIN };
|
|
31
20
|
const COLLAPSED_RESIZE_DIRECTIONS = ["n", "s", "ne", "e", "nw", "se", "sw", "w"];
|
|
32
21
|
const EXPANDED_RESIZE_DIRECTION = ["w"];
|
|
33
|
-
function getDockedRect(
|
|
22
|
+
function getDockedRect() {
|
|
34
23
|
const viewportWidth = typeof window !== "undefined" ? window.innerWidth : 1440;
|
|
35
24
|
const viewportHeight = typeof window !== "undefined" ? window.innerHeight : 900;
|
|
36
|
-
const width = panelsOpen ? DEFAULT_WIDTH + 360 : DEFAULT_WIDTH;
|
|
37
25
|
return {
|
|
38
|
-
x: viewportWidth -
|
|
26
|
+
x: viewportWidth - DEFAULT_CONTENT_WIDTH,
|
|
39
27
|
y: HEADER_HEIGHT,
|
|
40
|
-
width,
|
|
28
|
+
width: DEFAULT_CONTENT_WIDTH,
|
|
41
29
|
height: viewportHeight - HEADER_HEIGHT
|
|
42
30
|
};
|
|
43
31
|
}
|
|
44
32
|
function getDefaultRect(isFullWidth) {
|
|
45
|
-
if (!isFullWidth) return getDockedRect(
|
|
33
|
+
if (!isFullWidth) return getDockedRect();
|
|
46
34
|
const viewportWidth = typeof window !== "undefined" ? window.innerWidth : 1440;
|
|
47
35
|
const viewportHeight = typeof window !== "undefined" ? window.innerHeight : 900;
|
|
48
36
|
const width = viewportWidth - 64;
|
|
@@ -53,131 +41,91 @@ function getDefaultRect(isFullWidth) {
|
|
|
53
41
|
height: viewportHeight - HEADER_HEIGHT
|
|
54
42
|
};
|
|
55
43
|
}
|
|
56
|
-
function
|
|
57
|
-
if (typeof
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
return cloneElement(el, {
|
|
63
|
-
"aria-hidden": void 0,
|
|
64
|
-
"aria-label": key,
|
|
65
|
-
role: "img",
|
|
66
|
-
className: [el.props.className, iconClassName].filter(Boolean).join(" ") || void 0
|
|
67
|
-
});
|
|
68
|
-
}
|
|
69
|
-
return icon;
|
|
44
|
+
function isOverSidebarDockZone(panel) {
|
|
45
|
+
if (typeof window === "undefined") return false;
|
|
46
|
+
const vw = window.innerWidth;
|
|
47
|
+
const nearTop = panel.y <= HEADER_HEIGHT + 120;
|
|
48
|
+
const nearRight = panel.x + panel.width >= vw - FLOATING_MARGIN.right - 72;
|
|
49
|
+
return nearTop && nearRight;
|
|
70
50
|
}
|
|
71
|
-
const MENU_ITEM_LABEL_KEYS = {
|
|
72
|
-
newchat: "chatBot.menu.newChat",
|
|
73
|
-
bookmark: "chatBot.menu.bookmark",
|
|
74
|
-
history: "chatBot.menu.history",
|
|
75
|
-
page: "chatBot.menu.page",
|
|
76
|
-
notification: "chatBot.menu.notification"
|
|
77
|
-
};
|
|
78
|
-
const getMenuItemLabel = (item, t) => {
|
|
79
|
-
if (!item.key) return "";
|
|
80
|
-
const labelKey = MENU_ITEM_LABEL_KEYS[item.key];
|
|
81
|
-
if (labelKey) return t(labelKey);
|
|
82
|
-
return item.key.charAt(0).toUpperCase() + item.key.slice(1);
|
|
83
|
-
};
|
|
84
51
|
function ChatBotComponent({
|
|
85
52
|
onClose,
|
|
86
53
|
userName,
|
|
54
|
+
greetingWeather,
|
|
55
|
+
autoGreetingWeather = false,
|
|
56
|
+
greetingIcon,
|
|
87
57
|
isChatBotOpen,
|
|
88
58
|
setIsChatBotOpen,
|
|
89
59
|
conversation = {},
|
|
90
|
-
solution: _solution,
|
|
91
|
-
formComponent: _formComponent,
|
|
92
|
-
tableComponent: _tableComponent,
|
|
93
|
-
preDefinedQuestions,
|
|
94
|
-
addedByYouQuestions,
|
|
95
60
|
onSendIconClick = () => {
|
|
96
61
|
},
|
|
97
|
-
assistantChats: _assistantChats = [],
|
|
98
62
|
isAssistantThinking = false,
|
|
99
|
-
|
|
100
|
-
onModuleClick = () => {
|
|
101
|
-
},
|
|
102
|
-
tabList,
|
|
103
|
-
handleSavedChat,
|
|
104
|
-
threadList = ["Home", "Thread 1", "Thread 2"],
|
|
105
|
-
activeThread = null,
|
|
106
|
-
isCustomScreen = false,
|
|
107
|
-
customScreenJsx = null,
|
|
63
|
+
thinking,
|
|
108
64
|
onLikeClick = () => {
|
|
109
65
|
},
|
|
110
66
|
onDislikeClick = () => {
|
|
111
67
|
},
|
|
68
|
+
onRegenerateClick,
|
|
69
|
+
onSpeakClick,
|
|
70
|
+
onRevertClick,
|
|
71
|
+
defaultAssistantActions,
|
|
112
72
|
handleNewChatClick = () => {
|
|
113
73
|
},
|
|
114
74
|
inputText = "",
|
|
115
|
-
handleRefresh,
|
|
116
|
-
handleSaveChat,
|
|
117
75
|
handleMicClick,
|
|
118
|
-
hideMenuArrow = false,
|
|
119
|
-
newChatScreen = false,
|
|
120
|
-
isModuleListLoading = false,
|
|
121
|
-
suggestionBanner,
|
|
122
76
|
isStopIcon = false,
|
|
123
77
|
onStopIconClick = () => {
|
|
124
78
|
},
|
|
125
|
-
landingScreen = false,
|
|
126
79
|
footerText,
|
|
127
|
-
onCloseSuggestionBanner = () => {
|
|
128
|
-
},
|
|
129
|
-
showSuggestionBanner = false,
|
|
130
|
-
utilityList = [],
|
|
131
80
|
customInputComponent = null,
|
|
132
|
-
onHistoryPanelClick = () => {
|
|
133
|
-
},
|
|
134
81
|
historyPanelData = [],
|
|
135
|
-
onHistorySearchChange = () => {
|
|
136
|
-
},
|
|
137
82
|
onHistorySelectConversation = () => {
|
|
138
83
|
},
|
|
139
|
-
onHistoryToggleGroup = () => {
|
|
140
|
-
},
|
|
141
|
-
historyOpenGroups,
|
|
142
84
|
onHistoryMenuAction = () => {
|
|
143
85
|
},
|
|
144
86
|
isConversationLoading = false,
|
|
145
|
-
|
|
87
|
+
isArtifactsLoading = false,
|
|
146
88
|
isFullWidth = false,
|
|
147
|
-
activeConversationId,
|
|
148
|
-
handleCloseThread = () => {
|
|
149
|
-
},
|
|
150
|
-
handleThreadClick = () => {
|
|
151
|
-
},
|
|
152
89
|
onMinimiseChatBot,
|
|
153
90
|
onChatBotResize = () => {
|
|
154
|
-
}
|
|
91
|
+
},
|
|
92
|
+
defaultCollapsed = false,
|
|
93
|
+
defaultFloating = false,
|
|
94
|
+
suggestedPrompts = [],
|
|
95
|
+
isSuggestedPromptsLoading = false,
|
|
96
|
+
onSuggestedPromptClick,
|
|
97
|
+
modelOptions,
|
|
98
|
+
selectedModel,
|
|
99
|
+
onModelChange,
|
|
100
|
+
onAddClick,
|
|
101
|
+
onAttachClick,
|
|
102
|
+
onMenuClick,
|
|
103
|
+
onFooterLinkClick,
|
|
104
|
+
artifacts = [],
|
|
105
|
+
onSelectArtifact,
|
|
106
|
+
onIrisMenuFilterSelect,
|
|
107
|
+
onArtifactMenuAction
|
|
155
108
|
}) {
|
|
156
|
-
var _a;
|
|
157
109
|
const { t } = useTranslation();
|
|
158
|
-
const
|
|
159
|
-
freeTextHeading: t("chatBot.suggestionBanner.freeTextHeading"),
|
|
160
|
-
freeTextContent: t("chatBot.suggestionBanner.freeTextContent")
|
|
161
|
-
};
|
|
162
|
-
const resolvedFooterText = footerText ?? t("chatBot.footerText");
|
|
163
|
-
const [, setIsNewChat] = useState(
|
|
164
|
-
(tabList == null ? void 0 : tabList.find((tab) => tab.isActive)) ? false : newChatScreen ? true : false
|
|
165
|
-
);
|
|
110
|
+
const resolvedFooterText = footerText ?? t("chatBot.irisFooterText");
|
|
166
111
|
const [inputValue, setInputValue] = useState(inputText);
|
|
167
|
-
const [
|
|
168
|
-
const [
|
|
169
|
-
const [
|
|
170
|
-
const
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
() => isBookMarkPanelOpen || isHistoryPanelOpen || isPagePanelOpen,
|
|
178
|
-
[isBookMarkPanelOpen, isHistoryPanelOpen, isPagePanelOpen]
|
|
112
|
+
const [isMinimised, setIsMinimised] = useState(defaultCollapsed);
|
|
113
|
+
const [isFloating, setIsFloating] = useState(defaultFloating);
|
|
114
|
+
const [isFullScreen, setIsFullScreen] = useState(false);
|
|
115
|
+
const initialRectRef = useRef(
|
|
116
|
+
defaultCollapsed && !isFullWidth ? {
|
|
117
|
+
x: typeof window !== "undefined" ? Math.max(FLOATING_MARGIN.left, window.innerWidth - COLLAPSED_SIZE.width - FLOATING_MARGIN.right) : 0,
|
|
118
|
+
y: typeof window !== "undefined" ? Math.max(FLOATING_MARGIN.top, window.innerHeight - COLLAPSED_SIZE.height - FLOATING_MARGIN.bottom) : HEADER_HEIGHT,
|
|
119
|
+
width: COLLAPSED_SIZE.width,
|
|
120
|
+
height: COLLAPSED_SIZE.height
|
|
121
|
+
} : getDefaultRect(isFullWidth)
|
|
179
122
|
);
|
|
123
|
+
const didApplyDefaultCollapse = useRef(false);
|
|
180
124
|
const viewportMargin = isMinimised ? FLOATING_MARGIN : DOCKED_MARGIN;
|
|
125
|
+
const dockDropHandlerRef = useRef(
|
|
126
|
+
() => {
|
|
127
|
+
}
|
|
128
|
+
);
|
|
181
129
|
const {
|
|
182
130
|
rect,
|
|
183
131
|
isDragging,
|
|
@@ -190,33 +138,90 @@ function ChatBotComponent({
|
|
|
190
138
|
restore: restoreFromCollapse
|
|
191
139
|
} = useDraggableResizable({
|
|
192
140
|
initialRect: initialRectRef.current,
|
|
193
|
-
minWidth:
|
|
141
|
+
minWidth: COLLAPSED_SIZE.width,
|
|
194
142
|
minHeight: COLLAPSED_SIZE.height,
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
// Edge guard only applies while floating (minimised): the panel keeps a gap from every
|
|
198
|
-
// viewport edge (and clears the app header at the top) instead of touching it. Expanded/
|
|
199
|
-
// docked stays flush, like the original panel.
|
|
143
|
+
maxWidthRatio: isMinimised ? 0.6 : void 0,
|
|
144
|
+
maxHeightRatio: isMinimised ? 0.7 : void 0,
|
|
200
145
|
viewportMargin,
|
|
201
146
|
disabled: isFullWidth,
|
|
202
147
|
onChange: (nextRect) => {
|
|
203
148
|
onChatBotResize(nextRect.width);
|
|
149
|
+
},
|
|
150
|
+
onDragEnd: (nextRect) => {
|
|
151
|
+
dockDropHandlerRef.current(nextRect);
|
|
204
152
|
}
|
|
205
153
|
});
|
|
154
|
+
dockDropHandlerRef.current = (nextRect) => {
|
|
155
|
+
if (!isMinimised || !isOverSidebarDockZone(nextRect)) return;
|
|
156
|
+
setIsMinimised(false);
|
|
157
|
+
restoreFromCollapse();
|
|
158
|
+
};
|
|
159
|
+
const showSidebarDockPreview = isDragging && isCollapsed;
|
|
160
|
+
const isSidebarDockHot = showSidebarDockPreview && isOverSidebarDockZone(rect);
|
|
161
|
+
const sidebarDockPreviewRect = getDockedRect();
|
|
206
162
|
const resolveDirectionForResize = isCollapsed ? COLLAPSED_RESIZE_DIRECTIONS : EXPANDED_RESIZE_DIRECTION;
|
|
207
163
|
const handleToggleCollapse = () => {
|
|
164
|
+
setIsFullScreen(false);
|
|
208
165
|
if (isCollapsed) {
|
|
209
166
|
setIsMinimised(false);
|
|
210
167
|
restoreFromCollapse();
|
|
211
168
|
} else {
|
|
212
|
-
setIsBookMarkPanelOpen(false);
|
|
213
|
-
setIsHistoryPanelOpen(false);
|
|
214
|
-
setIsPagePanelOpen(false);
|
|
215
169
|
setIsMinimised(true);
|
|
216
170
|
collapseTo(COLLAPSED_SIZE, { anchor: "bottom-right", viewportMargin: FLOATING_MARGIN });
|
|
217
171
|
}
|
|
218
172
|
};
|
|
219
|
-
const
|
|
173
|
+
const handleEnterFloating = () => {
|
|
174
|
+
setIsFullScreen(false);
|
|
175
|
+
setIsFloating(true);
|
|
176
|
+
};
|
|
177
|
+
const handleExitFloatingToSidebar = () => {
|
|
178
|
+
setIsFloating(false);
|
|
179
|
+
if (isCollapsed) {
|
|
180
|
+
setIsMinimised(false);
|
|
181
|
+
restoreFromCollapse();
|
|
182
|
+
}
|
|
183
|
+
};
|
|
184
|
+
const handleFloatingLayoutChange = (mode) => {
|
|
185
|
+
if (mode === "floating") return;
|
|
186
|
+
setIsFloating(false);
|
|
187
|
+
if (mode === "fullScreen") {
|
|
188
|
+
setIsFullScreen(true);
|
|
189
|
+
if (isCollapsed) {
|
|
190
|
+
setIsMinimised(false);
|
|
191
|
+
restoreFromCollapse();
|
|
192
|
+
}
|
|
193
|
+
return;
|
|
194
|
+
}
|
|
195
|
+
if (mode === "sidebar") {
|
|
196
|
+
if (isCollapsed) {
|
|
197
|
+
setIsMinimised(false);
|
|
198
|
+
restoreFromCollapse();
|
|
199
|
+
}
|
|
200
|
+
return;
|
|
201
|
+
}
|
|
202
|
+
if (!isCollapsed) {
|
|
203
|
+
setIsMinimised(true);
|
|
204
|
+
collapseTo(COLLAPSED_SIZE, { anchor: "bottom-right", viewportMargin: FLOATING_MARGIN });
|
|
205
|
+
}
|
|
206
|
+
};
|
|
207
|
+
const handleEnterFullScreen = () => {
|
|
208
|
+
setIsFullScreen(true);
|
|
209
|
+
setIsFloating(false);
|
|
210
|
+
if (isCollapsed) {
|
|
211
|
+
setIsMinimised(false);
|
|
212
|
+
restoreFromCollapse();
|
|
213
|
+
}
|
|
214
|
+
};
|
|
215
|
+
const handleExitFullScreen = () => {
|
|
216
|
+
setIsFullScreen(false);
|
|
217
|
+
};
|
|
218
|
+
useEffect(() => {
|
|
219
|
+
if (!defaultCollapsed || isFullWidth || didApplyDefaultCollapse.current) return;
|
|
220
|
+
didApplyDefaultCollapse.current = true;
|
|
221
|
+
setIsMinimised(true);
|
|
222
|
+
collapseTo(COLLAPSED_SIZE, { anchor: "bottom-right", viewportMargin: FLOATING_MARGIN });
|
|
223
|
+
}, [defaultCollapsed, isFullWidth, collapseTo]);
|
|
224
|
+
const NON_DRAGGABLE_SELECTOR = 'button, a, input, textarea, [role="button"], [role="tab"], [role="menuitem"], [role="menu"], [role="presentation"], .MuiModal-root, .MuiPopover-root, .MuiMenu-root, .chatbot-greeting-window-menu-paper, [contenteditable="true"]';
|
|
220
225
|
const headerDragHandleProps = isCollapsed && !isFullWidth ? {
|
|
221
226
|
...dragHandleProps,
|
|
222
227
|
onPointerDown: (e) => {
|
|
@@ -224,56 +229,36 @@ function ChatBotComponent({
|
|
|
224
229
|
dragHandleProps.onPointerDown(e);
|
|
225
230
|
}
|
|
226
231
|
} : void 0;
|
|
227
|
-
const tabListRef = useRef(tabList);
|
|
228
|
-
const menuItemsRef = useRef(menuItems$1);
|
|
229
|
-
const onChatBotResizeRef = useRef(onChatBotResize);
|
|
230
|
-
useEffect(() => {
|
|
231
|
-
tabListRef.current = tabList;
|
|
232
|
-
menuItemsRef.current = menuItems$1;
|
|
233
|
-
onChatBotResizeRef.current = onChatBotResize;
|
|
234
|
-
});
|
|
235
232
|
useEffect(() => {
|
|
236
233
|
setInputValue(inputText);
|
|
237
234
|
}, [inputText]);
|
|
238
235
|
useEffect(() => {
|
|
239
|
-
if (
|
|
240
|
-
|
|
241
|
-
newChatMenuItem,
|
|
242
|
-
...tabList.map((tab, idx) => {
|
|
243
|
-
var _a2, _b;
|
|
244
|
-
return {
|
|
245
|
-
...tab,
|
|
246
|
-
key: ((_a2 = tab.name) == null ? void 0 : _a2.toLowerCase()) || `tab${idx}`,
|
|
247
|
-
icon: tab.icon || BookmarkIcon,
|
|
248
|
-
className: `chatbot-component-menu-container-icon-${(_b = tab.name) == null ? void 0 : _b.toLowerCase()}`,
|
|
249
|
-
label: tab.name,
|
|
250
|
-
onClick: tab.onClick
|
|
251
|
-
};
|
|
252
|
-
}),
|
|
253
|
-
...showHistoryPanel ? mandatoryTabList : []
|
|
254
|
-
]);
|
|
255
|
-
} else {
|
|
256
|
-
setMenuItems([newChatMenuItem, ...menuItems]);
|
|
257
|
-
}
|
|
258
|
-
}, [tabList, showHistoryPanel]);
|
|
259
|
-
useEffect(() => {
|
|
260
|
-
var _a2, _b, _c;
|
|
261
|
-
if (!isChatBotOpen) return;
|
|
262
|
-
setActiveList((_b = (_a2 = tabListRef.current) == null ? void 0 : _a2.find((tab) => tab.initialClick)) == null ? void 0 : _b.name);
|
|
263
|
-
const initialItem = menuItemsRef.current.find((tab) => tab.initialClick);
|
|
264
|
-
(_c = initialItem == null ? void 0 : initialItem.onClick) == null ? void 0 : _c.call(initialItem, initialItem);
|
|
265
|
-
}, [isChatBotOpen, tabList]);
|
|
266
|
-
useEffect(() => {
|
|
267
|
-
if (isFullWidth || isCollapsed) return;
|
|
268
|
-
const syncDocked = () => {
|
|
269
|
-
setRect(getDockedRect(panelsOpen));
|
|
270
|
-
};
|
|
236
|
+
if (isFullWidth || isMinimised) return;
|
|
237
|
+
const syncDocked = () => setRect(getDockedRect());
|
|
271
238
|
syncDocked();
|
|
272
239
|
window.addEventListener("resize", syncDocked);
|
|
273
|
-
return () =>
|
|
274
|
-
|
|
240
|
+
return () => window.removeEventListener("resize", syncDocked);
|
|
241
|
+
}, [isFullWidth, isMinimised, isChatBotOpen]);
|
|
242
|
+
useEffect(() => {
|
|
243
|
+
if (isFullWidth || !isMinimised) return;
|
|
244
|
+
let prevW = window.innerWidth;
|
|
245
|
+
let prevH = window.innerHeight;
|
|
246
|
+
const onResize = () => {
|
|
247
|
+
const vw = window.innerWidth;
|
|
248
|
+
const vh = window.innerHeight;
|
|
249
|
+
const fromW = prevW;
|
|
250
|
+
const fromH = prevH;
|
|
251
|
+
prevW = vw;
|
|
252
|
+
prevH = vh;
|
|
253
|
+
setRect((prev) => ({
|
|
254
|
+
...prev,
|
|
255
|
+
x: fromW - (prev.x + prev.width) <= prev.x ? prev.x + (vw - fromW) : prev.x,
|
|
256
|
+
y: fromH - (prev.y + prev.height) <= prev.y ? prev.y + (vh - fromH) : prev.y
|
|
257
|
+
}));
|
|
275
258
|
};
|
|
276
|
-
|
|
259
|
+
window.addEventListener("resize", onResize);
|
|
260
|
+
return () => window.removeEventListener("resize", onResize);
|
|
261
|
+
}, [isFullWidth, isMinimised, setRect]);
|
|
277
262
|
useEffect(() => {
|
|
278
263
|
if (!isFullWidth) return;
|
|
279
264
|
const onResize = () => {
|
|
@@ -287,279 +272,263 @@ function ChatBotComponent({
|
|
|
287
272
|
}, [isFullWidth]);
|
|
288
273
|
const handleCloseChatBot = () => {
|
|
289
274
|
setIsChatBotOpen(false);
|
|
290
|
-
setIsHistoryPanelOpen(false);
|
|
291
|
-
setIsBookMarkPanelOpen(false);
|
|
292
|
-
setIsPagePanelOpen(false);
|
|
293
275
|
onClose == null ? void 0 : onClose();
|
|
294
276
|
};
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
(_b = tabList == null ? void 0 : tabList.find((i) => {
|
|
311
|
-
var _a3, _b2;
|
|
312
|
-
return ((_a3 = i.name) == null ? void 0 : _a3.toLowerCase()) === ((_b2 = tabDetails == null ? void 0 : tabDetails.tabName) == null ? void 0 : _b2.toLowerCase());
|
|
313
|
-
})) == null ? void 0 : _b.name
|
|
314
|
-
);
|
|
315
|
-
} else if (item.key === "history") {
|
|
316
|
-
setIsHistoryPanelOpen(!isHistoryPanelOpen);
|
|
317
|
-
onHistoryPanelClick(item, !isHistoryPanelOpen);
|
|
318
|
-
} else {
|
|
319
|
-
setActiveList(item.key);
|
|
320
|
-
(_c = item.onClick) == null ? void 0 : _c.call(item, item);
|
|
321
|
-
}
|
|
322
|
-
};
|
|
323
|
-
const handleCloseLeftPanel = () => {
|
|
324
|
-
setIsBookMarkPanelOpen(false);
|
|
325
|
-
setIsHistoryPanelOpen(false);
|
|
326
|
-
setIsPagePanelOpen(false);
|
|
327
|
-
};
|
|
328
|
-
return isChatBotOpen ? /* @__PURE__ */ jsx("div", { className: "chatbot-modal-wrapper", children: /* @__PURE__ */ jsxs(
|
|
329
|
-
"div",
|
|
330
|
-
{
|
|
331
|
-
className: `chatbot-component-container ${isFullWidth ? "full-width" : ""} ${isDragging ? "is-dragging" : ""} ${isResizing ? "is-resizing" : ""} ${isCollapsed ? "is-collapsed" : ""}`,
|
|
332
|
-
style: isFullWidth ? void 0 : {
|
|
333
|
-
position: "fixed",
|
|
334
|
-
left: rect.x,
|
|
335
|
-
top: rect.y,
|
|
336
|
-
width: rect.width,
|
|
337
|
-
height: rect.height
|
|
338
|
-
},
|
|
339
|
-
children: [
|
|
340
|
-
!isFullWidth && resolveDirectionForResize.map((direction) => /* @__PURE__ */ jsx(
|
|
341
|
-
"div",
|
|
342
|
-
{
|
|
343
|
-
"aria-label": `Resize ${direction.toUpperCase()}`,
|
|
344
|
-
className: `resizer resizer-${direction}`,
|
|
345
|
-
...getResizeHandleProps(direction)
|
|
346
|
-
},
|
|
347
|
-
direction
|
|
348
|
-
)),
|
|
349
|
-
landingScreen ? /* @__PURE__ */ jsx(ChatBotLandingScreen, { isFullWidth, onClose: handleCloseChatBot }) : /* @__PURE__ */ jsxs("div", { className: "chatbot-main-content", children: [
|
|
350
|
-
!isCollapsed && /* @__PURE__ */ jsx(
|
|
351
|
-
"div",
|
|
352
|
-
{
|
|
353
|
-
className: `chatbot-component-left-side ${isBookMarkPanelOpen || isHistoryPanelOpen || isPagePanelOpen ? "chatbot-component-left-side-open" : ""}`,
|
|
354
|
-
children: /* @__PURE__ */ jsxs(
|
|
355
|
-
"div",
|
|
277
|
+
if (isChatBotOpen && isFloating) {
|
|
278
|
+
return /* @__PURE__ */ jsxs("div", { className: "chatbot-floating-shell", children: [
|
|
279
|
+
/* @__PURE__ */ jsxs(
|
|
280
|
+
"svg",
|
|
281
|
+
{
|
|
282
|
+
"aria-hidden": "true",
|
|
283
|
+
className: "chatbot-floating-glow-svg",
|
|
284
|
+
fill: "none",
|
|
285
|
+
preserveAspectRatio: "none",
|
|
286
|
+
viewBox: "0 0 624 80",
|
|
287
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
288
|
+
children: [
|
|
289
|
+
/* @__PURE__ */ jsxs("defs", { children: [
|
|
290
|
+
/* @__PURE__ */ jsxs(
|
|
291
|
+
"filter",
|
|
356
292
|
{
|
|
357
|
-
|
|
293
|
+
colorInterpolationFilters: "sRGB",
|
|
294
|
+
filterUnits: "userSpaceOnUse",
|
|
295
|
+
height: "720",
|
|
296
|
+
id: "chatbot-glow-blur-lavender",
|
|
297
|
+
width: "1100",
|
|
298
|
+
x: "-340",
|
|
299
|
+
y: "-240",
|
|
358
300
|
children: [
|
|
359
|
-
/* @__PURE__ */
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
Tooltip,
|
|
396
|
-
{
|
|
397
|
-
orientation: "left",
|
|
398
|
-
title: getMenuItemLabel(item, t),
|
|
399
|
-
variant: "tertiary",
|
|
400
|
-
children: /* @__PURE__ */ jsx(
|
|
401
|
-
"li",
|
|
402
|
-
{
|
|
403
|
-
role: "button",
|
|
404
|
-
tabIndex: 0,
|
|
405
|
-
onClick: item.onClick,
|
|
406
|
-
onKeyDown: (e) => {
|
|
407
|
-
var _a2;
|
|
408
|
-
if (e.key === "Enter" || e.key === " ") {
|
|
409
|
-
e.preventDefault();
|
|
410
|
-
(_a2 = item.onClick) == null ? void 0 : _a2.call(item);
|
|
411
|
-
}
|
|
412
|
-
},
|
|
413
|
-
children: renderTabIcon(item.icon, item.key)
|
|
414
|
-
}
|
|
415
|
-
)
|
|
416
|
-
},
|
|
417
|
-
item.key
|
|
418
|
-
)) })
|
|
419
|
-
]
|
|
420
|
-
}
|
|
421
|
-
),
|
|
422
|
-
isBookMarkPanelOpen && !isHistoryPanelOpen && !isPagePanelOpen && /* @__PURE__ */ jsx(
|
|
423
|
-
BookMarkPanel,
|
|
301
|
+
/* @__PURE__ */ jsx("feFlood", { floodOpacity: "0", result: "BackgroundImageFix" }),
|
|
302
|
+
/* @__PURE__ */ jsx("feBlend", { in: "SourceGraphic", in2: "BackgroundImageFix", result: "shape" }),
|
|
303
|
+
/* @__PURE__ */ jsx("feGaussianBlur", { result: "blur", stdDeviation: "62.5" })
|
|
304
|
+
]
|
|
305
|
+
}
|
|
306
|
+
),
|
|
307
|
+
/* @__PURE__ */ jsxs(
|
|
308
|
+
"filter",
|
|
309
|
+
{
|
|
310
|
+
colorInterpolationFilters: "sRGB",
|
|
311
|
+
filterUnits: "userSpaceOnUse",
|
|
312
|
+
height: "460",
|
|
313
|
+
id: "chatbot-glow-blur-gold",
|
|
314
|
+
width: "780",
|
|
315
|
+
x: "140",
|
|
316
|
+
y: "-140",
|
|
317
|
+
children: [
|
|
318
|
+
/* @__PURE__ */ jsx("feFlood", { floodOpacity: "0", result: "BackgroundImageFix" }),
|
|
319
|
+
/* @__PURE__ */ jsx("feBlend", { in: "SourceGraphic", in2: "BackgroundImageFix", result: "shape" }),
|
|
320
|
+
/* @__PURE__ */ jsx("feGaussianBlur", { result: "blur", stdDeviation: "50.8676" })
|
|
321
|
+
]
|
|
322
|
+
}
|
|
323
|
+
),
|
|
324
|
+
/* @__PURE__ */ jsxs(
|
|
325
|
+
"filter",
|
|
326
|
+
{
|
|
327
|
+
colorInterpolationFilters: "sRGB",
|
|
328
|
+
filterUnits: "userSpaceOnUse",
|
|
329
|
+
height: "80",
|
|
330
|
+
id: "chatbot-glow-noise",
|
|
331
|
+
width: "624",
|
|
332
|
+
x: "0",
|
|
333
|
+
y: "0",
|
|
334
|
+
children: [
|
|
335
|
+
/* @__PURE__ */ jsx(
|
|
336
|
+
"feTurbulence",
|
|
424
337
|
{
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
338
|
+
baseFrequency: "1.4285714626312256 1.4285714626312256",
|
|
339
|
+
numOctaves: "3",
|
|
340
|
+
result: "noise",
|
|
341
|
+
seed: "7841",
|
|
342
|
+
stitchTiles: "stitch",
|
|
343
|
+
type: "fractalNoise"
|
|
428
344
|
}
|
|
429
345
|
),
|
|
430
|
-
|
|
431
|
-
|
|
346
|
+
/* @__PURE__ */ jsx("feColorMatrix", { in: "noise", result: "alphaNoise", type: "luminanceToAlpha" }),
|
|
347
|
+
/* @__PURE__ */ jsx("feComponentTransfer", { in: "alphaNoise", result: "coloredNoise", children: /* @__PURE__ */ jsx(
|
|
348
|
+
"feFuncA",
|
|
432
349
|
{
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
isConversationLoading,
|
|
436
|
-
openGroups: historyOpenGroups ?? localHistoryOpenGroups,
|
|
437
|
-
onClose: handleCloseLeftPanel,
|
|
438
|
-
onMenuAction: onHistoryMenuAction,
|
|
439
|
-
onSearchChange: onHistorySearchChange,
|
|
440
|
-
onSelectConversation: onHistorySelectConversation,
|
|
441
|
-
onToggleGroup: (groupName, isOpen) => {
|
|
442
|
-
if (historyOpenGroups == null) {
|
|
443
|
-
setLocalHistoryOpenGroups((prev) => ({ ...prev, [groupName]: isOpen }));
|
|
444
|
-
}
|
|
445
|
-
onHistoryToggleGroup(groupName, isOpen);
|
|
446
|
-
}
|
|
350
|
+
tableValues: "1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0",
|
|
351
|
+
type: "discrete"
|
|
447
352
|
}
|
|
448
|
-
)
|
|
353
|
+
) }),
|
|
354
|
+
/* @__PURE__ */ jsx("feFlood", { floodColor: "rgba(0,0,0,0.1)", result: "colorFlood" }),
|
|
355
|
+
/* @__PURE__ */ jsx("feComposite", { in: "colorFlood", in2: "coloredNoise", operator: "in" })
|
|
449
356
|
]
|
|
450
357
|
}
|
|
451
|
-
)
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
358
|
+
),
|
|
359
|
+
/* @__PURE__ */ jsx("clipPath", { id: "chatbot-glow-clip", children: /* @__PURE__ */ jsx("path", { d: "M0 16C0 7.16344 7.16344 0 16 0H608C616.837 0 624 7.16344 624 16V64C624 72.8366 616.837 80 608 80H16C7.16344 80 0 72.8366 0 64V16Z" }) })
|
|
360
|
+
] }),
|
|
361
|
+
/* @__PURE__ */ jsxs("g", { clipPath: "url(#chatbot-glow-clip)", children: [
|
|
362
|
+
/* @__PURE__ */ jsx("g", { className: "chatbot-floating-glow-lavender", children: /* @__PURE__ */ jsx(
|
|
363
|
+
"ellipse",
|
|
364
|
+
{
|
|
365
|
+
cx: "133.505",
|
|
366
|
+
cy: "108.451",
|
|
367
|
+
fill: "#F6EDFD",
|
|
368
|
+
filter: "url(#chatbot-glow-blur-lavender)",
|
|
369
|
+
rx: "260.27",
|
|
370
|
+
ry: "168.609",
|
|
371
|
+
transform: "rotate(-24.1891 133.505 108.451)"
|
|
372
|
+
}
|
|
373
|
+
) }),
|
|
374
|
+
/* @__PURE__ */ jsx("g", { className: "chatbot-floating-glow-gold", children: /* @__PURE__ */ jsx(
|
|
375
|
+
"ellipse",
|
|
376
|
+
{
|
|
377
|
+
cx: "563.766",
|
|
378
|
+
cy: "88.7903",
|
|
379
|
+
fill: "#F6EBBF",
|
|
380
|
+
filter: "url(#chatbot-glow-blur-gold)",
|
|
381
|
+
rx: "90.8991",
|
|
382
|
+
ry: "63.0833",
|
|
383
|
+
transform: "rotate(-24.1891 563.766 88.7903)"
|
|
384
|
+
}
|
|
385
|
+
) })
|
|
386
|
+
] }),
|
|
387
|
+
/* @__PURE__ */ jsx(
|
|
388
|
+
"rect",
|
|
389
|
+
{
|
|
390
|
+
clipPath: "url(#chatbot-glow-clip)",
|
|
391
|
+
fill: "#fff",
|
|
392
|
+
filter: "url(#chatbot-glow-noise)",
|
|
393
|
+
height: "80",
|
|
394
|
+
width: "624"
|
|
395
|
+
}
|
|
396
|
+
)
|
|
397
|
+
]
|
|
398
|
+
}
|
|
399
|
+
),
|
|
400
|
+
/* @__PURE__ */ jsx(
|
|
401
|
+
ChatbotComposer,
|
|
402
|
+
{
|
|
403
|
+
customInputComponent,
|
|
404
|
+
handleMicClick,
|
|
405
|
+
inputValue,
|
|
406
|
+
isFloating: true,
|
|
407
|
+
isStopIcon,
|
|
408
|
+
modelOptions,
|
|
409
|
+
placeholder: void 0,
|
|
410
|
+
selectedModel,
|
|
411
|
+
setInputValue,
|
|
412
|
+
onAddClick,
|
|
413
|
+
onAttachClick,
|
|
414
|
+
onFloatingLayoutChange: handleFloatingLayoutChange,
|
|
415
|
+
onModelChange,
|
|
416
|
+
onSend: () => {
|
|
417
|
+
const text = inputValue.trim();
|
|
418
|
+
if (!text) return;
|
|
419
|
+
const message = {
|
|
420
|
+
id: `${Date.now()}-${Math.random().toString(36).slice(2, 9)}`,
|
|
421
|
+
text,
|
|
422
|
+
role: "user",
|
|
423
|
+
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
424
|
+
};
|
|
425
|
+
setInputValue("");
|
|
426
|
+
onSendIconClick(message);
|
|
427
|
+
handleExitFloatingToSidebar();
|
|
428
|
+
},
|
|
429
|
+
onStop: () => onStopIconClick()
|
|
430
|
+
}
|
|
431
|
+
)
|
|
432
|
+
] });
|
|
433
|
+
}
|
|
434
|
+
return isChatBotOpen ? /* @__PURE__ */ jsxs("div", { className: "chatbot-modal-wrapper", children: [
|
|
435
|
+
showSidebarDockPreview && /* @__PURE__ */ jsx(
|
|
436
|
+
"div",
|
|
437
|
+
{
|
|
438
|
+
"aria-hidden": "true",
|
|
439
|
+
className: `chatbot-sidebar-dock-preview ${isSidebarDockHot ? "is-hot" : ""}`,
|
|
440
|
+
style: {
|
|
441
|
+
left: sidebarDockPreviewRect.x,
|
|
442
|
+
top: sidebarDockPreviewRect.y,
|
|
443
|
+
width: sidebarDockPreviewRect.width,
|
|
444
|
+
height: sidebarDockPreviewRect.height
|
|
445
|
+
},
|
|
446
|
+
children: /* @__PURE__ */ jsx("span", { className: "chatbot-sidebar-dock-preview-label", children: t("chatBot.greeting.dockToSidebar") })
|
|
447
|
+
}
|
|
448
|
+
),
|
|
449
|
+
/* @__PURE__ */ jsxs(
|
|
450
|
+
"div",
|
|
451
|
+
{
|
|
452
|
+
className: `chatbot-component-container ${isFullWidth || isFullScreen ? "full-width" : ""} ${isFullScreen ? "is-full-screen" : ""} ${isDragging ? "is-dragging" : ""} ${isResizing ? "is-resizing" : ""} ${isCollapsed ? "is-collapsed" : ""} is-greeting ${isSidebarDockHot ? "is-dock-hot" : ""}`,
|
|
453
|
+
style: isFullWidth || isFullScreen ? void 0 : {
|
|
454
|
+
position: "fixed",
|
|
455
|
+
left: rect.x,
|
|
456
|
+
top: rect.y,
|
|
457
|
+
width: rect.width,
|
|
458
|
+
height: rect.height
|
|
459
|
+
},
|
|
460
|
+
children: [
|
|
461
|
+
!isFullWidth && !isFullScreen && resolveDirectionForResize.map((direction) => /* @__PURE__ */ jsx(
|
|
455
462
|
"div",
|
|
456
463
|
{
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
isFullWidth,
|
|
520
|
-
isStopIcon,
|
|
521
|
-
setUserChats,
|
|
522
|
-
showSuggestionBanner,
|
|
523
|
-
suggestionBanner: resolvedSuggestionBanner,
|
|
524
|
-
userChats,
|
|
525
|
-
onClose: handleCloseChatBot,
|
|
526
|
-
onCloseSuggestionBanner,
|
|
527
|
-
onMinimiseChatBot,
|
|
528
|
-
onSendIconClick,
|
|
529
|
-
onStopIconClick
|
|
530
|
-
}
|
|
531
|
-
) : /* @__PURE__ */ jsx(
|
|
532
|
-
ConversationScreen,
|
|
533
|
-
{
|
|
534
|
-
activeList,
|
|
535
|
-
conversation: conversation ?? {},
|
|
536
|
-
customInputComponent,
|
|
537
|
-
footerText: resolvedFooterText,
|
|
538
|
-
handleMicClick,
|
|
539
|
-
handleRefresh,
|
|
540
|
-
handleSaveChat,
|
|
541
|
-
inputText,
|
|
542
|
-
isAssistantThinking,
|
|
543
|
-
isCollapsed,
|
|
544
|
-
isStopIcon,
|
|
545
|
-
setUserChats,
|
|
546
|
-
showSuggestionBanner,
|
|
547
|
-
suggestionBanner: resolvedSuggestionBanner,
|
|
548
|
-
userChats,
|
|
549
|
-
onCloseSuggestionBanner,
|
|
550
|
-
onDislikeClick,
|
|
551
|
-
onLikeClick,
|
|
552
|
-
onSendIconClick,
|
|
553
|
-
onStopIconClick
|
|
554
|
-
}
|
|
555
|
-
)
|
|
556
|
-
]
|
|
464
|
+
"aria-label": `Resize ${direction.toUpperCase()}`,
|
|
465
|
+
className: `resizer resizer-${direction}`,
|
|
466
|
+
...getResizeHandleProps(direction),
|
|
467
|
+
tabIndex: -1
|
|
468
|
+
},
|
|
469
|
+
direction
|
|
470
|
+
)),
|
|
471
|
+
/* @__PURE__ */ jsx("div", { className: "chatbot-main-content chatbot-main-content-greeting", children: /* @__PURE__ */ jsx(
|
|
472
|
+
NewChatComponent,
|
|
473
|
+
{
|
|
474
|
+
artifacts,
|
|
475
|
+
conversation,
|
|
476
|
+
customInputComponent,
|
|
477
|
+
defaultAssistantActions,
|
|
478
|
+
dragHandleProps: headerDragHandleProps,
|
|
479
|
+
footerText: resolvedFooterText,
|
|
480
|
+
handleMicClick,
|
|
481
|
+
historyPanelData,
|
|
482
|
+
inputValue,
|
|
483
|
+
isArtifactsLoading,
|
|
484
|
+
isAssistantThinking,
|
|
485
|
+
isCollapsed,
|
|
486
|
+
isFullWidth,
|
|
487
|
+
isRecentChatsLoading: isConversationLoading,
|
|
488
|
+
isStopIcon,
|
|
489
|
+
modelOptions,
|
|
490
|
+
selectedModel,
|
|
491
|
+
setInputValue,
|
|
492
|
+
isSuggestedPromptsLoading,
|
|
493
|
+
suggestedPrompts,
|
|
494
|
+
thinking,
|
|
495
|
+
autoGreetingWeather,
|
|
496
|
+
greetingIcon,
|
|
497
|
+
greetingWeather,
|
|
498
|
+
userName,
|
|
499
|
+
onAddClick,
|
|
500
|
+
onAttachClick,
|
|
501
|
+
onClose: handleCloseChatBot,
|
|
502
|
+
onFooterLinkClick,
|
|
503
|
+
onArtifactMenuAction,
|
|
504
|
+
onDislikeClick,
|
|
505
|
+
onHistoryMenuAction,
|
|
506
|
+
onHistorySelectConversation,
|
|
507
|
+
onIrisMenuFilterSelect,
|
|
508
|
+
onLikeClick,
|
|
509
|
+
onMenuClick,
|
|
510
|
+
onMinimiseChatBot,
|
|
511
|
+
onEnterFloating: handleEnterFloating,
|
|
512
|
+
onEnterFullScreen: handleEnterFullScreen,
|
|
513
|
+
onExitFullScreen: handleExitFullScreen,
|
|
514
|
+
isFloating,
|
|
515
|
+
isFullScreen,
|
|
516
|
+
onModelChange,
|
|
517
|
+
onNewChatClick: () => handleNewChatClick(),
|
|
518
|
+
onRegenerateClick,
|
|
519
|
+
onRevertClick,
|
|
520
|
+
onSelectArtifact,
|
|
521
|
+
onSendIconClick,
|
|
522
|
+
onSpeakClick,
|
|
523
|
+
onStopIconClick,
|
|
524
|
+
onSuggestedPromptClick,
|
|
525
|
+
onToggleCollapse: handleToggleCollapse
|
|
557
526
|
}
|
|
558
|
-
)
|
|
559
|
-
]
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
527
|
+
) })
|
|
528
|
+
]
|
|
529
|
+
}
|
|
530
|
+
)
|
|
531
|
+
] }) : null;
|
|
563
532
|
}
|
|
564
533
|
ChatBotComponent.displayName = "ChatBotComponent";
|
|
565
534
|
export {
|