(window.tawkJsonp=window.tawkJsonp||[]).push([["chunk-32507910"],{3558:function(t,e,a){"use strict";var s=a("bfec").a,i=a("2877"),r=Object(i.a)(s,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("base-frame",{staticClass:"tawk-chat-view",on:{"&scroll":function(e){return t.handleScrollProcess.apply(null,arguments)}}},[a("base-header",{ref:"tawk-base-header",staticClass:"tawk-padding-remove-bottom"},[a("chat-header",{ref:"tawk-home-header",staticClass:"tawk-flex-none"})],1),a("base-body",{ref:"tawk-base-body"},[a("chat-body",{ref:"chat-body",attrs:{isLoading:t.isLoading,messageBlocks:t.messageBlocks,barMessageRerence:t.barMessageId,emojiEnabled:t.emojiEnabled},on:{imageLoaded:t.imageLoaded}}),a("transition-group",{attrs:{name:"list"}},t._l(t.agentTyping,(function(e,s){return a("div",{key:s},[a("div",{staticClass:"tawk-flex tawk-flex-middle tawk-margin-small-bottom"},[a("tawk-avatar",{staticClass:"tawk-message-profile",attrs:{size:"small",src:e,alt:""+t.$i18n("chat","agent_profile_image")}}),a("div",{staticClass:"agentTypingIndicator tawk-margin-xsmall-left"},[a("div",{staticClass:"dot tawk-agent-chat-bubble"}),a("div",{staticClass:"dot tawk-agent-chat-bubble"}),a("div",{staticClass:"dot tawk-agent-chat-bubble"})]),a("div",{staticClass:"clearfix"})],1)])})),0),a("transition-group",{attrs:{name:"list"}},t._l(t.uploadFiles,(function(e,s){return a("div",{key:"key-"+s,staticClass:"tawk-margin-xsmall-top tawk-margin-xsmall-bottom"},[e.hasError?a("div",[a("tawk-alert",{attrs:{status:"danger",icon:"error",title:t.$i18n("chat","generalUploadErrorLabel"),description:t.$i18n("chat","generalUploadError",{fileName:e.fileName})}}),a("tawk-button",{staticClass:"tawk-text-red-1 tawk-margin-auto-left tawk-button tawk-button-text tawk-text-regular-2 tawk-margin-xsmall-top",staticStyle:{display:"block"},attrs:{isText:!0},on:{click:function(a){return t.retryUpload(e)}}},[t._v(" "+t._s(t.$i18n("chat","tryAgain"))+" ")])],1):a("progress-bar",{attrs:{handle:e.handle,fileName:e.fileName,percentage:e.percentage,"aria-busy":"true","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":e.percentage}})],1)})),0),t.tooBigFileList?a("div",[a("tawk-alert",{staticClass:"tawk-margin-xsmall-top tawk-margin-xsmall-bottom",attrs:{status:"danger",icon:"error",title:t.$i18n("notifications","maximum_size_upload_warning",{limitFileSize:"50MB"}),description:t.tooBigFileList}})],1):t._e()],1),a("div",{attrs:{slot:"unseen-message-count"},slot:"unseen-message-count"},[a("transition",{attrs:{name:"slide-fade"}},[t.showNotification&&t.unreadMessageCount?a("tawk-button",{staticClass:"tawk-new-messages-notification",attrs:{size:"small"},on:{click:function(e){return t.scrollToEl(t.barMessageId)}}},[t._v(" "+t._s(t.$i18n("chat","newMessage",{num:t.unreadMessageCount}))+" "),a("tawk-icon",{attrs:{type:"down-arrow-2",size:"xsmall"}})],1):t._e()],1)],1),a("div",{attrs:{slot:"unseen-message-count"},slot:"unseen-message-count"},[a("transition",{attrs:{name:"slide-fade"}},[t.showLatest?a("tawk-button",{staticClass:"tawk-new-messages-notification",attrs:{size:"small"},on:{click:function(e){return t.scrollToBottom()}}},[t._v(" "+t._s(t.$i18n("chat","goToLatest"))+" "),a("tawk-icon",{attrs:{type:"down-arrow-2",size:"xsmall"}})],1):t._e()],1)],1)],1)}),[],!1,null,null,null);e.a=r.exports},"38d6":function(t,e,a){"use strict";a.r(e);var s=a("2f62"),i=a("7f46"),r=a("f0b0");function n(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,s)}return a}function o(t){for(var e=1;e0?a("home-header",{staticClass:"tawk-margin-bottom",attrs:{state:t.pageStatus}}):t._e(),t.hasChatStarted&&!t.agentHasMessaged&&t.showEstimatedWaitTime&&t.waitTime?a("p",{staticClass:"tawk-margin-xsmall-bottom",domProps:{innerHTML:t._s(t.$i18n("chat","messageQueuedText",{t:Math.ceil(t.waitTime/6e4),strongStart:"",strongEnd:""}))}}):t._e()]:a("chat-agents",{attrs:{profiles:t.activeProfiles,role:"button",tabindex:"0"},nativeOn:{click:function(e){return t.changeView.apply(null,arguments)}}})],2)}),[],!1,null,null,null);e.a=h.exports},5688:function(t,e,a){"use strict";var s=a("e906").a,i=a("2877"),r=Object(i.a)(s,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{ref:"adqe",class:t.wrapperClasses,style:{borderRadius:t.borderRadiusTop}},[a("div",{staticClass:"tawk-toolbar-nav",attrs:{role:"navigation","aria-label":"primary"}},[t.showBackButton?a("div",{staticClass:"tawk-route-back tawk-flex tawk-flex-middle"},[a("tawk-button",{directives:[{name:"tawk-tooltip",rawName:"v-tawk-tooltip"}],staticClass:"tawk-header-text tawk-button-hover",attrs:{isText:!0,inverse:!0,"data-text":t.$i18n("rollover","back"),"aria-label":t.$i18n("rollover","back")},on:{click:t.routerBack}},[a("tawk-icon",{attrs:{type:"left-arrow",size:"small"}})],1),t.currentView.title&&"agents"!==t.currentRoute?a("span",{staticClass:"tawk-toolbar-title tawk-text-regular-3 tawk-header-text tawk-margin-xsmall-left tawk-custom-text-color-inverse"},[t._v(" "+t._s(t.currentView.title())+" ")]):t._e()],1):t._e(),a("transition",{attrs:{name:"fade",mode:"out-in"}},[t.isAgentAvatarsVisible?a("div",{directives:[{name:"show",rawName:"v-show",value:t.toolbarOptions.showAgentAvatars,expression:"toolbarOptions.showAgentAvatars"}],staticClass:"tawk-toolbar-agent-avatars",on:{click:t.toggleAgentsList}},[t._l(t.getActiveAgents,(function(e,s){return a("tawk-avatar",{key:s,attrs:{src:t.convertToAvatarLink(e.profileImage),alt:""+t.$i18n("chat","agent_profile_image")}})})),a("transition",{attrs:{name:"fade",mode:"out-in"}},[1===t.activeProfiles.length?a("div",{staticClass:"tawk-toolbar-agent-details"},[a("p",{staticClass:"tawk-toolbar-agent-name\n\t\t\t\t\t\t\ttawk-text-truncate"},[t._v(" "+t._s(t.getActiveAgents[0].displayName)+" ")]),a("p",{staticClass:"tawk-toolbar-agent-title\n\t\t\t\t\t\t\ttawk-text-truncate"},[t._v(" "+t._s(t.getActiveAgents[0].profileTitle)+" ")])]):a("tawk-avatar",{attrs:{count:t.activeProfiles.length-1}})],1)],2):t._e()])],1),a("div",{staticClass:"tawk-margin-auto-left tawk-flex-none tawk-flex tawk-flex-middle",attrs:{role:"navigation","aria-label":"secondary"}},[t.showWebrtcOptions&&!t.needConsent?a("div",[a("tawk-button",{directives:[{name:"tawk-tooltip",rawName:"v-tawk-tooltip"}],staticClass:"tawk-header-text tawk-button-hover",attrs:{isText:!0,inverse:!0,"aria-label":t.$i18n("rollover","voiceCall"),"data-text":t.$i18n("rollover","voiceCall")},on:{click:t.initiateCall}},[a("tawk-icon",{attrs:{type:"call"}})],1),t.webrtcOptions.video?a("tawk-button",{directives:[{name:"tawk-tooltip",rawName:"v-tawk-tooltip"}],staticClass:"tawk-header-text tawk-button-hover",attrs:{isText:!0,inverse:!0,"aria-label":t.$i18n("rollover","videoCall"),"data-text":t.$i18n("rollover","videoCall")},on:{click:function(e){return t.initiateCall(!0,!1)}}},[a("tawk-icon",{attrs:{type:"video-chat"}})],1):t._e(),t.webrtcOptions.screen?a("tawk-button",{directives:[{name:"tawk-tooltip",rawName:"v-tawk-tooltip"}],staticClass:"tawk-header-text tawk-button-hover",attrs:{isText:!0,inverse:!0,"aria-label":t.$i18n("rollover","screenShare"),"data-text":t.$i18n("rollover","screenShare")},on:{click:function(e){return t.initiateCall(!1,!0)}}},[a("tawk-icon",{attrs:{type:"screenshare"}})],1):t._e()],1):t._e(),t.isHamburgerMenuVisible&&!t.needConsent?a("tawk-dropdown",{ref:"toolbar-menu",staticClass:"tawk-toolbar-menu",attrs:{isOpen:t.isOpen,position:t.isRTL?"left":"right",role:"menu"}},[a("tawk-button",{directives:[{name:"tawk-tooltip",rawName:"v-tawk-tooltip"}],ref:"toolbar-button",staticClass:"tawk-header-text tawk-margin-auto-left tawk-flex-none tawk-button-hover",attrs:{isText:!0,inverse:!0,"aria-label":t.$i18n("rollover","chatMenu"),"data-text":t.$i18n("rollover","chatMenu")},nativeOn:{click:function(e){return t.toggleDropdown.apply(null,arguments)}}},[a("tawk-icon",{attrs:{type:"hamburger-menu"}})],1),a("div",{attrs:{slot:"menu"},slot:"menu"},[a("tawk-button",{staticClass:"tawk-text-left tawk-flex tawk-flex-middle",attrs:{isText:!0,size:"small"},on:{click:t.nameForm}},[a("span",{staticStyle:{width:"25px"}},[a("tawk-icon",{staticStyle:{width:"20px"},attrs:{type:"change-name",size:"small"}})],1),t._v(" "+t._s(t.$i18n("menu","change_name"))+" ")]),t.emailTranscriptEnabled?a("tawk-button",{staticClass:"tawk-text-left tawk-flex tawk-flex-middle",attrs:{isText:!0,size:"small"},on:{click:t.emailTranscriptForm}},[a("span",{staticStyle:{width:"25px"}},[a("tawk-icon",{attrs:{type:"email-transcript",size:"small"}})],1),t._v(" "+t._s(t.$i18n("menu","email_transcript"))+" ")]):t._e(),a("tawk-button",{staticClass:"tawk-text-left tawk-flex tawk-flex-middle",attrs:{isText:!0,size:"small"},on:{click:t.toggleLocalSound}},[t.isSoundEnabled&&t.localSoundEnabled?a("div",[a("span",{staticStyle:{width:"1.6rem"}},[a("tawk-icon",{attrs:{type:"sound-on",size:"medium"}})],1),t._v(" "+t._s(t.$i18n("menu","sound_on"))+" ")]):a("div",[a("span",{staticStyle:{width:"1.6rem"}},[a("tawk-icon",{attrs:{type:"sound-off",size:"medium"}})],1),t._v(" "+t._s(t.$i18n("menu","sound_off"))+" ")])]),t.isWindowed?t._e():a("tawk-button",{staticClass:"tawk-text-left tawk-flex tawk-flex-middle",attrs:{isText:!0,size:"small"},on:{click:t.popoutWidget}},[a("span",{staticStyle:{width:"1.6rem"}},[a("tawk-icon",{attrs:{type:"pop-out",size:"medium"}})],1),t._v(t._s(t.$i18n("menu","popout_widget"))+" ")]),t.hasChatStarted?a("tawk-button",{staticClass:"tawk-text-left tawk-flex tawk-flex-middle",attrs:{isText:!0,size:"small"},on:{click:function(e){return t.$emit("showEndChat")}}},[a("span",{staticStyle:{width:"1.6rem"}},[a("tawk-icon",{attrs:{type:"end-chat",size:"small"}})],1),t._v(" "+t._s(t.$i18n("menu","end_chat_session"))+" ")]):t._e(),t.branding&&!t.branding.whitelabeled?a("tawk-button",{staticClass:"tawk-text-left tawk-flex tawk-flex-middle",attrs:{href:t.branding.url,target:"blank",isText:!0,size:"small"}},[a("span",{staticStyle:{width:"1.6rem"}},[a("tawk-icon",{attrs:{type:"message",size:"small"}})],1),t._v(" "+t._s(t.$i18n("menu","add_chat_to_your_website"))+" ")]):t._e()],1)],1):t._e(),t.isWindowed||t.isRoundWidget&&!t.mobileBrowserName?t._e():a("tawk-button",{directives:[{name:"tawk-tooltip",rawName:"v-tawk-tooltip"}],staticClass:"tawk-header-text tawk-flex-none tawk-button-hover tawk-custom-color",attrs:{isText:!0,"data-text":t.$i18n("rollover","minimize"),"aria-label":t.$i18n("rollover","minimize")},nativeOn:{click:function(e){return t.toggleWidget.apply(null,arguments)}}},[a("tawk-icon",{attrs:{type:"close",size:"small"}})],1)],1)])}),[],!1,null,null,null);e.a=r.exports},"6bf7":function(t,e,a){"use strict";(function(t){var s=a("2f62"),i=a("f0b0"),r=a("5a60"),n=a("5688"),o=a("7ea7"),c=a("f2ef"),l=a("3558"),h=a("411f"),u=a("87dd");function d(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,s)}return a}function m(t){for(var e=1;e0&&"max"!==this.chatWindowState&&this.updateChatWindowState("max"),!this.firstIncoming||this.mobileBrowserName||this.showMessagePreview||"max"===this.chatWindowState||this.updateChatWindowState("max"))}},methods:m(m({},Object(s.b)({routerPush:"router/routerPush",updateRoute:"router/updateRoute",toggleWidget:"session/toggleWidget",toggleLocalSound:"widget/toggleLocalSound",showOverlay:"overlay/showOverlay",routerBack:"router/routerBack",clearHistory:"router/clearHistory",updateChatWindowState:"session/updateChatWindowState",toggleFocus:"widget/toggleFocus"})),{},{triggerClick:function(){this.$store.dispatch("session/toggleWidget")},openView:function(){if(this.initialized=!0,this.mobileBrowserName){var e=document.querySelector("meta[name=viewport]")||document.querySelector("meta[name=VIEWPORT]");t.Tawk_Window.isMobileOptimizedWebsite||null===this.noZoomMetaTag||(t.Tawk_Window.metaContent||""!==this.noZoomMetaTag.content?t.Tawk_Window.metaContent&&!t.Tawk_Window.hasNoScale&&e&&e.setAttribute("content",t.Tawk_Window.metaContent+", user-scalable=no"):(this.noZoomMetaTag.content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no",this.noZoomMetaTag.parentNode||document.getElementsByTagName("head")[0].appendChild(this.noZoomMetaTag)));var a=document.body;this.originalBodyStyle=a.style.cssText;for(var s=["height","min-height","max-height","width","min-width","max-width"],i=0;is+10&&(t.resizeHeightTo=s+10)))}),300)},handleOverlayBack:function(){this.routerBack(),this.isDraggedOver=!1},checkRouteLoaded:function(){var t=this;clearTimeout(this.routeLoadedTimeout),void 0!==this.$refs["router-view"]?this.isLoaded=!0:this.routeLoadedTimeout=setTimeout((function(){t.checkRouteLoaded()}),1e3)},handleFocus:function(){this.toggleFocus(!0)},handleBlur:function(){this.toggleFocus(!1)},calculateHeight:function(){if(this.isWindowed||this.mobileBrowserName||this.isEmbedded)this.iframe.height="100%";else if(this.resizeHeightTo)this.iframe.height=this.resizeHeightTo+"px";else{if(this.isRoundWidget){var t=this.minDesktop.height+this.yOffset+10;if(this.maxDimension.height+t>window.innerHeight)return void(this.iframe.height="".concat(window.innerHeight-t-10,"px"))}this.maxDimension.height>=window.innerHeight?this.iframe.height="".concat(window.innerHeight-10,"px"):this.iframe.height="".concat(this.maxDimension.height,"px")}},calculateWidth:function(){if(this.isWindowed||this.mobileBrowserName||this.isEmbedded)this.iframe.width="100%";else{if(this.isRoundWidget){var t=this.minDesktop.width+this.xOffset+10;if(this.maxDimension.width+t>window.innerWidth)return void(this.iframe.width="".concat(window.innerWidth-t-10,"px"))}this.maxDimension.width>=window.innerWidth?this.iframe.width="".concat(window.innerWidth-10,"px"):this.iframe.width=this.maxDimension.width+"px"}},calculateIframeSize:function(){this.calculateHeight(),this.calculateWidth()}}),mounted:function(){this.calculateIframeSize(),this.noZoomMetaTag=document.createElement("meta"),this.noZoomMetaTag.name="viewport",this.checkRouteLoaded(),this.$el.contentWindow.addEventListener("focus",this.handleFocus),this.$el.contentWindow.addEventListener("blur",this.handleBlur),window.addEventListener("resize",this.calculateIframeSize)},beforeDestroy:function(){this.$el.contentWindow.removeEventListener("focus",this.handleFocus),this.$el.contentWindow.removeEventListener("blur",this.handleBlur),window.removeEventListener("resize",this.calculateIframeSize)}}}).call(this,a("c8ba"))},"702b":function(t,e,a){"use strict";(function(t){var s=a("2f62"),i=a("38d6"),r=a("f0b4"),n=a("9f3e"),o=a("31dd"),c=a("dbd1");function l(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,s)}return a}function h(t){for(var e=1;e0)for(var s=0,r=e.formData.questions.length;sthis.lastMessageTimestamp){e=s;break}}-1!==e&&((t=this.unseenMessages[this.unseenMessages.length-1])&&(this.unseenMessages=[],this.$store.dispatch("session/updateVisitorChatSeen",t.timeStamp)))}},chatElementInView:function(t){var e=this.$refs["tawk-chat-panel"];return!!e&&!!(t[0].offsetTop>=e.scrollTop&&t[0].offsetTop<=e.scrollTop+e.offsetHeight&&0!==t[0].clientWidth&&0!==t[0].clientHeight)},removeAgentIsTyping:function(t){this.$delete(this.agentTyping,t)},checkBarPosition:function(){var t=this;this.$nextTick((function(){if(t.showNotification=!1,t.barMessageRerence&&t.barMessageId){var e=t.$refs[t.barMessageId],a=t.$refs["chat-body"];if(a&&a.$refs[t.barMessageId]&&(e=a.$refs[t.barMessageId]),e)if(t.chatElementInView(e))t.clearBarMessageId();else{var s=t.$refs["tawk-chat-panel"];s&&s.scrollTopt?this.toggleAgentAvatarToolbar(!0):this.toggleAgentAvatarToolbar(!1)}},saveScrollPosition:function(){var t=this.$refs["tawk-chat-panel"];t&&this.$store.commit("chat/setLastScrollPosition",this.isScrollBarBottom()?9999999999:t.scrollTop)}})}}).call(this,a("c8ba"))},d6a3:function(t,e,a){"use strict";a.r(e);var s=a("6bf7").a,i=a("2877"),r=Object(i.a)(s,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("i-frame",{attrs:{width:t.iframe.width,height:t.iframe.height,cssLink:t.cssLink,styleObject:t.styleObject,classString:t.classString}},[a("div",[t.initialized?a("div",{staticClass:"tawk-max-container tawk-flex tawk-flex-column",class:[!t.isToolbarElementsVisible&&"tawk-no-toolbar-elements"],style:{borderRadius:t.borderRadius},on:{click:t.widgetFocus,keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.widgetFocus.apply(null,arguments)}}},[a("toolbar",{ref:"main-toolbar",attrs:{borderRadiusTop:t.borderRadiusTop,showBackButton:t.showBackButton,currentView:t.currentView,showWebRtcButtons:!0,showAgentAvatars:!0},on:{showEndChat:function(e){t.showEndChat=!0}}}),t.isWebrtcEnabled?a("call-widget"):t._e(),a("tawk-overlay",{ref:"view-overlay",style:{borderRadius:t.borderRadius},attrs:{isOpen:t.isOverlayOpen,title:t.currentView&&t.currentView.title?t.currentView.title():"",backTooltipText:t.$i18n("rollover","back"),headerClass:"tawk-custom-color"},on:{goBack:t.handleOverlayBack}},[a("div",{attrs:{slot:"options"},slot:"options"},[a("toolbar",{attrs:{borderRadiusTop:t.borderRadiusTop,currentView:t.currentView},on:{showEndChat:function(e){t.showEndChat=!0}}})],1),a("div",{staticClass:"tawk-flex tawk-flex-column",staticStyle:{height:"100%",overflow:"hidden"}},[a("div",{staticClass:"tawk-flex tawk-flex-column tawk-flex-1 tawk-custom-flex-1"},[a("div",{staticClass:"tawk-router-view tawk-flex tawk-flex-1 tawk-custom-flex-1"},[a("tawk-router-view",{ref:"router-view"})],1),a("maximize-footer",{ref:"overlay-footer"})],1)])]),t.isInactive?a("inactive-overlay"):t._e(),t.showEndChat&&!t.hasChatEnded?a("end-chat",{on:{cancelEnd:function(e){t.showEndChat=!1}}}):t._e(),a("div",{staticClass:"tawk-flex tawk-flex-column tawk-flex-1"},[a("div",{staticClass:"tawk-router-view tawk-flex tawk-flex-1"},[t.isLoaded?t._e():a("div",{staticClass:"tawk-flex tawk-flex-middle tawk-flex-center",style:{width:"100%",height:"100%",left:0,top:0,position:"absolute"}},[a("div",{staticClass:"tawk-spinner-loader",style:{margin:"1px"}})]),a("transition",{attrs:{name:"slide-fade",mode:"out-in"}},[!t.hasLiveChat||t.needConsent||!t.chatOrder&&!t.hasChatStarted&&t.hasHomeView?t._e():a("chat-view",{directives:[{name:"show",rawName:"v-show",value:"chat"===t.currentRoute||"agents"===t.currentRoute,expression:"currentRoute === 'chat' || currentRoute === 'agents'"}],ref:"chat-view"})],1),a("transition",{attrs:{name:"slide-fade",mode:"out-in"}},[t.hasLiveChat&&!t.needConsent&&t.isPrechatEnabled&&t.isReady&&!t.prechatFormSubmitted&&("prechat"===t.currentRoute||!t.hasHomeView||t.hasPrechatHistory&&!t.prechatFormSubmitted)?a("prechat-view",{ref:"prechat-view"}):t._e()],1),a("transition",{attrs:{name:"slide-fade",mode:"out-in"}},[t.hasHomeView||t.needConsent?a("home-view",{directives:[{name:"show",rawName:"v-show",value:t.isHomeViewVisible,expression:"isHomeViewVisible"}],ref:"home-view",attrs:{isVisible:t.isHomeViewVisible&&!t.isOverlayOpen}}):t._e()],1)],1),a("maximize-footer",{ref:"main-footer"})],1),a("transition",{attrs:{name:"slide-fade"}},[t.isReconnecting?a("tawk-alert",{staticStyle:{position:"absolute",bottom:"16px",left:"16px",right:"16px",width:"auto","z-index":"10"},attrs:{title:t.$i18n("notifications","reconnecting"),status:"danger",description:"",icon:"error"}}):t._e()],1)],1):t._e()])])}),[],!1,null,null,null);e.default=r.exports},e375:function(t,e,a){"use strict";var s={name:"progress-bar",props:{handle:{type:String,default:""},fileName:{type:String,default:""},percentage:{type:Number,default:0}},computed:{progressWidth:function(){return"width : ".concat(this.percentage,"%")}}},i=a("2877"),r=Object(i.a)(s,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"file-upload-progress"},[a("div",[t._v(t._s(t.fileName))]),a("div",{staticClass:"progress active tawk-margin-small-top"},[a("div",{staticClass:"progress-bar",style:t.progressWidth,attrs:{role:"progressbar"}})])])}),[],!1,null,null,null);e.a=r.exports},e49c:function(t,e,a){"use strict";a.d(e,"a",(function(){return r}));var s=a("f0b0"),i=a("7f46"),r={methods:{setError:function(t,e){e.isError=t},setValue:function(t,e){e.value=t},setInvalidType:function(t,e){e.invalidTypeValue=t},formatFields:function(t){for(var e=[],a=0;a0)r=r.replace(/[- )(]/g,""),t.phone=r;else if("department"===s.type){if(s.isRequired&&!this.selectedDepartment){if(!s.selections||!s.selections.length)continue;s.isError=!0,e=!0;continue}if(s.isError=!1,!this.selectedDepartment)continue;t.department=this.selectedDepartment.value,t.questions.push({label:i.a.rawDecode(s.label),answer:i.a.rawDecode(this.selectedDepartment.rawText)})}s.isRequired&&0===r.length&&"department"!==s.type&&(this.$refs[s.id]&&this.$refs[s.id].length&&this.$refs[s.id][0]&&this.$refs[s.id][0].validate&&this.$refs[s.id][0].validate(),e=!0),s.isError?e=!0:r&&r.length&&("string"==typeof r?t.questions.push({label:i.a.rawDecode(s.label),answer:r}):t.questions.push({label:i.a.rawDecode(s.label),answer:r.join(", ")}))}return{formData:t,hasError:e}}}}},e906:function(t,e,a){"use strict";(function(t){var s=a("2f62"),i=a("f0b0");function r(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,s)}return a}function n(t){for(var e=1;e0)},isHamburgerMenuVisible:function(){return"offline"!==this.pageStatus&&("chat"===this.currentRoute||"agents"===this.currentRoute)},isAgentAvatarsVisible:function(){return!(!this.showAgentAvatars||"chat"!==this.currentRoute&&"agents"!==this.currentRoute||!(this.activeProfiles.length>0))},getActiveAgents:function(){var t=this.activeProfiles;return t<2?t:t.slice(0,1)}}),methods:n(n({},Object(s.b)({routerPush:"router/routerPush",routerBack:"router/routerBack",toggleLocalSound:"widget/toggleLocalSound",toggleWidget:"session/toggleWidget",showOverlay:"overlay/showOverlay"})),{},{initiateCall:function(e,a){t.Tawk_Window.chatManager.initiateCall(e,a)},popoutWidget:function(){t.Tawk_Window.popoutWidget()},toggleDropdown:function(){this.isOpen=!this.isOpen},nameForm:function(){this.isOpen=!1,this.routerPush("name-form"),this.showOverlay(!0)},emailTranscriptForm:function(){this.isOpen=!1,this.routerPush("email-transcript-form"),this.showOverlay(!0)},convertToAvatarLink:function(t){return t?0===t.indexOf("https://s3.amazonaws.com/tawk-to-pi")||0===t.indexOf("https://embed.tawk.to/_s/v4/assets")?t:"".concat("https://s3.amazonaws.com/tawk-to-pi","/").concat(t):"".concat("https://embed.tawk.to/_s/v4/assets","/images/default-profile.svg")},toggleAgentsList:function(){this.routerPush("agents"),this.showOverlay(!0)}}),mounted:function(){var e=this;t.Tawk_Window.eventBus.$on("widgetOnFocus",(function(t){e.$refs["toolbar-button"]&&!e.$refs["toolbar-button"].$el.contains(t.target)&&(e.isOpen=!1)}))}}}).call(this,a("c8ba"))},f0b4:function(t,e,a){"use strict";var s=a("aacb").a,i=a("2877"),r=Object(i.a)(s,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"tawk-form-width-100 tawk-flex tawk-flex-column"},[t.hasChatEnded&&"prechat"!==t.state&&"offline"!==t.state&&t.chatEndVersion?a("div",{staticClass:"card-container"},[a("restart-chat")],1):t._e(),!t.isHistoryCardEnabled&&t.chatOrder&&t.hasLiveChat&&"offline"!==t.pageStatus&&"prechat"!==t.state?a("div",{staticClass:"card-container tawk-flex-first"},[a("tawk-card",{staticClass:"tawk-home-kb-card",attrs:{color:"inverse",size:"xsmall"}},[a("conversations",{attrs:{historyEnabled:t.isHistoryCardEnabled}})],1)],1):t._e(),t._l(t.body,(function(e,s){return a("content-card",{key:s,attrs:{card:e,isSubmitting:t.submittingValue,submissionError:t.submissionError,body:t.body,state:t.state,hasConversationCard:t.hasConversationCard},on:{"update:isSubmitting":function(e){t.submittingValue=e},"update:is-submitting":function(e){t.submittingValue=e},"update:hasConversationCard":function(e){t.hasConversationCard=e},"update:has-conversation-card":function(e){t.hasConversationCard=e},submitForm:t.submitForm,contentCardLoaded:function(e){return t.$emit("homeLoaded")}}})})),t.noPrechatForm?a("div",{staticClass:"card-container"},[a("tawk-card",{staticClass:"tawk-box-shadow-xsmall",attrs:{color:"inverse",size:"small"}},[a("tawk-button",{staticClass:"tawk-form-width-100 tawk-button-hover tawk-custom-color tawk-custom-border-color",on:{click:function(e){return t.submitForm({formData:{}})}}},[a("tawk-icon",{attrs:{type:"mobile-send"}}),t._v(" "+t._s(t.$i18n("form","StartChatButton"))+" ")],1)],1)],1):t._e()],2)}),[],!1,null,null,null);e.a=r.exports},f2ef:function(t,e,a){"use strict";var s=a("702b").a,i=a("2877"),r=Object(i.a)(s,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("base-frame",{staticClass:"tawk-home-view tawk-custom-flex-1"},[a("base-header",{ref:"tawk-base-header",class:t.headerClass},[t.needConsent?t._e():a("home-header",{ref:"tawk-home-header",attrs:{state:t.pageStatus}})],1),a("base-body",{ref:"tawk-home-body"},[t.needConsent?a("consent-form"):a("home-body",{attrs:{state:t.pageStatus},on:{homeLoaded:t.homeLoaded}})],1)],1)}),[],!1,null,null,null);e.a=r.exports},f3c3:function(t,e,a){"use strict";(function(t){var s=a("2f62"),i=a("f0b0"),r=a("7f46");function n(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,s)}return a}function o(t){for(var e=1;etawk.to"===t&&(t=t.replace("U+26A1",''))),t&&":tawky: Add free live chat to your site"===t&&(t=t.replace(":tawky:",''))),{label:t,url:this.branding.url,textColor:this.branding.textColor}}},isChatInputBottom:function(){var t=!1,e=this.states[this.pageStatus];return e&&e.body.length&&(t="chat"===e.body[e.body.length-1].type),t},isLiveChatFeatureEnabled:function(){return!!(this.hasLiveChat||this.hasChatStarted&&this.agentsCount>0)},inputPlaceholder:function(){var t,e=this.states[this.pageStatus];if(e&&e.body&&e.body.length)for(var a=0;a