botframework-webchat-fluent-theme 4.18.1-main.20250423.8c9cf52 → 4.18.1-main.20250505.488ce72
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 +6 -6
- 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.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 +6 -6
- package/dist/botframework-webchat-fluent-theme.production.min.js.map +1 -1
- package/package.json +6 -6
- package/src/components/sendBox/TextArea.module.css +1 -1
- package/src/components/theme/Theme.module.css +92 -88
- package/src/private/FluentThemeProvider.tsx +41 -27
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var _injectmetatag = require('inject-meta-tag');var _botframeworkwebchatcomponent = require('botframework-webchat-component');var _classnames = require('classnames'); var _classnames2 = _interopRequireDefault(_classnames);var _react = require('react'); var _react2 = _interopRequireDefault(_react);var _usereffrom = require('use-ref-from');var{MonochromeImageMasker:Ho}=_botframeworkwebchatcomponent.Components,Fo=`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 zo(e){return _react2.default.createElement(Ho,{className:_classnames2.default.call(void 0, "icon__add-document",e.className),src:Fo})}var le=_react.memo.call(void 0, zo);var{MonochromeImageMasker:Do}=_botframeworkwebchatcomponent.Components,Io=`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 Ro(e){return _react2.default.createElement(Do,{className:_classnames2.default.call(void 0, "icon__attachment",e.className),src:Io})}var ce=_react.memo.call(void 0, Ro);var{MonochromeImageMasker:Xo}=_botframeworkwebchatcomponent.Components,Uo=`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 Go(e){return _react2.default.createElement(Xo,{className:_classnames2.default.call(void 0, "icon__info--small",e.className),src:Uo})}var se=_react.memo.call(void 0, Go);var{MonochromeImageMasker:qo}=_botframeworkwebchatcomponent.Components,Jo=`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 Qo(e){return _react2.default.createElement(qo,{className:_classnames2.default.call(void 0, "icon__send",e.className),src:Jo})}var de=_react.memo.call(void 0, Qo);var{MonochromeImageMasker:ra}=_botframeworkwebchatcomponent.Components,na=`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 ia(e){return _react2.default.createElement(ra,{className:_classnames2.default.call(void 0, "icon__telephone-keypad",e.className),src:na})}var be=_react.memo.call(void 0, ia);function la(e){let t=document.createElement("style");return t.append(document.createTextNode(e)),t}function ot(...e){return function(){if(!globalThis.document)throw new Error("Unable to create styles: document is not defined");return e.map(t=>la(t))}}var ca=".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:visible}.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__body1{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__caption1{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__button__submit{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__button__submit:hover{background-color:var(--webchat-colorBrandBackgroundHover);border:var(--webchat-strokeWidthThin) solid var(--webchat-colorBrandBackgroundHover)}.webchat-fluent._ .webchat__feedback-form__button__submit:focus-visible{outline:var(--webchat-strokeWidthThick) solid var(--webchat-colorStrokeFocus2);outline-offset:calc(var(--webchat-strokeWidthThin) * -1)}.webchat-fluent._ .webchat__feedback-form__button__submit:active{background-color:var(--webchat-colorBrandBackgroundPressed);border:var(--webchat-strokeWidthThin) solid var(--webchat-colorBrandBackgroundPressed)}.webchat-fluent._ .webchat__feedback-form__button__cancel{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__button__cancel:hover{background-color:var(--webchat-colorNeutralBackground1Hover);border:var(--webchat-strokeWidthThin) solid var(--webchat-colorNeutralStroke1Hover)}.webchat-fluent._ .webchat__feedback-form__button__cancel:focus-visible{outline:var(--webchat-strokeWidthThick) solid var(--webchat-colorStrokeFocus2);outline-offset:calc(var(--webchat-strokeWidthThin) * -1)}.webchat-fluent._ .webchat__feedback-form__button__cancel:active{background-color:var(--webchat-colorNeutralBackground1Pressed);border:var(--webchat-strokeWidthThin) solid var(--webchat-colorNeutralStroke1Pressed)}.webchat-fluent._ .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-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-text-area:focus-within{border:var(--webchat-strokeWidthThin) solid var(--webchat-colorNeutralStroke1)}.webchat-fluent._ .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=ot(ca);function da(e){return _react.useMemo.call(void 0, ()=>Object.freeze(Object.fromEntries(Object.entries(e).map(([t,o])=>[t,`${t} ${o}`]))),[e])}var s=da;function he({Provider:e},{defaults:t,displayName:o}){let a=({children:n,...i})=>{let c=_react.useMemo.call(void 0, ()=>Object.freeze({...t,...i}),[i]);return _react2.default.createElement(e,{value:c},n)};return a.displayName=o,_react.memo.call(void 0, a)}var pe=_react.createContext.call(void 0, new Proxy({},{get(){throw new Error("Unable to use VariantContext without VariantComposer")}})),ma=he(pe,{defaults:{variant:""},displayName:"VariantComposer"}),at=ma;function K(){let{variant:e}=_react.useContext.call(void 0, pe);return _react.useMemo.call(void 0, ()=>e.split(" "),[e])}function M(e){let t=s(e),o=K();return _react.useMemo.call(void 0, ()=>o.map(a=>t[`variant-${a}`]).filter(a=>a).join(" "),[t,o])}var va={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"},g= exports.testIds =va;var rt={"sendbox__attachment-drop-zone":"pa","sendbox__attachment-drop-zone--droppable":"_a","sendbox__attachment-drop-zone-icon":"fa"};var{useLocalizer:Ma}=_botframeworkwebchatcomponent.hooks,$=e=>{e.preventDefault()},it=e=>{var t,o;return!!((o=(t=e.dataTransfer)==null?void 0:t.types)!=null&&o.some(a=>a.toLowerCase()==="files"))};function Ha(e,t){let o=e.parentNode;for(;o;){if(o===t)return!0;o=o.parentNode}return!1}var lt=e=>{let[t,o]=_react.useState.call(void 0, !1),a=s(rt),n=_react.useRef.call(void 0, null),i=Ma(),c=_usereffrom.useRefFrom.call(void 0, e.onFilesAdded);_react.useEffect.call(void 0, ()=>{let h=0,p=m=>{document.addEventListener("dragover",$),h++,it(m)&&o(n.current&&(m.target===n.current||m.target instanceof HTMLElement&&Ha(m.target,n.current))?"droppable":"visible")},l=()=>--h<=0&&o(!1),d=()=>{document.removeEventListener("dragover",$),h=0,o(!1)},b=m=>{var v;(v=n.current)!=null&&v.contains(m.target)||d()};return document.addEventListener("dragend",d),document.addEventListener("dragenter",p),document.addEventListener("dragleave",l),document.addEventListener("drop",b),()=>{document.removeEventListener("dragend",d),document.removeEventListener("dragenter",p),document.removeEventListener("dragleave",l),document.removeEventListener("dragover",$),document.removeEventListener("drop",b)}},[o]);let r=_react.useCallback.call(void 0, h=>{h.preventDefault(),o(!1),it(h.nativeEvent)&&c.current([...h.dataTransfer.files])},[c,o]);return t?_react2.default.createElement("div",{className:_classnames2.default.call(void 0, a["sendbox__attachment-drop-zone"],{[a["sendbox__attachment-drop-zone--droppable"]]:t==="droppable"}),"data-testid":g.sendBoxDropZone,onDragOver:$,onDrop:r,ref:n},_react2.default.createElement(le,{className:a["sendbox__attachment-drop-zone-icon"]}),i("TEXT_INPUT_DROP_ZONE")):null};lt.displayName="DropZone";var me=_react.memo.call(void 0, lt);var _botframeworkwebchatcore = require('botframework-webchat-core');function E(e){var t,o;return!!(e&&((o=(t=_botframeworkwebchatcore.getOrgSchemaMessage.call(void 0, (e==null?void 0:e.entities)||[]))==null?void 0:t.keywords)!=null&&o.includes("PreChatMessage")))}var ct={"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"};var _botframeworkwebchatapi = require('botframework-webchat-api');var st={"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:Oa,useRenderMarkdownAsHTML:Va,useSendBoxValue:Wa,useUIState:Ka}=_botframeworkwebchatcomponent.hooks,{MonochromeImageMasker:Xa}=_botframeworkwebchatcomponent.Components,bt=({className:e,messageBackAction:t})=>{let[o,a]=Wa(),[n]=Ka(),i=s(st),c=Oa(),r=_usereffrom.useRefFrom.call(void 0, (t==null?void 0:t.displayText)||(t==null?void 0:t.text)||""),h=Va("message activity"),p=_react.useMemo.call(void 0, ()=>h?{__html:h((t==null?void 0:t.text)||"")}:void 0,[t==null?void 0:t.text,h]),l=n==="disabled",d=t&&"title"in t&&t.title,b=n==="blueprint"||!d,m=_react.useCallback.call(void 0, ()=>{a(r.current),c("sendBox")},[c,r,a]);return b?_react2.default.createElement("div",{className:_classnames2.default.call(void 0, e,i["pre-chat-message-activity__card-action-box"]),"data-testid":g.preChatMessageActivityStarterPromptsCardAction}):_react2.default.createElement("button",{"aria-disabled":l?!0:void 0,className:_classnames2.default.call(void 0, e,i["pre-chat-message-activity__card-action-box"]),"data-testid":g.preChatMessageActivityStarterPromptsCardAction,onClick:l?void 0:m,tabIndex:l?-1:void 0,type:"button"},_react2.default.createElement("div",{className:i["pre-chat-message-activity__card-action-title"]},d),"image"in t&&t.image&&_react2.default.createElement(Xa,{className:i["pre-chat-message-activity__card-action-image"],src:t.image}),_react2.default.createElement("div",{className:i["pre-chat-message-activity__card-action-subtitle"],dangerouslySetInnerHTML:p}))};bt.displayName="StarterPromptsCardAction";var U=_react.memo.call(void 0, bt);var ut={"pre-chat-message-activity__card-action-toolbar":"Fa","webchat-container":"ca","pre-chat-message-activity__card-action-toolbar-grid":"la"};var{useUIState:Ya}=_botframeworkwebchatapi.hooks,ht=({cardActions:e,className:t})=>{let o=s(ut),[a]=Ya();return _react2.default.createElement("div",{className:_classnames2.default.call(void 0, t,o["pre-chat-message-activity__card-action-toolbar"])},_react2.default.createElement("div",{className:o["pre-chat-message-activity__card-action-toolbar-grid"]},a==="blueprint"?_react2.default.createElement(_react.Fragment,null,_react2.default.createElement(U,null),_react2.default.createElement(U,null),_react2.default.createElement(U,null)):e.filter(n=>n.type==="messageBack").map((n,i)=>_react2.default.createElement(U,{key:i,messageBackAction:n}))))};ht.displayName="StarterPromptsToolbar";var pt=_react.memo.call(void 0, ht);var ge={"activity-decorator":"aa","variant-fluent":"Ma","variant-copilot":"ia"};var{useStyleOptions:er}=_botframeworkwebchatcomponent.hooks;function fe(e){var o,a;let[t]=er();return _react.useMemo.call(void 0, ()=>{var n,i;return Object.freeze([{...t,...(i=(n=e==null?void 0:e.channelData)==null?void 0:n.webChat)==null?void 0:i.styleOptions}])},[(a=(o=e==null?void 0:e.channelData)==null?void 0:o.webChat)==null?void 0:a.styleOptions,t])}function we(e){var t,o;return!!(e&&((o=(t=_botframeworkwebchatcore.getOrgSchemaMessage.call(void 0, (e==null?void 0:e.entities)||[]))==null?void 0:t.keywords)!=null&&o.includes("AIGeneratedContent")))}function P(e){return _react.useMemo.call(void 0, ()=>{let t=_botframeworkwebchatcore.getOrgSchemaMessage.call(void 0, (e==null?void 0:e.entities)||[]);return typeof(t==null?void 0:t.author)=="string"?{"@type":"Person",description:void 0,image:void 0,name:t==null?void 0:t.author}:t==null?void 0:t.author},[e])}var mt={"copilot-message-header":"Wa","copilot-message-header__avatar":"Xa","copilot-message-header__title":"La","copilot-message-header__ai-generated-content":"Va"};var{useLocalizer:cr}=_botframeworkwebchatcomponent.hooks;function sr({activity:e}){var l;let[{botAvatarImage:t,botAvatarBackgroundColor:o}]=fe(e),a=s(mt),n=cr(),i=we(e),c=_react.useMemo.call(void 0, ()=>({"--background-color":o}),[o]),r=P(e),h=(r==null?void 0:r.image)||t,p=(r==null?void 0:r.name)||((l=e==null?void 0:e.from)==null?void 0:l.name);return _react2.default.createElement("div",{className:a["copilot-message-header"]},h&&_react2.default.createElement("img",{alt:n("AVATAR_ALT",p),className:a["copilot-message-header__avatar"],src:h,style:c}),_react2.default.createElement("span",{className:a["copilot-message-header__title"],title:p},p),i&&_react2.default.createElement("span",{className:a["copilot-message-header__ai-generated-content"]},n("ACTIVITY_CONTENT_CAUTION")))}var gt=_react.memo.call(void 0, sr);function wt({activity:e,children:t}){var c;let o=s(ge),a=K(),n=M(ge),i=a.includes("copilot")&&((c=e==null?void 0:e.from)==null?void 0:c.role)==="bot"&&!!t;return _react2.default.createElement("div",{className:_classnames2.default.call(void 0, o["activity-decorator"],n)},i&&_react2.default.createElement(gt,{activity:e}),t)}wt.displayName="ActivityDecorator";var ve=_react.memo.call(void 0, wt);var{useLocalizer:gr,useRenderMarkdownAsHTML:fr,useUIState:wr}=_botframeworkwebchatcomponent.hooks,vt=({activity:e})=>{var r;let[t]=wr(),o=s(ct),a=fr(),n=gr(),i=P(e),c=_react.useMemo.call(void 0, ()=>a?{__html:a((i==null?void 0:i.description)||"")}:{__html:""},[i==null?void 0:i.description,a]);return _react2.default.createElement("div",{className:o["pre-chat-message-activity"]},i&&_react2.default.createElement("div",{className:_classnames2.default.call(void 0, o["pre-chat-message-activity__body"],t==="blueprint"&&o["pre-chat-message-activity__body--blueprint"])},i.image&&_react2.default.createElement("img",{alt:n("AVATAR_ALT",i.name),className:o["pre-chat-message-activity__body-avatar"],src:i.image}),i.name&&_react2.default.createElement("h2",{className:o["pre-chat-message-activity__body-title"]},i.name),i.description&&_react2.default.createElement("div",{className:o["pre-chat-message-activity__body-subtitle"],dangerouslySetInnerHTML:c})),_react2.default.createElement(pt,{cardActions:((r=e.suggestedActions)==null?void 0:r.actions)||[],className:o["pre-chat-message-activity__toolbar"]}))};vt.displayName="PreChatMessageActivity";var _e=_react.memo.call(void 0, vt);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))}var _t=_react.createContext.call(void 0, {itemEffector:()=>{throw new Error("botframework-webchat-fluent-theme rovingFocus: no provider for RovingFocusContext.")}});function Sr(e){let t=_react.useRef.call(void 0, 0),o=_react.useRef.call(void 0, []),a=_react.useCallback.call(void 0, ({current:l},d)=>l&&(l.tabIndex=t.current===d?0:-1),[t]),n=_react.useCallback.call(void 0, l=>{var b,m,v;let d;typeof l=="number"?d=l:d=l(t.current),d&&!((b=o.current.at(d))!=null&&b.current)&&(d=0),t.current!==d&&(t.current=d,o.current.forEach((f,y)=>a(f,y)),(v=(m=o.current.at(d))==null?void 0:m.current)==null||v.focus())},[a,o,t]),i=_react.useCallback.call(void 0, l=>{let{target:d}=l,b=o.current.findIndex(({current:m})=>m===d);b!==-1&&n(b)},[o,n]),c=_react.useCallback.call(void 0, l=>d=>{var S;let b=!e.direction,m=/up|down/iu.test(l)&&e.direction==="vertical",v=/left|right/iu.test(l)&&e.direction==="horizontal",f=/right|down/iu.test(l),y=b||m||v?f?1:-1:0,B=o.current.map((F,z)=>z),C=B.indexOf(d)+y;return(S=B.at(C))!=null?S:0},[e.direction]),r=_react.useCallback.call(void 0, l=>{var b;let{key:d}=l;switch(d){case"Up":case"ArrowUp":case"Left":case"ArrowLeft":case"Down":case"ArrowDown":case"Right":case"ArrowRight":n(c(d));break;case"Home":n(0);break;case"End":n(-1);break;case"Escape":(b=e.onEscapeKey)==null||b.call(e);break;default:return}l.preventDefault(),l.stopPropagation()},[n,c,e]),h=_react.useCallback.call(void 0, (l,d)=>{let{current:b}=l;return o.current[Number(d)]=l,b.addEventListener("focus",i),b.addEventListener("keydown",r),a(l,d),()=>{b.removeEventListener("focus",i),b.removeEventListener("keydown",r),delete o.current[Number(d)]}},[i,r,a,o]),p=_react.useMemo.call(void 0, ()=>({itemEffector:h}),[h]);return _react2.default.createElement(_t.Provider,{value:p},e.children)}function yt(e){let t=_react.useRef.call(void 0, null),{itemEffector:o}=_react.useContext.call(void 0, _t);return _react.useEffect.call(void 0, ()=>o(t,e)),t}var xt=_react.memo.call(void 0, Sr);var Hr=e=>e.preventDefault(),Fr=_react.forwardRef.call(void 0, ({"aria-hidden":e,children:t,className:o,"data-testid":a,disabled:n,onClick:i,tabIndex:c},r)=>{let h=_react.useRef.call(void 0, null);return _react2.default.createElement("button",{"aria-disabled":n?"true":void 0,"aria-hidden":e,className:o,"data-testid":a,onClick:n?Hr:i,ref:r||h,tabIndex:n?-1:c,type:"button"},t)}),kt=_react.memo.call(void 0, Fr);var Nt={"suggested-action":"Ta","suggested-action__image":"Ra"};var{useFocus:Dr,usePerformCardAction:Ir,useScrollToEnd:Rr,useStyleSet:Or,useSuggestedActions:Vr,useUIState:Wr}=_botframeworkwebchatcomponent.hooks;function Kr({buttonText:e,className:t,displayText:o,image:a,imageAlt:n,itemIndex:i,text:c,type:r,value:h}){let[p,l]=Vr(),[{suggestedAction:d}]=Or(),[b]=Wr(),m=Dr(),v=yt(i),f=Ir(),y=s(Nt),B=Rr(),C=_react.useCallback.call(void 0, ({target:S})=>{(async function(){await m("sendBoxWithoutKeyboard"),f({displayText:o,text:c,type:r,value:h},{target:S}),r==="openUrl"&&l([]),B()})()},[o,m,f,B,l,c,r,h]);return _react2.default.createElement(kt,{className:_classnames2.default.call(void 0, y["suggested-action"],d+"",(t||"")+""),"data-testid":g.sendBoxSuggestedAction,disabled:b==="disabled",onClick:C,ref:v,type:"button"},a&&_react2.default.createElement("img",{alt:n,className:y["suggested-action__image"],src:a}),_react2.default.createElement("span",null,e))}var St=_react.memo.call(void 0, Kr);var Ne={"suggested-actions":"Pa","suggested-actions--flow":"Da","suggested-actions--stacked":"Ca"};var{useFocus:$r,useLocalizer:Yr,useStyleOptions:qr,useStyleSet:Jr,useSuggestedActions:Qr,useUIState:en}=_botframeworkwebchatcomponent.hooks;function tn(e){let[{suggestedActionLayout:t}]=qr(),[{suggestedActions:o}]=Jr(),[a]=en(),n=s(Ne);return _react2.default.createElement("div",{"aria-label":e["aria-label"],"aria-orientation":"vertical",className:_classnames2.default.call(void 0, n["suggested-actions"],o+"",{[n["suggested-actions--flow"]]:t==="flow",[n["suggested-actions--stacked"]]:t!=="flow"},e.className),role:"toolbar"},a!=="blueprint"&&e.children)}function on(){let e=s(Ne),t=Yr(),[o,a,{activity:n}]=Qr(),i=$r(),c=_react.useCallback.call(void 0, ()=>{i("sendBox")},[i]),r=E(n)?[]:o.map((h,p)=>{let{displayText:l,image:d,imageAltText:b,text:m,type:v,value:f}=h;return o!=null&&o.length?_react2.default.createElement(St,{buttonText:ye(h),displayText:l,image:d,imageAlt:d&&(b||m),itemIndex:p,key:p,text:m,type:v,value:f}):null});return _react2.default.createElement(xt,{onEscapeKey:c},_react2.default.createElement(tn,{"aria-label":t("SUGGESTED_ACTIONS_LABEL_ALT"),className:e["suggested-actions"]},r))}var Se=_react.memo.call(void 0, on);var Tt=_react.createContext.call(void 0, new Proxy({},{get(){throw new Error("botframework-webchat: This hook can only used under its corresponding <Provider>.")}}));Tt.displayName="TelephoneKeypad.Context";var J=Tt;var sn=_react.memo.call(void 0, ({children:e})=>{let[t,o]=_react.useState.call(void 0, !1),a=_react.useMemo.call(void 0, ()=>Object.freeze({setShown:o,shown:t}),[o,t]);return _react2.default.createElement(J.Provider,{value:a},e)}),Te=sn;var Bt={"telephone-keypad__button":"na","telephone-keypad__button__ruby":"ba","telephone-keypad__button__text":"da","telephone-keypad--horizontal":"Ga"};var Ct=_react.memo.call(void 0, _react.forwardRef.call(void 0, ({button:e,"data-testid":t,onClick:o,ruby:a},n)=>{let i=s(Bt),c=_usereffrom.useRefFrom.call(void 0, o),r=_react.useCallback.call(void 0, ()=>{var h;return(h=c.current)==null?void 0:h.call(c)},[c]);return _react2.default.createElement("button",{className:i["telephone-keypad__button"],"data-testid":t,onClick:r,ref:n,type:"button"},_react2.default.createElement("span",{className:i["telephone-keypad__button__text"]},e==="*"?"\u2217":e),!!a&&_react2.default.createElement("ruby",{className:i["telephone-keypad__button__ruby"]},a))}));Ct.displayName="TelephoneKeypad.Button";var k=Ct;function H(){let{setShown:e,shown:t}=_react.useContext.call(void 0, J);return _react.useMemo.call(void 0, ()=>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:xn}=_botframeworkwebchatcomponent.Components,Ft=_react.memo.call(void 0, ({children:e,isHorizontal:t})=>{let o=s(Ce);return t?null:_react2.default.createElement("div",{className:o["telephone-keypad__box"]},e)});Ft.displayName="TelephoneKeypad:Orientation";var zt=_react.memo.call(void 0, ({autoFocus:e,className:t,onButtonClick:o,isHorizontal:a})=>{let n=_usereffrom.useRefFrom.call(void 0, e),i=s(Ce),c=_react.useRef.call(void 0, null),r=_usereffrom.useRefFrom.call(void 0, o),[,h]=H(),p=_react.useCallback.call(void 0, ()=>{var u;return(u=r.current)==null?void 0:u.call(r,"1")},[r]),l=_react.useCallback.call(void 0, ()=>{var u;return(u=r.current)==null?void 0:u.call(r,"2")},[r]),d=_react.useCallback.call(void 0, ()=>{var u;return(u=r.current)==null?void 0:u.call(r,"3")},[r]),b=_react.useCallback.call(void 0, ()=>{var u;return(u=r.current)==null?void 0:u.call(r,"4")},[r]),m=_react.useCallback.call(void 0, ()=>{var u;return(u=r.current)==null?void 0:u.call(r,"5")},[r]),v=_react.useCallback.call(void 0, ()=>{var u;return(u=r.current)==null?void 0:u.call(r,"6")},[r]),f=_react.useCallback.call(void 0, ()=>{var u;return(u=r.current)==null?void 0:u.call(r,"7")},[r]),y=_react.useCallback.call(void 0, ()=>{var u;return(u=r.current)==null?void 0:u.call(r,"8")},[r]),B=_react.useCallback.call(void 0, ()=>{var u;return(u=r.current)==null?void 0:u.call(r,"9")},[r]),C=_react.useCallback.call(void 0, ()=>{var u;return(u=r.current)==null?void 0:u.call(r,"0")},[r]),S=_react.useCallback.call(void 0, ()=>{var u;return(u=r.current)==null?void 0:u.call(r,"*")},[r]),F=_react.useCallback.call(void 0, ()=>{var u;return(u=r.current)==null?void 0:u.call(r,"#")},[r]),z=_react.useCallback.call(void 0, u=>{u.key==="Escape"&&h(!1)},[h]);return _react.useEffect.call(void 0, ()=>{var u;n.current&&((u=c.current)==null||u.focus())},[n,c]),_react2.default.createElement("div",{className:_classnames2.default.call(void 0, i["telephone-keypad"],t),onKeyDown:z},_react2.default.createElement(Ft,{isHorizontal:a},_react2.default.createElement(k,{button:"1","data-testid":g.sendBoxTelephoneKeypadButton1,onClick:p,ref:c}),_react2.default.createElement(k,{button:"2","data-testid":g.sendBoxTelephoneKeypadButton2,onClick:l,ruby:"ABC"}),_react2.default.createElement(k,{button:"3","data-testid":g.sendBoxTelephoneKeypadButton3,onClick:d,ruby:"DEF"}),_react2.default.createElement(k,{button:"4","data-testid":g.sendBoxTelephoneKeypadButton4,onClick:b,ruby:"GHI"}),_react2.default.createElement(k,{button:"5","data-testid":g.sendBoxTelephoneKeypadButton5,onClick:m,ruby:"JKL"}),_react2.default.createElement(k,{button:"6","data-testid":g.sendBoxTelephoneKeypadButton6,onClick:v,ruby:"MNO"}),_react2.default.createElement(k,{button:"7","data-testid":g.sendBoxTelephoneKeypadButton7,onClick:f,ruby:"PQRS"}),_react2.default.createElement(k,{button:"8","data-testid":g.sendBoxTelephoneKeypadButton8,onClick:y,ruby:"TUV"}),_react2.default.createElement(k,{button:"9","data-testid":g.sendBoxTelephoneKeypadButton9,onClick:B,ruby:"WXYZ"}),_react2.default.createElement(k,{button:"*","data-testid":g.sendBoxTelephoneKeypadButtonStar,onClick:S}),_react2.default.createElement(k,{button:"0","data-testid":g.sendBoxTelephoneKeypadButton0,onClick:C,ruby:"+"}),_react2.default.createElement(k,{button:"#","data-testid":g.sendBoxTelephoneKeypadButtonPound,onClick:F})),_react2.default.createElement("div",{className:i["telephone-keypad__info-message"]},_react2.default.createElement(se,null),_react2.default.createElement(xn,{linkClassName:i["telephone-keypad__info-message-link"],stringIds:"TELEPHONE_KEYPAD_INPUT_MESSAGE"})))});zt.displayName="TelephoneKeypad";var At=zt;var Lt=_react.memo.call(void 0, e=>H()[0]?_react2.default.createElement(At,{...e}):null);Lt.displayName="TelephoneKeypad.Surrogate";var Me=Lt;var Q={sendbox__toolbar:"Ka","sendbox__toolbar-button":"Oa","sendbox__toolbar-button--selected":"Ea","sendbox__toolbar-separator":"qa"};var{useUIState:Et}=_botframeworkwebchatapi.hooks,Bn=e=>e.preventDefault(),L=_react.memo.call(void 0, e=>{let t=s(Q),[o]=Et(),a=e.disabled||o==="disabled";return _react2.default.createElement("button",{"aria-disabled":a?"true":void 0,"aria-label":e["aria-label"],className:_classnames2.default.call(void 0, t["sendbox__toolbar-button"],e.className,{[t["sendbox__toolbar-button--selected"]]:e.selected}),"data-testid":e["data-testid"],onClick:a?Bn:e.onClick,tabIndex:a?-1:void 0,type:e.type==="submit"?"submit":"button"},e.children)});L.displayName="ToolbarButton";var Ae=_react.memo.call(void 0, e=>{let[t]=Et(),o=s(Q);return _react2.default.createElement("div",{className:_classnames2.default.call(void 0, o.sendbox__toolbar,e.className)},t!=="blueprint"&&e.children)});Ae.displayName="Toolbar";var Le=_react.memo.call(void 0, e=>{let t=s(Q);return _react2.default.createElement("div",{"aria-orientation":"vertical",className:_classnames2.default.call(void 0, t["sendbox__toolbar-separator"],e.className),role:"separator"})});Le.displayName="ToolbarSeparator";var Pt={"sendbox__add-attachment":"Ja","sendbox__add-attachment-input":"Qa"};var{useLocalizer:An,useStyleOptions:Ln}=_botframeworkwebchatcomponent.hooks;function En(e){let t=_react.useRef.call(void 0, null),o=s(Pt),a=An(),[{uploadAccept:n,uploadMultiple:i}]=Ln(),c=_usereffrom.useRefFrom.call(void 0, e.onFilesAdded),r=_react.useCallback.call(void 0, ()=>{var p;return(p=t.current)==null?void 0:p.click()},[t]),h=_react.useCallback.call(void 0, ({target:{files:p}})=>{var l;p&&((l=c.current)==null||l.call(c,[...p]),t.current&&(t.current.value=""))},[t,c]);return _react2.default.createElement("div",{className:o["sendbox__add-attachment"]},_react2.default.createElement("input",{accept:n,"aria-disabled":e.disabled,"aria-hidden":"true",className:o["sendbox__add-attachment-input"],multiple:i,onInput:e.disabled?void 0:h,readOnly:e.disabled,ref:t,role:"button",tabIndex:-1,type:"file"}),_react2.default.createElement(L,{"aria-label":a("TEXT_INPUT_UPLOAD_BUTTON_ALT"),"data-testid":g.sendBoxUploadButton,onClick:r},_react2.default.createElement(ce,null)))}var It=_react.memo.call(void 0, En);var Rt={sendbox__attachment:"Ya"};var{useLocalizer:Vn,useUIState:Wn}=_botframeworkwebchatcomponent.hooks,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 Xn({attachments:e,className:t}){let[o]=Wn(),a=s(Rt),n=Vn({plural:!0});return o!=="blueprint"&&e.length?_react2.default.createElement("div",{className:_classnames2.default.call(void 0, a.sendbox__attachment,t)},n(Kn,e.length)):null}var Ot=_react.memo.call(void 0, Xn);var _internal = require('botframework-webchat-component/internal');var Vt={"sendbox__error-message":"Za"};function Kt({error:e,id:t}){let o=s(Vt);return _internal.useLiveRegion.call(void 0, ()=>e&&_react2.default.createElement("div",{className:"sendbox__error-message__status"},e),[e]),_react2.default.createElement("span",{className:o["sendbox__error-message"],id:t},e)}Kt.displayName="ErrorMessage";var Xt=_react.memo.call(void 0, Kt);var{useConnectivityStatus:Jn,useLocalizer:Qn}=_botframeworkwebchatcomponent.hooks,ei=({attachments:e,message:t})=>{let[o]=Jn(),[a,n]=_react.useState.call(void 0, ),i=Qn(),c=_usereffrom.useRefFrom.call(void 0, o!=="connected"&&o!=="reconnected"?"offline":!t&&!e.length?"empty":void 0),r=_react.useMemo.call(void 0, ()=>Object.freeze(new Map().set("empty",i("SEND_BOX_IS_EMPTY_TOOLTIP_ALT")).set("offline",i("CONNECTIVITY_STATUS_ALT_FATAL"))),[i]),h=!!(t!=null&&t.trim());a==="empty"&&h&&n(void 0);let p=_react.useCallback.call(void 0, ()=>(n(c.current),c.current),[c]);return _react.useMemo.call(void 0, ()=>Object.freeze([a&&r.get(a),p]),[a,r,p])},Gt=ei;var{useScrollDown:ai,useScrollUp:ri}=_botframeworkwebchatcomponent.hooks;function Ee(){let e=ai(),t=ri();return _react.useCallback.call(void 0, o=>{if(o.target instanceof HTMLTextAreaElement&&o.target.value)return;let{ctrlKey:a,metaKey:n,shiftKey:i}=o;if(a||n||i)return;let c=!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:c=!1;break}c&&(o.preventDefault(),o.stopPropagation())},[e,t])}function Pe(e){let t=_react.useMemo.call(void 0, ()=>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"};var{useLocalizer:di}=_botframeworkwebchatcomponent.hooks,Zt=_react.memo.call(void 0, ()=>{let[e,t]=H(),o=di(),a=_react.useCallback.call(void 0, ()=>t(n=>!n),[t]);return _react2.default.createElement(L,{"aria-label":o("TEXT_INPUT_TELEPHONE_KEYPAD_BUTTON_ALT"),"data-testid":g.sendBoxTelephoneKeypadToolbarButton,onClick:a,selected:e},_react2.default.createElement(be,null))});Zt.displayName="SendBox.TelephoneKeypadToolbarButton";var $t=Zt;var Yt={"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:gi}=_botframeworkwebchatapi.hooks,qt=_react.forwardRef.call(void 0, (e,t)=>{var p;let[o]=gi(),a=s(Yt),n=_react.useRef.call(void 0, !1),i=o==="disabled",c=_react.useCallback.call(void 0, ()=>{n.current=!1},[n]),r=_react.useCallback.call(void 0, ()=>{n.current=!0},[n]),h=_react.useCallback.call(void 0, l=>{var d,b;!l.shiftKey&&l.key==="Enter"&&!n.current&&(l.preventDefault(),"form"in l.target&&l.target.form instanceof HTMLFormElement&&((b=(d=l.target)==null?void 0:d.form)==null||b.requestSubmit()))},[]);return _react2.default.createElement("div",{className:_classnames2.default.call(void 0, 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"?_react2.default.createElement("div",{className:_classnames2.default.call(void 0, a["sendbox__text-area-doppelganger"],a["sendbox__text-area-shared"])}," "):_react2.default.createElement(_react.Fragment,null,_react2.default.createElement("div",{className:_classnames2.default.call(void 0, a["sendbox__text-area-doppelganger"],a["sendbox__text-area-shared"])},e.completion?e.completion:e.value||e.placeholder," "),_react2.default.createElement("textarea",{"aria-disabled":i,"aria-label":e["aria-label"],className:_classnames2.default.call(void 0, a["sendbox__text-area-input"],a["sendbox__text-area-shared"]),"data-testid":e["data-testid"],onCompositionEnd:c,onCompositionStart:r,onInput:e.onInput,onKeyDown:h,placeholder:e.placeholder,readOnly:i,ref:t,rows:(p=e.startRows)!=null?p:1,tabIndex:e.hidden?-1:void 0,value:e.value})))});qt.displayName="TextArea";var Jt=qt;var{useFocus:_i,useLocalizer:yi,useMakeThumbnail:xi,useRegisterFocusSendBox:ki,useSendBoxAttachments:Ni,useSendBoxValue:Si,useSendMessage:Ti,useStyleOptions:Bi,useUIState:Ci}=_botframeworkwebchatcomponent.hooks;function to(e){var Ye;let[{hideTelephoneKeypadButton:t,hideUploadButton:o,maxMessageLength:a}]=Bi(),[n,i]=Ni(),[c,r]=Si(),[h,p]=_react.useState.call(void 0, ""),[l]=H(),[d]=Ci(),b=s(De),m=M(De),v=Pe("sendbox__error-message-id"),f=_react.useRef.call(void 0, null),y=yi(),B=xi(),C=Ti(),S=_i(),F=e.isPrimary?c:h,z=e.isPrimary?r:p,u=d==="blueprint",[Xe,Ue]=Gt({message:F,attachments:n}),O=!!a&&F.length>a,wo=!u&&!l&&a&&isFinite(a),Ge=!u&&l;ki(_react.useCallback.call(void 0, ({noKeyboard:x,waitUntil:Z})=>{var V;f.current&&(x?Z((async()=>{var qe,Je,Qe,et,tt;let W=(qe=f.current)==null?void 0:qe.getAttribute("readonly");(Je=f.current)==null||Je.setAttribute("readonly","true"),await new Promise(So=>setTimeout(So,0)),(Qe=f.current)==null||Qe.focus(),typeof W!="string"?(et=f.current)==null||et.removeAttribute("readonly"):(tt=f.current)==null||tt.setAttribute("readonly",W)})()):(V=f.current)==null||V.focus())},[f]));let je=_usereffrom.useRefFrom.call(void 0, n),Ze=_usereffrom.useRefFrom.call(void 0, F),vo=_react.useCallback.call(void 0, x=>{"tabIndex"in x.target&&typeof x.target.tabIndex=="number"&&x.target.tabIndex>=0||S("sendBox")},[S]),_o=_react.useCallback.call(void 0, x=>z(x.currentTarget.value),[z]),$e=_react.useCallback.call(void 0, async x=>{let Z=Object.freeze(await Promise.all(x.map(V=>B(V).then(W=>Object.freeze({blob:V,...W&&{thumbnailURL:W}})))));i(Z)},[B,i]),yo=_react.useCallback.call(void 0, x=>{x.preventDefault(),Ue()!=="empty"&&!O&&(C(Ze.current,void 0,{attachments:je.current}),z(""),i([])),S("sendBox")},[Ue,O,S,C,z,Ze,je,i]),xo=_react.useCallback.call(void 0, x=>C(`/DTMFKey ${x}`),[C]),ko=Ee(),No={"aria-invalid":"false",...Xe&&{"aria-describedby":v,"aria-errormessage":v,"aria-invalid":"true"}};return _react2.default.createElement("form",{...No,className:_classnames2.default.call(void 0, b.sendbox,m,e.className),"data-testid":g.sendBoxContainer,onSubmit:yo},_react2.default.createElement(Se,null),_react2.default.createElement("div",{className:_classnames2.default.call(void 0, b.sendbox__sendbox),onClickCapture:vo,onKeyDown:ko},_react2.default.createElement(Jt,{"aria-label":y(O?"TEXT_INPUT_LENGTH_EXCEEDED_ALT":"TEXT_INPUT_ALT"),className:_classnames2.default.call(void 0, b["sendbox__sendbox-text"],b["sendbox__text-area--in-grid"]),completion:e.completion,"data-testid":g.sendBoxTextBox,hidden:Ge,onInput:_o,placeholder:(Ye=e.placeholder)!=null?Ye:y("TEXT_INPUT_PLACEHOLDER"),ref:f,value:F}),_react2.default.createElement(Me,{autoFocus:!0,className:b["sendbox__telephone-keypad--in-grid"],isHorizontal:!1,onButtonClick:xo}),_react2.default.createElement(Ot,{attachments:n,className:b["sendbox__attachment--in-grid"]}),_react2.default.createElement("div",{className:_classnames2.default.call(void 0, b["sendbox__sendbox-controls"],b["sendbox__sendbox-controls--in-grid"])},wo&&_react2.default.createElement("div",{className:_classnames2.default.call(void 0, b["sendbox__text-counter"],{[b["sendbox__text-counter--error"]]:O})},`${F.length}/${a}`),_react2.default.createElement(Ae,null,!t&&_react2.default.createElement($t,null),!o&&_react2.default.createElement(It,{onFilesAdded:$e}),_react2.default.createElement(Le,null),_react2.default.createElement(L,{"aria-label":y("TEXT_INPUT_SEND_BUTTON_ALT"),"data-testid":g.sendBoxSendButton,disabled:O||Ge,type:"submit"},_react2.default.createElement(de,null)))),_react2.default.createElement(me,{onFilesAdded:$e}),_react2.default.createElement(Xt,{error:Xe,id:v})))}var oe=_react.memo.call(void 0, e=>_react2.default.createElement(to,{...e,isPrimary:!0}));oe.displayName="PrimarySendBox";var oo=_react.memo.call(void 0, to);var _decorator = require('botframework-webchat-api/decorator');var _decorator3 = require('botframework-webchat-component/decorator');var Hi={urlStateMap:{get(){throw new Error("urlMap cannot be used outside of <AssetComposerContext>.")}}},ao=_react.createContext.call(void 0, Object.create({},Hi));ao.displayName="AssetComposerContext";var ae=ao;function Re(){return _react.useContext.call(void 0, 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:Ii,useShouldReduceMotion:Ri}=_botframeworkwebchatcomponent.hooks,ro=({className:e})=>{let[t]=Ri(),[o]=Oe("sliding dots"),a=Ii(),n=_react.useRef.call(void 0, null),i=a("TYPING_INDICATOR_ALT"),c=_usereffrom.useRefFrom.call(void 0, t),r=_react.useCallback.call(void 0, ()=>{var m;let l=(m=n.current)==null?void 0:m.contentDocument,d=l==null?void 0:l.documentElement,{SVGSVGElement:b}=(l==null?void 0:l.defaultView)||{};b&&d instanceof b&&d.pauseAnimations()},[n]),h=_react.useCallback.call(void 0, ()=>{var m;let l=(m=n.current)==null?void 0:m.contentDocument,d=l==null?void 0:l.documentElement,{SVGSVGElement:b}=(l==null?void 0:l.defaultView)||{};b&&d instanceof b&&d.unpauseAnimations()},[n]),p=_react.useCallback.call(void 0, ()=>c.current?r():h(),[r,c,h]);return _react.useEffect.call(void 0, p,[p,t]),_react2.default.createElement("object",{"aria-label":i,className:e,data:o.href,onLoad:p,ref:n,type:"image/svg+xml"})};ro.displayName="SlidingDots";var re=_react.memo.call(void 0, ro);var no={"activity-loader":"se","variant-fluent":"ue"};function Xi({children:e}){let t=s(no),o=M(t);return _react2.default.createElement(_react.Fragment,null,e,_react2.default.createElement(re,{className:_classnames2.default.call(void 0, t["activity-loader"],o)}))}var lo=_react.memo.call(void 0, Xi);var Zi='<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>',so=_react.memo.call(void 0, ({children:e})=>{let t=_react.useMemo.call(void 0, ()=>URL.createObjectURL(new Blob([Zi],{type:"image/svg+xml"})),[]);_react.useEffect.call(void 0, ()=>()=>URL.revokeObjectURL(t),[t]);let o=_react.useMemo.call(void 0, ()=>Object.freeze({urlStateMap:new Map([["sliding dots",Object.freeze([new URL(t)])]])}),[t]);return _react2.default.createElement(ae.Provider,{value:o},e)});so.displayName="AssetComposer";var bo=so;function ne(e){return!!(e&&e.from.role==="channel"&&e.type==="message"&&"text"in e)}var uo={"liner-message-activity":"we","liner-message-activity__text":"ge"};var po=({activity:e})=>{let t=s(uo);return _react2.default.createElement("div",{className:t["liner-message-activity"],role:"separator"},_react2.default.createElement("span",{className:t["liner-message-activity__text"]},e.text))};po.displayName="LinerMessageActivity";var We=_react.memo.call(void 0, po);var Ke={theme:"_","variant-copilot":"ea"};var el="webchat-fluent";function ie(e){let t=s(Ke),o=M(Ke);return _react2.default.createElement("div",{className:_classnames2.default.call(void 0, el,t.theme,o)},e.children)}var mo={"sliding-dots-typing-indicator":"ve","sliding-dots-typing-indicator__image":"pe"};function nl(){let e=s(mo);return _react2.default.createElement("div",{className:e["sliding-dots-typing-indicator"],"data-testid":_botframeworkwebchatcomponent.testIds.typingIndicator},_react2.default.createElement(re,{className:_classnames2.default.call(void 0, e["sliding-dots-typing-indicator__image"])}))}var fo=_react.memo.call(void 0, nl);var{ThemeProvider:dl}=_botframeworkwebchatcomponent.Components,bl=Object.freeze([()=>e=>(...t)=>{var n;let o=(n=t[0])==null?void 0:n.activity;if(E(o))return()=>_react2.default.createElement(_e,{activity:o});if(ne(o))return()=>_react2.default.createElement(We,{activity:o});let a=e(...t);return a&&((...i)=>_react2.default.createElement(ve,{activity:o},a(...i)))}]),ul=[()=>()=>()=>oe],hl=[e=>e==="activity border"&&(t=>o=>o.livestreamingState==="preparing"?lo:t(o))],pl=ue(),ml=Object.freeze({feedbackActionsPlacement:"activity-actions"}),gl=Object.freeze([()=>e=>(...t)=>t[0].visible?_react2.default.createElement(fo,null):e(...t)]),fl=({children:e,variant:t="fluent"})=>_react2.default.createElement(at,{variant:t},_react2.default.createElement(ie,null,_react2.default.createElement(Te,null,_react2.default.createElement(dl,{activityMiddleware:bl,sendBoxMiddleware:ul,styleOptions:ml,styles:pl,typingIndicatorMiddleware:gl},_react2.default.createElement(bo,null,_react2.default.createElement(_decorator3.WebChatDecorator,null,_react2.default.createElement(_decorator.DecoratorComposer,{middleware:hl},e))))))),wl= exports.FluentThemeProvider =_react.memo.call(void 0, fl);var _l="tsup",yl="commonjs",xl="4.18.1-main.20250423.8c9cf52",Ih= exports.buildInfo ={buildTool:_l,moduleFormat:yl,version:xl};_injectmetatag.injectMetaTag.call(void 0, "botframework-webchat:fluent-theme","version=4.18.1-main.20250423.8c9cf52; build-tool=tsup; module-format=commonjs");exports.FluentSendBox = oo; exports.FluentThemeProvider = wl; exports.buildInfo = Ih; exports.testIds = g;
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var _injectmetatag = require('inject-meta-tag');var _botframeworkwebchatcomponent = require('botframework-webchat-component');var _classnames = require('classnames'); var _classnames2 = _interopRequireDefault(_classnames);var _react = require('react'); var _react2 = _interopRequireDefault(_react);var _usereffrom = require('use-ref-from');var{MonochromeImageMasker:Ho}=_botframeworkwebchatcomponent.Components,Fo=`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 zo(e){return _react2.default.createElement(Ho,{className:_classnames2.default.call(void 0, "icon__add-document",e.className),src:Fo})}var ce=_react.memo.call(void 0, zo);var{MonochromeImageMasker:Do}=_botframeworkwebchatcomponent.Components,Io=`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 Ro(e){return _react2.default.createElement(Do,{className:_classnames2.default.call(void 0, "icon__attachment",e.className),src:Io})}var le=_react.memo.call(void 0, Ro);var{MonochromeImageMasker:Xo}=_botframeworkwebchatcomponent.Components,Uo=`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 jo(e){return _react2.default.createElement(Xo,{className:_classnames2.default.call(void 0, "icon__info--small",e.className),src:Uo})}var se=_react.memo.call(void 0, jo);var{MonochromeImageMasker:qo}=_botframeworkwebchatcomponent.Components,Jo=`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 Qo(e){return _react2.default.createElement(qo,{className:_classnames2.default.call(void 0, "icon__send",e.className),src:Jo})}var de=_react.memo.call(void 0, Qo);var{MonochromeImageMasker:ra}=_botframeworkwebchatcomponent.Components,na=`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 ia(e){return _react2.default.createElement(ra,{className:_classnames2.default.call(void 0, "icon__telephone-keypad",e.className),src:na})}var be=_react.memo.call(void 0, ia);function ca(e){let t=document.createElement("style");return t.append(document.createTextNode(e)),t}function ot(...e){return function(){if(!globalThis.document)throw new Error("Unable to create styles: document is not defined");return e.map(t=>ca(t))}}var la=".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=ot(la);function da(e){return _react.useMemo.call(void 0, ()=>Object.freeze(Object.fromEntries(Object.entries(e).map(([t,o])=>[t,`${t} ${o}`]))),[e])}var s=da;function he({Provider:e},{defaults:t,displayName:o}){let a=({children:n,...i})=>{let l=_react.useMemo.call(void 0, ()=>Object.freeze({...t,...i}),[i]);return _react2.default.createElement(e,{value:l},n)};return a.displayName=o,_react.memo.call(void 0, a)}var pe=_react.createContext.call(void 0, new Proxy({},{get(){throw new Error("Unable to use VariantContext without VariantComposer")}})),ma=he(pe,{defaults:{variant:""},displayName:"VariantComposer"}),at=ma;function K(){let{variant:e}=_react.useContext.call(void 0, pe);return _react.useMemo.call(void 0, ()=>e.split(" "),[e])}function M(e){let t=s(e),o=K();return _react.useMemo.call(void 0, ()=>o.map(a=>t[`variant-${a}`]).filter(a=>a).join(" "),[t,o])}var va={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"},g= exports.testIds =va;var rt={"sendbox__attachment-drop-zone":"pa","sendbox__attachment-drop-zone--droppable":"_a","sendbox__attachment-drop-zone-icon":"fa"};var{useLocalizer:Ma}=_botframeworkwebchatcomponent.hooks,$=e=>{e.preventDefault()},it=e=>{var t,o;return!!((o=(t=e.dataTransfer)==null?void 0:t.types)!=null&&o.some(a=>a.toLowerCase()==="files"))};function Ha(e,t){let o=e.parentNode;for(;o;){if(o===t)return!0;o=o.parentNode}return!1}var ct=e=>{let[t,o]=_react.useState.call(void 0, !1),a=s(rt),n=_react.useRef.call(void 0, null),i=Ma(),l=_usereffrom.useRefFrom.call(void 0, e.onFilesAdded);_react.useEffect.call(void 0, ()=>{let h=0,p=m=>{document.addEventListener("dragover",$),h++,it(m)&&o(n.current&&(m.target===n.current||m.target instanceof HTMLElement&&Ha(m.target,n.current))?"droppable":"visible")},c=()=>--h<=0&&o(!1),d=()=>{document.removeEventListener("dragover",$),h=0,o(!1)},b=m=>{var v;(v=n.current)!=null&&v.contains(m.target)||d()};return document.addEventListener("dragend",d),document.addEventListener("dragenter",p),document.addEventListener("dragleave",c),document.addEventListener("drop",b),()=>{document.removeEventListener("dragend",d),document.removeEventListener("dragenter",p),document.removeEventListener("dragleave",c),document.removeEventListener("dragover",$),document.removeEventListener("drop",b)}},[o]);let r=_react.useCallback.call(void 0, h=>{h.preventDefault(),o(!1),it(h.nativeEvent)&&l.current([...h.dataTransfer.files])},[l,o]);return t?_react2.default.createElement("div",{className:_classnames2.default.call(void 0, a["sendbox__attachment-drop-zone"],{[a["sendbox__attachment-drop-zone--droppable"]]:t==="droppable"}),"data-testid":g.sendBoxDropZone,onDragOver:$,onDrop:r,ref:n},_react2.default.createElement(ce,{className:a["sendbox__attachment-drop-zone-icon"]}),i("TEXT_INPUT_DROP_ZONE")):null};ct.displayName="DropZone";var me=_react.memo.call(void 0, ct);var _botframeworkwebchatcore = require('botframework-webchat-core');function E(e){var t,o;return!!(e&&((o=(t=_botframeworkwebchatcore.getOrgSchemaMessage.call(void 0, (e==null?void 0:e.entities)||[]))==null?void 0:t.keywords)!=null&&o.includes("PreChatMessage")))}var lt={"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"};var _botframeworkwebchatapi = require('botframework-webchat-api');var st={"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:Oa,useRenderMarkdownAsHTML:Va,useSendBoxValue:Wa,useUIState:Ka}=_botframeworkwebchatcomponent.hooks,{MonochromeImageMasker:Xa}=_botframeworkwebchatcomponent.Components,bt=({className:e,messageBackAction:t})=>{let[o,a]=Wa(),[n]=Ka(),i=s(st),l=Oa(),r=_usereffrom.useRefFrom.call(void 0, (t==null?void 0:t.displayText)||(t==null?void 0:t.text)||""),h=Va("message activity"),p=_react.useMemo.call(void 0, ()=>h?{__html:h((t==null?void 0:t.text)||"")}:void 0,[t==null?void 0:t.text,h]),c=n==="disabled",d=t&&"title"in t&&t.title,b=n==="blueprint"||!d,m=_react.useCallback.call(void 0, ()=>{a(r.current),l("sendBox")},[l,r,a]);return b?_react2.default.createElement("div",{className:_classnames2.default.call(void 0, e,i["pre-chat-message-activity__card-action-box"]),"data-testid":g.preChatMessageActivityStarterPromptsCardAction}):_react2.default.createElement("button",{"aria-disabled":c?!0:void 0,className:_classnames2.default.call(void 0, e,i["pre-chat-message-activity__card-action-box"]),"data-testid":g.preChatMessageActivityStarterPromptsCardAction,onClick:c?void 0:m,tabIndex:c?-1:void 0,type:"button"},_react2.default.createElement("div",{className:i["pre-chat-message-activity__card-action-title"]},d),"image"in t&&t.image&&_react2.default.createElement(Xa,{className:i["pre-chat-message-activity__card-action-image"],src:t.image}),_react2.default.createElement("div",{className:i["pre-chat-message-activity__card-action-subtitle"],dangerouslySetInnerHTML:p}))};bt.displayName="StarterPromptsCardAction";var U=_react.memo.call(void 0, bt);var ut={"pre-chat-message-activity__card-action-toolbar":"Fa","webchat-container":"ca","pre-chat-message-activity__card-action-toolbar-grid":"la"};var{useUIState:Ya}=_botframeworkwebchatapi.hooks,ht=({cardActions:e,className:t})=>{let o=s(ut),[a]=Ya();return _react2.default.createElement("div",{className:_classnames2.default.call(void 0, t,o["pre-chat-message-activity__card-action-toolbar"])},_react2.default.createElement("div",{className:o["pre-chat-message-activity__card-action-toolbar-grid"]},a==="blueprint"?_react2.default.createElement(_react.Fragment,null,_react2.default.createElement(U,null),_react2.default.createElement(U,null),_react2.default.createElement(U,null)):e.filter(n=>n.type==="messageBack").map((n,i)=>_react2.default.createElement(U,{key:i,messageBackAction:n}))))};ht.displayName="StarterPromptsToolbar";var pt=_react.memo.call(void 0, ht);var ge={"activity-decorator":"aa","variant-fluent":"Ma","variant-copilot":"ia"};var{useStyleOptions:er}=_botframeworkwebchatcomponent.hooks;function fe(e){var o,a;let[t]=er();return _react.useMemo.call(void 0, ()=>{var n,i;return Object.freeze([{...t,...(i=(n=e==null?void 0:e.channelData)==null?void 0:n.webChat)==null?void 0:i.styleOptions}])},[(a=(o=e==null?void 0:e.channelData)==null?void 0:o.webChat)==null?void 0:a.styleOptions,t])}function we(e){var t,o;return!!(e&&((o=(t=_botframeworkwebchatcore.getOrgSchemaMessage.call(void 0, (e==null?void 0:e.entities)||[]))==null?void 0:t.keywords)!=null&&o.includes("AIGeneratedContent")))}function P(e){return _react.useMemo.call(void 0, ()=>{let t=_botframeworkwebchatcore.getOrgSchemaMessage.call(void 0, (e==null?void 0:e.entities)||[]);return typeof(t==null?void 0:t.author)=="string"?{"@type":"Person",description:void 0,image:void 0,name:t==null?void 0:t.author}:t==null?void 0:t.author},[e])}var mt={"copilot-message-header":"Wa","copilot-message-header__avatar":"Xa","copilot-message-header__title":"La","copilot-message-header__ai-generated-content":"Va"};var{useLocalizer:lr}=_botframeworkwebchatcomponent.hooks;function sr({activity:e}){var c;let[{botAvatarImage:t,botAvatarBackgroundColor:o}]=fe(e),a=s(mt),n=lr(),i=we(e),l=_react.useMemo.call(void 0, ()=>({"--background-color":o}),[o]),r=P(e),h=(r==null?void 0:r.image)||t,p=(r==null?void 0:r.name)||((c=e==null?void 0:e.from)==null?void 0:c.name);return _react2.default.createElement("div",{className:a["copilot-message-header"]},h&&_react2.default.createElement("img",{alt:n("AVATAR_ALT",p),className:a["copilot-message-header__avatar"],src:h,style:l}),_react2.default.createElement("span",{className:a["copilot-message-header__title"],title:p},p),i&&_react2.default.createElement("span",{className:a["copilot-message-header__ai-generated-content"]},n("ACTIVITY_CONTENT_CAUTION")))}var gt=_react.memo.call(void 0, sr);function wt({activity:e,children:t}){var l;let o=s(ge),a=K(),n=M(ge),i=a.includes("copilot")&&((l=e==null?void 0:e.from)==null?void 0:l.role)==="bot"&&!!t;return _react2.default.createElement("div",{className:_classnames2.default.call(void 0, o["activity-decorator"],n)},i&&_react2.default.createElement(gt,{activity:e}),t)}wt.displayName="ActivityDecorator";var ve=_react.memo.call(void 0, wt);var{useLocalizer:gr,useRenderMarkdownAsHTML:fr,useUIState:wr}=_botframeworkwebchatcomponent.hooks,vt=({activity:e})=>{var r;let[t]=wr(),o=s(lt),a=fr(),n=gr(),i=P(e),l=_react.useMemo.call(void 0, ()=>a?{__html:a((i==null?void 0:i.description)||"")}:{__html:""},[i==null?void 0:i.description,a]);return _react2.default.createElement("div",{className:o["pre-chat-message-activity"]},i&&_react2.default.createElement("div",{className:_classnames2.default.call(void 0, o["pre-chat-message-activity__body"],t==="blueprint"&&o["pre-chat-message-activity__body--blueprint"])},i.image&&_react2.default.createElement("img",{alt:n("AVATAR_ALT",i.name),className:o["pre-chat-message-activity__body-avatar"],src:i.image}),i.name&&_react2.default.createElement("h2",{className:o["pre-chat-message-activity__body-title"]},i.name),i.description&&_react2.default.createElement("div",{className:o["pre-chat-message-activity__body-subtitle"],dangerouslySetInnerHTML:l})),_react2.default.createElement(pt,{cardActions:((r=e.suggestedActions)==null?void 0:r.actions)||[],className:o["pre-chat-message-activity__toolbar"]}))};vt.displayName="PreChatMessageActivity";var _e=_react.memo.call(void 0, vt);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))}var _t=_react.createContext.call(void 0, {itemEffector:()=>{throw new Error("botframework-webchat-fluent-theme rovingFocus: no provider for RovingFocusContext.")}});function Sr(e){let t=_react.useRef.call(void 0, 0),o=_react.useRef.call(void 0, []),a=_react.useCallback.call(void 0, ({current:c},d)=>c&&(c.tabIndex=t.current===d?0:-1),[t]),n=_react.useCallback.call(void 0, c=>{var b,m,v;let d;typeof c=="number"?d=c:d=c(t.current),d&&!((b=o.current.at(d))!=null&&b.current)&&(d=0),t.current!==d&&(t.current=d,o.current.forEach((f,y)=>a(f,y)),(v=(m=o.current.at(d))==null?void 0:m.current)==null||v.focus())},[a,o,t]),i=_react.useCallback.call(void 0, c=>{let{target:d}=c,b=o.current.findIndex(({current:m})=>m===d);b!==-1&&n(b)},[o,n]),l=_react.useCallback.call(void 0, c=>d=>{var S;let b=!e.direction,m=/up|down/iu.test(c)&&e.direction==="vertical",v=/left|right/iu.test(c)&&e.direction==="horizontal",f=/right|down/iu.test(c),y=b||m||v?f?1:-1:0,B=o.current.map((F,z)=>z),C=B.indexOf(d)+y;return(S=B.at(C))!=null?S:0},[e.direction]),r=_react.useCallback.call(void 0, c=>{var b;let{key:d}=c;switch(d){case"Up":case"ArrowUp":case"Left":case"ArrowLeft":case"Down":case"ArrowDown":case"Right":case"ArrowRight":n(l(d));break;case"Home":n(0);break;case"End":n(-1);break;case"Escape":(b=e.onEscapeKey)==null||b.call(e);break;default:return}c.preventDefault(),c.stopPropagation()},[n,l,e]),h=_react.useCallback.call(void 0, (c,d)=>{let{current:b}=c;return o.current[Number(d)]=c,b.addEventListener("focus",i),b.addEventListener("keydown",r),a(c,d),()=>{b.removeEventListener("focus",i),b.removeEventListener("keydown",r),delete o.current[Number(d)]}},[i,r,a,o]),p=_react.useMemo.call(void 0, ()=>({itemEffector:h}),[h]);return _react2.default.createElement(_t.Provider,{value:p},e.children)}function yt(e){let t=_react.useRef.call(void 0, null),{itemEffector:o}=_react.useContext.call(void 0, _t);return _react.useEffect.call(void 0, ()=>o(t,e)),t}var xt=_react.memo.call(void 0, Sr);var Hr=e=>e.preventDefault(),Fr=_react.forwardRef.call(void 0, ({"aria-hidden":e,children:t,className:o,"data-testid":a,disabled:n,onClick:i,tabIndex:l},r)=>{let h=_react.useRef.call(void 0, null);return _react2.default.createElement("button",{"aria-disabled":n?"true":void 0,"aria-hidden":e,className:o,"data-testid":a,onClick:n?Hr:i,ref:r||h,tabIndex:n?-1:l,type:"button"},t)}),kt=_react.memo.call(void 0, Fr);var Nt={"suggested-action":"Ta","suggested-action__image":"Ra"};var{useFocus:Dr,usePerformCardAction:Ir,useScrollToEnd:Rr,useStyleSet:Or,useSuggestedActions:Vr,useUIState:Wr}=_botframeworkwebchatcomponent.hooks;function Kr({buttonText:e,className:t,displayText:o,image:a,imageAlt:n,itemIndex:i,text:l,type:r,value:h}){let[p,c]=Vr(),[{suggestedAction:d}]=Or(),[b]=Wr(),m=Dr(),v=yt(i),f=Ir(),y=s(Nt),B=Rr(),C=_react.useCallback.call(void 0, ({target:S})=>{(async function(){await m("sendBoxWithoutKeyboard"),f({displayText:o,text:l,type:r,value:h},{target:S}),r==="openUrl"&&c([]),B()})()},[o,m,f,B,c,l,r,h]);return _react2.default.createElement(kt,{className:_classnames2.default.call(void 0, y["suggested-action"],d+"",(t||"")+""),"data-testid":g.sendBoxSuggestedAction,disabled:b==="disabled",onClick:C,ref:v,type:"button"},a&&_react2.default.createElement("img",{alt:n,className:y["suggested-action__image"],src:a}),_react2.default.createElement("span",null,e))}var St=_react.memo.call(void 0, Kr);var Ne={"suggested-actions":"Pa","suggested-actions--flow":"Da","suggested-actions--stacked":"Ca"};var{useFocus:$r,useLocalizer:Yr,useStyleOptions:qr,useStyleSet:Jr,useSuggestedActions:Qr,useUIState:en}=_botframeworkwebchatcomponent.hooks;function tn(e){let[{suggestedActionLayout:t}]=qr(),[{suggestedActions:o}]=Jr(),[a]=en(),n=s(Ne);return _react2.default.createElement("div",{"aria-label":e["aria-label"],"aria-orientation":"vertical",className:_classnames2.default.call(void 0, n["suggested-actions"],o+"",{[n["suggested-actions--flow"]]:t==="flow",[n["suggested-actions--stacked"]]:t!=="flow"},e.className),role:"toolbar"},a!=="blueprint"&&e.children)}function on(){let e=s(Ne),t=Yr(),[o,a,{activity:n}]=Qr(),i=$r(),l=_react.useCallback.call(void 0, ()=>{i("sendBox")},[i]),r=E(n)?[]:o.map((h,p)=>{let{displayText:c,image:d,imageAltText:b,text:m,type:v,value:f}=h;return o!=null&&o.length?_react2.default.createElement(St,{buttonText:ye(h),displayText:c,image:d,imageAlt:d&&(b||m),itemIndex:p,key:p,text:m,type:v,value:f}):null});return _react2.default.createElement(xt,{onEscapeKey:l},_react2.default.createElement(tn,{"aria-label":t("SUGGESTED_ACTIONS_LABEL_ALT"),className:e["suggested-actions"]},r))}var Se=_react.memo.call(void 0, on);var Tt=_react.createContext.call(void 0, new Proxy({},{get(){throw new Error("botframework-webchat: This hook can only used under its corresponding <Provider>.")}}));Tt.displayName="TelephoneKeypad.Context";var J=Tt;var sn=_react.memo.call(void 0, ({children:e})=>{let[t,o]=_react.useState.call(void 0, !1),a=_react.useMemo.call(void 0, ()=>Object.freeze({setShown:o,shown:t}),[o,t]);return _react2.default.createElement(J.Provider,{value:a},e)}),Te=sn;var Bt={"telephone-keypad__button":"na","telephone-keypad__button__ruby":"ba","telephone-keypad__button__text":"da","telephone-keypad--horizontal":"Ga"};var Ct=_react.memo.call(void 0, _react.forwardRef.call(void 0, ({button:e,"data-testid":t,onClick:o,ruby:a},n)=>{let i=s(Bt),l=_usereffrom.useRefFrom.call(void 0, o),r=_react.useCallback.call(void 0, ()=>{var h;return(h=l.current)==null?void 0:h.call(l)},[l]);return _react2.default.createElement("button",{className:i["telephone-keypad__button"],"data-testid":t,onClick:r,ref:n,type:"button"},_react2.default.createElement("span",{className:i["telephone-keypad__button__text"]},e==="*"?"\u2217":e),!!a&&_react2.default.createElement("ruby",{className:i["telephone-keypad__button__ruby"]},a))}));Ct.displayName="TelephoneKeypad.Button";var k=Ct;function H(){let{setShown:e,shown:t}=_react.useContext.call(void 0, J);return _react.useMemo.call(void 0, ()=>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:xn}=_botframeworkwebchatcomponent.Components,Ft=_react.memo.call(void 0, ({children:e,isHorizontal:t})=>{let o=s(Ce);return t?null:_react2.default.createElement("div",{className:o["telephone-keypad__box"]},e)});Ft.displayName="TelephoneKeypad:Orientation";var zt=_react.memo.call(void 0, ({autoFocus:e,className:t,onButtonClick:o,isHorizontal:a})=>{let n=_usereffrom.useRefFrom.call(void 0, e),i=s(Ce),l=_react.useRef.call(void 0, null),r=_usereffrom.useRefFrom.call(void 0, o),[,h]=H(),p=_react.useCallback.call(void 0, ()=>{var u;return(u=r.current)==null?void 0:u.call(r,"1")},[r]),c=_react.useCallback.call(void 0, ()=>{var u;return(u=r.current)==null?void 0:u.call(r,"2")},[r]),d=_react.useCallback.call(void 0, ()=>{var u;return(u=r.current)==null?void 0:u.call(r,"3")},[r]),b=_react.useCallback.call(void 0, ()=>{var u;return(u=r.current)==null?void 0:u.call(r,"4")},[r]),m=_react.useCallback.call(void 0, ()=>{var u;return(u=r.current)==null?void 0:u.call(r,"5")},[r]),v=_react.useCallback.call(void 0, ()=>{var u;return(u=r.current)==null?void 0:u.call(r,"6")},[r]),f=_react.useCallback.call(void 0, ()=>{var u;return(u=r.current)==null?void 0:u.call(r,"7")},[r]),y=_react.useCallback.call(void 0, ()=>{var u;return(u=r.current)==null?void 0:u.call(r,"8")},[r]),B=_react.useCallback.call(void 0, ()=>{var u;return(u=r.current)==null?void 0:u.call(r,"9")},[r]),C=_react.useCallback.call(void 0, ()=>{var u;return(u=r.current)==null?void 0:u.call(r,"0")},[r]),S=_react.useCallback.call(void 0, ()=>{var u;return(u=r.current)==null?void 0:u.call(r,"*")},[r]),F=_react.useCallback.call(void 0, ()=>{var u;return(u=r.current)==null?void 0:u.call(r,"#")},[r]),z=_react.useCallback.call(void 0, u=>{u.key==="Escape"&&h(!1)},[h]);return _react.useEffect.call(void 0, ()=>{var u;n.current&&((u=l.current)==null||u.focus())},[n,l]),_react2.default.createElement("div",{className:_classnames2.default.call(void 0, i["telephone-keypad"],t),onKeyDown:z},_react2.default.createElement(Ft,{isHorizontal:a},_react2.default.createElement(k,{button:"1","data-testid":g.sendBoxTelephoneKeypadButton1,onClick:p,ref:l}),_react2.default.createElement(k,{button:"2","data-testid":g.sendBoxTelephoneKeypadButton2,onClick:c,ruby:"ABC"}),_react2.default.createElement(k,{button:"3","data-testid":g.sendBoxTelephoneKeypadButton3,onClick:d,ruby:"DEF"}),_react2.default.createElement(k,{button:"4","data-testid":g.sendBoxTelephoneKeypadButton4,onClick:b,ruby:"GHI"}),_react2.default.createElement(k,{button:"5","data-testid":g.sendBoxTelephoneKeypadButton5,onClick:m,ruby:"JKL"}),_react2.default.createElement(k,{button:"6","data-testid":g.sendBoxTelephoneKeypadButton6,onClick:v,ruby:"MNO"}),_react2.default.createElement(k,{button:"7","data-testid":g.sendBoxTelephoneKeypadButton7,onClick:f,ruby:"PQRS"}),_react2.default.createElement(k,{button:"8","data-testid":g.sendBoxTelephoneKeypadButton8,onClick:y,ruby:"TUV"}),_react2.default.createElement(k,{button:"9","data-testid":g.sendBoxTelephoneKeypadButton9,onClick:B,ruby:"WXYZ"}),_react2.default.createElement(k,{button:"*","data-testid":g.sendBoxTelephoneKeypadButtonStar,onClick:S}),_react2.default.createElement(k,{button:"0","data-testid":g.sendBoxTelephoneKeypadButton0,onClick:C,ruby:"+"}),_react2.default.createElement(k,{button:"#","data-testid":g.sendBoxTelephoneKeypadButtonPound,onClick:F})),_react2.default.createElement("div",{className:i["telephone-keypad__info-message"]},_react2.default.createElement(se,null),_react2.default.createElement(xn,{linkClassName:i["telephone-keypad__info-message-link"],stringIds:"TELEPHONE_KEYPAD_INPUT_MESSAGE"})))});zt.displayName="TelephoneKeypad";var At=zt;var Lt=_react.memo.call(void 0, e=>H()[0]?_react2.default.createElement(At,{...e}):null);Lt.displayName="TelephoneKeypad.Surrogate";var Me=Lt;var Q={sendbox__toolbar:"Ka","sendbox__toolbar-button":"Oa","sendbox__toolbar-button--selected":"Ea","sendbox__toolbar-separator":"qa"};var{useUIState:Et}=_botframeworkwebchatapi.hooks,Bn=e=>e.preventDefault(),L=_react.memo.call(void 0, e=>{let t=s(Q),[o]=Et(),a=e.disabled||o==="disabled";return _react2.default.createElement("button",{"aria-disabled":a?"true":void 0,"aria-label":e["aria-label"],className:_classnames2.default.call(void 0, t["sendbox__toolbar-button"],e.className,{[t["sendbox__toolbar-button--selected"]]:e.selected}),"data-testid":e["data-testid"],onClick:a?Bn:e.onClick,tabIndex:a?-1:void 0,type:e.type==="submit"?"submit":"button"},e.children)});L.displayName="ToolbarButton";var Ae=_react.memo.call(void 0, e=>{let[t]=Et(),o=s(Q);return _react2.default.createElement("div",{className:_classnames2.default.call(void 0, o.sendbox__toolbar,e.className)},t!=="blueprint"&&e.children)});Ae.displayName="Toolbar";var Le=_react.memo.call(void 0, e=>{let t=s(Q);return _react2.default.createElement("div",{"aria-orientation":"vertical",className:_classnames2.default.call(void 0, t["sendbox__toolbar-separator"],e.className),role:"separator"})});Le.displayName="ToolbarSeparator";var Pt={"sendbox__add-attachment":"Ja","sendbox__add-attachment-input":"Qa"};var{useLocalizer:An,useStyleOptions:Ln}=_botframeworkwebchatcomponent.hooks;function En(e){let t=_react.useRef.call(void 0, null),o=s(Pt),a=An(),[{uploadAccept:n,uploadMultiple:i}]=Ln(),l=_usereffrom.useRefFrom.call(void 0, e.onFilesAdded),r=_react.useCallback.call(void 0, ()=>{var p;return(p=t.current)==null?void 0:p.click()},[t]),h=_react.useCallback.call(void 0, ({target:{files:p}})=>{var c;p&&((c=l.current)==null||c.call(l,[...p]),t.current&&(t.current.value=""))},[t,l]);return _react2.default.createElement("div",{className:o["sendbox__add-attachment"]},_react2.default.createElement("input",{accept:n,"aria-disabled":e.disabled,"aria-hidden":"true",className:o["sendbox__add-attachment-input"],multiple:i,onInput:e.disabled?void 0:h,readOnly:e.disabled,ref:t,role:"button",tabIndex:-1,type:"file"}),_react2.default.createElement(L,{"aria-label":a("TEXT_INPUT_UPLOAD_BUTTON_ALT"),"data-testid":g.sendBoxUploadButton,onClick:r},_react2.default.createElement(le,null)))}var It=_react.memo.call(void 0, En);var Rt={sendbox__attachment:"Ya"};var{useLocalizer:Vn,useUIState:Wn}=_botframeworkwebchatcomponent.hooks,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 Xn({attachments:e,className:t}){let[o]=Wn(),a=s(Rt),n=Vn({plural:!0});return o!=="blueprint"&&e.length?_react2.default.createElement("div",{className:_classnames2.default.call(void 0, a.sendbox__attachment,t)},n(Kn,e.length)):null}var Ot=_react.memo.call(void 0, Xn);var _internal = require('botframework-webchat-component/internal');var Vt={"sendbox__error-message":"Za"};function Kt({error:e,id:t}){let o=s(Vt);return _internal.useLiveRegion.call(void 0, ()=>e&&_react2.default.createElement("div",{className:"sendbox__error-message__status"},e),[e]),_react2.default.createElement("span",{className:o["sendbox__error-message"],id:t},e)}Kt.displayName="ErrorMessage";var Xt=_react.memo.call(void 0, Kt);var{useConnectivityStatus:Jn,useLocalizer:Qn}=_botframeworkwebchatcomponent.hooks,ei=({attachments:e,message:t})=>{let[o]=Jn(),[a,n]=_react.useState.call(void 0, ),i=Qn(),l=_usereffrom.useRefFrom.call(void 0, o!=="connected"&&o!=="reconnected"?"offline":!t&&!e.length?"empty":void 0),r=_react.useMemo.call(void 0, ()=>Object.freeze(new Map().set("empty",i("SEND_BOX_IS_EMPTY_TOOLTIP_ALT")).set("offline",i("CONNECTIVITY_STATUS_ALT_FATAL"))),[i]),h=!!(t!=null&&t.trim());a==="empty"&&h&&n(void 0);let p=_react.useCallback.call(void 0, ()=>(n(l.current),l.current),[l]);return _react.useMemo.call(void 0, ()=>Object.freeze([a&&r.get(a),p]),[a,r,p])},jt=ei;var{useScrollDown:ai,useScrollUp:ri}=_botframeworkwebchatcomponent.hooks;function Ee(){let e=ai(),t=ri();return _react.useCallback.call(void 0, o=>{if(o.target instanceof HTMLTextAreaElement&&o.target.value)return;let{ctrlKey:a,metaKey:n,shiftKey:i}=o;if(a||n||i)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])}function Pe(e){let t=_react.useMemo.call(void 0, ()=>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"};var{useLocalizer:di}=_botframeworkwebchatcomponent.hooks,Zt=_react.memo.call(void 0, ()=>{let[e,t]=H(),o=di(),a=_react.useCallback.call(void 0, ()=>t(n=>!n),[t]);return _react2.default.createElement(L,{"aria-label":o("TEXT_INPUT_TELEPHONE_KEYPAD_BUTTON_ALT"),"data-testid":g.sendBoxTelephoneKeypadToolbarButton,onClick:a,selected:e},_react2.default.createElement(be,null))});Zt.displayName="SendBox.TelephoneKeypadToolbarButton";var $t=Zt;var Yt={"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:gi}=_botframeworkwebchatapi.hooks,qt=_react.forwardRef.call(void 0, (e,t)=>{var p;let[o]=gi(),a=s(Yt),n=_react.useRef.call(void 0, !1),i=o==="disabled",l=_react.useCallback.call(void 0, ()=>{n.current=!1},[n]),r=_react.useCallback.call(void 0, ()=>{n.current=!0},[n]),h=_react.useCallback.call(void 0, c=>{var d,b;!c.shiftKey&&c.key==="Enter"&&!n.current&&(c.preventDefault(),"form"in c.target&&c.target.form instanceof HTMLFormElement&&((b=(d=c.target)==null?void 0:d.form)==null||b.requestSubmit()))},[]);return _react2.default.createElement("div",{className:_classnames2.default.call(void 0, 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"?_react2.default.createElement("div",{className:_classnames2.default.call(void 0, a["sendbox__text-area-doppelganger"],a["sendbox__text-area-shared"])}," "):_react2.default.createElement(_react.Fragment,null,_react2.default.createElement("div",{className:_classnames2.default.call(void 0, a["sendbox__text-area-doppelganger"],a["sendbox__text-area-shared"])},e.completion?e.completion:e.value||e.placeholder," "),_react2.default.createElement("textarea",{"aria-disabled":i,"aria-label":e["aria-label"],className:_classnames2.default.call(void 0, a["sendbox__text-area-input"],a["sendbox__text-area-shared"]),"data-testid":e["data-testid"],onCompositionEnd:l,onCompositionStart:r,onInput:e.onInput,onKeyDown:h,placeholder:e.placeholder,readOnly:i,ref:t,rows:(p=e.startRows)!=null?p:1,tabIndex:e.hidden?-1:void 0,value:e.value})))});qt.displayName="TextArea";var Jt=qt;var{useFocus:_i,useLocalizer:yi,useMakeThumbnail:xi,useRegisterFocusSendBox:ki,useSendBoxAttachments:Ni,useSendBoxValue:Si,useSendMessage:Ti,useStyleOptions:Bi,useUIState:Ci}=_botframeworkwebchatcomponent.hooks;function to(e){var Ye;let[{hideTelephoneKeypadButton:t,hideUploadButton:o,maxMessageLength:a}]=Bi(),[n,i]=Ni(),[l,r]=Si(),[h,p]=_react.useState.call(void 0, ""),[c]=H(),[d]=Ci(),b=s(De),m=M(De),v=Pe("sendbox__error-message-id"),f=_react.useRef.call(void 0, null),y=yi(),B=xi(),C=Ti(),S=_i(),F=e.isPrimary?l:h,z=e.isPrimary?r:p,u=d==="blueprint",[Xe,Ue]=jt({message:F,attachments:n}),O=!!a&&F.length>a,wo=!u&&!c&&a&&isFinite(a),je=!u&&c;ki(_react.useCallback.call(void 0, ({noKeyboard:x,waitUntil:Z})=>{var V;f.current&&(x?Z((async()=>{var qe,Je,Qe,et,tt;let W=(qe=f.current)==null?void 0:qe.getAttribute("readonly");(Je=f.current)==null||Je.setAttribute("readonly","true"),await new Promise(So=>setTimeout(So,0)),(Qe=f.current)==null||Qe.focus(),typeof W!="string"?(et=f.current)==null||et.removeAttribute("readonly"):(tt=f.current)==null||tt.setAttribute("readonly",W)})()):(V=f.current)==null||V.focus())},[f]));let Ge=_usereffrom.useRefFrom.call(void 0, n),Ze=_usereffrom.useRefFrom.call(void 0, F),vo=_react.useCallback.call(void 0, x=>{"tabIndex"in x.target&&typeof x.target.tabIndex=="number"&&x.target.tabIndex>=0||S("sendBox")},[S]),_o=_react.useCallback.call(void 0, x=>z(x.currentTarget.value),[z]),$e=_react.useCallback.call(void 0, async x=>{let Z=Object.freeze(await Promise.all(x.map(V=>B(V).then(W=>Object.freeze({blob:V,...W&&{thumbnailURL:W}})))));i(Z)},[B,i]),yo=_react.useCallback.call(void 0, x=>{x.preventDefault(),Ue()!=="empty"&&!O&&(C(Ze.current,void 0,{attachments:Ge.current}),z(""),i([])),S("sendBox")},[Ue,O,S,C,z,Ze,Ge,i]),xo=_react.useCallback.call(void 0, x=>C(`/DTMFKey ${x}`),[C]),ko=Ee(),No={"aria-invalid":"false",...Xe&&{"aria-describedby":v,"aria-errormessage":v,"aria-invalid":"true"}};return _react2.default.createElement("form",{...No,className:_classnames2.default.call(void 0, b.sendbox,m,e.className),"data-testid":g.sendBoxContainer,onSubmit:yo},_react2.default.createElement(Se,null),_react2.default.createElement("div",{className:_classnames2.default.call(void 0, b.sendbox__sendbox),onClickCapture:vo,onKeyDown:ko},_react2.default.createElement(Jt,{"aria-label":y(O?"TEXT_INPUT_LENGTH_EXCEEDED_ALT":"TEXT_INPUT_ALT"),className:_classnames2.default.call(void 0, b["sendbox__sendbox-text"],b["sendbox__text-area--in-grid"]),completion:e.completion,"data-testid":g.sendBoxTextBox,hidden:je,onInput:_o,placeholder:(Ye=e.placeholder)!=null?Ye:y("TEXT_INPUT_PLACEHOLDER"),ref:f,value:F}),_react2.default.createElement(Me,{autoFocus:!0,className:b["sendbox__telephone-keypad--in-grid"],isHorizontal:!1,onButtonClick:xo}),_react2.default.createElement(Ot,{attachments:n,className:b["sendbox__attachment--in-grid"]}),_react2.default.createElement("div",{className:_classnames2.default.call(void 0, b["sendbox__sendbox-controls"],b["sendbox__sendbox-controls--in-grid"])},wo&&_react2.default.createElement("div",{className:_classnames2.default.call(void 0, b["sendbox__text-counter"],{[b["sendbox__text-counter--error"]]:O})},`${F.length}/${a}`),_react2.default.createElement(Ae,null,!t&&_react2.default.createElement($t,null),!o&&_react2.default.createElement(It,{onFilesAdded:$e}),_react2.default.createElement(Le,null),_react2.default.createElement(L,{"aria-label":y("TEXT_INPUT_SEND_BUTTON_ALT"),"data-testid":g.sendBoxSendButton,disabled:O||je,type:"submit"},_react2.default.createElement(de,null)))),_react2.default.createElement(me,{onFilesAdded:$e}),_react2.default.createElement(Xt,{error:Xe,id:v})))}var oe=_react.memo.call(void 0, e=>_react2.default.createElement(to,{...e,isPrimary:!0}));oe.displayName="PrimarySendBox";var oo=_react.memo.call(void 0, to);var _decorator = require('botframework-webchat-api/decorator');var _decorator3 = require('botframework-webchat-component/decorator');var Hi={urlStateMap:{get(){throw new Error("urlMap cannot be used outside of <AssetComposerContext>.")}}},ao=_react.createContext.call(void 0, Object.create({},Hi));ao.displayName="AssetComposerContext";var ae=ao;function Re(){return _react.useContext.call(void 0, 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:Ii,useShouldReduceMotion:Ri}=_botframeworkwebchatcomponent.hooks,ro=({className:e})=>{let[t]=Ri(),[o]=Oe("sliding dots"),a=Ii(),n=_react.useRef.call(void 0, null),i=a("TYPING_INDICATOR_ALT"),l=_usereffrom.useRefFrom.call(void 0, t),r=_react.useCallback.call(void 0, ()=>{var m;let c=(m=n.current)==null?void 0:m.contentDocument,d=c==null?void 0:c.documentElement,{SVGSVGElement:b}=(c==null?void 0:c.defaultView)||{};b&&d instanceof b&&d.pauseAnimations()},[n]),h=_react.useCallback.call(void 0, ()=>{var m;let c=(m=n.current)==null?void 0:m.contentDocument,d=c==null?void 0:c.documentElement,{SVGSVGElement:b}=(c==null?void 0:c.defaultView)||{};b&&d instanceof b&&d.unpauseAnimations()},[n]),p=_react.useCallback.call(void 0, ()=>l.current?r():h(),[r,l,h]);return _react.useEffect.call(void 0, p,[p,t]),_react2.default.createElement("object",{"aria-label":i,className:e,data:o.href,onLoad:p,ref:n,type:"image/svg+xml"})};ro.displayName="SlidingDots";var re=_react.memo.call(void 0, ro);var no={"activity-loader":"se","variant-fluent":"ue"};function Xi({children:e}){let t=s(no),o=M(t);return _react2.default.createElement(_react.Fragment,null,e,_react2.default.createElement(re,{className:_classnames2.default.call(void 0, t["activity-loader"],o)}))}var co=_react.memo.call(void 0, Xi);var Zi='<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>',so=_react.memo.call(void 0, ({children:e})=>{let t=_react.useMemo.call(void 0, ()=>URL.createObjectURL(new Blob([Zi],{type:"image/svg+xml"})),[]);_react.useEffect.call(void 0, ()=>()=>URL.revokeObjectURL(t),[t]);let o=_react.useMemo.call(void 0, ()=>Object.freeze({urlStateMap:new Map([["sliding dots",Object.freeze([new URL(t)])]])}),[t]);return _react2.default.createElement(ae.Provider,{value:o},e)});so.displayName="AssetComposer";var bo=so;function ne(e){return!!(e&&e.from.role==="channel"&&e.type==="message"&&"text"in e)}var uo={"liner-message-activity":"we","liner-message-activity__text":"ge"};var po=({activity:e})=>{let t=s(uo);return _react2.default.createElement("div",{className:t["liner-message-activity"],role:"separator"},_react2.default.createElement("span",{className:t["liner-message-activity__text"]},e.text))};po.displayName="LinerMessageActivity";var We=_react.memo.call(void 0, po);var Ke={theme:"_","variant-copilot":"ea"};var ec="webchat-fluent";function ie(e){let t=s(Ke),o=M(Ke);return _react2.default.createElement("div",{className:_classnames2.default.call(void 0, ec,t.theme,o)},e.children)}var mo={"sliding-dots-typing-indicator":"ve","sliding-dots-typing-indicator__image":"pe"};function nc(){let e=s(mo);return _react2.default.createElement("div",{className:e["sliding-dots-typing-indicator"],"data-testid":_botframeworkwebchatcomponent.testIds.typingIndicator},_react2.default.createElement(re,{className:_classnames2.default.call(void 0, e["sliding-dots-typing-indicator__image"])}))}var fo=_react.memo.call(void 0, nc);var{ThemeProvider:dc}=_botframeworkwebchatcomponent.Components,bc=Object.freeze([()=>e=>(...t)=>{var n;let o=(n=t[0])==null?void 0:n.activity;if(E(o))return()=>_react2.default.createElement(_e,{activity:o});if(ne(o))return()=>_react2.default.createElement(We,{activity:o});let a=e(...t);return a&&((...i)=>_react2.default.createElement(ve,{activity:o},a(...i)))}]),uc=[()=>()=>()=>oe],hc=Object.freeze([e=>e==="activity border"&&(t=>o=>o.livestreamingState==="preparing"?co:t(o))]),pc=ue(),mc=Object.freeze({feedbackActionsPlacement:"activity-actions"}),gc=Object.freeze([()=>e=>(...t)=>t[0].visible?_react2.default.createElement(fo,null):e(...t)]);function fc({children:e,variant:t="fluent"}){return _react2.default.createElement(at,{variant:t},_react2.default.createElement(ie,null,_react2.default.createElement(Te,null,_react2.default.createElement(dc,{activityMiddleware:bc,sendBoxMiddleware:uc,styleOptions:mc,styles:pc,typingIndicatorMiddleware:gc},_react2.default.createElement(bo,null,_react2.default.createElement(_decorator3.WebChatDecorator,null,_react2.default.createElement(_decorator.DecoratorComposer,{middleware:hc},e)))))))}var wc=_react.memo.call(void 0, fc);var _c="tsup",yc="commonjs",xc="4.18.1-main.20250505.488ce72",Ih= exports.buildInfo ={buildTool:_c,moduleFormat:yc,version:xc};_injectmetatag.injectMetaTag.call(void 0, "botframework-webchat:fluent-theme","version=4.18.1-main.20250505.488ce72; build-tool=tsup; module-format=commonjs");exports.FluentSendBox = oo; exports.FluentThemeProvider = wc; exports.buildInfo = Ih; exports.testIds = g;
|
|
2
2
|
/*! For license information please see botframework-webchat-fluent-theme.js.LEGAL.txt */
|
|
3
3
|
//# sourceMappingURL=botframework-webchat-fluent-theme.js.map
|