"use strict";(self.webpackChunkvt_ui_main=self.webpackChunkvt_ui_main||[]).push([[69855,16757,46385],{4356:(e,t,n)=>{var r=n(48704),s=n(16645),i=n(3e3);let o,a=e=>e;var l=function(e,t,n,r){var s,i=arguments.length,o=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(i<3?s(o):i>3?s(t,n,o):s(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};let d=class extends r.LitElement{constructor(){super(...arguments),this.opened=!1,this.noCloseOnTap=!1,this.animating=!1}static get styles(){return(0,r.unsafeCSS)(i.A)}render(){return(0,r.html)(o||(o=a`
`),this.opened,this._taphandle,this.animating)}open(){this.animating=!0,setTimeout((()=>{this.opened=!0,this.animating=!1}),0)}close(){this.animating=!0,this.opened=!1,setTimeout((()=>{this.animating=!1}),200)}toggle(){this.opened?this.close():this.open()}_taphandle(){this.noCloseOnTap||this.close()}};l([(0,s.property)({type:Boolean})],d.prototype,"opened",void 0),l([(0,s.property)({type:Boolean,attribute:"no-close-on-tap"})],d.prototype,"noCloseOnTap",void 0),l([(0,s.property)({type:Boolean})],d.prototype,"animating",void 0),d=l([(0,s.customElement)("vt-ui-overlay-backdrop")],d)},95960:(e,t,n)=>{n.d(t,{M:()=>c});var r=n(48704),s=n(16645),i=n(48676);let o,a,l=e=>e;var d=function(e,t,n,r){var s,i=arguments.length,o=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(i<3?s(o):i>3?s(t,n,o):s(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};let c=(o=class extends r.LitElement{constructor(){super(...arguments),this.duration=5e3,this.opened=!1,this.loading=!1}static get styles(){return(0,r.unsafeCSS)(i.A)}connectedCallback(){super.connectedCallback(),this.addEventListener("mouseover",this.keepToastVisible)}disconnectedCallback(){this.removeEventListener("mouseover",this.keepToastVisible),super.disconnectedCallback()}render(){return(0,r.html)(a||(a=l` `))}updated(e){e.has("opened")&&this.openedObserver(this.opened)}open(){this.opened=!0}close(){this.opened=!1}toggle(){this.opened=!this.opened}keepToastVisible(){this.timeoutRef&&(clearTimeout(this.timeoutRef),this.timeoutRef=void 0)}openedObserver(e){e&&(this.style.left=`calc(50% - ${this.offsetWidth/2}px)`),this.timeoutRef&&clearTimeout(this.timeoutRef),e?(this.classList.add("vt-ui-toast-open"),this.timeoutRef=window.setTimeout((()=>{this.opened=!1}),this.duration)):this.classList.remove("vt-ui-toast-open")}},o.MAX_DELAY=Math.pow(2,31)-1,o);d([(0,s.property)({type:Number})],c.prototype,"duration",void 0),d([(0,s.property)({type:Boolean})],c.prototype,"opened",void 0),d([(0,s.property)({type:Boolean})],c.prototype,"loading",void 0),c=d([(0,s.customElement)("vt-ui-toast")],c)},32362:(e,t,n)=>{n.r(t),n.d(t,{commentIcon:()=>r});const r=n(15323).messageIcon},99324:(e,t,n)=>{n.r(t),n.d(t,{virusTotalSandboxIcon:()=>s});let r;const s=(0,n(48704).svg)(r||(r=(e=>e)`
`));t.default=s},68967:(e,t,n)=>{n.r(t);n(9891),n(66748);var r=n(22894),s=n(56870),i=n(48704),o=n(16645),a=n(85200),l=n(45241),d=n(95688),c=n(44052),p=n(71012),u=n(79984),h=n(46607);let g,m,v,b,f,y,k,x,w=e=>e;var I=function(e,t,n,r){var s,i=arguments.length,o=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(i<3?s(o):i>3?s(t,n,o):s(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};let P=class extends p.D{static get styles(){return(0,i.unsafeCSS)(h.A)}connectedCallback(){super.connectedCallback(),this.colorMode=localStorage.getItem("colorMode")||"dark",setTimeout((()=>{this.renderRoot.querySelectorAll("a.child").forEach((e=>{e.addEventListener("click",this._launchClickedEvent)}))}),100)}disconnectedCallback(){this.renderRoot.querySelectorAll("a").forEach((e=>{e.removeEventListener("click",this._launchClickedEvent)})),super.disconnectedCallback()}renderMenuItem(e){if(!this._small||!e.hideInMobile)return e.link?(0,i.html)(g||(g=w` `),(0,a.ifDefined)(e.link),e.icon,e.label):e.children?(0,i.html)(m||(m=w` ${0} `),(e=>{e.preventDefault(),e.stopPropagation()}),e.icon,e.label,e.children.map((e=>(0,i.html)(v||(v=w` `),(0,a.ifDefined)(e.link),e.icon,e.label)))):void 0}render(){var e;return(0,i.html)(b||(b=w` ${0} `),this._loggedIn?(0,i.html)(f||(f=w` ${0}
`),(()=>d.Z8.redirect("user",this.user.id)),this.user.id,this._fullName,this.user.id,!l.KK.evaluateArg(this.menuData),this.menuData.map((e=>this.renderMenuItem(e))),null!==(e=c.NU.currentUser)&&void 0!==e&&e.gtiAccess?i.nothing:this.renderThemeSelector(),this._getProfileLink(this.profileLink,this.user.id),this._getSettingsLink(this.settingsLink),!!this.intelligenceAccess,this._signOutClicked):(0,i.html)(y||(y=w` Log in to your account
Sign in `),this.signInViewRedirect,d.Z8.getRedirectUrl("joinUs"),d.Z8.getRedirectUrl("forgotPassword"),d.Z8.getRedirectUrl("documentation")))}constructor(){super(),this.intelligenceAccess=!1,this.menuData=[],this.colorMode="dark",this._loggedIn=!1,this.menuData=this.processMenuDataPermissions(u.K)}processMenuDataPermissions(e){return[...e.map((e=>(e.disabled?e.children=void 0:e.children&&(e.children=[...e.children.filter((e=>!e.disabled))]),e))).filter((e=>!e.disabled))]}updated(e){e.has("colorMode")&&this.dispatchEvent(new CustomEvent("change-color-mode",{detail:this.colorMode,bubbles:!0,composed:!0})),this._fullName=this._computeFullName(this.user),this._loggedIn=this._computeLoggedIn(this.user)}_launchClickedEvent(){this.dispatchEvent(new CustomEvent("menu-link-clicked"))}_computeLoggedIn(e){return!(null==e||!e.id)}_computeFullName(e){if(!l.KK.evaluateArg(e))return;return`${e.firstName} ${e.lastName}`||e.id}_getProfileLink(e,t){return e||d.Z8.getRedirectUrl(`user/${t}`)}_getSettingsLink(e){return e||d.Z8.getRedirectUrl("settings")}_signOutClicked(){this.dispatchEvent(new CustomEvent("sign-out-clicked"))}_isActive(e,t,n){return!(!e||!t||!n&&0!==n)&&e[n].link===t.link}signInViewRedirect(){this._launchClickedEvent(),d.Z8.redirect("signIn",void 0)}renderThemeSelector(){return"light"==this.colorMode?(0,i.html)(k||(k=w` `),(()=>{this.setTheme("dark")})):(0,i.html)(x||(x=w` `),(()=>{this.setTheme("light")}))}setTheme(e){this.colorMode=e,r.h4.collector.collect(s.JU.MAIN_MENU,s._B.SELECT_COLOR_MODE,e)}};I([(0,o.property)({type:Boolean})],P.prototype,"intelligenceAccess",void 0),I([(0,o.property)({type:Array})],P.prototype,"menuData",void 0),I([(0,o.property)({type:Number})],P.prototype,"activeIndex",void 0),I([(0,o.property)({type:String})],P.prototype,"settingsLink",void 0),I([(0,o.property)({type:String})],P.prototype,"profileLink",void 0),I([(0,o.state)()],P.prototype,"colorMode",void 0),I([(0,o.state)()],P.prototype,"_fullName",void 0),I([(0,o.state)()],P.prototype,"_loggedIn",void 0),P=I([(0,o.customElement)("vt-app-drawer-menu")],P);var R=n(6131),C=n(32362),A=n(99324),S=n(43372);let $,E,O=e=>e;var F=function(e,t,n,r){var s,i=arguments.length,o=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(i<3?s(o):i>3?s(t,n,o):s(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};let U=class extends p.D{static get styles(){return(0,i.unsafeCSS)(S.A)}constructor(){super(),this.opened=!1,this.links=[{label:"I have a feed of new files that I can upload, I want free API quota to do so",href:d.Z8.getRedirectUrl("contactUs","other"),target:"_blank"},{label:"Chat with technical support",href:d.Z8.getRedirectUrl("contactUs","technical-support"),target:"_blank",cssClass:"bg-primary-alt"},{label:"Technical documentation",href:d.Z8.getRedirectUrl("documentation"),target:"_blank"},{label:"Learn about premium services",href:d.Z8.getRedirectUrl("servicesOverview")},{label:"Chat with sales",href:d.Z8.getRedirectUrl("contactUs","premium-services"),target:"_blank",cssClass:"bg-primary-alt"}]}close(){this.trackEvent("close"),this.opened=!1}open(){this.trackEvent("open"),this.opened=!0}trackEvent(e){l.KK.sendAnalyticsEvent("vt bot",`bot: ${e}`)}render(){var e;return(0,i.html)($||($=O` ${0} Hi there
Welcome. How can I help you?
${0}
${0} `),this.close,R.closeIcon,A.virusTotalSandboxIcon,null===(e=this.links)||void 0===e?void 0:e.map((e=>(0,i.html)(E||(E=O` `),e.cssClass||"",e.href,(0,a.ifDefined)(e.target),this.close,e.label))),this.open,C.commentIcon)}};F([(0,o.property)({type:Boolean,reflect:!0})],U.prototype,"opened",void 0),F([(0,o.property)({type:Array})],U.prototype,"links",void 0),U=F([(0,o.customElement)("vt-ui-contact-fab")],U);var _=n(47123),j=n(45356),D=n(81258);class L{process(e,t){var n,r;switch(t.cmd){case"search":(null===(n=t.args)||void 0===n?void 0:n.length)>0&&d.Z8.redirect("search",d.Z8.urlDoubleEncode(t.args[0]));break;case"send-event":(null===(r=t.args)||void 0===r?void 0:r.length)>0&&(e.sendRequest("event",t.args[0]),setTimeout((()=>{e.botWriting=!0}),100))}}}let T,M=e=>e;var B,N=function(e,t,n,r){var s,i=arguments.length,o=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(i<3?s(o):i>3?s(t,n,o):s(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};let q=B=class extends i.LitElement{static setProgress(e){B.currentProgressElement&&(B.currentProgressElement.progressPercent=e)}constructor(){super(),this.progressPercent=0,B.currentProgressElement=this}render(){return(0,i.html)(T||(T=M` `),`Uploading: ${this.progressPercent}%`)}};N([(0,o.property)({type:Number})],q.prototype,"progressPercent",void 0),q=B=N([(0,o.customElement)("vt-ui-bot-progress")],q);var z=n(96016);let Z,Q,W,H,K=e=>e;function Y(e,t,n,r,s,i,o){try{var a=e[i](o),l=a.value}catch(e){return void n(e)}a.done?t(l):Promise.resolve(l).then(r,s)}function V(e){return function(){var t=this,n=arguments;return new Promise((function(r,s){var i=e.apply(t,n);function o(e){Y(i,r,s,o,a,"next",e)}function a(e){Y(i,r,s,o,a,"throw",e)}o(void 0)}))}}function G(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return J(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?J(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,s=function(){};return{s,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){a=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(a)throw i}}}}function J(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=0;a--)(s=e[a])&&(o=(i<3?s(o):i>3?s(t,n,o):s(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};let se=(Z=class extends p.D{constructor(){super(...arguments),this.enableFeedback=!1,this.isInternalUser=!1,this.isMessengerReady=!1,this.isAnalysisEnabled=c.NU.isStaff,this.isRenderingFileFullReportButtonRequested=!1,this.isGeneratingFileAnalysisSummaryRequested=!1,this.analysis=null,this.skipFirstChatOpenChangeEvent=!0,this.firstSessionInitialized=!1,this.cmdExecutor=new L,this.currentQueryParams={},this.initialIntent="vt.welcome"}static get styles(){return(0,i.unsafeCSS)(z.A)}updated(e){super.updated(e),["viewName","isMessengerReady"].some((t=>e.has(t)))&&this.viewName&&this.isMessengerReady&&this.updateMetadata()}get activeAgentId(){return this.isInternalUser?"8a340c16-f47f-47b4-97da-53ae8cc44c80":this.agentId}updateMetadata(){const e=l.KK.getPageTitle(),t={isLoggedIn:this.isLoggedIn,hasIntelligenceLicense:!!this.vtiAccess,viewName:this.viewName,pageTitle:document.title.replace(`${e} - `,"")};this.messenger.setContext(t),this.currentQueryParams=ee(ee({},t),{},{isInternalUser:this.isInternalUser,pageRoute:document.location.pathname.replace(/\/gui(-[a-z]+)?\//,"")}),this.isInternalUser&&this.userId&&(this.currentQueryParams.userId=this.userId),this.messenger.setQueryParameters({parameters:this.currentQueryParams})}onButtonClick(e){e.detail.event===ne.FileUploadEvent&&(e.preventDefault(),this.onFileOpen()),this.trackEvent("link-clicked")}onCitationClick(e){this.trackEvent("citation-clicked")}onChatOpenChange(e){e.detail.isOpen&&!this.firstSessionInitialized&&(this.resetSession(),this.firstSessionInitialized=!0),this.skipFirstChatOpenChangeEvent?this.skipFirstChatOpenChangeEvent=!1:this.trackEvent(e.detail.isOpen?"open":"close")}onInfoCardClick(e){e.detail.actionLink.includes("#:~:text=")&&this.trackEvent("reference-clicked")}onChipClicked(e){this.trackEvent("chip-clicked")}onResponseReceived(e){if(e.detail.raw.queryResult.responseMessages){var t,n=G(e.detail.raw.queryResult.responseMessages);try{for(n.s();!(t=n.n()).done;){var r;const e=null===(r=t.value.payload)||void 0===r?void 0:r.vt;e&&(e.exec&&this.cmdExecutor.process(this.messenger,e.exec))}}catch(e){n.e(e)}finally{n.f()}}}onUserInputEntered(e){var t=this;const n=e.detail.input.trim();let r=null;r=D.PN.isUrlQuery(n)?"URL":D.PN.isDomain(n)?"domain":D.PN.isIp(n)?"IP":D.PN.isSingleFile(n)?"file":null,r&&(e.preventDefault(),this.messenger.renderCustomText(n,!1),this.bubble.setInput(""),this.execWithQueryParams({"vt-entity-id":n.trim(),"vt-entity-kind":r},V((function*(){t.messenger.sendRequest("event","vt.entity_search")}))))}onMessengerLoaded(){this.isMessengerReady=!0}onResetSession(e){this.resetSession(),e.preventDefault()}trackEvent(e){window.dataLayer.push({event:"bot",action:e,metadata:{}})}render(){return(0,i.html)(Q||(Q=K` ${0} ${0} `),this.renderHiddenInputButton(),this.activeAgentId,this.enableFeedback?"all":"",this.onButtonClick,this.onCitationClick,this.onResponseReceived,this.onMessengerLoaded,this.onChatOpenChange,this.onInfoCardClick,this.onChipClicked,this.onUserInputEntered,this.renderUploadFileButton(),this.onResetSession)}resetSession(){this.clearAnalysis(),this.messenger.startNewSession(),this.updateMetadata(),this.messenger.sendRequest("event",this.initialIntent)}execWithQueryParams(e,t){var n=this;return V((function*(){n.messenger.setQueryParameters({parameters:ee(ee({},n.currentQueryParams),e)});try{yield t()}catch(e){console.error(e)}finally{n.messenger.setQueryParameters({parameters:n.currentQueryParams})}}))()}renderHiddenInputButton(){return this.isAnalysisEnabled?(0,i.html)(W||(W=K` `),this.onFileSelected):i.nothing}renderUploadFileButton(){return this.isAnalysisEnabled?(0,i.html)(H||(H=K` upload `),this.onFileOpen):i.nothing}onFileOpen(){this.fileInput.value="",this.fileInput.click()}onFileSelected(e){e.preventDefault();const t=e.target;if(!t.files)return;const n=t.files[0];this.processSelectedFile(n)}processSelectedFile(e){this.informFileIsBeingUploaded(),this.createPrivateAnalysis(e).then((e=>{this.analysis=e,this.informFileHasBeenUploaded(),this.startPollingAnalysis()})).catch((()=>{this.informUploadFileProblemInChat(),this.clearAnalysis()}))}createPrivateAnalysis(e){const t=new FormData;return t.append("file",e),_.zd.upload(t,(e=>{let t=e.progress;this.showProgress(t)})).then((e=>new j.PrivateAnalysisEntity(e.id)))}getFileAnalysisSummary(){var e;const t=null===(e=this.analysis)||void 0===e||null===(e=e.relationships)||void 0===e||null===(e=e.item)||void 0===e?void 0:e.id;return t?new _.zd(t).getFileAnalysisSummary():Promise.reject("Item Id is not loaded")}informFileIsBeingUploaded(){this.messenger.renderCustomCard([{type:"custom_template",name:"vt-ui-bot-progress"}]),this.messenger.botWriting=!0}runStartAnalysisFlow(e){var t=this;return V((function*(){e&&(t.isRenderingFileFullReportButtonRequested=!0,yield t.execWithQueryParams({"vt-file-analysis-id":null==e?void 0:e.id},V((function*(){yield t.messenger.sendRequest("event",ne.StartAnalysisEvent)}))),t.messenger.botWriting=!0)}))()}informUploadFileProblemInChat(){this.messenger.renderCustomText("There was a problem uploading your file. Please try again",!0),this.messenger.botWriting=!1}clearAnalysis(){var e,t;this.messenger.botWriting=!1,this.isRenderingFileFullReportButtonRequested=!1,this.isGeneratingFileAnalysisSummaryRequested=!1,null===(e=this.analysis)||void 0===e||e.stopPolling(),null===(t=this.analysis)||void 0===t||t.unsubscribe(0),this.analysis=null}handleAnalysisUpdate(){const e=this.analysis;null!=e&&e.isBasicInfoAvailable&&!this.isRenderingFileFullReportButtonRequested&&this.runStartAnalysisFlow(e),!this.isGeneratingFileAnalysisSummaryRequested&&null!=e&&e.staticAnalysisCompleted&&(this.isGeneratingFileAnalysisSummaryRequested=!0,this.getFileAnalysisSummary().then((e=>this.messenger.renderCustomText(e,!0))).catch((()=>this.messenger.renderCustomText("There was an error generating your file analysis. Please try again.",!0))).finally((()=>this.clearAnalysis())))}startPollingAnalysis(){var e,t;null===(e=this.analysis)||void 0===e||e.subscribe((()=>this.handleAnalysisUpdate())),null===(t=this.analysis)||void 0===t||t.reloadByPolling(4e3)}informFileHasBeenUploaded(){this.messenger.botWriting=!0,this.messenger.renderCustomText("Your file has been uploaded. We are analyzing it. Please wait...",!0)}showProgress(e){q.setProgress(e)}},Z.StartAnalysisEvent="vt.file-analyze.start-file-analysis",Z.FileUploadEvent="vt.file_upload",ne=Z);re([(0,o.property)()],se.prototype,"agentId",void 0),re([(0,o.property)({type:Boolean})],se.prototype,"enableFeedback",void 0),re([(0,o.property)({type:Boolean})],se.prototype,"isInternalUser",void 0),re([(0,o.property)({type:String})],se.prototype,"userId",void 0),re([(0,o.property)({type:String})],se.prototype,"viewName",void 0),re([(0,o.state)()],se.prototype,"isMessengerReady",void 0),re([(0,o.query)("df-messenger")],se.prototype,"messenger",void 0),re([(0,o.query)("df-messenger-chat-bubble")],se.prototype,"bubble",void 0),re([(0,o.state)()],se.prototype,"isAnalysisEnabled",void 0),re([(0,o.query)("#fileInput")],se.prototype,"fileInput",void 0),se=ne=re([(0,o.customElement)("vt-ui-bot")],se);n(4356);var ie=n(9740);let oe,ae=e=>e;var le=function(e,t,n,r){var s,i=arguments.length,o=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(i<3?s(o):i>3?s(t,n,o):s(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};let de=class extends i.LitElement{constructor(){super(...arguments),this.opened=!1}static get styles(){return(0,i.unsafeCSS)(ie.A)}render(){return(0,i.html)(oe||(oe=ae`
`),this.close)}updated(e){e.has("opened")&&this.openedObserver(this.opened)}open(){this.opened=!0}close(){this.opened=!1}openedObserver(e){e?(this.backdrop.open(),setTimeout((()=>{this.drawer.classList.add("opened")}))):(this.drawer.classList.remove("opened"),setTimeout((()=>{this.backdrop.close()}),600))}};le([(0,o.query)("#drawer")],de.prototype,"drawer",void 0),le([(0,o.query)("#backdrop")],de.prototype,"backdrop",void 0),le([(0,o.property)({type:Boolean})],de.prototype,"opened",void 0),de=le([(0,o.customElement)("vt-ui-drawer")],de);n(5978),n(31016),n(95960),n(51721)},46607:(e,t,n)=>{var r=n(89547),s=n.n(r),i=n(38532),o=n.n(i)()(s());o.push([e.id,":host {\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n background: var(--bs-secondary-bg);\n font-size: 14px;\n overflow-y: auto;\n}\n:host([hidden]) {\n display: none;\n}\n.user-info:not([hidden]) {\n display: flex;\n background-color: var(--bs-primary);\n padding: 40px 20px;\n color: var(--bs-body-bg);\n align-items: center;\n}\n.user-info .user-data {\n flex: 1;\n min-width: 0;\n}\n.user-info .full-name {\n font-size: 18px;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n.user-info .email {\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n}\nvt-ui-avatar {\n --vt-ui-avatar-size: 52px;\n --vt-ui-avatar-border-size: 0px;\n margin-right: 10px;\n}\n.spacer {\n flex: 1;\n border-top: 1px solid var(--bs-border-color);\n}\n.links {\n color: var(--bs-tertiary-color);\n font-weight: bold;\n border-top: 1px solid var(--bs-border-color);\n}\n.links a {\n display: flex;\n text-decoration: none;\n color: var(--bs-tertiary-color);\n padding: 10px 10px;\n}\n.links a.child {\n padding: 10px 25px;\n}\n.links a.header {\n border-top: 1px solid var(--bs-border-color);\n border-bottom: 1px solid var(--bs-border-color);\n box-sizing: border-box;\n background: var(--bs-tertiary-bg);\n}\n.links a:last-of-type {\n margin-bottom: 0;\n}\n.links.intelligence {\n flex: 1;\n}\n.intelligence span.menu-icon,\n.user-links span.menu-icon,\n.sign-out-link span.menu-icon {\n display: flex;\n align-items: center;\n margin-right: 10px;\n color: var(--bs-tertiary-color);\n fill: var(--bs-tertiary-color);\n width: 21px;\n height: 21px;\n}\n.intelligence a[active] {\n color: var(--bs-primary);\n border-left: 5px solid var(--bs-primary);\n}\n.intelligence a[active] span.menu-icon svg {\n fill: var(--bs-primary);\n}\n.sign-in-box {\n padding: 20px;\n background: var(--bs-primary);\n color: var(--bs-body-bg);\n}\n.sign-in-box p {\n text-align: center;\n margin-bottom: 20px;\n}\n.sign-in-box vt-ui-button {\n width: 100%;\n box-sizing: border-box;\n text-align: center;\n}\n.divider {\n border-top: 1px solid var(--bs-border-color);\n border-bottom: 0;\n margin: 0;\n}\n",""]),t.A=o},9740:(e,t,n)=>{var r=n(89547),s=n.n(r),i=n(38532),o=n.n(i)()(s());o.push([e.id,":host {\n width: 100%;\n display: block;\n}\n:host vt-ui-overlay-backdrop {\n --vt-ui-overlay-backdrop-padding: 0px, 100px, 0px, 0px;\n --vt-ui-overlay-backdrop-opacity: 1;\n --vt-ui-overlay-backdrop-background-color: rgba(0, 0, 0, 0.8);\n}\n#drawer {\n width: 300px;\n display: block;\n height: 100%;\n /* 0 width - change this with JavaScript */\n position: fixed;\n /* Stay in place */\n z-index: 103;\n /* Stay on top */\n top: 0;\n /* Stay at the top */\n left: 0;\n /* Black*/\n overflow-x: hidden;\n /* Disable horizontal scroll */\n /* Place content 60px from the top */\n transition: transform 0.5s;\n transform: translateX(-300px);\n /* 0.5 second transition effect to slide in the sidenav */\n}\n#drawer.opened {\n display: block;\n transform: translateX(0px);\n}\n",""]),t.A=o},3e3:(e,t,n)=>{var r=n(89547),s=n.n(r),i=n(38532),o=n.n(i)()(s());o.push([e.id,"#overlay {\n will-change: opacity;\n position: fixed;\n /* Hidden by default */\n display: none;\n opacity: 0;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background-color: var(--vt-ui-overlay-backdrop-background-color, #000);\n z-index: 102;\n /* Specify a stack order in case you're using a different order for other elements */\n cursor: pointer;\n padding: var(--vt-ui-overlay-backdrop-padding, 100px 100px);\n transition: opacity 0.2s ease-in-out;\n}\n#overlay[animating] {\n display: block;\n opacity: 0;\n}\n#overlay[opened] {\n display: block;\n overflow: auto;\n opacity: var(--vt-ui-overlay-backdrop-opacity, 0.4);\n}\n",""]),t.A=o},48676:(e,t,n)=>{var r=n(89547),s=n.n(r),i=n(38532),o=n.n(i)()(s());o.push([e.id,":host {\n --vt-ui-toast-background-color: var(--bs-body-color);\n --vt-ui-toast-color: var(--bs-body-bg);\n display: block;\n position: fixed;\n background-color: var(--vt-ui-toast-background-color);\n color: var(--vt-ui-toast-color);\n min-height: 48px;\n min-width: 288px;\n padding: 16px 24px;\n box-sizing: border-box;\n box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);\n border-radius: 2px;\n font-size: 14px;\n cursor: default;\n -webkit-transition: -webkit-transform 0.3s, opacity 0.3s;\n transition: transform 0.3s, opacity 0.3s;\n opacity: 0;\n -webkit-transform: translateY(-100px);\n transform: translateY(-100px);\n top: 50px;\n z-index: 100000;\n}\n:host(.vt-ui-toast-open) {\n opacity: 1;\n -webkit-transform: translateY(0px);\n transform: translateY(0px);\n}\n",""]),t.A=o},96016:(e,t,n)=>{var r=n(89547),s=n.n(r),i=n(38532),o=n.n(i),a=n(88869),l=o()(s());l.i(a.A),l.push([e.id,":host{display:inline-block;--df-messenger-chat-window-width: 480px;--df-messenger-chat-window-height: 560px;--df-messenger-chat-window-box-shadow: 0 0.5rem 1rem #00000026;--df-messenger-default-link-font-color: var(--bs-primary);--df-messenger-default-font-color: var(--bs-body-color);--df-messenger-default-primary-color: var(--bs-primary);--df-messenger-default-secondary-font-color: var(--bs-secondary-color);--df-messenger-chat-bubble-icon-color: var(--bs-body-bg);--df-messenger-titlebar-background: var(--bs-primary);--df-messenger-titlebar-font-color: var(--bs-body-bg);--df-messenger-chat-background: var(--bs-body-bg);--df-messenger-chat-messagelist-border: 1px solid var(--bs-border-color);--df-messenger-input-border-top: 1px solid var(--bs-input-border-color);--df-messenger-input-border: 1px solid var(--bs-border-color);--df-messenger-input-background: var(--bs-body-bg);--df-messenger-input-font-color: var(--bs-body-color);--df-messenger-input-placeholder-font-color: var(--bs-tertiary-color);--df-messenger-send-icon-color-active: var(--bs-primary);--df-messenger-message-user-background: var(--bs-primary-bg-subtle);--df-messenger-message-user-font-color: var(--bs-primary-text-emphasis);--df-messenger-message-bot-background: var(--bs-primary-bg-subtle);--df-messenger-message-bot-font-color: var(--bs-primary-text-emphasis);--df-messenger-card-background: var(--bs-body-bg);--df-messenger-card-border: 1px solid var(--bs-border-color);--df-messenger-card-box-shadow: 0 0.5rem 1rem #00000026;--df-messenger-message-bot-writing-background: var(--bs-body-bg)}:host .title-button{margin:0;padding:12px;background:var(--df-messenger-titlebar-button-background, transparent);border:var(--df-messenger-titlebar-button-border, none);border-radius:var(--df-messenger-titlebar-button-border-radius, 999px);cursor:pointer;color:var(--df-messenger-titlebar-button-color, var(--df-messenger-titlebar-font-color, white));transition:background-color .3s}:host .title-button:hover{background:var(--df-messenger-titlebar-button-background-hover, rgba(200, 220, 252, 0.08));color:var(--df-messenger-titlebar-button-color-hover, var(--df-messenger-titlebar-font-color, white));transition:background-color .3s}",""]),t.A=l},43372:(e,t,n)=>{var r=n(89547),s=n.n(r),i=n(38532),o=n.n(i),a=n(88869),l=o()(s());l.i(a.A),l.push([e.id,":host{display:inline-block;animation:FadeIn .5s ease}:host(:not([opened])) .menu{display:none}.menu{width:300px;transition:all .3s ease-in-out}.menu .body{min-height:200px}:host([opened]) .chat .msg{animation:FadeIn .2s ease;animation-fill-mode:both}:host([opened]) .msg:nth-child(1){animation-delay:.2s}:host([opened]) .msg:nth-child(2){animation-delay:.4s}:host([opened]) .vt-logo{animation:FadeIn .3s ease;animation-fill-mode:both;animation-delay:.2s}.vt-logo{width:30px;height:30px}:host([opened]) .links{animation:FadeIn .3s ease;animation-fill-mode:both;animation-delay:.6s}.chat .msg{border-radius:5px 20px 20px;background-color:var(--bs-tertiary-bg)}@keyframes FadeIn{0%{opacity:0;transform:translateY(-20px)}100%{opacity:1;transform:translateY(0px)}}",""]),t.A=l}}]);
//# sourceMappingURL=vt-ui-shell-extra-deps.9672388f5abc8bb6a9e0.js.map