(window.tawkJsonp=window.tawkJsonp||[]).push([["chunk-2d224aff"],{e0ca:function(t,e,i){"use strict";i.r(e);var o=i("2f62"),n=i("f0b0"),s=i("5a60");function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,o)}return i}function c(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?r(Object(i),!0).forEach((function(e){h(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):r(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}function h(t,e,i){return(e=function(t){var e=function(t,e){if("object"!=a(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var o=i.call(t,e||"default");if("object"!=a(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==a(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}var l={name:"min-content",components:{TawkImage:n.TawkImage},props:{minDesktop:{type:Object,required:!0}},computed:c(c({},Object(o.c)({activeProfiles:"chat/activeProfiles",chatWindowState:"session/chatWindowState",pageStatus:"session/pageStatus",states:"widget/states",isRoundWidget:"widget/isRoundWidget",hasLiveChat:"widget/hasLiveChat",mobileBrowserName:"browserData/mobileBrowserName",hasChatStarted:"chat/hasChatStarted",agentsCount:"chat/agentsCount"})),{},{firstActiveProfile:function(){return this.activeProfiles.length?this.activeProfiles[0]:""},minimizeText:function(){if(this.mobileBrowserName)return"offline"===this.pageStatus?this.$i18n("form","message"):this.$i18n("chat","chat_text");var t=this.states[this.pageStatus];return t?t.minimizedText:""},isLiveChatFeatureEnabled:function(){return!!(this.hasLiveChat||this.hasChatStarted&&this.agentsCount>0)}}),watch:{minimizeText:function(){this.$emit("contentChange")},firstActiveProfile:function(){this.$emit("contentChange")}},mounted:function(){this.$emit("contentChange")}},m=i("2877"),d=Object(m.a)(l,(function(){var t=this,e=t._self._c;return e("div",[t.isRoundWidget?[t.firstActiveProfile?e("tawk-image",{directives:[{name:"show",rawName:"v-show",value:"min"===t.chatWindowState&&t.isLiveChatFeatureEnabled,expression:"chatWindowState === 'min' &&\n\t\t\t\tisLiveChatFeatureEnabled"}],staticClass:"tawk-min-chat-icon",attrs:{src:t.firstActiveProfile.profileImage,alt:"".concat(t.$i18n("chat","agent_profile_image"))}}):t._e(),e("div",[t.firstActiveProfile||"min"!==t.chatWindowState?"max"===t.chatWindowState?e("svg",{key:"close",staticClass:"tawk-min-chat-icon",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 800 800",height:"25px",width:"25px",role:"img",alt:t.$i18n("chat","close_icon"),"aria-labelledby":"closeIconTitle closeIconDesc"}},[e("title",{attrs:{id:"closeIconTitle"}},[t._v("Close Chat")]),e("desc",{attrs:{id:"closeIconDesc"}},[t._v("This icon closes the chat window.")]),e("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M466.24042,400.4053l272.927-275.99463c6.94586-8.76452,11.13092-20.00501,11.13092-32.20959 s-4.18506-23.42317-11.21857-32.29724l0.08765,0.10955c-8.76453-6.94588-20.005-11.13094-32.20959-11.13094 c-12.20453,0-23.42316,4.18505-32.29724,11.21858l0.10956-0.08765L401.84311,336.008L125.84851,60.0134 c-8.76452-6.94588-20.00501-11.13094-32.2096-11.13094s-23.42316,4.18506-32.29724,11.21858l0.10955-0.08765 C54.50535,68.77792,50.32029,80.01842,50.32029,92.223s4.18505,23.42317,11.21858,32.29724l-0.08764-0.10956l275.9946,275.99463 L61.45122,673.33234c-6.94588,8.76453-11.13094,20.005-11.13094,32.20959s4.18506,23.42316,11.21858,32.29724l-0.08765-0.1095 c8.19483,7.64703,19.2162,12.33606,31.33314,12.33606c0.83263,0,1.68717-0.02191,2.49789-0.06573h-0.10957 c0.54779,0.02191,1.20512,0.04382,1.86246,0.04382c11.32813,0,21.5388-4.71094,28.79144-12.29224l0.0219-0.02191 l275.99463-272.92703l272.92703,272.92703c7.2746,7.58136,17.48523,12.31415,28.81335,12.31415 c0.65735,0,1.29279-0.02191,1.95013-0.04382h-0.08765c0.72308,0.04382,1.55573,0.06573,2.38831,0.06573 c12.11694,0,23.16022-4.68903,31.37695-12.35797l-0.02185,0.02191c6.94586-8.76447,11.13092-20.005,11.13092-32.20959 c0-12.20453-4.18506-23.42316-11.21857-32.29724l0.08765,0.10956L466.24042,400.4053z"}})]):t._e():e("svg",{key:"chat",staticClass:"tawk-min-chat-icon",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 800 800",height:"32px",width:"32px",role:"img",alt:t.$i18n("chat","chat_icon"),"aria-labelledby":"openIconTitle openIconDesc"}},[e("title",{attrs:{id:"openIconTitle"}},[t._v("Opens Chat")]),e("desc",{attrs:{id:"openIconDesc"}},[t._v("This icon Opens the chat window.")]),e("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M400 26.2c-193.3 0-350 156.7-350 350 0 136.2 77.9 254.3 191.5 312.1 15.4 8.1 31.4 15.1 48.1 20.8l-16.5 63.5c-2 7.8 5.4 14.7 13 12.1l229.8-77.6c14.6-5.3 28.8-11.6 42.4-18.7C672 630.6 750 512.5 750 376.2c0-193.3-156.7-350-350-350zm211.1 510.7c-10.8 26.5-41.9 77.2-121.5 77.2-79.9 0-110.9-51-121.6-77.4-2.8-6.8 5-13.4 13.8-11.8 76.2 13.7 147.7 13 215.3.3 8.9-1.8 16.8 4.8 14 11.7z"}})])])]:[e("div",{ref:"full-content",staticClass:"tawk-text-left tawk-flex tawk-flex-middle"},[t.mobileBrowserName?[e("div",{ref:"content-icon"},[t.firstActiveProfile?e("div",{staticClass:"tawk-flex tawk-flex-middle tawk-flex-none"},[t.firstActiveProfile.profileImage&&t.firstActiveProfile.profileImage.length>0?e("tawk-image",{staticClass:"tawk-min-agent-image tawk-flex-none",attrs:{src:t.firstActiveProfile.profileImage,alt:"".concat(t.$i18n("chat","agent_profile_image"))}}):t._e()],1):e("svg",{key:"chat",staticClass:"tawk-min-chat-icon",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 800 800",height:"22px",width:"22px",role:"img",alt:"".concat(t.$i18n("chat","chat_icon")),"aria-labelledby":"closeIconTitle closeIconDesc"}},[e("title",{attrs:{id:"closeIconTitle"}},[t._v("Close Chat")]),e("desc",{attrs:{id:"closeIconDesc"}},[t._v("This icon closes the chat window.")]),e("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M400 26.2c-193.3 0-350 156.7-350 350 0 136.2 77.9 254.3 191.5 312.1 15.4 8.1 31.4 15.1 48.1 20.8l-16.5 63.5c-2 7.8 5.4 14.7 13 12.1l229.8-77.6c14.6-5.3 28.8-11.6 42.4-18.7C672 630.6 750 512.5 750 376.2c0-193.3-156.7-350-350-350zm211.1 510.7c-10.8 26.5-41.9 77.2-121.5 77.2-79.9 0-110.9-51-121.6-77.4-2.8-6.8 5-13.4 13.8-11.8 76.2 13.7 147.7 13 215.3.3 8.9-1.8 16.8 4.8 14 11.7z"}})])]),e("span",{ref:"content-text",staticClass:"tawk-text-bold-3 tawk-margin-xsmall-left tawk-text-truncate",staticStyle:{color:"inherit","white-space":"nowrap"}},[t._v(" "+t._s(t.minimizeText)+" ")])]:[e("div",{directives:[{name:"show",rawName:"v-show",value:"min"===t.chatWindowState&&!t.firstActiveProfile,expression:"chatWindowState === 'min' &&\n\t\t\t\t\t\t!firstActiveProfile"}],staticClass:"tawk-text-truncate",style:{width:"100%",flex:"0 0 auto"}},[t._v(" "+t._s(t.minimizeText)+" ")]),e("div",{directives:[{name:"show",rawName:"v-show",value:"min"===t.chatWindowState&&t.firstActiveProfile&&t.isLiveChatFeatureEnabled,expression:"chatWindowState === 'min' &&\n\t\t\t\t\tfirstActiveProfile &&\n\t\t\t\t\tisLiveChatFeatureEnabled"}],staticClass:"tawk-flex tawk-flex-middle",style:{width:"100%"}},[t.firstActiveProfile.profileImage&&t.firstActiveProfile.profileImage.length>0?e("tawk-image",{staticClass:"tawk-min-agent-image tawk-flex-none",attrs:{src:t.firstActiveProfile.profileImage,alt:"".concat(t.$i18n("chat","agent_profile_image"))}}):t._e(),e("div",{staticClass:"tawk-margin-xsmall-left",style:{overflow:"hidden",width:"100%"}},[t.firstActiveProfile.displayName&&t.firstActiveProfile.displayName.length>0?e("p",{staticClass:"tawk-min-agent-label tawk-text-bold tawk-text-truncate"},[t._v(" "+t._s(t.firstActiveProfile.displayName)+" ")]):t._e(),t.firstActiveProfile.profileTitle&&t.firstActiveProfile.profileTitle.length>0?e("p",{staticClass:"tawk-min-agent-label tawk-text-regular-2 tawk-text-truncate"},[t._v(" "+t._s(t.firstActiveProfile.profileTitle)+" ")]):t._e()])],1)]],2)]],2)}),[],!1,null,null,null).exports,f=i("87dd");function p(t){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,o)}return i}function g(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?u(Object(i),!0).forEach((function(e){w(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):u(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}function w(t,e,i){return(e=function(t){var e=function(t,e){if("object"!=p(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var o=i.call(t,e||"default");if("object"!=p(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==p(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}var b={name:"MinimizeWidget",components:{IFrame:s.a,TawkBadge:n.TawkBadge,TawkButton:n.TawkButton,MinContent:d},mixins:[f.a],data:function(){return{cssLink:"".concat("https://embed.tawk.to/_s/v4/app/67e61092c05","/css/min-widget.css"),isLoaded:!1,clickEvent:"touchend",resizeWidth:0,key:n.Helper.generateUUID()}},mounted:function(){var t=this;this.$eventBus.$on("switchWidget",(function(){t.key=n.Helper.generateUUID()}))},computed:g(g({},Object(o.c)({chatWindowState:"session/chatWindowState",isRight:"widget/isRight",isBottom:"widget/isBottom",isCenter:"widget/isCenter",isRTL:"widget/isRTL",isRoundWidget:"widget/isRoundWidget",minDesktop:"widget/minDesktop",minMobile:"widget/minMobile",unreadMessageCount:"chat/unreadMessageCount",mobileBrowserName:"browserData/mobileBrowserName",pageStatus:"session/pageStatus",zoomRatio:"widget/zoomRatio",hasLiveChat:"widget/hasLiveChat",hasChatStarted:"chat/hasChatStarted",agentsCount:"chat/agentsCount",isMobileLandscape:"widget/isMobileLandscape",os:"browserData/os",onClick:"widget/onClick"})),{},{xOffset:function(){return this.$TawkWidgetSettings.xOffset()},yOffset:function(){return this.$TawkWidgetSettings.yOffset()},xOffsetMobile:function(){return this.$TawkWidgetSettings.xOffsetMobile()},yOffsetMobile:function(){return this.$TawkWidgetSettings.yOffsetMobile()},buttonStyles:function(){var t={};return this.isRoundWidget||(this.mobileBrowserName?(t.borderRadius="3px",t.width=this.resizeWidth?"".concat(this.resizeWidth,"px"):"".concat(this.minMobile.width,"px"),t.height="".concat(this.minMobile.height,"px"),t.padding="0 8px"):(t.borderRadius="".concat(this.minDesktop.borderRadiusTop,"px ").concat(this.minDesktop.borderRadiusTop,"px\n\t\t\t\t\t").concat(this.minDesktop.borderRadiusBottom,"px ").concat(this.minDesktop.borderRadiusBottom,"px"),t.width="".concat(this.minDesktop.width,"px"),t.height="".concat(this.minDesktop.height,"px"),t.padding="0 15px")),this.isBottom||this.isCenter?t.bottom="0":t.top="0",this.isRTL?t.right="0":t.left="0",t.position="absolute",t.zIndex="1000",t.border="0",t},iFrameHeight:function(){return this.mobileBrowserName?this.isRoundWidget?this.isMobileLandscape?"safari"!==this.mobileBrowserName||"iphone"!==this.os.identity&&"mac"!==this.os.identity?"safari"===this.mobileBrowserName||"iphone"!==this.os.identity&&"mac"!==this.os.identity?"".concat((this.minMobile.height+4)*this.zoomRatio,"px"):"".concat((this.minMobile.height+4)*(this.zoomRatio/1.7),"px"):"".concat((this.minMobile.height+4)*this.zoomRatio*1.2,"px"):"".concat((this.minMobile.height+4)*this.zoomRatio,"px"):"".concat((this.minMobile.height+6)*this.zoomRatio,"px"):this.isRoundWidget?"".concat(this.minDesktop.height,"px"):"".concat(this.minDesktop.height+4,"px")},iFrameWidth:function(){if(this.mobileBrowserName){var t=this.resizeWidth||this.minMobile.width;return!this.isMobileLandscape||"iphone"!==this.os.identity&&"mac"!==this.os.identity?"".concat((t+7)*this.zoomRatio,"px"):"safari"===this.mobileBrowserName?"".concat((t+7)*(1.2*this.zoomRatio),"px"):"".concat((t+7)*(this.zoomRatio/1.7),"px")}return"".concat(this.minDesktop.width+4,"px")},styleObject:function(){var t,e,i=this.mobileBrowserName?this.minMobile:this.minDesktop,o={"position:":"fixed !important;","z-index:":"1000001 !important;","width:":"".concat(this.iFrameWidth," !important;"),"height:":"".concat(this.iFrameHeight," !important;"),"min-width:":"".concat(this.iFrameWidth," !important;"),"min-height:":"".concat(this.iFrameHeight," !important;"),"max-width:":"".concat(this.iFrameWidth," !important;"),"max-height:":"".concat(this.iFrameHeight," !important;")};this.mobileBrowserName?this.isMobileLandscape?"safari"===this.mobileBrowserName?(t=this.xOffsetMobile,e=this.yOffsetMobile):(t=this.xOffsetMobile/1.7,e=this.yOffsetMobile/1.7):(t=this.xOffsetMobile,e=this.yOffsetMobile):(t=this.xOffset,e=this.yOffset);var n=t*this.zoomRatio;if(this.isRight?o["right:"]="".concat(n,"px !important;"):o["left:"]="".concat(n,"px !important;"),this.isCenter){if(o["top:"]="calc((50% - ".concat(.5*i.height,"px) + ").concat(e,"px) !important;"),!this.isRoundWidget){var s=.5*i.height-.5*i.width+t,a="49% !important",r="rotate(".concat(this.isRight?"-90deg":"90deg",") !important");this.mobileBrowserName?(a="0 0 !important",this.isRight?(o["left:"]="calc(100% - ".concat(this.iFrameHeight," - ").concat(this.xOffsetMobile*this.zoomRatio,"px) !important;"),r="rotate(-90deg) translateX(-50%) !important"):(o["right:"]="85% !important;",o["left:"]="calc(".concat(this.iFrameHeight," + ").concat(this.xOffsetMobile*this.zoomRatio,"px) !important;"),r="rotate(90deg) translateX(-50%) !important")):this.isRight?o["right:"]="".concat(s,"px !important;"):o["left:"]="".concat(s,"px !important;"),o["transform-origin:"]=a,o["-webkit-transform:"]="".concat(r,";"),o["-ms-transform:"]="".concat(r,";"),o["transform:"]="".concat(r,";")}}else this.isBottom?o["bottom:"]="".concat(e*this.zoomRatio,"px !important;"):o["top:"]="".concat(e*this.zoomRatio,"px !important;");return"max"!==this.chatWindowState||this.isRoundWidget&&!this.mobileBrowserName?this.mobileBrowserName?o["display:"]="block !important;":setTimeout((function(){o["display:"]="block !important;"}),250):o["display:"]="none !important;",g(g({},this.genericStyles),o)},badgePosition:function(){var t,e,i=this.mobileBrowserName?this.minMobile:this.minDesktop,o={};return this.mobileBrowserName&&this.resizeWidth&&(i.width=this.resizeWidth+5),this.isRoundWidget?(t="".concat(i.width-20,"px"),e="".concat(i.height-20,"px")):(t="".concat(i.width-16,"px"),e="".concat(i.height-16,"px")),this.isBottom||this.isCenter?(o.left=t,o.bottom=e,o.right="auto",o.top="auto"):(o.left=t,o.top="0px",o.right="auto",o.bottom="auto"),o},isLiveChatFeatureEnabled:function(){return!!(this.hasLiveChat||this.hasChatStarted&&this.agentsCount>0)},hideMinimizeWidget:function(){return"slide"===this.onClick&&"max"===this.chatWindowState}}),watch:{zoomRatio:function(){this.mobileBrowserName&&this.isLoaded&&this.scaleContent()},isMobileLandscape:function(){this.mobileBrowserName&&this.scaleContent()}},methods:g(g({},Object(o.b)({toggleWidget:"session/toggleWidget"})),{},{loaded:function(){var t=this;this.isLoaded=!0,this.$nextTick((function(){t.contentChange()})),this.mobileBrowserName&&this.scaleContent()},scaleContent:function(){var t,e=this.isRTL?"right":"left",i="scale(".concat(this.zoomRatio,")");t=this.isBottom||this.isCenter?"bottom":"top",this.mobileBrowserName&&this.isMobileLandscape&&("safari"!==this.mobileBrowserName||"iphone"!==this.os.identity&&"mac"!==this.os.identity?"safari"===this.mobileBrowserName||"iphone"!==this.os.identity&&"mac"!==this.os.identity||(i="scale(".concat(this.zoomRatio/1.7,")")):i="scale(".concat(1.2*this.zoomRatio,")"));var o="-moz-transform: ".concat(i,";\n\t\t\t\t\t\t\t-webkit-transform: ").concat(i,";\n\t\t\t\t\t\t\t-o-transform: ").concat(i,";\n\t\t\t\t\t\t\t-ms-transform: ").concat(i,";\n\t\t\t\t\t\t\ttransform: ").concat(i,";"),n="-moz-transform-origin: ".concat(t," ").concat(e,";\n\t\t\t\t\t\t\t\t-webkit-transform-origin: ").concat(t," ").concat(e,";\n\t\t\t\t\t\t\t\t-o-transform-orgin: ").concat(t," ").concat(e,";\n\t\t\t\t\t\t\t\t-ms-transform-origin: ").concat(t," ").concat(e,";\n\t\t\t\t\t\t\t\ttransform-origin: ").concat(t," ").concat(e);this.$refs.container.style.cssText+=o+n},contentChange:function(){var t=this;this.mobileBrowserName&&!this.isRoundWidget&&setTimeout((function(){if(t.$refs&&t.$refs["min-content"]&&t.$refs["min-content"].$refs){var e=t.$refs["min-content"].$refs["content-icon"],i=t.$refs["min-content"].$refs["content-text"];if(e&&i){i.className=i.className.replace(/tawk-text-truncate/g,"").trim();var o=e.clientWidth+i.clientWidth+8;o&&o+16>t.minMobile.width?t.resizeWidth=o+16:t.resizeWidth=0}t.resizeWidth>screen.width&&(t.resizeWidth=screen.width-2*t.xOffsetMobile,i.className+=" tawk-text-truncate")}}),1e3/66)}})},v=Object(m.a)(b,(function(){var t=this,e=t._self._c;return e("i-frame",{key:t.key,ref:"iframe",attrs:{width:t.iFrameWidth,height:t.iFrameHeight,cssLink:t.cssLink,styleObject:t.styleObject}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.isLoaded&&!t.hideMinimizeWidget,expression:"isLoaded && !hideMinimizeWidget"}],ref:"container",staticClass:"tawk-min-container"},[t.unreadMessageCount>0&&"offline"!==t.pageStatus&&"min"===t.chatWindowState&&t.isLiveChatFeatureEnabled?e("tawk-badge",{staticClass:"tawk-min-badge",style:t.badgePosition,attrs:{count:t.unreadMessageCount}}):t._e(),e("tawk-button",{staticClass:"tawk-custom-color tawk-custom-border-color tawk-outline",style:t.buttonStyles,attrs:{label:"$i18n('chat', 'chat_widget')",isCircle:t.isRoundWidget,size:t.isRoundWidget?"large":"",tabindex:"0"},on:{click:t.toggleWidget}},[e("min-content",{ref:"min-content",attrs:{minDesktop:t.minDesktop,isRoundWidget:t.isRoundWidget},on:{contentChange:t.contentChange}})],1)],1)])}),[],!1,null,null,null);e.default=v.exports}}]);