[ Mini Kiebo ]
Server: Windows NT DESKTOP-5B8S0D4 6.2 build 9200 (Windows 8 Professional Edition) i586
Path:
D:
/
Backup
/
Data Shendy
/
Back up Bu Fitri
/
Downloads
/
Holland Bakery_files
/
[
Home
]
File: twk-chunk-common.js
(window.tawkJsonp=window.tawkJsonp||[]).push([["chunk-common"],{"028e":function(e,t,i){"use strict";(function(e){i.d(t,"a",(function(){return h}));var n=i("5868"),o=i("7f46"),a=i("e8f9"),s=i("f0b0"),r=i("27a6");function c(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,n)}return i}function u(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?c(Object(i),!0).forEach((function(t){l(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):c(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function l(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function d(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var h=function(){function t(e){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,t),this.store=e,this.keyDownTimeout=null,this.webrtcWin=null,this.maxNumberFileUpload=5,this.maxSizeFileUpload=52428800,this.regSurvey=/\[option\](.*?)(<br\/>|$)/gm,this.regSurveyQuestion=/^(.*?)\[option\]/g,this.regOption=/\[option\]/g}return function(e,t,i){t&&d(e.prototype,t),i&&d(e,i)}(t,[{key:"processHistoryMessages",value:function(e){for(var t=[],i={},a=0;a<e.length;a++){var r=void 0,c=void 0,l=void 0,d=void 0,h=!1,f=null,p=e[a],w=s.Helper.generateUUID(),m=new Date(p.co).getTime(),g={};if("WEBRTC_CALL"===p.m&&p.md&&p.md.webrtc&&(h=!0,f=p.md.clid),"n"!==p.t||"WEBRTC_CALL"===p.m){if(d=p.n,r=p.uid,"a"===p.ut){var v=i[p.md.rsc];v&&(r=v.pid,c=v.pi?"".concat("https://s3.amazonaws.com/tawk-to-pi","/").concat(v.pi):"".concat("https://embed.tawk.to/_s/v4/assets","/images/default-profile.svg"))}else"s"===p.ut&&(r=s.Helper.generateUUID(),c=p.md&&p.md.pi?"".concat("https://tawk.link","/").concat(p.md.pi):"".concat("https://embed.tawk.to/_s/v4/assets","/images/default-profile.svg"));l=this.parseText(o.a.rawEncode(p.m));var k=this.parseSurvey(l);p.md&&p.md.file&&(g.isUpload=!0,g.humanizeFileSize=n.a.formatFileSize(p.md.file.size),g.fileName=o.a.rawEncode(p.md.file.fileName),g.fileLink="".concat("https://tawk.link","/").concat(p.md.file.name),p.md.file.type.match(/(jpg|jpeg|png|gif)$/i)?g.fileType="image":-1!==["video/mp4","video/ogg","video/webm"].indexOf(p.md.file.mimeType)?g.fileType="video":-1!==["audio/mp3","audio/ogg","audio/mpeg","audio/wav"].indexOf(p.md.file.mimeType)&&(g.fileType="audio")),t.push(u(u({},g),{},{timeStamp:m,message:l,name:d,type:p.t,time:p.co,data:p.md,isPending:!1,senderType:p.ut,ownerId:r,profileImage:c,cver:p.cver,messageId:w,isCallView:h,callId:f,callData:null,surveyObj:k,rawMessage:p}))}else"AGENT_JOIN_CONVERSATION"===p.m&&p.md&&(i[p.md.rsc]=p.md)}return t}},{key:"parseChatMessage",value:function(t,i){var a,r,c,l,d,h=!1,f=null,p={},w=s.Helper.generateUUID(),m=new Date(t.co).getTime(),g=this.store.getters["widget/emojiEnabled"];if(t.n=o.a.rawDecode(t.n),"n"===t.t&&("AGENT_JOIN_CONVERSATION"===t.m||"AGENT_LEFT_CONVERSATION"===t.m))return this.updateAgentPresence(t,i),this.store.dispatch("chat/updateChatMessage",{rawMessage:t,type:"n"}),null;if("n"===t.t&&"v"===t.ut){if("VISITOR_RATING"!==t.m)return;"VISITOR_RATING"===t.m&&(i&&this.changeRating(t.md.rt,!0),t.md.rt<0?(t.m=g&&void 0!==window.emojione?":thumbsdown_tone2:":"👎",t.t="c"):t.md.rt>0?(t.m=g&&void 0!==window.emojione?":thumbsup_tone2:":"👍",t.t="c"):t.m=e.Tawk_Window.app.$i18n("chat","remove_rate"))}if("v"===t.ut)a=this.store.getters["visitor/displayName"],r=t.uid;else if(a=t.n,"a"===t.ut){var v=this.store.getters["chat/agents"];v[t.md.rsc]&&(r=v[t.md.rsc].profileId);var k=this.store.getters["chat/agentProfile"](t.md.rsc);c=k?k.profileImage:null}else"s"===t.ut&&(c=t.md&&t.md.pi?"".concat("https://tawk.link","/").concat(t.md.pi):"".concat("https://embed.tawk.to/_s/v4/assets","/images/default-profile.svg"));return"WEBRTC_CALL"===t.m&&t.md&&t.md.webrtc?(h=!0,f=t.md.clid):("c"===t.t&&("v"===t.ut?this.store.commit("chat/setVisitorHasMessaged",!0):"a"===t.ut?(this.store.commit("chat/setAgentHasMessaged",!0),i&&e.Tawk_Window.jsApi.triggerApiHandlers("onChatMessageAgent",t.m)):"s"===t.ut&&i&&e.Tawk_Window.jsApi.triggerApiHandlers("onChatMessageSystem",t.m)),l||(l=this.parseText(t.m),d=this.parseSurvey(l))),m>this.store.getters["session/lastMessageTimestamp"]&&("v"===t.ut?this.store.commit("session/setLastMessageTimestamp",m):(this.store.dispatch("chat/updateUnseenMessages",w),i&&e.Tawk_Window.jsApi.triggerApiHandlers("onUnreadCountChanged",this.store.getters["chat/unreadMessageCount"]))),t.md&&t.md.file&&(p.isUpload=!0,p.humanizeFileSize=n.a.formatFileSize(t.md.file.size),p.fileName=o.a.rawEncode(t.md.file.fileName),p.fileLink="".concat("https://tawk.link","/").concat(t.md.file.name),t.md.file.type.match(/(jpg|jpeg|png|gif)$/i)?p.fileType="image":-1!==["video/mp4","video/ogg","video/webm"].indexOf(t.md.file.mimeType)?p.fileType="video":-1!==["audio/mp3","audio/ogg","audio/mpeg","audio/wav"].indexOf(t.md.file.mimeType)?p.fileType="audio":p.fileType="other"),p=u(u({},p),{},{timeStamp:m,message:l,name:a,type:t.t,time:t.co,data:t.md,isPending:!m,senderType:t.ut,ownerId:r,profileImage:c,cver:t.cver,messageId:w,isCallView:h,callId:f,callData:null,surveyObj:d,rawMessage:t})}},{key:"parseText",value:function(e){if(e)return e=e.replace(n.a.regLineBreaks,n.a.br),e=this.createUrl(e.split(/\s/)," ")}},{key:"createUrl",value:function(e,t){var i,o,a,s=this,r=function(e){return s.parseUrl(e)},c=function(e){return s.parseEmail(e)};for(o=0,a=e.length;o<a;o++)-1!==e[o].indexOf(n.a.br)?(i=e[o].split(n.a.regBr),e[o]=this.createUrl(i,n.a.br)):e[o].match(n.a.regEmailMatch)?e[o]=e[o].replace(n.a.regEmailMatch,c):(e[o]=e[o].replace(n.a.regMatchUrl,r),e[o]=e[o].replace(n.a.regMatchIp,r));return e.join(t)}},{key:"parseUrl",value:function(e){var t,i="";if(void 0!==window.emojione&&window.emojione.unifyUnicode(e)!==e)return e;if(e.match(n.a.regEmailMatch)&&(i="mailto:"),"mailto:"===i)return-1!==(t=e.match(n.a.regEmailMatch)[0]).indexOf("mailto")&&(i=""),e.replace(n.a.regEmailMatch,'<a class="tawk-link" href="'+(i+t)+'" title="'+(i+t)+'" style="word-wrap:break-word; white-space:normal;>'+t+"</a> ");0!==e.toLowerCase().indexOf("http")&&0!==e.toLowerCase().indexOf("ftp")&&(i="http://");var o=this.parseUrlHostName(document.location.href),a=this.parseUrlHostName(e);return'<a class="tawk-link" target="'.concat(o===a?"_parent":"_blank",'" href="').concat(i+e,'" title="').concat(i+e,'" style="word-wrap:break-word; white-space:normal;">').concat(e,"</a> ")}},{key:"parseUrlHostName",value:function(e){var t=e.match(/:\/\/(www[0-9]?\.)?(.[^/:]+)/i);if(null!=t&&t.length>2&&"string"==typeof t[2]&&t[2].length>0)return t[2]}},{key:"parseEmail",value:function(e){var t="";return void 0!==window.emojione&&window.emojione.unifyUnicode(e)!==e?e:(-1===e.indexOf("mailto")&&(t="mailto:"),'<a href="'+(t+e)+'" title="'+(t+e)+'">'+e+"</a> ")}},{key:"parseSurvey",value:function(e){var t=[],i=e.match(this.regSurvey);if(!i)return null;for(var a=e.match(this.regSurveyQuestion),s=0,r=i.length;s<r;s++){var c=i[s].replace(this.regOption,"");c=c.replace(n.a.regBr,""),c=o.a.trim(c),t.push(c)}return{options:t,question:a[0].replace(this.regOption,"")}}},{key:"updateAgentPresence",value:function(e,t){return("AGENT_JOIN_CONVERSATION"===e.m||"AGENT_LEFT_CONVERSATION"===e.m)&&("AGENT_JOIN_CONVERSATION"===e.m?this.addAgentToList(e,t):this.removeAgentFromList(e,t))}},{key:"addAgentToList",value:function(t,i){var n=t.md||{},a=n.rsc,s=this.store.getters["chat/agents"][t],r={profileImage:n.pi?"".concat("https://s3.amazonaws.com/tawk-to-pi","/").concat(n.pi):"".concat("https://embed.tawk.to/_s/v4/assets","/images/default-profile.svg"),profileTitle:o.a.rawDecode(n.pst)||"",profileId:n.pid,displayName:t.n,count:1};if(s){if(!(s.seq.time<n.seq.time||s.seq.time===n.seq.time&&s.seq.inc<n.seq.inc))return;if(s.profileId===n.pid)return!1}i&&e.Tawk_Window.jsApi.triggerApiHandlers("onAgentJoinChat",{name:r.displayName,position:r.profileTitle,image:r.profileImage,id:t.uid}),this.store.dispatch("chat/agentJoined",{resourceId:a,agentData:n,profileData:r})}},{key:"removeAgentFromList",value:function(t,i){var n=t.md||{},o=n.rsc,a=this.store.getters["chat/agents"][o];if(!(!a||a.seq.time>n.seq.time||a.seq.time===n.seq.time&&a.seq.inc>n.seq.inc)){if(i){var s=this.store.getters["chat/agentProfile"](o);s&&e.Tawk_Window.jsApi.triggerApiHandlers("onAgentLeaveChat",{name:s.displayName,position:s.profileTitle,image:s.profileImage,id:t.uid})}this.store.dispatch("chat/agentLeft",{resourceId:o,agentData:n})}}},{key:"sendMessagePreview",value:function(t){var i,a=this,s=n.a.getTargetElement(t);if(13===t.keyCode&&!t.shiftKey&&!this.store.getters["browserData/mobileBrowserName"])return i=o.a.trim(s.value),s.value="",this.sendMessage(i);!this.keyDownTimeout&&this.store.getters["widget/showVisitorTyping"]&&(this.keyDownTimeout=setTimeout((function(){i=o.a.trim(s.value),void 0!==window.emojione&&(i=window.emojione.toShort(i)),e.Tawk_Window.app.$socket.publish("notifyMessagePreview",i),clearTimeout(a.keyDownTimeout),a.keyDownTimeout=null}),1e3))}},{key:"sendMessage",value:function(e,t){if(e=o.a.rawDecode(o.a.trim(e)),t=t||function(){},clearTimeout(this.keyDownTimeout),this.keyDownTimeout=0,!e)return!!t&&t();void 0!==window.emojione&&(e=window.emojione.toShort(e)),this.sendMessageToServer(e,t)}},{key:"sendMessageToServer",value:function(t,i){var n=this;i=i||function(){};var a=this.parseChatMessage({ut:"v",t:"c",m:o.a.rawEncode(t),co:null,uid:this.store.getters["visitor/visitorId"]});this.store.commit("chat/setOutgoingMessage",a),e.Tawk_Window.app.$socket.publish("sendChatMessage",t,(function(o,s,r){o?(a.sendFailed=!0,a.isPending=!1):(a.cver=r,a.timeStamp=new Date(s).getTime(),a.time=s,a.isPending=!1,a.rawMessage.co=s,a.sendFailed=!1,e.Tawk_Window.jsApi.triggerApiHandlers("onChatMessageVisitor",t),n.store.dispatch("session/addWaitTime"),n.store.dispatch("chat/outgoingChatMessage",a)),i()}))}},{key:"changeRating",value:function(t,i){var n,o="c",a=this.store.getters["widget/features"].emoji;this.store.getters["chat/rating"]===t&&(t=0),this.store.commit("chat/setRating",t),i||(e.Tawk_Window.app.$socket.publish("setRating",t),e.Tawk_Window.jsApi.triggerApiHandlers("onChatSatisfaction",t)),t<0?n=a&&void 0!==window.emojione?":thumbsdown_tone2:":"👎":t>0?n=a&&void 0!==window.emojione?":thumbsup_tone2:":"👍":(n=e.Tawk_Window.app.$i18n("chat","remove_rate"),o="n");var s=this.parseChatMessage({ut:"v",t:o,m:n,co:new Date,uid:this.store.getters["visitor/visitorId"]});i||(this.store.commit("chat/setOutgoingMessage",s),this.store.dispatch("chat/updateRatingMessage",s))}},{key:"uploadFiles",value:function(t){for(var i=this,n=[],o=[],c=[],u=function(e){var r=t[e],u={uuid:s.Helper.generateUUID(),handle:null,fileName:r.file.name,percentage:0,hasError:!1,fileData:r};return r.file.size>i.maxSizeFileUpload?(o.push(r.file.name),"continue"):e>=i.maxNumberFileUpload?(c.push(r),"continue"):(i.store.commit("chat/addFileUpload",u),void n.push(new Promise((function(e,t){a.a.getUploadHandler((function(t){u.handle=t,a.a.uploadFile(t,i.store.getters["session/sessionKey"],r.file,(function(t){e(t),i.store.commit("chat/removeFileUpload",u.uuid)}))}),t)}))))},l=0;l<t.length;l++)u(l);o.length&&e.Tawk_Window.eventBus.$emit("tooBigFileList",o),Object(r.a)(n).then((function(t){for(var n=0;n<t.length;n++){var o=t[n];if("fulfilled"===o.status&&o.value)!function(){var t={fileName:o.value.filename,name:o.value.name,type:o.value.extension,mimeType:o.value.mimeType,size:o.value.size};e.Tawk_Window.app.$socket.publish("fileUploadMessage",t,(function(n,o,a){if(!n){var s=i.parseChatMessage({ut:"v",t:"c",m:"FILE",co:o,uid:i.store.getters["visitor/visitorId"],md:{file:t},cver:a});i.store.commit("chat/setOutgoingMessage",s),i.store.dispatch("chat/outgoingChatMessage",s),e.Tawk_Window.jsApi.triggerApiHandlers("onFileUpload","https://tawkto.link/"+t.name)}}))}();else i.store.getters["chat/uploadFiles"].forEach((function(e){e.hasError||(e.hasError=!0)}))}}))}},{key:"callStatusUpdate",value:function(t){var i=this,n=this.store.getters["chat/callData"](t.clid);n||(n={callId:t.clid,status:t.stts,version:t.ver,isMissed:t.mssd,isRejected:t.rjctd,isRinging:"ringing"===t.stts,isDone:"completed"===t.stts,isVideo:!!t.f&&t.f.vid,isScreenshare:!!t.f&&t.f.scrn,hasError:!1},this.store.dispatch("chat/updateCallData",n)),e.Tawk_Window.app.$socket.publish("getCallStatus",{callId:t.clid},(function(t,o){if(t||!o.data.call.f||n.version>o.data.call.ver)return n.hasError=!0,void i.store.dispatch("chat/updateCallData",n);var a,s=o.data.call;("a"!==s.cllr.t||(a=i.store.getters["chat/agentProfile"](s.cllr.urid)))&&((n={callId:s.clid,status:s.stts,version:s.ver,isMissed:s.mssd,isRejected:s.rjctd,isRinging:"ringing"===s.stts,isDone:"completed"===s.stts,isVideo:s.f.vid,isScreenshare:s.f.scrn,hasError:!1,caller:a||s.cllr,startedAt:s.so,endedAt:s.eo}).isRinging&&n.caller&&"a"===s.cllr.t?i.store.commit("chat/setIncomingCall",n):n.isDone&&i.store.getters["chat/incomingCall"]&&i.store.getters["chat/incomingCall"].callId==n.callId&&i.store.commit("chat/setIncomingCall",null),i.store.dispatch("chat/updateCallData",n),e.Tawk_Window.eventBus.$emit("callDataUpdated",n))}))}},{key:"acceptCall",value:function(){var t=this;this.store.getters["browserData/isWebRTCAvailable"]&&(this.webrtcWin=window.open("",""),e.Tawk_Window.app.$socket.publish("getWebRTCToken",{},(function(e,i){t.store.commit("chat/setIncomingCall",null),e&&t.webrtcWin.close(),t.webrtcWin.location.href="".concat("https://video.tawk.to","/v2/call?token=").concat(i.data.token)})))}},{key:"declineCall",value:function(t){var i=this,n={callId:t};e.Tawk_Window.app.$socket.publish("declineCall",n,(function(){i.store.commit("chat/setIncomingCall",null)}))}},{key:"initiateCall",value:function(t,i){var n=this;this.webrtcWin=window.open("",""),e.Tawk_Window.app.$socket.publish("getWebRTCToken",{video:t,screen:i},(function(e,t){e&&n.webrtcWin.close(),n.webrtcWin.location.href="".concat("https://video.tawk.to","/v2/call?token=").concat(t.data.token)}))}},{key:"clearUnseenNotification",value:function(){this.store.dispatch("chat/clearUnseenMessages"),e.Tawk_Window.jsApi.triggerApiHandlers("onUnreadCountChanged",this.store.getters["chat/unreadMessageCount"])}},{key:"updateFileProgress",value:function(e,t,i){for(var n,o=this.store.getters["chat/uploadFiles"],a=0;a<o.length;a++)if(o[a].handle===e.handle){t?o.splice(a,1):n=o[a];break}n&&(i?n.hasError=!0:n.percentage=e.progress)}},{key:"sendApiEvent",value:function(t,i,n){var o;"function"==typeof i&&(n=i,i=null),n=n||function(){},(o=e.Tawk_Window.jsApi.secureWrapper({})).name=t,o.data=i,e.Tawk_Window.app.$socket.publish("addEvent",o,n)}},{key:"sendApiAttributes",value:function(t,i){var n=this;i=i||function(){},t=e.Tawk_Window.jsApi.secureWrapper(t),e.Tawk_Window.app.$socket.publish("setAttributes",t,(function(e){e||(t.name||t.email)&&n.store.dispatch("visitor/updateVisitorInformation",{n:t.name||void 0,e:t.email||void 0}),i(e)}))}},{key:"addTags",value:function(t,i){var n;i=i||function(){},(n=e.Tawk_Window.jsApi.secureWrapper({})).tags=t,e.Tawk_Window.app.$socket.publish("addTags",n,i)}},{key:"removeTags",value:function(t,i){var n;i=i||function(){},(n=e.Tawk_Window.jsApi.secureWrapper({})).tags=t,e.Tawk_Window.app.$socket.publish("removeTags",n,i)}}]),t}()}).call(this,i("c8ba"))},"0ad2":function(e,t,i){"use strict";(function(e){function n(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}i.d(t,"a",(function(){return o}));var o=function(){function t(e){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,t),this.store=e,this.incomingMessage=null,this.audioContext=null,this.isReadyForInit=!1,this.play=null,this.soundEl=null,this.soundFile="".concat("https://embed.tawk.to/_s/v4/assets","/audio/chat_sound.mp3")}return function(e,t,i){t&&n(e.prototype,t),i&&n(e,i)}(t,[{key:"init",value:function(){var e,t=this,i=this.store.getters["browserData/html5audio"];i&&i.supported&&(this.audioContext||/Firefox/.test(navigator.userAgent)||"undefined"==typeof AudioBuffer||void 0===window.AudioContext&&void 0===window.webkitAudioContext||(window.AudioContext=window.AudioContext||window.webkitAudioContext,this.audioContext=new window.AudioContext),this.audioContext?this.incomingMessage=this.audioContextPlayer():this.incomingMessage=this.htmlAudioPlayer(),this.audioContext&&(e=function(){t.isReadyForInit&&!t.touchstartInited&&(t.incomingMessage.volume=0,t.incomingMessage.play(),t.incomingMessage.source.stop(0),t.incomingMessage.volume=1,window&&"function"==typeof window.removeEventListener&&window.removeEventListener("touchstart",e,{passive:!0}),t.touchstartInited=!0)},this.store.getters["browserData/mobileBrowserName"]&&"ontouchstart"in window&&window.addEventListener("touchstart",e,{passive:!0})))}},{key:"playSound",value:function(){e.Tawk_Window.jsApi.local_API.disableSound||this.store.getters["widget/isSoundEnabled"]&&this.store.getters["widget/localSoundEnabled"]&&this.incomingMessage&&this.incomingMessage.play()}},{key:"audioContextPlayer",value:function(){var e=this,t={sourcePath:e.soundFile,buffer:null,source:null,volume:1,play:function(){if(this.buffer){var t=e.audioContext.createGain();t.gain.value=this.volume,this.source=e.audioContext.createBufferSource(),this.source.buffer=this.buffer,this.source.connect(t),t.connect(e.audioContext.destination),this.source.start(0)}},loadBuffer:function(){var t=this,i=new XMLHttpRequest;i.open("GET",this.sourcePath,!0),i.responseType="arraybuffer",i.onload=function(){e.audioContext.decodeAudioData(i.response,(function(i){i&&(t.buffer=i,e.isReadyForInit||(e.isReadyForInit=!0))}),(function(e){throw new Error(e)}))},i.onerror=function(){throw new Error("BufferLoader: XHR error for "+this.sourcePath)},i.send()}};return t.loadBuffer(),t}},{key:"htmlAudioPlayer",value:function(){var e={};if("symbian"!==this.store.getters["browserData/mobileBrowserName"])return"safari"===this.store.getters["browserData/mobileBrowserName"]?(e.sound=document.createElement("audio"),e.sound.src=this.soundFile,e.sound.style.cssText="position: absolute; position: absolute; width: 0px; height: 0px; top: -10000px; left: -10000px;",document.body.appendChild(e.sound)):e.sound=new Audio(this.soundFile),e.sound.addEventListener("timeupdate",(function(){e.sound.currentTime>=.2&&e.sound.pause()}),!1),e.sound.load(),e.play=function(){try{this.sound.currentTime=0,this.sound.autoplay=!0,this.sound.load(),this.sound.play()}catch(e){}},e;e.play=function(){}}}]),t}()}).call(this,i("c8ba"))},"0dc3":function(e,t,i){"use strict";i.r(t);t.default={namespaced:!0,state:{isIe:!1,html5audio:null,mobileBrowserName:null,searchEngine:null,vendor:null,version:null,isWebRTCAvailable:!0,os:null},getters:{isIE:function(e){return e.isIE},html5audio:function(e){return e.html5audio},mobileBrowserName:function(e){return e.mobileBrowserName},searchEngine:function(e){return e.searchEngine},vendor:function(e){return e.vendor},version:function(e){return e.version},isWebRTCAvailable:function(e){return e.isWebRTCAvailable},os:function(e){return e.os}},actions:{updateInitialData:function(e,t){(0,e.commit)("setInitialData",t)},resetState:function(e){(0,e.commit)("unsetData")}},mutations:{setInitialData:function(e,t){e.vendor=t.vendor,e.version=t.version,e.isIE=t.isIE,e.mobileBrowserName=t.mobileBrowserName,e.html5audio=t.html5audio,e.searchEngine=t.searchEngine,e.isWebRTCAvailable=t.isWebRTCAvailable,e.os=t.os},setMobileBrowserName:function(e,t){e.mobileBrowserName=t},unsetData:function(e){for(var t={isIe:!1,html5audio:null,mobileBrowserName:null,searchEngine:null,vendor:null,version:null,isWebRTCAvailable:!0,os:null},i=Object.keys(t),n=0;n<i.length;n++){var o=i[n];e[o]=t[o]}}}}},"24ca":function(e,t,i){"use strict";var n=new(i("2b0e").a);t.a=n},"27a6":function(e,t,i){"use strict";i.d(t,"a",(function(){return n}));var n=function(e){var t=e.map((function(e){return e.then((function(e){return{status:"fulfilled",value:e}})).catch((function(e){return{status:"rejected",reason:e}}))}));return Promise.all(t)}},"27c6":function(e,t,i){"use strict";function n(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}i.d(t,"a",(function(){return o}));var o=function(){function e(t){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),this.store=t,this.setupTimeout=null,this.agentCountSubscription=null,this.originalPageStatus=null,this.utcOffset=0,this.isSetup=!1,this.agentCountListener=null,this.isCleanedUp=!1}return function(e,t,i){t&&n(e.prototype,t),i&&n(e,i)}(e,[{key:"setup",value:function(){this.clear(),this.isCleanedUp=!1,null===this.originalPageStatus&&(this.originalPageStatus=this.store.getters["session/pageStatus"]),this.store.getters["schedule/isEnabled"]?(this.utcOffset=-1*((new Date).getTime()-this.store.getters["schedule/timezone"].utc),this.isSetup=!0,this.calculate()):this.store.dispatch("session/updatePageStatus",this.originalPageStatus)}},{key:"clear",value:function(){clearTimeout(this.setupTimeout),this.setupTimeout=null}},{key:"cleanUp",value:function(){this.clear(),this.originalPageStatus=null,this.isSetup=!1,this.unwatchAgentCount(),this.isCleanedUp=!0}},{key:"calculate",value:function(){var e=this;if(this.clear(),this.isCleanedUp)return this.setup();if(this.isSetup&&this.store.getters["schedule/isEnabled"]){var t=this.store.getters["schedule/slots"];if(0!==t.length){for(var i,n,o,a=new Date,s=-6e4*a.getTimezoneOffset(),r=this.store.getters["schedule/timezone"].tzo-s,c=new Date(a.getTime()+this.utcOffset+r),u=c.getDay(),l=60*c.getHours()+c.getMinutes(),d=60*l+c.getSeconds(),h=0;h<t.length;h++){var f=t[h];if(f.day===u){if(l>=f.start&&l<f.end){i=f;break}if(l<f.start){n=f;break}}}void 0!==i?(this.goOnline(),o=60*i.end-d):(this.goOffline(),o=void 0!==n?60*n.start-d:86400-d+1),void 0!==o&&(this.setupTimeout=setTimeout((function(){e.calculate()}),1e3*o))}else this.goOffline()}}},{key:"goOnline",value:function(){this.unwatchAgentCount(),this.originalPageStatus&&this.store.dispatch("session/updatePageStatus",this.originalPageStatus)}},{key:"goOffline",value:function(){var e=this;0===this.store.getters["chat/agentsCount"]&&this.store.dispatch("session/updatePageStatus","offline"),this.agentCountListener=this.store.watch((function(e){return e.chat.agentsCount}),(function(t){0===t&&e.store.dispatch("session/updatePageStatus","offline")}))}},{key:"unwatchAgentCount",value:function(){"function"==typeof this.agentCountListener&&(this.agentCountListener(),this.agentCountListener=null)}}]),e}()},"284b":function(e,t,i){"use strict";i.r(t);t.default={namespaced:!0,state:{isOpen:!1},getters:{isOpen:function(e){return e.isOpen}},actions:{showOverlay:function(e,t){var i=e.commit;e.state.isOpen!==t&&i("setOverlayOpen",t)},resetState:function(e){(0,e.commit)("unsetData")}},mutations:{setOverlayOpen:function(e,t){e.isOpen=t},unsetData:function(e){for(var t={isOpen:!1},i=Object.keys(t),n=0;n<i.length;n++){var o=i[n];e[o]=t[o]}}}}},"32d9":function(e,t,i){"use strict";i.r(t),function(e){t.default={namespaced:!0,state:function(){return{branding:{},components:{},consentData:{},desktopVisibility:{},id:null,isWindowed:!1,generalVisibility:{},maxDesktop:{},minDesktop:{},minMobile:{},mobileVisibility:{},onClick:"max",show:null,states:{},theme:{},type:"inline",version:void 0,bubble:{},isRTL:!1,yOffset:0,xOffsetMobile:0,yOffsetMobile:0,xOffset:0,language:"en",notification:{},features:{},webrtcOptions:{},isEmbedded:!1,localSoundEnabled:!0,zoomRatio:1,toolbarOptions:{showAgentAvatars:!1},isMobileLandscape:!1,isFocus:!0,isPopout:!1}},getters:{branding:function(e){return e.branding},consentData:function(e){return e.consentData},desktopVisibility:function(e){return e.desktopVisibility},generalVisibility:function(e){return e.generalVisibility},headerBgColor:function(e){return e.theme.header.background},headerTxtColor:function(e){return e.theme.header.text},id:function(e){return e.id},isRight:function(t,i,n){var o,a,s,r=["br","cr","tr"],c=null===(o=e.Tawk_Window.jsApi)||void 0===o||null===(a=o.local_API)||void 0===a||null===(s=a.customStyle)||void 0===s?void 0:s.visibility;return n.browserData.mobileBrowserName?c&&c.mobile&&c.mobile.position?-1!==r.indexOf(c.mobile.position):-1!==r.indexOf(t.mobileVisibility.position):c&&c.desktop&&c.desktop.position?-1!==r.indexOf(c.desktop.position):-1!==r.indexOf(t.desktopVisibility.position)},isBottom:function(t,i,n){var o,a,s,r=["br","bl"],c=null===(o=e.Tawk_Window.jsApi)||void 0===o||null===(a=o.local_API)||void 0===a||null===(s=a.customStyle)||void 0===s?void 0:s.visibility;return n.browserData.mobileBrowserName?c&&c.mobile&&c.mobile.position?-1!==r.indexOf(c.mobile.position):-1!==r.indexOf(t.mobileVisibility.position):c&&c.desktop&&c.desktop.position?-1!==r.indexOf(c.desktop.position):-1!==r.indexOf(t.desktopVisibility.position)},isCenter:function(t,i,n){var o,a,s,r=["cr","cl"],c=null===(o=e.Tawk_Window.jsApi)||void 0===o||null===(a=o.local_API)||void 0===a||null===(s=a.customStyle)||void 0===s?void 0:s.visibility;return n.browserData.mobileBrowserName?c&&c.mobile&&c.mobile.position?-1!==r.indexOf(c.mobile.position):-1!==r.indexOf(t.mobileVisibility.position):c&&c.desktop&&c.desktop.position?-1!==r.indexOf(c.desktop.position):-1!==r.indexOf(t.desktopVisibility.position)},isWindowed:function(e){return e.isWindowed},isRoundWidget:function(e,t,i){return i.browserData.mobileBrowserName?"round"===e.minMobile.type:"round"===e.minDesktop.type},maxDesktop:function(e){return e.maxDesktop},minDesktop:function(e){return e.minDesktop},mobileVisibility:function(e){return e.mobileVisibility},states:function(e){return e.states},version:function(e){return e.version},yOffset:function(e){return e.yOffset},xOffset:function(e){return e.xOffset},yOffsetMobile:function(e){return e.yOffsetMobile},xOffsetMobile:function(e){return e.xOffsetMobile},isRTL:function(e){return e.isRTL},bubble:function(e){return e.bubble},showMessagePreview:function(e,t,i){return i.browserData.mobileBrowserName?e.notification.mobile.preview:e.notification.desktop.preview},features:function(e){return e.features},showVisitorTyping:function(e){return e.notification.all.visitorTyping},webrtcOptions:function(e){return e.webrtcOptions},language:function(e){return e.language},visitorBgColor:function(e){return e.theme.visitor.messageBackground},visitorTxtColor:function(e){return e.theme.visitor.messageText},agentBgColor:function(e){return e.theme.agent.messageBackground},agentTxtColor:function(e){return e.theme.agent.messageText},showEstimatedWaitTime:function(e){return e.notification&&e.notification.all&&e.notification.all.estimatedWaitTime},showAgentTyping:function(e){return e.notification&&e.notification.all&&e.notification.all.agentTyping},isPrechatEnabled:function(e){return e.states.prechat&&e.states.prechat.handlers&&e.states.prechat.handlers.form},isEmbedded:function(e){return e.isEmbedded},isSoundEnabled:function(e){return e.notification&&e.notification.all&&e.notification.all.sound&&e.localSoundEnabled},localSoundEnabled:function(e){return e.localSoundEnabled},show:function(e){return e.show},onClick:function(e){return e.onClick},isVisible:function(e,t,i){return null!==t.show?e.show:!("offline"===i.session.pageStatus&&!t.generalVisibility.showWhenOffline)&&(i.browserData.mobileBrowserName?e.mobileVisibility.show:e.desktopVisibility.show)},showTitleNotification:function(e){return!(!e.notification||!e.notification.all)&&e.notification.all.tab},hasLiveChat:function(e){return e.components.liveChat},minMobile:function(e){return e.minMobile},zoomRatio:function(e){return e.zoomRatio},components:function(e){return e.components},emailTranscriptEnabled:function(e){return e.features.transcript},emojiEnabled:function(e){return e.features&&e.features.emoji},toolbarOptions:function(e){return e.toolbarOptions},isMobileLandscape:function(e){return e.isMobileLandscape},isFocus:function(e){return e.isFocus},isPopout:function(e){return e.isPopout}},actions:{toggleVisibility:function(e){(0,e.commit)("setVisibility",!e.state.show)},updateBranding:function(e,t){(0,e.commit)("setBranding",t)},updateId:function(e,t){(0,e.commit)("setId",t)},toggleLocalSound:function(t,i){var n=t.state;void 0!==i?n.localSoundEnabled=i:(n.localSoundEnabled=!n.localSoundEnabled,e.Tawk_Window.app.$socket.publish("toggleSound",n.localSoundEnabled))},resetState:function(e){(0,e.commit)("unsetData")},toggleAgentAvatarToolbar:function(e,t){(0,e.commit)("setAgentAvatarToolbar",t)},updateMobileLandscape:function(e,t){(0,e.commit)("setMobileLandscape",t)},toggleFocus:function(e,t){(0,e.commit)("setFocus",t)}},mutations:{setBranding:function(e,t){e.branding=t},setId:function(e,t){e.id=t},setData:function(e,t){e.version=t.version,e.onClick=t.behavior.click,e.components=t.components,e.theme=t.theme,e.states=t.states,e.bubble=t.bubble,e.maxDesktop={width:parseInt(t.maximized.desktop.width,10)||350,height:parseInt(t.maximized.desktop.height,10)||520},e.minDesktop=t.minimized.desktop,"rectangle"===t.minimized.desktop.type?(e.minDesktop.width=parseInt(t.minimized.desktop.width,10)||320,e.minDesktop.height=parseInt(t.minimized.desktop.height,10)||40,e.yOffset=0,e.xOffset=10):(e.minDesktop.width=60,e.minDesktop.height=60,e.yOffset=20,e.xOffset=20),e.minMobile=t.minimized.mobile,"rectangle"===t.minimized.mobile.type?(e.minMobile.width=110,e.minMobile.height=48,e.yOffsetMobile=15,e.xOffsetMobile=15):(e.minMobile.width=60,e.minMobile.height=60,e.yOffsetMobile=20,e.xOffsetMobile=20),e.generalVisibility=t.visibility.all,e.desktopVisibility=t.visibility.desktop,e.mobileVisibility=t.visibility.mobile,e.consentData=t.consent,e.language=t.language,e.isRTL=-1!==["ar","he","fa"].indexOf(t.language),e.notification=t.notification,e.features=t.features,e.bubble&&"image"===e.bubble.type&&e.bubble.config&&"gallery"===e.bubble.config.image.type&&(e.bubble.config.offsetX-=e.xOffset,"cr"!==e.desktopVisibility.position&&"cl"!==e.desktopVisibility.position&&(e.bubble.config.offsetY-=e.yOffset)),t.scheduler&&t.scheduler.config?this.dispatch("schedule/addSlots",t.scheduler):this.dispatch("schedule/addSlots")},setVisibility:function(t,i){t.show=i,t.show||e.Tawk_Window.jsApi.triggerApiHandlers("onChatHidden")},setWebrtcOptions:function(e,t){e.webrtcOptions=t},setIsWindowed:function(e,t){e.isWindowed=t},setIsEmbedded:function(e,t){e.isEmbedded=t},setZoomRatio:function(e,t){e.zoomRatio=t},unsetData:function(e){e.localSoundEnabled=!0},setAgentAvatarToolbar:function(e,t){e.toolbarOptions.showAgentAvatars=t},setMobileLandscape:function(e,t){e.isMobileLandscape=t},setFocus:function(e,t){e.isFocus=t},setIsPopout:function(e,t){e.isPopout=t}}}}.call(this,i("c8ba"))},"3b35":function(e,t,i){"use strict";i.r(t),function(e){var n=i("a34a"),o=i.n(n),a=i("7f46");function s(e,t,i,n,o,a,s){try{var r=e[a](s),c=r.value}catch(e){return void i(e)}r.done?t(c):Promise.resolve(c).then(n,o)}function r(e){return function(){var t=this,i=arguments;return new Promise((function(n,o){var a=e.apply(t,i);function r(e){s(a,n,o,r,c,"next",e)}function c(e){s(a,n,o,r,c,"throw",e)}r(void 0)}))}}function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}t.default={namespaced:!0,state:{chatBubbleClosed:!1,chatWindowState:"min",departments:[],isWindowFocused:!1,needConsent:!1,pageStatus:"online",pageStatusVersion:0,prechatFormSubmitted:!1,previousSessionKey:null,restarted:!1,sessionKey:"",visitorSocketServer:"",waitTime:6e4,lastMessageTimestamp:0,token:null,tokenExpiry:0,isInactive:null,originalPageTitle:null,pageReferrer:null,waitTimeTimeout:null,waitTimeFirstTime:!1,waitTimeInitialized:!1,isReconnecting:!1,isNotValidEmail:null},getters:{chatBubbleClosed:function(e){return e.chatBubbleClosed},chatWindowState:function(e){return e.chatWindowState},isWindowFocused:function(e){return e.isWindowFocused},previousSessionKey:function(e){return e.previousSessionKey},pageStatus:function(e){return e.pageStatus},pageStatusVersion:function(e){return e.pageStatusVersion},sessionKey:function(e){return e.sessionKey},visitorSocketServer:function(e){return e.visitorSocketServer},prechatFormSubmitted:function(e){return e.prechatFormSubmitted},lastMessageTimestamp:function(e){return e.lastMessageTimestamp},token:function(e){return e.token},departments:function(e){return e.departments},waitTime:function(e){return e.waitTime},needConsent:function(e){return e.needConsent},isInactive:function(e){return e.isInactive},originalPageTitle:function(e){return e.originalPageTitle},isReconnecting:function(e){return e.isReconnecting},isNotValidEmail:function(e){return e.isNotValidEmail}},actions:{closeChatBubble:function(t,i){(0,t.commit)("setChatBubbleClosed",!0),i||e.Tawk_Window.app.$socket.publish("notifyChatBubbleClosed")},sendNavigationEvent:function(t){var i=t.state,n=t.rootGetters;e.Tawk_Window.webStorage.sessionStore.getItem("previousNav")!==window.location.href&&setTimeout((function(){var t={u:window.location.href,t:document.title};null!==n["session/originalPageTitle"]&&(t.t=n["session/originalPageTitle"]),document.referrer&&i.pageReferrer!==document.referrer&&(i.pageReferrer=document.referrer,t.r=document.referrer),e.Tawk_Window.app.$socket.publish("nav",t),e.Tawk_Window.webStorage.sessionStore.setItem("previousNav",t.u)}),500)},setPageStatus:function(t,i){var n,o=t.state,s=t.commit;i&&((n=i.ast)&&a.a.isString(n)&&(!i.dptst||Array.isArray(i.dptst))&&i.asver>o.pageStatusVersion&&(e.Tawk_Window.scheduler.originalPageStatus=i.ast,o.pageStatusVersion=i.asver,s("setDepartment",i.dptst),o.pageStatus=i.ast,e.Tawk_Window.scheduler.calculate(),e.Tawk_Window.jsApi.triggerApiHandlers("onStatusChange",o.pageStatus)))},toggleWidget:function(e){var t=e.dispatch,i=e.state;e.rootGetters["widget/isWindowed"]?window.close():"min"===i.chatWindowState?t("updateChatWindowState","max"):t("updateChatWindowState","min")},updateChatWindowState:function(t,i){var n=t.commit,o=t.state,a=t.rootGetters;o.chatWindowState!==i&&(n("setChatWindowState",i),"max"===i&&"pop"===a["widget/onClick"]||("max"===i?e.Tawk_Window.jsApi.triggerApiHandlers("onChatMaximized"):"min"===i&&e.Tawk_Window.jsApi.triggerApiHandlers("onChatMinimized"),e.Tawk_Window.app.$socket.publish("notifyWindowState",i)))},updateConnectionData:function(t,i){var n=t.state,o=t.commit,a=t.dispatch;void 0!==c(i.vss)&&o("setVisitorSocketServer",i.vss),void 0!==c(i.sk)&&(n.sessionKey&&n.sessionKey!==i.sk&&(e.Tawk_Window.webStorage.sessionStore.setItem("previousNav",null),a("router/routerPush","/",{root:!0})),o("setSessionKey",i.sk))},updateConsentFlag:function(e,t){(0,e.commit)("setConsentFlag",t)},updatePrechatSubmitted:function(e,t){(0,e.commit)("setPrechatSubmitted",t)},updatePreviousSessionKey:function(e,t){(0,e.commit)("setPreviousSessionKey",t)},updateIsWindowFocused:function(e,t){(0,e.commit)("setIsWindowFocused",t)},updateToken:function(t,i){var n=t.state,o=new Date;o.setSeconds(i.expiry),i.token?(n.token=i.token,e.Tawk_Window.sessionManager.storeToken(i.token)):n.token=e.Tawk_Window.sessionManager.getStoredToken(),n.tokenExpiry=o.getTime()},retrieveNewToken:function(t){return r(o.a.mark((function i(){var n;return o.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return n=t.dispatch,i.abrupt("return",new Promise((function(t,i){e.Tawk_Window.register.init((function(e){n("updateToken",{token:e.tkn,expiry:e.tknExp}),t()}),i)})));case 2:case"end":return i.stop()}}),i)})))()},updateVisitorChatSeen:function(t,i){(0,t.commit)("setLastMessageTimestamp",i),e.Tawk_Window.app.$socket.publish("visitorChatSeen",{timestamp:i},(function(){}))},resetState:function(e){var t=e.commit,i=e.state;t("unsetData"),clearTimeout(i.waitTimeTimeout),t("setWaitTimeFirstTime",!1),t("setWaitTimeInitialized",!1)},updateWaitTime:function(e,t){(0,e.commit)("setWaitTime",t)},addWaitTime:function(e){var t=e.commit,i=e.state,n=e.dispatch;i.waitTimeInitialized||(t("setWaitTimeInitialized",!0),n("waitTimeUpdater"))},waitTimeUpdater:function(e){var t=e.commit,i=e.state,n=e.dispatch;clearTimeout(i.waitTimeTimeout),i.waitTime<=6e4||(i.waitTimeFirstTime?(t("setWaitTime",i.waitTime-6e4),i.waitTimeTimeout=setTimeout((function(){n("waitTimeUpdater")}),6e4)):(t("setWaitTimeFirstTime",!0),i.waitTimeTimeout=setTimeout((function(){n("waitTimeUpdater")}),6e4)))},updatePageStatus:function(e,t){var i=e.state;t&&(i.pageStatus=t)},checkTokenValidity:function(e){return r(o.a.mark((function t(){var i,n;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=e.dispatch,n=e.state,!((new Date).getTime()>=n.tokenExpiry)){t.next=5;break}return t.next=5,i("retrieveNewToken");case 5:return t.abrupt("return");case 6:case"end":return t.stop()}}),t)})))()},reconnectSession:function(e,t){e.state.isReconnecting=!!t}},mutations:{setChatBubbleClosed:function(e,t){e.chatBubbleClosed=t},setVisitorSocketServer:function(e,t){e.visitorSocketServer=t},setSessionKey:function(e,t){e.sessionKey=t},setConsentFlag:function(e,t){e.needConsent=t},setPreviousSessionKey:function(e,t){e.previousSessionKey=t},setChatWindowState:function(e,t){e.chatWindowState=t},setIsWindowFocused:function(e,t){e.isWindowFocused=t},setPrechatSubmitted:function(e,t){e.prechatFormSubmitted=t},setLastMessageTimestamp:function(e,t){e.lastMessageTimestamp=t},setWaitTime:function(e,t){e.waitTime=t},setIsInactive:function(t,i){t.isInactive=i,e.Tawk_Window.webStorage.sessionStore.setItem("previousNav",null)},setOriginalPageTitle:function(e,t){e.originalPageTitle=t},setWaitTimeFirstTime:function(e,t){e.waitTimeFirstTime=t},setWaitTimeInitialized:function(e,t){e.waitTimeInitialized=t},setDepartment:function(e,t){e.departments=t},unsetData:function(e){for(var t={chatBubbleClosed:!1,chatWindowState:"min",departments:[],isWindowFocused:!1,needConsent:!1,pageStatus:"online",pageStatusVersion:0,prechatFormSubmitted:!1,previousSessionKey:null,restarted:!1,sessionKey:"",visitorSocketServer:"",waitTime:6e4,lastMessageTimestamp:0,token:null,tokenExpiry:0,isInactive:null,originalPageTitle:null,pageReferrer:null,waitTimeTimeout:null,waitTimeFirstTime:!1,waitTimeInitialized:!1,isReconnecting:!1,isNotValidEmail:null},i=Object.keys(t),n=0;n<i.length;n++){var o=i[n];"pageStatus"!==o&&(e[o]=t[o])}},setIsNotValidEmail:function(e,t){e.isNotValidEmail=t}}}}.call(this,i("c8ba"))},"3dfd":function(e,t,i){"use strict";var n=i("e8cc").a,o=i("2877"),a=Object(o.a)(n,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{style:e.isVisible?"display: block !important":"display: none !important",attrs:{id:e.elementId}},[i("div",{attrs:{id:"min-widget"}}),i("div",{attrs:{id:"max-widget"}}),i("div",{attrs:{id:"message-preview"}}),i("div",{attrs:{id:"chat-bubble"}})])}),[],!1,null,null,null);t.a=a.exports},4360:function(e,t,i){"use strict";var n=i("2b0e"),o=i("2f62");function a(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,n)}return i}function s(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}i("cca6");var r={},c={modules:{}};!function(){var e=i("c3e1");e.keys().forEach((function(t){var i=e(t);if(r[t]!==i){r[t]=i;var n=t.replace(/^\.\//,"").replace(/\.\w+$/,"").split(/\//).map((function(e){var t,i,n=e.split("-");n.length&&((t=n.splice(0,1)).length&&(i=(t=t[0].toLowerCase()).charAt(0).toLowerCase()+t.slice(1)));for(var o=0;o<n.length;o++){var a=n[o].toLowerCase();i+=a.charAt(0).toUpperCase()+a.slice(1)}return i})),o={};o[n.pop()]=function(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?a(Object(i),!0).forEach((function(t){s(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):a(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}({},i.default),c.modules=Object.assign(o,c.modules)}}))}();var u=c.modules;n.a.use(o.a),void 0!==window.Prototype&&"string"==typeof window.Prototype.Version&&parseFloat(window.Prototype.Version.substr(0,3),10)<=1.6&&Object.defineProperty(Array.prototype,"reduce",{value:function(e){if(null===this)throw new TypeError("Array.prototype.reduce called on null or undefined");if("function"!=typeof e)throw new TypeError("".concat(e," is not a function"));var t,i=Object(this),n=i.length>>>0,o=0;if(arguments.length>=2)t=arguments[1];else{for(;o<n&&!(o in i);)o++;if(o>=n)throw new TypeError("Reduce of empty array with no initial value");t=i[o++]}for(;o<n;)o in i&&(t=e(t,i[o],o,i)),o++;return t}}),t.a=new o.a.Store({actions:{reset:function(e){for(var t=e.dispatch,i=Object.keys(u),n=0;n<i.length;n++){var o=i[n];t("".concat(o,"/resetState"))}}},modules:u})},"43af":function(e,t,i){"use strict";(function(e){i.d(t,"a",(function(){return a}));var n=i("bdd0");function o(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var a=function(){function t(e){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,t),this.store=e,this.languageScript}return function(e,t,i){t&&o(e.prototype,t),i&&o(e,i)}(t,[{key:"getSettings",value:function(e,t){var i=this;n.a.get("".concat("https://va.tawk.to","/v1/widget-settings"),{propertyId:this.store.getters["property/id"],widgetId:this.store.getters["widget/id"],sv:this.version},null,(function(n,o){if(n)return t(n);i.languageScript&&i.languageScript.parentNode&&i.languageScript.parentNode.removeChild(i.languageScript),i.languageScript=document.createElement("script"),document.body.appendChild(i.languageScript),i.languageScript.onload=function(){i.processSettings(o.data),e(o.data.settingsVersion)},i.languageScript.async=!0,i.languageScript.charset="UTF-8",i.languageScript.src="".concat("https://embed.tawk.to/_s/v4/app/62786da9800","/languages/").concat(o.data.widget.language,".js")}))}},{key:"processSettings",value:function(e){e&&(this.version=e.settingsVersion,this.store.commit("widget/setData",e.widget),this.store.commit("widget/setWebrtcOptions",e.webrtc),this.store.dispatch("widget/updateBranding",e.branding))}},{key:"xOffset",value:function(){var t,i,n,o,a=null===(t=e.Tawk_Window.jsApi)||void 0===t||null===(i=t.local_API)||void 0===i||null===(n=i.customStyle)||void 0===n?void 0:n.visibility;if(void 0!==(null==a||null===(o=a.desktop)||void 0===o?void 0:o.xOffset)){var s=a.desktop.xOffset;if("string"==typeof s&&(s=parseInt(a.desktop.xOffset.replace("px",""),10)),!isNaN(s))return s}return this.store.getters["widget/isCenter"]&&!this.store.getters["widget/isRoundWidget"]?0:this.store.getters["widget/xOffset"]}},{key:"yOffset",value:function(){var t,i,n,o,a=null===(t=e.Tawk_Window.jsApi)||void 0===t||null===(i=t.local_API)||void 0===i||null===(n=i.customStyle)||void 0===n?void 0:n.visibility;if(void 0!==(null==a||null===(o=a.desktop)||void 0===o?void 0:o.yOffset)){var s=a.desktop.yOffset;if("string"==typeof s&&(s=parseInt(a.desktop.yOffset.replace("px",""),10)),!isNaN(s))return s}return this.store.getters["widget/isCenter"]?0:this.store.getters["widget/yOffset"]}},{key:"xOffsetMobile",value:function(){var t,i,n,o,a=null===(t=e.Tawk_Window.jsApi)||void 0===t||null===(i=t.local_API)||void 0===i||null===(n=i.customStyle)||void 0===n?void 0:n.visibility;if(void 0!==(null==a||null===(o=a.mobile)||void 0===o?void 0:o.xOffset)){var s=a.mobile.xOffset;if("string"==typeof s&&(s=parseInt(s.replace("px",""),10)),!isNaN(s))return s}return this.store.getters["widget/isCenter"]&&!this.store.getters["widget/isRoundWidget"]?0:this.store.getters["widget/xOffsetMobile"]}},{key:"yOffsetMobile",value:function(){var t,i,n,o,a=null===(t=e.Tawk_Window.jsApi)||void 0===t||null===(i=t.local_API)||void 0===i||null===(n=i.customStyle)||void 0===n?void 0:n.visibility;if(void 0!==(null==a||null===(o=a.mobile)||void 0===o?void 0:o.yOffset)){var s=a.mobile.yOffset;if("string"==typeof s&&(s=parseInt(s.replace("px",""),10)),!isNaN(s))return s}return this.store.getters["widget/isCenter"]?0:this.store.getters["widget/yOffsetMobile"]}},{key:"bubbleXOffset",value:function(){var t,i,n,o,a,s=null===(t=e.Tawk_Window.jsApi)||void 0===t||null===(i=t.local_API)||void 0===i||null===(n=i.customStyle)||void 0===n?void 0:n.visibility;if(void 0!==(null==s||null===(o=s.bubble)||void 0===o?void 0:o.xOffset)){var r=s.bubble.xOffset;if("string"==typeof r&&(r=parseInt(r.replace("px",""),10)),!isNaN(r))return r}if(void 0!==(null==s||null===(a=s.desktop)||void 0===a?void 0:a.position)){var c,u=null==s||null===(c=s.desktop)||void 0===c?void 0:c.position;if(u&&this.store.getters["widget/desktopVisibility"].position!==u)return this.store.getters["widget/isCenter"]?this.store.getters["widget/minDesktop"].height+5:0}return this.store.getters["widget/bubble"].config.offsetX}},{key:"bubbleYOffset",value:function(){var t,i,n,o,a,s=null===(t=e.Tawk_Window.jsApi)||void 0===t||null===(i=t.local_API)||void 0===i||null===(n=i.customStyle)||void 0===n?void 0:n.visibility;if(void 0!==(null==s||null===(o=s.bubble)||void 0===o?void 0:o.yOffset)){var r=s.bubble.yOffset;if("string"==typeof r&&(r=parseInt(r.replace("px",""),10)),!isNaN(r))return r}if(void 0!==(null==s||null===(a=s.desktop)||void 0===a?void 0:a.position)){var c,u=null==s||null===(c=s.desktop)||void 0===c?void 0:c.position;if(u&&this.store.getters["widget/desktopVisibility"].position!==u)return this.store.getters["widget/isCenter"]?0:this.store.getters["widget/minDesktop"].height+5}return this.store.getters["widget/bubble"].config.offsetY}},{key:"bubbleRotate",value:function(){var t,i,n,o,a=null===(t=e.Tawk_Window.jsApi)||void 0===t||null===(i=t.local_API)||void 0===i||null===(n=i.customStyle)||void 0===n?void 0:n.visibility;if(void 0!==(null==a||null===(o=a.bubble)||void 0===o?void 0:o.rotate)){var s=a.bubble.rotate;if("string"==typeof s&&(s=parseInt(s.replace("deg",""),10)),!isNaN(s)&&-1!==[0,90,-90].indexOf(s))return s}return this.store.getters["widget/bubble"].config.rotate}},{key:"isRoundWidget",value:function(){var t,i,n,o,a=this.store.getters["widget/isRoundWidget"],s=null===(t=e.Tawk_Window.jsApi)||void 0===t||null===(i=t.local_API)||void 0===i||null===(n=i.customStyle)||void 0===n?void 0:n.visibility;if(void 0!==(null==s||null===(o=s.desktop)||void 0===o?void 0:o.position)){var r,c=null==s||null===(r=s.desktop)||void 0===r?void 0:r.position;if(this.store.getters["widget/desktopVisibility"].position!==c)return!1}return a}}]),t}()}).call(this,i("c8ba"))},"56d7":function(e,t,i){"use strict";i.r(t),function(e){var t=i("2b0e"),n=i("4360"),o=i("745f");t.a.config.productionTip=!1,e.Tawk_Window={maximize:!1};var a=new o.a;e.Tawk_Window.registerWithConsent=function(){e.Tawk_Window.maximize=!0,e.Tawk_Window.sessionManager.storeSessionInformation(!0),new Promise((function(t,i){e.Tawk_Window.register.init(t,i)})).then((function(t){a.extractRegistrationData(t),e.Tawk_Window.app.$socket.connect(),n.a.dispatch("router/clearHistory"),e.Tawk_Window.sessionManager.storeSessionInformation(!0),e.Tawk_Window.popoutWin&&e.Tawk_Window.popoutWin.postMessage("twkPopWidgetRegister","*")}))},e.Tawk_Window.retryRegister=function(){new Promise((function(t,i){e.Tawk_Window.register.init(t,i)})).then((function(t){a.extractRegistrationData(t),e.Tawk_Window.app.$socket.connect()}))},e.Tawk_Window.popoutWidget=function(){var t=n.a.getters["property/id"],i=n.a.getters["widget/id"],o=n.a.getters["widget/branding"],a="".concat("https://tawk.to","/chat/").concat(t,"/");n.a.dispatch("session/updateChatWindowState","min"),e.Tawk_Window.popoutWin&&!e.Tawk_Window.popoutWin.closed&&e.Tawk_Window.popoutWin.focus?e.Tawk_Window.popoutWin.focus():(o&&o.whitelabeled&&o.popoutBaseUrl&&(a="".concat(o.popoutBaseUrl,"/chat/")),e.Tawk_Window.popoutWin=window.open(a+i+"?pop=1","Tawk","height=500, width=450, resizable=yes, toolbar=no, location=no, menubar=no, personalbar=no"))},e.Tawk_Window.criticalRefresh=function(e){if(n.a.getters["widget/isWindowed"])return window.location.reload(!!e);delete window.$_Tawk.downloaded,n.a.dispatch("router/clearHistory"),a.connect()},window.addEventListener("beforeunload",(function(){e.Tawk_Window&&e.Tawk_Window.logger&&(e.Tawk_Window.logger.unloading=!0)})),window.addEventListener("message",(function(t){if(!e.Tawk_Window.popoutWin||"getTwkWidgetUUID"!==t.data)return"twkRegisterWConsent"===t.data&&t.source===e.Tawk_Window.popoutWin?e.Tawk_Window.registerWithConsent():void(n.a.getters["widget/isPopout"]&&"twkPopWidgetRegister"===t.data&&t.source===window.opener&&e.Tawk_Window.registerWithConsent());e.Tawk_Window.popoutWin.postMessage({twkWidgetUUID:n.a.getters["visitor/uuid"]},t.origin)}),!1),a.init()}.call(this,i("c8ba"))},5868:function(e,t,i){"use strict";i.d(t,"a",(function(){return o}));var n=["(?:(?:[a-z]+:)?//)?","(?:\\S+(?::\\S*)?@)?","(?:localhost|(?:(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))","(?::\\d{2,5})?",'(?:[/?#][^\\s"]*)?'].join(""),o={regLineBreaks:/(\r\n|\n|\r)/gm,regBr:/<br\/>/,regMatchUrl:new RegExp("(?:^"+n+"$)","i"),regMatchIp:/^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?\/([a-zA-Z0-9!$&'()*+.=-_~:@\\/\\?#]+)+)\b/gi,regEmailMatch:/^((mailto:){0,1}[a-zA-Z0-9_\\.\\-\\+])+\\@(([a-zA-Z0-9\\-])+\.)+([a-zA-Z0-9]+)$/,br:"<br/>",getTargetElement:function(e){var t=e.target||e.srcElement;return 3===t.nodeType&&(t=t.parentNode),t},formatFileSize:function(e){var t=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"];if(!(e=parseInt(e,10)))return"0Bytes";for(var i=1;i<t.length;i++)if(e<Math.pow(1024,i))return Math.round(e/Math.pow(1024,i-1)*100)/100+t[i-1];return e}}},"65b3":function(e,t,i){"use strict";(function(e){function n(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}i("cc70"),t.a=new(function(){function t(){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,t),this.chatWindowStates={min:!0,max:!0},this.io=null,this.selfOrigin=null,this.disconnect=!1,this.ready=!1,this.banned=!1,this.forceDisconnected=!1,this.clearRegisterRetryTimeout=null,this.events={},this.stack=[],this.connectCount=0}return function(e,t,i){t&&n(e.prototype,t),i&&n(e,i)}(t,[{key:"install",value:function(e,t){var i=t.store;e.prototype.$socket=this,this.store=i}},{key:"connect",value:function(){var t,i=this,n=(new Date).getTime();window.$_Tawk.connected=!1,this.disconnect=!1,this.forceDisconnected=!1,5!==this.connectCount?(this.io&&(this.io.removeAllListeners(),this.io.disconnect()),t={k:this.store.getters["session/sessionKey"],cver:this.store.getters["chat/chatVersion"],pop:this.store.getters["widget/isWindowed"],asver:this.store.getters["session/pageStatusVersion"],tkn:this.store.getters["session/token"]},this.connectCount++,this.io=new window.$__TawkSocket("wss://".concat(this.store.getters["session/visitorSocketServer"],"/"),{transports:["websocket"],engineIo:window.$__TawkEngine,path:"/s",query:t}),this.io.on("disconnect",(function(){i.disconnectHandler()})),this.io.on("error",(function(t){var n,o="socket on error";if(t instanceof Error){if(n={toString:t.toString(),stack:t.stack,lineNumber:t.lineNumber,fileName:t.fileName},e.Tawk_Window.logger.unloading&&-1===n.toString.indexOf("post"))return;"TransportError"===t.type&&(n.description=t.description),-1!==n.toString.indexOf("post")&&(o="socket post error")}else n=t;e.Tawk_Window.logger.reportIncident(o,n),i.io.disconnect(),i.disconnectHandler()})),this.io.on("connect",(function(){i.disconnect=!1,i.store.dispatch("session/reconnectSession",!1)})),this.io.on("ready",(function(t,o,a){if(!e.Tawk_Window)return i.disconnectSocket();i.selfOrigin=t,window.$_Tawk.connected=!0,i.ready||(window.$_Tawk.loaded=!0,void 0!==window.Tawk_LoadStart&&e.Tawk_Window.logger.reportPerformance({socket:(new Date).getTime()-n,register:e.Tawk_Window.register.registerTime,widget:(new Date).getTime()-window.Tawk_LoadStart,script:(new Date).getTime()-e.$_Tawk.startTime,download:e.$_Tawk.startTime-window.Tawk_LoadStart})),i.ready=!0,i.store.dispatch("chat/updateConversation",o),i.store.dispatch("session/setPageStatus",a),i.store.dispatch("socket/updateIsReady",!0),i.clearStack(),clearTimeout(i.clearRegisterRetryTimeout),i.clearRegisterRetryTimeout=setTimeout((function(){i.disconnect||e.Tawk_Window.register.resetRetryCount(),i.clearRegisterRetryTimeout=null}),5e3)})),this.io.on("remoteDisconnect",(function(t){if("BANNED"!==(t=t||{}).msg)i.io.disconnect(),i.disconnectHandler();else{i.banned=!0;try{i.io.disconnect()}catch(e){}e.Tawk_Window.eventBus.$emit("removeWidget")}})),this.addEventListeners()):this.store.commit("widget/setVisibility",!1)}},{key:"disconnectSocket",value:function(){this.forceDisconnected=!0,this.io&&(this.io.disconnect(),this.disconnectHandler())}},{key:"disconnectHandler",value:function(){window.$_Tawk.connected=!1,this.io.removeAllListeners(),e.Tawk_Window.scheduler.cleanUp(),this.banned||this.forceDisconnected||this.disconnect?this.connectCount=0:(this.disconnect=!0,this.store.dispatch("session/reconnectSession",!0),e.Tawk_Window.retryRegister())}},{key:"addEventListeners",value:function(){var t=this;this.io.on("visitorChatWindowState",(function(e){t.selfOrigin!==e.origin&&t.store.commit("session/setChatWindowState",e.cw)})),this.io.on("visitorSound",(function(e){e.origin!==t.selfOrigin&&t.store.dispatch("widget/toggleLocalSound",!!e.sdo)})),this.io.on("pageStatus",(function(e){t.store.dispatch("session/setPageStatus",e)})),this.io.on("visitorPopupFocus",(function(e){e=e||{},t.store.dispatch("session/updateIsWindowFocused",!!e.hasFocus)})),this.io.on("chatBubbleClosed",(function(e){e.origin!==t.selfOrigin&&t.store.dispatch("session/closeChatBubble",!0)})),this.io.on("pageDisable",(function(){t.disconnectSocket(),e.Tawk_Window.eventBus.$emit("removeWidget")})),this.io.on("vCallStatus",(function(t){e.Tawk_Window.chatManager.callStatusUpdate(t)})),this.io.on("widgetScheduleUpdate",(function(i){t.store.dispatch("schedule/addSlots",i.ws?{config:{schedule:i.ws.sch}}:null),t.store.dispatch("schedule/updateTimezone",i.wstz),e.Tawk_Window.scheduler.calculate()})),(this.store.getters["widget/hasLiveChat"]||this.store.getters["chat/hasChatStarted"]&&(!this.store.getters["chat/hasChatStarted"]||0!==this.store.getters["chat/agentsCount"]))&&(this.io.on("visitorDataUpdate",(function(e){t.selfOrigin!==e.origin&&(t.store.dispatch("visitor/updateVisitorInformation",e),e.dpt&&t.store.dispatch("chat/updateDepartment",e.dpt),e.pcfs&&t.store.dispatch("session/updatePrechatSubmitted",!0))})),this.io.on("visitorMessage",(function(e){t.selfOrigin!==e.origin&&t.store.dispatch("chat/incomingChatMessage",e)})),this.io.on("visitorConversationPresenceUpdate",(function(e){t.store.dispatch("chat/incomingChatMessage",e)})),this.io.on("visitorChatSeen",(function(t){e.Tawk_Window.chatManager.clearUnseenNotification(t)})),this.io.on("visitorChatDismiss",(function(t){e.Tawk_Window.eventBus.$emit("dismissPreview",t)})),this.io.on("visitorTagsUpdate",(function(t){e.Tawk_Window.jsApi.triggerApiHandlers("onTagsUpdated",t)})),this.io.on("uploadProgress",(function(t){e.Tawk_Window.chatManager.updateFileProgress(t)})),this.io.on("uploadFinished",(function(t){e.Tawk_Window.chatManager.updateFileProgress(t,!0)})),this.io.on("uploadError",(function(t){e.Tawk_Window.chatManager.updateFileProgress(t,!1,!0)})),this.io.on("agentIsTyping",(function(t){e.Tawk_Window.eventBus.$emit("agentIsTyping",t)})),this.io.on("agentStopedTyping",(function(t){e.Tawk_Window.eventBus.$emit("agentStopedTyping",t)})))}},{key:"isForcedDisconnect",value:function(){return this.forceDisconnected}},{key:"publish",value:function(e,t,i){if(window.$_Tawk.connected)if(void 0!==i||"function"==typeof t)this.wrapCallback(e,t,i);else try{this.send(e,t,i)}catch(e){}else this.addToStack(e,t,i)}},{key:"addToStack",value:function(e,t,i){"sendChatMessage"===e&&delete this.events.notifyMessagePreview,"notifyMessagePreview"===e?this.events[e]={command:e,data:t,callback:i}:this.stack.push({command:e,data:t,callback:i})}},{key:"clearStack",value:function(){var e=this;for(var t in this.stack.forEach((function(t){e.publish(t.command,t.data,t.callback)})),this.events)this.publish(this.events[t].command,this.events[t].data,this.events[t].callback);this.stack=[],this.events={}}},{key:"wrapCallback",value:function(e,t,i){var n,o;"function"==typeof t&&(i=t,t=null),n=setTimeout((function(){throw i(!0),new Error("Socket server did not execute the callback for "+e+" with data : "+JSON.stringify(t))}),35e3),o=function(){clearTimeout(n),o=function(){},i.apply(null,arguments)};try{null===t?this.send(e,o):this.send(e,t,o)}catch(e){}}},{key:"send",value:function(e,t,i){this[e](t,i)}},{key:"nav",value:function(e,t){this.io.send("nav",e,t)}},{key:"notifyMessagePreview",value:function(e){this.io.send("messagePreview",e,(new Date).getTime())}},{key:"sendChatMessage",value:function(e,t){this.io.send("chatMessage",e,t)}},{key:"getCallStatus",value:function(e,t){this.io.send("service","webrtc","/v1/vcall/status/visitor",e,t)}},{key:"getWebRTCToken",value:function(e,t){this.io.send("service","webrtc","/v1/vcall/init/visitor",e,t)}},{key:"declineCall",value:function(e,t){this.io.send("service","webrtc","/v1/vcall/reject/visitor",e,t)}},{key:"notifyOfflineMessage",value:function(e,t){this.io.send("service","visitor-chat","/v1/visitor/offline-form",e,t)}},{key:"visitorChatSeen",value:function(e,t){this.io.send("service","visitor-chat","/v1/visitor/messages-seen",e,t)}},{key:"notifyPrechat",value:function(e,t){this.io.send("savePrechatForm",e,t)}},{key:"notifyNameChange",value:function(e,t){this.io.send("saveNameChangeForm",e,t)}},{key:"notifyEmailTranscript",value:function(e,t){this.io.send("saveTranscriptEmailForm",e,t)}},{key:"notifyEndChatTranscript",value:function(e,t){this.io.send("sendTranscript",e,t)}},{key:"endVisitorChat",value:function(e){this.io.send("endChat",e)}},{key:"addEvent",value:function(e,t){this.io.send("addEvent",e,t)}},{key:"setAttributes",value:function(e,t){this.io.send("setAttributes",e,t)}},{key:"addTags",value:function(e,t){this.io.send("addTags",e,t)}},{key:"removeTags",value:function(e,t){this.io.send("removeTags",e,t)}},{key:"fileUploadMessage",value:function(e,t){this.io.send("fileUploadMessage",e,t)}},{key:"popupOnFocus",value:function(e){this.io.send("visitorPopupFocus",e)}},{key:"notifySocketStatusUpdate",value:function(e){this.io.send("socketStatusUpdate",e)}},{key:"setRating",value:function(e){this.io.send("visitorRating",e)}},{key:"visitorChatDismiss",value:function(e,t){this.io.send("service","visitor-chat","/v1/visitor/dismiss-preview",e,t)}},{key:"notifyChatBubbleClosed",value:function(){this.io.send("chatBubbleClose")}},{key:"notifyWindowState",value:function(e){this.io.send("chatWindowState",e)}},{key:"toggleSound",value:function(e){this.io.send("visitorSound",e)}},{key:"notifyWidgetResized",value:function(){this.io.send("notifyWidgetResized")}}]),t}())}).call(this,i("c8ba"))},"681d":function(e,t,i){"use strict";i.d(t,"a",(function(){return y}));var n=i("fa2a");function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=l(e);if(t){var o=l(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return u(this,i)}}function u(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}(i,e);var t=c(i);function i(){return a(this,i),t.apply(this,arguments)}return function(e,t,i){t&&s(e.prototype,t),i&&s(e,i)}(i,[{key:"checkIsEnabled",value:function(){this.isEnabled=!!window.sessionStorage}},{key:"setItem",value:function(e,t){if(this.isEnabled)try{return window.sessionStorage.setItem(e,t),!0}catch(e){return}}},{key:"getItem",value:function(e){return this.isEnabled?window.sessionStorage.getItem(e):null}}]),i}(n.a);function h(e){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function w(e,t){return(w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=v(e);if(t){var o=v(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return g(this,i)}}function g(e,t){return!t||"object"!==h(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var k=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&w(e,t)}(i,e);var t=m(i);function i(){return f(this,i),t.apply(this,arguments)}return function(e,t,i){t&&p(e.prototype,t),i&&p(e,i)}(i,[{key:"checkIsEnabled",value:function(){try{window.localStorage.setItem("exist_test","yes"),window.localStorage.removeItem("exist_test"),this.isEnabled=!0}catch(e){this.isEnabled=!1}}},{key:"setItem",value:function(e,t){if(this.isEnabled)return window.localStorage.setItem(e,t),!0}},{key:"getItem",value:function(e){return this.isEnabled?window.localStorage.getItem(e):null}},{key:"deleteItem",value:function(e){this.isEnabled&&delete window.localStorage[e]}}]),i}(n.a),b=i("6d13"),y={sessionStore:new d,localStore:new k,cookieStore:new b.a}},"6d13":function(e,t,i){"use strict";(function(e){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function r(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=u(e);if(t){var o=u(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return c(this,i)}}function c(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}i.d(t,"a",(function(){return l}));var l=function(t){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(n,t);var i=r(n);function n(){return o(this,n),i.apply(this,arguments)}return function(e,t,i){t&&a(e.prototype,t),i&&a(e,i)}(n,[{key:"checkIsEnabled",value:function(){var e=!!navigator.cookieEnabled;void 0!==navigator.cookieEnabled||e||(document.cookie="testcookie",e=-1!=document.cookie.indexOf("testcookie")),this.isEnabled=e}},{key:"setItem",value:function(t,i,n,o){if("file:"===window.location.protocol)return e.Tawk_Window.webStorage.localStore.setItem(t,i);if(this.isEnabled){var a,s="",r="Lax;";if(n||((a=new Date).setTime(a.getTime()+15552e6),s="; expires=".concat(a.toGMTString())),window.top!==window){var c=!1;try{c=window.origin===window.top.origin}catch(e){}c||(r="None; Secure;")}return o=o?"; domain=".concat(o):"",document.cookie="".concat(t,"=").concat(i).concat(s,"; path=/").concat(o,"; SameSite=").concat(r),!0}}},{key:"getItem",value:function(t){var i=[];if("file:"===window.location.protocol){var n=e.Tawk_Window.webStorage.localStore.getItem(t);return n?[n]:[]}if(this.isEnabled)for(var o="".concat(t,"="),a=document.cookie.split(";"),s=0,r=a.length;s<r;s++){for(var c=a[s];" "===c.charAt(0);)c=c.substring(1,c.length);0===c.indexOf(o)&&i.push(c.substring(o.length,c.length))}return i}},{key:"deleteItem",value:function(e){document.cookie="".concat(e,"=;Max-Age=-99999999;SameSite=Lax;")}},{key:"checkItemSaved",value:function(t){if("file:"===window.location.protocol)return!!e.Tawk_Window.webStorage.localStore.getItem(t);var i=this.getItem(t);if(!i||!i.length)throw new Error("Unable to store cookie")}}]),n}(i("fa2a").a)}).call(this,i("c8ba"))},"745f":function(e,t,i){"use strict";(function(e){i.d(t,"a",(function(){return I}));var n=i("2b0e"),o=i("681d"),a=i("43af"),s=i("9be8"),r=i("b7cc"),c=i("0ad2"),u=i("27c6"),l=i("028e"),d=i("99e1"),h=i("77b4"),f=i("91ce"),p=i("c7b8"),w=i("65b3"),m=i("24ca"),g=i("d3a4"),v=i("27a6"),k=i("7f46"),b=i("f0b0"),y=i("4360"),T=i("a18c"),_=i("d046"),S=i("3dfd");function W(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var I=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.propertyId,n=e.widgetId;W(this,t),this.propertyId=i||window.$_Tawk_AccountKey,this.widgetId=n||window.$_Tawk_WidgetId}return function(e,t,i){t&&C(e.prototype,t),i&&C(e,i)}(t,[{key:"init",value:function(){if(void 0===window.$_Tawk.downloaded){if(window.$_Tawk.downloaded=!0,void 0!==window.Prototype&&"string"==typeof window.Prototype.Version&&parseFloat(window.Prototype.Version.substr(0,3),10)<1.7&&void 0!==Array.prototype.toJSON){var t=JSON.stringify;JSON.stringify=function(e){var i=Array.prototype.toJSON;delete Array.prototype.toJSON;var n=t(e);return Array.prototype.toJSON=i,n}}e.Tawk_Window.logger=new p.a,e.Tawk_Window.register=new s.a(y.a),e.Tawk_Window.webStorage=o.a,e.Tawk_Window.widgetSettings=new a.a(y.a),e.Tawk_Window.jsApi=new r.a(y.a),e.Tawk_Window.audioPlayer=new c.a(y.a),e.Tawk_Window.scheduler=new u.a(y.a),e.Tawk_Window.chatManager=new l.a(y.a),e.Tawk_Window.activityMonitor=new d.a(y.a),e.Tawk_Window.sessionManager=new f.a(y.a),e.Tawk_Window.eventBus=m.a,e.$_Tawk.startTime=(new Date).getTime().toString(),e.$_Tawk.loaded=!1,e.$_Tawk.connected=!1,e.$_Tawk.ready=!1,n.a.use(w.a,{store:y.a}),n.a.use(T.a),this.checkMetaContent(),this.connect()}}},{key:"checkMetaContent",value:function(){for(var t,i={},n=document.getElementsByTagName("meta"),o="",a=[],s=0,r=n.length;s<r;s++)n[s].getAttribute("name")&&"viewport"===n[s].getAttribute("name").toLowerCase()&&(o=n[s].getAttribute("content")||"");for(var c=0,u=(a=(o=o.replace(/ /g,"")).split(",")).length;c<u;c++)i[(t=a[c].split("="))[0]]=t[1];var l=!(!i.width&&!i.height),d=i["minimum-scale"]&&i["maximum-scale"]&&i["minimum-scale"]===i["maximum-scale"],h=i["initial-scale"]&&i["maximum-scale"]&&i["initial-scale"]===i["maximum-scale"];e.Tawk_Window.metaContent=o&&o.length?o:null,e.Tawk_Window.hasNoScale="no"===i["user-scalable"]||"0"===i["user-scalable"],e.Tawk_Window.isMobileOptimizedWebsite=!!(d&&(l||e.Tawk_Window.hasNoScale)||h)}},{key:"connect",value:function(){var t=this;if(y.a.dispatch("reset"),y.a.dispatch("property/updateId",this.propertyId),y.a.dispatch("widget/updateId",this.widgetId),y.a.dispatch("property/updateIsTawkHostedPage","tawk.to"===window.location.host),y.a.dispatch("router/addRoutes",_.a),new h.a(y.a),e.Tawk_Window.jsApi.local_API.isWindowed){var i=k.a.parseQueryString();y.a.dispatch("session/updateConnectionData",{sk:i.$_tawk_sk}),i.pop&&y.a.commit("widget/setIsPopout",!0),y.a.commit("widget/setIsWindowed",!0)}e.Tawk_Window.jsApi.local_API.embedded&&(y.a.commit("widget/setIsEmbedded",!0),y.a.commit("browserData/setMobileBrowserName",null)),e.Tawk_Window.jsApi.triggerApiHandlers("onBeforeLoad"),e.Tawk_Window.maximize=!1;var n=[new Promise((function(t,i){e.Tawk_Window.register.init(t,i)})),new Promise((function(t,i){e.Tawk_Window.widgetSettings.getSettings(t,i)}))];try{Object(v.a)(n).then((function(i){if("fulfilled"===i[0].status&&"fulfilled"===i[1].status){var n=(i[0].value||{}).data;n&&n.settingsVersion===i[1].value?(t.extractRegistrationData(i[0].value),t.createUI()):(e.Tawk_Window.widgetSettings.version=n.settingsVersion,e.Tawk_Window.widgetSettings.getSettings((function(){t.extractRegistrationData(i[0].value),t.createUI()}),(function(e){console.error(e)})))}}))}catch(e){console.error(e)}}},{key:"extractRegistrationData",value:function(t){var i=t.data,n=i.rcf&&y.a.getters["widget/consentData"];y.a.dispatch("chat/updateVersion",i.cver||0),y.a.dispatch("session/updateConsentFlag",n),"max"===i.cw&&(e.Tawk_Window.maximize=!0),y.a.dispatch("session/updateConnectionData",i),n||(e.Tawk_Window.sessionManager.storeSessionInformation(),y.a.dispatch("visitor/updateUUID",i.uid),y.a.dispatch("visitor/updateVisitorInformation",i),i.dpt&&y.a.dispatch("chat/updateDepartment",i.dpt)),i.pcfs&&y.a.dispatch("session/updatePrechatSubmitted",i.pcfs),y.a.dispatch("session/setPageStatus",i||{ast:"offline"}),y.a.commit("session/setChatBubbleClosed",!!i.bblc),y.a.commit("session/setLastMessageTimestamp",i.lmst),y.a.commit("session/setWaitTime",i.ewt?1e3*i.ewt:6e4),y.a.dispatch("schedule/updateTimezone",i.wstz),y.a.commit("chat/setHistoryMessages",i.c||[]),y.a.commit("chat/setChatId",i.chid),y.a.dispatch("session/updateToken",{token:i.tkn,expiry:i.tknExp})}},{key:"createUI",value:function(){var t,i;e.Tawk_Window.app?e.Tawk_Window.eventBus.$emit("resetState"):(n.a.use(g.a),e.Tawk_Window.app=new n.a({render:function(e){return e(S.a)},store:y.a}).$mount(),window.$_Tawk.language&&(t={type:Function,default:window.$_Tawk.language.pluralFormFunction},i={type:Object,default:function(){return{just:e.Tawk_Window.app.$i18n("chat","justNow"),past:window.$_Tawk.language.chat.past.message,today:window.$_Tawk.language.chat.today_time.message,second:window.$_Tawk.language.chat.seconds.message,minute:window.$_Tawk.language.chat.minutes.message,hour:window.$_Tawk.language.chat.hours.message,days:[e.Tawk_Window.app.$i18n("days","0"),e.Tawk_Window.app.$i18n("days","1"),e.Tawk_Window.app.$i18n("days","2"),e.Tawk_Window.app.$i18n("days","3"),e.Tawk_Window.app.$i18n("days","4"),e.Tawk_Window.app.$i18n("days","5"),e.Tawk_Window.app.$i18n("days","6")],months:[e.Tawk_Window.app.$i18n("months","0"),e.Tawk_Window.app.$i18n("months","1"),e.Tawk_Window.app.$i18n("months","2"),e.Tawk_Window.app.$i18n("months","3"),e.Tawk_Window.app.$i18n("months","4"),e.Tawk_Window.app.$i18n("months","5"),e.Tawk_Window.app.$i18n("months","6"),e.Tawk_Window.app.$i18n("months","7"),e.Tawk_Window.app.$i18n("months","8"),e.Tawk_Window.app.$i18n("months","9"),e.Tawk_Window.app.$i18n("months","10"),e.Tawk_Window.app.$i18n("months","11")]}}}),n.a.component("tawk-timeago",{extends:b.TawkTimeago,props:{pluralize:t,format:i}})),y.a.dispatch("chat/setPreviousMessages"),e.Tawk_Window&&e.Tawk_Window.scheduler&&e.Tawk_Window.scheduler.setup(),y.a.getters["session/needConsent"]||e.Tawk_Window.app.$socket.connect(),e.Tawk_Window.activityMonitor.initActivityReset(),e.Tawk_Window.jsApi.triggerApiHandlers("onLoad"),!y.a.getters["browserData/mobileBrowserName"]&&e.Tawk_Window.maximize&&y.a.commit("session/setChatWindowState","max"),e.Tawk_Window.jsApi.setVisitorAttributes()}}]),t}()}).call(this,i("c8ba"))},"77b4":function(e,t,i){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function a(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}i.d(t,"a",(function(){return s}));var s=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};n(this,e),a(this,"browserIdentifier",[{string:navigator.userAgent,subString:"Edge",identity:"explorer",versionSearch:"Edge"},{string:navigator.userAgent,subString:"Trident/7.0",identity:"explorer",versionSearch:"rv"},{string:navigator.userAgent,subString:"(Opera|OPR)",identity:"opera",versionSearch:"Version"},{string:navigator.userAgent,subString:"Chrome",identity:"chrome",versionSearch:"Chrome"},{string:navigator.userAgent,subString:"Mobile Safari",identity:"android",versionSearch:"Version"},{string:navigator.userAgent,subString:"Firefox",identity:"firefox",versionSearch:"Firefox"},{string:navigator.userAgent,subString:"MSIE",identity:"explorer",versionSearch:"MSIE"},{string:navigator.userAgent,subString:"IEMobile",identity:"explorer",versionSearch:"IEMobile"},{string:navigator.userAgent,subString:"Safari",identity:"safari",versionSearch:"Version"},{string:navigator.userAgent,subString:"Gecko",identity:"mozilla",versionSearch:"rv"}]),a(this,"osIdentifier",[{string:navigator.userAgent,subString:"Windows Phone",identity:"windows_phone"},{string:navigator.platform,subString:"Win",identity:"windows"},{string:navigator.platform,subString:"Mac",identity:"mac"},{string:navigator.userAgent,subString:"iPhone",identity:"iphone"},{string:navigator.userAgent,subString:"Android",identity:"android"},{string:navigator.platform,subString:"Linux",identity:"linux"},{string:navigator.userAgent,subString:"iPad",identity:"ipad"}]),a(this,"searchEngines",{google:"q",yahoo:"p",baidu:"wd",yandex:"text",bing:"q",soso:"w",ask:"q",aol:"q",sogou:"query",mywebsearch:"searchfor",youdao:"q",lycos:"q",infospace:"q",blekko:"q",info:"q",dogpile:"q",duckduckgo:"q",webcrawler:"q"}),a(this,"mobileBrowserIdentifier",{nokia:[/(NokiaBrowser)\/(\d+)\.(\d+).(\d+)\.(\d+)/,/^(Nokia)/,/(NokiaBrowser)\/(\d+)\.(\d+).(\d+)/,/(NokiaBrowser)\/(\d+)\.(\d+)/,/(BrowserNG)\/(\d+)\.(\d+).(\d+)/,/(Series60)\/5\.0/,/(Series60)\/(\d+)\.(\d+)/,/(S40OviBrowser)\/(\d+)\.(\d+)\.(\d+)\.(\d+)/,/(Nokia)[EN]?(\d+)/],blackberry:[/(BB10);/,/(PlayBook).+RIM Tablet OS (\d+)\.(\d+)\.(\d+)/,/(Black[bB]erry).+Version\/(\d+)\.(\d+)\.(\d+)/,/(Black[bB]erry)\s?(\d+)/],chrome:[/(CrMo)\/(\d+)\.(\d+)\.(\d+)\.(\d+)/,/(CriOS)\/(\d+)\.(\d+)\.(\d+)\.(\d+)/,/(Android).*(Chrome)\/(\d+)\.(\d+)\.(\d+)\.(\d+) (Mobile)?/],ie:[/(IEMobile)[ /](\d+)\.(\d+)/],firefox:[/Mobile.*(Firefox)\/(\d+)\.(\d+)/,/Tablet.*(Firefox)\/(\d+)\.(\d+)/],operamini:[/(Opera Mini)(?:\/att)?\/(\d+)\.(\d+)/],opera:[/(Opera Tablet).*Version\/(\d+)\.(\d+)(?:\.(\d+))?/,/(?:Mobile Safari).*(OPR)\/(\d+)\.(\d+)\.(\d+)'/,/(Opera)\/.+Opera Mobi.+Version\/(\d+)\.(\d+)/,/(Opera)\/(\d+)\.(\d+).+Opera Mobi/,/Opera Mobi.+(Opera)\/(\d+)\.(\d+)/,/Opera Mobi/,/(Opera)\/9.80.*Version\/(\d+)\.(\d+)(?:\.(\d+))?/],safari:[/(iPod|iPhone|iPad);.*CPU.*OS (\d+)(?:_\d+)?_(\d+).*Mobile/],uc:[/(UCBrowser)[ /](\d+)\.(\d+)\.(\d+)/,/(UC Browser)[ /](\d+)\.(\d+)\.(\d+)/,/(UC Browser|UCBrowser|UCWEB)(\d+)\.(\d+)\.(\d+)/],"android2.3":[/(Android) 2\.3(?:[.-]([a-z0-9]+))?/],android2:[/(Android) 2\.(\d+)(?:[.-]([a-z0-9]+))?/],android:[/Android[- ][\d]+\.[\d]+; [A-Za-z]{2}-[A-Za-z]{0,2}; WOWMobile (.+) Build/,/Android[- ][\d]+\.[\d]+-update1; [A-Za-z]{2}-[A-Za-z]{0,2}; (.+) Build/,/Android[- ][\d]+\.[\d]+\.[\d]+; [A-Za-z]{2}-[A-Za-z]{0,2}; (.+) Build/,/Android[- ][\d]+\.[\d]+\.[\d]+;[A-Za-z]{2}-[A-Za-z]{0,2};(.+) Build/,/Android[- ][\d]+\.[\d]+; [A-Za-z]{2}-[A-Za-z]{0,2}; (.+) Build/,/Android[- ][\d]+\.[\d]+\.[\d]+; (.+) Build/,/Android[- ][\d]+\.[\d]+; (.+) Build/]}),a(this,"searchVersion",(function(e,t){var i=e.indexOf(t);if(-1!==i)return parseFloat(e.substring(i+t.length+1))})),a(this,"getMobileBrowser",(function(){for(var e=!1,t=navigator.userAgent,i=Object.keys(this.mobileBrowserIdentifier),n=0;!e&&n<i.length;){for(var o=i[n],a=0;a<this.mobileBrowserIdentifier[o].length;a++){var s=this.mobileBrowserIdentifier[o][a];if(t.match(s)){e=o;break}}n++}return e})),a(this,"getHostname",(function(e){var t=new RegExp("^(?:f|ht)tp(?:s)?://([^/]+)","im"),i=e.match(t);return null===i||!Array.isArray(i)||i.length<2?null:i[1]?i[1].toString():null})),a(this,"getPlugins",(function(){var e,t,i=[];for(e=0,t=navigator.plugins.length;e<t;e++)navigator.plugins[e].name&&i.push(navigator.plugins[e].name);return i})),this.store=t,this.init()}return function(e,t,i){t&&o(e.prototype,t),i&&o(e,i)}(e,[{key:"init",value:function(){var e,t="other",i=!1,n=this.searchString(this.browserIdentifier)||{};n.identity&&(t=n.identity,e=n.versionSearch||n.identity,"explorer"===t&&(i=!0));var o=this.searchVersion(navigator.userAgent,e)||this.searchVersion(navigator.appVersion,e)||"other",a=this.searchString(this.osIdentifier)||"other",s=this.getPlugins(),r=this.getMobileBrowser(),c=this.getReferredSearchEngine(),u={mp3:this.hasHtmlAudio("mp3"),ogg:this.hasHtmlAudio("ogg"),wav:this.hasHtmlAudio("wav")};u.supported=u.mp3||u.ogg||u.wav;var l=!i;this.store.dispatch("browserData/updateInitialData",{version:o,os:a,plugins:s,mobileBrowserName:r,html5audio:u,isIE:i,searchEngine:c,isWebRTCAvailable:l})}},{key:"searchString",value:function(e){var t,i;for(t=0;t<e.length;t++)if(i=e[t].string,new RegExp(e[t].subString).test(i))return e[t]}},{key:"getReferredSearchEngine",value:function(){var e,t,i="";if(document.referrer&&(t=this.getHostname(document.referrer)))for(e in t=t.toLowerCase(),this.searchEngines)if(t.indexOf(e)>=0){var n=this.getQuerystring(document.referrer,this.searchEngines[e]);"blekko"===e&&""===n&&(n=this.getQuerystring(document.referrer.replace("/ws/","/?q="),"q")),i=e;break}return i}},{key:"getQuerystring",value:function(e,t){t=t.replace(/[[]/,"\\[").replace(/[\]]/,"\\]");var i=new RegExp("[\\?&]"+t+"=([^&#]*)").exec(e);return null===i||!Array.isArray(i)||i.length<2?null:i[1]?unescape(i[1].replace(/\+/g," ")):null}},{key:"hasHtmlAudio",value:function(e){var t=document.createElement("audio");try{if(!t.canPlayType||"no"===t.canPlayType("audio/"+e)||""===t.canPlayType("audio/"+e))return!1}catch(e){return!1}return!0}}]),e}()},"7c03":function(e,t,i){"use strict";i.d(t,"a",(function(){return u}));var n=2147483647,o=/[^\x20-\x7E]/,a=/[\x2E\u3002\uFF0E\uFF61]/g,s={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},r=Math.floor,c=String.fromCharCode,u={error:function(e){throw new RangeError(s[e])},map:function(e,t){for(var i=e.length,n=[];i--;)n[i]=t(e[i]);return n},mapDomain:function(e,t){var i=e.split("@"),n="";i.length>1&&(n=i[0]+"@",e=i[1]);var o=(e=e.replace(a,".")).split(".");return n+this.map(o,t).join(".")},ucs2decode:function(e){for(var t,i,n=[],o=0,a=e.length;o<a;)(t=e.charCodeAt(o++))>=55296&&t<=56319&&o<a?56320==(64512&(i=e.charCodeAt(o++)))?n.push(((1023&t)<<10)+(1023&i)+65536):(n.push(t),o--):n.push(t);return n},digitToBasic:function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},adapt:function(e,t,i){var n=0;for(e=i?r(e/700):e>>1,e+=r(e/t);e>455;n+=36)e=r(e/35);return r(n+36*e/(e+38))},encode:function(e){var t,i,o,a,s,u,l,d,h,f,p,w,m,g,v,k=[];for(w=(e=this.ucs2decode(e)).length,t=128,i=0,s=72,u=0;u<w;++u)(p=e[u])<128&&k.push(c(p));for(o=a=k.length,a&&k.push("-");o<w;){for(l=n,u=0;u<w;++u)(p=e[u])>=t&&p<l&&(l=p);for(l-t>r((n-i)/(m=o+1))&&this.error("overflow"),i+=(l-t)*m,t=l,u=0;u<w;++u)if((p=e[u])<t&&++i>n&&this.error("overflow"),p==t){for(d=i,h=36;!(d<(f=h<=s?1:h>=s+26?26:h-s));h+=36)v=d-f,g=36-f,k.push(c(this.digitToBasic(f+v%g,0))),d=r(v/g);k.push(c(this.digitToBasic(d,0))),s=this.adapt(i,m,o==a),i=0,++o}++i,++t}return k.join("")},toASCII:function(e){return this.mapDomain(e,(function(e){return o.test(e)?"xn--"+this.encode(e):e}))}}},"7f46":function(e,t,i){"use strict";i.d(t,"a",(function(){return v}));var n=""",o="'",a="<",s=">",r="&",c=new RegExp("&","g"),u=new RegExp('"',"g"),l=new RegExp("'","g"),d=new RegExp("<","g"),h=new RegExp(">","g"),f=new RegExp(n,"g"),p=new RegExp(o,"g"),w=new RegExp(a,"g"),m=new RegExp(s,"g"),g=new RegExp(r,"g"),v={regTrim:/^\s+|\s+$/g,rawEncode:function(e){return e?e.replace(c,r).replace(u,n).replace(l,o).replace(d,a).replace(h,s):e},rawDecode:function(e){return e?e.replace(f,'"').replace(p,"'").replace(w,"<").replace(m,">").replace(g,"&"):e},h:function(e){var t=0;if(0===e.length)return t;for(var i=0;i<e.length;i++){t=(t<<5)-t+e.charCodeAt(i),t&=t}return t},isString:function(e){return void 0!==e&&"string"==typeof e},trim:function(e){return this.isString(e)?String.prototype.trim?e.trim().toString():e.replace(this.regTrim,""):null},toLinkable:function(e){for(var t,i,n,o=/\[([^)]+)\]/,a=/\(([^)]+)\)/,s=/\[[^\]\\(\\)]+\]\((\bhttp:\/\/\b|\bhttps:\/\/\b|\bmailto:\b|\btel:\+{0,1}\b){1}[^\]\\(\\)]+\)/i,r="_blank",c=e;null!==(t=s.exec(c));)if(i=o.exec(t[0]),(n=a.exec(t[0]))[0].indexOf("(mailto:")||(r="_top"),(c=c.replace(i[0]+n[0],'<a target="'+r+'" href="'+n[1]+'" class="link">'+i[1]+"</a>"))===e)return c;return c},markdownToHtml:function(e){return e=this.rawEncode(e),e=(e=(e=this.toLinkable(e)).replace(/(?!<a[^>]*>[^<])_(.*?)_(?![^<]*<\/a>)/gim,"<i>$1</i>")).replace(/\*\*(.*?)\*\*/gim,"<b>$1</b>").replace(/\*(.*?)\*/gim,"<b>$1</b>")},removeHTMLTags:function(e){return e.replace(/<br\/>|<br>/g," ")},cleanupCssValue:function(e){return this.isString(e)?e.replace(/(!important)|(;)/g,""):e},parseQueryString:function(e){var t,i,n,o,a={};for(t=0,i=(o=(e?e.replace(/(.*)\?/,""):window.location.search.substring(1)).split("&")).length;t<i;t+=1)a[(n=o[t].split("="))[0]]=n[1];return a}}},"87dd":function(e,t,i){"use strict";i.d(t,"a",(function(){return n}));var n={data:function(){return{genericStyles:{"outline:":"none !important;","visibility:":"visible !important;","resize:":"none !important;","box-shadow:":"none !important;","overflow:":"visible !important;","background:":"none !important;","opacity:":"1 !important;","filter:":"alpha(opacity=100) !important;","-ms-filter:":"progid:DXImageTransform.Microsoft.Alpha(Opacity 1}) !important;","-mz-opacity:":"1 !important;","-khtml-opacity:":"1 !important;","top:":"auto !important;","right:":"auto !important;","bottom:":"auto !important;","left:":"auto !important;","position:":"absolute !important;","border:":"0 !important;","min-height:":"auto !important;","min-width:":"auto !important;","max-height:":"none !important;","max-width:":"none !important;","padding:":"0 !important;","margin:":"0 !important;","-moz-transition-property:":"none !important;","-webkit-transition-property:":"none !important;","-o-transition-property:":"none !important;","transition-property:":"none !important;","transform:":"none !important;","-webkit-transform:":"none !important;","-ms-transform:":"none !important;","width:":"auto !important;","height:":"auto !important;","display:":"block !important;","z-index:":"auto !important;","background-color:":"transparent !important;","cursor:":"none !important;","float:":"none !important;","border-radius:":"unset !important;","pointer-events:":"auto !important;","clip:":"auto !important;","color-scheme:":"light !important;"}}}}},"91ce":function(e,t,i){"use strict";(function(e){i.d(t,"a",(function(){return h}));var n=i("a34a"),o=i.n(n),a=i("7c03"),s=(i("fbcf"),i("e1bd"));function r(e,t,i,n,o,a,s){try{var r=e[a](s),c=r.value}catch(e){return void i(e)}r.done?t(c):Promise.resolve(c).then(n,o)}function c(e){return function(){var t=this,i=arguments;return new Promise((function(n,o){var a=e.apply(t,i);function s(e){r(a,n,o,s,c,"next",e)}function c(e){r(a,n,o,s,c,"throw",e)}s(void 0)}))}}function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var h=function(){function t(e){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,t),d(this,"store",null),d(this,"sessionInformation",null),this.store=e}return function(e,t,i){t&&l(e.prototype,t),i&&l(e,i)}(t,[{key:"getSessionInformation",value:function(){var t,i=this.store.getters["property/id"];return this.sessionInformation&&(t=this.sessionInformation),e.Tawk_Window.webStorage.localStore&&(t=e.Tawk_Window.webStorage.localStore.getItem("twk_"+i)),t||(t=e.Tawk_Window.webStorage.cookieStore.getItem("Tawk_"+i)[0]),this.parseSessionInformation(t)}},{key:"storeSessionInformation",value:function(t){var i=this.store.getters["session/visitorSocketServer"],n=i||"",o=this.store.getters["session/needConsent"],a=this.store.getters["widget/consentData"];(i||t)&&((t||!o&&a)&&(n+="::cf"),e.Tawk_Window.webStorage.localStore.setItem("twk_"+this.store.getters["property/id"],n)||e.Tawk_Window.webStorage.cookieStore.setItem("Tawk_"+this.store.getters["property/id"],n,!1),this.sessionInformation=n)}},{key:"parseSessionInformation",value:function(e){var t=[];return e&&((t=e.split("::")).length<=1&&(t=e.split("||"))),t}},{key:"getUUID",value:function(){var t=this;return new Promise((function(i,n){var o,a,s=t.store.getters["property/id"],r="twk_uuid_".concat(s);if(t.store.getters["widget/isPopout"])t.getPopoutUUID(r).then((function(e){i(e)})).catch((function(){n()}));else{if((t.store.getters["widget/isWindowed"]||t.store.getters["property/isTawkHostedPage"])&&((a=e.Tawk_Window.webStorage.localStore.getItem(r))&&"object"===u(a)))return i(a);if(!a&&((a=e.Tawk_Window.webStorage.cookieStore.getItem(r))&&a.length))try{o=JSON.parse(decodeURIComponent(a[0]))}catch(e){console.error(e)}o||(o=t.getDeprecatedUUID()),i(o)}}))}},{key:"getPopoutUUID",value:function(t){return new Promise((function(i,n){var o,a,s=e.Tawk_Window.webStorage.sessionStore.getItem(t);if(s&&s.length)try{a=JSON.parse(s),i(a)}catch(e){console.error(e),n()}else{window.addEventListener("message",(function e(t){if(t.data&&t.source===window.opener){if(window.removeEventListener("message",e,!1),clearTimeout(o),t.data.twkWidgetUUID)return i({uuid:t.data.twkWidgetUUID,version:3});i({})}}),!1),o=setTimeout((function(){n()}),1e4),window.opener.postMessage("getTwkWidgetUUID","*")}}))}},{key:"getDeprecatedUUID",value:function(){var t,i,n=!1,o=1/0,s=a.a.toASCII(window.location.hostname);"www."===s.substring(0,4)&&(s=s.replace("www.",""));var r=e.Tawk_Window.webStorage.cookieStore.getItem("__tawkuuid");if(r&&r.length>0)for(var c=0;c<r.length;c++){var u=this.parseSessionInformation(r[c]);if(4===u.length){var l=u[0],d=u[1],h=u[2],f=u[3];if("e"===l){if(s===d){t=h,i=f;break}}else if("p"===l){var p=s.match(d);p&&s.substr(p.index)===d&&p.index<o&&(o=p.index,t=h,i=f,n=!0)}}}return t?{uuid:t,version:i,isPartial:n}:{}}},{key:"getIdempotencyKey",value:function(){var t=c(o.a.mark((function t(){var i;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,navigator.locks.request("idempotency_key",c(o.a.mark((function t(){return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:(i=e.Tawk_Window.webStorage.cookieStore.getItem("twk_idm_key"))&&i.length?i=i[0]:(i=Object(s.a)(),e.Tawk_Window.webStorage.cookieStore.setItem("twk_idm_key",i,!0),e.Tawk_Window.webStorage.cookieStore.checkItemSaved("twk_idm_key"));case 2:case"end":return t.stop()}}),t)}))));case 3:t.next=9;break;case 5:return t.prev=5,t.t0=t.catch(0),console.error(t.t0),t.abrupt("return",null);case 9:return t.abrupt("return",i);case 10:case"end":return t.stop()}}),t,null,[[0,5]])})));return function(){return t.apply(this,arguments)}}()},{key:"storeUUID",value:function(t,i,n){var o=this.store.getters["property/id"],a="twk_uuid_".concat(o),s=(new Date).getTime(),r=JSON.stringify({uuid:t,version:i,domain:n,ts:s});if(this.store.getters["widget/isPopout"])e.Tawk_Window.webStorage.sessionStore.setItem(a,r);else if(this.store.getters["widget/isWindowed"]||this.store.getters["property/isTawkHostedPage"])e.Tawk_Window.webStorage.localStore.setItem(a,r);else{e.Tawk_Window.webStorage.cookieStore.setItem(a,encodeURIComponent(r),!1,n||void 0);try{e.Tawk_Window.webStorage.cookieStore.checkItemSaved(a)}catch(e){console.error(e)}}}},{key:"getStoredToken",value:function(){var t=this.store.getters["property/id"],i=e.Tawk_Window.webStorage.localStore.getItem("twk_token_".concat(t));return i||(e.Tawk_Window.webStorage.localStore.getItem("twk_token"),e.Tawk_Window.webStorage.localStore.deleteItem("twk_token")),i}},{key:"storeToken",value:function(t){var i=this.store.getters["property/id"],n="twk_token_".concat(i);this.store.getters["widget/isPopout"]?e.Tawk_Window.webStorage.sessionStore.setItem(n,t):e.Tawk_Window.webStorage.localStore.setItem(n,t)}}]),t}()}).call(this,i("c8ba"))},"99e1":function(e,t,i){"use strict";(function(e){function n(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}i.d(t,"a",(function(){return o}));var o=function(){function t(i){var n=this;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,t),this.store=i,this.focusReconnectCalled=!1,this.hasFocus=!1,this.active=!1,this.away=!1,this.inactivityTimeout=null,this.awayTimeout=null,this.interval=null,this.onActivityHandler=function(){e.Tawk_Window&&(n.away&&window.$_Tawk.connected&&e.Tawk_Window.app.$socket.publish("notifySocketStatusUpdate","online"),n.active=!0,n.away=!1)},this.popupOnFocusHandler=function(){e.Tawk_Window&&(!window.$_Tawk.connected&&e.Tawk_Window.app.$socket.isForcedDisconnect()?(n.store.commit("session/setIsInactive",!1),e.Tawk_Window.criticalRefresh()):(n.hasFocus||(n.active=!0,n.hasFocus=!0,window.$_Tawk.connected&&e.Tawk_Window.app.$socket.publish("popupOnFocus",!0)),n.away&&window.$_Tawk.connected&&e.Tawk_Window.app.$socket.publish("notifySocketStatusUpdate","online"),n.away=!1))},this.popupOnBlurHandler=function(){e.Tawk_Window&&(n.hasFocus=!1,window.$_Tawk.connected&&e.Tawk_Window.app.$socket.publish("popupOnFocus",!1))},this.reconnectOnActivity=function(){e.Tawk_Window&&!n.focusReconnectCalled&&(n.focusReconnectCalled=!0,n.store.commit("session/setIsInactive",!1),e.Tawk_Window.criticalRefresh())},this.initActivityReset=function(){n.cleanUp(),n.resetTimeout(),n.setupListeners(),n.setupMaxWidgetListeners(),n.interval=setInterval((function(){n.active&&(n.resetTimeout(),n.active=!1)}),1e4)}}return function(e,t,i){t&&n(e.prototype,t),i&&n(e,i)}(t,[{key:"resetTimeout",value:function(){var t=this;clearTimeout(this.inactivityTimeout),clearTimeout(this.awayTimeout),e.Tawk_Window&&!e.Tawk_Window.app.$socket.isForcedDisconnect()&&(this.awayTimeout=setTimeout((function(){!t.away&&e.Tawk_Window&&(t.away=!0,e.Tawk_Window&&e.Tawk_Window.app.$socket&&window.$_Tawk.connected&&e.Tawk_Window.app.$socket.publish("notifySocketStatusUpdate","away"))}),6e5),this.inactivityTimeout=setTimeout((function(){t.inactivityTimeoutHandler()}),12e5))}},{key:"inactivityTimeoutHandler",value:function(){e.Tawk_Window&&(this.store.dispatch("chat/clearUnseenMessages"),e.Tawk_Window.app.$socket.disconnectSocket(),this.store.commit("session/setChatWindowState","min"),this.store.commit("session/setIsInactive",!0),this.setupMaxWidgetListenersReconnect(),this.store.getters["browserData/mobileBrowserName"]?(document.addEventListener("touchmove",this.reconnectOnActivity,{once:!0}),document.addEventListener("touchend",this.reconnectOnActivity,{once:!0}),document.addEventListener("keydown",this.reconnectOnActivity,{once:!0})):(document.addEventListener("mousemove",this.reconnectOnActivity,{once:!0}),document.addEventListener("click",this.reconnectOnActivity,{once:!0}),document.addEventListener("keydown",this.reconnectOnActivity,{once:!0}),document.onfocusin?document.addEventListener("focusin",this.reconnectOnActivity,{once:!0}):window.addEventListener("focus",this.reconnectOnActivity,{once:!0})))}},{key:"cleanUp",value:function(){clearInterval(this.interval),clearTimeout(this.inactivityTimeout),clearTimeout(this.awayTimeout),document.removeEventListener("mousemove",this.onActivityHandler),document.removeEventListener("click",this.onActivityHandler),document.removeEventListener("keydown",this.onActivityHandler),document.removeEventListener("click",this.reconnectOnActivity,{once:!0}),document.removeEventListener("keydown",this.reconnectOnActivity,{once:!0}),document.removeEventListener("focus",this.reconnectOnActivity,{once:!0}),document.removeEventListener("focusin",this.popupOnFocusHandler),document.removeEventListener("focusout",this.popupOnBlurHandler),window.removeEventListener("focus",this.popupOnFocusHandler),window.removeEventListener("blur",this.popupOnBlurHandler),e&&e.Tawk_Window&&e.Tawk_Window.maxWidget&&e.Tawk_Window.maxWidget.$el&&e.Tawk_Window.maxWidget.$el.contentDocument&&(e.Tawk_Window.maxWidget.$el.contentDocument.removeEventListener("mousemove",this.onActivityHandler),e.Tawk_Window.maxWidget.$el.contentDocument.removeEventListener("click",this.onActivityHandler),e.Tawk_Window.maxWidget.$el.contentDocument.removeEventListener("keydown",this.onActivityHandler),e.Tawk_Window.maxWidget.$el.contentDocument.removeEventListener("touchmove",this.onActivityHandler),e.Tawk_Window.maxWidget.$el.contentDocument.removeEventListener("touchend",this.onActivityHandler),e.Tawk_Window.maxWidget.$el.contentDocument.removeEventListener("mousemove",this.reconnectOnActivity,{once:!0}),e.Tawk_Window.maxWidget.$el.contentDocument.removeEventListener("click",this.reconnectOnActivity,{once:!0}),e.Tawk_Window.maxWidget.$el.contentDocument.removeEventListener("keydown",this.reconnectOnActivity,{once:!0}),e.Tawk_Window.maxWidget.$el.contentDocument.removeEventListener("touchmove",this.reconnectOnActivity,{once:!0}),e.Tawk_Window.maxWidget.$el.contentDocument.removeEventListener("touchend",this.reconnectOnActivity,{once:!0})),this.hasFocus=!1,this.active=!1,this.away=!1,this.inactivityTimeout=null,this.awayTimeout=null,this.interval=null,this.focusReconnectCalled=!1}},{key:"setupListeners",value:function(){this.store.getters["browserData/mobileBrowserName"]?(document.addEventListener("touchmove",this.onActivityHandler),document.addEventListener("touchend",this.onActivityHandler),document.addEventListener("keydown",this.onActivityHandler)):this.store.getters["widget/isWindowed"]?(document.onfocusin?(document.addEventListener("focusin",this.popupOnFocusHandler),document.addEventListener("focusout",this.popupOnBlurHandler)):(window.addEventListener("focus",this.popupOnFocusHandler),window.addEventListener("blur",this.popupOnBlurHandler)),document.addEventListener("click",this.popupOnFocusHandler),document.addEventListener("keydown",this.popupOnFocusHandler)):(document.addEventListener("mousemove",this.onActivityHandler),document.addEventListener("click",this.onActivityHandler),document.addEventListener("keydown",this.onActivityHandler))}},{key:"setupMaxWidgetListeners",value:function(){e&&e.Tawk_Window&&e.Tawk_Window.maxWidget&&e.Tawk_Window.maxWidget.$el&&e.Tawk_Window.maxWidget.$el.contentDocument&&(e.Tawk_Window.maxWidget.$el.contentDocument.addEventListener("mousemove",this.onActivityHandler),e.Tawk_Window.maxWidget.$el.contentDocument.addEventListener("click",this.onActivityHandler),e.Tawk_Window.maxWidget.$el.contentDocument.addEventListener("keydown",this.onActivityHandler),this.store.getters["browserData/mobileBrowserName"]&&(e.Tawk_Window.maxWidget.$el.contentDocument.addEventListener("touchmove",this.onActivityHandler),e.Tawk_Window.maxWidget.$el.contentDocument.addEventListener("touchend",this.onActivityHandler)))}},{key:"setupMaxWidgetListenersReconnect",value:function(){e&&e.Tawk_Window&&e.Tawk_Window.maxWidget&&e.Tawk_Window.maxWidget.$el&&e.Tawk_Window.maxWidget.$el.contentDocument&&(e.Tawk_Window.maxWidget.$el.contentDocument.addEventListener("mousemove",this.reconnectOnActivity,{once:!0}),e.Tawk_Window.maxWidget.$el.contentDocument.addEventListener("click",this.reconnectOnActivity,{once:!0}),e.Tawk_Window.maxWidget.$el.contentDocument.addEventListener("keydown",this.reconnectOnActivity,{once:!0}),this.store.getters["browserData/mobileBrowserName"]&&(e.Tawk_Window.maxWidget.$el.contentDocument.addEventListener("touchmove",this.reconnectOnActivity,{once:!0}),e.Tawk_Window.maxWidget.$el.contentDocument.addEventListener("touchend",this.reconnectOnActivity,{once:!0})))}}]),t}()}).call(this,i("c8ba"))},"9a05":function(e,t,i){"use strict";i.r(t);t.default={namespaced:!0,state:{id:null,pageName:"",isTawkHostedPage:!1},getters:{id:function(e){return e.id},isTawkHostedPage:function(e){return e.isTawkHostedPage}},actions:{updateId:function(e,t){(0,e.commit)("setId",t)},updateIsTawkHostedPage:function(e,t){(0,e.commit)("setIsTawkHostedPage",t)},resetState:function(e){(0,e.commit)("unsetData")}},mutations:{setId:function(e,t){e.id=t},setIsTawkHostedPage:function(e,t){e.isTawkHostedPage=t},unsetData:function(e){for(var t={id:null,pageName:"",isTawkHostedPage:!1},i=Object.keys(t),n=0;n<i.length;n++){var o=i[n];e[o]=t[o]}}}}},"9b4f":function(e,t,i){"use strict";i.r(t),function(e){var n=i("7f46");t.default={namespaced:!0,state:{agents:{},agentsCount:0,activeProfiles:[],chat:{buffer:[],department:"any",endVersion:1,history:[],id:null,order:0,version:0,unreadMessage:0,synced:!1,messages:{},unseenMessages:[],historyProcessed:!1,endedChats:[],lastMessage:{}},allProfiles:{},rating:null,incomingMessage:null,calls:{},incomingCall:null,hasChatStarted:!1,messageBlocks:[],visitorHasMessaged:!1,agentHasMessaged:!1,hasChatEnded:!1,uploadFiles:[],lastScrollPositon:null,outgoingMessage:null,firstIncoming:!1},getters:{activeProfiles:function(e){return e.activeProfiles},agents:function(e){return e.agents},agentsCount:function(e){return e.agentsCount},agentProfile:function(e){return function(t){var i=e.agents[t];return i&&i.profileId?e.allProfiles[i.profileId]:null}},allProfiles:function(e){return e.allProfiles},chatOrder:function(e){return e.chat.order},chatVersion:function(e){return e.chat.version},incomingMessage:function(e){return e.incomingMessage},profiles:function(e){return e.profiles},rating:function(e){return e.rating},chatMessages:function(e){return e.chat.messages},unreadMessageCount:function(e){return e.chat.unreadMessage},incomingCall:function(e){return e.incomingCall},callData:function(e){return function(t){return e.calls[t]}},hasChatStarted:function(e){return e.hasChatStarted},visitorHasMessaged:function(e){return e.visitorHasMessaged},agentHasMessaged:function(e){return e.agentHasMessaged},chatEndVersion:function(e){return e.chat.endVersion},hasChatEnded:function(e){return e.hasChatEnded},uploadFiles:function(e){return e.uploadFiles},lastScrollPositon:function(e){return e.lastScrollPositon},outgoingMessage:function(e){return e.outgoingMessage},historyProcessed:function(e){return e.chat.historyProcessed},isChatOngoing:function(e){return!e.hasChatEnded&&e.visitorHasMessaged&&e.agentsCount>0},isVisitorEngaged:function(e){return!e.hasChatEnded&&e.visitorHasMessaged},messageBlocks:function(e){return e.messageBlocks},endedChats:function(e){return e.chat.endedChats},lastMessage:function(e){return e.chat.lastMessage},firstIncoming:function(e){return e.firstIncoming}},actions:{updateConversation:function(t,i){var n=t.dispatch,o=t.state,a=t.getters,s=(i=i||{}).cver||0,r=i.c||[];if(o.chat.synced=!0,!(o.chat.version>=s)){for(var c=0,u=o.chat.buffer.length;c<u;c++)o.chat.buffer[c].cver>s&&r.push(o.chat.buffer[c]);for(var l=0,d=r.length;l<d;l++){var h=r[l];h.md&&h.md.ao||e.Tawk_Window.chatManager.parseChatMessage(h)}o.visitorHasMessaged&&!o.agentHasMessaged&&a["widget/showEstimatedWaitTime"]&&n("session/addWaitTime",{},{root:!0}),o.chat.version=s}},updateAgentCount:function(e,t){e.state.agentsCount+=t},updateVersion:function(e,t){(0,e.commit)("setVersion",t)},updateDepartment:function(e,t){(0,e.commit)("setDepartment",t)},incomingChatMessage:function(t,i){var n=t.commit,o=t.state,a=t.dispatch;if("offline"===t.rootGetters["session/pageStatus"]){if("a"!==i.ut)return;a("session/updatePageStatus","online",{root:!0})}if(i.cver>o.chat.version){if(i.md&&i.md.ao)return void n("setVersion",i.cver);var s=e.Tawk_Window.chatManager.parseChatMessage(i,!0);s&&(e.Tawk_Window.audioPlayer.playSound(),n("setIncomingMessage",s),n("setVersion",i.cver),a("updateChatMessage",s))}},outgoingChatMessage:function(e,t){var i=e.commit,n=e.state,o=e.dispatch;t&&t.cver>n.chat.version&&(i("setVersion",t.cver),o("updateChatMessage",t))},agentJoined:function(e,t){for(var i,n=e.state,o=e.commit,a=e.dispatch,s=n.allProfiles[t.profileData.profileId],r=0;r<n.activeProfiles.length;r++)if(n.activeProfiles[r].profileId===t.profileData.profileId){i=n.activeProfiles[r];break}i?(i.count++,i.profileImage!==t.profileData.profileImage&&(i.profileImage=t.profileData.profileImage,s&&(s.profileImage=t.profileData.profileImage))):n.activeProfiles.push(t.profileData),s||(n.allProfiles[t.profileData.profileId]=t.profileData),o("setAgent",t),a("updateAgentCount",1)},agentLeft:function(e,t){var i=e.state,n=e.commit,o=e.dispatch,a=e.getters.agentProfile(t.resourceId);if(a&&a.profileId){for(var s=1,r=0;r<i.activeProfiles.length;r++)if(i.activeProfiles[r].profileId===a.profileId){var c=i.activeProfiles[r];s=c.count,--s<1?i.activeProfiles.splice(r,1):c.count=s;break}t.agentData.pid=a.profileId,n("setAgent",t),o("updateAgentCount",-1)}},setPreviousMessages:function(t){var i,n,o,a,s,r=t.state,c=t.commit,u=t.rootGetters,l=t.dispatch,d=0,h=r.chat.history,f=0;for(r.chat.endVersion=0,i=0,n=h.length;i<n;i++)"CHAT_ENDED"===h[i].m&&(l("processEndedChat",h.slice(f,i+1)),d=i+1,r.chat.endVersion+=1,f=i);for(a=r.chat.order>0?r.chat.messages[r.chat.order]:null,i=d,n=h.length;i<n;i++)if(!(o=h[i]).md||o.md&&!o.md.ao){if(a&&a.timeStamp>new Date(o.co).getTime())continue;"v"!==o.ut||r.visitorHasMessaged||"c"!==o.t||(s=(new Date).getTime()-new Date(o.co).getTime());var p=e.Tawk_Window.chatManager.parseChatMessage(o);p&&(c("incrementChatOrder"),r.chat.messages[r.chat.order]=p,("c"===p.type||p.callData||"n"===p.type)&&c("setLastMessage",p))}r.visitorHasMessaged&&!r.agentHasMessaged&&u["widget/showEstimatedWaitTime"]&&(u["session/waitTime"]<s?c("session/setWaitTime",6e4,{root:!0}):c("session/setWaitTime",u["session/waitTime"]-s,{root:!0}),l("session/addWaitTime",{},{root:!0})),r.hasChatStarted=r.visitorHasMessaged||r.agentHasMessaged,r.hasChatEnded=!!r.chat.endVersion&&!r.hasChatStarted,c("setHistoryProcessed",!0)},updateUnseenMessages:function(e,t){var i=e.state;i.chat.unseenMessages.push(t),i.chat.unreadMessage+=1},clearUnseenMessages:function(e){var t=e.state;t.chat.unseenMessages=[],t.chat.unreadMessage=0},clearProfiles:function(e){var t=e.state;t.activeProfiles=[],t.allProfiles={},t.agents={},t.agentsCount=0},endChat:function(t,i){var n=t.state,o=t.commit,a=t.dispatch;i=i||function(){},e.Tawk_Window.app.$socket.publish("endVisitorChat",(function(t,s){if(t)i(!0);else{for(var r=Object.keys(n.chat.messages),c=[],u=0;u<r.length;u++){var l=r[u];c.push(n.chat.messages[l].rawMessage)}c.push({m:"CHAT_ENDED",t:"n",co:new Date}),n.chat.endVersion=s.chatEndVersion,n.chat.messages={},n.hasChatStarted=!1,n.hasChatEnded=!0,n.chat.order=0,a("processEndedChat",c),o("setChatId",s.nextChatId),a("clearProfiles"),a("session/toggleWidget","",{root:!0}),a("clearMessageBlock"),e.Tawk_Window.jsApi.triggerApiHandlers("onChatEnded"),i()}}))},resetState:function(e){(0,e.commit)("unsetData")},updateCallData:function(e,t){var i=e.state;for(var n in i.calls[t.callId]=t,i.chat.messages)if(i.chat.messages[n].callId===t.callId){i.chat.messages[n].callData=t;break}},updateRatingMessage:function(e,t){var i=e.commit,n=e.state;t&&(i("incrementChatOrder"),n.chat.messages[n.chat.order]=t)},addMessageBlock:function(e,t){(0,e.commit)("pushMessageBlock",t)},clearMessageBlock:function(e){(0,e.commit)("unsetMessageBlock")},updateChatMessage:function(t,i){var n=t.commit,o=t.state,a=t.rootGetters;n("incrementChatOrder"),o.chat.messages[o.chat.order]=i,("c"===i.type||i.callData)&&n("setLastMessage",i),"c"!==i.type||"s"===i.senderType||o.hasChatStarted||"offline"===a["session/pageStatus"]||(n("setChatHasStarted",!0),e.Tawk_Window.jsApi.triggerApiHandlers("onChatStarted",{chatId:o.chat.id}))},processEndedChat:function(e,t){for(var i,o,a=e.state,s=[],r=[],c=a.chat.id,u=0;u<t.length;u++){var l=t[u];"c"!==l.t?"n"===l.t&&"AGENT_JOIN_CONVERSATION"===l.m&&l.md?(s.push({displayName:n.a.rawDecode(l.n),profileId:l.md.pid,profileImage:l.md.pi,profileTitle:n.a.rawDecode(l.md.pst)}),-1===r.indexOf(l.uid)&&r.push(l.uid)):"CHAT_ENDED"===l.m&&(i=l.co):o=l.m}a.chat.endedChats.unshift({id:c+a.chat.endedChats.length,agentAliases:s,agentIds:r,snippet:o,messages:t,endedOn:i,isTemp:!0})}},mutations:{setVersion:function(e,t){e.chat.version=t},setDepartment:function(e,t){e.chat.department=t},setIncomingMessage:function(e,t){e.incomingMessage=t,e.firstIncoming=!1,0!==Object.keys(e.chat.lastMessage).length||e.firstIncoming||(e.firstIncoming=!0)},incrementChatOrder:function(e){e.chat.order+=1},setRating:function(e,t){e.rating=t},setAgent:function(e,t){e.agents[t.resourceId]={profileId:t.agentData.pid,seq:t.agentData.seq}},setChatId:function(e,t){e.chat.id=t},setIncomingCall:function(e,t){e.incomingCall=t},setChatHasStarted:function(e,t){e.hasChatStarted=t,e.hasChatEnded=!t},setVisitorHasMessaged:function(e,t){e.visitorHasMessaged=t},setAgentHasMessaged:function(e,t){e.agentHasMessaged=t},setHistoryMessages:function(e,t){e.chat.history=t},addFileUpload:function(e,t){e.uploadFiles.push(t)},removeFileUpload:function(e,t){var i=e.uploadFiles.findIndex((function(e){return e.uuid===t}));-1!==i&&e.uploadFiles.splice(i,1)},setLastScrollPosition:function(e,t){e.lastScrollPositon=t},setOutgoingMessage:function(e,t){e.outgoingMessage=t},setHistoryProcessed:function(e,t){e.chat.historyProcessed=t},unsetData:function(e){for(var t={agents:{},agentsCount:0,activeProfiles:[],chat:{buffer:[],department:"any",endVersion:1,history:[],id:null,order:0,version:0,unreadMessage:0,synced:!1,messages:{},unseenMessages:[],historyProcessed:!1,endedChats:[],lastMessage:{}},allProfiles:{},rating:null,incomingMessage:null,calls:{},incomingCall:null,hasChatStarted:!1,messageBlocks:[],visitorHasMessaged:!1,agentHasMessaged:!1,hasChatEnded:!1,uploadFiles:[],lastScrollPositon:null,outgoingMessage:null,firstIncoming:!1},i=Object.keys(t),n=0;n<i.length;n++){var o=i[n];e[o]=t[o]}},pushMessageBlock:function(e,t){e.messageBlocks.push(t)},unsetMessageBlock:function(e){e.messageBlocks=[]},setLastMessage:function(e,t){e.chat.lastMessage=t}}}}.call(this,i("c8ba"))},"9be8":function(e,t,i){"use strict";(function(e){i.d(t,"a",(function(){return u}));var n=i("a34a"),o=i.n(n),a=i("bdd0");function s(e,t,i,n,o,a,s){try{var r=e[a](s),c=r.value}catch(e){return void i(e)}r.done?t(c):Promise.resolve(c).then(n,o)}function r(e){return function(){var t=this,i=arguments;return new Promise((function(n,o){var a=e.apply(t,i);function r(e){s(a,n,o,r,c,"next",e)}function c(e){s(a,n,o,r,c,"throw",e)}r(void 0)}))}}function c(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var u=function(){function t(e){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,t),this.registerTime=0,this.maxRetrycount=3,this.retryCount=0,this.previousRegisterCall=null,this.requestCancelTimeout=null,this.connectionCookieInterval=null,this.registerDelayTimeout=null,this.registerData=null,this.registerStarted=!1,this.retryDelay=null,this.retryInitialDelay=30,this.retryMultiplier=1.5,this.minRandom=.5,this.maxRandom=1.5,this.maxDelay=120,this.retryRegisterTimeout=null,this.store=e}return function(e,t,i){t&&c(e.prototype,t),i&&c(e,i)}(t,[{key:"clearTimers",value:function(){this.abort(),clearTimeout(this.requestCancelTimeout),clearTimeout(this.registerDelayTimeout),clearTimeout(this.retryRegisterTimeout),clearInterval(this.connectionCookieInterval),e&&e.Tawk_Window&&e.Tawk_Window.webStorage&&e.Tawk_Window.webStorage.cookieStore.setItem("TawkConnectionTime",0,!0),this.retryRegisterTimeout=null,this.registerDelayTimeout=null,this.requestCancelTimeout=null,this.connectionCookieInterval=null}},{key:"init",value:function(){var e=r(o.a.mark((function e(t,i){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.registerStarted=!0,this.clearTimers(),e.next=4,this.prepareData();case 4:if(this.registerData.u||this.registerData.uik){e.next=7;break}return this.clearTimers(),e.abrupt("return");case 7:this.startRegister(t,i);case 8:case"end":return e.stop()}}),e,this)})));return function(t,i){return e.apply(this,arguments)}}()},{key:"prepareData",value:function(){var t=r(o.a.mark((function t(){var i,n,a,s,r,c,u,l,d;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.Tawk_Window){t.next=2;break}return t.abrupt("return");case 2:i="",n=this.store.getters,(a=e.Tawk_Window.sessionManager.getSessionInformation()).length&&(i=a[0]),((s=(new Date).getTimezoneOffset())<-900||s>900)&&(s=0),this.registerData?this.registerData.vss=i:this.registerData={p:n["property/id"]||"",w:n["widget/id"],platform:n["browserData/mobileBrowserName"]?"mobile":"desktop",tzo:s,url:document.location.href,referrer:document.referrer||void 0,vss:i},this.registerData.consent=!1,r=0;case 11:if(!(r<a.length)){t.next=18;break}if("cf"!==a[r]){t.next=15;break}return this.registerData.consent=!0,t.abrupt("break",18);case 15:r++,t.next=11;break;case 18:return e.Tawk_Window.maximize?this.registerData.wss="max":this.registerData.wss="min",t.prev=19,t.next=22,e.Tawk_Window.sessionManager.getUUID();case 22:if(c=t.sent,u=c.uuid,l=c.version,d=c.isPartial,!u){t.next=32;break}this.registerData.u=u,this.registerData.uv=parseInt(l,10),2===l&&d&&(this.registerData.uw=1),t.next=35;break;case 32:return t.next=34,e.Tawk_Window.sessionManager.getIdempotencyKey();case 34:this.registerData.uik=t.sent;case 35:t.next=40;break;case 37:t.prev=37,t.t0=t.catch(19),console.error(t.t0);case 40:case"end":return t.stop()}}),t,this,[[19,37]])})));return function(){return t.apply(this,arguments)}}()},{key:"startRegister",value:function(t,i){var n=e.Tawk_Window.webStorage.cookieStore.getItem("TawkConnectionTime"),o=parseInt(n.length?n[0]:null,10);!o||(new Date).getTime()-new Date(o).getTime()>1e3?(e.Tawk_Window.webStorage.cookieStore.setItem("TawkConnectionTime",(new Date).getTime(),!0),this.connectionCookieInterval=setInterval((function(){e&&e.Tawk_Window&&e.Tawk_Window.webStorage&&e.Tawk_Window.webStorage.cookieStore.setItem("TawkConnectionTime",(new Date).getTime(),!0)}),100),this.doRegister(t,i)):this.delayRegister(t,i)}},{key:"delayRegister",value:function(e,t){var i=this;clearTimeout(this.registerDelayTimeout),this.registerDelayTimeout=setTimeout((function(){i.init(e,t)}),1e3)}},{key:"doRegister",value:function(t,i){var n=this;this.setupRegisterTimeout();var o,s="".concat("https://va.tawk.to","/v1/session/start"),r=e.Tawk_Window.sessionManager.getStoredToken();r&&(o={"X-Tawk-Token":r}),this.previousRegisterCall=a.a.post(s,this.registerData,o,(function(e,o){return n.clearTimers(),e||!e&&!o?n.retryRegister(t,i):o.error?o.error.code&&"InternalServerError"===o.error.code?n.retryRegister(t,i):i():void t(o)}),!0,!0)}},{key:"setupRegisterTimeout",value:function(){var e=this;clearTimeout(this.requestCancelTimeout),this.requestCancelTimeout=setTimeout((function(){e.abort(),e.retryRegister()}),9e4)}},{key:"abort",value:function(){null!==this.previousRegisterCall&&(this.previousRegisterCall=null)}},{key:"retryRegister",value:function(e,t){var i,n=this;if(null===this.retryRegisterTimeout){if(this.retryCount>=this.maxRetrycount)return this.clearTimers(),void this.store.commit("widget/setVisibility",!1);this.retryCount++,i=this.getRetryWaitDelay(),this.retryRegisterTimeout=setTimeout((function(){n.init(e,t)}),i)}}},{key:"getRetryWaitDelay",value:function(){var e,t=Math.random()*(this.maxRandom-this.minRandom)+this.minRandom;return null===this.retryDelay?this.retryDelay=this.retryInitialDelay:(e=this.retryDelay*this.retryMultiplier,this.retryDelay>this.maxDelay||e>this.maxDelay?this.retryDelay=this.maxDelay:this.retryDelay=e),1e3*Math.round(this.retryDelay*t)}},{key:"resetRetryCount",value:function(){this.retryCount=0,this.retryDelay=10}}]),t}()}).call(this,i("c8ba"))},a18c:function(e,t,i){"use strict";i.d(t,"a",(function(){return r}));var n=i("4360"),o={name:"TawkRouterView",render:function(e){var t;return n.a.getters["router/getCurrentView"]&&(t=e(n.a.getters["router/getCurrentView"].component)),e("transition",{props:{name:"slide-fade",mode:"out-in"},ref:"router-view"},[t])}},a=i("d046");function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var r=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};s(this,e),this.matcher=t.routes};r.install=function(e){n.a.dispatch("router/addRoutes",a.a),e.component("TawkRouterView",o)}},a3cc:function(e,t,i){"use strict";i.r(t);var n=i("a34a"),o=i.n(n),a=i("bdd0"),s=i("7f46");function r(e,t,i,n,o,a,s){try{var r=e[a](s),c=r.value}catch(e){return void i(e)}r.done?t(c):Promise.resolve(c).then(n,o)}function c(e){return function(){var t=this,i=arguments;return new Promise((function(n,o){var a=e.apply(t,i);function s(e){r(a,n,o,s,c,"next",e)}function c(e){r(a,n,o,s,c,"throw",e)}s(void 0)}))}}t.default={namespaced:!0,state:{baseUrl:"/v1/kb",id:null,items:[],options:[],loading:{index:!1,show:!1,search:!1},selected:{},isLoadingCodeMirror:!1,isCodeMirrorLoaded:!1,searchData:{query:null,results:[],hasNext:!1,token:null,total:0,error:!1,linkTarget:"self"},siteId:null,scrollPosition:0},getters:{items:function(e){return e.items},isLoading:function(e){return function(t){return e.loading[t]}},selected:function(e){return e.selected},options:function(e){return e.options},isLoadingCodeMirror:function(e){return e.isLoadingCodeMirror},isCodeMirrorLoaded:function(e){return e.isCodeMirrorLoaded},searchData:function(e){return e.searchData},siteId:function(e){return e.siteId},scrollPosition:function(e){return e.scrollPosition}},actions:{show:function(){var e=c(o.a.mark((function e(t,i){var n,s,r;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.state,s=t.commit,r=t.rootGetters,i.siteId&&i.articleId){e.next=3;break}throw"Please set article ID before calling the action.show";case 3:return s("setLoading",{action:"show",value:!0}),e.next=6,a.a.get("".concat("https://va.tawk.to").concat(n.baseUrl).concat(i.url),{propertyId:r["property/id"],siteId:i.siteId,articleId:i.articleId},null,(function(e,t){if(e)throw s("setLoading",{action:"show",value:!1}),e;t.data.siteId=i.siteId,s("setSelected",t.data),s("setLoading",{action:"show",value:!1})}));case 6:case"end":return e.stop()}}),e)})));return function(t,i){return e.apply(this,arguments)}}(),updateOptions:function(e,t){(0,e.commit)("setOptions",t)},updateId:function(e,t){(0,e.commit)("setId",t)},unsetSelected:function(e){(0,e.commit)("setSelected",{})},setCodeMirrorIsLoading:function(e){var t=e.state;t.isCodeMirrorLoaded=!1,t.isLoadingCodeMirror=!0},setCodeMirrorIsLoaded:function(e){var t=e.state;t.isCodeMirrorLoaded=!0,t.isLoadingCodeMirror=!1},searchArticles:function(){var e=c(o.a.mark((function e(t,i){var n,s,r,c,u;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.commit,s=t.rootGetters,r=t.state,c=t.dispatch,n("setLoading",{action:"search",value:!0}),i&&void 0!==i.siteId&&n("setSiteId",i.siteId),i&&void 0!==i.search&&n("setSearchQuery",i.search),r.searchData.query){e.next=7;break}return n("setLoading",{action:"search",value:!1}),e.abrupt("return");case 7:return u={propertyId:s["property/id"],siteId:r.siteId,query:r.searchData.query,limit:i&&i.limit?i.limit:10,from:r.searchData.results.length},e.next=10,a.a.get("".concat("https://va.tawk.to","/v1/kb/article/search"),u,null,(function(e,t){n("setLoading",{action:"search",value:!1}),e?r.searchData.error=!0:(n("setSearchResults",t.data),c("searchPerformedAnalytics"))}));case 10:case"end":return e.stop()}}),e)})));return function(t,i){return e.apply(this,arguments)}}(),articleClickedAnalytics:function(e,t){var i=e.state;a.a.post("".concat("https://va.tawk.to","/v1/kb/analytics/search-result-clicked"),{token:i.searchData.token,articleId:t},null,(function(e,t){if(e)return t}),!1,!0)},searchPerformedAnalytics:function(e){var t=e.state;a.a.post("".concat("https://va.tawk.to","/v1/kb/analytics/search-performed"),{token:t.searchData.token},null,(function(e,t){if(e)return t}),!1,!0)},resetState:function(e){(0,e.commit)("unsetData")},setSearchLoading:function(e,t){(0,e.commit)("setLoading",{action:"search",value:t})},updateSearchDataLinkTarget:function(e,t){(0,e.commit)("setSearchDataLinkTarget",t)},unsetSearchData:function(e){(0,e.commit)("resetSearchQuery")},setScrollPosition:function(e,t){(0,e.commit)("modifyScrollPosition",t)},unsetScrollPosition:function(e){(0,e.commit)("modifyScrollPosition",0)},unsetSearchDataResults:function(e){(0,e.commit)("softResetSearchData")}},mutations:{setId:function(e,t){e.id=t},setItems:function(e,t){e.items=t},setLoading:function(e,t){var i=t.action,n=t.value;e.loading[i]=n},setSelected:function(e,t){e.selected=t},setOptions:function(e,t){e.options=t},setSearchResults:function(e,t){t.articles.forEach((function(e){if(e.highlight){if(e.highlight.title&&e.highlight.title.length)for(var t=0;t<e.highlight.title.length;t++)e.title=s.a.rawEncode(e.highlight.title[t]).replace(/\[em\]/gi,'<span class="tawk-text-bold">').replace(/\[\/em\]/gi,"</span>");if(e.highlight.subtitle&&e.highlight.subtitle.length)for(var i=0;i<e.highlight.subtitle.length;i++)e.subtitle=s.a.rawEncode(e.highlight.subtitle[i]).replace(/\[em]/gi,'<span class="tawk-text-bold">').replace(/\[\/em\]/gi,"</span>")}})),e.searchData.results=e.searchData.results.concat(t.articles),e.searchData.hasNext=t.total>e.searchData.results.length,e.searchData.token=t.token,e.searchData.total=t.total,e.searchData.error=!1},setSearchQuery:function(e,t){e.searchData.query=t,e.searchData.results=[],e.searchData.hasNext=!1,e.searchData.token=null,e.searchData.total=0,e.searchData.error=!1},setSiteId:function(e,t){e.siteId=t},unsetData:function(e){for(var t={baseUrl:"/v1/kb",id:null,items:[],options:[],loading:{index:!1,show:!1,search:!1},selected:{},isLoadingCodeMirror:!1,isCodeMirrorLoaded:!1,searchData:{query:null,results:[],hasNext:!1,token:null,total:0,error:!1,linkTarget:"self"},siteId:null,scrollPosition:0},i=Object.keys(t),n=0;n<i.length;n++){var o=i[n];e[o]=t[o]}},setSearchDataLinkTarget:function(e,t){e.searchData.linkTarget=t},resetSearchQuery:function(e){e.searchData.query=null,e.searchData.results=[],e.searchData.hasNext=!1,e.searchData.token=null,e.searchData.total=0,e.searchData.error=!1,e.searchData.linkTarget="self"},modifyScrollPosition:function(e,t){e.scrollPosition=t},softResetSearchData:function(e){e.searchData.results=[],e.searchData.hasNext=!1,e.searchData.total=0,e.searchData.error=!1}}}},b250:function(e,t,i){"use strict";i.r(t),function(e){var n=i("fad2"),o=i("7f46");t.default={namespaced:!0,state:{email:null,displayName:null,name:null,transcriptEmail:null,uuid:null,uuidVer:0,visitorId:null},getters:{getEmailValue:function(e){return e.email||e.transcriptEmail},name:function(e){return n.a.isGeneratedName(e.name)?"":e.name},uuidVer:function(e){return e.uuidVer},uuid:function(e){return e.uuid},transcriptEmail:function(e){return e.transcriptEmail},visitorId:function(e){return e.visitorId}},actions:{updateUUID:function(t,i){(0,t.commit)("setVisitorUUID",{uver:i.uv,uuid:i.u}),e.Tawk_Window.sessionManager.storeUUID(i.u,i.uv,i.domain)},updateVisitorInformation:function(e,t){var i=e.commit,n=e.state,a={visitorId:n.visitorId,name:n.name,email:n.email,transcriptEmail:n.transcriptEmail};t.n&&o.a.isString(t.n)&&(a.name=t.n),t.te&&o.a.isString(t.te)&&(a.transcriptEmail=t.te),t.e&&o.a.isString(t.e)&&(a.email=t.e),t.vid&&(a.visitorId=t.vid),i("setVisitorInformation",a)},resetState:function(e){(0,e.commit)("unsetData")}},mutations:{setVisitorUUID:function(e,t){e.uuidVer=t.uver||0,e.uuid=t.uuid},setVisitorInformation:function(e,t){e.visitorId=t.visitorId,e.name=o.a.rawDecode(t.name),e.displayName=n.a.parseVisitorName(t.name),e.email=t.email,e.transcriptEmail=t.transcriptEmail},unsetData:function(e){for(var t={email:null,displayName:null,name:null,transcriptEmail:null,uuid:null,uuidVer:0,visitorId:null},i=Object.keys(t),n=0;n<i.length;n++){var o=i[n];e[o]=t[o]}}}}}.call(this,i("c8ba"))},b7cc:function(e,t,i){"use strict";(function(e){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}i.d(t,"a",(function(){return a}));var a=function(){function t(e){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this.store=e,this.local_API={},window.$_Tawk=window.$_Tawk||{},window.Tawk_API=window.Tawk_API||{},"object"===n(window.$_Tawk_API))for(var i in window.$_Tawk_API)Object.prototype.hasOwnProperty.call(window.$_Tawk_API,i)&&(window.Tawk_API[i]=window.$_Tawk_API[i]);"function"!=typeof window.CustomEvent&&(this.CustomEventIE(),this.CustomEventIE.prototype=window.Event.prototype),this.init()}return function(e,t,i){t&&o(e.prototype,t),i&&o(e,i)}(t,[{key:"CustomEventIE",value:function(e,t){t=t||{bubbles:!1,cancelable:!1,detail:void 0};var i=document.createEvent("CustomEvent");return i.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),i}},{key:"_apiCheck",value:function(){return window.$_Tawk.ready}},{key:"init",value:function(){this.local_API={disableSound:!!window.Tawk_API.disableSound,embedded:window.Tawk_API.embedded||null,visitor:window.Tawk_API.visitor||null,disableMobileBackHistory:!!window.Tawk_API.disableMobileBackHistory,isWindowed:!!window.Tawk_API.isPopup,customStyle:window.Tawk_API.customStyle||null,onBeforeLoad:{eventName:"tawkBeforeLoad",func:window.Tawk_API.onBeforeLoad},onLoad:{eventName:"tawkLoad",func:window.Tawk_API.onLoad},onStatusChange:{eventName:"tawkStatusChange",func:window.Tawk_API.onStatusChange},onChatMaximized:{eventName:"tawkChatMaximized",func:window.Tawk_API.onChatMaximized},onChatMinimized:{eventName:"tawkChatMinimized",func:window.Tawk_API.onChatMinimized},onChatHidden:{eventName:"tawkChatHidden",func:window.Tawk_API.onChatHidden},onChatStarted:{eventName:"tawkChatStarted",func:window.Tawk_API.onChatStarted},onChatEnded:{eventName:"tawkChatEnded",func:window.Tawk_API.onChatEnded},onPrechatSubmit:{eventName:"tawkPrechatSubmit",func:window.Tawk_API.onPrechatSubmit},onOfflineSubmit:{eventName:"tawkOfflineSubmit",func:window.Tawk_API.onOfflineSubmit},onChatMessageVisitor:{eventName:"tawkChatMessageVisitor",func:window.Tawk_API.onChatMessageVisitor},onChatMessageAgent:{eventName:"tawkChatMessageAgent",func:window.Tawk_API.onChatMessageAgent},onChatMessageSystem:{eventName:"tawkChatMessageSystem",func:window.Tawk_API.onChatMessageSystem},onAgentJoinChat:{eventName:"tawkAgentJoinChat",func:window.Tawk_API.onAgentJoinChat},onAgentLeaveChat:{eventName:"tawkAgentLeaveChat",func:window.Tawk_API.onAgentLeaveChat},onChatSatisfaction:{eventName:"tawkChatSatisfaction",func:window.Tawk_API.onChatSatisfaction},onVisitorNameChanged:{eventName:"tawkVisitorNameChanged",func:window.Tawk_API.onVisitorNameChanged},onFileUpload:{eventName:"tawkFileUpload",func:window.Tawk_API.onFileUpload},onTagsUpdated:{eventName:"tawkTagsUpdated",func:window.Tawk_API.onTagsUpdated},onUnreadCountChanged:{eventName:"tawkUnreadCountChanged",func:window.Tawk_API.onUnreadCountChanged}},window.$_Tawk.maximize=window.Tawk_API.maximize=function(){e.Tawk_Window.jsApi._apiCheck()||e.Tawk_Window.jsApi.store.dispatch("session/updateChatWindowState","max")},window.$_Tawk.minimize=window.Tawk_API.minimize=function(){e.Tawk_Window.jsApi._apiCheck()||e.Tawk_Window.jsApi.store.dispatch("session/updateChatWindowState","min")},window.$_Tawk.toggle=window.Tawk_API.toggle=function(){e.Tawk_Window.jsApi._apiCheck()||e.Tawk_Window.jsApi.store.dispatch("session/toggleWidget")},window.$_Tawk.popup=window.Tawk_API.popup=function(){e.Tawk_Window.jsApi._apiCheck()||e.Tawk_Window.popoutWidget()},window.$_Tawk.getWindowType=window.Tawk_API.getWindowType=function(){if(!e.Tawk_Window.jsApi._apiCheck())return e.Tawk_Window.jsApi.store.getters["widget/isEmbedded"]?"embed":e.Tawk_Window.jsApi.store.getters["widget/isWindowed"]?"popup":"inline"},window.$_Tawk.showWidget=window.Tawk_API.showWidget=function(){e.Tawk_Window.jsApi._apiCheck()||e.Tawk_Window.jsApi.store.commit("widget/setVisibility",!0)},window.$_Tawk.hideWidget=window.Tawk_API.hideWidget=function(){e.Tawk_Window.jsApi._apiCheck()||e.Tawk_Window.jsApi.store.commit("widget/setVisibility",!1)},window.$_Tawk.toggleVisibility=window.Tawk_API.toggleVisibility=function(){e.Tawk_Window.jsApi._apiCheck()||e.Tawk_Window.jsApi.store.dispatch("widget/toggleVisibility")},window.$_Tawk.getStatus=window.Tawk_API.getStatus=function(){if(!e.Tawk_Window.jsApi._apiCheck())return e.Tawk_Window.jsApi.store.getters["session/pageStatus"]},window.$_Tawk.isChatMaximized=window.Tawk_API.isChatMaximized=function(){if(!e.Tawk_Window.jsApi._apiCheck())return"max"===e.Tawk_Window.jsApi.store.getters["session/chatWindowState"]},window.$_Tawk.isChatMinimized=window.Tawk_API.isChatMinimized=function(){if(!e.Tawk_Window.jsApi._apiCheck())return"min"===e.Tawk_Window.jsApi.store.getters["session/chatWindowState"]},window.$_Tawk.isChatHidden=window.Tawk_API.isChatHidden=function(){if(!e.Tawk_Window.jsApi._apiCheck())return!e.Tawk_Window.jsApi.store.getters["widget/isVisible"]},window.$_Tawk.isChatOngoing=window.Tawk_API.isChatOngoing=function(){if(!e.Tawk_Window.jsApi._apiCheck())return e.Tawk_Window.jsApi.store.getters["chat/isChatOngoing"]},window.$_Tawk.isVisitorEngaged=window.Tawk_API.isVisitorEngaged=function(){if(!e.Tawk_Window.jsApi._apiCheck())return e.Tawk_Window.jsApi.store.getters["chat/isVisitorEngaged"]},window.$_Tawk.endChat=window.Tawk_API.endChat=function(){e.Tawk_Window.jsApi._apiCheck()||e.Tawk_Window.jsApi.store.dispatch("chat/endChat")},window.$_Tawk.addEvent=window.Tawk_API.addEvent=function(t,i,n){e.Tawk_Window.jsApi._apiCheck()||e.Tawk_Window.chatManager.sendApiEvent(t,i,n)},window.$_Tawk.setAttributes=window.Tawk_API.setAttributes=function(t,i){e.Tawk_Window.jsApi.local_API.visitor=e.Tawk_Window.jsApi.local_API.visitor||{},t.name&&(e.Tawk_Window.jsApi.local_API.visitor.name=t.name),t.email&&(e.Tawk_Window.jsApi.local_API.visitor.email=t.email),t.hash&&(e.Tawk_Window.jsApi.local_API.visitor.hash=t.hash),e.Tawk_Window.chatManager.sendApiAttributes(t,i)},window.$_Tawk.addTags=window.Tawk_API.addTags=function(t,i){e.Tawk_Window.chatManager.addTags(t,i)},window.$_Tawk.removeTags=window.Tawk_API.removeTags=function(t,i){e.Tawk_Window.chatManager.removeTags(t,i)},window.$_Tawk.widgetPosition=window.Tawk_API.widgetPosition=function(){if(!e.Tawk_Window.jsApi._apiCheck())return e.Tawk_Window.jsApi.store.getters["widget/desktopVisibility"]?e.Tawk_Window.jsApi.store.getters["widget/desktopVisibility"].position:null}}},{key:"triggerApiHandlers",value:function(t,i){var n=this.local_API[t];if(void 0!==n){if("onBeforeLoad"===t){if(window.Tawk_API.onBeforeLoaded)return;window.Tawk_API.onBeforeLoaded=!0}else if("onLoad"===t){if(window.Tawk_API.onLoaded)return;window.Tawk_API.onLoaded=!0}if(this.dispatch(n.eventName,i),"function"==typeof n.func)try{n.func(i)}catch(e){}e.Tawk_Window.eventBus.$on("resetState",(function(){window.Tawk_API.onBeforeLoaded=!1,window.Tawk_API.onLoaded=!1}))}}},{key:"dispatch",value:function(e,t){var i;e&&(i="function"==typeof window.CustomEvent?new CustomEvent(e,{detail:t}):new this.CustomEventIE(e,{detail:t}),window.dispatchEvent(i))}},{key:"secureWrapper",value:function(e){return void 0===e&&(e={}),this.local_API&&this.local_API.visitor&&(this.local_API.visitor.email&&(e.email=this.local_API.visitor.email),this.local_API.visitor.hash&&(e.hash=this.local_API.visitor.hash)),e}},{key:"setVisitorAttributes",value:function(){var t={};this.local_API&&this.local_API.visitor&&(this.local_API.visitor.name&&(t.name=this.local_API.visitor.name),this.local_API.visitor.email&&(t.email=this.local_API.visitor.email),this.local_API.visitor.hash&&(t.hash=this.local_API.visitor.hash),e.Tawk_Window.chatManager.sendApiAttributes(t))}}]),t}()}).call(this,i("c8ba"))},bdd0:function(e,t,i){"use strict";function n(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,n)}return i}function o(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?n(Object(i),!0).forEach((function(t){a(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):n(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function a(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}i.d(t,"a",(function(){return s}));var s={post:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3?arguments[3]:void 0,a=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],s=arguments.length>5&&void 0!==arguments[5]&&arguments[5],r=[],c=c,u=o({},i);if(t instanceof FormData)r=t,c=!1;else{if(s)r=JSON.stringify(t),u["Content-Type"]="application/json; charset=utf-8";else{for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&r.push("".concat(encodeURIComponent(l),"=").concat(encodeURIComponent(t[l])));r.length&&(r=r.join("&")),u["Content-Type"]="application/www-x-form-urlencoded"}c=!0}if(void 0!==window.fetch&&void 0!==window.AbortController){var d;d=a?{method:"POST",headers:u,signal:f,credentials:c?"include":"same-origin",body:r}:{method:"POST",headers:u,signal:f,body:r};var h=new window.AbortController,f=h.signal;return fetch(e,d).then((function(e){return 500===e.status?n(!0):e.json()})).then((function(e){n(null,e)})).catch((function(){n(!0)})),f}var p=new XMLHttpRequest;if(p.onerror=n,p.open("POST",e,!0),!(t instanceof FormData)){for(var w in u)p.setRequestHeader(w,u[w]);p.withCredentials=!0}return p.onload=function(){p.status>=200&p.status<300?n(null,JSON.parse(p.responseText)):n(!0)},p.send(r),p},get:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3?arguments[3]:void 0,a=[],s=o({},i);for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&a.push("".concat(encodeURIComponent(r),"=").concat(encodeURIComponent(t[r])));if(a.length&&(e+="?".concat(a.join("&"))),void 0!==window.fetch&&void 0!==window.AbortController){var c=new window.AbortController,u=c.signal;return fetch(e,{headers:s,signal:u}).then((function(e){return e.json()})).then((function(e){n(null,e)})).catch((function(){n(!0)})),u}var l=new XMLHttpRequest;for(var d in l.onerror=n,l.open("GET",e,!0),s)l.setRequestHeader(d,s[d]);return l.onload=function(){l.status>=200&l.status<300?n(null,JSON.parse(l.responseText)):n(!0)},l.send(),l}}},c3e1:function(e,t,i){var n={"./browser-data.js":"0dc3","./chat.js":"9b4f","./history.js":"c99a","./knowledge-base.js":"a3cc","./overlay.js":"284b","./property.js":"9a05","./router.js":"d3e9","./schedule.js":"e4b3","./session.js":"3b35","./socket.js":"f406","./visitor.js":"b250","./widget.js":"32d9"};function o(e){var t=a(e);return i(t)}function a(e){if(!i.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}o.keys=function(){return Object.keys(n)},o.resolve=a,e.exports=o,o.id="c3e1"},c7b8:function(e,t,i){"use strict";i.d(t,"a",(function(){return a}));var n=i("bdd0");function o(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return function(e,t,i){t&&o(e.prototype,t),i&&o(e,i)}(e,[{key:"reportPerformance",value:function(e){n.a.post("".concat("https://va.tawk.to","/log-performance/v3"),{logData:JSON.stringify(e)},{},(function(e){e&&console.error(e)}),!1,!0)}},{key:"reportIncident",value:function(){}},{key:"reportError",value:function(){}}]),e}()},c99a:function(e,t,i){"use strict";i.r(t),function(e){var n=i("a34a"),o=i.n(n),a=i("bdd0");function s(e,t,i,n,o,a,s){try{var r=e[a](s),c=r.value}catch(e){return void i(e)}r.done?t(c):Promise.resolve(c).then(n,o)}function r(e){return function(){var t=this,i=arguments;return new Promise((function(n,o){var a=e.apply(t,i);function r(e){s(a,n,o,r,c,"next",e)}function c(e){s(a,n,o,r,c,"throw",e)}r(void 0)}))}}t.default={namespaced:!0,state:{baseUrl:"/v1/chat/",items:[],loading:{index:!1,chat:!1},nextListHash:null,lastMessageTimestamp:null,loadError:!1,messageBlocks:[],selectedChat:null,chatError:!1,selectedChatMessages:null,scrollPosition:0,calls:{}},getters:{items:function(e){return e.items},isLoading:function(e){return function(t){return e.loading[t]}},lastMessageTimestamp:function(e){return e.lastMessageTimestamp},nextListHash:function(e){return e.nextListHash},loadError:function(e){return e.loadError},chatError:function(e){return e.chatError},messageBlocks:function(e){return e.messageBlocks},selectedChat:function(e){return e.selectedChat},selectedChatMessages:function(e){return e.selectedChatMessages},scrollPosition:function(e){return e.scrollPosition},callData:function(e){return function(t){return e.calls[t]}}},actions:{load:function(){var e=r(o.a.mark((function e(t){var i,n,s,r,c,u,l,d=arguments;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=t.state,n=t.commit,s=t.rootGetters,r=t.dispatch,c=d.length>1&&void 0!==d[1]?d[1]:{},n("setLoading",{action:"index",value:!0}),n("setLoadError",!1),e.prev=4,e.next=7,r("session/checkTokenValidity",{},{root:!0});case 7:e.next=13;break;case 9:return e.prev=9,e.t0=e.catch(4),n("setLoadError",!0),e.abrupt("return");case 13:u=s["session/token"],l={limit:c.limit||10},c.loadNext&&(l.next=i.nextListHash),a.a.get("".concat("https://va.tawk.to").concat(i.baseUrl,"list"),l,{"X-Tawk-Token":u},(function(e,t){n("setLoading",{action:"index",value:!1}),e?n("setLoadError",!0):(t.data&&t.data.chats.length&&(c.loadNext?n("appendItems",t.data.chats):n("setItems",t.data.chats)),t.data.hasNext?n("setNextListHash",t.data.next):n("setNextListHash",null))}));case 17:case"end":return e.stop()}}),e,null,[[4,9]])})));return function(t){return e.apply(this,arguments)}}(),getLastMessageTimestamp:function(){var e=r(o.a.mark((function e(t){var i,n,s,r,c;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=t.state,n=t.commit,s=t.rootGetters,r=t.dispatch,e.prev=1,e.next=4,r("session/checkTokenValidity",{},{root:!0});case 4:e.next=9;break;case 6:return e.prev=6,e.t0=e.catch(1),e.abrupt("return");case 9:c=s["session/token"],a.a.get("".concat("https://va.tawk.to").concat(i.baseUrl,"list"),{limit:1},{"X-Tawk-Token":c},(function(e,t){e||t.data&&t.data.chats.length&&n("setLastMessageTimestamp",t.data.chats[0].endedOn)}));case 11:case"end":return e.stop()}}),e,null,[[1,6]])})));return function(t){return e.apply(this,arguments)}}(),getHistory:function(){var t=r(o.a.mark((function t(i){var n,s,r,c,u,l;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=i.state,s=i.commit,r=i.rootGetters,c=i.dispatch,s("setChatError",!1),s("setLoading",{action:"chat",value:!0}),n.selectedChat){t.next=6;break}throw s("setChatError",!0),new Error("Invalid Id");case 6:return t.prev=6,t.next=9,c("session/checkTokenValidity",{},{root:!0});case 9:t.next=15;break;case 11:return t.prev=11,t.t0=t.catch(6),s("setChatError",!0),t.abrupt("return");case 15:u=r["session/token"],l={chatId:n.selectedChat.id},a.a.get("".concat("https://va.tawk.to").concat(n.baseUrl,"get"),l,{"X-Tawk-Token":u},(function(t,i){if(t)s("setChatError",!0);else if(i.data&&i.data.error)s("setChatError",!0);else{var n=e.Tawk_Window.chatManager.processHistoryMessages(i.data.chat.messages);c("setSelectedChatMessages",n),c("setCalls",i.data.chat.calls)}}));case 18:case"end":return t.stop()}}),t,null,[[6,11]])})));return function(e){return t.apply(this,arguments)}}(),resetState:function(e){(0,e.commit)("unsetData")},unsetItems:function(e){(0,e.commit)("setItems",[])},addMessageBlock:function(e,t){(0,e.commit)("pushMessageBlock",t)},clearMessageBlock:function(e){(0,e.commit)("unsetMessageBlock")},setSelectedChatMessages:function(e,t){var i=e.commit;i("setSelectedChatMessages",t),i("setLoading",{action:"chat",value:!1})},setCalls:function(e,t){(0,e.commit)("updateCalls",t)},unsetSelectedChat:function(e){(0,e.commit)("setSelectedChat",null)},setScrollPosition:function(e,t){(0,e.commit)("modifyScrollPosition",t)},unsetScrollPosition:function(e){(0,e.commit)("modifyScrollPosition",0)}},mutations:{setItems:function(e,t){e.items=t},setLoading:function(e,t){var i=t.action,n=t.value;e.loading[i]=n},setLastMessageTimestamp:function(e,t){e.lastMessageTimestamp=t},setNextListHash:function(e,t){e.nextListHash=t},appendItems:function(e,t){e.items=e.items.concat(t)},setLoadError:function(e,t){e.loadError=t},setSelectedChat:function(e,t){e.selectedChat=t},setChatError:function(e,t){e.chatError=t},setSelectedChatMessages:function(e,t){e.selectedChatMessages=t},updateCalls:function(e,t){e.calls=t},pushMessageBlock:function(e,t){if("call"===t.messageType){var i;if(e.calls.length)for(var n=0;n<e.calls.length;n++)if(e.calls[n].id===t.callId){var o=e.calls[n];i={callId:o.id,status:o.status,version:null,isMissed:o.missed,isRejected:o.rejected,isRinging:!1,isDone:"completed",isVideo:o.features&&o.features.video,isScreenshare:o.features&&o.features.screenShare,hasError:!1,caller:o.caller,startedAt:o.startedOn,endedAt:o.expiredOn};break}i||(i={hasError:!0}),t.callData=i}e.messageBlocks.push(t)},unsetMessageBlock:function(e){e.messageBlocks=[]},modifyScrollPosition:function(e,t){e.scrollPosition=t},unsetData:function(e){for(var t={baseUrl:"/v1/chat/",items:[],loading:{index:!1,chat:!1},nextListHash:null,lastMessageTimestamp:null,loadError:!1,messageBlocks:[],selectedChat:null,chatError:!1,selectedChatMessages:null,scrollPosition:0,calls:{}},i=Object.keys(t),n=0;n<i.length;n++){var o=i[n];e[o]=t[o]}}}}}.call(this,i("c8ba"))},d046:function(e,t,i){"use strict";(function(e){var n=[{path:"/",component:function(){return function(){}}},{path:"chat",component:function(){return function(){}}},{path:"kb-article",component:function(){return Promise.all([i.e("chunk-4fe9d5dd"),i.e("chunk-3184cf5a")]).then(i.bind(null,"4b23"))},hasBack:!0},{path:"kb-search",component:function(){return Promise.all([i.e("chunk-4fe9d5dd"),i.e("chunk-2d221830"),i.e("chunk-2d228873")]).then(i.bind(null,"da22"))},hasBack:!0,title:function(){return e.Tawk_Window&&e.Tawk_Window.app&&e.Tawk_Window.app.$i18n?e.Tawk_Window.app.$i18n("kb","search_results"):"Search Results"}},{path:"history-list",component:function(){return Promise.all([i.e("chunk-4fe9d5dd"),i.e("chunk-2d0bd292")]).then(i.bind(null,"2b8d"))},hasBack:!0,title:function(){return e.Tawk_Window&&e.Tawk_Window.app&&e.Tawk_Window.app.$i18n?e.Tawk_Window.app.$i18n("routes","conversations"):"Conversations"}},{path:"history-chat",component:function(){return Promise.all([i.e("chunk-4fe9d5dd"),i.e("chunk-2d0b9454"),i.e("chunk-f163fcd0"),i.e("chunk-286b2360")]).then(i.bind(null,"002e"))},hasBack:!0},{path:"agents",component:function(){return Promise.all([i.e("chunk-4fe9d5dd"),i.e("chunk-2d0e5ed2")]).then(i.bind(null,"9720"))},hasBack:!0,title:function(){return e.Tawk_Window&&e.Tawk_Window.app&&e.Tawk_Window.app.$i18n?e.Tawk_Window.app.$i18n("routes","all_agents"):"All Agents"}},{path:"offline-success",component:function(){return i.e("chunk-2d2089ad").then(i.bind(null,"a602"))}},{path:"prechat",component:function(){return function(){}}},{path:"name-form",component:function(){return Promise.all([i.e("chunk-4fe9d5dd"),i.e("chunk-2d0b9454"),i.e("chunk-47bf17e2")]).then(i.bind(null,"2d70"))}},{path:"email-transcript-form",component:function(){return Promise.all([i.e("chunk-4fe9d5dd"),i.e("chunk-2d0b9454"),i.e("chunk-78d1b56c")]).then(i.bind(null,"e6ae"))}},{path:"restart-chat",component:function(){return i.e("chunk-3c7eb82e").then(i.bind(null,"a3af"))}}];t.a=n}).call(this,i("c8ba"))},d3a4:function(e,t,i){"use strict";t.a={install:function(e){var t=function(e){return"string"==typeof e?e.replace(/\$/g,"$$$"):e};e.prototype.$i18n=function(e,i,n){var o,a=[],s=window.$_Tawk&&window.$_Tawk.language?window.$_Tawk.language:{};if(!s[e])return i;var r=s[e][i];if(!r)return console.error("Missing key : {"+e+"}, {"+i+"}"),i;var c=r.pluralVars?r.pluralVars.length:0,u=r.vars?r.vars.length:0;if(c>0){for(var l=0;l<c;l++)a.push(s.pluralFormFunction(n[r.pluralVars[l]]));o=r.message[a.join("_")];for(var d=0;d<c;d++)o=o.replace(new RegExp("#"+r.pluralVars[d],"g"),t(n[r.pluralVars[d]]))}else o=r.message;if(u>0)for(var h=0;h<u;h++)o=o.replace(new RegExp("#"+r.vars[h],"g"),t(n[r.vars[h]]));return o}}}},d3e9:function(e,t,i){"use strict";i.r(t);t.default={namespaced:!0,state:{root:null,current:"/",history:[],routes:[]},getters:{current:function(e){return e.current},getCurrentView:function(e){for(var t=0;t<e.routes.length;t++)if(e.routes[t].path===e.current)return e.routes[t];return null},getRoute:function(e){return function(t){for(var i=0;i<e.routes.length;i++)if(e.routes[i].path===t)return e.routes[i]}},getHistory:function(e){return e.history}},actions:{routerPush:function(e,t){var i=e.commit,n=e.state;if(!n.routes.some((function(e){return e.path===t})))throw"Unrecognised route";n.current&&n.current===t||(i("changeCurrentView",t),i("addHistory",t))},routerBack:function(e){var t=e.commit,i=e.dispatch;t("previousRoute"),i("hideOverlay")},addRoutes:function(e,t){var i=e.commit;if(t.map((function(e){return e.path})).size<t.length)throw"Duplicate routes";i("registerRoutes",t)},updateRoute:function(e,t){for(var i=e.state,n=0;n<i.routes.length;n++)if(i.routes[n].path===t.path){void 0!==t.hasBack&&(i.routes[n].hasBack=t.hasBack);break}},clearHistory:function(e){(0,e.commit)("unsetHistory")},resetState:function(e){(0,e.commit)("unsetData")},hideOverlay:function(e){var t=e.state,i=e.dispatch;"/"!==t.current&&"chat"!==t.current&&"prechat"!==t.current&&0!==t.history.length||i("overlay/showOverlay",!1,{root:!0})},removeRoute:function(e,t){(0,e.commit)("ejectRoute",t)}},mutations:{changeCurrentView:function(e,t){e.current=t},addHistory:function(e,t){e.history.length>14&&e.history.splice(0,1),e.history.push(t)},previousRoute:function(e){e.history.pop();var t=e.history.length-1,i=e.history[t];e.current=i||"/"},registerRoutes:function(e,t){e.routes=t},unsetHistory:function(e){e.history=[]},ejectRoute:function(e,t){for(var i=0;i<e.history.length;i++)if(e.history[i]===t){e.history.splice(i,1);break}},unsetData:function(e){for(var t={root:null,current:"/",history:[],routes:[]},i=Object.keys(t),n=0;n<i.length;n++){var o=i[n];e[o]=t[o]}}}}},e4b3:function(e,t,i){"use strict";i.r(t);t.default={namespaced:!0,state:{isEnabled:!1,slots:[],timezone:{}},getters:{isEnabled:function(e){return e.isEnabled},slots:function(e){return e.slots},timezone:function(e){return e.timezone}},actions:{addSlots:function(e,t){var i=e.commit,n=e.state,o=[];if(t&&void 0!==t.enabled?i("setStatus",t.enabled):i("setStatus",!!t),n.isEnabled){var a=t.config?t.config.schedule:[];Array.isArray(a)?o=a:Object.keys(a).forEach((function(e){var t=a[e];0===t.start&&0===t.end||o.push({day:parseInt(e,10),start:Math.floor(t.start/6e4),end:Math.floor(t.end/6e4)})})),i("setSlots",o)}else i("resetSlots")},updateTimezone:function(e,t){(0,e.commit)("setTimezone",t?{tzo:void 0!==t.tzo?t.tzo:t.offset,utc:t.utc}:null)},resetState:function(e){(0,e.commit)("unsetData")}},mutations:{resetSlots:function(e){e.slots=[]},setTimezone:function(e,t){e.timezone=t},setSlots:function(e,t){e.slots=t},setStatus:function(e,t){e.isEnabled=!!t},unsetData:function(e){for(var t={isEnabled:!1,slots:[],timezone:{}},i=Object.keys(t),n=0;n<i.length;n++){var o=i[n];e[o]=t[o]}}}}},e8cc:function(e,t,i){"use strict";(function(e){var n=i("2b0e"),o=i("2f62"),a=i("f0b0"),s=i("87dd"),r=i("7f46");function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var n,o,a=[],s=!0,r=!1;try{for(i=i.call(e);!(s=(n=i.next()).done)&&(a.push(n.value),!t||a.length!==t);s=!0);}catch(e){r=!0,o=e}finally{try{s||null==i.return||i.return()}finally{if(r)throw o}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?u(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}function l(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,n)}return i}function d(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?l(Object(i),!0).forEach((function(t){h(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):l(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function h(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var f=function(){return Promise.all([i.e("chunk-2d0d2b7c"),i.e("chunk-696bc286")]).then(i.bind(null,"e0ca"))},p=function(){return Promise.all([i.e("chunk-4fe9d5dd"),i.e("chunk-2d0d2b7c"),i.e("chunk-2d0b9454"),i.e("chunk-f163fcd0"),i.e("chunk-32507910")]).then(i.bind(null,"d6a3"))},w=function(){return Promise.all([i.e("chunk-2d0d2b7c"),i.e("chunk-f1596d96")]).then(i.bind(null,"0bdc"))},m=function(){return Promise.all([i.e("chunk-2d0d2b7c"),i.e("chunk-48f46bef")]).then(i.bind(null,"6b5b"))};n.a.directive("tawk-scroll",a.TawkScroll),t.a={mixins:[s.a],data:function(){return{elementId:a.Helper.generateUUID(),width:"auto",minWidth:"0px",height:"auto",minHeight:"0px",initialDocumentClick:null,isManualHash:!1,titleFlashTimeout:null,isVisible:!1}},computed:d(d({},Object(o.c)({isRight:"widget/isRight",isBottom:"widget/isBottom",isCenter:"widget/isCenter",isRoundWidget:"widget/isRoundWidget",pageStatus:"session/pageStatus",bubble:"widget/bubble",chatBubbleClosed:"session/chatBubbleClosed",showMessagePreview:"widget/showMessagePreview",isWindowed:"widget/isWindowed",isEmbedded:"widget/isEmbedded",maxDimension:"widget/maxDesktop",widgetIsVisible:"widget/isVisible",onClick:"widget/onClick",chatWindowState:"session/chatWindowState",mobileBrowserName:"browserData/mobileBrowserName",unreadMessageCount:"chat/unreadMessageCount",showTitleNotification:"widget/showTitleNotification",originalPageTitle:"session/originalPageTitle",hasLiveChat:"widget/hasLiveChat",hasChatStarted:"chat/hasChatStarted",agentsCount:"chat/agentsCount",generalVisibility:"widget/generalVisibility",widgetShow:"widget/show",os:"browserData/os"})),{},{styleObject:function(){var t,i,n,o={"transition-property:":"none !important;","margin:":"0px !important;","padding:":"0px !important;","z-index:":"2000000000 !important;","width:":"".concat(this.width," !important;"),"height:":"".concat(this.height," !important;"),"max-height:":"".concat("auto"===this.height?"none":this.height," !important;"),"max-width:":"".concat("auto"===this.width?"none":this.width," !important;"),"min-width:":"".concat(this.minWidth," !important;"),"min-height:":"".concat(this.minHeight," !important;")};return this.isEmbedded?o["position:"]="relative !important;":this.isWindowed?o["position:"]="fixed !important;":(o["position:"]="fixed !important;",this.isBottom||this.isCenter?(i="".concat("0px"," !important;"),n="auto !important;"):(i="auto !important;",n="".concat("0px"," !important;")),this.isVisible?o["display:"]="block !important;":o["display:"]="none !important;",o["left:"]=this.isRight?"auto !important;":"".concat("0px"," !important;"),o["right:"]=this.isRight?"".concat("0px"," !important;"):"auto !important;",o["bottom:"]=i,o["top:"]=n,o["transform:"]="none !important;"),e.Tawk_Window.jsApi.local_API&&e.Tawk_Window.jsApi.local_API.customStyle&&Object.keys(e.Tawk_Window.jsApi.local_API.customStyle).length&&e.Tawk_Window.jsApi.local_API.customStyle.zIndex&&(o["z-index:"]="".concat(r.a.cleanupCssValue(e.Tawk_Window.jsApi.local_API.customStyle.zIndex)," !important;")),t=d(d({},this.genericStyles),o),Object.entries(t).map((function(e){var t=c(e,2);return t[0]+t[1]})).join("\n")}}),watch:{chatWindowState:function(t){"pop"===this.onClick&&"max"===t?e.Tawk_Window.popoutWidget():this.mobileBrowserName&&!e.Tawk_Window.jsApi.local_API.disableMobileBackHistory&&("max"!==t||window.location.hash&&"#max-widget"!==window.location.hash?"min"===t&&"#max-widget"===window.location.hash&&(this.isManualHash=!0,window.history.back()):(this.isManualHash=!0,window.history.pushState?window.history.pushState({page:1},null,window.location.href+"#max-widget"):window.location.hash="max-widget")),this.checkIfVisible()},unreadMessageCount:function(e){this.showTitleNotification&&(this.hasLiveChat||this.hasChatStarted&&0!==this.agentsCount)&&(e>0?this.updatePageTitle():this.updatePageTitle(!0))},pageStatus:function(e){"offline"===e?this.updatePageTitle(!0):this.unreadMessageCount>0&&this.updatePageTitle(),this.checkIfVisible()},widgetShow:function(){this.checkIfVisible()}},methods:d(d({},Object(o.b)({updateMobileLandscape:"widget/updateMobileLandscape"})),{},{updatePageTitle:function(e){var t=this;clearInterval(this.titleFlashTimeout),e||"offline"===this.pageStatus?null!==this.originalPageTitle&&(document.title=this.originalPageTitle,this.$store.commit("session/setOriginalPageTitle",null)):(null===this.originalPageTitle&&this.$store.commit("session/setOriginalPageTitle",document.title),this.titleFlashTimeout=setInterval((function(){document.title=t.originalPageTitle===document.title?t.$i18n("chat","newMessage",{num:t.unreadMessageCount}):t.originalPageTitle}),1e3))},resizeHandler:function(){var t,i=this;clearTimeout(t),t=setTimeout((function(){i.mobileBrowserName&&(e.Tawk_Window.isMobileOptimizedWebsite&&"opera"!==i.mobileBrowserName&&"android2.3"!==i.mobileBrowserName||i.calculateZoom())}),100)},isLandscape:function(){return"safari"===this.mobileBrowserName||"android"===this.mobileBrowserName?0!==window.orientation:screen.height<screen.width||window.innerHeight<window.innerWidth},calculateZoom:function(){var e,t;"safari"===this.mobileBrowserName||"android"===this.mobileBrowserName?e=(!this.isLandscape()||"iPhone"!==navigator.platform&&"iPad"!==navigator.platform?screen.width:screen.height)/window.innerWidth:e=screen.width/window.innerWidth,t=(1/e.toFixed(2)).toFixed(2),"chrome"!==this.mobileBrowserName&&"ie"!==this.mobileBrowserName||(t=t<.2?.2:t),this.$store.commit("widget/setZoomRatio",t)},injectNodeStyle:function(){var e=document.createElement("style");e.setAttribute("type","text/css"),e.innerHTML="#".concat(this.elementId," {").concat(this.styleObject,"}"),document.head.appendChild(e)},checkIfVisible:function(){if(this.isWindowed)return"offline"!==this.pageStatus||this.generalVisibility.showWhenOffline?void(this.isVisible=!0):(window.close(),void(this.isVisible=!1));"offline"!==this.pageStatus||this.generalVisibility.showWhenOffline?this.widgetIsVisible||"max"!==this.chatWindowState?null===this.widgetShow?this.isVisible=this.widgetIsVisible:this.isVisible=this.widgetShow:this.isVisible=!0:this.isVisible=!1},handleMobileLandscape:function(){var e=window.matchMedia("(orientation: landscape)").matches;this.mobileBrowserName&&(e?this.updateMobileLandscape(!0):this.updateMobileLandscape(!1))}}),mounted:function(){var t=this;if((this.isEmbedded||this.isWindowed)&&(this.width="100%",this.height="100%",this.minWidth="100%",this.minHeight="100%"),this.isEmbedded){var i=document.getElementById(e.Tawk_Window.jsApi.local_API.embedded);i&&(i.appendChild(this.$el),(i.clientWidth<280||i.clientHeight<330)&&(this.width="".concat(this.maxDimension.width,"px"),this.height="".concat(this.maxDimension.height,"px"),this.minWidth="".concat(this.maxDimension.width,"px"),this.minHeight="".concat(this.maxDimension.height,"px")))}else document.body.appendChild(this.$el);this.isWindowed||this.isEmbedded||(e.Tawk_Window.minWidget=new n.a({render:function(e){return e(f)},store:this.$store}).$mount("#min-widget"),!this.bubble||this.chatBubbleClosed||this.mobileBrowserName||(e.Tawk_Window.bubbleWidget=new n.a({render:function(e){return e(w)},store:this.$store}).$mount("#chat-bubble")),this.showMessagePreview&&(e.Tawk_Window.messagePreview=new n.a({render:function(e){return e(m)},store:this.$store}).$mount("#message-preview"))),("max"===this.onClick||this.isWindowed||this.isEmbedded)&&(e.Tawk_Window.maxWidget=new n.a({render:function(e){return e(p)},store:this.$store}).$mount("#max-widget")),this.initialDocumentClick=function(){e.Tawk_Window.audioPlayer.init(),window.removeEventListener("click",t.initialDocumentClick)},window.addEventListener("click",this.initialDocumentClick,!1),e.Tawk_Window.eventBus.$on("removeWidget",(function(){e.Tawk_Window.app.$destroy(),e.Tawk_Window.app.$el.parentNode&&e.Tawk_Window.app.$el.parentNode.removeChild(e.Tawk_Window.app.$el)}));var o=window.history.pushState,a=window.history.replaceState;"#max-widget"===window.location.hash&&(window.history?window.history.replaceState({},document.title,"."):window.location.hash=""),window.history.pushState=function(e,i,n){for(var a=arguments.length,s=new Array(a>3?a-3:0),r=3;r<a;r++)s[r-3]=arguments[r];o.apply(window.history,[e,i,n].concat(s));var c=n&&"string"==typeof n?n.indexOf("#max-widget"):-1;-1===c?t.$store.dispatch("session/sendNavigationEvent",{},{root:!0}):t.isManualHash=!1},window.history.replaceState=function(e,i,n){for(var o=n&&"string"==typeof n?n.indexOf("#max-widget"):-1,s=arguments.length,r=new Array(s>3?s-3:0),c=3;c<s;c++)r[c-3]=arguments[c];a.apply(window.history,[e,i,n].concat(r)),-1===o?t.$store.dispatch("session/sendNavigationEvent",{},{root:!0}):t.isManualHash=!1},window.addEventListener("popstate",(function(){if("max"===t.chatWindowState&&t.mobileBrowserName)return t.isManualHash=!0,t.$store.dispatch("session/updateChatWindowState","min");t.isManualHash||t.$store.dispatch("session/sendNavigationEvent",{},{root:!0})})),window.addEventListener("hashchange",(function(){t.isManualHash||window.location&&window.location.hash&&("#"===window.location.hash||"#max-widget"===window.location.hash)||t.$store.dispatch("session/sendNavigationEvent",{},{root:!0})})),window.addEventListener("resize",(function(){t.resizeHandler()})),this.resizeHandler(),this.injectNodeStyle(),this.handleMobileLandscape(),window.addEventListener("resize",this.handleMobileLandscape)},created:function(){var e=this;this.$nextTick((function(){e.checkIfVisible()}))}}}).call(this,i("c8ba"))},e8f9:function(e,t,i){"use strict";i.d(t,"a",(function(){return o}));var n=i("bdd0"),o={getUploadHandler:function(e,t){n.a.get("".concat("https://upload.tawk.to","/upload/handle?_t=").concat((new Date).getTime()),null,null,(function(i,n){if(i)return t();e(n.handle)}))},uploadFile:function(e,t,i,o){var a=new FormData;a.append("upload",i,i.name||i.filename),n.a.post("".concat("https://upload.tawk.to","/upload/visitor-chat/visitor?handle=").concat(e,"&visitorSessionId=").concat(t),a,{},(function(e,t){if(e)return o(!0);o(t)}))}}},f406:function(e,t,i){"use strict";i.r(t);t.default={namespaced:!0,state:{agentIsTyping:!1,isReady:!1,stack:[]},getters:{agentIsTyping:function(e){return e.agentIsTyping},isReady:function(e){return e.isReady}},actions:{updateEvent:function(e,t){(0,e.commit)("setEvent",t)},updateIsReady:function(e,t){var i=e.commit;(0,e.dispatch)("session/sendNavigationEvent",{},{root:!0}),i("setIsReady",t)},resetState:function(e){(0,e.commit)("unsetData")}},mutations:{setEvent:function(e,t){e[t.event]=t.value},setIsReady:function(e,t){e.isReady=t},unsetData:function(e){for(var t={agentIsTyping:!1,isReady:!1,stack:[]},i=Object.keys(t),n=0;n<i.length;n++){var o=i[n];e[o]=t[o]}}}}},fa2a:function(e,t,i){"use strict";function n(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}i.d(t,"a",(function(){return o}));var o=function(){function e(){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),function(e,t,i){t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i}(this,"isEnabled",!1),this.checkIsEnabled()}return function(e,t,i){t&&n(e.prototype,t),i&&n(e,i)}(e,[{key:"checkIsEnabled",value:function(){}},{key:"setItem",value:function(){}},{key:"getItem",value:function(){}}]),e}()},fad2:function(e,t,i){"use strict";(function(e){i.d(t,"a",(function(){return n}));var n={isGeneratedName:function(e){return/^V[0-9]{16}$/.test(e)},parseVisitorName:function(){return this.isGeneratedName(name)?e.Tawk_Window.app.$i18n("chat","defaultName"):name}}}).call(this,i("c8ba"))}}]);