!function(){var e=function(e,t){var n=function(){e()?t():setTimeout(n,100)};n()};e(function(){return VWO&&VWO._&&VWO._.libLoaded},function(){window.VWO=window.VWO||[],VWO.v_o="4.0.256",function(){var i=parseInt(new Date/1e3,10),e,o=function(){return e||(e=VWO.data.ts||i)},t=Object.keys||function(e){var t,n=[];for(t in e)e.hasOwnProperty(t)&&n.push(t);return n};function n(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])}function r(e,t){for(var n=[],i=0;ithis.lastSent:"Hash"===this.type&&0/.test(e)){i=!0;try{n=e,(z=z||d.implementation.createHTMLDocument(null)).body.innerHTML=n,e=z.body.childNodes}catch(e){throw e}}if(!e)return this;if(e&&e.nodeType||U(e))return this[0]=e,this.length=1,this;if(b(e)){t=t||d;var o=this.constructor(),r=/^#[\w-]*$/.test(e)?t.getElementById(e.slice(1)):-1<[725146,749258].indexOf(window._vwo_acc_id)&&t.querySelectorAll.ancestor?t.querySelectorAll.ancestor.call(t,e):t.querySelectorAll(e);return r&&r.nodeType&&(r=[r]),u.apply(o,i?e:r),o}if(W(e))return E.fn.ready(e);for(var a=0;awindow.innerHeight},getScreenDimensions:function(){var e=window.screen.width,t=window.screen.height,n=this.getDimensionsConsideringOrientation(e,t);return{width:n.width,height:n.height}},getScreenScale:function(){var e=V.getAvailableDimensions(),t=V.getScreenDimensions();return{x:e.width/t.width,y:e.height/t.height}},getScale:function(){var e,t,n=window._vwo_acc_id;if((55e4 /,"")),-1 shadow-root >"),i=document,o=null,r=0;r")?(n=(t=e.split(">"))[t.length-1],this.getTargetFromPath(n)):0 "+c.join(" + "):"")}var ae={getTrueWidth:function(e){var t=window.vwo_$||window.jQuery;return t&&t(e).width()||e.clientWidth||e.offsetWidth||e.scrollWidth},getTrueHeight:function(e){var t=window.vwo_$||window.jQuery;return t&&t(e).height()||e.clientHeight||e.offsetHeight||e.scrollHeight},getRelativeStats:function(e,t,n,i,o,r){var a=e.offset().top-t.offset().top,s=e.offset().left-t.offset().left,c=0,d=0;return o&&r&&(c=o-s,d=r-a),{correctedTargetHeight:this.getTrueHeight(t[0]),correctedTargetWidth:this.getTrueWidth(t[0]),correctedTargetOffsetX:n+s,correctedTargetOffsetY:i+a,correctedTargetPageX:c,correctedTargetPageY:d}},postProcessMutations:function(e){var i=this;return e.forEach(function(e){var t,n;null!==(t=e.addedNodes)&&void 0!==t&&t.length&&(e.addedNodes=i.deduplicateNodes(e.addedNodes)),null!==(n=e.removedNodes)&&void 0!==n&&n.length&&(e.removedNodes=i.deduplicateNodes(e.removedNodes))}),e},deduplicateNodes:function(e){var t=[];if(t.push(e[0]),1Ne.length)return!0;for(var n=0;n').appendTo("body")).offset();e.pageY+=t.top,e.pageX+=t.left- -100}return{x:e.pageX-e.offsetX,y:e.pageY-e.offsetY}},Be.prototype.addElementScrollData=E(function(e){this.recording.push(e)},V.sDT),Be.prototype.sendElementScrollData=function(e){var t,n=e.composedPath&&null!==(t=e.composedPath())&&void 0!==t&&t.length?e.composedPath()[0]:e.target,i={action:"es",selectorPath:j.sanitizeActionData(re(n)),timestamp:N()-V.startTime,scrollX:Ve(n).scrollLeft(),scrollY:Ve(n).scrollTop()};this.addElementScrollData(We.serializeEvent(i))},Be.prototype.loadEventListeners=function(){var n=this;te.addJqEventListener(Ve(document),"on","focusin",Ke.bind(this),"select, textarea, input[type=text], input[type=date], input[type=password], input[type=email], input[type=number]"),te.addJqEventListener(Ve(document),"on","focusout",Ke.bind(this),"select, textarea, input[type=text], input[type=date], input[type=password], input[type=email], input[type=number]");var e=window.navigator.userAgent;e.match(/safari/i)&&!e.match(/chrome/i)||window._vwo_acc_id<5e5?te.addEventListener(Ve(window),"on","orientationchange",Ye.bind(this,n)):te.addEventListener(window.screen.orientation,"change",Ye.bind(this,n)),te.addJqEventListener(Ve(document),"on","mouseleave",xe.sendRecordingData.bind(xe));function s(){var e=V.getScale(),t={action:"tc",timestamp:N()-V.startTime,scaleX:e.x,scaleY:e.y,scrollX:Ve(window).scrollLeft(),scrollY:Ve(window).scrollTop()};n.recording.push(We.serializeEvent(t))}function c(e){var t,n,i,o=e.composedPath&&null!==(t=e.composedPath())&&void 0!==t&&t.length?e.composedPath()[0]:e.target,r="touchend"===e.type,a=window.vwo_$(o),s=Ve(o).offset(),c=window.vwo_$(o);if("undefined"!=typeof ShadowRoot&&(o.getRootNode?o.getRootNode()instanceof ShadowRoot:qe(o)instanceof ShadowRoot)||V.GetHtml.html.isAuraSite&&o.nlsParent){var d=o.getBoundingClientRect();s={top:d.top+document.body.scrollTop,left:d.left+document.body.scrollLeft}}if(s){if(this.mouse.curDown.tag=o.nodeName,this.mouse.curDown.index=Ve(o.nodeName).index(o),r){var l=e.changedTouches[0];l&&(n=l.pageX,i=l.pageY)}else n=e.pageX,i=e.pageY;for(var u=O.get("Math"),h=this.getRelativeCoord({pageX:n,offsetX:s.left,pageY:i,offsetY:s.top}),f=N()-V.startTime,m=o,p={action:"mc",timestamp:f,selectorPath:j.sanitizeActionData(re(o)),elWidth:ae.getTrueWidth(o),elHeight:ae.getTrueHeight(o),relX:u.floor(h.x),relY:u.floor(h.y),docX:this.mouse.curMove.docX,docY:this.mouse.curMove.docY};c.width()<=0&&c.height()<=0&&c.length;)c=c.parent();if(c&&a&&c.length&&a.length){var g=u.floor(h.x),v=u.floor(h.y),w=this.mouse.curMove.docX,y=this.mouse.curMove.docY,_=ae.getRelativeStats(a,c,g,v,w,y);p={action:"mc",timestamp:f,selectorPath:j.sanitizeActionData(re(c[0])),elWidth:_.correctedTargetWidth,elHeight:_.correctedTargetHeight,relX:u.floor(_.correctedTargetOffsetX),relY:u.floor(_.correctedTargetOffsetY),docX:_.correctedTargetPageX,docY:_.correctedTargetPageY},m=c[0]}V.GetHtml.html.isAuraSite&&-1V.recordingData.totals.scroll&&0=V.Recording.recording.length&&V.Recording.index.heatmap>=V.Recording.heatmap.clicks.length&&V.Mutations.index>=V.Mutations.mutations.length)||V.Recording.hasScrollChanged()||V.Recording.tags.isTagPassed()||h.length){var f=V.Recording.recording.slice(V.Recording.index.recording),m=V.Mutations.mutations.slice(V.Mutations.index),p=V.Recording.heatmap.clicks.slice(V.Recording.index.heatmap);V.Recording.index.recording=V.Recording.recording.length,V.Recording.index.heatmap=V.Recording.heatmap.clicks.length,V.Mutations.index=V.Mutations.mutations.length;var g=O.get("JSON"),v=ee.init(f);f=v.latestRecording;var w=v.deadClickInThisBatch?11:0,y=v.rageClickInThisBatch?12:0,_={};if(w||y){var E=[];E.push(w,y),_[C.RECORDING_META]=((e={})[C.CLICKS_TRACKED]=E,e),void 0!==VWO.phoenix&&Ve.extend(_[C.RECORDING_META],((t={})[C.CLICK_TRACK_COUNT]=v.clickCounts,t[C.CLICK_TEXT_DATA]=v.textData,t)),_[C.RECORDING_META]=g.stringify(_[C.RECORDING_META])}else void 0!==VWO.phoenix&&v.clickCounts&&v.clickCounts.c&&(_[C.RECORDING_META]=((n={})[C.CLICK_TRACK_COUNT]=v.clickCounts,n),_[C.RECORDING_META]=g.stringify(_[C.RECORDING_META]));var T=V.Recording.getRecordingData(f,m,_),b=V.Recording.getHeatmapData(p),S=V.Recording.getTagData();VWO._&&VWO._.ac&&VWO._.ac.rdbg&&T&&T.recording&&(T.recording=T.recording+",vwomt_"+(N()-V.startTime)+"_"+encodeURIComponent(g.stringify({evq:h})));try{null!==(r=null===(o=null===(i=window.VWO)||void 0===i?void 0:i._)||void 0===o?void 0:o.ac)&&void 0!==r&&r.cRecJS&&null!==(c=null===(s=null===(a=window.VWO)||void 0===a?void 0:a._)||void 0===s?void 0:s.ac)&&void 0!==c&&c.cRecJS()?Ve.extend(l,b,S):Ve.extend(l,T,b,S)}catch(e){window.VWO._.customError&&window.VWO._.customError({msg:"Error in cRecJS "+VWO._.ac.cRecJS,url:document.URL})}return l}},Be.prototype.pushScaleInformation=function(){var e=V.getScale(),t=e.x,n=e.y,i={action:"is",timestamp:N()-V.startTime,scaleX:t,scaleY:n,scrollX:Ve(window).scrollLeft(),scrollY:Ve(window).scrollTop()};this.recording.push(We.serializeEvent(i))},Be.prototype.init=function(e){if(e&&Be.bind(this)(),this.currentUrl=location.href,xe.formSubmitCallbacks.push(this.sendData.bind(this)),this.devicePixelRatio=window.devicePixelRatio,this.initialClientHeight=V.getViewportDimensions().height,this.isMobile){this.oldSettings=this.oldSettings||{};var t=V.getScreenScale(),n=t.x,i=t.y,o={action:"sS",timestamp:N()-V.startTime,screenScaleX:n,screenScaleY:i};V.Recording.recording.push(We.serializeEvent(o)),this.oldSettings.screenScaleX=n,this.oldSettings.screenScaleY=i,this.pushScaleInformation();for(var r=500;r<=2e3;r+=500){var a=setTimeout(this.pushScaleInformation.bind(this),r);te.pushTimers(a,"timeout")}}var s=V.getScale(),c={action:"sc",timestamp:N()-V.startTime,scaleX:this.isMobile?s.x:1,scaleY:this.isMobile?s.y:1,scrollX:Ve(window).scrollLeft(),scrollY:Ve(window).scrollTop(),width:window.innerWidth,height:window.innerHeight,pageWidth:Ve("html").width(),pageHeight:Math.max(Ve("html").height(),Ve("html")[0].scrollHeight)};if(this.recording.push(We.serializeEvent(c)),!Xe){this.loadEventListeners(),this.patchNativeProperties();var d=!1;document.addEventListener("vwo.meta",function(e){var t,n=e.data,i=O.get("JSON");n&&"object"==typeof n&&519176===window._vwo_acc_id&&(n.snapShottedUrl=i.stringify(V.linkHrefForSnapshotting),d||(n.sessionId=V.ids.session,n.uuid=j.getUUID(),n.aST=VWO._.ast),d=!0),n&&"object"==typeof n&&555774===window._vwo_acc_id&&(n.vvps=window.visualViewport&&window.visualViewport.scale),n&&"object"==typeof n&&373511===window._vwo_acc_id&&window.vwo_iehack_queue.length&&(n.gifCalls=[],null!==(t=window.vwo_iehack_queue)&&void 0!==t&&t.forEach(function(e){n.gifCalls.push(e.src)})),n&&"object"==typeof n&&566821===window._vwo_acc_id&&window._vwo_geo&&(d||(n.location=window._vwo_geo),d=!0),V.Recording.recording.push("vwomt_"+(N()-V.startTime)+"_"+encodeURIComponent(i.stringify(n)))}),VWO._.customEvent("meta",{cks:Ge()});var l=setInterval(this.storeMouseMove.bind(this),300);te.pushTimers(l,"interval"),Xe=!0}},V.Recording=new Be;var $e=V.Recording,Qe={EXCEPTION:"ex",PROMISE_REJECTION:"pr",CSP:"csp"},Ze={FETCH:"fetch",XHR:"xmlhttprequest"},et=O.get("Array"),tt="_",nt=",",it=(ot.prototype.getDataToSend=function(){if(this.shouldSendData()){var e=this.processedData.slice(this.nextErrorIndex).join(nt),t=this.pageErrors.slice(this.nextPageErrorIndex).join(nt);return this.nextErrorIndex=this.processedData.length,this.nextPageErrorIndex=this.pageErrors.length,{er:e,pEr:t}}},ot.prototype.shouldSendData=function(){return this.nextErrorIndex!==this.processedData.length},ot.prototype.resetData=function(){this.processedData=new et,this.pageErrors=new et,this.nextErrorIndex=0,this.nextPageErrorIndex=0},ot.prototype.processErrorData=function(e,t,n){void 0===t&&(t=[]),t=t||[];var i=e.join(tt),o=t.join(tt),r=n||Math.floor(N()-V.startTime),a=this.pageErrors.indexOf(i);0<=a?this.processedData.push(r+":"+a):(a=this.pageErrors.length,this.pageErrors.push(i),t.length?this.processedData.push([r+":"+a,i,o].join(tt)):this.processedData.push([r+":"+a,i].join(tt)))},ot);function ot(){this.processedData=new et,this.pageErrors=new et,this.nextErrorIndex=0,this.nextPageErrorIndex=0,this.truncationLenth=100}var rt=(at=it,u(st,at),st.prototype.addErrorListener=function(){var r=this;window.addEventListener("error",function(e){if(e&&e.message){var t=j.sanitizeActionData(e.message.slice(0,r.truncationLenth));return r.processErrorData([Qe.EXCEPTION,t]),!0}}),window.addEventListener("unhandledrejection",function(e){if(e&&e.reason){var t="Uncaught (in promise) "+e.reason,n=j.sanitizeActionData(t.slice(0,r.truncationLenth));return r.processErrorData([Qe.PROMISE_REJECTION,n]),!0}}),document.addEventListener("securitypolicyviolation",function(e){if(e&&e.blockedURI){var t=j.getAnonymizedUrl(e.blockedURI),n=j.sanitizeActionData(t),i=[Qe.CSP,n,j.sanitizeActionData(e.violatedDirective)],o=[j.sanitizeActionData(e.originalPolicy)];r.processErrorData(i,o)}})},st),at;function st(){var e=at.call(this)||this;return e.addErrorListener(),e}var ct=O.get("JSON"),dt=(lt=it,u(ut,lt),ut.prototype.patchConsoleAPI=function(){var n=console.error,i=this;console.error=function(e){try{var t=e;"string"!=typeof t&&(t=ct.stringify(e)),t=j.sanitizeActionData(t.slice(0,this.truncationLenth)),i.processErrorData([t])}catch(e){}n.apply(console,arguments)}},ut),lt;function ut(){var e=lt.call(this)||this;return e.patchConsoleAPI(),e}function ht(e){return e.split("&").join("&").split("<").join("<").split('"').join(""")}var ft={getUrlVars:function(e){var t,n,i,o={};for(-1!==e.indexOf("#")&&(e=e.slice(0,e.indexOf("#"))),n=(i=e.slice(e.indexOf("?")+1).split("&").reverse()).length;n--;)if(void 0===o[(t=i[n].split("="))[0]]){var r=t[1];(478778==window._vwo_acc_id||495077x',t.firstChild.href},isHashPresent:function(e){return-1!==e.indexOf("#")},isQueryParamPresent:function(e,t){var n=e.indexOf("#"),i=e.indexOf("?"),o=t?-1:e.indexOf("=");return-1===n?-1!==i||-1!==o:-1!==i&&iV.recordingData.totals.scroll&&0