botframework-webchat-fluent-theme 4.18.1-main.20250505.5e12798 → 4.18.1-main.20250528.43d5b5c
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/botframework-webchat-fluent-theme.css.map +1 -1
- package/dist/botframework-webchat-fluent-theme.d.mts +5 -4
- package/dist/botframework-webchat-fluent-theme.d.ts +5 -4
- package/dist/botframework-webchat-fluent-theme.development.css.map +1 -1
- package/dist/botframework-webchat-fluent-theme.development.js +8 -8
- package/dist/botframework-webchat-fluent-theme.development.js.map +1 -1
- package/dist/botframework-webchat-fluent-theme.js +1 -1
- package/dist/botframework-webchat-fluent-theme.js.map +1 -1
- package/dist/botframework-webchat-fluent-theme.mjs +1 -1
- package/dist/botframework-webchat-fluent-theme.mjs.map +1 -1
- package/dist/botframework-webchat-fluent-theme.production.min.css.map +1 -1
- package/dist/botframework-webchat-fluent-theme.production.min.js +8 -8
- package/dist/botframework-webchat-fluent-theme.production.min.js.map +1 -1
- package/package.json +7 -11
- package/src/components/theme/Theme.module.css +26 -29
- package/src/private/FluentThemeProvider.tsx +41 -27
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts","../src/components/sendBox/SendBox.tsx","../src/icons/AddDocumentIcon.tsx","/__w/1/s/BotFramework-WebChat/packages/fluent-theme/dist/botframework-webchat-fluent-theme.js"],"names":["MonochromeImageMasker","Components","addDocumentIcon"],"mappings":"AAAA,yNAA8B,8ECAkB,gGACjC,4EASR,0CACoB,GCPrB,CAAE,qBAAA,CAAAA,EAAsB,CAAA,CAAIC,wCAAAA,CAE5BC,EAAAA,CAAkB,CAAA,wBAAA,EAA2B,kBAAA,CAAmB,mdAAmd,CAAC,CAAA,CAAA;ACLmY","file":"/__w/1/s/BotFramework-WebChat/packages/fluent-theme/dist/botframework-webchat-fluent-theme.js","sourcesContent":["import { injectMetaTag } from 'inject-meta-tag';\n\nimport { SendBox as FluentSendBox } from './components/sendBox/index';\nimport FluentThemeProvider from './private/FluentThemeProvider';\nimport testIds from './testIds';\n\nconst buildTool = process.env['build_tool'];\nconst moduleFormat = process.env['module_format'];\nconst version = process.env['npm_package_version'];\n\nconst buildInfo = { buildTool, moduleFormat, version };\n\ninjectMetaTag(\n 'botframework-webchat:fluent-theme',\n `version=${process.env['npm_package_version']}; build-tool=${process.env['build_tool']}; module-format=${process.env['module_format']}`\n);\n\nexport { FluentThemeProvider, FluentSendBox, buildInfo, testIds };\n","import { hooks, type SendBoxFocusOptions } from 'botframework-webchat-component';\nimport cx from 'classnames';\nimport React, {\n memo,\n ReactNode,\n useCallback,\n useRef,\n useState,\n type FormEventHandler,\n type MouseEventHandler\n} from 'react';\nimport { useRefFrom } from 'use-ref-from';\nimport { SendIcon } from '../../icons';\nimport { useStyles, useVariantClassName } from '../../styles';\nimport testIds from '../../testIds';\nimport { DropZone } from '../dropZone';\nimport { SuggestedActions } from '../suggestedActions';\nimport { TelephoneKeypadSurrogate, useTelephoneKeypadShown, type DTMF } from '../telephoneKeypad';\nimport AddAttachmentButton from './AddAttachmentButton';\nimport Attachments from './Attachments';\nimport ErrorMessage from './ErrorMessage';\nimport useSubmitError from './private/useSubmitError';\nimport useTranscriptNavigation from './private/useTranscriptNavigation';\nimport useUniqueId from './private/useUniqueId';\nimport styles from './SendBox.module.css';\nimport TelephoneKeypadToolbarButton from './TelephoneKeypadToolbarButton';\nimport TextArea from './TextArea';\nimport { Toolbar, ToolbarButton, ToolbarSeparator } from './Toolbar';\n\nconst {\n useFocus,\n useLocalizer,\n useMakeThumbnail,\n useRegisterFocusSendBox,\n useSendBoxAttachments,\n useSendBoxValue,\n useSendMessage,\n useStyleOptions,\n useUIState\n} = hooks;\n\ntype Props = Readonly<{\n className?: string | undefined;\n completion?: ReactNode | undefined;\n isPrimary?: boolean | undefined;\n placeholder?: string | undefined;\n}>;\n\nfunction SendBox(props: Props) {\n const [{ hideTelephoneKeypadButton, hideUploadButton, maxMessageLength }] = useStyleOptions();\n const [attachments, setAttachments] = useSendBoxAttachments();\n const [globalMessage, setGlobalMessage] = useSendBoxValue();\n const [localMessage, setLocalMessage] = useState('');\n const [telephoneKeypadShown] = useTelephoneKeypadShown();\n const [uiState] = useUIState();\n const classNames = useStyles(styles);\n const variantClassName = useVariantClassName(styles);\n const errorMessageId = useUniqueId('sendbox__error-message-id');\n const inputRef = useRef<HTMLTextAreaElement>(null);\n const localize = useLocalizer();\n const makeThumbnail = useMakeThumbnail();\n const sendMessage = useSendMessage();\n const setFocus = useFocus();\n\n const message = props.isPrimary ? globalMessage : localMessage;\n const setMessage = props.isPrimary ? setGlobalMessage : setLocalMessage;\n const isBlueprint = uiState === 'blueprint';\n\n const [errorMessage, commitLatestError] = useSubmitError({ message, attachments });\n const isMessageLengthExceeded = !!maxMessageLength && message.length > maxMessageLength;\n const shouldShowMessageLength =\n !isBlueprint && !telephoneKeypadShown && maxMessageLength && isFinite(maxMessageLength);\n const shouldShowTelephoneKeypad = !isBlueprint && telephoneKeypadShown;\n\n useRegisterFocusSendBox(\n useCallback(\n ({ noKeyboard, waitUntil }: SendBoxFocusOptions) => {\n if (!inputRef.current) {\n return;\n }\n if (noKeyboard) {\n waitUntil(\n (async () => {\n const previousReadOnly = inputRef.current?.getAttribute('readonly');\n inputRef.current?.setAttribute('readonly', 'true');\n // TODO: [P2] We should update this logic to handle quickly-successive `focusCallback`.\n // If a succeeding `focusCallback` is being called, the `setTimeout` should run immediately.\n // Or the second `focusCallback` should not set `readonly` to `true`.\n // eslint-disable-next-line no-restricted-globals\n await new Promise(resolve => setTimeout(resolve, 0));\n inputRef.current?.focus();\n if (typeof previousReadOnly !== 'string') {\n inputRef.current?.removeAttribute('readonly');\n } else {\n inputRef.current?.setAttribute('readonly', previousReadOnly);\n }\n })()\n );\n } else {\n inputRef.current?.focus();\n }\n },\n [inputRef]\n )\n );\n\n const attachmentsRef = useRefFrom(attachments);\n const messageRef = useRefFrom(message);\n\n const handleSendBoxClick = useCallback<MouseEventHandler>(\n event => {\n if ('tabIndex' in event.target && typeof event.target.tabIndex === 'number' && event.target.tabIndex >= 0) {\n return;\n }\n\n setFocus('sendBox');\n },\n [setFocus]\n );\n\n const handleMessageChange: React.FormEventHandler<HTMLTextAreaElement> = useCallback(\n event => setMessage(event.currentTarget.value),\n [setMessage]\n );\n\n const handleAddFiles = useCallback(\n async (inputFiles: File[]) => {\n const newAttachments = Object.freeze(\n await Promise.all(\n inputFiles.map(file =>\n makeThumbnail(file).then(thumbnailURL =>\n Object.freeze({\n blob: file,\n ...(thumbnailURL && { thumbnailURL })\n })\n )\n )\n )\n );\n\n setAttachments(newAttachments);\n\n // TODO: Currently in the UX, we have no way to remove attachments.\n // Keep concatenating doesn't make sense in current UX.\n // When end-user can remove attachment, we should enable the code again.\n // setAttachments(attachments => attachments.concat(newAttachments));\n },\n [makeThumbnail, setAttachments]\n );\n\n const handleFormSubmit: FormEventHandler<HTMLFormElement> = useCallback(\n event => {\n event.preventDefault();\n const error = commitLatestError();\n\n if (error !== 'empty' && !isMessageLengthExceeded) {\n sendMessage(messageRef.current, undefined, { attachments: attachmentsRef.current });\n\n setMessage('');\n setAttachments([]);\n }\n\n setFocus('sendBox');\n },\n [\n commitLatestError,\n isMessageLengthExceeded,\n setFocus,\n sendMessage,\n setMessage,\n messageRef,\n attachmentsRef,\n setAttachments\n ]\n );\n\n const handleTelephoneKeypadButtonClick = useCallback(\n // TODO: We need more official way of sending DTMF.\n (dtmf: DTMF) => sendMessage(`/DTMFKey ${dtmf}`),\n [sendMessage]\n );\n\n const handleTranscriptNavigation = useTranscriptNavigation();\n\n const aria = {\n 'aria-invalid': 'false' as const,\n ...(errorMessage && {\n 'aria-describedby': errorMessageId,\n 'aria-errormessage': errorMessageId,\n 'aria-invalid': 'true' as const\n })\n };\n\n return (\n <form\n {...aria}\n className={cx(classNames['sendbox'], variantClassName, props.className)}\n data-testid={testIds.sendBoxContainer}\n onSubmit={handleFormSubmit}\n >\n <SuggestedActions />\n <div\n className={cx(classNames['sendbox__sendbox'])}\n onClickCapture={handleSendBoxClick}\n onKeyDown={handleTranscriptNavigation}\n >\n <TextArea\n aria-label={isMessageLengthExceeded ? localize('TEXT_INPUT_LENGTH_EXCEEDED_ALT') : localize('TEXT_INPUT_ALT')}\n className={cx(classNames['sendbox__sendbox-text'], classNames['sendbox__text-area--in-grid'])}\n completion={props.completion}\n data-testid={testIds.sendBoxTextBox}\n hidden={shouldShowTelephoneKeypad}\n onInput={handleMessageChange}\n placeholder={props.placeholder ?? localize('TEXT_INPUT_PLACEHOLDER')}\n ref={inputRef}\n value={message}\n />\n <TelephoneKeypadSurrogate\n autoFocus={true}\n className={classNames['sendbox__telephone-keypad--in-grid']}\n isHorizontal={false}\n onButtonClick={handleTelephoneKeypadButtonClick}\n />\n <Attachments attachments={attachments} className={classNames['sendbox__attachment--in-grid']} />\n <div className={cx(classNames['sendbox__sendbox-controls'], classNames['sendbox__sendbox-controls--in-grid'])}>\n {shouldShowMessageLength && (\n <div\n className={cx(classNames['sendbox__text-counter'], {\n [classNames['sendbox__text-counter--error']]: isMessageLengthExceeded\n })}\n >\n {`${message.length}/${maxMessageLength}`}\n </div>\n )}\n <Toolbar>\n {!hideTelephoneKeypadButton && <TelephoneKeypadToolbarButton />}\n {!hideUploadButton && <AddAttachmentButton onFilesAdded={handleAddFiles} />}\n <ToolbarSeparator />\n <ToolbarButton\n aria-label={localize('TEXT_INPUT_SEND_BUTTON_ALT')}\n data-testid={testIds.sendBoxSendButton}\n disabled={isMessageLengthExceeded || shouldShowTelephoneKeypad}\n type=\"submit\"\n >\n <SendIcon />\n </ToolbarButton>\n </Toolbar>\n </div>\n <DropZone onFilesAdded={handleAddFiles} />\n <ErrorMessage error={errorMessage} id={errorMessageId} />\n </div>\n </form>\n );\n}\n\nconst PrimarySendBox = memo((props: Exclude<Props, 'primary'>) => <SendBox {...props} isPrimary={true} />);\n\nPrimarySendBox.displayName = 'PrimarySendBox';\n\nexport default memo(SendBox);\n\nexport { PrimarySendBox };\n","import { Components } from 'botframework-webchat-component';\nimport cx from 'classnames';\nimport React, { memo } from 'react';\n\nconst { MonochromeImageMasker } = Components;\n\nconst addDocumentIcon = `data:image/svg+xml;utf8,${encodeURIComponent('<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M6 2a2 2 0 0 0-2 2v5.2c.32-.08.66-.15 1-.18V4a1 1 0 0 1 1-1h4v3.5c0 .83.67 1.5 1.5 1.5H15v8a1 1 0 0 1-1 1h-3.6c-.18.36-.4.7-.66 1H14a2 2 0 0 0 2-2V7.41c0-.4-.16-.78-.44-1.06l-3.91-3.91A1.5 1.5 0 0 0 10.59 2H6Zm8.8 5h-3.3a.5.5 0 0 1-.5-.5V3.2L14.8 7ZM10 14.5a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0Zm-4-2a.5.5 0 0 0-1 0V14H3.5a.5.5 0 0 0 0 1H5v1.5a.5.5 0 0 0 1 0V15h1.5a.5.5 0 0 0 0-1H6v-1.5Z\"/></svg>')}`;\n\nfunction AddDocumentIcon(props: Readonly<{ className?: string }>) {\n return <MonochromeImageMasker className={cx('icon__add-document', props.className)} src={addDocumentIcon} />;\n}\n\nexport default memo(AddDocumentIcon);\n",null]}
|
|
1
|
+
{"version":3,"sources":["../src/index.ts","../src/components/sendBox/SendBox.tsx","../src/icons/AddDocumentIcon.tsx","/__w/1/s/BotFramework-WebChat/packages/fluent-theme/dist/botframework-webchat-fluent-theme.js"],"names":["MonochromeImageMasker","Components","addDocumentIcon"],"mappings":"AAAA,yNAA8B,8ECAkB,gGACjC,4EASR,0CACoB,GCPrB,CAAE,qBAAA,CAAAA,EAAsB,CAAA,CAAIC,wCAAAA,CAE5BC,EAAAA,CAAkB,CAAA,wBAAA,EAA2B,kBAAA,CAAmB,mdAAmd,CAAC,CAAA,CAAA;ACLoY","file":"/__w/1/s/BotFramework-WebChat/packages/fluent-theme/dist/botframework-webchat-fluent-theme.js","sourcesContent":["import { injectMetaTag } from 'inject-meta-tag';\n\nimport { SendBox as FluentSendBox } from './components/sendBox/index';\nimport FluentThemeProvider from './private/FluentThemeProvider';\nimport testIds from './testIds';\n\nconst buildTool = process.env['build_tool'];\nconst moduleFormat = process.env['module_format'];\nconst version = process.env['npm_package_version'];\n\nconst buildInfo = { buildTool, moduleFormat, version };\n\ninjectMetaTag(\n 'botframework-webchat:fluent-theme',\n `version=${process.env['npm_package_version']}; build-tool=${process.env['build_tool']}; module-format=${process.env['module_format']}`\n);\n\nexport { FluentThemeProvider, FluentSendBox, buildInfo, testIds };\n","import { hooks, type SendBoxFocusOptions } from 'botframework-webchat-component';\nimport cx from 'classnames';\nimport React, {\n memo,\n ReactNode,\n useCallback,\n useRef,\n useState,\n type FormEventHandler,\n type MouseEventHandler\n} from 'react';\nimport { useRefFrom } from 'use-ref-from';\nimport { SendIcon } from '../../icons';\nimport { useStyles, useVariantClassName } from '../../styles';\nimport testIds from '../../testIds';\nimport { DropZone } from '../dropZone';\nimport { SuggestedActions } from '../suggestedActions';\nimport { TelephoneKeypadSurrogate, useTelephoneKeypadShown, type DTMF } from '../telephoneKeypad';\nimport AddAttachmentButton from './AddAttachmentButton';\nimport Attachments from './Attachments';\nimport ErrorMessage from './ErrorMessage';\nimport useSubmitError from './private/useSubmitError';\nimport useTranscriptNavigation from './private/useTranscriptNavigation';\nimport useUniqueId from './private/useUniqueId';\nimport styles from './SendBox.module.css';\nimport TelephoneKeypadToolbarButton from './TelephoneKeypadToolbarButton';\nimport TextArea from './TextArea';\nimport { Toolbar, ToolbarButton, ToolbarSeparator } from './Toolbar';\n\nconst {\n useFocus,\n useLocalizer,\n useMakeThumbnail,\n useRegisterFocusSendBox,\n useSendBoxAttachments,\n useSendBoxValue,\n useSendMessage,\n useStyleOptions,\n useUIState\n} = hooks;\n\ntype Props = Readonly<{\n className?: string | undefined;\n completion?: ReactNode | undefined;\n isPrimary?: boolean | undefined;\n placeholder?: string | undefined;\n}>;\n\nfunction SendBox(props: Props) {\n const [{ hideTelephoneKeypadButton, hideUploadButton, maxMessageLength }] = useStyleOptions();\n const [attachments, setAttachments] = useSendBoxAttachments();\n const [globalMessage, setGlobalMessage] = useSendBoxValue();\n const [localMessage, setLocalMessage] = useState('');\n const [telephoneKeypadShown] = useTelephoneKeypadShown();\n const [uiState] = useUIState();\n const classNames = useStyles(styles);\n const variantClassName = useVariantClassName(styles);\n const errorMessageId = useUniqueId('sendbox__error-message-id');\n const inputRef = useRef<HTMLTextAreaElement>(null);\n const localize = useLocalizer();\n const makeThumbnail = useMakeThumbnail();\n const sendMessage = useSendMessage();\n const setFocus = useFocus();\n\n const message = props.isPrimary ? globalMessage : localMessage;\n const setMessage = props.isPrimary ? setGlobalMessage : setLocalMessage;\n const isBlueprint = uiState === 'blueprint';\n\n const [errorMessage, commitLatestError] = useSubmitError({ message, attachments });\n const isMessageLengthExceeded = !!maxMessageLength && message.length > maxMessageLength;\n const shouldShowMessageLength =\n !isBlueprint && !telephoneKeypadShown && maxMessageLength && isFinite(maxMessageLength);\n const shouldShowTelephoneKeypad = !isBlueprint && telephoneKeypadShown;\n\n useRegisterFocusSendBox(\n useCallback(\n ({ noKeyboard, waitUntil }: SendBoxFocusOptions) => {\n if (!inputRef.current) {\n return;\n }\n if (noKeyboard) {\n waitUntil(\n (async () => {\n const previousReadOnly = inputRef.current?.getAttribute('readonly');\n inputRef.current?.setAttribute('readonly', 'true');\n // TODO: [P2] We should update this logic to handle quickly-successive `focusCallback`.\n // If a succeeding `focusCallback` is being called, the `setTimeout` should run immediately.\n // Or the second `focusCallback` should not set `readonly` to `true`.\n // eslint-disable-next-line no-restricted-globals\n await new Promise(resolve => setTimeout(resolve, 0));\n inputRef.current?.focus();\n if (typeof previousReadOnly !== 'string') {\n inputRef.current?.removeAttribute('readonly');\n } else {\n inputRef.current?.setAttribute('readonly', previousReadOnly);\n }\n })()\n );\n } else {\n inputRef.current?.focus();\n }\n },\n [inputRef]\n )\n );\n\n const attachmentsRef = useRefFrom(attachments);\n const messageRef = useRefFrom(message);\n\n const handleSendBoxClick = useCallback<MouseEventHandler>(\n event => {\n if ('tabIndex' in event.target && typeof event.target.tabIndex === 'number' && event.target.tabIndex >= 0) {\n return;\n }\n\n setFocus('sendBox');\n },\n [setFocus]\n );\n\n const handleMessageChange: React.FormEventHandler<HTMLTextAreaElement> = useCallback(\n event => setMessage(event.currentTarget.value),\n [setMessage]\n );\n\n const handleAddFiles = useCallback(\n async (inputFiles: File[]) => {\n const newAttachments = Object.freeze(\n await Promise.all(\n inputFiles.map(file =>\n makeThumbnail(file).then(thumbnailURL =>\n Object.freeze({\n blob: file,\n ...(thumbnailURL && { thumbnailURL })\n })\n )\n )\n )\n );\n\n setAttachments(newAttachments);\n\n // TODO: Currently in the UX, we have no way to remove attachments.\n // Keep concatenating doesn't make sense in current UX.\n // When end-user can remove attachment, we should enable the code again.\n // setAttachments(attachments => attachments.concat(newAttachments));\n },\n [makeThumbnail, setAttachments]\n );\n\n const handleFormSubmit: FormEventHandler<HTMLFormElement> = useCallback(\n event => {\n event.preventDefault();\n const error = commitLatestError();\n\n if (error !== 'empty' && !isMessageLengthExceeded) {\n sendMessage(messageRef.current, undefined, { attachments: attachmentsRef.current });\n\n setMessage('');\n setAttachments([]);\n }\n\n setFocus('sendBox');\n },\n [\n commitLatestError,\n isMessageLengthExceeded,\n setFocus,\n sendMessage,\n setMessage,\n messageRef,\n attachmentsRef,\n setAttachments\n ]\n );\n\n const handleTelephoneKeypadButtonClick = useCallback(\n // TODO: We need more official way of sending DTMF.\n (dtmf: DTMF) => sendMessage(`/DTMFKey ${dtmf}`),\n [sendMessage]\n );\n\n const handleTranscriptNavigation = useTranscriptNavigation();\n\n const aria = {\n 'aria-invalid': 'false' as const,\n ...(errorMessage && {\n 'aria-describedby': errorMessageId,\n 'aria-errormessage': errorMessageId,\n 'aria-invalid': 'true' as const\n })\n };\n\n return (\n <form\n {...aria}\n className={cx(classNames['sendbox'], variantClassName, props.className)}\n data-testid={testIds.sendBoxContainer}\n onSubmit={handleFormSubmit}\n >\n <SuggestedActions />\n <div\n className={cx(classNames['sendbox__sendbox'])}\n onClickCapture={handleSendBoxClick}\n onKeyDown={handleTranscriptNavigation}\n >\n <TextArea\n aria-label={isMessageLengthExceeded ? localize('TEXT_INPUT_LENGTH_EXCEEDED_ALT') : localize('TEXT_INPUT_ALT')}\n className={cx(classNames['sendbox__sendbox-text'], classNames['sendbox__text-area--in-grid'])}\n completion={props.completion}\n data-testid={testIds.sendBoxTextBox}\n hidden={shouldShowTelephoneKeypad}\n onInput={handleMessageChange}\n placeholder={props.placeholder ?? localize('TEXT_INPUT_PLACEHOLDER')}\n ref={inputRef}\n value={message}\n />\n <TelephoneKeypadSurrogate\n autoFocus={true}\n className={classNames['sendbox__telephone-keypad--in-grid']}\n isHorizontal={false}\n onButtonClick={handleTelephoneKeypadButtonClick}\n />\n <Attachments attachments={attachments} className={classNames['sendbox__attachment--in-grid']} />\n <div className={cx(classNames['sendbox__sendbox-controls'], classNames['sendbox__sendbox-controls--in-grid'])}>\n {shouldShowMessageLength && (\n <div\n className={cx(classNames['sendbox__text-counter'], {\n [classNames['sendbox__text-counter--error']]: isMessageLengthExceeded\n })}\n >\n {`${message.length}/${maxMessageLength}`}\n </div>\n )}\n <Toolbar>\n {!hideTelephoneKeypadButton && <TelephoneKeypadToolbarButton />}\n {!hideUploadButton && <AddAttachmentButton onFilesAdded={handleAddFiles} />}\n <ToolbarSeparator />\n <ToolbarButton\n aria-label={localize('TEXT_INPUT_SEND_BUTTON_ALT')}\n data-testid={testIds.sendBoxSendButton}\n disabled={isMessageLengthExceeded || shouldShowTelephoneKeypad}\n type=\"submit\"\n >\n <SendIcon />\n </ToolbarButton>\n </Toolbar>\n </div>\n <DropZone onFilesAdded={handleAddFiles} />\n <ErrorMessage error={errorMessage} id={errorMessageId} />\n </div>\n </form>\n );\n}\n\nconst PrimarySendBox = memo((props: Exclude<Props, 'primary'>) => <SendBox {...props} isPrimary={true} />);\n\nPrimarySendBox.displayName = 'PrimarySendBox';\n\nexport default memo(SendBox);\n\nexport { PrimarySendBox };\n","import { Components } from 'botframework-webchat-component';\nimport cx from 'classnames';\nimport React, { memo } from 'react';\n\nconst { MonochromeImageMasker } = Components;\n\nconst addDocumentIcon = `data:image/svg+xml;utf8,${encodeURIComponent('<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M6 2a2 2 0 0 0-2 2v5.2c.32-.08.66-.15 1-.18V4a1 1 0 0 1 1-1h4v3.5c0 .83.67 1.5 1.5 1.5H15v8a1 1 0 0 1-1 1h-3.6c-.18.36-.4.7-.66 1H14a2 2 0 0 0 2-2V7.41c0-.4-.16-.78-.44-1.06l-3.91-3.91A1.5 1.5 0 0 0 10.59 2H6Zm8.8 5h-3.3a.5.5 0 0 1-.5-.5V3.2L14.8 7ZM10 14.5a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0Zm-4-2a.5.5 0 0 0-1 0V14H3.5a.5.5 0 0 0 0 1H5v1.5a.5.5 0 0 0 1 0V15h1.5a.5.5 0 0 0 0-1H6v-1.5Z\"/></svg>')}`;\n\nfunction AddDocumentIcon(props: Readonly<{ className?: string }>) {\n return <MonochromeImageMasker className={cx('icon__add-document', props.className)} src={addDocumentIcon} />;\n}\n\nexport default memo(AddDocumentIcon);\n",null]}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{injectMetaTag as uc}from"inject-meta-tag";import{hooks as di}from"botframework-webchat-component";import U from"classnames";import w,{memo as Zt,useCallback as I,useRef as bi,useState as ui}from"react";import{useRefFrom as jt}from"use-ref-from";import{Components as vo}from"botframework-webchat-component";import _o from"classnames";import yo,{memo as xo}from"react";var{MonochromeImageMasker:ko}=vo,No=`data:image/svg+xml;utf8,${encodeURIComponent('<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M6 2a2 2 0 0 0-2 2v5.2c.32-.08.66-.15 1-.18V4a1 1 0 0 1 1-1h4v3.5c0 .83.67 1.5 1.5 1.5H15v8a1 1 0 0 1-1 1h-3.6c-.18.36-.4.7-.66 1H14a2 2 0 0 0 2-2V7.41c0-.4-.16-.78-.44-1.06l-3.91-3.91A1.5 1.5 0 0 0 10.59 2H6Zm8.8 5h-3.3a.5.5 0 0 1-.5-.5V3.2L14.8 7ZM10 14.5a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0Zm-4-2a.5.5 0 0 0-1 0V14H3.5a.5.5 0 0 0 0 1H5v1.5a.5.5 0 0 0 1 0V15h1.5a.5.5 0 0 0 0-1H6v-1.5Z"/></svg>')}`;function So(e){return yo.createElement(ko,{className:_o("icon__add-document",e.className),src:No})}var ce=xo(So);import{Components as Bo}from"botframework-webchat-component";import To from"classnames";import Co,{memo as Mo}from"react";var{MonochromeImageMasker:Ho}=Bo,Ao=`data:image/svg+xml;utf8,${encodeURIComponent('<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m4.83 10.48 5.65-5.65a3 3 0 0 1 4.25 4.24L8 15.8a1.5 1.5 0 0 1-2.12-2.12l6-6.01a.5.5 0 1 0-.7-.71l-6 6.01a2.5 2.5 0 0 0 3.53 3.54l6.71-6.72a4 4 0 1 0-5.65-5.66L4.12 9.78a.5.5 0 0 0 .7.7Z"/></svg>')}`;function Fo(e){return Co.createElement(Ho,{className:To("icon__attachment",e.className),src:Ao})}var le=Mo(Fo);import{Components as zo}from"botframework-webchat-component";import Lo from"classnames";import Eo,{memo as Po}from"react";var{MonochromeImageMasker:Do}=zo,Io=`data:image/svg+xml;utf8,${encodeURIComponent('<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M8.5 7.5a.5.5 0 1 0-1 0v3a.5.5 0 0 0 1 0v-3Zm.25-2a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1ZM2 8a6 6 0 1 1 12 0A6 6 0 0 1 2 8Z"/></svg>')}`;function Ro(e){return Eo.createElement(Do,{className:Lo("icon__info--small",e.className),src:Io})}var se=Po(Ro);import{Components as Oo}from"botframework-webchat-component";import Vo from"classnames";import Wo,{memo as Ko}from"react";var{MonochromeImageMasker:Xo}=Oo,Uo=`data:image/svg+xml;utf8,${encodeURIComponent('<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2.18 2.11a.5.5 0 0 1 .54-.06l15 7.5a.5.5 0 0 1 0 .9l-15 7.5a.5.5 0 0 1-.7-.58L3.98 10 2.02 2.63a.5.5 0 0 1 .16-.52Zm2.7 8.39-1.61 6.06L16.38 10 3.27 3.44 4.88 9.5h6.62a.5.5 0 1 1 0 1H4.88Z"/></svg>')}`;function Go(e){return Wo.createElement(Xo,{className:Vo("icon__send",e.className),src:Uo})}var de=Ko(Go);import{Components as jo}from"botframework-webchat-component";import Zo from"classnames";import $o,{memo as Yo}from"react";var{MonochromeImageMasker:qo}=jo,Jo=`data:image/svg+xml;utf8,${encodeURIComponent('<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M6 5.25a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5Zm0 4a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5ZM7.25 12a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0ZM10 5.25a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5ZM11.25 8a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0ZM10 13.25a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5ZM11.25 16a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0ZM14 5.25a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5ZM15.25 8a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0ZM14 13.25a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5Z"/></svg>')}`;function Qo(e){return $o.createElement(qo,{className:Zo("icon__telephone-keypad",e.className),src:Jo})}var be=Yo(Qo);function ea(e){let t=document.createElement("style");return t.append(document.createTextNode(e)),t}function Ye(...e){return function(){if(!globalThis.document)throw new Error("Unable to create styles: document is not defined");return e.map(t=>ea(t))}}var ta=".webchat-fluent .pa{background-color:var(--webchat-colorNeutralBackground4);border-radius:inherit;cursor:copy;display:grid;gap:8px;inset:0;place-content:center;place-items:center;position:absolute;transition:all var(--webchat-durationNormal) var(--webchat-curveDecelerateMid)}.webchat-fluent ._a{background-color:var(--webchat-colorBrandBackground2Hover)}.webchat-fluent .fa{font-size:36px;pointer-events:none}.webchat-fluent .ka{box-sizing:border-box;display:grid;gap:var(--webchat-spacingHorizontalXXXL);grid-template-areas:\"body\" \"toolbar\";grid-template-rows:auto auto;padding:var(--webchat-spacingHorizontalXXXL) var(--webchat-spacingHorizontalM);position:relative}.webchat-fluent .ma{align-items:center;display:flex;flex-flow:column nowrap;font-family:var(--webchat-fontFamilyBase);font-size:var(--webchat-fontSizeBase300);font-weight:var(--webchat-fontWeightRegular);gap:var(--webchat-spacingVerticalXS);grid-area:body;line-height:var(--webchat-lineHeightBase300);text-align:center}.webchat-fluent .xa{opacity:60%}.webchat-fluent .xa .ra{filter:grayscale(1)}.webchat-fluent .ra{border-radius:var(--webchat-borderRadiusMedium);height:64px;margin-block-end:var(--webchat-spacingVerticalM)}.webchat-fluent .Ba{color:var(--webchat-colorNeutralForeground1);font-family:inherit;font-size:var(--webchat-fontSizeHero700);font-weight:var(--webchat-fontWeightSemibold);line-height:var(--webchat-lineHeightHero700);margin:0;overflow-wrap:anywhere}.webchat-fluent .ya{font-size:var(--webchat-fontSizeBase300);line-height:var(--webchat-lineHeightBase300);overflow-wrap:anywhere}.webchat-fluent .Na{grid-area:toolbar}.webchat-fluent .Sa{-webkit-appearance:none;appearance:none;background-color:var(--webchat-colorNeutralBackground1);border:0;border-radius:16px;box-shadow:var(--webchat-shadow2);color:var(--webchat-colorNeutralForeground1);cursor:pointer;display:grid;gap:var(--webchat-spacingVerticalS);grid-template-areas:\"title\" \"subtitle\";grid-template-columns:1fr;grid-template-rows:auto 1fr;overflow:hidden;padding:16px 20px;text-align:left;transition:background-color var(--webchat-durationNormal) var(--webchat-curveDecelerateMid);-webkit-user-select:none;user-select:none}.webchat-fluent .Sa:has(.oa){grid-template-areas:\"image title\" \"image subtitle\";grid-template-columns:20px 1fr}.webchat-fluent .Sa:empty{row-gap:14px}.webchat-fluent .Sa:is([aria-disabled=true],:empty){cursor:default}.webchat-fluent .Sa[aria-disabled=true]:not(:empty){background-color:var(--webchat-colorNeutralBackgroundDisabled)}.webchat-fluent .Sa:hover:not([aria-disabled=true],:empty){background-color:var(--webchat-colorNeutralBackground1Hover)}.webchat-fluent .Sa:active:not([aria-disabled=true],:empty){background-color:var(--webchat-colorNeutralBackground1Pressed)}.webchat-fluent .Sa:focus-visible{outline:solid 2px var(--webchat-colorStrokeFocus2);outline-offset:-2px}.webchat-fluent .Sa:empty:after,.webchat-fluent .Sa:empty:before{animation:ta 3s linear infinite;background-attachment:fixed;background-image:linear-gradient(-90deg,var(--webchat-colorNeutralStencil1) 0%,var(--webchat-colorNeutralStencil2) 50%,var(--webchat-colorNeutralStencil1) 100%);background-size:300% 100%;content:\"\";display:block}@media (prefers-reduced-motion: reduce){.webchat-fluent .Sa:empty:after,.webchat-fluent .Sa:empty:before{animation-delay:-1s;animation-play-state:paused}}.webchat-fluent .Sa:dir(rtl):empty:after,.webchat-fluent .Sa:dir(rtl):empty:before{animation-direction:reverse}.webchat-fluent .Sa:empty:after{border-radius:16px;height:16px;width:100%}.webchat-fluent .Sa:empty:before{border-radius:18px;height:18px;width:66%}@keyframes ta{0%{background-position-x:0%}to{background-position-x:-300%}}.webchat-fluent .oa{color:var(--webchat-colorNeutralForeground4);font-size:20px;grid-area:image}.webchat-fluent .za{font-family:var(--webchat-fontFamilyBase);font-size:14px;font-weight:var(--webchat-fontWeightRegular);grid-area:subtitle;line-height:20px;pointer-events:none}.webchat-fluent .Ha{font-family:var(--webchat-fontFamilyBase);font-size:14px;font-weight:var(--webchat-fontWeightSemibold);grid-area:title;line-height:20px}.webchat-fluent .Fa{container-name:ca;container-type:inline-size}.webchat-fluent .la{display:grid;gap:var(--webchat-spacingHorizontalM);grid-template-columns:1fr 1fr 1fr;padding:0}@container ca (width <= 480px){.webchat-fluent .la{grid-template-columns:1fr}}.webchat-fluent .aa{display:contents;font-family:var(--webchat__font--primary);--webchat__bubble--inline-padding: var(--webchat-spacingHorizontalL);--webchat__bubble--block-padding: var(--webchat-spacingVerticalM);--webchat__bubble--min-height: var(--webchat-bubble-minHeight);--webchat__bubble--max-width: var(--webchat-bubble-maxWidth);--webchat__bubble--min-width: var(--webchat-bubble-minWidth);--webchat-bubble-maxWidth: var(--bubble-maxWidth, max(450px, 75%));--webchat-bubble-minWidth: var(--bubble-minWidth, auto);--webchat-bubble-minHeight: var(--bubble-minHeight, 36px);--webchat-externalLink-mask: var( --externalLink-mask, var(--webchat__icon-url--external-link) center center / 10px 10px );--webchat-externalLink-maxWidth: var(--externalLink-maxWidth, 204px)}.webchat-fluent .aa:has(.webchat__stacked-layout .webchat__bubble--from-user){--webchat__bubble--background-color: var(--webchat-colorBrandBackground2);--webchat__bubble--block-padding: var(--webchat-spacingVerticalS);--webchat__bubble--min-width: auto}.webchat-fluent .aa.Ma{--webchat__bubble--background-color: var(--webchat-colorNeutralBackground1);--webchat__bubble--border-radius: var(--webchat-borderRadiusXLarge);--webchat__bubble--box-shadow: var(--webchat-shadow4)}.webchat-fluent .aa.ia{--webchat__bubble--border-radius: var(--webchat-borderRadiusXLarge)}.webchat-fluent .aa.ia .webchat__activity-status{margin:0 0 var(--webchat-spacingHorizontalXXS)}.webchat-fluent .aa.ia .webchat__stacked-layout__status{order:-1}.webchat-fluent .aa.ia:has(.webchat__bubble--from-user) .webchat__bubble{margin-block-end:var(--webchat-spacingVerticalM)}.webchat-fluent .aa.ia .webchat__bubble .webchat__text-content .webchat__text-content__generated-badge{display:none}.webchat-fluent .aa.ia:not(:has(.webchat__bubble--from-user)){--webchat__bubble--block-padding: 0;--webchat__bubble--border-radius: var(--webchat-borderRadiusMedium);--webchat__bubble--inline-padding: 0;--webchat__bubble--max-width: 100%;--webchat__bubble--min-height: 20px;display:flex;flex-flow:column nowrap;gap:var(--webchat-spacingVerticalS);margin-inline:var(--webchat-spacingHorizontalM);padding:var(--webchat-spacingVerticalMNudge) var(--webchat-spacingHorizontalM) var(--webchat-spacingVerticalM);position:relative}.webchat-fluent .aa.ia:not(:has(.webchat__bubble--from-user)) .webchat__stacked-layout{margin:0;position:static}.webchat-fluent .aa.ia:not(:has(.webchat__bubble--from-user)) .webchat__bubble{position:static;width:var(--webchat__bubble--max-width)}.webchat-fluent .aa.ia:not(:has(.webchat__bubble--from-user)) .webchat__bubble .webchat__bubble__content{overflow:visible}.webchat-fluent .aa.ia:not(:has(.webchat__bubble--from-user)) .webchat__text-content{margin-inline-start:28px}.webchat-fluent .aa.ia:not(:has(.webchat__bubble--from-user)) .border-loader{display:flex;flex-flow:column nowrap;gap:var(--webchat-spacingVerticalS);padding-inline-end:var(--webchat-spacingHorizontalM);width:500px}.webchat-fluent .aa.ia:not(:has(.webchat__bubble--from-user)) .border-loader__track{border-radius:inherit;box-sizing:border-box;clip-path:border-box;margin-inline-start:28px;order:-1;width:auto}.webchat-fluent .aa.ia:not(:has(.webchat__bubble--from-user)) .webchat__stacked-layout__status{display:none}.webchat-fluent .aa .webchat__basic-transcript__activity-body:not(:empty){padding-block-end:var(--webchat-spacingVerticalXL)}.webchat-fluent .aa .webchat__stacked-layout{display:flex;flex-flow:column nowrap}.webchat-fluent .aa .webchat__stacked-layout .webchat__stacked-layout__content:has(.webchat__bubble){max-width:100%;overflow:visible}.webchat-fluent .aa .webchat__stacked-layout .webchat__stacked-layout__status{font-size:var(--webchat__font-size--small);line-height:var(--webchat__line-height--small)}.webchat-fluent .aa .webchat__stacked-layout .webchat__bubble{max-width:min(var(--webchat__bubble--max-width),100%);min-width:var(--webchat__bubble--min-width);overflow:visible}.webchat-fluent .aa .webchat__stacked-layout .webchat__bubble:has(.border-loader){width:100%}.webchat-fluent .aa .webchat__stacked-layout .webchat__bubble:has(.activity-loader) .webchat__bubble__content{background:transparent;box-shadow:none}.webchat-fluent .aa .webchat__stacked-layout .webchat__bubble .webchat__bubble__content{background-color:var(--webchat__bubble--background-color);border-radius:var(--webchat__bubble--border-radius);border-width:0;box-shadow:var(--webchat__bubble--box-shadow);box-sizing:border-box;color:var(--webchat-colorNeutralForeground1);max-width:100%;min-height:var(--webchat__bubble--min-height)}.webchat-fluent .aa .webchat__stacked-layout .webchat__bubble .webchat__text-content{font-size:var(--webchat__font-size--medium);line-height:var(--webchat__line-height--medium);min-height:auto;padding-block:var(--webchat__bubble--block-padding);padding-inline:var(--webchat__bubble--inline-padding)}.webchat-fluent .aa .webchat__stacked-layout .webchat__bubble .webchat__text-content:empty{padding-block-end:0}.webchat-fluent .aa .webchat__stacked-layout .webchat__bubble .webchat__text-content+.webchat__text-content{margin-top:calc(var(--webchat__bubble--block-padding) * -1)}.webchat-fluent .aa .webchat__stacked-layout .webchat__bubble .webchat__text-content__generated-badge{align-items:center;align-self:flex-start;background-color:var(--webchat-colorNeutralBackground5);border-radius:var(--webchat-borderRadiusMedium);box-sizing:border-box;color:var(--webchat-colorNeutralForeground3);cursor:default;display:inline-flex;font-size:var(--webchat-fontSizeBase100);height:16px;line-height:var(--webchat-lineHeightBase100);padding-inline:var(--webchat-spacingHorizontalXS)}.webchat-fluent .aa .webchat__stacked-layout .webchat__bubble .webchat__fileContent__badge{cursor:default;font-size:var(--webchat-fontSizeBase300);line-height:var(--webchat-lineHeightBase300)}.webchat-fluent .aa .webchat__stacked-layout .webchat__bubble .webchat__fileContent__badge .webchat__fileContent__fileName{color:var(--webchat-colorBrandForegroundLink);font-family:inherit}.webchat-fluent .aa .webchat__stacked-layout .webchat__bubble .webchat__fileContent__badge .webchat__fileContent__size{color:var(--webchat-colorNeutralForeground2);font-family:inherit}.webchat-fluent .aa .webchat__render-markdown a[href]:not(.webchat__render-markdown__pure-identifier){color:var(--webchat-colorBrandForegroundLink);text-decoration-color:transparent}.webchat-fluent .aa .webchat__render-markdown a[href]:not(.webchat__render-markdown__pure-identifier):target{color:var(--webchat-colorBrandForegroundLinkSelected)}.webchat-fluent .aa .webchat__render-markdown a[href]:not(.webchat__render-markdown__pure-identifier):hover{color:var(--webchat-colorBrandForegroundLinkHover);text-decoration:underline 1px currentColor}.webchat-fluent .aa .webchat__render-markdown a[href]:not(.webchat__render-markdown__pure-identifier):active{color:var(--webchat-colorBrandForegroundLinkPressed)}.webchat-fluent .aa .webchat__render-markdown a[href]:not(.webchat__render-markdown__pure-identifier):focus-visible{outline:none;text-decoration:underline 1px double var(--webchat-colorStrokeFocus2)}.webchat-fluent .aa .webchat__render-markdown a[href]:not(.webchat__render-markdown__pure-identifier) .webchat__render-markdown__external-link-icon{background:currentColor;-webkit-mask:var(--webchat__icon-url--external-link) no-repeat;mask:var(--webchat__icon-url--external-link) no-repeat}.webchat-fluent .aa .webchat__render-markdown .webchat__render-markdown__citation,.webchat-fluent .aa .webchat__render-markdown .webchat__render-markdown__pure-identifier{align-items:center;background-color:var(--webchat-colorNeutralBackground3);border-radius:var(--webchat-borderRadiusMedium);border:var(--webchat-strokeWidthThin) solid var(--webchat-colorNeutralStroke2);box-sizing:border-box;color:var(--webchat-colorNeutralForeground2);display:inline-flex;font-size:var(--webchat-fontSizeBase100);font-weight:var(--webchat-fontWeightSemibold);height:14px;justify-content:center;line-height:var(--webchat-lineHeightBase100);margin-left:var(--webchat-spacingHorizontalXXS);margin-right:var(--webchat-spacingHorizontalXXS);min-width:14px;text-decoration:none;transition:all var(--webchat-durationNormal) var(--webchat-curveDecelerateMid);vertical-align:calc((var(--webchat-lineHeightBase100) - var(--webchat-fontSizeBase100)) / 2)}:is(.webchat-fluent .aa .webchat__render-markdown .webchat__render-markdown__citation,.webchat-fluent .aa .webchat__render-markdown .webchat__render-markdown__pure-identifier):hover{background-color:var(--webchat-colorBrandBackground2Hover);border-color:var(--webchat-colorBrandStroke2Hover);color:var(--webchat-colorBrandForeground2Hover);cursor:pointer}:is(.webchat-fluent .aa .webchat__render-markdown .webchat__render-markdown__citation,.webchat-fluent .aa .webchat__render-markdown .webchat__render-markdown__pure-identifier):hover:active{background-color:var(--webchat-colorBrandBackground2Pressed);border-color:var(--webchat-colorBrandStroke2Pressed);color:var(--webchat-colorBrandForeground2Pressed)}:is(.webchat-fluent .aa .webchat__render-markdown .webchat__render-markdown__citation,.webchat-fluent .aa .webchat__render-markdown .webchat__render-markdown__pure-identifier):before,:is(.webchat-fluent .aa .webchat__render-markdown .webchat__render-markdown__citation,.webchat-fluent .aa .webchat__render-markdown .webchat__render-markdown__pure-identifier):after{all:unset}:is(.webchat-fluent .aa .webchat__render-markdown .webchat__render-markdown__citation,.webchat-fluent .aa .webchat__render-markdown .webchat__render-markdown__pure-identifier):has(.webchat__render-markdown__external-link-icon){padding-inline:3px}:is(.webchat-fluent .aa .webchat__render-markdown .webchat__render-markdown__citation,.webchat-fluent .aa .webchat__render-markdown .webchat__render-markdown__pure-identifier) .webchat__render-markdown__external-link-icon{background:currentColor;height:.7em;-webkit-mask:var(--webchat__icon-url--external-link) no-repeat;mask:var(--webchat__icon-url--external-link) no-repeat}.webchat-fluent .aa .webchat__link-definitions__header{border-radius:var(--webchat-borderRadiusMedium)}.webchat-fluent .aa .webchat__link-definitions__header .webchat__link-definitions__header-text{color:var(--webchat-colorNeutralForeground3)}.webchat-fluent .aa .webchat__link-definitions__header .webchat__link-definitions__header-chevron{fill:var(--webchat-colorNeutralForeground3);font-size:var(--webchat__font-size--small);width:1em}.webchat-fluent .aa .webchat__link-definitions__header:focus-visible{outline-offset:1px;outline:var(--webchat-strokeWidthThin) solid var(--webchat-colorStrokeFocus2)}.webchat-fluent .aa .webchat__link-definitions{--webchat__citation__external-link--mask: var(--webchat-externalLink-mask);--webchat__citation__link--max-width: var(--webchat-externalLink-maxWidth)}.webchat-fluent .aa .webchat__link-definitions .webchat__link-definitions__list{color:var(--webchat__color--subtle);display:flex;flex-flow:row wrap;gap:var(--webchat-spacingHorizontalS)}.webchat-fluent .aa .webchat__link-definitions .webchat__link-definitions__list-item{border-radius:var(--webchat-borderRadiusMedium);max-width:var(--webchat__citation__link--max-width)}.webchat-fluent .aa .webchat__link-definitions .webchat__link-definitions__list-item-box{background-color:var(--webchat-colorNeutralBackground3);border-radius:var(--webchat-borderRadiusMedium);border:var(--webchat-strokeWidthThin) solid var(--webchat-colorNeutralStroke2);box-sizing:border-box;color:currentColor;display:inline-flex;font-size:var(--webchat__font-size--small);height:24px;padding-inline-end:var(--webchat-spacingHorizontalS)}.webchat-fluent .aa .webchat__link-definitions .webchat__link-definitions__list-item-body{font-family:inherit;gap:var(--webchat-spacingHorizontalSNudge);min-width:0;padding:0}.webchat-fluent .aa .webchat__link-definitions .webchat__link-definitions__badge{align-self:center;background-color:transparent;border-radius:0;border:none;color:currentColor;font-size:var(--webchat-fontSizeBase100);font-weight:var(--webchat-fontWeightSemibold);line-height:var(--webchat-lineHeightBase100);margin:0;min-width:20px;padding:0;position:relative;text-align:center}.webchat-fluent .aa .webchat__link-definitions .webchat__link-definitions__badge:after{border-right:var(--webchat-strokeWidthThin) solid var(--webchat-colorNeutralStroke2);bottom:0;content:\"\";display:block;height:16px;position:absolute;right:0;top:0;width:0}.webchat-fluent .aa .webchat__link-definitions .webchat__link-definitions__list-item-main-text{gap:var(--webchat-spacingHorizontalXS)}.webchat-fluent .aa .webchat__link-definitions .webchat__link-definitions__list-item-text{color:currentColor;text-decoration:none;text-overflow:ellipsis}.webchat-fluent .aa .webchat__link-definitions .webchat__link-definitions__list-item-main-text:has(.webchat__link-definitions__open-in-new-window-icon):before{align-self:center;background:currentColor;color:currentColor;content:\"\";flex:none;font-size:var(--webchat-fontSizeBase400);height:1em;-webkit-mask:var(--webchat__citation__external-link--mask) no-repeat;mask:var(--webchat__citation__external-link--mask) no-repeat;padding:0;width:1em}.webchat-fluent .aa .webchat__link-definitions :is(.webchat__link-definitions__list-item-badge,.webchat__link-definitions__open-in-new-window-icon){display:none}.webchat-fluent .Wa{align-items:center;box-sizing:border-box;cursor:default;display:flex;flex-wrap:nowrap;gap:var(--webchat-spacingHorizontalS);max-width:var(--webchat__bubble--max-width)}.webchat-fluent .Xa{aspect-ratio:1;background-color:var(--background-color);border-radius:var(--webchat-borderRadiusSmall);width:20px}.webchat-fluent .La{font-size:var(--webchat-fontSizeBase300);font-weight:var(--webchat-fontWeightSemibold);line-height:var(--webchat-lineHeightBase300);overflow:hidden;text-overflow:ellipsis;text-wrap:nowrap}.webchat-fluent .Va{align-items:center;background-color:var(--webchat-colorNeutralBackground5);border-radius:var(--webchat-borderRadiusMedium);color:var(--webchat-colorNeutralForeground3);display:flex;flex:none;font-size:var(--webchat-fontSizeBase100);height:20px;line-height:var(--webchat-lineHeightBase100);padding-inline:var(--webchat-spacingHorizontalXS)}.webchat-fluent .Ta{align-items:center;background:transparent;border-radius:var(--webchat-borderRadiusXLarge);border:var(--webchat-strokeWidthThin) solid var(--webchat-colorBrandStroke2);color:currentColor;cursor:pointer;display:flex;font-family:var(--webchat__font--primary);font-size:var(--webchat-fontSizeBase200);gap:var(--webchat-spacingHorizontalXS);padding:var(--webchat-spacingVerticalXS) var(--webchat-spacingHorizontalS);text-align:start;transition:all var(--webchat-durationNormal) var(--webchat-curveDecelerateMid)}@media (hover: hover){.webchat-fluent .Ta:not([aria-disabled=true]):hover{background-color:var(--webchat-colorBrandBackground2Hover);color:var(--webchat-colorBrandForeground2Hover)}}.webchat-fluent .Ta:not([aria-disabled=true]):active{background-color:var(--webchat-colorBrandBackground2Pressed);color:var(--webchat-colorBrandForeground2Pressed)}.webchat-fluent .Ta[aria-disabled=true]{color:var(--webchat-colorNeutralForegroundDisabled);cursor:not-allowed}.webchat-fluent .Ra{font-size:var(--webchat-fontSizeBase200);height:1em;width:1em}.webchat-fluent .Pa{align-items:flex-end;align-self:flex-end;display:flex;flex-direction:column;gap:8px}.webchat-fluent .Pa:not(:empty){padding-block-end:8px;padding-inline-start:4px}.webchat-fluent .Pa.Da{flex-direction:row;flex-wrap:wrap;justify-content:flex-end}.webchat-fluent .Pa.Ca{flex-direction:column}.webchat-fluent .na{-webkit-user-select:none;align-items:center;-webkit-appearance:none;appearance:none;background-color:#fff;border-radius:100%;border:solid 1px var(--webchat-colorNeutralStroke1);color:var(--webchat-colorGray200);font-weight:var(--webchat-fontWeightSemibold);cursor:pointer;display:flex;flex-direction:column;height:60px;opacity:.7;padding:0;position:relative;touch-action:none;user-select:none;width:60px}.webchat-fluent .na:hover{background-color:var(--webchat-colorGray30)}.webchat-fluent .ba{color:var(--webchat-colorGray190);font-size:10px}.webchat-fluent .da{font-size:24px;margin-top:8px}.webchat-fluent .Ga .na{height:32px;justify-content:center;margin:8px 4px;width:32px}.webchat-fluent .Ga .ba{display:none}.webchat-fluent .Ga .da{font-size:20px;margin-top:0}.webchat-fluent .Ua{align-items:center;background:var(--webchat-colorNeutralBackground1);border:none;border-radius:var(--webchat-borderRadiusXLarge);display:flex;flex-direction:column;font-family:var(--webchat-fontFamilyBase);justify-content:center}.webchat-fluent .ja{box-sizing:border-box;display:grid;gap:16px;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(4,1fr);justify-items:center;padding:16px;width:100%}.webchat-fluent .Aa{align-items:center;color:var(--webchat-colorNeutralForeground4);display:flex;font-size:12px;gap:6px;margin-block-end:6px}.webchat-fluent .Ia{color:var(--webchat-colorBrandForegroundLink);text-decoration-color:transparent}.webchat-fluent .Ia:target{color:var(--webchat-colorBrandForegroundLinkSelected)}.webchat-fluent .Ia:hover{color:var(--webchat-colorBrandForegroundLinkHover);text-decoration:underline 1px currentColor}.webchat-fluent .Ia:active{color:var(--webchat-colorBrandForegroundLinkPressed)}.webchat-fluent .Ia:focus-visible{outline:none;text-decoration:underline 1px double var(--webchat-colorStrokeFocus2)}.webchat-fluent .Ka{--webchat__sendbox-button-height: 32px;display:flex;gap:4px;height:var(--webchat__sendbox-button-height);margin-inline-start:auto}.webchat-fluent .Oa{align-items:center;-webkit-appearance:none;appearance:none;aspect-ratio:1;background:transparent;border-radius:var(--webchat-borderRadiusSmall);border:none;color:currentColor;cursor:pointer;display:flex;height:var(--webchat__sendbox-button-height);justify-content:center;padding:3px}.webchat-fluent .Oa>.webchat__monochrome-image-masker{font-size:20px;pointer-events:none}.webchat-fluent .Oa.Ea{color:var(--webchat-colorNeutralForeground2BrandSelected)}@media (hover: hover){.webchat-fluent .Oa:not([aria-disabled=true]):hover{color:var(--webchat-colorNeutralForeground2BrandHover)}}.webchat-fluent .Oa:not([aria-disabled=true]):active{color:var(--webchat-colorNeutralForeground2BrandPressed)}.webchat-fluent .Oa[aria-disabled=true]{color:var(--webchat-colorNeutralForegroundDisabled);cursor:not-allowed}.webchat-fluent .qa{align-self:center;border-inline-end:1px solid var(--webchat-colorNeutralStroke2);height:28px}.webchat-fluent .qa:is(:first-child,:last-child,:only-child){display:none}.webchat-fluent .Ja{display:grid}.webchat-fluent .Qa{font-size:0;height:0;opacity:0;width:1px}.webchat-fluent .Ya{border-radius:var(--webchat-borderRadiusLarge);border:1px solid var(--webchat-colorNeutralStroke1);cursor:default;padding:6px 8px;width:fit-content}.webchat-fluent .Za{color:transparent;font-size:0;height:0;left:0;position:absolute;top:0;width:0}.webchat-fluent .ha{--webchat__sendbox--padding: var(--webchat__padding--sendbox);color:var(--webchat-colorNeutralForeground1);font-family:var(--webchat-fontFamilyBase);padding:var(--webchat__sendbox--padding);text-rendering:optimizeLegibility;--webchat-sendbox-attachment-area-active: ;--webchat-sendbox-border-radius: var(--webchat-borderRadiusLarge)}.webchat-fluent .ha.ae .sa:not(.ua){visibility:hidden}.webchat-fluent .ee{background-color:var(--webchat-colorNeutralBackground1);border-radius:var(--webchat-sendbox-border-radius);border:1px solid var(--webchat-colorNeutralStroke1);display:grid;font-family:var(--webchat-fontFamilyBase);font-size:14px;gap:6px;grid-template:[telephone-keypad-start] \"text-area\" [telephone-keypad-end] var(--webchat-sendbox-attachment-area-active) \"controls\" / [telephone-keypad] 1fr;line-height:20px;padding:8px;position:relative}.webchat-fluent .ee:has(.wa){--webchat-sendbox-attachment-area-active: \"attachment\"}.webchat-fluent .ee:focus-within{border-color:var(--webchat-colorNeutralStroke1Selected)}.webchat-fluent .ee:after{border-bottom-left-radius:var(--webchat-sendbox-border-radius);border-bottom-right-radius:var(--webchat-sendbox-border-radius);border-bottom:var(--webchat-strokeWidthThicker) solid var(--webchat-colorCompoundBrandForeground1Hover);bottom:-1px;clip-path:inset(calc(100% - var(--webchat-strokeWidthThicker)) 50% 0 50%);content:\"\";height:var(--webchat-sendbox-border-radius);left:-1px;position:absolute;right:-1px;transition:clip-path var(--webchat-durationUltraFast) var(--webchat-curveAccelerateMid)}.webchat-fluent .ee:focus-within:after{clip-path:inset(calc(100% - var(--webchat-strokeWidthThicker)) 0 0 0);transition:clip-path var(--webchat-durationNormal) var(--webchat-curveDecelerateMid)}.webchat-fluent .ee>.re{grid-area:text-area}.webchat-fluent .ee>.wa{grid-area:attachment}.webchat-fluent .ee>.oe{grid-area:controls}.webchat-fluent .ee>.te{grid-area:telephone-keypad}.webchat-fluent .ce{background-color:transparent;border:none;flex:auto;font-family:var(--webchat-fontFamilyBase);font-size:14px;line-height:20px;outline:none;margin:var(--webchat-spacingVerticalXS) var(--webchat-spacingHorizontalXS) var(--webchat-spacingVerticalNone);resize:none}@media only screen and (hover: none) and (pointer: coarse){.webchat-fluent .ce:focus-within{font-size:16px}}.webchat-fluent .le{align-items:center;display:flex;padding-inline-start:4px}.webchat-fluent .sa{color:var(--webchat-colorNeutralForeground4);cursor:default;font-family:var(--webchat-fontFamilyNumeric);font-size:10px;line-height:14px;margin-inline-end:4px}.webchat-fluent .ua{color:var(--webchat-colorStatusDangerForeground1)}.webchat-fluent .ie{display:grid;grid-template-areas:\"main\";max-height:200px;overflow:auto;scrollbar-gutter:stable}.webchat-fluent .ne{height:0;visibility:collapse}.webchat-fluent .be .ga{visibility:unset}.webchat-fluent .be .va{background-color:transparent;caret-color:var(--webchat-colorNeutralForeground1);color:transparent}.webchat-fluent .be textarea::placeholder{color:transparent}.webchat-fluent .de{border:none;font:inherit;grid-area:main;outline:inherit;overflow-wrap:anywhere;resize:inherit}.webchat-fluent .ga{overflow:visible;pointer-events:none;-webkit-user-select:none;user-select:none;visibility:hidden;white-space:pre-wrap}.webchat-fluent .va{background-color:inherit;color:currentColor;contain:size;overflow:hidden;padding:0}.webchat-fluent .he{scrollbar-color:unset;scrollbar-width:unset;-moz-scrollbar-color:var(--webchat-colorNeutralBackground5) var(--webchat-colorNeutralForeground2);-moz-scrollbar-width:thin}.webchat-fluent .he::-webkit-scrollbar{width:8px}.webchat-fluent .he::-webkit-scrollbar-track{background-color:var(--webchat-colorNeutralBackground5);border-radius:16px}.webchat-fluent .he::-webkit-scrollbar-thumb{background-color:var(--webchat-colorNeutralForeground2);border-radius:16px}.webchat-fluent .he::-webkit-scrollbar-corner{background-color:var(--webchat-colorNeutralBackground5)}.webchat-fluent .se{flex:none;height:8px;margin:var(--webchat-spacingHorizontalM) 0 0 18px;width:auto}.webchat-fluent .se.ue{margin:0 0 var(--webchat-spacingHorizontalM) var(--webchat-spacingVerticalSNudge)}.webchat-fluent .we{align-items:center;box-sizing:border-box;color:var(--webchat-colorNeutralForeground3);display:flex;flex-direction:row;font-family:var(--webchat__font--primary);font-size:var(--webchat-fontSizeBase200);font-weight:var(--webchat-fontWeightRegular);gap:var(--webchat-spacingHorizontalM);line-height:var(--webchat-lineHeightBase200);padding:var(--webchat-spacingVerticalSNudge) var(--webchat-spacingHorizontalM);text-align:center;width:100%}.webchat-fluent .we:before,.webchat-fluent .we:after{border-top:var(--webchat-strokeWidthThin) solid var(--webchat-colorNeutralStroke2);content:\"\";display:flex;flex:auto;min-width:8px}.webchat-fluent .ge{text-align:center}.webchat-fluent._{display:contents;--webchat-colorNeutralForegroundDisabled: var(--colorNeutralForegroundDisabled, #bdbdbd);--webchat-colorNeutralForeground1: var(--colorNeutralForeground1, #242424);--webchat-colorNeutralForeground1Hover: var(--colorNeutralForeground1Hover, #242424);--webchat-colorNeutralForeground1Pressed: var(--colorNeutralForeground1Pressed, #242424);--webchat-colorNeutralForeground2: var(--colorNeutralForeground2, #424242);--webchat-colorNeutralForeground2BrandHover: var(--colorNeutralForeground2BrandHover, #02729c);--webchat-colorNeutralForeground2BrandPressed: var(--colorNeutralForeground2BrandPressed, #01678c);--webchat-colorNeutralForeground2BrandSelected: var(--colorNeutralForeground2BrandSelected, #067191);--webchat-colorNeutralForeground3: var(--colorNeutralForeground3, #616161);--webchat-colorNeutralForeground4: var(--colorNeutralForeground4, #707070);--webchat-colorNeutralForeground5: var(--colorNeutralForeground5, #7e7e7e);--webchat-colorNeutralForegroundOnBrand: var(--colorNeutralForegroundOnBrand, #fff);--webchat-colorNeutralBackgroundDisabled: var(--colorNeutralBackgroundDisabled, #f0f0f0);--webchat-colorNeutralBackground1: var(--colorNeutralBackground1, #ffffff);--webchat-colorNeutralBackground1Hover: var(--colorNeutralBackground1Hover, #f5f5f5);--webchat-colorNeutralBackground1Pressed: var(--colorNeutralBackground1Pressed, #e0e0e0);--webchat-colorNeutralBackground3: var(--colorNeutralBackground3, #f5f5f5);--webchat-colorNeutralBackground4: var(--colorNeutralBackground4, #f0f0f0);--webchat-colorNeutralBackground5: var(--colorNeutralBackground5, #ebebeb);--webchat-colorNeutralBackground6: var(--colorNeutralBackground6, #e6e6e6);--webchat-colorNeutralStencil1: var(--colorNeutralStencil1, #e6e6e6);--webchat-colorNeutralStencil2: var(--colorNeutralStencil2, #fafafa);--webchat-colorNeutralShadowAmbient: var(--colorNeutralShadowAmbient, rgba(0, 0, 0, .12));--webchat-colorNeutralShadowKey: var(--colorNeutralShadowKey, rgba(0, 0, 0, .14));--webchat-colorTransparentBackground: var(--colorTransparentBackground, rgba(0, 0, 0, .4));--webchat-colorNeutralStrokeDisabled: var(--colorNeutralStrokeDisabled, #e0e0e0);--webchat-colorNeutralStroke1: var(--colorNeutralStroke1, #d1d1d1);--webchat-colorNeutralStroke1Hover: var(--colorNeutralStroke1Hover, #c7c7c7);--webchat-colorNeutralStroke1Pressed: var(--colorNeutralStroke1Pressed, #b3b3b3);--webchat-colorNeutralStroke1Selected: var(--colorNeutralStroke1Selected, #bdbdbd);--webchat-colorNeutralStroke2: var(--colorNeutralStroke2, #e0e0e0);--webchat-colorStrokeFocus2: var(--colorStrokeFocus2, #000000);--webchat-colorBrandStroke2: var(--colorBrandStroke2, #9edcf7);--webchat-colorBrandStroke2Pressed: var(--colorBrandStroke2Pressed, #01384d);--webchat-colorTransparentStroke: var(--colorTransparentStroke, transparent);--webchat-colorBrandForeground1: var(--colorBrandForeground1, #01678c);--webchat-colorBrandForeground2Hover: var(--colorBrandForeground2Hover, #015a7a);--webchat-colorBrandForeground2Pressed: var(--colorBrandForeground2Pressed, #01384d);--webchat-colorBrandForegroundLink: var(--colorBrandForegroundLink, #01678c);--webchat-colorBrandForegroundLinkHover: var(--colorBrandForegroundLinkHover, #015a7a);--webchat-colorBrandForegroundLinkPressed: var(--colorBrandForegroundLinkPressed, #014259);--webchat-colorBrandForegroundLinkSelected: var(--colorBrandForegroundLinkSelected, #01678c);--webchat-colorBrandBackground: var(--colorBrandBackground, #077fab);--webchat-colorBrandBackgroundHover: var(--colorBrandBackgroundHover, #06729a);--webchat-colorBrandBackgroundPressed: var(--colorBrandBackgroundPressed, #044760);--webchat-colorBrandBackground2: var(--colorBrandBackground2, #def2fc);--webchat-colorBrandBackground2Hover: var(--colorBrandBackground2Hover, #bee7fa);--webchat-colorBrandBackground2Pressed: var(--colorBrandBackground2Pressed, #7fd2f5);--webchat-colorCompoundBrandForeground1Hover: var(--colorCompoundBrandForeground1Hover, #02729c);--webchat-colorStatusDangerForeground1: var(--colorStatusDangerForeground1, #b10e1c);--webchat-colorGray30: var(--colorGray30, #edebe9);--webchat-colorGray160: var(--colorGray160, #323130);--webchat-colorGray190: var(--colorGray190, #201f1e);--webchat-colorGray200: var(--colorGray200, #1b1a19);--webchat-colorGrey8: #141414;--webchat-colorGrey14: #242424;--webchat-colorGrey92: #ebebeb;--webchat-colorGrey98: #fafafa;--webchat-shadow2: var(--shadow2, 0 0 2px rgba(0, 0, 0, 12%), 0 1px 2px rgba(0, 0, 0, 14%));--webchat-shadow4: var(--shadow4, 0 0 2px rgba(0, 0, 0, .12), 0 2px 4px rgba(0, 0, 0, .14));--webchat-shadow16: var(--shadow16, 0 6.4px 14.4px 0 rgba(0, 0, 0, .132), 0 1.2px 3.6px 0 rgba(0, 0, 0, .108));--webchat-shadow64: var(--shadow64, 0 0 8px rgba(0, 0, 0, .12), 0 32px 64px rgba(0, 0, 0, .14));--webchat-spacingHorizontalNone: var(--spacingHorizontalNone, 0);--webchat-spacingHorizontalXXS: var(--spacingHorizontalXXS, 2px);--webchat-spacingHorizontalXS: var(--spacingHorizontalXS, 4px);--webchat-spacingHorizontalSNudge: var(--spacingHorizontalSNudge, 6px);--webchat-spacingHorizontalS: var(--spacingHorizontalS, 8px);--webchat-spacingHorizontalMNudge: var(--spacingHorizontalMNudge, 10px);--webchat-spacingHorizontalM: var(--spacingHorizontalM, 12px);--webchat-spacingHorizontalL: var(--spacingHorizontalL, 16px);--webchat-spacingHorizontalXL: var(--spacingHorizontalXL, 20px);--webchat-spacingHorizontalXXL: var(--spacingHorizontalXXL, 24px);--webchat-spacingHorizontalXXXL: var(--spacingHorizontalXXXL, 32px);--webchat-spacingVerticalNone: var(--spacingVerticalNone, 0);--webchat-spacingVerticalXXS: var(--spacingVerticalXXS, 2px);--webchat-spacingVerticalXS: var(--spacingVerticalXS, 4px);--webchat-spacingVerticalSNudge: var(--spacingVerticalSNudge, 6px);--webchat-spacingVerticalS: var(--spacingVerticalS, 8px);--webchat-spacingVerticalMNudge: var(--spacingVerticalMNudge, 10px);--webchat-spacingVerticalM: var(--spacingVerticalM, 12px);--webchat-spacingVerticalL: var(--spacingVerticalL, 16px);--webchat-spacingVerticalXL: var(--spacingVerticalXL, 20px);--webchat-spacingVerticalXXL: var(--spacingVerticalXXL, 24px);--webchat-spacingVerticalXXXL: var(--spacingVerticalXXXL, 32px);--webchat-fontFamilyBase: var( --fontFamilyBase, \"Segoe UI\", \"Segoe UI Web (West European)\", -apple-system, BlinkMacSystemFont, Roboto, \"Helvetica Neue\", sans-serif );--webchat-fontFamilyMonospace: var(--fontFamilyMonospace, Consolas, \"Courier New\", Courier, monospace);--webchat-fontFamilyNumeric: var( --fontFamilyNumeric, Bahnschrift, \"Segoe UI\", \"Segoe UI Web (West European)\", -apple-system, BlinkMacSystemFont, Roboto, \"Helvetica Neue\", sans-serif );--webchat-fontWeightRegular: var(--fontWeightRegular, 400);--webchat-fontWeightSemibold: var(--fontWeightSemibold, 600);--webchat-fontSizeBase100: var(--fontSizeBase100, 10px);--webchat-fontSizeBase200: var(--fontSizeBase200, 12px);--webchat-fontSizeBase300: var(--fontSizeBase300, 14px);--webchat-fontSizeBase400: var(--fontSizeBase400, 16px);--webchat-fontSizeBase500: var(--fontSizeBase500, 20px);--webchat-fontSizeBase600: var(--fontSizeBase600, 24px);--webchat-fontSizeHero700: var(--fontSizeHero700, 28px);--webchat-fontSizeHero800: var(--fontSizeHero800, 32px);--webchat-fontSizeHero900: var(--fontSizeHero900, 40px);--webchat-lineHeightBase100: var(--lineHeightBase100, 14px);--webchat-lineHeightBase200: var(--lineHeightBase200, 16px);--webchat-lineHeightBase300: var(--lineHeightBase300, 20px);--webchat-lineHeightBase400: var(--lineHeightBase400, 22px);--webchat-lineHeightBase500: var(--lineHeightBase500, 28px);--webchat-lineHeightBase600: var(--lineHeightBase600, 32px);--webchat-lineHeightHero700: var(--lineHeightHero700, 36px);--webchat-lineHeightHero800: var(--lineHeightHero800, 40px);--webchat-lineHeightHero900: var(--lineHeightHero900, 52px);--webchat-lineHeightHero1000: var(--lineHeightHero1000, 92px);--webchat-borderRadiusSmall: var(--borderRadiusSmall, 2px);--webchat-borderRadiusMedium: var(--borderRadiusMedium, 4px);--webchat-borderRadiusLarge: var(--borderRadiusLarge, 6px);--webchat-borderRadiusXLarge: var(--borderRadiusXLarge, 8px);--webchat-strokeWidthThin: var(--strokeWidthThin, 1px);--webchat-strokeWidthThick: var(--strokeWidthThick, 2px);--webchat-strokeWidthThicker: var(--strokeWidthThicker, 3px);--webchat-durationUltraFast: var(--durationUltraFast, 0);--webchat-durationNormal: var(--durationNormal, .2s);--webchat-durationUltraSlow: var(--durationUltraSlow, .5s);--webchat-curveAccelerateMid: var(--curveAccelerateMid, cubic-bezier(1, 0, 1, 1));--webchat-curveDecelerateMid: var(--curveDecelerateMid, cubic-bezier(0, 0, 0, 1))}@media (prefers-reduced-motion){.webchat-fluent._{--webchat-durationUltraFast: .01ms;--webchat-durationNormal: .01ms}}.webchat-fluent._ .webchat__css-custom-properties{--webchat__color--accent: var(--webchat-colorBrandForeground1);--webchat__color--subtle: var(--webchat-colorNeutralForeground2);--webchat__color--timestamp: var(--webchat-colorNeutralForeground3);--webchat__font--primary: var(--webchat-fontFamilyBase);--webchat__font-size--small: var(--webchat-fontSizeBase200);--webchat__font-size--medium: var(--webchat-fontSizeBase300);--webchat__line-height--small: var(--webchat-lineHeightBase200);--webchat__line-height--medium: var(--webchat-lineHeightBase300);--webchat__max-width--bubble: var(--webchat-bubble-maxWidth);--webchat__min-height--bubble: var(--webchat-bubble-minHeight);--webchat__padding--regular: var(--webchat-spacingVerticalS);--webchat__padding--sendbox: var(--webchat-spacingVerticalNone) var(--webchat-spacingHorizontalMNudge) var(--webchat-spacingHorizontalMNudge);--webchat__border-animation--color-1: #464feb;--webchat__border-animation--color-2: #47cffa;--webchat__border-animation--color-3: #b47cf8}.webchat-fluent._.ea .webchat__css-custom-properties{--webchat__padding--sendbox: var(--webchat-spacingVerticalNone) var(--webchat-spacingHorizontalXL) var(--webchat-spacingVerticalMNudge) var(--webchat-spacingHorizontalMNudge)}.webchat-fluent._ .webchat__surface{background-color:var(--webchat__color--surface)}.webchat-fluent._.ea .webchat__surface{box-sizing:border-box;padding-inline-start:var(--webchat-spacingHorizontalMNudge)}.webchat-fluent._ .webchat__basic-transcript .webchat__basic-transcript__scrollable,.webchat-fluent._ .webchat__view-code-dialog__code-body,.webchat-fluent._ .webchat__render-markdown [data-math-type=block],.webchat-fluent._ .webchat__feedback-form-text-area-input--scroll,.webchat-fluent._ .webchat__view-code-dialog__body{scrollbar-color:unset;scrollbar-width:unset;-moz-scrollbar-color:var(--webchat-colorNeutralForeground5) transparent;-moz-scrollbar-width:thin}:is(.webchat-fluent._ .webchat__basic-transcript .webchat__basic-transcript__scrollable,.webchat-fluent._ .webchat__view-code-dialog__code-body,.webchat-fluent._ .webchat__render-markdown [data-math-type=block],.webchat-fluent._ .webchat__feedback-form-text-area-input--scroll,.webchat-fluent._ .webchat__view-code-dialog__body)::-webkit-scrollbar{height:var(--webchat-spacingVerticalMNudge);width:var(--webchat-spacingVerticalMNudge);visibility:hidden}:is(.webchat-fluent._ .webchat__basic-transcript .webchat__basic-transcript__scrollable,.webchat-fluent._ .webchat__view-code-dialog__code-body,.webchat-fluent._ .webchat__render-markdown [data-math-type=block],.webchat-fluent._ .webchat__feedback-form-text-area-input--scroll,.webchat-fluent._ .webchat__view-code-dialog__body)::-webkit-scrollbar-corner{background:transparent}:is(.webchat-fluent._ .webchat__basic-transcript .webchat__basic-transcript__scrollable,.webchat-fluent._ .webchat__view-code-dialog__code-body,.webchat-fluent._ .webchat__render-markdown [data-math-type=block],.webchat-fluent._ .webchat__feedback-form-text-area-input--scroll,.webchat-fluent._ .webchat__view-code-dialog__body):hover::-webkit-scrollbar{height:var(--webchat-spacingVerticalMNudge);width:var(--webchat-spacingVerticalMNudge)}:is(.webchat-fluent._ .webchat__basic-transcript .webchat__basic-transcript__scrollable,.webchat-fluent._ .webchat__view-code-dialog__code-body,.webchat-fluent._ .webchat__render-markdown [data-math-type=block],.webchat-fluent._ .webchat__feedback-form-text-area-input--scroll,.webchat-fluent._ .webchat__view-code-dialog__body):hover::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--webchat-colorNeutralForeground5);border-radius:10px;border-right:4px solid transparent;border:3px solid transparent}:is(.webchat-fluent._ .webchat__basic-transcript .webchat__basic-transcript__scrollable,.webchat-fluent._ .webchat__view-code-dialog__code-body,.webchat-fluent._ .webchat__render-markdown [data-math-type=block],.webchat-fluent._ .webchat__feedback-form-text-area-input--scroll,.webchat-fluent._ .webchat__view-code-dialog__body):hover::-webkit-scrollbar-thumb:hover{background-clip:padding-box;background-color:var(--webchat-colorNeutralForeground5);border-radius:10px;border-right:2px solid transparent;border:1px solid transparent}.webchat-fluent._.ea .webchat__basic-transcript .webchat__basic-transcript__scrollable{scrollbar-gutter:stable}.webchat-fluent._ .webchat__basic-transcript .webchat__basic-transcript__terminator:focus-visible+.webchat__basic-transcript__focus-indicator{border-color:var(--webchat-colorStrokeFocus2)}.webchat-fluent._ .webchat__basic-transcript:not(:focus-visible) .webchat__basic-transcript__activity-indicator--focus{display:none}.webchat-fluent._ .webchat__basic-transcript:focus-visible:has(.webchat__basic-transcript__activity-indicator--focus) .webchat__basic-transcript__focus-indicator{display:none}.webchat-fluent._ .webchat__basic-transcript:focus-visible .webchat__basic-transcript__activity:has(.webchat__basic-transcript__activity-indicator--focus) .webchat__basic-transcript__activity-indicator--focus{display:none}.webchat-fluent._ .webchat__basic-transcript:focus-visible .webchat__basic-transcript__activity:has(.webchat__basic-transcript__activity-indicator--focus) .webchat__bubble:after,.webchat-fluent._ .webchat__basic-transcript:focus-visible .webchat__basic-transcript__activity:has(.webchat__basic-transcript__activity-indicator--focus) .pre-chat-message-activity:after{border-radius:var(--webchat__bubble--border-radius);content:\"\";inset:0;outline-offset:0;outline:var(--webchat-strokeWidthThick) solid var(--webchat-colorStrokeFocus2);pointer-events:none;position:absolute}.webchat-fluent._ .webchat__basic-transcript:focus-visible .webchat__basic-transcript__activity:has(.webchat__basic-transcript__activity-indicator--focus) .pre-chat-message-activity:after{border-radius:var(--webchat-borderRadiusMedium);outline-offset:-3px}.webchat-fluent._ .webchat__basic-transcript:focus-visible .webchat__basic-transcript__activity:has(.webchat__basic-transcript__activity-indicator--focus) .liner-message-activity__text{border-radius:20px;outline-offset:4px;outline:var(--webchat-strokeWidthThick) solid var(--webchat-colorStrokeFocus2)}.webchat-fluent._.ea .webchat__basic-transcript .webchat__basic-transcript__filler{flex-grow:0}.webchat-fluent._ .webchat__basic-transcript:has(.webchat__basic-transcript__activity:only-child):has(.pre-chat-message-activity) .webchat__basic-transcript__filler{flex-grow:.5}.webchat-fluent._ .webchat__modal-dialog{height:100%;display:grid;place-items:center}.webchat-fluent._ .webchat__modal-dialog::backdrop{background-color:var(--webchat-colorTransparentBackground)}.webchat-fluent._ .webchat__modal-dialog .webchat__modal-dialog__box{background-color:var(--webchat-colorNeutralBackground1);border-radius:var(--webchat-borderRadiusXLarge);position:relative;color:var(--webchat-colorNeutralForeground1);box-shadow:var(--webchat-shadow64)}.webchat-fluent._ .webchat__modal-dialog .webchat__modal-dialog__close-button{color:var(--webchat-colorNeutralForeground1);transition:background-color var(--webchat-durationNormal) var(--webchat-curveDecelerateMid)}.webchat-fluent._ .webchat__modal-dialog .webchat__modal-dialog__close-button:not(:active):hover{background-color:var(--webchat-colorNeutralBackground3)}.webchat-fluent._ .webchat__modal-dialog .webchat__modal-dialog__close-button:focus:active{background-color:var(--webchat-colorNeutralBackground4)}.webchat-fluent._ .webchat__modal-dialog .webchat__modal-dialog__close-button:not(:focus-visible){border:none}.webchat-fluent._ .webchat__modal-dialog .webchat__modal-dialog__close-button:focus{border-color:var(--webchat-colorStrokeFocus2)}.webchat-fluent._ .webchat__modal-dialog .webchat__modal-dialog__close-button-image{fill:currentColor}.webchat-fluent._ .webchat__code-block{border:none;font-family:var(--webchat-fontFamilyMonospace);font-size:var(--webchat-fontSizeBase300);--webchat__code-block__copy-button--color: var(--webchat-colorNeutralForeground1);--webchat__code-block__copy-button--background: var(--webchat-colorNeutralBackground3)}.webchat-fluent._ .webchat__code-block .webchat__code-block-copy-button{background:transparent;border:none;color:var(--webchat__code-block__copy-button--color);height:20px;margin-inline-start:var(--webchat-spacingHorizontalS);padding:0;width:20px;transition:background-color var(--webchat-durationNormal) var(--webchat-curveDecelerateMid)}.webchat-fluent._ .webchat__code-block .webchat__code-block-copy-button .webchat__code-block-copy-button__icon{background-color:currentColor}.webchat-fluent._ .webchat__code-block .webchat__code-block-copy-button:hover,.webchat-fluent._ .webchat__code-block .webchat__code-block-copy-button:active{background:var(--webchat__code-block__copy-button--background);color:var(--webchat__code-block__copy-button--color)}.webchat-fluent._ .webchat__code-block .webchat__code-block-copy-button:focus{color:var(--webchat__code-block__copy-button--color);outline-color:currentColor}.webchat-fluent._ .webchat__code-block:has(.webchat__code-block__body:focus-visible):focus-within{outline:var(--webchat-strokeWidthThick) solid var(--webchat-colorStrokeFocus2);outline-offset:calc(var(--webchat-strokeWidthThick) * -1)}.webchat-fluent._ .webchat__code-block:has(.webchat__code-block__body:focus-visible):focus-within .webchat__code-block__body{outline:none}.webchat-fluent._ .webchat__code-block:has(>.webchat__code-block__theme--github-dark-default){--webchat__background--code-block: var(--codeBlockBackground, var(--webchat-colorGrey8));--webchat__code-block__copy-button--background: var( --codeBlockCopyButtonBackgroundPressed, var(--webchat-colorGrey14) );--webchat__code-block__copy-button--color: var(--codeBlockCopyButtonForeground, var(--webchat__color--code-block));--webchat__color--code-block: var(--codeBlockForeground, var(--webchat-colorGrey98))}.webchat-fluent._ .webchat__code-block:has(>.webchat__code-block__theme--github-light-default){--webchat__background--code-block: var(--codeBlockBackground, var(--webchat-colorGrey98));--webchat__code-block__copy-button--background: var(--codeBlockBackgroundPressed, var(--webchat-colorGrey92));--webchat__code-block__copy-button--color: var(--codeBlockCopyButtonForeground, var(--webchat__color--code-block));--webchat__color--code-block: var(--codeBlockForeground, var(--webchat-colorGrey8))}.webchat-fluent._ .webchat__modal-dialog.webchat__view-code-dialog .webchat__modal-dialog__close-button-layout{display:flex;padding:var(--webchat-spacingVerticalS) var(--webchat-spacingHorizontalS)}.webchat-fluent._ .webchat__modal-dialog.webchat__view-code-dialog .webchat__modal-dialog__close-button{align-items:center;aspect-ratio:1;display:flex;height:var(--webchat-lineHeightBase300);justify-content:center;padding:0;width:unset}.webchat-fluent._ .webchat__modal-dialog.webchat__view-code-dialog .webchat__code-block-copy-button{--webchat__code-block__copy-button--color: var(--webchat-colorNeutralForeground1);--webchat__code-block__copy-button--background: var(--webchat-colorNeutralBackground3);margin-block-start:var(--webchat-spacingVerticalS);position:absolute;right:32px;top:0}.webchat-fluent._ .webchat__modal-dialog.webchat__view-code-dialog .webchat__modal-dialog__box{width:fit-content}.webchat-fluent._ .webchat__modal-dialog.webchat__view-code-dialog .webchat__modal-dialog__body{margin:0;padding:var(--webchat-spacingVerticalS) var(--webchat-spacingHorizontalM)}.webchat-fluent._ .webchat__modal-dialog.webchat__view-code-dialog .webchat__view-code-dialog__title{font-size:var(--webchat-fontSizeBase300);font-weight:var(--webchat-fontWeightSemibold);line-height:var(--webchat-lineHeightBase300)}.webchat-fluent._ .webchat__modal-dialog.webchat__view-code-dialog .webchat__view-code-dialog__body{font-family:var(--webchat-fontFamilyMonospace);font-size:var(--webchat-fontSizeBase300);margin:0 calc(var(--webchat-spacingHorizontalM) * -1);padding:0 var(--webchat-spacingHorizontalM)}.webchat-fluent._ .webchat__modal-dialog.webchat__view-code-dialog .webchat__view-code-dialog__footer{color:var(--webchat-colorNeutralForeground4);font-size:var(--webchat-fontSizeBase100);line-height:var(--webchat-lineHeightBase100)}.webchat-fluent._ .webchat__modal-dialog.webchat__view-code-dialog .webchat__view-code-dialog__link{color:var(--webchat-colorBrandForegroundLink);text-decoration-color:transparent}.webchat-fluent._ .webchat__modal-dialog.webchat__view-code-dialog .webchat__view-code-dialog__link:target{color:var(--webchat-colorBrandForegroundLinkSelected)}.webchat-fluent._ .webchat__modal-dialog.webchat__view-code-dialog .webchat__view-code-dialog__link:hover{color:var(--webchat-colorBrandForegroundLinkHover);text-decoration:underline 1px currentColor}.webchat-fluent._ .webchat__modal-dialog.webchat__view-code-dialog .webchat__view-code-dialog__link:active{color:var(--webchat-colorBrandForegroundLinkPressed)}.webchat-fluent._ .webchat__modal-dialog.webchat__view-code-dialog .webchat__view-code-dialog__link:focus-visible{outline:none;text-decoration:underline 1px double var(--webchat-colorStrokeFocus2)}.webchat-fluent._ .webchat__activity-button{background:var(--webchat-colorNeutralBackground1);border-radius:var(--webchat-borderRadiusMedium);border:var(--webchat-strokeWidthThin) solid var(--webchat-colorNeutralStroke1);color:var(--webchat-colorNeutralForeground1);gap:var(--webchat-spacingHorizontalXS);padding:5px var(--webchat-spacingHorizontalM)}.webchat-fluent._ .webchat__activity-button:hover{background:var(--webchat-colorNeutralBackground1Hover);border:var(--webchat-strokeWidthThin) solid var(--webchat-colorNeutralStroke1Hover);color:var(--webchat-colorNeutralForeground1Hover)}.webchat-fluent._ .webchat__activity-button:active{background:var(--webchat-colorNeutralBackground1Pressed);border:var(--webchat-strokeWidthThin) solid var(--webchat-colorNeutralStroke1Pressed);color:var(--webchat-colorNeutralForeground1Pressed)}.webchat-fluent._ .webchat__activity-button:focus-visible{background:var(--webchat-colorNeutralBackground1);outline:var(--webchat-strokeWidthThick) solid var(--webchat-colorStrokeFocus2);outline-offset:calc(var(--webchat-strokeWidthThick) * -1)}.webchat-fluent._ .webchat__activity-button[aria-disabled=true]{background:var(--webchat-colorNeutralBackgroundDisabled);border:var(--webchat-strokeWidthThin) solid var(--webchat-colorNeutralStrokeDisabled);color:var(--webchat-colorNeutralForegroundDisabled)}.webchat-fluent._ .webchat__activity-button .webchat__activity-button__icon{height:20px;width:20px}.webchat-fluent._ .webchat__activity-copy-button .webchat__activity-copy-button__copied-text{background-color:var(--webchat-colorNeutralBackground1)}.webchat-fluent._ .webchat__activity-copy-button.webchat__activity-copy-button--copied .webchat__activity-copy-button__copied-text{animation-duration:var(--webchat-durationUltraSlow)}.webchat-fluent._ .webchat__monochrome-image-masker{background-color:currentColor;height:1em;width:1em}.webchat-fluent._ .webchat__thumb-button{color:var(--webchat-colorNeutralForeground1)}.webchat-fluent._ .webchat__thumb-button:focus-visible{outline:var(--webchat-strokeWidthThick) solid var(--webchat-colorStrokeFocus2)}.webchat-fluent._ .webchat__thumb-button[aria-disabled=true]{color:var(--webchat-colorNeutralForegroundDisabled)}.webchat-fluent._ .webchat__tooltip{--webchat__tooltip-background: var(--tooltip-background, var(--webchat-colorNeutralBackground1));color:var(--webchat-colorNeutralForeground1);filter:drop-shadow(0 0 2px var(--webchat-colorNeutralShadowAmbient)) drop-shadow(0 4px 8px var(--webchat-colorNeutralShadowKey));font-family:var(--webchat-fontFamilyBase);font-size:var(--webchat-fontSizeBase200);font-weight:var(--webchat-fontWeightRegular);line-height:var(--webchat-lineHeightBase200);padding:var(--webchat-spacingVerticalSNudge) var(--webchat-spacingHorizontalM);transition:opacity var(--webchat-durationNormal) var(--webchat-curveDecelerateMid)}.webchat-fluent._ .webchat__feedback-form{gap:var(--webchat-spacingVerticalXS)}.webchat-fluent._ .webchat__feedback-form .webchat__feedback-form__body{font-family:var(--webchat-fontFamilyBase);color:var(--webchat-colorNeutralForeground1);font-size:var(--webchat-fontSizeBase300);font-weight:var(--webchat-fontWeightRegular);line-height:var(--webchat-lineHeightBase300)}.webchat-fluent._ .webchat__feedback-form .webchat__feedback-form__caption{font-family:var(--webchat-fontFamilyBase);color:var(--webchat-colorNeutralForeground1);font-size:var(--webchat-fontSizeBase100);font-weight:var(--webchat-fontWeightRegular);line-height:var(--webchat-lineHeightBase200)}.webchat-fluent._ .webchat__feedback-form .webchat__feedback-form__submit-button{background-color:var(--webchat-colorBrandBackground);border:var(--webchat-strokeWidthThin) solid var(--webchat-colorBrandBackground);border-radius:var(--webchat-borderRadiusMedium);color:var(--webchat-colorNeutralForegroundOnBrand);cursor:pointer;font-family:var(--webchat-fontFamilyBase);font-size:var(--webchat-fontSizeBase300);padding:var(--webchat-spacingVerticalNone) var(--webchat-spacingHorizontalS);transition:background-color var(--webchat-durationNormal) var(--webchat-curveDecelerateMid)}.webchat-fluent._ .webchat__feedback-form .webchat__feedback-form__submit-button:hover{background-color:var(--webchat-colorBrandBackgroundHover);border:var(--webchat-strokeWidthThin) solid var(--webchat-colorBrandBackgroundHover)}.webchat-fluent._ .webchat__feedback-form .webchat__feedback-form__submit-button:focus-visible{outline:var(--webchat-strokeWidthThick) solid var(--webchat-colorStrokeFocus2);outline-offset:calc(var(--webchat-strokeWidthThin) * -1)}.webchat-fluent._ .webchat__feedback-form .webchat__feedback-form__submit-button:active{background-color:var(--webchat-colorBrandBackgroundPressed);border:var(--webchat-strokeWidthThin) solid var(--webchat-colorBrandBackgroundPressed)}.webchat-fluent._ .webchat__feedback-form .webchat__feedback-form__cancel-button{background-color:var(--webchat-colorNeutralBackground1);border:var(--webchat-strokeWidthThin) solid var(--webchat-colorNeutralStroke1);border-radius:var(--webchat-borderRadiusMedium);color:var(--webchat-colorNeutralForeground1);cursor:pointer;font-family:var(--webchat-fontFamilyBase);font-size:var(--webchat-fontSizeBase300);padding:var(--webchat-spacingVerticalNone) var(--webchat-spacingHorizontalS);transition:background-color var(--webchat-durationNormal) var(--webchat-curveDecelerateMid)}.webchat-fluent._ .webchat__feedback-form .webchat__feedback-form__cancel-button:hover{background-color:var(--webchat-colorNeutralBackground1Hover);border:var(--webchat-strokeWidthThin) solid var(--webchat-colorNeutralStroke1Hover)}.webchat-fluent._ .webchat__feedback-form .webchat__feedback-form__cancel-button:focus-visible{outline:var(--webchat-strokeWidthThick) solid var(--webchat-colorStrokeFocus2);outline-offset:calc(var(--webchat-strokeWidthThin) * -1)}.webchat-fluent._ .webchat__feedback-form .webchat__feedback-form__cancel-button:active{background-color:var(--webchat-colorNeutralBackground1Pressed);border:var(--webchat-strokeWidthThin) solid var(--webchat-colorNeutralStroke1Pressed)}.webchat-fluent._ .webchat__feedback-form .webchat__feedback-form-text-area{background-color:var(--webchat-colorNeutralBackground1);border-radius:var(--webchat-borderRadiusMedium);border:var(--webchat-strokeWidthThin) solid var(--webchat-colorNeutralStroke1);font-family:var(--webchat-fontFamilyBase);font-size:var(--webchat-fontSizeBase300);line-height:var(--webchat-lineHeightBase300);gap:var(--webchat-spacingVerticalSNudge);padding:var(--webchat-spacingVerticalS) var(--webchat-spacingHorizontalM)}.webchat-fluent._ .webchat__feedback-form .webchat__feedback-form-text-area:after{border-bottom-left-radius:var(--webchat-borderRadiusMedium);border-bottom-right-radius:var(--webchat-borderRadiusMedium);border-bottom:var(--webchat-strokeWidthThicker) solid var(--webchat-colorBrandForeground1);clip-path:inset(calc(100% - var(--webchat-strokeWidthThicker)) 50% 0 50%);transition:clip-path var(--webchat-durationNormal) var(--webchat-curveDecelerateMid)}.webchat-fluent._ .webchat__feedback-form .webchat__feedback-form-text-area:focus-within{border:var(--webchat-strokeWidthThin) solid var(--webchat-colorNeutralStroke1)}.webchat-fluent._ .webchat__feedback-form .webchat__feedback-form-text-area:focus-within:after{clip-path:inset(calc(100% - var(--webchat-strokeWidthThicker)) 0 0 0);transition:clip-path var(--webchat-durationNormal) var(--webchat-curveDecelerateMid)}.webchat-fluent .ve{align-self:start;display:flex;flex:none;height:16px;margin:auto var(--webchat-spacingHorizontalMNudge)}.webchat-fluent .pe{height:6px;width:auto}\n/*! For license information please see botframework-webchat-fluent-theme.css.LEGAL.txt */\n",ue=Ye(ta);import{useMemo as oa}from"react";function aa(e){return oa(()=>Object.freeze(Object.fromEntries(Object.entries(e).map(([t,o])=>[t,`${t} ${o}`]))),[e])}var c=aa;import{useMemo as ba}from"react";import{useContext as sa,useMemo as da}from"react";import{createContext as ca}from"react";import ra,{memo as na,useMemo as ia}from"react";function he({Provider:e},{defaults:t,displayName:o}){let a=({children:r,...n})=>{let l=ia(()=>Object.freeze({...t,...n}),[n]);return ra.createElement(e,{value:l},r)};return a.displayName=o,na(a)}var me=ca(new Proxy({},{get(){throw new Error("Unable to use VariantContext without VariantComposer")}})),la=he(me,{defaults:{variant:""},displayName:"VariantComposer"}),qe=la;function V(){let{variant:e}=sa(me);return da(()=>e.split(" "),[e])}function T(e){let t=c(e),o=V();return ba(()=>o.map(a=>t[`variant-${a}`]).filter(a=>a).join(" "),[t,o])}var ua={preChatMessageActivityStarterPromptsCardAction:"pre-chat message activity starter prompts card action",sendBoxContainer:"send box container",sendBoxDropZone:"send box drop zone",sendBoxSendButton:"send box send button",sendBoxSuggestedAction:"send box suggested action",sendBoxTextBox:"send box text area",sendBoxTelephoneKeypadButton1:"send box telephone keypad button 1",sendBoxTelephoneKeypadButton2:"send box telephone keypad button 2",sendBoxTelephoneKeypadButton3:"send box telephone keypad button 3",sendBoxTelephoneKeypadButton4:"send box telephone keypad button 4",sendBoxTelephoneKeypadButton5:"send box telephone keypad button 5",sendBoxTelephoneKeypadButton6:"send box telephone keypad button 6",sendBoxTelephoneKeypadButton7:"send box telephone keypad button 7",sendBoxTelephoneKeypadButton8:"send box telephone keypad button 8",sendBoxTelephoneKeypadButton9:"send box telephone keypad button 9",sendBoxTelephoneKeypadButton0:"send box telephone keypad button 0",sendBoxTelephoneKeypadButtonStar:"send box telephone keypad button star",sendBoxTelephoneKeypadButtonPound:"send box telephone keypad button pound",sendBoxTelephoneKeypadToolbarButton:"send box telephone keypad toolbar button",sendBoxUploadButton:"send box upload button"},m=ua;import{hooks as ma}from"botframework-webchat-component";import pa from"classnames";import Qe,{memo as ga,useCallback as fa,useEffect as wa,useRef as va,useState as _a}from"react";import{useRefFrom as ya}from"use-ref-from";var Je={"sendbox__attachment-drop-zone":"pa","sendbox__attachment-drop-zone--droppable":"_a","sendbox__attachment-drop-zone-icon":"fa"};var{useLocalizer:xa}=ma,$=e=>{e.preventDefault()},et=e=>!!e.dataTransfer?.types?.some(t=>t.toLowerCase()==="files");function ka(e,t){let o=e.parentNode;for(;o;){if(o===t)return!0;o=o.parentNode}return!1}var tt=e=>{let[t,o]=_a(!1),a=c(Je),r=va(null),n=xa(),l=ya(e.onFilesAdded);wa(()=>{let b=0,h=p=>{document.addEventListener("dragover",$),b++,et(p)&&o(r.current&&(p.target===r.current||p.target instanceof HTMLElement&&ka(p.target,r.current))?"droppable":"visible")},s=()=>--b<=0&&o(!1),d=()=>{document.removeEventListener("dragover",$),b=0,o(!1)},u=p=>{r.current?.contains(p.target)||d()};return document.addEventListener("dragend",d),document.addEventListener("dragenter",h),document.addEventListener("dragleave",s),document.addEventListener("drop",u),()=>{document.removeEventListener("dragend",d),document.removeEventListener("dragenter",h),document.removeEventListener("dragleave",s),document.removeEventListener("dragover",$),document.removeEventListener("drop",u)}},[o]);let i=fa(b=>{b.preventDefault(),o(!1),et(b.nativeEvent)&&l.current([...b.dataTransfer.files])},[l,o]);return t?Qe.createElement("div",{className:pa(a["sendbox__attachment-drop-zone"],{[a["sendbox__attachment-drop-zone--droppable"]]:t==="droppable"}),"data-testid":m.sendBoxDropZone,onDragOver:$,onDrop:i,ref:r},Qe.createElement(ce,{className:a["sendbox__attachment-drop-zone-icon"]}),n("TEXT_INPUT_DROP_ZONE")):null};tt.displayName="DropZone";var pe=ga(tt);import{hooks as Ir}from"botframework-webchat-component";import Rr from"classnames";import q,{memo as Or,useCallback as Vr}from"react";import{getOrgSchemaMessage as Na}from"botframework-webchat-core";function L(e){return!!(e&&Na(e?.entities||[])?.keywords?.includes("PreChatMessage"))}import{hooks as nr}from"botframework-webchat-component";import ir from"classnames";import P,{memo as cr,useMemo as lr}from"react";var ot={"pre-chat-message-activity":"ka","pre-chat-message-activity__body":"ma","pre-chat-message-activity__body--blueprint":"xa","pre-chat-message-activity__body-avatar":"ra","pre-chat-message-activity__body-title":"Ba","pre-chat-message-activity__body-subtitle":"ya","pre-chat-message-activity__toolbar":"Na"};import{hooks as Ra}from"botframework-webchat-api";import Oa from"classnames";import A,{Fragment as Va,memo as Wa}from"react";import{Components as Ta,hooks as Ca}from"botframework-webchat-component";import rt from"classnames";import W,{memo as Ma,useCallback as Ha,useMemo as Aa}from"react";import{useRefFrom as Fa}from"use-ref-from";var at={"pre-chat-message-activity__card-action-box":"Sa","pre-chat-message-activity__card-action-image":"oa",blueprintAnimation:"ta","pre-chat-message-activity__card-action-subtitle":"za","pre-chat-message-activity__card-action-title":"Ha"};var{useFocus:za,useRenderMarkdownAsHTML:La,useSendBoxValue:Ea,useUIState:Pa}=Ca,{MonochromeImageMasker:Da}=Ta,nt=({className:e,messageBackAction:t})=>{let[o,a]=Ea(),[r]=Pa(),n=c(at),l=za(),i=Fa(t?.displayText||t?.text||""),b=La("message activity"),h=Aa(()=>b?{__html:b(t?.text||"")}:void 0,[t?.text,b]),s=r==="disabled",d=t&&"title"in t&&t.title,u=r==="blueprint"||!d,p=Ha(()=>{a(i.current),l("sendBox")},[l,i,a]);return u?W.createElement("div",{className:rt(e,n["pre-chat-message-activity__card-action-box"]),"data-testid":m.preChatMessageActivityStarterPromptsCardAction}):W.createElement("button",{"aria-disabled":s?!0:void 0,className:rt(e,n["pre-chat-message-activity__card-action-box"]),"data-testid":m.preChatMessageActivityStarterPromptsCardAction,onClick:s?void 0:p,tabIndex:s?-1:void 0,type:"button"},W.createElement("div",{className:n["pre-chat-message-activity__card-action-title"]},d),"image"in t&&t.image&&W.createElement(Da,{className:n["pre-chat-message-activity__card-action-image"],src:t.image}),W.createElement("div",{className:n["pre-chat-message-activity__card-action-subtitle"],dangerouslySetInnerHTML:h}))};nt.displayName="StarterPromptsCardAction";var K=Ma(nt);var it={"pre-chat-message-activity__card-action-toolbar":"Fa","webchat-container":"ca","pre-chat-message-activity__card-action-toolbar-grid":"la"};var{useUIState:Ka}=Ra,ct=({cardActions:e,className:t})=>{let o=c(it),[a]=Ka();return A.createElement("div",{className:Oa(t,o["pre-chat-message-activity__card-action-toolbar"])},A.createElement("div",{className:o["pre-chat-message-activity__card-action-toolbar-grid"]},a==="blueprint"?A.createElement(Va,null,A.createElement(K,null),A.createElement(K,null),A.createElement(K,null)):e.filter(r=>r.type==="messageBack").map((r,n)=>A.createElement(K,{key:n,messageBackAction:r}))))};ct.displayName="StarterPromptsToolbar";var lt=Wa(ct);import ar from"classnames";import bt,{memo as rr}from"react";var ge={"activity-decorator":"aa","variant-fluent":"Ma","variant-copilot":"ia"};import Y,{memo as Ja,useMemo as Qa}from"react";import{hooks as er}from"botframework-webchat-component";import{useMemo as Ua}from"react";import{hooks as Ga}from"botframework-webchat-component";var{useStyleOptions:ja}=Ga;function fe(e){let[t]=ja();return Ua(()=>Object.freeze([{...t,...e?.channelData?.webChat?.styleOptions}]),[e?.channelData?.webChat?.styleOptions,t])}import{getOrgSchemaMessage as Za}from"botframework-webchat-core";function we(e){return!!(e&&Za(e?.entities||[])?.keywords?.includes("AIGeneratedContent"))}import{useMemo as $a}from"react";import{getOrgSchemaMessage as Ya}from"botframework-webchat-core";function E(e){return $a(()=>{let t=Ya(e?.entities||[]);return typeof t?.author=="string"?{"@type":"Person",description:void 0,image:void 0,name:t?.author}:t?.author},[e])}var st={"copilot-message-header":"Wa","copilot-message-header__avatar":"Xa","copilot-message-header__title":"La","copilot-message-header__ai-generated-content":"Va"};var{useLocalizer:tr}=er;function or({activity:e}){let[{botAvatarImage:t,botAvatarBackgroundColor:o}]=fe(e),a=c(st),r=tr(),n=we(e),l=Qa(()=>({"--background-color":o}),[o]),i=E(e),b=i?.image||t,h=i?.name||e?.from?.name;return Y.createElement("div",{className:a["copilot-message-header"]},b&&Y.createElement("img",{alt:r("AVATAR_ALT",h),className:a["copilot-message-header__avatar"],src:b,style:l}),Y.createElement("span",{className:a["copilot-message-header__title"],title:h},h),n&&Y.createElement("span",{className:a["copilot-message-header__ai-generated-content"]},r("ACTIVITY_CONTENT_CAUTION")))}var dt=Ja(or);function ut({activity:e,children:t}){let o=c(ge),a=V(),r=T(ge),n=a.includes("copilot")&&e?.from?.role==="bot"&&!!t;return bt.createElement("div",{className:ar(o["activity-decorator"],r)},n&&bt.createElement(dt,{activity:e}),t)}ut.displayName="ActivityDecorator";var ve=rr(ut);var{useLocalizer:sr,useRenderMarkdownAsHTML:dr,useUIState:br}=nr,ht=({activity:e})=>{let[t]=br(),o=c(ot),a=dr(),r=sr(),n=E(e),l=lr(()=>a?{__html:a(n?.description||"")}:{__html:""},[n?.description,a]);return P.createElement("div",{className:o["pre-chat-message-activity"]},n&&P.createElement("div",{className:ir(o["pre-chat-message-activity__body"],t==="blueprint"&&o["pre-chat-message-activity__body--blueprint"])},n.image&&P.createElement("img",{alt:r("AVATAR_ALT",n.name),className:o["pre-chat-message-activity__body-avatar"],src:n.image}),n.name&&P.createElement("h2",{className:o["pre-chat-message-activity__body-title"]},n.name),n.description&&P.createElement("div",{className:o["pre-chat-message-activity__body-subtitle"],dangerouslySetInnerHTML:l})),P.createElement(lt,{cardActions:e.suggestedActions?.actions||[],className:o["pre-chat-message-activity__toolbar"]}))};ht.displayName="PreChatMessageActivity";var _e=cr(ht);function ye(e){let{title:t}=e,{type:o,value:a}=e;return o==="messageBack"?t||e.displayText:t||(typeof a=="string"?a:JSON.stringify(a))}import ur,{createContext as hr,memo as mr,useCallback as D,useContext as pr,useEffect as gr,useMemo as fr,useRef as xe}from"react";var mt=hr({itemEffector:()=>{throw new Error("botframework-webchat-fluent-theme rovingFocus: no provider for RovingFocusContext.")}});function wr(e){let t=xe(0),o=xe([]),a=D(({current:s},d)=>s&&(s.tabIndex=t.current===d?0:-1),[t]),r=D(s=>{let d;typeof s=="number"?d=s:d=s(t.current),d&&!o.current.at(d)?.current&&(d=0),t.current!==d&&(t.current=d,o.current.forEach((u,p)=>a(u,p)),o.current.at(d)?.current?.focus())},[a,o,t]),n=D(s=>{let{target:d}=s,u=o.current.findIndex(({current:p})=>p===d);u!==-1&&r(u)},[o,r]),l=D(s=>d=>{let u=!e.direction,p=/up|down/iu.test(s)&&e.direction==="vertical",x=/left|right/iu.test(s)&&e.direction==="horizontal",g=/right|down/iu.test(s),k=u||p||x?g?1:-1:0,S=o.current.map((M,H)=>H),B=S.indexOf(d)+k;return S.at(B)??0},[e.direction]),i=D(s=>{let{key:d}=s;switch(d){case"Up":case"ArrowUp":case"Left":case"ArrowLeft":case"Down":case"ArrowDown":case"Right":case"ArrowRight":r(l(d));break;case"Home":r(0);break;case"End":r(-1);break;case"Escape":e.onEscapeKey?.();break;default:return}s.preventDefault(),s.stopPropagation()},[r,l,e]),b=D((s,d)=>{let{current:u}=s;return o.current[Number(d)]=s,u.addEventListener("focus",n),u.addEventListener("keydown",i),a(s,d),()=>{u.removeEventListener("focus",n),u.removeEventListener("keydown",i),delete o.current[Number(d)]}},[n,i,a,o]),h=fr(()=>({itemEffector:b}),[b]);return ur.createElement(mt.Provider,{value:h},e.children)}function pt(e){let t=xe(null),{itemEffector:o}=pr(mt);return gr(()=>o(t,e)),t}var gt=mr(wr);import{hooks as Br}from"botframework-webchat-component";import Tr from"classnames";import ke,{memo as Cr,useCallback as Mr}from"react";import vr,{forwardRef as _r,memo as yr,useRef as xr}from"react";var kr=e=>e.preventDefault(),Nr=_r(({"aria-hidden":e,children:t,className:o,"data-testid":a,disabled:r,onClick:n,tabIndex:l},i)=>{let b=xr(null);return vr.createElement("button",{"aria-disabled":r?"true":void 0,"aria-hidden":e,className:o,"data-testid":a,onClick:r?kr:n,ref:i||b,tabIndex:r?-1:l,type:"button"},t)}),ft=yr(Nr);var wt={"suggested-action":"Ta","suggested-action__image":"Ra"};var{useFocus:Hr,usePerformCardAction:Ar,useScrollToEnd:Fr,useStyleSet:zr,useSuggestedActions:Lr,useUIState:Er}=Br;function Pr({buttonText:e,className:t,displayText:o,image:a,imageAlt:r,itemIndex:n,text:l,type:i,value:b}){let[h,s]=Lr(),[{suggestedAction:d}]=zr(),[u]=Er(),p=Hr(),x=pt(n),g=Ar(),k=c(wt),S=Fr(),B=Mr(({target:M})=>{(async function(){await p("sendBoxWithoutKeyboard"),g({displayText:o,text:l,type:i,value:b},{target:M}),i==="openUrl"&&s([]),S()})()},[o,p,g,S,s,l,i,b]);return ke.createElement(ft,{className:Tr(k["suggested-action"],d+"",(t||"")+""),"data-testid":m.sendBoxSuggestedAction,disabled:u==="disabled",onClick:B,ref:x,type:"button"},a&&ke.createElement("img",{alt:r,className:k["suggested-action__image"],src:a}),ke.createElement("span",null,e))}var vt=Cr(Pr);var Ne={"suggested-actions":"Pa","suggested-actions--flow":"Da","suggested-actions--stacked":"Ca"};var{useFocus:Wr,useLocalizer:Kr,useStyleOptions:Xr,useStyleSet:Ur,useSuggestedActions:Gr,useUIState:jr}=Ir;function Zr(e){let[{suggestedActionLayout:t}]=Xr(),[{suggestedActions:o}]=Ur(),[a]=jr(),r=c(Ne);return q.createElement("div",{"aria-label":e["aria-label"],"aria-orientation":"vertical",className:Rr(r["suggested-actions"],o+"",{[r["suggested-actions--flow"]]:t==="flow",[r["suggested-actions--stacked"]]:t!=="flow"},e.className),role:"toolbar"},a!=="blueprint"&&e.children)}function $r(){let e=c(Ne),t=Kr(),[o,a,{activity:r}]=Gr(),n=Wr(),l=Vr(()=>{n("sendBox")},[n]),i=L(r)?[]:o.map((b,h)=>{let{displayText:s,image:d,imageAltText:u,text:p,type:x,value:g}=b;return o?.length?q.createElement(vt,{buttonText:ye(b),displayText:s,image:d,imageAlt:d&&(u||p),itemIndex:h,key:h,text:p,type:x,value:g}):null});return q.createElement(gt,{onEscapeKey:l},q.createElement(Zr,{"aria-label":t("SUGGESTED_ACTIONS_LABEL_ALT"),className:e["suggested-actions"]},i))}var Se=Or($r);import qr,{memo as Jr,useMemo as Qr,useState as en}from"react";import{createContext as Yr}from"react";var _t=Yr(new Proxy({},{get(){throw new Error("botframework-webchat: This hook can only used under its corresponding <Provider>.")}}));_t.displayName="TelephoneKeypad.Context";var J=_t;var tn=Jr(({children:e})=>{let[t,o]=en(!1),a=Qr(()=>Object.freeze({setShown:o,shown:t}),[o,t]);return qr.createElement(J.Provider,{value:a},e)}),Be=tn;import gn,{memo as fn}from"react";import{Components as bn}from"botframework-webchat-component";import un from"classnames";import f,{memo as Nt,useCallback as y,useEffect as hn,useRef as mn}from"react";import{useRefFrom as kt}from"use-ref-from";import Te,{forwardRef as an,memo as rn,useCallback as nn}from"react";import{useRefFrom as cn}from"use-ref-from";var yt={"telephone-keypad__button":"na","telephone-keypad__button__ruby":"ba","telephone-keypad__button__text":"da","telephone-keypad--horizontal":"Ga"};var xt=rn(an(({button:e,"data-testid":t,onClick:o,ruby:a},r)=>{let n=c(yt),l=cn(o),i=nn(()=>l.current?.(),[l]);return Te.createElement("button",{className:n["telephone-keypad__button"],"data-testid":t,onClick:i,ref:r,type:"button"},Te.createElement("span",{className:n["telephone-keypad__button__text"]},e==="*"?"\u2217":e),!!a&&Te.createElement("ruby",{className:n["telephone-keypad__button__ruby"]},a))}));xt.displayName="TelephoneKeypad.Button";var _=xt;import{useContext as ln,useMemo as sn}from"react";function C(){let{setShown:e,shown:t}=ln(J);return sn(()=>Object.freeze([t,e]),[t,e])}var Ce={"telephone-keypad":"Ua","telephone-keypad__box":"ja","telephone-keypad__info-message":"Aa","telephone-keypad__info-message-link":"Ia"};var{LocalizedString:pn}=bn,St=Nt(({children:e,isHorizontal:t})=>{let o=c(Ce);return t?null:f.createElement("div",{className:o["telephone-keypad__box"]},e)});St.displayName="TelephoneKeypad:Orientation";var Bt=Nt(({autoFocus:e,className:t,onButtonClick:o,isHorizontal:a})=>{let r=kt(e),n=c(Ce),l=mn(null),i=kt(o),[,b]=C(),h=y(()=>i.current?.("1"),[i]),s=y(()=>i.current?.("2"),[i]),d=y(()=>i.current?.("3"),[i]),u=y(()=>i.current?.("4"),[i]),p=y(()=>i.current?.("5"),[i]),x=y(()=>i.current?.("6"),[i]),g=y(()=>i.current?.("7"),[i]),k=y(()=>i.current?.("8"),[i]),S=y(()=>i.current?.("9"),[i]),B=y(()=>i.current?.("0"),[i]),M=y(()=>i.current?.("*"),[i]),H=y(()=>i.current?.("#"),[i]),z=y(G=>{G.key==="Escape"&&b(!1)},[b]);return hn(()=>{r.current&&l.current?.focus()},[r,l]),f.createElement("div",{className:un(n["telephone-keypad"],t),onKeyDown:z},f.createElement(St,{isHorizontal:a},f.createElement(_,{button:"1","data-testid":m.sendBoxTelephoneKeypadButton1,onClick:h,ref:l}),f.createElement(_,{button:"2","data-testid":m.sendBoxTelephoneKeypadButton2,onClick:s,ruby:"ABC"}),f.createElement(_,{button:"3","data-testid":m.sendBoxTelephoneKeypadButton3,onClick:d,ruby:"DEF"}),f.createElement(_,{button:"4","data-testid":m.sendBoxTelephoneKeypadButton4,onClick:u,ruby:"GHI"}),f.createElement(_,{button:"5","data-testid":m.sendBoxTelephoneKeypadButton5,onClick:p,ruby:"JKL"}),f.createElement(_,{button:"6","data-testid":m.sendBoxTelephoneKeypadButton6,onClick:x,ruby:"MNO"}),f.createElement(_,{button:"7","data-testid":m.sendBoxTelephoneKeypadButton7,onClick:g,ruby:"PQRS"}),f.createElement(_,{button:"8","data-testid":m.sendBoxTelephoneKeypadButton8,onClick:k,ruby:"TUV"}),f.createElement(_,{button:"9","data-testid":m.sendBoxTelephoneKeypadButton9,onClick:S,ruby:"WXYZ"}),f.createElement(_,{button:"*","data-testid":m.sendBoxTelephoneKeypadButtonStar,onClick:M}),f.createElement(_,{button:"0","data-testid":m.sendBoxTelephoneKeypadButton0,onClick:B,ruby:"+"}),f.createElement(_,{button:"#","data-testid":m.sendBoxTelephoneKeypadButtonPound,onClick:H})),f.createElement("div",{className:n["telephone-keypad__info-message"]},f.createElement(se,null),f.createElement(pn,{linkClassName:n["telephone-keypad__info-message-link"],stringIds:"TELEPHONE_KEYPAD_INPUT_MESSAGE"})))});Bt.displayName="TelephoneKeypad";var Tt=Bt;var Ct=fn(e=>C()[0]?gn.createElement(Tt,{...e}):null);Ct.displayName="TelephoneKeypad.Surrogate";var Me=Ct;import{hooks as xn}from"botframework-webchat-component";import ee,{useCallback as At,useRef as kn,memo as Nn}from"react";import{useRefFrom as Sn}from"use-ref-from";import{hooks as vn}from"botframework-webchat-api";import He from"classnames";import Ae,{memo as Fe}from"react";var Q={sendbox__toolbar:"Ka","sendbox__toolbar-button":"Oa","sendbox__toolbar-button--selected":"Ea","sendbox__toolbar-separator":"qa"};var{useUIState:Mt}=vn,_n=e=>e.preventDefault(),F=Fe(e=>{let t=c(Q),[o]=Mt(),a=e.disabled||o==="disabled";return Ae.createElement("button",{"aria-disabled":a?"true":void 0,"aria-label":e["aria-label"],className:He(t["sendbox__toolbar-button"],e.className,{[t["sendbox__toolbar-button--selected"]]:e.selected}),"data-testid":e["data-testid"],onClick:a?_n:e.onClick,tabIndex:a?-1:void 0,type:e.type==="submit"?"submit":"button"},e.children)});F.displayName="ToolbarButton";var ze=Fe(e=>{let[t]=Mt(),o=c(Q);return Ae.createElement("div",{className:He(o.sendbox__toolbar,e.className)},t!=="blueprint"&&e.children)});ze.displayName="Toolbar";var Le=Fe(e=>{let t=c(Q);return Ae.createElement("div",{"aria-orientation":"vertical",className:He(t["sendbox__toolbar-separator"],e.className),role:"separator"})});Le.displayName="ToolbarSeparator";var Ht={"sendbox__add-attachment":"Ja","sendbox__add-attachment-input":"Qa"};var{useLocalizer:Bn,useStyleOptions:Tn}=xn;function Cn(e){let t=kn(null),o=c(Ht),a=Bn(),[{uploadAccept:r,uploadMultiple:n}]=Tn(),l=Sn(e.onFilesAdded),i=At(()=>t.current?.click(),[t]),b=At(({target:{files:h}})=>{h&&(l.current?.([...h]),t.current&&(t.current.value=""))},[t,l]);return ee.createElement("div",{className:o["sendbox__add-attachment"]},ee.createElement("input",{accept:r,"aria-disabled":e.disabled,"aria-hidden":"true",className:o["sendbox__add-attachment-input"],multiple:n,onInput:e.disabled?void 0:b,readOnly:e.disabled,ref:t,role:"button",tabIndex:-1,type:"file"}),ee.createElement(F,{"aria-label":a("TEXT_INPUT_UPLOAD_BUTTON_ALT"),"data-testid":m.sendBoxUploadButton,onClick:i},ee.createElement(le,null)))}var Ft=Nn(Cn);import{hooks as Hn}from"botframework-webchat-component";import An from"classnames";import Fn,{memo as zn}from"react";var zt={sendbox__attachment:"Ya"};var{useLocalizer:Ln,useUIState:En}=Hn,Pn={one:"TEXT_INPUT_ATTACHMENTS_ONE",two:"TEXT_INPUT_ATTACHMENTS_TWO",few:"TEXT_INPUT_ATTACHMENTS_FEW",many:"TEXT_INPUT_ATTACHMENTS_MANY",other:"TEXT_INPUT_ATTACHMENTS_OTHER"};function Dn({attachments:e,className:t}){let[o]=En(),a=c(zt),r=Ln({plural:!0});return o!=="blueprint"&&e.length?Fn.createElement("div",{className:An(a.sendbox__attachment,t)},r(Pn,e.length)):null}var Lt=zn(Dn);import{useLiveRegion as Rn}from"botframework-webchat-component/internal";import Pt,{memo as On}from"react";var Et={"sendbox__error-message":"Za"};function Dt({error:e,id:t}){let o=c(Et);return Rn(()=>e&&Pt.createElement("div",{className:"sendbox__error-message__status"},e),[e]),Pt.createElement("span",{className:o["sendbox__error-message"],id:t},e)}Dt.displayName="ErrorMessage";var It=On(Dt);import{hooks as Vn}from"botframework-webchat-component";import{useCallback as Wn,useMemo as Rt,useState as Kn}from"react";import{useRefFrom as Xn}from"use-ref-from";var{useConnectivityStatus:Un,useLocalizer:Gn}=Vn,jn=({attachments:e,message:t})=>{let[o]=Un(),[a,r]=Kn(),n=Gn(),l=Xn(o!=="connected"&&o!=="reconnected"?"offline":!t&&!e.length?"empty":void 0),i=Rt(()=>Object.freeze(new Map().set("empty",n("SEND_BOX_IS_EMPTY_TOOLTIP_ALT")).set("offline",n("CONNECTIVITY_STATUS_ALT_FATAL"))),[n]),b=!!t?.trim();a==="empty"&&b&&r(void 0);let h=Wn(()=>(r(l.current),l.current),[l]);return Rt(()=>Object.freeze([a&&i.get(a),h]),[a,i,h])},Ot=jn;import{useCallback as Zn}from"react";import{hooks as $n}from"botframework-webchat-component";var{useScrollDown:Yn,useScrollUp:qn}=$n;function Ee(){let e=Yn(),t=qn();return Zn(o=>{if(o.target instanceof HTMLTextAreaElement&&o.target.value)return;let{ctrlKey:a,metaKey:r,shiftKey:n}=o;if(a||r||n)return;let l=!0;switch(o.key){case"End":e({displacement:1/0});break;case"Home":t({displacement:1/0});break;case"PageDown":e();break;case"PageUp":t();break;default:l=!1;break}l&&(o.preventDefault(),o.stopPropagation())},[e,t])}import{useMemo as Jn}from"react";function Pe(e){let t=Jn(()=>Math.random().toString(36).substr(2,5),[]);return e=e?`${e}--`:"",`${e}${t}`}var De={sendbox:"ha","variant-copilot":"ae","sendbox__text-counter":"sa","sendbox__text-counter--error":"ua",sendbox__sendbox:"ee","sendbox__attachment--in-grid":"wa","sendbox__text-area--in-grid":"re","sendbox__sendbox-controls--in-grid":"oe","sendbox__telephone-keypad--in-grid":"te","sendbox__sendbox-text":"ce","sendbox__sendbox-controls":"le"};import Vt,{memo as ei,useCallback as ti}from"react";import{hooks as oi}from"botframework-webchat-component";var{useLocalizer:ai}=oi,Wt=ei(()=>{let[e,t]=C(),o=ai(),a=ti(()=>t(r=>!r),[t]);return Vt.createElement(F,{"aria-label":o("TEXT_INPUT_TELEPHONE_KEYPAD_BUTTON_ALT"),"data-testid":m.sendBoxTelephoneKeypadToolbarButton,onClick:a,selected:e},Vt.createElement(be,null))});Wt.displayName="SendBox.TelephoneKeypadToolbarButton";var Kt=Wt;import{hooks as ni}from"botframework-webchat-api";import te from"classnames";import X,{forwardRef as ii,Fragment as ci,useCallback as Ie,useRef as li}from"react";var Xt={"sendbox__text-area":"ie","sendbox__text-area--hidden":"ne","sendbox__text-area--in-completion":"be","sendbox__text-area-doppelganger":"ga","sendbox__text-area-input":"va","sendbox__text-area-shared":"de","sendbox__text-area--scroll":"he"};var{useUIState:si}=ni,Ut=ii((e,t)=>{let[o]=si(),a=c(Xt),r=li(!1),n=o==="disabled",l=Ie(()=>{r.current=!1},[r]),i=Ie(()=>{r.current=!0},[r]),b=Ie(h=>{!h.shiftKey&&h.key==="Enter"&&!r.current&&(h.preventDefault(),"form"in h.target&&h.target.form instanceof HTMLFormElement&&h.target?.form?.requestSubmit())},[]);return X.createElement("div",{className:te(a["sendbox__text-area"],a["sendbox__text-area--scroll"],{[a["sendbox__text-area--hidden"]]:e.hidden},{[a["sendbox__text-area--in-completion"]]:e.completion},e.className),role:e.hidden?"hidden":void 0},o==="blueprint"?X.createElement("div",{className:te(a["sendbox__text-area-doppelganger"],a["sendbox__text-area-shared"])}," "):X.createElement(ci,null,X.createElement("div",{className:te(a["sendbox__text-area-doppelganger"],a["sendbox__text-area-shared"])},e.completion?e.completion:e.value||e.placeholder," "),X.createElement("textarea",{"aria-disabled":n,"aria-label":e["aria-label"],className:te(a["sendbox__text-area-input"],a["sendbox__text-area-shared"]),"data-testid":e["data-testid"],onCompositionEnd:l,onCompositionStart:i,onInput:e.onInput,onKeyDown:b,placeholder:e.placeholder,readOnly:n,ref:t,rows:e.startRows??1,tabIndex:e.hidden?-1:void 0,value:e.value})))});Ut.displayName="TextArea";var Gt=Ut;var{useFocus:hi,useLocalizer:mi,useMakeThumbnail:pi,useRegisterFocusSendBox:gi,useSendBoxAttachments:fi,useSendBoxValue:wi,useSendMessage:vi,useStyleOptions:_i,useUIState:yi}=di;function $t(e){let[{hideTelephoneKeypadButton:t,hideUploadButton:o,maxMessageLength:a}]=_i(),[r,n]=fi(),[l,i]=wi(),[b,h]=ui(""),[s]=C(),[d]=yi(),u=c(De),p=T(De),x=Pe("sendbox__error-message-id"),g=bi(null),k=mi(),S=pi(),B=vi(),M=hi(),H=e.isPrimary?l:b,z=e.isPrimary?i:h,G=d==="blueprint",[Xe,Ue]=Ot({message:H,attachments:r}),R=!!a&&H.length>a,uo=!G&&!s&&a&&isFinite(a),Ge=!G&&s;gi(I(({noKeyboard:v,waitUntil:j})=>{g.current&&(v?j((async()=>{let O=g.current?.getAttribute("readonly");g.current?.setAttribute("readonly","true"),await new Promise(Z=>setTimeout(Z,0)),g.current?.focus(),typeof O!="string"?g.current?.removeAttribute("readonly"):g.current?.setAttribute("readonly",O)})()):g.current?.focus())},[g]));let je=jt(r),Ze=jt(H),ho=I(v=>{"tabIndex"in v.target&&typeof v.target.tabIndex=="number"&&v.target.tabIndex>=0||M("sendBox")},[M]),mo=I(v=>z(v.currentTarget.value),[z]),$e=I(async v=>{let j=Object.freeze(await Promise.all(v.map(O=>S(O).then(Z=>Object.freeze({blob:O,...Z&&{thumbnailURL:Z}})))));n(j)},[S,n]),po=I(v=>{v.preventDefault(),Ue()!=="empty"&&!R&&(B(Ze.current,void 0,{attachments:je.current}),z(""),n([])),M("sendBox")},[Ue,R,M,B,z,Ze,je,n]),go=I(v=>B(`/DTMFKey ${v}`),[B]),fo=Ee(),wo={"aria-invalid":"false",...Xe&&{"aria-describedby":x,"aria-errormessage":x,"aria-invalid":"true"}};return w.createElement("form",{...wo,className:U(u.sendbox,p,e.className),"data-testid":m.sendBoxContainer,onSubmit:po},w.createElement(Se,null),w.createElement("div",{className:U(u.sendbox__sendbox),onClickCapture:ho,onKeyDown:fo},w.createElement(Gt,{"aria-label":k(R?"TEXT_INPUT_LENGTH_EXCEEDED_ALT":"TEXT_INPUT_ALT"),className:U(u["sendbox__sendbox-text"],u["sendbox__text-area--in-grid"]),completion:e.completion,"data-testid":m.sendBoxTextBox,hidden:Ge,onInput:mo,placeholder:e.placeholder??k("TEXT_INPUT_PLACEHOLDER"),ref:g,value:H}),w.createElement(Me,{autoFocus:!0,className:u["sendbox__telephone-keypad--in-grid"],isHorizontal:!1,onButtonClick:go}),w.createElement(Lt,{attachments:r,className:u["sendbox__attachment--in-grid"]}),w.createElement("div",{className:U(u["sendbox__sendbox-controls"],u["sendbox__sendbox-controls--in-grid"])},uo&&w.createElement("div",{className:U(u["sendbox__text-counter"],{[u["sendbox__text-counter--error"]]:R})},`${H.length}/${a}`),w.createElement(ze,null,!t&&w.createElement(Kt,null),!o&&w.createElement(Ft,{onFilesAdded:$e}),w.createElement(Le,null),w.createElement(F,{"aria-label":k("TEXT_INPUT_SEND_BUTTON_ALT"),"data-testid":m.sendBoxSendButton,disabled:R||Ge,type:"submit"},w.createElement(de,null)))),w.createElement(pe,{onFilesAdded:$e}),w.createElement(It,{error:Xe,id:x})))}var oe=Zt(e=>w.createElement($t,{...e,isPrimary:!0}));oe.displayName="PrimarySendBox";var Yt=Zt($t);import{DecoratorComposer as Qi}from"botframework-webchat-api/decorator";import{Components as ec}from"botframework-webchat-component";import{WebChatDecorator as tc}from"botframework-webchat-component/decorator";import N,{memo as oc}from"react";import Li from"classnames";import eo,{Fragment as Ei,memo as Pi}from"react";import{hooks as Si}from"botframework-webchat-component";import Bi,{memo as Ti,useCallback as Ve,useEffect as Ci,useRef as Mi}from"react";import{useRefFrom as Hi}from"use-ref-from";import{useContext as Ni}from"react";import{createContext as xi}from"react";var ki={urlStateMap:{get(){throw new Error("urlMap cannot be used outside of <AssetComposerContext>.")}}},qt=xi(Object.create({},ki));qt.displayName="AssetComposerContext";var ae=qt;function Re(){return Ni(ae)}function Oe(e){let t=Re().urlStateMap.get(e);if(!t)throw new Error(`botframework-webchat-fluent-theme internal: Asset "${e}" was not found.`);return t}var{useLocalizer:Ai,useShouldReduceMotion:Fi}=Si,Jt=({className:e})=>{let[t]=Fi(),[o]=Oe("sliding dots"),a=Ai(),r=Mi(null),n=a("TYPING_INDICATOR_ALT"),l=Hi(t),i=Ve(()=>{let s=r.current?.contentDocument,d=s?.documentElement,{SVGSVGElement:u}=s?.defaultView||{};u&&d instanceof u&&d.pauseAnimations()},[r]),b=Ve(()=>{let s=r.current?.contentDocument,d=s?.documentElement,{SVGSVGElement:u}=s?.defaultView||{};u&&d instanceof u&&d.unpauseAnimations()},[r]),h=Ve(()=>l.current?i():b(),[i,l,b]);return Ci(h,[h,t]),Bi.createElement("object",{"aria-label":n,className:e,data:o.href,onLoad:h,ref:r,type:"image/svg+xml"})};Jt.displayName="SlidingDots";var re=Ti(Jt);var Qt={"activity-loader":"se","variant-fluent":"ue"};function Di({children:e}){let t=c(Qt),o=T(t);return eo.createElement(Ei,null,e,eo.createElement(re,{className:Li(t["activity-loader"],o)}))}var to=Pi(Di);import Ii,{memo as Ri,useEffect as Oi,useMemo as oo}from"react";var Vi='<svg xmlns="http://www.w3.org/2000/svg" width="400" height="20" viewBox="0 0 400 20"><defs><linearGradient id="a" x1="0" x2="100%" y1="0" y2="0" gradientUnits="userSpaceOnUse"><stop offset="0%"><animate attributeName="stop-color" dur="2s" keyTimes="0;0.2;0.33;0.5;0.66;0.8;1" repeatCount="indefinite" values="#ad5ae1;#ad5ae1;#0E94E1;#0E94E1;#669fc2;#669fc2;#ad5ae1"/></stop><stop offset="50%"><animate attributeName="stop-color" dur="2s" keyTimes="0;0.2;0.33;0.5;0.66;0.8;1" repeatCount="indefinite" values="#e9618d;#e9618d;#57AB82;#57AB82;#6377e0;#6377e0;#e9618d"/></stop><stop offset="100%"><animate attributeName="stop-color" dur="2s" keyTimes="0;0.2;0.33;0.5;0.66;0.8;1" repeatCount="indefinite" values="#fd9e5f;#fd9e5f;#C6C225;#C6C225;#9b80ec;#9b80ec;#fd9e5f"/></stop></linearGradient></defs><g fill="url(#a)"><rect height="20" rx="10"><animate attributeName="x" dur="2s" keyTimes="0;0.5;0.66;1" repeatCount="indefinite" values="26;26;0;0"/><animate attributeName="width" dur="2s" keyTimes="0;0.2;0.33;0.5;0.66;1" repeatCount="indefinite" values="20;20;30;30;20;20"/><animate attributeName="opacity" dur="2s" keyTimes="0;0.5;0.66;1" repeatCount="indefinite" values="1;1;0;0"/></rect><rect height="20" rx="10"><animate attributeName="x" dur="2s" keyTimes="0;0.2;0.33;0.5;0.66;0.8;1" repeatCount="indefinite" values="62;62;72;72;26;26;0"/><animate attributeName="width" dur="2s" keyTimes="0;0.2;0.33;0.5;0.66;0.8;1" repeatCount="indefinite" values="104;104;20;20;70;70;20"/><animate attributeName="opacity" dur="2s" keyTimes="0;0.8;1" repeatCount="indefinite" values="1;1;0"/></rect><rect height="20" rx="10"><animate attributeName="x" dur="2s" keyTimes="0;0.2;0.33;0.5;0.66;0.8;1" repeatCount="indefinite" values="182;182;108;108;112;112;26"/><animate attributeName="width" dur="2s" keyTimes="0;0.2;0.33;0.5;0.66;1" repeatCount="indefinite" values="20;20;60;60;20;20"/></rect><rect height="20" rx="10"><animate attributeName="x" dur="2s" keyTimes="0;0.2;0.33;0.5;0.66;0.8;1" repeatCount="indefinite" values="218;218;184;184;148;148;62"/><animate attributeName="width" dur="2s" keyTimes="0;0.2;0.33;0.5;0.66;0.8;1" repeatCount="indefinite" values="60;60;80;80;40;40;104"/></rect><rect height="20" rx="10"><animate attributeName="x" dur="2s" keyTimes="0;0.2;0.33;0.5;0.66;0.8;1" repeatCount="indefinite" values="294;294;280;280;204;204;182"/><animate attributeName="width" dur="2s" keyTimes="0;0.2;0.33;0.5;0.66;0.8;1" repeatCount="indefinite" values="40;40;20;20;80;80;20"/></rect><rect height="20" rx="10"><animate attributeName="x" dur="2s" keyTimes="0;0.2;0.33;0.5;0.66;0.8;1" repeatCount="indefinite" values="350;350;316;316;300;300;218"/><animate attributeName="width" dur="2s" keyTimes="0;0.2;0.33;0.5;0.66;0.8;1" repeatCount="indefinite" values="20;20;60;60;20;20;60"/></rect><rect height="20" rx="10"><animate attributeName="x" dur="2s" keyTimes="0;0.2;0.33;0.5;0.66;0.8;1" repeatCount="indefinite" values="386;386;392;392;336;336;294"/><animate attributeName="width" dur="2s" keyTimes="0;0.5;0.66;1" repeatCount="indefinite" values="20;20;40;40"/><animate attributeName="opacity" dur="2s" keyTimes="0;0.5;0.66;1" repeatCount="indefinite" values="0;0;1;1"/></rect><rect width="20" height="20" rx="10"><animate attributeName="x" dur="2s" keyTimes="0;0.2;0.33;0.5;0.66;0.8;1" repeatCount="indefinite" values="422;422;428;428;392;392;350"/><animate attributeName="opacity" dur="2s" keyTimes="0;0.8;1" repeatCount="indefinite" values="0;0;1"/></rect></g></svg>',ao=Ri(({children:e})=>{let t=oo(()=>URL.createObjectURL(new Blob([Vi],{type:"image/svg+xml"})),[]);Oi(()=>()=>URL.revokeObjectURL(t),[t]);let o=oo(()=>Object.freeze({urlStateMap:new Map([["sliding dots",Object.freeze([new URL(t)])]])}),[t]);return Ii.createElement(ae.Provider,{value:o},e)});ao.displayName="AssetComposer";var ro=ao;function ne(e){return!!(e&&e.from.role==="channel"&&e.type==="message"&&"text"in e)}import io,{memo as Ki}from"react";var no={"liner-message-activity":"we","liner-message-activity__text":"ge"};var co=({activity:e})=>{let t=c(no);return io.createElement("div",{className:t["liner-message-activity"],role:"separator"},io.createElement("span",{className:t["liner-message-activity__text"]},e.text))};co.displayName="LinerMessageActivity";var We=Ki(co);import Ui from"react";import Gi from"classnames";var Ke={theme:"_","variant-copilot":"ea"};var ji="webchat-fluent";function ie(e){let t=c(Ke),o=T(Ke);return Ui.createElement("div",{className:Gi(ji,t.theme,o)},e.children)}import{testIds as $i}from"botframework-webchat-component";import Yi from"classnames";import so,{memo as qi}from"react";var lo={"sliding-dots-typing-indicator":"ve","sliding-dots-typing-indicator__image":"pe"};function Ji(){let e=c(lo);return so.createElement("div",{className:e["sliding-dots-typing-indicator"],"data-testid":$i.typingIndicator},so.createElement(re,{className:Yi(e["sliding-dots-typing-indicator__image"])}))}var bo=qi(Ji);var{ThemeProvider:ac}=ec,rc=Object.freeze([()=>e=>(...t)=>{let o=t[0]?.activity;if(L(o))return()=>N.createElement(_e,{activity:o});if(ne(o))return()=>N.createElement(We,{activity:o});let a=e(...t);return a&&((...r)=>N.createElement(ve,{activity:o},a(...r)))}]),nc=[()=>()=>()=>oe],ic=[e=>e==="activity border"&&(t=>o=>o.livestreamingState==="preparing"?to:t(o))],cc=ue(),lc=Object.freeze({feedbackActionsPlacement:"activity-actions"}),sc=Object.freeze([()=>e=>(...t)=>t[0].visible?N.createElement(bo,null):e(...t)]),dc=({children:e,variant:t="fluent"})=>N.createElement(qe,{variant:t},N.createElement(ie,null,N.createElement(Be,null,N.createElement(ac,{activityMiddleware:rc,sendBoxMiddleware:nc,styleOptions:lc,styles:cc,typingIndicatorMiddleware:sc},N.createElement(ro,null,N.createElement(tc,null,N.createElement(Qi,{middleware:ic},e))))))),bc=oc(dc);var hc="tsup",mc="esmodules",pc="4.18.1-main.20250505.5e12798",Ah={buildTool:hc,moduleFormat:mc,version:pc};uc("botframework-webchat:fluent-theme","version=4.18.1-main.20250505.5e12798; build-tool=tsup; module-format=esmodules");export{Yt as FluentSendBox,bc as FluentThemeProvider,Ah as buildInfo,m as testIds};
|
|
1
|
+
import{injectMetaTag as uc}from"inject-meta-tag";import{hooks as hi}from"botframework-webchat-component";import Q from"classnames";import w,{memo as _o,useCallback as V,useRef as _i,useState as mi}from"react";import{useRefFrom as ho}from"use-ref-from";import{Components as Ro}from"botframework-webchat-component";import Wo from"classnames";import Vo,{memo as Oo}from"react";var{MonochromeImageMasker:Ko}=Ro,Go=`data:image/svg+xml;utf8,${encodeURIComponent('<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M6 2a2 2 0 0 0-2 2v5.2c.32-.08.66-.15 1-.18V4a1 1 0 0 1 1-1h4v3.5c0 .83.67 1.5 1.5 1.5H15v8a1 1 0 0 1-1 1h-3.6c-.18.36-.4.7-.66 1H14a2 2 0 0 0 2-2V7.41c0-.4-.16-.78-.44-1.06l-3.91-3.91A1.5 1.5 0 0 0 10.59 2H6Zm8.8 5h-3.3a.5.5 0 0 1-.5-.5V3.2L14.8 7ZM10 14.5a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0Zm-4-2a.5.5 0 0 0-1 0V14H3.5a.5.5 0 0 0 0 1H5v1.5a.5.5 0 0 0 1 0V15h1.5a.5.5 0 0 0 0-1H6v-1.5Z"/></svg>')}`;function qo(e){return Vo.createElement(Ko,{className:Wo("icon__add-document",e.className),src:Go})}var we=Oo(qo);import{Components as Xo}from"botframework-webchat-component";import Uo from"classnames";import Zo,{memo as jo}from"react";var{MonochromeImageMasker:Jo}=Xo,$o=`data:image/svg+xml;utf8,${encodeURIComponent('<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m4.83 10.48 5.65-5.65a3 3 0 0 1 4.25 4.24L8 15.8a1.5 1.5 0 0 1-2.12-2.12l6-6.01a.5.5 0 1 0-.7-.71l-6 6.01a2.5 2.5 0 0 0 3.53 3.54l6.71-6.72a4 4 0 1 0-5.65-5.66L4.12 9.78a.5.5 0 0 0 .7.7Z"/></svg>')}`;function Yo(e){return Zo.createElement(Jo,{className:Uo("icon__attachment",e.className),src:$o})}var fe=jo(Yo);import{Components as Qo}from"botframework-webchat-component";import ea from"classnames";import ta,{memo as oa}from"react";var{MonochromeImageMasker:aa}=Qo,ra=`data:image/svg+xml;utf8,${encodeURIComponent('<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M8.5 7.5a.5.5 0 1 0-1 0v3a.5.5 0 0 0 1 0v-3Zm.25-2a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1ZM2 8a6 6 0 1 1 12 0A6 6 0 0 1 2 8Z"/></svg>')}`;function na(e){return ta.createElement(aa,{className:ea("icon__info--small",e.className),src:ra})}var ve=oa(na);import{Components as ia}from"botframework-webchat-component";import ca from"classnames";import sa,{memo as da}from"react";var{MonochromeImageMasker:la}=ia,ba=`data:image/svg+xml;utf8,${encodeURIComponent('<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2.18 2.11a.5.5 0 0 1 .54-.06l15 7.5a.5.5 0 0 1 0 .9l-15 7.5a.5.5 0 0 1-.7-.58L3.98 10 2.02 2.63a.5.5 0 0 1 .16-.52Zm2.7 8.39-1.61 6.06L16.38 10 3.27 3.44 4.88 9.5h6.62a.5.5 0 1 1 0 1H4.88Z"/></svg>')}`;function ua(e){return sa.createElement(la,{className:ca("icon__send",e.className),src:ba})}var xe=da(ua);import{Components as pa}from"botframework-webchat-component";import ha from"classnames";import _a,{memo as ma}from"react";var{MonochromeImageMasker:ga}=pa,wa=`data:image/svg+xml;utf8,${encodeURIComponent('<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M6 5.25a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5Zm0 4a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5ZM7.25 12a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0ZM10 5.25a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5ZM11.25 8a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0ZM10 13.25a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5ZM11.25 16a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0ZM14 5.25a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5ZM15.25 8a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0ZM14 13.25a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5Z"/></svg>')}`;function fa(e){return _a.createElement(ga,{className:ha("icon__telephone-keypad",e.className),src:wa})}var ye=ma(fa);function va(e){let t=document.createElement("style");return t.append(document.createTextNode(e)),t}function ht(...e){return function(){if(!globalThis.document)throw new Error("Unable to create styles: document is not defined");return e.map(t=>va(t))}}var xa=".webchat-fluent .wbibrda_sendbox__attachment-drop-zone{background-color:var(--webchat-colorNeutralBackground4);border-radius:inherit;cursor:copy;transition:all var(--webchat-durationNormal) var(--webchat-curveDecelerateMid);place-content:center;place-items:center;gap:8px;display:grid;position:absolute;inset:0}.webchat-fluent .wbibrda_sendbox__attachment-drop-zone--droppable{background-color:var(--webchat-colorBrandBackground2Hover)}.webchat-fluent .wbibrda_sendbox__attachment-drop-zone-icon{pointer-events:none;font-size:36px}.webchat-fluent .wdPvBTa_pre-chat-message-activity{box-sizing:border-box;gap:var(--webchat-spacingHorizontalXXXL);padding:var(--webchat-spacingHorizontalXXXL) var(--webchat-spacingHorizontalM);grid-template-rows:auto auto;grid-template-areas:\"body\" \"toolbar\";display:grid;position:relative}.webchat-fluent .wdPvBTa_pre-chat-message-activity__body{font-family:var(--webchat-fontFamilyBase);font-size:var(--webchat-fontSizeBase300);font-weight:var(--webchat-fontWeightRegular);align-items:center;gap:var(--webchat-spacingVerticalXS);line-height:var(--webchat-lineHeightBase300);text-align:center;flex-flow:column;grid-area:body;display:flex}.webchat-fluent .wdPvBTa_pre-chat-message-activity__body--blueprint{opacity:.6}.webchat-fluent .wdPvBTa_pre-chat-message-activity__body--blueprint .wdPvBTa_pre-chat-message-activity__body-avatar{filter:grayscale()}.webchat-fluent .wdPvBTa_pre-chat-message-activity__body-avatar{border-radius:var(--webchat-borderRadiusMedium);height:64px;margin-block-end:var(--webchat-spacingVerticalM)}.webchat-fluent .wdPvBTa_pre-chat-message-activity__body-title{color:var(--webchat-colorNeutralForeground1);font-family:inherit;font-size:var(--webchat-fontSizeHero700);font-weight:var(--webchat-fontWeightSemibold);line-height:var(--webchat-lineHeightHero700);overflow-wrap:anywhere;margin:0}.webchat-fluent .wdPvBTa_pre-chat-message-activity__body-subtitle{font-size:var(--webchat-fontSizeBase300);line-height:var(--webchat-lineHeightBase300);overflow-wrap:anywhere}.webchat-fluent .wdPvBTa_pre-chat-message-activity__toolbar{grid-area:toolbar}.webchat-fluent .woY4Pxq_pre-chat-message-activity__card-action-box{-webkit-appearance:none;appearance:none;background-color:var(--webchat-colorNeutralBackground1);box-shadow:var(--webchat-shadow2);color:var(--webchat-colorNeutralForeground1);cursor:pointer;gap:var(--webchat-spacingVerticalS);text-align:left;transition:background-color var(--webchat-durationNormal) var(--webchat-curveDecelerateMid);-webkit-user-select:none;user-select:none;border:0;border-radius:16px;grid-template:\"title\" \"subtitle\" 1fr / 1fr;padding:16px 20px;display:grid;overflow:hidden}.webchat-fluent .woY4Pxq_pre-chat-message-activity__card-action-box:has(.woY4Pxq_pre-chat-message-activity__card-action-image){grid-template-columns:20px 1fr;grid-template-areas:\"image title\" \"image subtitle\"}.webchat-fluent .woY4Pxq_pre-chat-message-activity__card-action-box:empty{row-gap:14px}.webchat-fluent .woY4Pxq_pre-chat-message-activity__card-action-box:is([aria-disabled=true],:empty){cursor:default}.webchat-fluent .woY4Pxq_pre-chat-message-activity__card-action-box[aria-disabled=true]:not(:empty){background-color:var(--webchat-colorNeutralBackgroundDisabled)}.webchat-fluent .woY4Pxq_pre-chat-message-activity__card-action-box:hover:not([aria-disabled=true],:empty){background-color:var(--webchat-colorNeutralBackground1Hover)}.webchat-fluent .woY4Pxq_pre-chat-message-activity__card-action-box:active:not([aria-disabled=true],:empty){background-color:var(--webchat-colorNeutralBackground1Pressed)}.webchat-fluent .woY4Pxq_pre-chat-message-activity__card-action-box:focus-visible{outline:solid 2px var(--webchat-colorStrokeFocus2);outline-offset:-2px}.webchat-fluent .woY4Pxq_pre-chat-message-activity__card-action-box:empty:after,.webchat-fluent .woY4Pxq_pre-chat-message-activity__card-action-box:empty:before{background-attachment:fixed;background-image:linear-gradient(-90deg,var(--webchat-colorNeutralStencil1) 0%,var(--webchat-colorNeutralStencil2) 50%,var(--webchat-colorNeutralStencil1) 100%);content:\"\";background-size:300% 100%;animation:3s linear infinite blueprintAnimation;display:block}@media (prefers-reduced-motion: reduce){.webchat-fluent .woY4Pxq_pre-chat-message-activity__card-action-box:empty:after,.webchat-fluent .woY4Pxq_pre-chat-message-activity__card-action-box:empty:before{animation-play-state:paused;animation-delay:-1s}}.webchat-fluent .woY4Pxq_pre-chat-message-activity__card-action-box:dir(rtl):empty:after,.webchat-fluent .woY4Pxq_pre-chat-message-activity__card-action-box:dir(rtl):empty:before{animation-direction:reverse}.webchat-fluent .woY4Pxq_pre-chat-message-activity__card-action-box:empty:after{border-radius:16px;width:100%;height:16px}.webchat-fluent .woY4Pxq_pre-chat-message-activity__card-action-box:empty:before{border-radius:18px;width:66%;height:18px}@keyframes blueprintAnimation{0%{background-position-x:0%}to{background-position-x:-300%}}.webchat-fluent .woY4Pxq_pre-chat-message-activity__card-action-image{color:var(--webchat-colorNeutralForeground4);grid-area:image;font-size:20px}.webchat-fluent .woY4Pxq_pre-chat-message-activity__card-action-subtitle{font-family:var(--webchat-fontFamilyBase);font-size:14px;font-weight:var(--webchat-fontWeightRegular);pointer-events:none;grid-area:subtitle;line-height:20px}.webchat-fluent .woY4Pxq_pre-chat-message-activity__card-action-title{font-family:var(--webchat-fontFamilyBase);font-size:14px;font-weight:var(--webchat-fontWeightSemibold);grid-area:title;line-height:20px}.webchat-fluent .wvd8n9G_pre-chat-message-activity__card-action-toolbar{container:webchat-container / inline-size}.webchat-fluent .wvd8n9G_pre-chat-message-activity__card-action-toolbar-grid{gap:var(--webchat-spacingHorizontalM);grid-template-columns:1fr 1fr 1fr;padding:0;display:grid}@container webchat-container (width <= 480px){.webchat-fluent .wvd8n9G_pre-chat-message-activity__card-action-toolbar-grid{grid-template-columns:1fr}}.webchat-fluent .wLpvzAq_activity-decorator{font-family:var(--webchat__font--primary);--webchat__bubble--inline-padding: var(--webchat-spacingHorizontalL);--webchat__bubble--block-padding: var(--webchat-spacingVerticalM);--webchat__bubble--min-height: var(--webchat-bubble-minHeight);--webchat__bubble--max-width: var(--webchat-bubble-maxWidth);--webchat__bubble--min-width: var(--webchat-bubble-minWidth);--webchat-bubble-maxWidth: var(--bubble-maxWidth, max(450px, 75%));--webchat-bubble-minWidth: var(--bubble-minWidth, auto);--webchat-bubble-minHeight: var(--bubble-minHeight, 36px);--webchat-externalLink-mask: var(--externalLink-mask, var(--webchat__icon-url--external-link) center center / 10px 10px);--webchat-externalLink-maxWidth: var(--externalLink-maxWidth, 204px);display:contents}.webchat-fluent .wLpvzAq_activity-decorator:has(.webchat__stacked-layout .webchat__bubble--from-user){--webchat__bubble--background-color: var(--webchat-colorBrandBackground2);--webchat__bubble--block-padding: var(--webchat-spacingVerticalS);--webchat__bubble--min-width: auto}.webchat-fluent .wLpvzAq_activity-decorator.wLpvzAq_variant-fluent{--webchat__bubble--background-color: var(--webchat-colorNeutralBackground1);--webchat__bubble--border-radius: var(--webchat-borderRadiusXLarge);--webchat__bubble--box-shadow: var(--webchat-shadow4)}.webchat-fluent .wLpvzAq_activity-decorator.wLpvzAq_variant-copilot{--webchat__bubble--border-radius: var(--webchat-borderRadiusXLarge)}.webchat-fluent .wLpvzAq_activity-decorator.wLpvzAq_variant-copilot .webchat__activity-status{margin:0 0 var(--webchat-spacingHorizontalXXS)}.webchat-fluent .wLpvzAq_activity-decorator.wLpvzAq_variant-copilot .webchat__stacked-layout__status{order:-1}.webchat-fluent .wLpvzAq_activity-decorator.wLpvzAq_variant-copilot:has(.webchat__bubble--from-user) .webchat__bubble{margin-block-end:var(--webchat-spacingVerticalM)}.webchat-fluent .wLpvzAq_activity-decorator.wLpvzAq_variant-copilot .webchat__bubble .webchat__text-content .webchat__text-content__generated-badge{display:none}.webchat-fluent .wLpvzAq_activity-decorator.wLpvzAq_variant-copilot:not(:has(.webchat__bubble--from-user)){--webchat__bubble--block-padding: 0;--webchat__bubble--border-radius: var(--webchat-borderRadiusMedium);--webchat__bubble--inline-padding: 0;--webchat__bubble--max-width: 100%;--webchat__bubble--min-height: 20px;gap:var(--webchat-spacingVerticalS);margin-inline:var(--webchat-spacingHorizontalM);padding:var(--webchat-spacingVerticalMNudge) var(--webchat-spacingHorizontalM) var(--webchat-spacingVerticalM);flex-flow:column;display:flex;position:relative}.webchat-fluent .wLpvzAq_activity-decorator.wLpvzAq_variant-copilot:not(:has(.webchat__bubble--from-user)) .webchat__stacked-layout{margin:0;position:static}.webchat-fluent .wLpvzAq_activity-decorator.wLpvzAq_variant-copilot:not(:has(.webchat__bubble--from-user)) .webchat__bubble{width:var(--webchat__bubble--max-width);position:static}.webchat-fluent .wLpvzAq_activity-decorator.wLpvzAq_variant-copilot:not(:has(.webchat__bubble--from-user)) .webchat__bubble .webchat__bubble__content{overflow:visible}.webchat-fluent .wLpvzAq_activity-decorator.wLpvzAq_variant-copilot:not(:has(.webchat__bubble--from-user)) .webchat__text-content{margin-inline-start:28px}.webchat-fluent .wLpvzAq_activity-decorator.wLpvzAq_variant-copilot:not(:has(.webchat__bubble--from-user)) .border-loader{gap:var(--webchat-spacingVerticalS);flex-flow:column;width:500px;padding-inline-end:var(--webchat-spacingHorizontalM);display:flex}.webchat-fluent .wLpvzAq_activity-decorator.wLpvzAq_variant-copilot:not(:has(.webchat__bubble--from-user)) .border-loader__track{border-radius:inherit;box-sizing:border-box;clip-path:border-box;order:-1;width:auto;margin-inline-start:28px}.webchat-fluent .wLpvzAq_activity-decorator.wLpvzAq_variant-copilot:not(:has(.webchat__bubble--from-user)) .webchat__stacked-layout__status{display:none}.webchat-fluent .wLpvzAq_activity-decorator .webchat__basic-transcript__activity-body:not(:empty){padding-block-end:var(--webchat-spacingVerticalXL)}.webchat-fluent .wLpvzAq_activity-decorator .webchat__stacked-layout{flex-flow:column;display:flex}.webchat-fluent .wLpvzAq_activity-decorator .webchat__stacked-layout .webchat__stacked-layout__content:has(.webchat__bubble){max-width:100%;overflow:visible}.webchat-fluent .wLpvzAq_activity-decorator .webchat__stacked-layout .webchat__stacked-layout__status{font-size:var(--webchat__font-size--small);line-height:var(--webchat__line-height--small)}.webchat-fluent .wLpvzAq_activity-decorator .webchat__stacked-layout .webchat__bubble{max-width:min(var(--webchat__bubble--max-width),100%);min-width:var(--webchat__bubble--min-width);overflow:visible}.webchat-fluent .wLpvzAq_activity-decorator .webchat__stacked-layout .webchat__bubble:has(.border-loader){width:100%}.webchat-fluent .wLpvzAq_activity-decorator .webchat__stacked-layout .webchat__bubble:has(.activity-loader) .webchat__bubble__content{box-shadow:none;background:none}.webchat-fluent .wLpvzAq_activity-decorator .webchat__stacked-layout .webchat__bubble .webchat__bubble__content{background-color:var(--webchat__bubble--background-color);border-radius:var(--webchat__bubble--border-radius);box-shadow:var(--webchat__bubble--box-shadow);box-sizing:border-box;color:var(--webchat-colorNeutralForeground1);max-width:100%;min-height:var(--webchat__bubble--min-height);border-width:0}.webchat-fluent .wLpvzAq_activity-decorator .webchat__stacked-layout .webchat__bubble .webchat__text-content{font-size:var(--webchat__font-size--medium);line-height:var(--webchat__line-height--medium);min-height:auto;padding-block:var(--webchat__bubble--block-padding);padding-inline:var(--webchat__bubble--inline-padding)}.webchat-fluent .wLpvzAq_activity-decorator .webchat__stacked-layout .webchat__bubble .webchat__text-content:empty{padding-block-end:0}.webchat-fluent .wLpvzAq_activity-decorator .webchat__stacked-layout .webchat__bubble .webchat__text-content+.webchat__text-content{margin-top:calc(var(--webchat__bubble--block-padding) * -1)}.webchat-fluent .wLpvzAq_activity-decorator .webchat__stacked-layout .webchat__bubble .webchat__text-content__generated-badge{background-color:var(--webchat-colorNeutralBackground5);border-radius:var(--webchat-borderRadiusMedium);box-sizing:border-box;color:var(--webchat-colorNeutralForeground3);cursor:default;font-size:var(--webchat-fontSizeBase100);height:16px;line-height:var(--webchat-lineHeightBase100);padding-inline:var(--webchat-spacingHorizontalXS);align-self:flex-start;align-items:center;display:inline-flex}.webchat-fluent .wLpvzAq_activity-decorator .webchat__stacked-layout .webchat__bubble .webchat__fileContent__badge{cursor:default;font-size:var(--webchat-fontSizeBase300);line-height:var(--webchat-lineHeightBase300)}.webchat-fluent .wLpvzAq_activity-decorator .webchat__stacked-layout .webchat__bubble .webchat__fileContent__badge .webchat__fileContent__fileName{color:var(--webchat-colorBrandForegroundLink);font-family:inherit}.webchat-fluent .wLpvzAq_activity-decorator .webchat__stacked-layout .webchat__bubble .webchat__fileContent__badge .webchat__fileContent__size{color:var(--webchat-colorNeutralForeground2);font-family:inherit}.webchat-fluent .wLpvzAq_activity-decorator .webchat__render-markdown a[href]:not(.webchat__render-markdown__pure-identifier){color:var(--webchat-colorBrandForegroundLink);text-decoration-color:#0000}.webchat-fluent .wLpvzAq_activity-decorator .webchat__render-markdown a[href]:not(.webchat__render-markdown__pure-identifier):target{color:var(--webchat-colorBrandForegroundLinkSelected)}.webchat-fluent .wLpvzAq_activity-decorator .webchat__render-markdown a[href]:not(.webchat__render-markdown__pure-identifier):hover{color:var(--webchat-colorBrandForegroundLinkHover);text-decoration:underline 1px}.webchat-fluent .wLpvzAq_activity-decorator .webchat__render-markdown a[href]:not(.webchat__render-markdown__pure-identifier):active{color:var(--webchat-colorBrandForegroundLinkPressed)}.webchat-fluent .wLpvzAq_activity-decorator .webchat__render-markdown a[href]:not(.webchat__render-markdown__pure-identifier):focus-visible{text-decoration:underline 1px double var(--webchat-colorStrokeFocus2);outline:none}.webchat-fluent .wLpvzAq_activity-decorator .webchat__render-markdown a[href]:not(.webchat__render-markdown__pure-identifier) .webchat__render-markdown__external-link-icon{-webkit-mask:var(--webchat__icon-url--external-link) no-repeat;mask:var(--webchat__icon-url--external-link) no-repeat;background:currentColor}.webchat-fluent .wLpvzAq_activity-decorator .webchat__render-markdown .webchat__render-markdown__citation,.webchat-fluent .wLpvzAq_activity-decorator .webchat__render-markdown .webchat__render-markdown__pure-identifier{background-color:var(--webchat-colorNeutralBackground3);border-radius:var(--webchat-borderRadiusMedium);border:var(--webchat-strokeWidthThin) solid var(--webchat-colorNeutralStroke2);box-sizing:border-box;color:var(--webchat-colorNeutralForeground2);font-size:var(--webchat-fontSizeBase100);font-weight:var(--webchat-fontWeightSemibold);height:14px;line-height:var(--webchat-lineHeightBase100);margin-left:var(--webchat-spacingHorizontalXXS);margin-right:var(--webchat-spacingHorizontalXXS);min-width:14px;transition:all var(--webchat-durationNormal) var(--webchat-curveDecelerateMid);vertical-align:calc((var(--webchat-lineHeightBase100) - var(--webchat-fontSizeBase100)) / 2);justify-content:center;align-items:center;text-decoration:none;display:inline-flex}:is(.webchat-fluent .wLpvzAq_activity-decorator .webchat__render-markdown .webchat__render-markdown__citation,.webchat-fluent .wLpvzAq_activity-decorator .webchat__render-markdown .webchat__render-markdown__pure-identifier):hover{background-color:var(--webchat-colorBrandBackground2Hover);border-color:var(--webchat-colorBrandStroke2Hover);color:var(--webchat-colorBrandForeground2Hover);cursor:pointer}:is(.webchat-fluent .wLpvzAq_activity-decorator .webchat__render-markdown .webchat__render-markdown__citation,.webchat-fluent .wLpvzAq_activity-decorator .webchat__render-markdown .webchat__render-markdown__pure-identifier):hover:active{background-color:var(--webchat-colorBrandBackground2Pressed);border-color:var(--webchat-colorBrandStroke2Pressed);color:var(--webchat-colorBrandForeground2Pressed)}:is(.webchat-fluent .wLpvzAq_activity-decorator .webchat__render-markdown .webchat__render-markdown__citation,.webchat-fluent .wLpvzAq_activity-decorator .webchat__render-markdown .webchat__render-markdown__pure-identifier):before,:is(.webchat-fluent .wLpvzAq_activity-decorator .webchat__render-markdown .webchat__render-markdown__citation,.webchat-fluent .wLpvzAq_activity-decorator .webchat__render-markdown .webchat__render-markdown__pure-identifier):after{all:unset}:is(.webchat-fluent .wLpvzAq_activity-decorator .webchat__render-markdown .webchat__render-markdown__citation,.webchat-fluent .wLpvzAq_activity-decorator .webchat__render-markdown .webchat__render-markdown__pure-identifier):has(.webchat__render-markdown__external-link-icon){padding-inline:3px}:is(.webchat-fluent .wLpvzAq_activity-decorator .webchat__render-markdown .webchat__render-markdown__citation,.webchat-fluent .wLpvzAq_activity-decorator .webchat__render-markdown .webchat__render-markdown__pure-identifier) .webchat__render-markdown__external-link-icon{height:.7em;-webkit-mask:var(--webchat__icon-url--external-link) no-repeat;mask:var(--webchat__icon-url--external-link) no-repeat;background:currentColor}.webchat-fluent .wLpvzAq_activity-decorator .webchat__link-definitions__header{border-radius:var(--webchat-borderRadiusMedium)}.webchat-fluent .wLpvzAq_activity-decorator .webchat__link-definitions__header .webchat__link-definitions__header-text{color:var(--webchat-colorNeutralForeground3)}.webchat-fluent .wLpvzAq_activity-decorator .webchat__link-definitions__header .webchat__link-definitions__header-chevron{fill:var(--webchat-colorNeutralForeground3);font-size:var(--webchat__font-size--small);width:1em}.webchat-fluent .wLpvzAq_activity-decorator .webchat__link-definitions__header:focus-visible{outline-offset:1px;outline:var(--webchat-strokeWidthThin) solid var(--webchat-colorStrokeFocus2)}.webchat-fluent .wLpvzAq_activity-decorator .webchat__link-definitions{--webchat__citation__external-link--mask: var(--webchat-externalLink-mask);--webchat__citation__link--max-width: var(--webchat-externalLink-maxWidth)}.webchat-fluent .wLpvzAq_activity-decorator .webchat__link-definitions .webchat__link-definitions__list{color:var(--webchat__color--subtle);gap:var(--webchat-spacingHorizontalS);flex-flow:wrap;display:flex}.webchat-fluent .wLpvzAq_activity-decorator .webchat__link-definitions .webchat__link-definitions__list-item{border-radius:var(--webchat-borderRadiusMedium);max-width:var(--webchat__citation__link--max-width)}.webchat-fluent .wLpvzAq_activity-decorator .webchat__link-definitions .webchat__link-definitions__list-item-box{background-color:var(--webchat-colorNeutralBackground3);border-radius:var(--webchat-borderRadiusMedium);border:var(--webchat-strokeWidthThin) solid var(--webchat-colorNeutralStroke2);box-sizing:border-box;color:currentColor;font-size:var(--webchat__font-size--small);height:24px;padding-inline-end:var(--webchat-spacingHorizontalS);display:inline-flex}.webchat-fluent .wLpvzAq_activity-decorator .webchat__link-definitions .webchat__link-definitions__list-item-body{gap:var(--webchat-spacingHorizontalSNudge);min-width:0;padding:0;font-family:inherit}.webchat-fluent .wLpvzAq_activity-decorator .webchat__link-definitions .webchat__link-definitions__badge{color:currentColor;font-size:var(--webchat-fontSizeBase100);font-weight:var(--webchat-fontWeightSemibold);line-height:var(--webchat-lineHeightBase100);text-align:center;background-color:#0000;border:none;border-radius:0;align-self:center;min-width:20px;margin:0;padding:0;position:relative}.webchat-fluent .wLpvzAq_activity-decorator .webchat__link-definitions .webchat__link-definitions__badge:after{border-right:var(--webchat-strokeWidthThin) solid var(--webchat-colorNeutralStroke2);content:\"\";width:0;height:16px;display:block;position:absolute;top:0;bottom:0;right:0}.webchat-fluent .wLpvzAq_activity-decorator .webchat__link-definitions .webchat__link-definitions__list-item-main-text{gap:var(--webchat-spacingHorizontalXS)}.webchat-fluent .wLpvzAq_activity-decorator .webchat__link-definitions .webchat__link-definitions__list-item-text{color:currentColor;text-overflow:ellipsis;text-decoration:none}.webchat-fluent .wLpvzAq_activity-decorator .webchat__link-definitions .webchat__link-definitions__list-item-main-text:has(.webchat__link-definitions__open-in-new-window-icon):before{color:currentColor;content:\"\";font-size:var(--webchat-fontSizeBase400);height:1em;-webkit-mask:var(--webchat__citation__external-link--mask) no-repeat;mask:var(--webchat__citation__external-link--mask) no-repeat;background:currentColor;flex:none;align-self:center;width:1em;padding:0}.webchat-fluent .wLpvzAq_activity-decorator .webchat__link-definitions :is(.webchat__link-definitions__list-item-badge,.webchat__link-definitions__open-in-new-window-icon){display:none}.webchat-fluent .wyJATiG_copilot-message-header{box-sizing:border-box;cursor:default;align-items:center;gap:var(--webchat-spacingHorizontalS);max-width:var(--webchat__bubble--max-width);flex-wrap:nowrap;display:flex}.webchat-fluent .wyJATiG_copilot-message-header__avatar{aspect-ratio:1;background-color:var(--background-color);border-radius:var(--webchat-borderRadiusSmall);width:20px}.webchat-fluent .wyJATiG_copilot-message-header__title{font-size:var(--webchat-fontSizeBase300);font-weight:var(--webchat-fontWeightSemibold);line-height:var(--webchat-lineHeightBase300);text-overflow:ellipsis;text-wrap:nowrap;overflow:hidden}.webchat-fluent .wyJATiG_copilot-message-header__ai-generated-content{background-color:var(--webchat-colorNeutralBackground5);border-radius:var(--webchat-borderRadiusMedium);color:var(--webchat-colorNeutralForeground3);font-size:var(--webchat-fontSizeBase100);height:20px;line-height:var(--webchat-lineHeightBase100);padding-inline:var(--webchat-spacingHorizontalXS);flex:none;align-items:center;display:flex}.webchat-fluent .wenGMeW_suggested-action{border-radius:var(--webchat-borderRadiusXLarge);border:var(--webchat-strokeWidthThin) solid var(--webchat-colorBrandStroke2);color:currentColor;cursor:pointer;font-family:var(--webchat__font--primary);font-size:var(--webchat-fontSizeBase200);align-items:center;gap:var(--webchat-spacingHorizontalXS);padding:var(--webchat-spacingVerticalXS) var(--webchat-spacingHorizontalS);text-align:start;transition:all var(--webchat-durationNormal) var(--webchat-curveDecelerateMid);background:none;display:flex}@media (hover: hover){.webchat-fluent .wenGMeW_suggested-action:not([aria-disabled=true]):hover{background-color:var(--webchat-colorBrandBackground2Hover);color:var(--webchat-colorBrandForeground2Hover)}}.webchat-fluent .wenGMeW_suggested-action:not([aria-disabled=true]):active{background-color:var(--webchat-colorBrandBackground2Pressed);color:var(--webchat-colorBrandForeground2Pressed)}.webchat-fluent .wenGMeW_suggested-action[aria-disabled=true]{color:var(--webchat-colorNeutralForegroundDisabled);cursor:not-allowed}.webchat-fluent .wenGMeW_suggested-action__image{font-size:var(--webchat-fontSizeBase200);width:1em;height:1em}.webchat-fluent .wy3OzFW_suggested-actions{flex-direction:column;align-self:flex-end;align-items:flex-end;gap:8px;display:flex}.webchat-fluent .wy3OzFW_suggested-actions:not(:empty){padding-block-end:8px;padding-inline-start:4px}.webchat-fluent .wy3OzFW_suggested-actions.wy3OzFW_suggested-actions--flow{flex-flow:wrap;justify-content:flex-end}.webchat-fluent .wy3OzFW_suggested-actions.wy3OzFW_suggested-actions--stacked{flex-direction:column}.webchat-fluent .wwTs9lq_telephone-keypad__button{-webkit-user-select:none;user-select:none;-webkit-appearance:none;appearance:none;border:solid 1px var(--webchat-colorNeutralStroke1);color:var(--webchat-colorGray200);font-weight:var(--webchat-fontWeightSemibold);cursor:pointer;opacity:.7;touch-action:none;background-color:#fff;border-radius:100%;flex-direction:column;align-items:center;width:60px;height:60px;padding:0;display:flex;position:relative}.webchat-fluent .wwTs9lq_telephone-keypad__button:hover{background-color:var(--webchat-colorGray30)}.webchat-fluent .wwTs9lq_telephone-keypad__button__ruby{color:var(--webchat-colorGray190);font-size:10px}.webchat-fluent .wwTs9lq_telephone-keypad__button__text{margin-top:8px;font-size:24px}.webchat-fluent .wwTs9lq_telephone-keypad--horizontal .wwTs9lq_telephone-keypad__button{justify-content:center;width:32px;height:32px;margin:8px 4px}.webchat-fluent .wwTs9lq_telephone-keypad--horizontal .wwTs9lq_telephone-keypad__button__ruby{display:none}.webchat-fluent .wwTs9lq_telephone-keypad--horizontal .wwTs9lq_telephone-keypad__button__text{margin-top:0;font-size:20px}.webchat-fluent .wEgqGmW_telephone-keypad{background:var(--webchat-colorNeutralBackground1);border-radius:var(--webchat-borderRadiusXLarge);font-family:var(--webchat-fontFamilyBase);border:none;flex-direction:column;justify-content:center;align-items:center;display:flex}.webchat-fluent .wEgqGmW_telephone-keypad__box{box-sizing:border-box;grid-template-rows:repeat(4,1fr);grid-template-columns:repeat(3,1fr);justify-items:center;gap:16px;width:100%;padding:16px;display:grid}.webchat-fluent .wEgqGmW_telephone-keypad__info-message{color:var(--webchat-colorNeutralForeground4);align-items:center;gap:6px;margin-block-end:6px;font-size:12px;display:flex}.webchat-fluent .wEgqGmW_telephone-keypad__info-message-link{color:var(--webchat-colorBrandForegroundLink);text-decoration-color:#0000}.webchat-fluent .wEgqGmW_telephone-keypad__info-message-link:target{color:var(--webchat-colorBrandForegroundLinkSelected)}.webchat-fluent .wEgqGmW_telephone-keypad__info-message-link:hover{color:var(--webchat-colorBrandForegroundLinkHover);text-decoration:underline 1px}.webchat-fluent .wEgqGmW_telephone-keypad__info-message-link:active{color:var(--webchat-colorBrandForegroundLinkPressed)}.webchat-fluent .wEgqGmW_telephone-keypad__info-message-link:focus-visible{text-decoration:underline 1px double var(--webchat-colorStrokeFocus2);outline:none}.webchat-fluent .weDCCeq_sendbox__toolbar{--webchat__sendbox-button-height: 32px;height:var(--webchat__sendbox-button-height);gap:4px;margin-inline-start:auto;display:flex}.webchat-fluent .weDCCeq_sendbox__toolbar-button{-webkit-appearance:none;appearance:none;aspect-ratio:1;border-radius:var(--webchat-borderRadiusSmall);color:currentColor;cursor:pointer;height:var(--webchat__sendbox-button-height);background:none;border:none;justify-content:center;align-items:center;padding:3px;display:flex}.webchat-fluent .weDCCeq_sendbox__toolbar-button>.webchat__monochrome-image-masker{pointer-events:none;font-size:20px}.webchat-fluent .weDCCeq_sendbox__toolbar-button.weDCCeq_sendbox__toolbar-button--selected{color:var(--webchat-colorNeutralForeground2BrandSelected)}@media (hover: hover){.webchat-fluent .weDCCeq_sendbox__toolbar-button:not([aria-disabled=true]):hover{color:var(--webchat-colorNeutralForeground2BrandHover)}}.webchat-fluent .weDCCeq_sendbox__toolbar-button:not([aria-disabled=true]):active{color:var(--webchat-colorNeutralForeground2BrandPressed)}.webchat-fluent .weDCCeq_sendbox__toolbar-button[aria-disabled=true]{color:var(--webchat-colorNeutralForegroundDisabled);cursor:not-allowed}.webchat-fluent .weDCCeq_sendbox__toolbar-separator{border-inline-end:1px solid var(--webchat-colorNeutralStroke2);align-self:center;height:28px}.webchat-fluent .weDCCeq_sendbox__toolbar-separator:is(:first-child,:last-child,:only-child){display:none}.webchat-fluent .wTxWh-G_sendbox__add-attachment{display:grid}.webchat-fluent .wTxWh-G_sendbox__add-attachment-input{opacity:0;width:1px;height:0;font-size:0}.webchat-fluent .wPugToa_sendbox__attachment{border-radius:var(--webchat-borderRadiusLarge);border:1px solid var(--webchat-colorNeutralStroke1);cursor:default;width:fit-content;padding:6px 8px}.webchat-fluent .wa8yVAW_sendbox__error-message{color:#0000;width:0;height:0;font-size:0;position:absolute;top:0;left:0}.webchat-fluent .wHTirJa_sendbox{--webchat__sendbox--padding: var(--webchat__padding--sendbox);color:var(--webchat-colorNeutralForeground1);font-family:var(--webchat-fontFamilyBase);padding:var(--webchat__sendbox--padding);text-rendering:optimizeLegibility;--webchat-sendbox-attachment-area-active: ;--webchat-sendbox-border-radius: var(--webchat-borderRadiusLarge)}.webchat-fluent .wHTirJa_sendbox.wHTirJa_variant-copilot .wHTirJa_sendbox__text-counter:not(.wHTirJa_sendbox__text-counter--error){visibility:hidden}.webchat-fluent .wHTirJa_sendbox__sendbox{background-color:var(--webchat-colorNeutralBackground1);border-radius:var(--webchat-sendbox-border-radius);border:1px solid var(--webchat-colorNeutralStroke1);font-family:var(--webchat-fontFamilyBase);grid-template:[telephone-keypad-start] \"text-area\" [telephone-keypad-end] var(--webchat-sendbox-attachment-area-active) \"controls\" / [telephone-keypad] 1fr;gap:6px;padding:8px;font-size:14px;line-height:20px;display:grid;position:relative}.webchat-fluent .wHTirJa_sendbox__sendbox:has(.wHTirJa_sendbox__attachment--in-grid){--webchat-sendbox-attachment-area-active: \"attachment\"}.webchat-fluent .wHTirJa_sendbox__sendbox:focus-within{border-color:var(--webchat-colorNeutralStroke1Selected)}.webchat-fluent .wHTirJa_sendbox__sendbox:after{border-bottom-left-radius:var(--webchat-sendbox-border-radius);border-bottom-right-radius:var(--webchat-sendbox-border-radius);border-bottom:var(--webchat-strokeWidthThicker) solid var(--webchat-colorCompoundBrandForeground1Hover);clip-path:inset(calc(100% - var(--webchat-strokeWidthThicker)) 50% 0 50%);content:\"\";height:var(--webchat-sendbox-border-radius);transition:clip-path var(--webchat-durationUltraFast) var(--webchat-curveAccelerateMid);position:absolute;bottom:-1px;left:-1px;right:-1px}.webchat-fluent .wHTirJa_sendbox__sendbox:focus-within:after{clip-path:inset(calc(100% - var(--webchat-strokeWidthThicker)) 0 0 0);transition:clip-path var(--webchat-durationNormal) var(--webchat-curveDecelerateMid)}.webchat-fluent .wHTirJa_sendbox__sendbox>.wHTirJa_sendbox__text-area--in-grid{grid-area:text-area}.webchat-fluent .wHTirJa_sendbox__sendbox>.wHTirJa_sendbox__attachment--in-grid{grid-area:attachment}.webchat-fluent .wHTirJa_sendbox__sendbox>.wHTirJa_sendbox__sendbox-controls--in-grid{grid-area:controls}.webchat-fluent .wHTirJa_sendbox__sendbox>.wHTirJa_sendbox__telephone-keypad--in-grid{grid-area:telephone-keypad}.webchat-fluent .wHTirJa_sendbox__sendbox-text{font-family:var(--webchat-fontFamilyBase);margin:var(--webchat-spacingVerticalXS) var(--webchat-spacingHorizontalXS) var(--webchat-spacingVerticalNone);resize:none;background-color:#0000;border:none;outline:none;flex:auto;font-size:14px;line-height:20px}@media only screen and (hover: none) and (pointer: coarse){.webchat-fluent .wHTirJa_sendbox__sendbox-text:focus-within{font-size:16px}}.webchat-fluent .wHTirJa_sendbox__sendbox-controls{align-items:center;padding-inline-start:4px;display:flex}.webchat-fluent .wHTirJa_sendbox__text-counter{color:var(--webchat-colorNeutralForeground4);cursor:default;font-family:var(--webchat-fontFamilyNumeric);margin-inline-end:4px;font-size:10px;line-height:14px}.webchat-fluent .wHTirJa_sendbox__text-counter--error{color:var(--webchat-colorStatusDangerForeground1)}.webchat-fluent .woL7KnG_sendbox__text-area{scrollbar-gutter:stable;grid-template-areas:\"main\";max-height:200px;display:grid;overflow:auto}.webchat-fluent .woL7KnG_sendbox__text-area--hidden{visibility:collapse;height:0}.webchat-fluent .woL7KnG_sendbox__text-area--in-completion .woL7KnG_sendbox__text-area-doppelganger{visibility:unset}.webchat-fluent .woL7KnG_sendbox__text-area--in-completion .woL7KnG_sendbox__text-area-input{caret-color:var(--webchat-colorNeutralForeground1);color:#0000;background-color:#0000}.webchat-fluent .woL7KnG_sendbox__text-area--in-completion textarea::placeholder{color:#0000}.webchat-fluent .woL7KnG_sendbox__text-area-shared{font:inherit;outline:inherit;overflow-wrap:anywhere;resize:inherit;border:none;grid-area:main}.webchat-fluent .woL7KnG_sendbox__text-area-doppelganger{pointer-events:none;-webkit-user-select:none;user-select:none;visibility:hidden;white-space:pre-wrap;overflow:visible}.webchat-fluent .woL7KnG_sendbox__text-area-input{background-color:inherit;color:currentColor;contain:size;padding:0;overflow:hidden}.webchat-fluent .woL7KnG_sendbox__text-area--scroll{scrollbar-color:unset;scrollbar-width:unset;-moz-scrollbar-color:var(--webchat-colorNeutralBackground5) var(--webchat-colorNeutralForeground2);-moz-scrollbar-width:thin}.webchat-fluent .woL7KnG_sendbox__text-area--scroll::-webkit-scrollbar{width:8px}.webchat-fluent .woL7KnG_sendbox__text-area--scroll::-webkit-scrollbar-track{background-color:var(--webchat-colorNeutralBackground5);border-radius:16px}.webchat-fluent .woL7KnG_sendbox__text-area--scroll::-webkit-scrollbar-thumb{background-color:var(--webchat-colorNeutralForeground2);border-radius:16px}.webchat-fluent .woL7KnG_sendbox__text-area--scroll::-webkit-scrollbar-corner{background-color:var(--webchat-colorNeutralBackground5)}.webchat-fluent .wnVy-QG_activity-loader{height:8px;margin:var(--webchat-spacingHorizontalM) 0 0 18px;flex:none;width:auto}.webchat-fluent .wnVy-QG_activity-loader.wnVy-QG_variant-fluent{margin:0 0 var(--webchat-spacingHorizontalM) var(--webchat-spacingVerticalSNudge)}.webchat-fluent .wQVQNzG_liner-message-activity{box-sizing:border-box;color:var(--webchat-colorNeutralForeground3);font-family:var(--webchat__font--primary);font-size:var(--webchat-fontSizeBase200);font-weight:var(--webchat-fontWeightRegular);align-items:center;gap:var(--webchat-spacingHorizontalM);line-height:var(--webchat-lineHeightBase200);padding:var(--webchat-spacingVerticalSNudge) var(--webchat-spacingHorizontalM);text-align:center;flex-direction:row;width:100%;display:flex}.webchat-fluent .wQVQNzG_liner-message-activity:before,.webchat-fluent .wQVQNzG_liner-message-activity:after{border-top:var(--webchat-strokeWidthThin) solid var(--webchat-colorNeutralStroke2);content:\"\";flex:auto;min-width:8px;display:flex}.webchat-fluent .wQVQNzG_liner-message-activity__text{text-align:center}.webchat-fluent.w2roZmq_theme{--webchat-colorNeutralForegroundDisabled: var(--colorNeutralForegroundDisabled, #bdbdbd);--webchat-colorNeutralForeground1: var(--colorNeutralForeground1, #242424);--webchat-colorNeutralForeground1Hover: var(--colorNeutralForeground1Hover, #242424);--webchat-colorNeutralForeground1Pressed: var(--colorNeutralForeground1Pressed, #242424);--webchat-colorNeutralForeground2: var(--colorNeutralForeground2, #424242);--webchat-colorNeutralForeground2BrandHover: var(--colorNeutralForeground2BrandHover, #02729c);--webchat-colorNeutralForeground2BrandPressed: var(--colorNeutralForeground2BrandPressed, #01678c);--webchat-colorNeutralForeground2BrandSelected: var(--colorNeutralForeground2BrandSelected, #067191);--webchat-colorNeutralForeground3: var(--colorNeutralForeground3, #616161);--webchat-colorNeutralForeground4: var(--colorNeutralForeground4, #707070);--webchat-colorNeutralForeground5: var(--colorNeutralForeground5, #7e7e7e);--webchat-colorNeutralForegroundOnBrand: var(--colorNeutralForegroundOnBrand, #fff);--webchat-colorNeutralBackgroundDisabled: var(--colorNeutralBackgroundDisabled, #f0f0f0);--webchat-colorNeutralBackground1: var(--colorNeutralBackground1, #fff);--webchat-colorNeutralBackground1Hover: var(--colorNeutralBackground1Hover, #f5f5f5);--webchat-colorNeutralBackground1Pressed: var(--colorNeutralBackground1Pressed, #e0e0e0);--webchat-colorNeutralBackground3: var(--colorNeutralBackground3, #f5f5f5);--webchat-colorNeutralBackground4: var(--colorNeutralBackground4, #f0f0f0);--webchat-colorNeutralBackground5: var(--colorNeutralBackground5, #ebebeb);--webchat-colorNeutralBackground6: var(--colorNeutralBackground6, #e6e6e6);--webchat-colorNeutralStencil1: var(--colorNeutralStencil1, #e6e6e6);--webchat-colorNeutralStencil2: var(--colorNeutralStencil2, #fafafa);--webchat-colorNeutralShadowAmbient: var(--colorNeutralShadowAmbient, #0000001f);--webchat-colorNeutralShadowKey: var(--colorNeutralShadowKey, #00000024);--webchat-colorTransparentBackground: var(--colorTransparentBackground, #0006);--webchat-colorNeutralStrokeDisabled: var(--colorNeutralStrokeDisabled, #e0e0e0);--webchat-colorNeutralStroke1: var(--colorNeutralStroke1, #d1d1d1);--webchat-colorNeutralStroke1Hover: var(--colorNeutralStroke1Hover, #c7c7c7);--webchat-colorNeutralStroke1Pressed: var(--colorNeutralStroke1Pressed, #b3b3b3);--webchat-colorNeutralStroke1Selected: var(--colorNeutralStroke1Selected, #bdbdbd);--webchat-colorNeutralStroke2: var(--colorNeutralStroke2, #e0e0e0);--webchat-colorStrokeFocus2: var(--colorStrokeFocus2, #000);--webchat-colorBrandStroke2: var(--colorBrandStroke2, #9edcf7);--webchat-colorBrandStroke2Pressed: var(--colorBrandStroke2Pressed, #01384d);--webchat-colorTransparentStroke: var(--colorTransparentStroke, transparent);--webchat-colorBrandForeground1: var(--colorBrandForeground1, #01678c);--webchat-colorBrandForeground2Hover: var(--colorBrandForeground2Hover, #015a7a);--webchat-colorBrandForeground2Pressed: var(--colorBrandForeground2Pressed, #01384d);--webchat-colorBrandForegroundLink: var(--colorBrandForegroundLink, #01678c);--webchat-colorBrandForegroundLinkHover: var(--colorBrandForegroundLinkHover, #015a7a);--webchat-colorBrandForegroundLinkPressed: var(--colorBrandForegroundLinkPressed, #014259);--webchat-colorBrandForegroundLinkSelected: var(--colorBrandForegroundLinkSelected, #01678c);--webchat-colorBrandBackground: var(--colorBrandBackground, #077fab);--webchat-colorBrandBackgroundHover: var(--colorBrandBackgroundHover, #06729a);--webchat-colorBrandBackgroundPressed: var(--colorBrandBackgroundPressed, #044760);--webchat-colorBrandBackground2: var(--colorBrandBackground2, #def2fc);--webchat-colorBrandBackground2Hover: var(--colorBrandBackground2Hover, #bee7fa);--webchat-colorBrandBackground2Pressed: var(--colorBrandBackground2Pressed, #7fd2f5);--webchat-colorCompoundBrandForeground1Hover: var(--colorCompoundBrandForeground1Hover, #02729c);--webchat-colorStatusDangerForeground1: var(--colorStatusDangerForeground1, #b10e1c);--webchat-colorGray30: var(--colorGray30, #edebe9);--webchat-colorGray160: var(--colorGray160, #323130);--webchat-colorGray190: var(--colorGray190, #201f1e);--webchat-colorGray200: var(--colorGray200, #1b1a19);--webchat-colorGrey8: #141414;--webchat-colorGrey14: #242424;--webchat-colorGrey92: #ebebeb;--webchat-colorGrey98: #fafafa;--webchat-shadow2: var(--shadow2, 0 0 2px #0000001f, 0 1px 2px #00000024);--webchat-shadow4: var(--shadow4, 0 0 2px #0000001f, 0 2px 4px #00000024);--webchat-shadow16: var(--shadow16, 0 6.4px 14.4px 0 #0002, 0 1.2px 3.6px 0 #0000001c);--webchat-shadow64: var(--shadow64, 0 0 8px #0000001f, 0 32px 64px #00000024);--webchat-spacingHorizontalNone: var(--spacingHorizontalNone, 0);--webchat-spacingHorizontalXXS: var(--spacingHorizontalXXS, 2px);--webchat-spacingHorizontalXS: var(--spacingHorizontalXS, 4px);--webchat-spacingHorizontalSNudge: var(--spacingHorizontalSNudge, 6px);--webchat-spacingHorizontalS: var(--spacingHorizontalS, 8px);--webchat-spacingHorizontalMNudge: var(--spacingHorizontalMNudge, 10px);--webchat-spacingHorizontalM: var(--spacingHorizontalM, 12px);--webchat-spacingHorizontalL: var(--spacingHorizontalL, 16px);--webchat-spacingHorizontalXL: var(--spacingHorizontalXL, 20px);--webchat-spacingHorizontalXXL: var(--spacingHorizontalXXL, 24px);--webchat-spacingHorizontalXXXL: var(--spacingHorizontalXXXL, 32px);--webchat-spacingVerticalNone: var(--spacingVerticalNone, 0);--webchat-spacingVerticalXXS: var(--spacingVerticalXXS, 2px);--webchat-spacingVerticalXS: var(--spacingVerticalXS, 4px);--webchat-spacingVerticalSNudge: var(--spacingVerticalSNudge, 6px);--webchat-spacingVerticalS: var(--spacingVerticalS, 8px);--webchat-spacingVerticalMNudge: var(--spacingVerticalMNudge, 10px);--webchat-spacingVerticalM: var(--spacingVerticalM, 12px);--webchat-spacingVerticalL: var(--spacingVerticalL, 16px);--webchat-spacingVerticalXL: var(--spacingVerticalXL, 20px);--webchat-spacingVerticalXXL: var(--spacingVerticalXXL, 24px);--webchat-spacingVerticalXXXL: var(--spacingVerticalXXXL, 32px);--webchat-fontFamilyBase: var(--fontFamilyBase, \"Segoe UI\", \"Segoe UI Web (West European)\", -apple-system, BlinkMacSystemFont, Roboto, \"Helvetica Neue\", sans-serif);--webchat-fontFamilyMonospace: var(--fontFamilyMonospace, Consolas, \"Courier New\", Courier, monospace);--webchat-fontFamilyNumeric: var(--fontFamilyNumeric, Bahnschrift, \"Segoe UI\", \"Segoe UI Web (West European)\", -apple-system, BlinkMacSystemFont, Roboto, \"Helvetica Neue\", sans-serif);--webchat-fontWeightRegular: var(--fontWeightRegular, 400);--webchat-fontWeightSemibold: var(--fontWeightSemibold, 600);--webchat-fontSizeBase100: var(--fontSizeBase100, 10px);--webchat-fontSizeBase200: var(--fontSizeBase200, 12px);--webchat-fontSizeBase300: var(--fontSizeBase300, 14px);--webchat-fontSizeBase400: var(--fontSizeBase400, 16px);--webchat-fontSizeBase500: var(--fontSizeBase500, 20px);--webchat-fontSizeBase600: var(--fontSizeBase600, 24px);--webchat-fontSizeHero700: var(--fontSizeHero700, 28px);--webchat-fontSizeHero800: var(--fontSizeHero800, 32px);--webchat-fontSizeHero900: var(--fontSizeHero900, 40px);--webchat-lineHeightBase100: var(--lineHeightBase100, 14px);--webchat-lineHeightBase200: var(--lineHeightBase200, 16px);--webchat-lineHeightBase300: var(--lineHeightBase300, 20px);--webchat-lineHeightBase400: var(--lineHeightBase400, 22px);--webchat-lineHeightBase500: var(--lineHeightBase500, 28px);--webchat-lineHeightBase600: var(--lineHeightBase600, 32px);--webchat-lineHeightHero700: var(--lineHeightHero700, 36px);--webchat-lineHeightHero800: var(--lineHeightHero800, 40px);--webchat-lineHeightHero900: var(--lineHeightHero900, 52px);--webchat-lineHeightHero1000: var(--lineHeightHero1000, 92px);--webchat-borderRadiusSmall: var(--borderRadiusSmall, 2px);--webchat-borderRadiusMedium: var(--borderRadiusMedium, 4px);--webchat-borderRadiusLarge: var(--borderRadiusLarge, 6px);--webchat-borderRadiusXLarge: var(--borderRadiusXLarge, 8px);--webchat-strokeWidthThin: var(--strokeWidthThin, 1px);--webchat-strokeWidthThick: var(--strokeWidthThick, 2px);--webchat-strokeWidthThicker: var(--strokeWidthThicker, 3px);--webchat-durationUltraFast: var(--durationUltraFast, 0);--webchat-durationNormal: var(--durationNormal, .2s);--webchat-durationUltraSlow: var(--durationUltraSlow, .5s);--webchat-curveAccelerateMid: var(--curveAccelerateMid, cubic-bezier(1, 0, 1, 1));--webchat-curveDecelerateMid: var(--curveDecelerateMid, cubic-bezier(0, 0, 0, 1));display:contents}@media (prefers-reduced-motion){.webchat-fluent.w2roZmq_theme{--webchat-durationUltraFast: .01ms;--webchat-durationNormal: .01ms}}.webchat-fluent.w2roZmq_theme .webchat__css-custom-properties{--webchat__color--accent: var(--webchat-colorBrandForeground1);--webchat__color--subtle: var(--webchat-colorNeutralForeground2);--webchat__color--timestamp: var(--webchat-colorNeutralForeground3);--webchat__font--primary: var(--webchat-fontFamilyBase);--webchat__font-size--small: var(--webchat-fontSizeBase200);--webchat__font-size--medium: var(--webchat-fontSizeBase300);--webchat__line-height--small: var(--webchat-lineHeightBase200);--webchat__line-height--medium: var(--webchat-lineHeightBase300);--webchat__max-width--bubble: var(--webchat-bubble-maxWidth);--webchat__min-height--bubble: var(--webchat-bubble-minHeight);--webchat__padding--regular: var(--webchat-spacingVerticalS);--webchat__padding--sendbox: var(--webchat-spacingVerticalNone) var(--webchat-spacingHorizontalMNudge) var(--webchat-spacingHorizontalMNudge);--webchat__border-animation--color-1: #464feb;--webchat__border-animation--color-2: #47cffa;--webchat__border-animation--color-3: #b47cf8}.webchat-fluent.w2roZmq_theme.w2roZmq_variant-copilot .webchat__css-custom-properties{--webchat__padding--sendbox: var(--webchat-spacingVerticalNone) var(--webchat-spacingHorizontalXL) var(--webchat-spacingVerticalMNudge) var(--webchat-spacingHorizontalMNudge)}.webchat-fluent.w2roZmq_theme .webchat__surface{background-color:var(--webchat__color--surface)}.webchat-fluent.w2roZmq_theme.w2roZmq_variant-copilot .webchat__surface{box-sizing:border-box;padding-inline-start:var(--webchat-spacingHorizontalMNudge)}.webchat-fluent.w2roZmq_theme .webchat__basic-transcript .webchat__basic-transcript__scrollable,.webchat-fluent.w2roZmq_theme .webchat__view-code-dialog__code-body,.webchat-fluent.w2roZmq_theme .webchat__render-markdown [data-math-type=block],.webchat-fluent.w2roZmq_theme .webchat__feedback-form-text-area-input--scroll,.webchat-fluent.w2roZmq_theme .webchat__view-code-dialog__body{scrollbar-color:unset;scrollbar-width:unset;-moz-scrollbar-color:var(--webchat-colorNeutralForeground5) transparent;-moz-scrollbar-width:thin}:is(.webchat-fluent.w2roZmq_theme .webchat__basic-transcript .webchat__basic-transcript__scrollable,.webchat-fluent.w2roZmq_theme .webchat__view-code-dialog__code-body,.webchat-fluent.w2roZmq_theme .webchat__render-markdown [data-math-type=block],.webchat-fluent.w2roZmq_theme .webchat__feedback-form-text-area-input--scroll,.webchat-fluent.w2roZmq_theme .webchat__view-code-dialog__body)::-webkit-scrollbar{height:var(--webchat-spacingVerticalMNudge);width:var(--webchat-spacingVerticalMNudge);visibility:hidden}:is(.webchat-fluent.w2roZmq_theme .webchat__basic-transcript .webchat__basic-transcript__scrollable,.webchat-fluent.w2roZmq_theme .webchat__view-code-dialog__code-body,.webchat-fluent.w2roZmq_theme .webchat__render-markdown [data-math-type=block],.webchat-fluent.w2roZmq_theme .webchat__feedback-form-text-area-input--scroll,.webchat-fluent.w2roZmq_theme .webchat__view-code-dialog__body)::-webkit-scrollbar-corner{background:none}:is(.webchat-fluent.w2roZmq_theme .webchat__basic-transcript .webchat__basic-transcript__scrollable,.webchat-fluent.w2roZmq_theme .webchat__view-code-dialog__code-body,.webchat-fluent.w2roZmq_theme .webchat__render-markdown [data-math-type=block],.webchat-fluent.w2roZmq_theme .webchat__feedback-form-text-area-input--scroll,.webchat-fluent.w2roZmq_theme .webchat__view-code-dialog__body):hover::-webkit-scrollbar{height:var(--webchat-spacingVerticalMNudge);width:var(--webchat-spacingVerticalMNudge)}:is(.webchat-fluent.w2roZmq_theme .webchat__basic-transcript .webchat__basic-transcript__scrollable,.webchat-fluent.w2roZmq_theme .webchat__view-code-dialog__code-body,.webchat-fluent.w2roZmq_theme .webchat__render-markdown [data-math-type=block],.webchat-fluent.w2roZmq_theme .webchat__feedback-form-text-area-input--scroll,.webchat-fluent.w2roZmq_theme .webchat__view-code-dialog__body):hover::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--webchat-colorNeutralForeground5);border:3px solid #0000;border-radius:10px}:is(.webchat-fluent.w2roZmq_theme .webchat__basic-transcript .webchat__basic-transcript__scrollable,.webchat-fluent.w2roZmq_theme .webchat__view-code-dialog__code-body,.webchat-fluent.w2roZmq_theme .webchat__render-markdown [data-math-type=block],.webchat-fluent.w2roZmq_theme .webchat__feedback-form-text-area-input--scroll,.webchat-fluent.w2roZmq_theme .webchat__view-code-dialog__body):hover::-webkit-scrollbar-thumb:hover{background-clip:padding-box;background-color:var(--webchat-colorNeutralForeground5);border:1px solid #0000;border-radius:10px}.webchat-fluent.w2roZmq_theme.w2roZmq_variant-copilot .webchat__basic-transcript .webchat__basic-transcript__scrollable{scrollbar-gutter:stable}.webchat-fluent.w2roZmq_theme .webchat__basic-transcript .webchat__basic-transcript__terminator:focus-visible+.webchat__basic-transcript__focus-indicator{border-color:var(--webchat-colorStrokeFocus2)}.webchat-fluent.w2roZmq_theme .webchat__basic-transcript:not(:focus-visible) .webchat__basic-transcript__activity-indicator--focus{display:none}.webchat-fluent.w2roZmq_theme .webchat__basic-transcript:focus-visible:has(.webchat__basic-transcript__activity-indicator--focus) .webchat__basic-transcript__focus-indicator{display:none}.webchat-fluent.w2roZmq_theme .webchat__basic-transcript:focus-visible .webchat__basic-transcript__activity:has(.webchat__basic-transcript__activity-indicator--focus) .webchat__basic-transcript__activity-indicator--focus{display:none}.webchat-fluent.w2roZmq_theme .webchat__basic-transcript:focus-visible .webchat__basic-transcript__activity:has(.webchat__basic-transcript__activity-indicator--focus) .webchat__bubble:after,.webchat-fluent.w2roZmq_theme .webchat__basic-transcript:focus-visible .webchat__basic-transcript__activity:has(.webchat__basic-transcript__activity-indicator--focus) .pre-chat-message-activity:after{border-radius:var(--webchat__bubble--border-radius);content:\"\";outline-offset:0;outline:var(--webchat-strokeWidthThick) solid var(--webchat-colorStrokeFocus2);pointer-events:none;position:absolute;inset:0}.webchat-fluent.w2roZmq_theme .webchat__basic-transcript:focus-visible .webchat__basic-transcript__activity:has(.webchat__basic-transcript__activity-indicator--focus) .pre-chat-message-activity:after{border-radius:var(--webchat-borderRadiusMedium);outline-offset:-3px}.webchat-fluent.w2roZmq_theme .webchat__basic-transcript:focus-visible .webchat__basic-transcript__activity:has(.webchat__basic-transcript__activity-indicator--focus) .liner-message-activity__text{outline-offset:4px;outline:var(--webchat-strokeWidthThick) solid var(--webchat-colorStrokeFocus2);border-radius:20px}.webchat-fluent.w2roZmq_theme.w2roZmq_variant-copilot .webchat__basic-transcript .webchat__basic-transcript__filler{flex-grow:0}.webchat-fluent.w2roZmq_theme .webchat__basic-transcript:has(.webchat__basic-transcript__activity:only-child):has(.pre-chat-message-activity) .webchat__basic-transcript__filler{flex-grow:.5}.webchat-fluent.w2roZmq_theme .webchat__modal-dialog{place-items:center;height:100%;display:grid}.webchat-fluent.w2roZmq_theme .webchat__modal-dialog::backdrop{background-color:var(--webchat-colorTransparentBackground)}.webchat-fluent.w2roZmq_theme .webchat__modal-dialog .webchat__modal-dialog__box{background-color:var(--webchat-colorNeutralBackground1);border-radius:var(--webchat-borderRadiusXLarge);color:var(--webchat-colorNeutralForeground1);box-shadow:var(--webchat-shadow64);position:relative}.webchat-fluent.w2roZmq_theme .webchat__modal-dialog .webchat__modal-dialog__close-button{color:var(--webchat-colorNeutralForeground1);transition:background-color var(--webchat-durationNormal) var(--webchat-curveDecelerateMid)}.webchat-fluent.w2roZmq_theme .webchat__modal-dialog .webchat__modal-dialog__close-button:not(:active):hover{background-color:var(--webchat-colorNeutralBackground3)}.webchat-fluent.w2roZmq_theme .webchat__modal-dialog .webchat__modal-dialog__close-button:focus:active{background-color:var(--webchat-colorNeutralBackground4)}.webchat-fluent.w2roZmq_theme .webchat__modal-dialog .webchat__modal-dialog__close-button:not(:focus-visible){border:none}.webchat-fluent.w2roZmq_theme .webchat__modal-dialog .webchat__modal-dialog__close-button:focus{border-color:var(--webchat-colorStrokeFocus2)}.webchat-fluent.w2roZmq_theme .webchat__modal-dialog .webchat__modal-dialog__close-button-image{fill:currentColor}.webchat-fluent.w2roZmq_theme .webchat__code-block{font-family:var(--webchat-fontFamilyMonospace);font-size:var(--webchat-fontSizeBase300);--webchat__code-block__copy-button--color: var(--webchat-colorNeutralForeground1);--webchat__code-block__copy-button--background: var(--webchat-colorNeutralBackground3);border:none}.webchat-fluent.w2roZmq_theme .webchat__code-block .webchat__code-block-copy-button{color:var(--webchat__code-block__copy-button--color);height:20px;width:20px;transition:background-color var(--webchat-durationNormal) var(--webchat-curveDecelerateMid);background:none;border:none;margin-inline-start:var(--webchat-spacingHorizontalS);padding:0}.webchat-fluent.w2roZmq_theme .webchat__code-block .webchat__code-block-copy-button .webchat__code-block-copy-button__icon{background-color:currentColor}.webchat-fluent.w2roZmq_theme .webchat__code-block .webchat__code-block-copy-button:is(:hover,:active){background:var(--webchat__code-block__copy-button--background);color:var(--webchat__code-block__copy-button--color)}.webchat-fluent.w2roZmq_theme .webchat__code-block .webchat__code-block-copy-button:focus{color:var(--webchat__code-block__copy-button--color);outline-color:currentColor}.webchat-fluent.w2roZmq_theme .webchat__code-block:has(.webchat__code-block__body:focus-visible):focus-within{outline:var(--webchat-strokeWidthThick) solid var(--webchat-colorStrokeFocus2);outline-offset:calc(var(--webchat-strokeWidthThick) * -1)}.webchat-fluent.w2roZmq_theme .webchat__code-block:has(.webchat__code-block__body:focus-visible):focus-within .webchat__code-block__body{outline:none}.webchat-fluent.w2roZmq_theme .webchat__code-block:has(>.webchat__code-block__theme--github-dark-default){--webchat__background--code-block: var(--codeBlockBackground, var(--webchat-colorGrey8));--webchat__code-block__copy-button--background: var(--codeBlockCopyButtonBackgroundPressed, var(--webchat-colorGrey14));--webchat__code-block__copy-button--color: var(--codeBlockCopyButtonForeground, var(--webchat__color--code-block));--webchat__color--code-block: var(--codeBlockForeground, var(--webchat-colorGrey98))}.webchat-fluent.w2roZmq_theme .webchat__code-block:has(>.webchat__code-block__theme--github-light-default){--webchat__background--code-block: var(--codeBlockBackground, var(--webchat-colorGrey98));--webchat__code-block__copy-button--background: var(--codeBlockBackgroundPressed, var(--webchat-colorGrey92));--webchat__code-block__copy-button--color: var(--codeBlockCopyButtonForeground, var(--webchat__color--code-block));--webchat__color--code-block: var(--codeBlockForeground, var(--webchat-colorGrey8))}.webchat-fluent.w2roZmq_theme .webchat__modal-dialog.webchat__view-code-dialog .webchat__modal-dialog__close-button-layout{padding:var(--webchat-spacingVerticalS) var(--webchat-spacingHorizontalS);display:flex}.webchat-fluent.w2roZmq_theme .webchat__modal-dialog.webchat__view-code-dialog .webchat__modal-dialog__close-button{aspect-ratio:1;height:var(--webchat-lineHeightBase300);width:unset;justify-content:center;align-items:center;padding:0;display:flex}.webchat-fluent.w2roZmq_theme .webchat__modal-dialog.webchat__view-code-dialog .webchat__code-block-copy-button{--webchat__code-block__copy-button--color: var(--webchat-colorNeutralForeground1);--webchat__code-block__copy-button--background: var(--webchat-colorNeutralBackground3);margin-block-start:var(--webchat-spacingVerticalS);position:absolute;top:0;right:32px}.webchat-fluent.w2roZmq_theme .webchat__modal-dialog.webchat__view-code-dialog .webchat__modal-dialog__box{width:fit-content}.webchat-fluent.w2roZmq_theme .webchat__modal-dialog.webchat__view-code-dialog .webchat__modal-dialog__body{padding:var(--webchat-spacingVerticalS) var(--webchat-spacingHorizontalM);margin:0}.webchat-fluent.w2roZmq_theme .webchat__modal-dialog.webchat__view-code-dialog .webchat__view-code-dialog__title{font-size:var(--webchat-fontSizeBase300);font-weight:var(--webchat-fontWeightSemibold);line-height:var(--webchat-lineHeightBase300)}.webchat-fluent.w2roZmq_theme .webchat__modal-dialog.webchat__view-code-dialog .webchat__view-code-dialog__body{font-family:var(--webchat-fontFamilyMonospace);font-size:var(--webchat-fontSizeBase300);margin:0 calc(var(--webchat-spacingHorizontalM) * -1);padding:0 var(--webchat-spacingHorizontalM)}.webchat-fluent.w2roZmq_theme .webchat__modal-dialog.webchat__view-code-dialog .webchat__view-code-dialog__footer{color:var(--webchat-colorNeutralForeground4);font-size:var(--webchat-fontSizeBase100);line-height:var(--webchat-lineHeightBase100)}.webchat-fluent.w2roZmq_theme .webchat__modal-dialog.webchat__view-code-dialog .webchat__view-code-dialog__link{color:var(--webchat-colorBrandForegroundLink);text-decoration-color:#0000}.webchat-fluent.w2roZmq_theme .webchat__modal-dialog.webchat__view-code-dialog .webchat__view-code-dialog__link:target{color:var(--webchat-colorBrandForegroundLinkSelected)}.webchat-fluent.w2roZmq_theme .webchat__modal-dialog.webchat__view-code-dialog .webchat__view-code-dialog__link:hover{color:var(--webchat-colorBrandForegroundLinkHover);text-decoration:underline 1px}.webchat-fluent.w2roZmq_theme .webchat__modal-dialog.webchat__view-code-dialog .webchat__view-code-dialog__link:active{color:var(--webchat-colorBrandForegroundLinkPressed)}.webchat-fluent.w2roZmq_theme .webchat__modal-dialog.webchat__view-code-dialog .webchat__view-code-dialog__link:focus-visible{text-decoration:underline 1px double var(--webchat-colorStrokeFocus2);outline:none}.webchat-fluent.w2roZmq_theme .webchat__activity-button{background:var(--webchat-colorNeutralBackground1);border-radius:var(--webchat-borderRadiusMedium);border:var(--webchat-strokeWidthThin) solid var(--webchat-colorNeutralStroke1);color:var(--webchat-colorNeutralForeground1);gap:var(--webchat-spacingHorizontalXS);padding:5px var(--webchat-spacingHorizontalM)}.webchat-fluent.w2roZmq_theme .webchat__activity-button:hover{background:var(--webchat-colorNeutralBackground1Hover);border:var(--webchat-strokeWidthThin) solid var(--webchat-colorNeutralStroke1Hover);color:var(--webchat-colorNeutralForeground1Hover)}.webchat-fluent.w2roZmq_theme .webchat__activity-button:active{background:var(--webchat-colorNeutralBackground1Pressed);border:var(--webchat-strokeWidthThin) solid var(--webchat-colorNeutralStroke1Pressed);color:var(--webchat-colorNeutralForeground1Pressed)}.webchat-fluent.w2roZmq_theme .webchat__activity-button:focus-visible{background:var(--webchat-colorNeutralBackground1);outline:var(--webchat-strokeWidthThick) solid var(--webchat-colorStrokeFocus2);outline-offset:calc(var(--webchat-strokeWidthThick) * -1)}.webchat-fluent.w2roZmq_theme .webchat__activity-button[aria-disabled=true]{background:var(--webchat-colorNeutralBackgroundDisabled);border:var(--webchat-strokeWidthThin) solid var(--webchat-colorNeutralStrokeDisabled);color:var(--webchat-colorNeutralForegroundDisabled)}.webchat-fluent.w2roZmq_theme .webchat__activity-button .webchat__activity-button__icon{width:20px;height:20px}.webchat-fluent.w2roZmq_theme .webchat__activity-copy-button .webchat__activity-copy-button__copied-text{background-color:var(--webchat-colorNeutralBackground1)}.webchat-fluent.w2roZmq_theme .webchat__activity-copy-button.webchat__activity-copy-button--copied .webchat__activity-copy-button__copied-text{animation-duration:var(--webchat-durationUltraSlow)}.webchat-fluent.w2roZmq_theme .webchat__monochrome-image-masker{background-color:currentColor;width:1em;height:1em}.webchat-fluent.w2roZmq_theme .webchat__thumb-button .webchat__thumb-button__image{color:var(--webchat-colorNeutralForeground1)}.webchat-fluent.w2roZmq_theme .webchat__thumb-button:has(.webchat__thumb-button__input:focus-visible){outline:var(--webchat-strokeWidthThick) solid var(--webchat-colorStrokeFocus2)}.webchat-fluent.w2roZmq_theme .webchat__thumb-button:has(.webchat__thumb-button__input[aria-disabled=true]) .webchat__thumb-button__image{color:var(--webchat-colorNeutralForegroundDisabled)}.webchat-fluent.w2roZmq_theme .webchat__tooltip{--webchat__tooltip-background: var(--tooltip-background, var(--webchat-colorNeutralBackground1));color:var(--webchat-colorNeutralForeground1);filter:drop-shadow(0 0 2px var(--webchat-colorNeutralShadowAmbient)) drop-shadow(0 4px 8px var(--webchat-colorNeutralShadowKey));font-family:var(--webchat-fontFamilyBase);font-size:var(--webchat-fontSizeBase200);font-weight:var(--webchat-fontWeightRegular);line-height:var(--webchat-lineHeightBase200);padding:var(--webchat-spacingVerticalSNudge) var(--webchat-spacingHorizontalM);transition:opacity var(--webchat-durationNormal) var(--webchat-curveDecelerateMid)}.webchat-fluent.w2roZmq_theme .webchat__feedback-form .webchat__feedback-form__form-header{color:var(--webchat-colorNeutralForeground1);font-family:var(--webchat-fontFamilyBase);font-size:var(--webchat-fontSizeBase300);font-weight:var(--webchat-fontWeightRegular);line-height:var(--webchat-lineHeightBase300)}.webchat-fluent.w2roZmq_theme .webchat__feedback-form .webchat__feedback-form__form{gap:var(--webchat-spacingVerticalXS)}.webchat-fluent.w2roZmq_theme .webchat__feedback-form .webchat__feedback-form__form-footer{color:var(--webchat-colorNeutralForeground1);font-family:var(--webchat-fontFamilyBase);font-size:var(--webchat-fontSizeBase100);font-weight:var(--webchat-fontWeightRegular);line-height:var(--webchat-lineHeightBase200)}.webchat-fluent.w2roZmq_theme .webchat__feedback-form .webchat__feedback-form__submit-button{background-color:var(--webchat-colorBrandBackground);border:var(--webchat-strokeWidthThin) solid var(--webchat-colorBrandBackground);border-radius:var(--webchat-borderRadiusMedium);color:var(--webchat-colorNeutralForegroundOnBrand);cursor:pointer;font-family:var(--webchat-fontFamilyBase);font-size:var(--webchat-fontSizeBase300);padding:var(--webchat-spacingVerticalNone) var(--webchat-spacingHorizontalS);transition:background-color var(--webchat-durationNormal) var(--webchat-curveDecelerateMid)}.webchat-fluent.w2roZmq_theme .webchat__feedback-form .webchat__feedback-form__submit-button:hover{background-color:var(--webchat-colorBrandBackgroundHover);border:var(--webchat-strokeWidthThin) solid var(--webchat-colorBrandBackgroundHover)}.webchat-fluent.w2roZmq_theme .webchat__feedback-form .webchat__feedback-form__submit-button:focus-visible{outline:var(--webchat-strokeWidthThick) solid var(--webchat-colorStrokeFocus2);outline-offset:calc(var(--webchat-strokeWidthThin) * -1)}.webchat-fluent.w2roZmq_theme .webchat__feedback-form .webchat__feedback-form__submit-button:active{background-color:var(--webchat-colorBrandBackgroundPressed);border:var(--webchat-strokeWidthThin) solid var(--webchat-colorBrandBackgroundPressed)}.webchat-fluent.w2roZmq_theme .webchat__feedback-form .webchat__feedback-form__cancel-button{background-color:var(--webchat-colorNeutralBackground1);border:var(--webchat-strokeWidthThin) solid var(--webchat-colorNeutralStroke1);border-radius:var(--webchat-borderRadiusMedium);color:var(--webchat-colorNeutralForeground1);cursor:pointer;font-family:var(--webchat-fontFamilyBase);font-size:var(--webchat-fontSizeBase300);padding:var(--webchat-spacingVerticalNone) var(--webchat-spacingHorizontalS);transition:background-color var(--webchat-durationNormal) var(--webchat-curveDecelerateMid)}.webchat-fluent.w2roZmq_theme .webchat__feedback-form .webchat__feedback-form__cancel-button:hover{background-color:var(--webchat-colorNeutralBackground1Hover);border:var(--webchat-strokeWidthThin) solid var(--webchat-colorNeutralStroke1Hover)}.webchat-fluent.w2roZmq_theme .webchat__feedback-form .webchat__feedback-form__cancel-button:focus-visible{outline:var(--webchat-strokeWidthThick) solid var(--webchat-colorStrokeFocus2);outline-offset:calc(var(--webchat-strokeWidthThin) * -1)}.webchat-fluent.w2roZmq_theme .webchat__feedback-form .webchat__feedback-form__cancel-button:active{background-color:var(--webchat-colorNeutralBackground1Pressed);border:var(--webchat-strokeWidthThin) solid var(--webchat-colorNeutralStroke1Pressed)}.webchat-fluent.w2roZmq_theme .webchat__feedback-form .webchat__feedback-form-text-area{background-color:var(--webchat-colorNeutralBackground1);border-radius:var(--webchat-borderRadiusMedium);border:var(--webchat-strokeWidthThin) solid var(--webchat-colorNeutralStroke1);font-family:var(--webchat-fontFamilyBase);font-size:var(--webchat-fontSizeBase300);line-height:var(--webchat-lineHeightBase300);gap:var(--webchat-spacingVerticalSNudge);padding:var(--webchat-spacingVerticalS) var(--webchat-spacingHorizontalM)}.webchat-fluent.w2roZmq_theme .webchat__feedback-form .webchat__feedback-form-text-area:after{border-bottom-left-radius:var(--webchat-borderRadiusMedium);border-bottom-right-radius:var(--webchat-borderRadiusMedium);border-bottom:var(--webchat-strokeWidthThicker) solid var(--webchat-colorBrandForeground1);clip-path:inset(calc(100% - var(--webchat-strokeWidthThicker)) 50% 0 50%);transition:clip-path var(--webchat-durationNormal) var(--webchat-curveDecelerateMid)}.webchat-fluent.w2roZmq_theme .webchat__feedback-form .webchat__feedback-form-text-area:focus-within{border:var(--webchat-strokeWidthThin) solid var(--webchat-colorNeutralStroke1)}.webchat-fluent.w2roZmq_theme .webchat__feedback-form .webchat__feedback-form-text-area:focus-within:after{clip-path:inset(calc(100% - var(--webchat-strokeWidthThicker)) 0 0 0);transition:clip-path var(--webchat-durationNormal) var(--webchat-curveDecelerateMid)}.webchat-fluent .wQOMcSW_sliding-dots-typing-indicator{height:16px;margin:auto var(--webchat-spacingHorizontalMNudge);flex:none;align-self:start;display:flex}.webchat-fluent .wQOMcSW_sliding-dots-typing-indicator__image{width:auto;height:6px}\n/*! For license information please see botframework-webchat-fluent-theme.css.LEGAL.txt */\n",ke=ht(xa);import{useMemo as ya}from"react";function ka(e){return ya(()=>Object.freeze(Object.fromEntries(Object.entries(e).map(([t,o])=>[t,`${t} ${o}`]))),[e])}var c=ka;import{useMemo as Aa}from"react";import{useContext as Ma,useMemo as za}from"react";import{createContext as Ba}from"react";import Na,{memo as Sa,useMemo as Ta}from"react";function Ne({Provider:e},{defaults:t,displayName:o}){let a=({children:r,...n})=>{let s=Ta(()=>Object.freeze({...t,...n}),[n]);return Na.createElement(e,{value:s},r)};return a.displayName=o,Sa(a)}var Se=Ba(new Proxy({},{get(){throw new Error("Unable to use VariantContext without VariantComposer")}})),Ca=Ne(Se,{defaults:{variant:""},displayName:"VariantComposer"}),_t=Ca;function G(){let{variant:e}=Ma(Se);return za(()=>e.split(" "),[e])}function C(e){let t=c(e),o=G();return Aa(()=>o.map(a=>t[`variant-${a}`]).filter(a=>a).join(" "),[t,o])}var Ha={preChatMessageActivityStarterPromptsCardAction:"pre-chat message activity starter prompts card action",sendBoxContainer:"send box container",sendBoxDropZone:"send box drop zone",sendBoxSendButton:"send box send button",sendBoxSuggestedAction:"send box suggested action",sendBoxTextBox:"send box text area",sendBoxTelephoneKeypadButton1:"send box telephone keypad button 1",sendBoxTelephoneKeypadButton2:"send box telephone keypad button 2",sendBoxTelephoneKeypadButton3:"send box telephone keypad button 3",sendBoxTelephoneKeypadButton4:"send box telephone keypad button 4",sendBoxTelephoneKeypadButton5:"send box telephone keypad button 5",sendBoxTelephoneKeypadButton6:"send box telephone keypad button 6",sendBoxTelephoneKeypadButton7:"send box telephone keypad button 7",sendBoxTelephoneKeypadButton8:"send box telephone keypad button 8",sendBoxTelephoneKeypadButton9:"send box telephone keypad button 9",sendBoxTelephoneKeypadButton0:"send box telephone keypad button 0",sendBoxTelephoneKeypadButtonStar:"send box telephone keypad button star",sendBoxTelephoneKeypadButtonPound:"send box telephone keypad button pound",sendBoxTelephoneKeypadToolbarButton:"send box telephone keypad toolbar button",sendBoxUploadButton:"send box upload button"},h=Ha;import{hooks as Fa}from"botframework-webchat-component";import La from"classnames";import gt,{memo as Ea,useCallback as Pa,useEffect as Da,useRef as Ia,useState as Ra}from"react";import{useRefFrom as Wa}from"use-ref-from";var ae={"sendbox__attachment-drop-zone--droppable":"wbibrda_sendbox__attachment-drop-zone--droppable","sendbox__attachment-drop-zone-icon":"wbibrda_sendbox__attachment-drop-zone-icon","sendbox__attachment-drop-zone":"wbibrda_sendbox__attachment-drop-zone"},mt=ae,ws=ae["sendbox__attachment-drop-zone--droppable"];var fs=ae["sendbox__attachment-drop-zone-icon"];var vs=ae["sendbox__attachment-drop-zone"];var{useLocalizer:Va}=Fa,re=e=>{e.preventDefault()},wt=e=>!!e.dataTransfer?.types?.some(t=>t.toLowerCase()==="files");function Oa(e,t){let o=e.parentNode;for(;o;){if(o===t)return!0;o=o.parentNode}return!1}var ft=e=>{let[t,o]=Ra(!1),a=c(mt),r=Ia(null),n=Va(),s=Wa(e.onFilesAdded);Da(()=>{let b=0,p=_=>{document.addEventListener("dragover",re),b++,wt(_)&&o(r.current&&(_.target===r.current||_.target instanceof HTMLElement&&Oa(_.target,r.current))?"droppable":"visible")},d=()=>--b<=0&&o(!1),l=()=>{document.removeEventListener("dragover",re),b=0,o(!1)},u=_=>{r.current?.contains(_.target)||l()};return document.addEventListener("dragend",l),document.addEventListener("dragenter",p),document.addEventListener("dragleave",d),document.addEventListener("drop",u),()=>{document.removeEventListener("dragend",l),document.removeEventListener("dragenter",p),document.removeEventListener("dragleave",d),document.removeEventListener("dragover",re),document.removeEventListener("drop",u)}},[o]);let i=Pa(b=>{b.preventDefault(),o(!1),wt(b.nativeEvent)&&s.current([...b.dataTransfer.files])},[s,o]);return t?gt.createElement("div",{className:La(a["sendbox__attachment-drop-zone"],{[a["sendbox__attachment-drop-zone--droppable"]]:t==="droppable"}),"data-testid":h.sendBoxDropZone,onDragOver:re,onDrop:i,ref:r},gt.createElement(we,{className:a["sendbox__attachment-drop-zone-icon"]}),n("TEXT_INPUT_DROP_ZONE")):null};ft.displayName="DropZone";var Te=Ea(ft);import{hooks as Jr}from"botframework-webchat-component";import $r from"classnames";import se,{memo as Yr,useCallback as Qr}from"react";import{getOrgSchemaMessage as Ka}from"botframework-webchat-core";function D(e){return!!(e&&Ka(e?.entities||[])?.keywords?.includes("PreChatMessage"))}import{hooks as fr}from"botframework-webchat-component";import vr from"classnames";import R,{memo as xr,useMemo as yr}from"react";var H={"pre-chat-message-activity__body":"wdPvBTa_pre-chat-message-activity__body","pre-chat-message-activity__body-avatar":"wdPvBTa_pre-chat-message-activity__body-avatar","pre-chat-message-activity__body--blueprint":"wdPvBTa_pre-chat-message-activity__body--blueprint","pre-chat-message-activity__body-subtitle":"wdPvBTa_pre-chat-message-activity__body-subtitle","pre-chat-message-activity__body-title":"wdPvBTa_pre-chat-message-activity__body-title","pre-chat-message-activity":"wdPvBTa_pre-chat-message-activity","pre-chat-message-activity__toolbar":"wdPvBTa_pre-chat-message-activity__toolbar"},vt=H,Is=H["pre-chat-message-activity__body"];var Rs=H["pre-chat-message-activity__body-avatar"];var Ws=H["pre-chat-message-activity__body--blueprint"];var Vs=H["pre-chat-message-activity__body-subtitle"];var Os=H["pre-chat-message-activity__body-title"];var Ks=H["pre-chat-message-activity"];var Gs=H["pre-chat-message-activity__toolbar"];import{hooks as tr}from"botframework-webchat-api";import or from"classnames";import L,{Fragment as ar,memo as rr}from"react";import{Components as Ga,hooks as qa}from"botframework-webchat-component";import yt from"classnames";import X,{memo as Xa,useCallback as Ua,useMemo as Za}from"react";import{useRefFrom as ja}from"use-ref-from";var q={"pre-chat-message-activity__card-action-box":"woY4Pxq_pre-chat-message-activity__card-action-box","pre-chat-message-activity__card-action-image":"woY4Pxq_pre-chat-message-activity__card-action-image","pre-chat-message-activity__card-action-subtitle":"woY4Pxq_pre-chat-message-activity__card-action-subtitle","pre-chat-message-activity__card-action-title":"woY4Pxq_pre-chat-message-activity__card-action-title"},xt=q,js=q["pre-chat-message-activity__card-action-box"];var Js=q["pre-chat-message-activity__card-action-image"];var $s=q["pre-chat-message-activity__card-action-subtitle"];var Ys=q["pre-chat-message-activity__card-action-title"];var{useFocus:Ja,useRenderMarkdownAsHTML:$a,useSendBoxValue:Ya,useUIState:Qa}=qa,{MonochromeImageMasker:er}=Ga,kt=({className:e,messageBackAction:t})=>{let[o,a]=Ya(),[r]=Qa(),n=c(xt),s=Ja(),i=ja(t?.displayText||t?.text||""),b=$a("message activity"),p=Za(()=>b?{__html:b(t?.text||"")}:void 0,[t?.text,b]),d=r==="disabled",l=t&&"title"in t&&t.title,u=r==="blueprint"||!l,_=Ua(()=>{a(i.current),s("sendBox")},[s,i,a]);return u?X.createElement("div",{className:yt(e,n["pre-chat-message-activity__card-action-box"]),"data-testid":h.preChatMessageActivityStarterPromptsCardAction}):X.createElement("button",{"aria-disabled":d?!0:void 0,className:yt(e,n["pre-chat-message-activity__card-action-box"]),"data-testid":h.preChatMessageActivityStarterPromptsCardAction,onClick:d?void 0:_,tabIndex:d?-1:void 0,type:"button"},X.createElement("div",{className:n["pre-chat-message-activity__card-action-title"]},l),"image"in t&&t.image&&X.createElement(er,{className:n["pre-chat-message-activity__card-action-image"],src:t.image}),X.createElement("div",{className:n["pre-chat-message-activity__card-action-subtitle"],dangerouslySetInnerHTML:p}))};kt.displayName="StarterPromptsCardAction";var U=Xa(kt);var Be={"pre-chat-message-activity__card-action-toolbar-grid":"wvd8n9G_pre-chat-message-activity__card-action-toolbar-grid","pre-chat-message-activity__card-action-toolbar":"wvd8n9G_pre-chat-message-activity__card-action-toolbar"},Nt=Be,bd=Be["pre-chat-message-activity__card-action-toolbar-grid"];var ud=Be["pre-chat-message-activity__card-action-toolbar"];var{useUIState:nr}=tr,St=({cardActions:e,className:t})=>{let o=c(Nt),[a]=nr();return L.createElement("div",{className:or(t,o["pre-chat-message-activity__card-action-toolbar"])},L.createElement("div",{className:o["pre-chat-message-activity__card-action-toolbar-grid"]},a==="blueprint"?L.createElement(ar,null,L.createElement(U,null),L.createElement(U,null),L.createElement(U,null)):e.filter(r=>r.type==="messageBack").map((r,n)=>L.createElement(U,{key:n,messageBackAction:r}))))};St.displayName="StarterPromptsToolbar";var Tt=rr(St);import gr from"classnames";import Mt,{memo as wr}from"react";var ne={"activity-decorator":"wLpvzAq_activity-decorator","variant-fluent":"wLpvzAq_variant-fluent","variant-copilot":"wLpvzAq_variant-copilot"},Ce=ne,Nd=ne["activity-decorator"];var Sd=ne["variant-fluent"];var Td=ne["variant-copilot"];import ie,{memo as ur,useMemo as pr}from"react";import{hooks as hr}from"botframework-webchat-component";import{useMemo as ir}from"react";import{hooks as cr}from"botframework-webchat-component";var{useStyleOptions:sr}=cr;function Me(e){let[t]=sr();return ir(()=>Object.freeze([{...t,...e?.channelData?.webChat?.styleOptions}]),[e?.channelData?.webChat?.styleOptions,t])}import{getOrgSchemaMessage as dr}from"botframework-webchat-core";function ze(e){return!!(e&&dr(e?.entities||[])?.keywords?.includes("AIGeneratedContent"))}import{useMemo as lr}from"react";import{getOrgSchemaMessage as br}from"botframework-webchat-core";function I(e){return lr(()=>{let t=br(e?.entities||[]);return typeof t?.author=="string"?{"@type":"Person",description:void 0,image:void 0,name:t?.author}:t?.author},[e])}var Z={"copilot-message-header__title":"wyJATiG_copilot-message-header__title","copilot-message-header__avatar":"wyJATiG_copilot-message-header__avatar","copilot-message-header":"wyJATiG_copilot-message-header","copilot-message-header__ai-generated-content":"wyJATiG_copilot-message-header__ai-generated-content"},Bt=Z,Rd=Z["copilot-message-header__title"];var Wd=Z["copilot-message-header__avatar"];var Vd=Z["copilot-message-header"];var Od=Z["copilot-message-header__ai-generated-content"];var{useLocalizer:_r}=hr;function mr({activity:e}){let[{botAvatarImage:t,botAvatarBackgroundColor:o}]=Me(e),a=c(Bt),r=_r(),n=ze(e),s=pr(()=>({"--background-color":o}),[o]),i=I(e),b=i?.image||t,p=i?.name||e?.from?.name;return ie.createElement("div",{className:a["copilot-message-header"]},b&&ie.createElement("img",{alt:r("AVATAR_ALT",p),className:a["copilot-message-header__avatar"],src:b,style:s}),ie.createElement("span",{className:a["copilot-message-header__title"],title:p},p),n&&ie.createElement("span",{className:a["copilot-message-header__ai-generated-content"]},r("ACTIVITY_CONTENT_CAUTION")))}var Ct=ur(mr);function zt({activity:e,children:t}){let o=c(Ce),a=G(),r=C(Ce),n=a.includes("copilot")&&e?.from?.role==="bot"&&!!t;return Mt.createElement("div",{className:gr(o["activity-decorator"],r)},n&&Mt.createElement(Ct,{activity:e}),t)}zt.displayName="ActivityDecorator";var Ae=wr(zt);var{useLocalizer:kr,useRenderMarkdownAsHTML:Nr,useUIState:Sr}=fr,At=({activity:e})=>{let[t]=Sr(),o=c(vt),a=Nr(),r=kr(),n=I(e),s=yr(()=>a?{__html:a(n?.description||"")}:{__html:""},[n?.description,a]);return R.createElement("div",{className:o["pre-chat-message-activity"]},n&&R.createElement("div",{className:vr(o["pre-chat-message-activity__body"],t==="blueprint"&&o["pre-chat-message-activity__body--blueprint"])},n.image&&R.createElement("img",{alt:r("AVATAR_ALT",n.name),className:o["pre-chat-message-activity__body-avatar"],src:n.image}),n.name&&R.createElement("h2",{className:o["pre-chat-message-activity__body-title"]},n.name),n.description&&R.createElement("div",{className:o["pre-chat-message-activity__body-subtitle"],dangerouslySetInnerHTML:s})),R.createElement(Tt,{cardActions:e.suggestedActions?.actions||[],className:o["pre-chat-message-activity__toolbar"]}))};At.displayName="PreChatMessageActivity";var He=xr(At);function Fe(e){let{title:t}=e,{type:o,value:a}=e;return o==="messageBack"?t||e.displayText:t||(typeof a=="string"?a:JSON.stringify(a))}import Tr,{createContext as Br,memo as Cr,useCallback as W,useContext as Mr,useEffect as zr,useMemo as Ar,useRef as Le}from"react";var Ht=Br({itemEffector:()=>{throw new Error("botframework-webchat-fluent-theme rovingFocus: no provider for RovingFocusContext.")}});function Hr(e){let t=Le(0),o=Le([]),a=W(({current:d},l)=>d&&(d.tabIndex=t.current===l?0:-1),[t]),r=W(d=>{let l;typeof d=="number"?l=d:l=d(t.current),l&&!o.current.at(l)?.current&&(l=0),t.current!==l&&(t.current=l,o.current.forEach((u,_)=>a(u,_)),o.current.at(l)?.current?.focus())},[a,o,t]),n=W(d=>{let{target:l}=d,u=o.current.findIndex(({current:_})=>_===l);u!==-1&&r(u)},[o,r]),s=W(d=>l=>{let u=!e.direction,_=/up|down/iu.test(d)&&e.direction==="vertical",k=/left|right/iu.test(d)&&e.direction==="horizontal",m=/right|down/iu.test(d),N=u||_||k?m?1:-1:0,T=o.current.map((z,A)=>A),B=T.indexOf(l)+N;return T.at(B)??0},[e.direction]),i=W(d=>{let{key:l}=d;switch(l){case"Up":case"ArrowUp":case"Left":case"ArrowLeft":case"Down":case"ArrowDown":case"Right":case"ArrowRight":r(s(l));break;case"Home":r(0);break;case"End":r(-1);break;case"Escape":e.onEscapeKey?.();break;default:return}d.preventDefault(),d.stopPropagation()},[r,s,e]),b=W((d,l)=>{let{current:u}=d;return o.current[Number(l)]=d,u.addEventListener("focus",n),u.addEventListener("keydown",i),a(d,l),()=>{u.removeEventListener("focus",n),u.removeEventListener("keydown",i),delete o.current[Number(l)]}},[n,i,a,o]),p=Ar(()=>({itemEffector:b}),[b]);return Tr.createElement(Ht.Provider,{value:p},e.children)}function Ft(e){let t=Le(null),{itemEffector:o}=Mr(Ht);return zr(()=>o(t,e)),t}var Lt=Cr(Hr);import{hooks as Rr}from"botframework-webchat-component";import Wr from"classnames";import Pe,{memo as Vr,useCallback as Or}from"react";import Fr,{forwardRef as Lr,memo as Er,useRef as Pr}from"react";var Dr=e=>e.preventDefault(),Ir=Lr(({"aria-hidden":e,children:t,className:o,"data-testid":a,disabled:r,onClick:n,tabIndex:s},i)=>{let b=Pr(null);return Fr.createElement("button",{"aria-disabled":r?"true":void 0,"aria-hidden":e,className:o,"data-testid":a,onClick:r?Dr:n,ref:i||b,tabIndex:r?-1:s,type:"button"},t)}),Et=Er(Ir);var Ee={"suggested-action":"wenGMeW_suggested-action","suggested-action__image":"wenGMeW_suggested-action__image"},Pt=Ee,Al=Ee["suggested-action"];var Hl=Ee["suggested-action__image"];var{useFocus:Kr,usePerformCardAction:Gr,useScrollToEnd:qr,useStyleSet:Xr,useSuggestedActions:Ur,useUIState:Zr}=Rr;function jr({buttonText:e,className:t,displayText:o,image:a,imageAlt:r,itemIndex:n,text:s,type:i,value:b}){let[p,d]=Ur(),[{suggestedAction:l}]=Xr(),[u]=Zr(),_=Kr(),k=Ft(n),m=Gr(),N=c(Pt),T=qr(),B=Or(({target:z})=>{(async function(){await _("sendBoxWithoutKeyboard"),m({displayText:o,text:s,type:i,value:b},{target:z}),i==="openUrl"&&d([]),T()})()},[o,_,m,T,d,s,i,b]);return Pe.createElement(Et,{className:Wr(N["suggested-action"],l+"",(t||"")+""),"data-testid":h.sendBoxSuggestedAction,disabled:u==="disabled",onClick:B,ref:k,type:"button"},a&&Pe.createElement("img",{alt:r,className:N["suggested-action__image"],src:a}),Pe.createElement("span",null,e))}var Dt=Vr(jr);var ce={"suggested-actions--stacked":"wy3OzFW_suggested-actions--stacked","suggested-actions":"wy3OzFW_suggested-actions","suggested-actions--flow":"wy3OzFW_suggested-actions--flow"},De=ce,Ul=ce["suggested-actions--stacked"];var Zl=ce["suggested-actions"];var jl=ce["suggested-actions--flow"];var{useFocus:en,useLocalizer:tn,useStyleOptions:on,useStyleSet:an,useSuggestedActions:rn,useUIState:nn}=Jr;function cn(e){let[{suggestedActionLayout:t}]=on(),[{suggestedActions:o}]=an(),[a]=nn(),r=c(De);return se.createElement("div",{"aria-label":e["aria-label"],"aria-orientation":"vertical",className:$r(r["suggested-actions"],o+"",{[r["suggested-actions--flow"]]:t==="flow",[r["suggested-actions--stacked"]]:t!=="flow"},e.className),role:"toolbar"},a!=="blueprint"&&e.children)}function sn(){let e=c(De),t=tn(),[o,a,{activity:r}]=rn(),n=en(),s=Qr(()=>{n("sendBox")},[n]),i=D(r)?[]:o.map((b,p)=>{let{displayText:d,image:l,imageAltText:u,text:_,type:k,value:m}=b;return o?.length?se.createElement(Dt,{buttonText:Fe(b),displayText:d,image:l,imageAlt:l&&(u||_),itemIndex:p,key:p,text:_,type:k,value:m}):null});return se.createElement(Lt,{onEscapeKey:s},se.createElement(cn,{"aria-label":t("SUGGESTED_ACTIONS_LABEL_ALT"),className:e["suggested-actions"]},i))}var Ie=Yr(sn);import ln,{memo as bn,useMemo as un,useState as pn}from"react";import{createContext as dn}from"react";var It=dn(new Proxy({},{get(){throw new Error("botframework-webchat: This hook can only used under its corresponding <Provider>.")}}));It.displayName="TelephoneKeypad.Context";var de=It;var hn=bn(({children:e})=>{let[t,o]=pn(!1),a=un(()=>Object.freeze({setShown:o,shown:t}),[o,t]);return ln.createElement(de.Provider,{value:a},e)}),Re=hn;import Tn,{memo as Bn}from"react";import{Components as xn}from"botframework-webchat-component";import yn from"classnames";import g,{memo as Ot,useCallback as x,useEffect as kn,useRef as Nn}from"react";import{useRefFrom as Vt}from"use-ref-from";import We,{forwardRef as _n,memo as mn,useCallback as gn}from"react";import{useRefFrom as wn}from"use-ref-from";var j={"telephone-keypad--horizontal":"wwTs9lq_telephone-keypad--horizontal","telephone-keypad__button__ruby":"wwTs9lq_telephone-keypad__button__ruby","telephone-keypad__button":"wwTs9lq_telephone-keypad__button","telephone-keypad__button__text":"wwTs9lq_telephone-keypad__button__text"},Rt=j,gb=j["telephone-keypad--horizontal"];var wb=j["telephone-keypad__button__ruby"];var fb=j["telephone-keypad__button"];var vb=j["telephone-keypad__button__text"];var Wt=mn(_n(({button:e,"data-testid":t,onClick:o,ruby:a},r)=>{let n=c(Rt),s=wn(o),i=gn(()=>s.current?.(),[s]);return We.createElement("button",{className:n["telephone-keypad__button"],"data-testid":t,onClick:i,ref:r,type:"button"},We.createElement("span",{className:n["telephone-keypad__button__text"]},e==="*"?"\u2217":e),!!a&&We.createElement("ruby",{className:n["telephone-keypad__button__ruby"]},a))}));Wt.displayName="TelephoneKeypad.Button";var v=Wt;import{useContext as fn,useMemo as vn}from"react";function M(){let{setShown:e,shown:t}=fn(de);return vn(()=>Object.freeze([t,e]),[t,e])}var J={"telephone-keypad__info-message-link":"wEgqGmW_telephone-keypad__info-message-link","telephone-keypad":"wEgqGmW_telephone-keypad","telephone-keypad__box":"wEgqGmW_telephone-keypad__box","telephone-keypad__info-message":"wEgqGmW_telephone-keypad__info-message"},Ve=J,Fb=J["telephone-keypad__info-message-link"];var Lb=J["telephone-keypad"];var Eb=J["telephone-keypad__box"];var Pb=J["telephone-keypad__info-message"];var{LocalizedString:Sn}=xn,Kt=Ot(({children:e,isHorizontal:t})=>{let o=c(Ve);return t?null:g.createElement("div",{className:o["telephone-keypad__box"]},e)});Kt.displayName="TelephoneKeypad:Orientation";var Gt=Ot(({autoFocus:e,className:t,onButtonClick:o,isHorizontal:a})=>{let r=Vt(e),n=c(Ve),s=Nn(null),i=Vt(o),[,b]=M(),p=x(()=>i.current?.("1"),[i]),d=x(()=>i.current?.("2"),[i]),l=x(()=>i.current?.("3"),[i]),u=x(()=>i.current?.("4"),[i]),_=x(()=>i.current?.("5"),[i]),k=x(()=>i.current?.("6"),[i]),m=x(()=>i.current?.("7"),[i]),N=x(()=>i.current?.("8"),[i]),T=x(()=>i.current?.("9"),[i]),B=x(()=>i.current?.("0"),[i]),z=x(()=>i.current?.("*"),[i]),A=x(()=>i.current?.("#"),[i]),P=x(ee=>{ee.key==="Escape"&&b(!1)},[b]);return kn(()=>{r.current&&s.current?.focus()},[r,s]),g.createElement("div",{className:yn(n["telephone-keypad"],t),onKeyDown:P},g.createElement(Kt,{isHorizontal:a},g.createElement(v,{button:"1","data-testid":h.sendBoxTelephoneKeypadButton1,onClick:p,ref:s}),g.createElement(v,{button:"2","data-testid":h.sendBoxTelephoneKeypadButton2,onClick:d,ruby:"ABC"}),g.createElement(v,{button:"3","data-testid":h.sendBoxTelephoneKeypadButton3,onClick:l,ruby:"DEF"}),g.createElement(v,{button:"4","data-testid":h.sendBoxTelephoneKeypadButton4,onClick:u,ruby:"GHI"}),g.createElement(v,{button:"5","data-testid":h.sendBoxTelephoneKeypadButton5,onClick:_,ruby:"JKL"}),g.createElement(v,{button:"6","data-testid":h.sendBoxTelephoneKeypadButton6,onClick:k,ruby:"MNO"}),g.createElement(v,{button:"7","data-testid":h.sendBoxTelephoneKeypadButton7,onClick:m,ruby:"PQRS"}),g.createElement(v,{button:"8","data-testid":h.sendBoxTelephoneKeypadButton8,onClick:N,ruby:"TUV"}),g.createElement(v,{button:"9","data-testid":h.sendBoxTelephoneKeypadButton9,onClick:T,ruby:"WXYZ"}),g.createElement(v,{button:"*","data-testid":h.sendBoxTelephoneKeypadButtonStar,onClick:z}),g.createElement(v,{button:"0","data-testid":h.sendBoxTelephoneKeypadButton0,onClick:B,ruby:"+"}),g.createElement(v,{button:"#","data-testid":h.sendBoxTelephoneKeypadButtonPound,onClick:A})),g.createElement("div",{className:n["telephone-keypad__info-message"]},g.createElement(ve,null),g.createElement(Sn,{linkClassName:n["telephone-keypad__info-message-link"],stringIds:"TELEPHONE_KEYPAD_INPUT_MESSAGE"})))});Gt.displayName="TelephoneKeypad";var qt=Gt;var Xt=Bn(e=>M()[0]?Tn.createElement(qt,{...e}):null);Xt.displayName="TelephoneKeypad.Surrogate";var Oe=Xt;import{hooks as zn}from"botframework-webchat-component";import be,{useCallback as jt,useRef as An,memo as Hn}from"react";import{useRefFrom as Fn}from"use-ref-from";import{hooks as Cn}from"botframework-webchat-api";import Ke from"classnames";import Ge,{memo as qe}from"react";var $={"sendbox__toolbar-button--selected":"weDCCeq_sendbox__toolbar-button--selected","sendbox__toolbar-button":"weDCCeq_sendbox__toolbar-button","sendbox__toolbar-separator":"weDCCeq_sendbox__toolbar-separator",sendbox__toolbar:"weDCCeq_sendbox__toolbar"},le=$,iu=$["sendbox__toolbar-button--selected"];var cu=$["sendbox__toolbar-button"];var su=$["sendbox__toolbar-separator"];var du=$.sendbox__toolbar;var{useUIState:Ut}=Cn,Mn=e=>e.preventDefault(),E=qe(e=>{let t=c(le),[o]=Ut(),a=e.disabled||o==="disabled";return Ge.createElement("button",{"aria-disabled":a?"true":void 0,"aria-label":e["aria-label"],className:Ke(t["sendbox__toolbar-button"],e.className,{[t["sendbox__toolbar-button--selected"]]:e.selected}),"data-testid":e["data-testid"],onClick:a?Mn:e.onClick,tabIndex:a?-1:void 0,type:e.type==="submit"?"submit":"button"},e.children)});E.displayName="ToolbarButton";var Xe=qe(e=>{let[t]=Ut(),o=c(le);return Ge.createElement("div",{className:Ke(o.sendbox__toolbar,e.className)},t!=="blueprint"&&e.children)});Xe.displayName="Toolbar";var Ue=qe(e=>{let t=c(le);return Ge.createElement("div",{"aria-orientation":"vertical",className:Ke(t["sendbox__toolbar-separator"],e.className),role:"separator"})});Ue.displayName="ToolbarSeparator";var Ze={"sendbox__add-attachment-input":"wTxWh-G_sendbox__add-attachment-input","sendbox__add-attachment":"wTxWh-G_sendbox__add-attachment"},Zt=Ze,vu=Ze["sendbox__add-attachment-input"];var xu=Ze["sendbox__add-attachment"];var{useLocalizer:Ln,useStyleOptions:En}=zn;function Pn(e){let t=An(null),o=c(Zt),a=Ln(),[{uploadAccept:r,uploadMultiple:n}]=En(),s=Fn(e.onFilesAdded),i=jt(()=>t.current?.click(),[t]),b=jt(({target:{files:p}})=>{p&&(s.current?.([...p]),t.current&&(t.current.value=""))},[t,s]);return be.createElement("div",{className:o["sendbox__add-attachment"]},be.createElement("input",{accept:r,"aria-disabled":e.disabled,"aria-hidden":"true",className:o["sendbox__add-attachment-input"],multiple:n,onInput:e.disabled?void 0:b,readOnly:e.disabled,ref:t,role:"button",tabIndex:-1,type:"file"}),be.createElement(E,{"aria-label":a("TEXT_INPUT_UPLOAD_BUTTON_ALT"),"data-testid":h.sendBoxUploadButton,onClick:i},be.createElement(fe,null)))}var Jt=Hn(Pn);import{hooks as Dn}from"botframework-webchat-component";import In from"classnames";import Rn,{memo as Wn}from"react";var $t={sendbox__attachment:"wPugToa_sendbox__attachment"},Yt=$t,Eu=$t.sendbox__attachment;var{useLocalizer:Vn,useUIState:On}=Dn,Kn={one:"TEXT_INPUT_ATTACHMENTS_ONE",two:"TEXT_INPUT_ATTACHMENTS_TWO",few:"TEXT_INPUT_ATTACHMENTS_FEW",many:"TEXT_INPUT_ATTACHMENTS_MANY",other:"TEXT_INPUT_ATTACHMENTS_OTHER"};function Gn({attachments:e,className:t}){let[o]=On(),a=c(Yt),r=Vn({plural:!0});return o!=="blueprint"&&e.length?Rn.createElement("div",{className:In(a.sendbox__attachment,t)},r(Kn,e.length)):null}var Qt=Wn(Gn);import{useLiveRegion as qn}from"botframework-webchat-component/internal";import oo,{memo as Xn}from"react";var eo={"sendbox__error-message":"wa8yVAW_sendbox__error-message"},to=eo,Xu=eo["sendbox__error-message"];function ao({error:e,id:t}){let o=c(to);return qn(()=>e&&oo.createElement("div",{className:"sendbox__error-message__status"},e),[e]),oo.createElement("span",{className:o["sendbox__error-message"],id:t},e)}ao.displayName="ErrorMessage";var ro=Xn(ao);import{hooks as Un}from"botframework-webchat-component";import{useCallback as Zn,useMemo as no,useState as jn}from"react";import{useRefFrom as Jn}from"use-ref-from";var{useConnectivityStatus:$n,useLocalizer:Yn}=Un,Qn=({attachments:e,message:t})=>{let[o]=$n(),[a,r]=jn(),n=Yn(),s=Jn(o!=="connected"&&o!=="reconnected"?"offline":!t&&!e.length?"empty":void 0),i=no(()=>Object.freeze(new Map().set("empty",n("SEND_BOX_IS_EMPTY_TOOLTIP_ALT")).set("offline",n("CONNECTIVITY_STATUS_ALT_FATAL"))),[n]),b=!!t?.trim();a==="empty"&&b&&r(void 0);let p=Zn(()=>(r(s.current),s.current),[s]);return no(()=>Object.freeze([a&&i.get(a),p]),[a,i,p])},io=Qn;import{useCallback as ei}from"react";import{hooks as ti}from"botframework-webchat-component";var{useScrollDown:oi,useScrollUp:ai}=ti;function je(){let e=oi(),t=ai();return ei(o=>{if(o.target instanceof HTMLTextAreaElement&&o.target.value)return;let{ctrlKey:a,metaKey:r,shiftKey:n}=o;if(a||r||n)return;let s=!0;switch(o.key){case"End":e({displacement:1/0});break;case"Home":t({displacement:1/0});break;case"PageDown":e();break;case"PageUp":t();break;default:s=!1;break}s&&(o.preventDefault(),o.stopPropagation())},[e,t])}import{useMemo as ri}from"react";function Je(e){let t=ri(()=>Math.random().toString(36).substr(2,5),[]);return e=e?`${e}--`:"",`${e}${t}`}var y={"sendbox__sendbox-controls--in-grid":"wHTirJa_sendbox__sendbox-controls--in-grid","sendbox__text-counter":"wHTirJa_sendbox__text-counter","sendbox__text-counter--error":"wHTirJa_sendbox__text-counter--error","variant-copilot":"wHTirJa_variant-copilot","sendbox__telephone-keypad--in-grid":"wHTirJa_sendbox__telephone-keypad--in-grid","sendbox__attachment--in-grid":"wHTirJa_sendbox__attachment--in-grid","sendbox__sendbox-text":"wHTirJa_sendbox__sendbox-text",sendbox:"wHTirJa_sendbox","sendbox__sendbox-controls":"wHTirJa_sendbox__sendbox-controls",sendbox__sendbox:"wHTirJa_sendbox__sendbox","sendbox__text-area--in-grid":"wHTirJa_sendbox__text-area--in-grid"},$e=y,bp=y["sendbox__sendbox-controls--in-grid"];var up=y["sendbox__text-counter"];var pp=y["sendbox__text-counter--error"];var hp=y["variant-copilot"];var _p=y["sendbox__telephone-keypad--in-grid"];var mp=y["sendbox__attachment--in-grid"];var gp=y["sendbox__sendbox-text"];var wp=y.sendbox;var fp=y["sendbox__sendbox-controls"];var vp=y.sendbox__sendbox;var xp=y["sendbox__text-area--in-grid"];import co,{memo as ni,useCallback as ii}from"react";import{hooks as ci}from"botframework-webchat-component";var{useLocalizer:si}=ci,so=ni(()=>{let[e,t]=M(),o=si(),a=ii(()=>t(r=>!r),[t]);return co.createElement(E,{"aria-label":o("TEXT_INPUT_TELEPHONE_KEYPAD_BUTTON_ALT"),"data-testid":h.sendBoxTelephoneKeypadToolbarButton,onClick:a,selected:e},co.createElement(ye,null))});so.displayName="SendBox.TelephoneKeypadToolbarButton";var lo=so;import{hooks as di}from"botframework-webchat-api";import ue from"classnames";import Y,{forwardRef as li,Fragment as bi,useCallback as Ye,useRef as ui}from"react";var F={"sendbox__text-area-doppelganger":"woL7KnG_sendbox__text-area-doppelganger","sendbox__text-area-input":"woL7KnG_sendbox__text-area-input","sendbox__text-area--in-completion":"woL7KnG_sendbox__text-area--in-completion","sendbox__text-area--scroll":"woL7KnG_sendbox__text-area--scroll","sendbox__text-area--hidden":"woL7KnG_sendbox__text-area--hidden","sendbox__text-area-shared":"woL7KnG_sendbox__text-area-shared","sendbox__text-area":"woL7KnG_sendbox__text-area"},bo=F,Fp=F["sendbox__text-area-doppelganger"];var Lp=F["sendbox__text-area-input"];var Ep=F["sendbox__text-area--in-completion"];var Pp=F["sendbox__text-area--scroll"];var Dp=F["sendbox__text-area--hidden"];var Ip=F["sendbox__text-area-shared"];var Rp=F["sendbox__text-area"];var{useUIState:pi}=di,uo=li((e,t)=>{let[o]=pi(),a=c(bo),r=ui(!1),n=o==="disabled",s=Ye(()=>{r.current=!1},[r]),i=Ye(()=>{r.current=!0},[r]),b=Ye(p=>{!p.shiftKey&&p.key==="Enter"&&!r.current&&(p.preventDefault(),"form"in p.target&&p.target.form instanceof HTMLFormElement&&p.target?.form?.requestSubmit())},[]);return Y.createElement("div",{className:ue(a["sendbox__text-area"],a["sendbox__text-area--scroll"],{[a["sendbox__text-area--hidden"]]:e.hidden},{[a["sendbox__text-area--in-completion"]]:e.completion},e.className),role:e.hidden?"hidden":void 0},o==="blueprint"?Y.createElement("div",{className:ue(a["sendbox__text-area-doppelganger"],a["sendbox__text-area-shared"])}," "):Y.createElement(bi,null,Y.createElement("div",{className:ue(a["sendbox__text-area-doppelganger"],a["sendbox__text-area-shared"])},e.completion?e.completion:e.value||e.placeholder," "),Y.createElement("textarea",{"aria-disabled":n,"aria-label":e["aria-label"],className:ue(a["sendbox__text-area-input"],a["sendbox__text-area-shared"]),"data-testid":e["data-testid"],onCompositionEnd:s,onCompositionStart:i,onInput:e.onInput,onKeyDown:b,placeholder:e.placeholder,readOnly:n,ref:t,rows:e.startRows??1,tabIndex:e.hidden?-1:void 0,value:e.value})))});uo.displayName="TextArea";var po=uo;var{useFocus:gi,useLocalizer:wi,useMakeThumbnail:fi,useRegisterFocusSendBox:vi,useSendBoxAttachments:xi,useSendBoxValue:yi,useSendMessage:ki,useStyleOptions:Ni,useUIState:Si}=hi;function mo(e){let[{hideTelephoneKeypadButton:t,hideUploadButton:o,maxMessageLength:a}]=Ni(),[r,n]=xi(),[s,i]=yi(),[b,p]=mi(""),[d]=M(),[l]=Si(),u=c($e),_=C($e),k=Je("sendbox__error-message-id"),m=_i(null),N=wi(),T=fi(),B=ki(),z=gi(),A=e.isPrimary?s:b,P=e.isPrimary?i:p,ee=l==="blueprint",[st,dt]=io({message:A,attachments:r}),O=!!a&&A.length>a,Ho=!ee&&!d&&a&&isFinite(a),lt=!ee&&d;vi(V(({noKeyboard:f,waitUntil:te})=>{m.current&&(f?te((async()=>{let K=m.current?.getAttribute("readonly");m.current?.setAttribute("readonly","true"),await new Promise(oe=>setTimeout(oe,0)),m.current?.focus(),typeof K!="string"?m.current?.removeAttribute("readonly"):m.current?.setAttribute("readonly",K)})()):m.current?.focus())},[m]));let bt=ho(r),ut=ho(A),Fo=V(f=>{"tabIndex"in f.target&&typeof f.target.tabIndex=="number"&&f.target.tabIndex>=0||z("sendBox")},[z]),Lo=V(f=>P(f.currentTarget.value),[P]),pt=V(async f=>{let te=Object.freeze(await Promise.all(f.map(K=>T(K).then(oe=>Object.freeze({blob:K,...oe&&{thumbnailURL:oe}})))));n(te)},[T,n]),Eo=V(f=>{f.preventDefault(),dt()!=="empty"&&!O&&(B(ut.current,void 0,{attachments:bt.current}),P(""),n([])),z("sendBox")},[dt,O,z,B,P,ut,bt,n]),Po=V(f=>B(`/DTMFKey ${f}`),[B]),Do=je(),Io={"aria-invalid":"false",...st&&{"aria-describedby":k,"aria-errormessage":k,"aria-invalid":"true"}};return w.createElement("form",{...Io,className:Q(u.sendbox,_,e.className),"data-testid":h.sendBoxContainer,onSubmit:Eo},w.createElement(Ie,null),w.createElement("div",{className:Q(u.sendbox__sendbox),onClickCapture:Fo,onKeyDown:Do},w.createElement(po,{"aria-label":N(O?"TEXT_INPUT_LENGTH_EXCEEDED_ALT":"TEXT_INPUT_ALT"),className:Q(u["sendbox__sendbox-text"],u["sendbox__text-area--in-grid"]),completion:e.completion,"data-testid":h.sendBoxTextBox,hidden:lt,onInput:Lo,placeholder:e.placeholder??N("TEXT_INPUT_PLACEHOLDER"),ref:m,value:A}),w.createElement(Oe,{autoFocus:!0,className:u["sendbox__telephone-keypad--in-grid"],isHorizontal:!1,onButtonClick:Po}),w.createElement(Qt,{attachments:r,className:u["sendbox__attachment--in-grid"]}),w.createElement("div",{className:Q(u["sendbox__sendbox-controls"],u["sendbox__sendbox-controls--in-grid"])},Ho&&w.createElement("div",{className:Q(u["sendbox__text-counter"],{[u["sendbox__text-counter--error"]]:O})},`${A.length}/${a}`),w.createElement(Xe,null,!t&&w.createElement(lo,null),!o&&w.createElement(Jt,{onFilesAdded:pt}),w.createElement(Ue,null),w.createElement(E,{"aria-label":N("TEXT_INPUT_SEND_BUTTON_ALT"),"data-testid":h.sendBoxSendButton,disabled:O||lt,type:"submit"},w.createElement(xe,null)))),w.createElement(Te,{onFilesAdded:pt}),w.createElement(ro,{error:st,id:k})))}var pe=_o(e=>w.createElement(mo,{...e,isPrimary:!0}));pe.displayName="PrimarySendBox";var go=_o(mo);import{DecoratorComposer as Qi}from"botframework-webchat-api/decorator";import{Components as ec}from"botframework-webchat-component";import{WebChatDecorator as tc}from"botframework-webchat-component/decorator";import S,{memo as oc}from"react";import Di from"classnames";import xo,{Fragment as Ii,memo as Ri}from"react";import{hooks as Mi}from"botframework-webchat-component";import zi,{memo as Ai,useCallback as tt,useEffect as Hi,useRef as Fi}from"react";import{useRefFrom as Li}from"use-ref-from";import{useContext as Ci}from"react";import{createContext as Ti}from"react";var Bi={urlStateMap:{get(){throw new Error("urlMap cannot be used outside of <AssetComposerContext>.")}}},wo=Ti(Object.create({},Bi));wo.displayName="AssetComposerContext";var he=wo;function Qe(){return Ci(he)}function et(e){let t=Qe().urlStateMap.get(e);if(!t)throw new Error(`botframework-webchat-fluent-theme internal: Asset "${e}" was not found.`);return t}var{useLocalizer:Ei,useShouldReduceMotion:Pi}=Mi,fo=({className:e})=>{let[t]=Pi(),[o]=et("sliding dots"),a=Ei(),r=Fi(null),n=a("TYPING_INDICATOR_ALT"),s=Li(t),i=tt(()=>{let d=r.current?.contentDocument,l=d?.documentElement,{SVGSVGElement:u}=d?.defaultView||{};u&&l instanceof u&&l.pauseAnimations()},[r]),b=tt(()=>{let d=r.current?.contentDocument,l=d?.documentElement,{SVGSVGElement:u}=d?.defaultView||{};u&&l instanceof u&&l.unpauseAnimations()},[r]),p=tt(()=>s.current?i():b(),[i,s,b]);return Hi(p,[p,t]),zi.createElement("object",{"aria-label":n,className:e,data:o.href,onLoad:p,ref:r,type:"image/svg+xml"})};fo.displayName="SlidingDots";var _e=Ai(fo);var ot={"activity-loader":"wnVy-QG_activity-loader","variant-fluent":"wnVy-QG_variant-fluent"},vo=ot,Hh=ot["activity-loader"];var Fh=ot["variant-fluent"];function Wi({children:e}){let t=c(vo),o=C(t);return xo.createElement(Ii,null,e,xo.createElement(_e,{className:Di(t["activity-loader"],o)}))}var yo=Ri(Wi);import Vi,{memo as Oi,useEffect as Ki,useMemo as ko}from"react";var Gi='<svg xmlns="http://www.w3.org/2000/svg" width="400" height="20" viewBox="0 0 400 20"><defs><linearGradient id="a" x1="0" x2="100%" y1="0" y2="0" gradientUnits="userSpaceOnUse"><stop offset="0%"><animate attributeName="stop-color" dur="2s" keyTimes="0;0.2;0.33;0.5;0.66;0.8;1" repeatCount="indefinite" values="#ad5ae1;#ad5ae1;#0E94E1;#0E94E1;#669fc2;#669fc2;#ad5ae1"/></stop><stop offset="50%"><animate attributeName="stop-color" dur="2s" keyTimes="0;0.2;0.33;0.5;0.66;0.8;1" repeatCount="indefinite" values="#e9618d;#e9618d;#57AB82;#57AB82;#6377e0;#6377e0;#e9618d"/></stop><stop offset="100%"><animate attributeName="stop-color" dur="2s" keyTimes="0;0.2;0.33;0.5;0.66;0.8;1" repeatCount="indefinite" values="#fd9e5f;#fd9e5f;#C6C225;#C6C225;#9b80ec;#9b80ec;#fd9e5f"/></stop></linearGradient></defs><g fill="url(#a)"><rect height="20" rx="10"><animate attributeName="x" dur="2s" keyTimes="0;0.5;0.66;1" repeatCount="indefinite" values="26;26;0;0"/><animate attributeName="width" dur="2s" keyTimes="0;0.2;0.33;0.5;0.66;1" repeatCount="indefinite" values="20;20;30;30;20;20"/><animate attributeName="opacity" dur="2s" keyTimes="0;0.5;0.66;1" repeatCount="indefinite" values="1;1;0;0"/></rect><rect height="20" rx="10"><animate attributeName="x" dur="2s" keyTimes="0;0.2;0.33;0.5;0.66;0.8;1" repeatCount="indefinite" values="62;62;72;72;26;26;0"/><animate attributeName="width" dur="2s" keyTimes="0;0.2;0.33;0.5;0.66;0.8;1" repeatCount="indefinite" values="104;104;20;20;70;70;20"/><animate attributeName="opacity" dur="2s" keyTimes="0;0.8;1" repeatCount="indefinite" values="1;1;0"/></rect><rect height="20" rx="10"><animate attributeName="x" dur="2s" keyTimes="0;0.2;0.33;0.5;0.66;0.8;1" repeatCount="indefinite" values="182;182;108;108;112;112;26"/><animate attributeName="width" dur="2s" keyTimes="0;0.2;0.33;0.5;0.66;1" repeatCount="indefinite" values="20;20;60;60;20;20"/></rect><rect height="20" rx="10"><animate attributeName="x" dur="2s" keyTimes="0;0.2;0.33;0.5;0.66;0.8;1" repeatCount="indefinite" values="218;218;184;184;148;148;62"/><animate attributeName="width" dur="2s" keyTimes="0;0.2;0.33;0.5;0.66;0.8;1" repeatCount="indefinite" values="60;60;80;80;40;40;104"/></rect><rect height="20" rx="10"><animate attributeName="x" dur="2s" keyTimes="0;0.2;0.33;0.5;0.66;0.8;1" repeatCount="indefinite" values="294;294;280;280;204;204;182"/><animate attributeName="width" dur="2s" keyTimes="0;0.2;0.33;0.5;0.66;0.8;1" repeatCount="indefinite" values="40;40;20;20;80;80;20"/></rect><rect height="20" rx="10"><animate attributeName="x" dur="2s" keyTimes="0;0.2;0.33;0.5;0.66;0.8;1" repeatCount="indefinite" values="350;350;316;316;300;300;218"/><animate attributeName="width" dur="2s" keyTimes="0;0.2;0.33;0.5;0.66;0.8;1" repeatCount="indefinite" values="20;20;60;60;20;20;60"/></rect><rect height="20" rx="10"><animate attributeName="x" dur="2s" keyTimes="0;0.2;0.33;0.5;0.66;0.8;1" repeatCount="indefinite" values="386;386;392;392;336;336;294"/><animate attributeName="width" dur="2s" keyTimes="0;0.5;0.66;1" repeatCount="indefinite" values="20;20;40;40"/><animate attributeName="opacity" dur="2s" keyTimes="0;0.5;0.66;1" repeatCount="indefinite" values="0;0;1;1"/></rect><rect width="20" height="20" rx="10"><animate attributeName="x" dur="2s" keyTimes="0;0.2;0.33;0.5;0.66;0.8;1" repeatCount="indefinite" values="422;422;428;428;392;392;350"/><animate attributeName="opacity" dur="2s" keyTimes="0;0.8;1" repeatCount="indefinite" values="0;0;1"/></rect></g></svg>',No=Oi(({children:e})=>{let t=ko(()=>URL.createObjectURL(new Blob([Gi],{type:"image/svg+xml"})),[]);Ki(()=>()=>URL.revokeObjectURL(t),[t]);let o=ko(()=>Object.freeze({urlStateMap:new Map([["sliding dots",Object.freeze([new URL(t)])]])}),[t]);return Vi.createElement(he.Provider,{value:o},e)});No.displayName="AssetComposer";var So=No;function me(e){return!!(e&&e.from.role==="channel"&&e.type==="message"&&"text"in e)}import Bo,{memo as qi}from"react";var at={"liner-message-activity":"wQVQNzG_liner-message-activity","liner-message-activity__text":"wQVQNzG_liner-message-activity__text"},To=at,jh=at["liner-message-activity"];var Jh=at["liner-message-activity__text"];var Co=({activity:e})=>{let t=c(To);return Bo.createElement("div",{className:t["liner-message-activity"],role:"separator"},Bo.createElement("span",{className:t["liner-message-activity__text"]},e.text))};Co.displayName="LinerMessageActivity";var rt=qi(Co);import Xi from"react";import Ui from"classnames";var nt={theme:"w2roZmq_theme","variant-copilot":"w2roZmq_variant-copilot"},it=nt,s_=nt.theme;var d_=nt["variant-copilot"];var Zi="webchat-fluent";function ge(e){let t=c(it),o=C(it);return Xi.createElement("div",{className:Ui(Zi,t.theme,o)},e.children)}import{testIds as ji}from"botframework-webchat-component";import Ji from"classnames";import zo,{memo as $i}from"react";var ct={"sliding-dots-typing-indicator":"wQOMcSW_sliding-dots-typing-indicator","sliding-dots-typing-indicator__image":"wQOMcSW_sliding-dots-typing-indicator__image"},Mo=ct,x_=ct["sliding-dots-typing-indicator"];var y_=ct["sliding-dots-typing-indicator__image"];function Yi(){let e=c(Mo);return zo.createElement("div",{className:e["sliding-dots-typing-indicator"],"data-testid":ji.typingIndicator},zo.createElement(_e,{className:Ji(e["sliding-dots-typing-indicator__image"])}))}var Ao=$i(Yi);var{ThemeProvider:ac}=ec,rc=Object.freeze([()=>e=>(...t)=>{let o=t[0]?.activity;if(D(o))return()=>S.createElement(He,{activity:o});if(me(o))return()=>S.createElement(rt,{activity:o});let a=e(...t);return a&&((...r)=>S.createElement(Ae,{activity:o},a(...r)))}]),nc=[()=>()=>()=>pe],ic=Object.freeze([e=>e==="activity border"&&(t=>o=>o.livestreamingState==="preparing"?yo:t(o))]),cc=ke(),sc=Object.freeze({feedbackActionsPlacement:"activity-actions"}),dc=Object.freeze([()=>e=>(...t)=>t[0].visible?S.createElement(Ao,null):e(...t)]);function lc({children:e,variant:t="fluent"}){return S.createElement(_t,{variant:t},S.createElement(ge,null,S.createElement(Re,null,S.createElement(ac,{activityMiddleware:rc,sendBoxMiddleware:nc,styleOptions:sc,styles:cc,typingIndicatorMiddleware:dc},S.createElement(So,null,S.createElement(tc,null,S.createElement(Qi,{middleware:ic},e)))))))}var bc=oc(lc);var pc="tsup",hc="esmodules",_c="4.18.1-main.20250528.43d5b5c",Q_={buildTool:pc,moduleFormat:hc,version:_c};uc("botframework-webchat:fluent-theme","version=4.18.1-main.20250528.43d5b5c; build-tool=tsup; module-format=esmodules");export{go as FluentSendBox,bc as FluentThemeProvider,Q_ as buildInfo,h as testIds};
|
|
2
2
|
/*! For license information please see botframework-webchat-fluent-theme.mjs.LEGAL.txt */
|
|
3
3
|
//# sourceMappingURL=botframework-webchat-fluent-theme.mjs.map
|