!function(){"use strict";var t=Object.freeze({__proto__:null,get queue(){return dn},get start(){return ln},get stop(){return pn},get track(){return en}}),e=Object.freeze({__proto__:null,get data(){return Wn},get start(){return zn},get stop(){return Rn},get upgrade(){return Ln}}),n=Object.freeze({__proto__:null,get check(){return Jn},get compute(){return Bn},get data(){return qn},get start(){return Fn},get stop(){return Gn},get trigger(){return Vn}}),r=Object.freeze({__proto__:null,get compute(){return nr},get data(){return Zn},get log(){return er},get reset(){return rr},get start(){return $n},get stop(){return tr},get updates(){return Kn}}),a=Object.freeze({__proto__:null,get compute(){return fr},get config(){return cr},get consent(){return lr},get data(){return ar},get start(){return or},get stop(){return ur},get trackConsentv2(){return pr}}),i=Object.freeze({__proto__:null,get callback(){return Mr},get callbacks(){return vr},get clear(){return Er},get consent(){return Tr},get consentv2(){return Sr},get data(){return hr},get electron(){return gr},get id(){return kr},get metadata(){return _r},get save(){return Ir},get shortid(){return Pr},get start(){return yr},get stop(){return br}}),o=Object.freeze({__proto__:null,get data(){return Cr},get envelope(){return qr},get start(){return Ar},get stop(){return Hr}}),u={projectId:null,delay:1e3,lean:!1,lite:!1,track:!0,content:!0,drop:[],mask:[],unmask:[],regions:[],cookies:[],fraud:!0,checksum:[],report:null,upload:null,fallback:null,upgrade:null,action:null,dob:null,delayDom:!1,throttleDom:!0,conversions:!1,includeSubdomains:!0,modules:[]};function s(t){return window.Zone&&"__symbol__"in window.Zone?window.Zone.__symbol__(t):t}var c=0;function l(){return performance.now()+performance.timeOrigin}function d(t){void 0===t&&(t=null);var e=0===c?l():c,n=t&&t.timeStamp>0?t.timeStamp:performance.now(),r=t&&t.view?t.view.performance.timeOrigin:performance.timeOrigin;return Math.max(Math.round(n+r-e),0)}var p="0.8.50";function f(t,e){void 0===e&&(e=null);for(var n,r=5381,a=r,i=0;i=48&&s<=57,a=a||64===s,i=9===s||10===s||13===s||32===s,0===u||u===t.length-1||i){if(r||a){null===o&&(o=t.split(""));var c=t.substring(e+1,i?u:u+1);c=g&&null!==y?c.match(y)?c:S(c,"▪","▫"):T(c),o.splice(e+1-n,c.length,c),n+=c.length-1}i&&(r=!1,a=!1,e=u)}}return o?o.join(""):t}(t);case"input":case"change":return O(t)}return t;case 2:case 3:switch(e){case"*T":case"data-":return r?k(t):T(t);case"src":case"srcset":case"title":case"alt":case"href":case"xlink:href":return 3===n?"src"===e&&(null==t?void 0:t.startsWith("blob:"))?"blob:":"":t;case"value":case"click":case"input":case"change":return O(t);case"placeholder":return T(t)}break;case 4:switch(e){case"*T":case"data-":return r?k(t):T(t);case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":return""}break;case 5:switch(e){case"*T":case"data-":return S(t,"▪","▫");case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":case"src":case"srcset":case"alt":case"title":return""}}}return t}function _(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=!1);var r=t;if(e)r="".concat("https://").concat("Electron");else{var a=u.drop;if(a&&a.length>0&&t&&t.indexOf("?")>0){var i=t.split("?"),o=i[0],s=i[1];r=o+"?"+s.split("&").map((function(t){return a.some((function(e){return 0===t.indexOf("".concat(e,"="))}))?"".concat(t.split("=")[0],"=").concat("*na*"):t})).join("&")}}return n&&(r=r.substring(0,v)),r}function k(t){var e=t.trim();if(e.length>0){var n=e[0],r=t.indexOf(n),a=t.substr(0,r),i=t.substr(r+e.length);return"".concat(a).concat(e.length.toString(36)).concat(i)}return t}function T(t){return t.replace(h,"•")}function S(t,e,n){return x(),t?t.replace(w,e).replace(m,n):t}function O(t){for(var e=5*(Math.floor(t.length/5)+1),n="",r=0;r0&&r%5==0?" ":"•";return n}function x(){if(g&&null===m)try{m=new RegExp("\\p{N}","gu"),w=new RegExp("\\p{L}","gu"),y=new RegExp("\\p{Sc}","gu")}catch(t){g=!1}}var E=null,M=null,I=!1;function N(){I&&(E={time:d(),event:4,data:{visible:M.visible,docWidth:M.docWidth,docHeight:M.docHeight,screenWidth:M.screenWidth,screenHeight:M.screenHeight,scrollX:M.scrollX,scrollY:M.scrollY,pointerX:M.pointerX,pointerY:M.pointerY,activityTime:M.activityTime,scrollTime:M.scrollTime,pointerTime:M.pointerTime,moveX:M.moveX,moveY:M.moveY,moveTime:M.moveTime,downX:M.downX,downY:M.downY,downTime:M.downTime,upX:M.upX,upY:M.upY,upTime:M.upTime,pointerPrevX:M.pointerPrevX,pointerPrevY:M.pointerPrevY,pointerPrevTime:M.pointerPrevTime,modules:M.modules}}),M=M||{visible:1,docWidth:0,docHeight:0,screenWidth:0,screenHeight:0,scrollX:0,scrollY:0,pointerX:0,pointerY:0,activityTime:0,scrollTime:0,pointerTime:void 0,moveX:void 0,moveY:void 0,moveTime:void 0,downX:void 0,downY:void 0,downTime:void 0,upX:void 0,upY:void 0,upTime:void 0,pointerPrevX:void 0,pointerPrevY:void 0,pointerPrevTime:void 0,modules:null}}function P(t,e,n,r){switch(t){case 8:M.docWidth=e,M.docHeight=n;break;case 11:M.screenWidth=e,M.screenHeight=n;break;case 10:M.scrollX=e,M.scrollY=n,M.scrollTime=r;break;case 12:M.moveX=e,M.moveY=n,M.moveTime=r,M.pointerPrevX=M.pointerX,M.pointerPrevY=M.pointerY,M.pointerPrevTime=M.pointerTime,M.pointerX=e,M.pointerY=n,M.pointerTime=r;break;case 13:M.downX=e,M.downY=n,M.downTime=r,M.pointerPrevX=M.pointerX,M.pointerPrevY=M.pointerY,M.pointerPrevTime=M.pointerTime,M.pointerX=e,M.pointerY=n,M.pointerTime=r;break;case 14:M.upX=e,M.upY=n,M.upTime=r,M.pointerPrevX=M.pointerX,M.pointerPrevY=M.pointerY,M.pointerPrevTime=M.pointerTime,M.pointerX=e,M.pointerY=n,M.pointerTime=r;break;default:M.pointerPrevX=M.pointerX,M.pointerPrevY=M.pointerY,M.pointerPrevTime=M.pointerTime,M.pointerX=e,M.pointerY=n,M.pointerTime=r}I=!0}function X(t){M.activityTime=t}function Y(t,e){M.visible=e,M.visible||X(t),I=!0}function j(t){M.modules=Array.from(t),I=!0}function C(){I&&Un(4)}var A=Object.freeze({__proto__:null,activity:X,compute:C,dynamic:j,reset:N,start:function(){I=!1,N()},get state(){return E},stop:function(){N()},track:P,visibility:Y}),H=null;function q(t,e){na()&&t&&"string"==typeof t&&t.length<255&&(H=e&&"string"==typeof e&&e.length<255?{key:t,value:e}:{value:t},Un(24))}var D,W=null,z=null;function L(t){t in W||(W[t]=0),t in z||(z[t]=0),W[t]++,z[t]++}function R(t,e){null!==e&&(t in W||(W[t]=0),t in z||(z[t]=0),W[t]+=e,z[t]+=e)}function U(t,e){null!==e&&!1===isNaN(e)&&(t in W||(W[t]=0),(e>W[t]||0===W[t])&&(z[t]=e,W[t]=e))}function F(t,e,n){return window.setTimeout(zr(t),e,n)}function J(t){return window.clearTimeout(t)}var V=0,B=0,G=null;function Z(){G&&J(G),G=F(K,B),V=d()}function K(){var t=d();D={gap:t-V},Un(25),D.gap<3e5?G=F(K,B):$r&&(q("webinsights","suspend"),oa(),["mousemove","touchstart"].forEach((function(t){return Rr(document,t,ra)})),["resize","scroll","pageshow"].forEach((function(t){return Rr(window,t,ra)})))}var Q=Object.freeze({__proto__:null,get data(){return D},reset:Z,start:function(){B=6e4,V=0},stop:function(){J(G),V=0,B=0}}),$=null;function tt(){Un(36)}function et(){$={}}var nt=Object.freeze({__proto__:null,compute:tt,get data(){return $},reset:et,start:function(){$={}},stop:function(){$={}},track:function(t,e){if(t in $){var n=$[t],r=n[n.length-1];e-r[0]>100?$[t].push([e,0]):r[1]=e-r[0]}else $[t]=[[e,0]]}});function rt(t,e,n,r){return new(n||(n=Promise))((function(a,i){function o(t){try{s(r.next(t))}catch(t){i(t)}}function u(t){try{s(r.throw(t))}catch(t){i(t)}}function s(t){var e;t.done?a(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(o,u)}s((r=r.apply(t,e||[])).next())}))}function at(t,e){var n,r,a,i,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(u){return function(s){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(o=0)),o;)try{if(n=1,r&&(a=2&u[0]?r.return:u[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,u[1])).done)return a;switch(r=0,a&&(u=[2&u[0],a.value]),u[0]){case 0:case 1:a=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,r=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(!(a=o.trys,(a=a.length>0&&a[a.length-1])||6!==u[0]&&2!==u[0])){o=0;continue}if(3===u[0]&&(!a||u[1]>a[0]&&u[1]=5?"".concat(u.substring(0,2)).concat(S(u.substring(2),"*","*")):S(u,"*","*")),dt("userId",[(a=i).userId]),dt("userHint",[a.userHint]),dt("userType",[vt(t)]),e&&(dt("sessionId",[e]),a.sessionId=e),n&&(dt("pageId",[n]),a.pageId=n),[2,a]}var u}))}))}function dt(t,e){if(na()&&t&&e&&"string"==typeof t&&t.length<255){for(var n=(t in st?st[t]:[]),r=0;r0?"email":"string"}var gt=Object.freeze({__proto__:null,compute:pt,get data(){return st},identify:lt,reset:ft,set:ct,start:function(){ft()},stop:function(){ft()}});var mt,wt={};function yt(t){var e=t.error||t;return e.message in wt||(wt[e.message]=0),wt[e.message]++>=5||e&&e.message&&(mt={message:e.message,line:t.lineno,column:t.colno,stack:e.stack,source:t.filename},bt(31)),!0}function bt(t){return rt(this,void 0,void 0,(function(){var e;return at(this,(function(n){switch(e=[d(),t],t){case 31:e.push(mt.message),e.push(mt.line),e.push(mt.column),e.push(mt.stack),e.push(_(mt.source)),dn(e);break;case 33:_t&&(e.push(_t.code),e.push(_t.name),e.push(_t.message),e.push(_t.stack),e.push(_t.severity),dn(e,!1))}return[2]}))}))}var _t,kt={};function Tt(t,e,n,r,a){void 0===n&&(n=null),void 0===r&&(r=null),void 0===a&&(a=null);var i=n?"".concat(n,"|").concat(r):"";t in kt&&kt[t].indexOf(i)>=0||(_t={code:t,name:n,message:r,stack:a,severity:e},t in kt?kt[t].push(i):kt[t]=[i],bt(33))}var St={},Ot=new Set,xt={},Et={},Mt={},It={};function Nt(t){try{var e=t&&t.length>0?t.split(/ (.*)/):[""],n=e[0].split(/\|(.*)/),r=parseInt(n[0]),a=n.length>1?n[1]:"",i=e.length>1?JSON.parse(e[1]):{};for(var o in xt[r]={},Et[r]={},Mt[r]={},It[r]=a,i){var u=parseInt(o),s=i[o],c=2;switch(s.startsWith("~")?c=0:s.startsWith("!")&&(c=4),c){case 0:var l=s.slice(1);xt[r][u]=Ct(l);break;case 2:Et[r][u]=s;break;case 4:var d=s.slice(1);Mt[r][u]=d}}}catch(t){Tt(8,1,t?t.name:null)}}function Pt(t){return JSON.parse(JSON.stringify(t))}function Xt(){try{for(var t in xt){var e=parseInt(t);if(""==It[e]||document.querySelector(It[e])){var n=xt[e];for(var r in n){var a=parseInt(r),i=(m=At(Pt(n[a])))?JSON.stringify(m).slice(0,1e4):m;i&&jt(e,a,i)}var o=Et[e];for(var u in o){var s=!1,c=parseInt(u),l=o[c];l.startsWith("@")&&(s=!0,l=l.slice(1));var d=document.querySelectorAll(l);if(d){var p=Array.from(d).map((function(t){return t.textContent})).join("");jt(e,c,(s?f(p).trim():p).slice(0,1e4))}}var h=Mt[e];for(var v in h){var g=parseInt(v);jt(e,g,(void h[g]).trim().slice(0,1e4))}}}Ot.size>0&&Un(40)}catch(t){Tt(5,1,t?t.name:null)}var m}function Yt(){Ot.clear()}function jt(t,e,n){var r,a=!1;t in St||(St[t]={},a=!0),r=Mt[t],0==Object.keys(r).length||e in St[t]&&St[t][e]==n||(a=!0),St[t][e]=n,a&&Ot.add(t)}function Ct(t){for(var e=[],n=t.split(".");n.length>0;){var r=n.shift(),a=r.indexOf("["),i=r.indexOf("{"),o=r.indexOf("}");e.push({name:a>0?r.slice(0,a):i>0?r.slice(0,i):r,type:a>0?1:i>0?2:3,condition:i>0?r.slice(i+1,o):null})}return e}function At(t,e){if(void 0===e&&(e=window),0==t.length)return e;var n,r=t.shift();if(e&&e[r.name]){var a=e[r.name];if(1!==r.type&&Ht(a,r.condition))n=At(t,a);else if(Array.isArray(a)){for(var i=[],o=0,u=a;o1?t[n[0]]==n[1]:t[n[0]]}return!0}var qt=Object.freeze({__proto__:null,clone:Pt,compute:Xt,data:St,keys:Ot,reset:Yt,start:function(){Yt()},stop:function(){Yt()},trigger:Nt,update:jt});function Dt(t,e){try{return!!t[e]}catch(t){return!1}}function Wt(t){try{var e=decodeURIComponent(t);return[e!=t,e]}catch(t){}return[!1,t]}var zt="|";function Lt(t,e){window.insightsuetq&&window.insightsuetq.insightsSetCookie&&window.insightsuetq.insightsSetCookie(t,e)}function Rt(t){return window.insightsuetq&&window.insightsuetq.insightsGetCookie?window.insightsuetq.insightsGetCookie(t):""}function Ut(t,e){switch(void 0===e&&(e=!1),t){case"_clck":return Rt(0);case"_clsk":return Rt(1);default:return function(t,e){var n;void 0===e&&(e=!1);if(Dt(document,"cookie")){var r=document.cookie.split(";");if(r)for(var a=0;a1&&i[0]&&i[0].trim()===t){for(var o=Wt(i[1]),u=o[0],s=o[1];u;)u=(n=Wt(s))[0],s=n[1];return e?s.endsWith("".concat("~","1"))?s.substring(0,s.length-2):null:s}}}return null}(t,e)}}function Ft(t,e,n){switch(t){case"_clck":Lt(e,0);break;case"_clsk":Lt(e,1)}}var Jt=null;function Vt(t){try{if(!Jt)return;var e=function(t){try{return JSON.parse(t)}catch(t){return[]}}(t);e.forEach((function(t){Jt(t)}))}catch(t){}}var Bt=[A,r,gt,n,nt,Object.freeze({__proto__:null,COOKIE_SEP:zt,getCookie:Ut,setCookie:Ft,start:function(){ct("C_IS","1")},stop:function(){}}),a,i,o,t,Q,e,qt];function Gt(){W={},z={},L(5),Bt.forEach((function(t){return zr(t.start)()}))}function Zt(){Bt.slice().reverse().forEach((function(t){return zr(t.stop)()})),W={},z={}}function Kt(){pt(),C(),nr(),Un(0),tt(),Bn(),Xt(),fr()}var Qt=[],$t=null;var te=Object.freeze({__proto__:null,checkDocumentStyles:function(t){},compute:function(){},data:$t,log:function(){},observe:function(){},reset:function(){},sheetAdoptionState:[],sheetUpdateState:[],start:function(){},state:Qt,stop:function(){}}),ee=[],ne=null,re=null,ae=null;function ie(){ee=[],ne=null,re=null}function oe(t,e){return void 0===e&&(e=0),rt(this,void 0,void 0,(function(){var n,r,a;return at(this,(function(i){for(n=0,r=ee;n0&&r.height>0&&(e={x:Math.floor(r.left+("pageXOffset"in window?window.pageXOffset:n.scrollLeft)),y:Math.floor(r.top+("pageYOffset"in window?window.pageYOffset:n.scrollTop)),w:Math.floor(r.width),h:Math.floor(r.height)})}return e}(o);0===n.detail&&s&&(a=Math.round(s.x+s.w/2),i=Math.round(s.y+s.h/2));var c=s?Math.max(Math.floor((a-s.x)/s.w*32767),0):0,l=s?Math.max(Math.floor((i-s.y)/s.h*32767),0):0;if(null!==a&&null!==i){var p=function(t){var e=null,n=!1;if(t){var r=t.textContent||String(t.value||"")||t.alt;if(r){var a=r.replace(/\s+/g," ").trim();n=(e=a.substring(0,25)).length===a.length}}return{text:e,isFullText:n?1:0}}(o);le.push({time:d(n),event:t,data:{target:o,x:a,y:i,eX:c,eY:l,button:n.button,reaction:pe(o),context:he(u),text:p.text,link:u?u.href:null,hash:null,trust:n.isTrusted?1:0,isFullText:p.isFullText,w:s?s.w:0,h:s?s.h:0,tag:fe(o,"tagName").substring(0,10),class:fe(o,"className").substring(0,50),id:fe(o,"id").substring(0,25)}}),oe(ze.bind(this,t))}}function pe(t){var e=fe(t,"tagName");return ce.indexOf(e)>=0?0:1}function fe(t,e){if(t.nodeType===Node.ELEMENT_NODE){var n=null==t?void 0:t[e];return"string"==typeof n?null==n?void 0:n.toLowerCase():""}return""}function he(t){if(t&&t.hasAttribute("target"))switch(t.getAttribute("target")){case"_blank":return 1;case"_parent":return 2;case"_top":return 3}return 0}function ve(){le=[]}function ge(t,e){var n=0,r=null,a=null;function i(){for(var i=this,o=[],u=0;uu?.15*u:.2*u,l=u-c,p=Ee(s,c),f=Ee(s,l),h=t&&t.isTrusted?1:0,v={time:d(t),event:10,data:{target:r,x:a,y:i,top:p,bottom:f,trust:h}};if((null!==t||0!==a||0!==i)&&null!==a&&null!==i){var g=Te.length,m=g>1?Te[g-2]:null;m&&function(t,e){var n=t.data.x-e.data.x,r=t.data.y-e.data.y;return n*n+r*r<400&&e.time-t.time<50}(m,v)&&Te.pop(),Te.push(v),J(Se),Se=F(Me,500,10)}}}var xe=ge(Oe,25);function Ee(t,e){var n,r,a;return"caretPositionFromPoint"in document?a=null===(n=document.caretPositionFromPoint(t,e))||void 0===n?void 0:n.offsetNode:"caretRangeFromPoint"in document&&(a=null===(r=document.caretRangeFromPoint(t,e))||void 0===r?void 0:r.startContainer),a||(a=document.elementFromPoint(t,e)),a&&a.nodeType===Node.TEXT_NODE&&(a=a.parentNode),a}function Me(t){oe(ze.bind(this,t))}var Ie,Ne,Pe,Xe=[];function Ye(t){Xe.push({time:d(t),event:39,data:{target:Pn(t)}}),oe(ze.bind(this,39))}function je(){Xe=[]}function Ce(t){Ie={name:t.type,persisted:t.persisted?1:0},ze(26,d(t)),oa()}function Ae(){Ie=null}function He(t){if(void 0===t&&(t=null),"visibilityState"in document){var e="visible"===document.visibilityState?1:0;Ne={visible:e},ze(28,d(t))}}function qe(){Ne=null}function De(){Pe=null}function We(t){Pe={focused:t},ze(50)}function ze(t,e){return void 0===e&&(e=null),rt(this,void 0,void 0,(function(){var n,r,a,i,o,u,s,c,l,p,f,h,v,g,m,w,y,k,T,S,O,x,E,M,I,N,X,j,C,A,H,q,D,W,z,L;return at(this,(function(R){switch(n=e||d(),r=[n,t],t){case 13:case 14:case 12:case 15:case 16:case 17:case 18:case 19:case 20:for(a=0,i=Qt;a0&&((r=[W.time,W.event]).push(o.id),r.push(W.data.x),r.push(W.data.y),void 0!==W.data.id&&(r.push(W.data.id),void 0!==W.data.isPrimary&&r.push(W.data.isPrimary.toString())),dn(r),(void 0===W.data.isPrimary||W.data.isPrimary)&&P(W.event,W.data.x,W.data.y,W.time));break;case 9:case 48:for(u=0,s=le;u0&&(r.push(H.id),r.push(W.data.action),dn(r));break;case 11:h=se,r.push(h.width),r.push(h.height),P(t,h.width,h.height),ke(),dn(r);break;case 26:v=Ie,r.push(v.name),r.push(v.persisted),Ae(),dn(r);break;case 27:for(g=0,m=Qt;g0&&((r=[W.time,W.event]).push(x.id),r.push(W.data.x),r.push(W.data.y),r.push(I),r.push(N),r.push(W.data.trust),dn(r),P(W.event,W.data.x,W.data.y,W.time));Te=[];break;case 42:for(X=0,j=Qt;X0&&((r=[W.time,W.event]).push(H.id),r.push(W.data.type),r.push(b(W.data.value,"change",H.privacy)),r.push(b(W.data.checksum,"checksum",H.privacy)),dn(r));break;case 39:for(C=0,A=Xe;C0&&(r.push(H.id),dn(r));je();break;case 22:for(q=0,D=Re;q1?parseInt(e[1],10):null;n&&Be.has(n)||function(t,e){try{var n=document.createElement("script");n.src=t,n.async=!0,n.onload=function(){e&&(Be.add(e),j(Be))},n.onerror=function(){Wr(new Error("".concat("MODULE",": ").concat(t)))},document.head.appendChild(n)}catch(t){}}(e[0],n)}}var Ke,Qe,$e,tn,en,nn,rn=Object.freeze({__proto__:null,event:Ze,register:Ge,start:function(){Ve=!0,Be=new Set,u.modules&&u.modules.length>0&&u.modules.forEach((function(t){Ze(t)}))},stop:function(){Je.reverse().forEach((function(t){try{t()}catch(t){}})),Je=[],Ve=!1}}),an=0,on=0,un=null,sn=0,cn=!1;function ln(){tn=!0,an=0,on=0,cn=!1,sn=0,Ke=[],Qe=[],$e={},en=null}function dn(t,e){if(void 0===e&&(e=!0),tn){var n=d(),r=t.length>1?t[1]:null,a=JSON.stringify(t);switch(u.lean?!cn&&on+a.length>10485760&&(Tt(10,0),cn=!0):cn=!1,r){case 5:if(cn)break;an+=a.length;case 37:case 6:case 43:case 45:case 46:case 44:case 51:if(cn)break;on+=a.length,Ke.push(a);break;default:Qe.push(a)}L(25);var i=function(){var t=!1===u.lean&&an>0?100:Cr.sequence*u.delay;return"string"==typeof u.upload?Math.max(Math.min(t,3e4),100):u.delay}();n-sn>2*i&&(J(un),un=null),e&&null===un&&(25!==r&&Z(),un=F(fn,i),sn=n,Jn(on))}}function pn(){J(un),fn(!0),an=0,on=0,cn=!1,sn=0,Ke=[],Qe=[],$e={},en=null,tn=!1}function fn(t){return void 0===t&&(t=!1),rt(this,void 0,void 0,(function(){var e,n,r,a,i,o,s,c;return at(this,(function(l){switch(l.label){case 0:return tn?(un=null,(e=!1===u.lean&&on>0&&(on<1048576||Cr.sequence>0))&&U(1,1),function(){if(Cr){var t=[];Re=[];for(var e=(Cr.start||0)+(Cr.duration||0),n=Math.max(e-2e3,0),r=0,a=Le;r=n&&(i.time<=e&&Re.push(i),t.push(i))}Le=t,ze(22)}}(),Kt(),n=!0===t,Cr?(r=JSON.stringify(qr(n)),a="[".concat(Qe.join(),"]"),i=e?"[".concat(Ke.join(),"]"):"",n&&i.length>0&&r.length+a.length+i.length>65536&&(i=""),o=function(t){return t.p.length>0?'{"e":'.concat(t.e,',"a":').concat(t.a,',"p":').concat(t.p,"}"):'{"e":'.concat(t.e,',"a":').concat(t.a,"}")}({e:r,a:a,p:i}),n?(c=null,[3,3]):[3,1]):[2]):[2];case 1:return[4,ot(o)];case 2:c=l.sent(),l.label=3;case 3:return R(2,(s=c)?s.length:o.length),hn(o,s,Cr.sequence,n),Qe=[],e&&(Ke=[],on=0,an=0,cn=!1),[2]}}))}))}function hn(t,e,n,r){if(void 0===r&&(r=!1),"string"==typeof u.upload){var a=u.upload,i=!1;if(r&&navigator&&navigator.sendBeacon)try{(i=navigator.sendBeacon.bind(navigator)(a,t))&&gn(n)}catch(t){}if(!1===i){n in $e?$e[n].attempts++:$e[n]={data:t,attempts:1};var o=new XMLHttpRequest;o.open("POST",a,!0),o.timeout=15e3,o.ontimeout=function(){Wr(new Error("".concat("Timeout"," : ").concat(a)))},null!==n&&(o.onreadystatechange=function(){zr(vn)(o,n)}),o.withCredentials=!0,e?(o.setRequestHeader("Accept","application/x-webinsights-gzip"),o.send(e)):o.send(t)}}else if(u.upload){(0,u.upload)(t),gn(n)}}function vn(t,e){var n=$e[e];t&&4===t.readyState&&n&&((t.status<200||t.status>208)&&n.attempts<=1?t.status>=400&&t.status<500?Vn(6):(0===t.status&&(u.upload=u.fallback?u.fallback:u.upload),en={sequence:e,attempts:n.attempts,status:t.status},Un(2),hn(n.data,null,e)):(en={sequence:e,attempts:n.attempts,status:t.status},n.attempts>1&&Un(2),200===t.status&&t.responseText&&function(t){for(var e=t&&t.length>0?t.split("\n"):[],n=0,r=e;n0?a.split(/ (.*)/):[""];switch(i[0]){case"END":Vn(6);break;case"UPGRADE":Ln("Auto");break;case"ACTION":u.action&&i.length>1&&u.action(i[1]);break;case"EXTRACT":i.length>1&&Nt(i[1]);break;case"SIGNAL":i.length>1&&Vt(i[1]);break;case"MODULE":i.length>1&&Ze(i[1]);break;case"SNAPSHOT":u.lean=!1,Yn()}}}(t.responseText),0===t.status&&(hn(n.data,null,e,!0),Vn(3)),t.status>=200&&t.status<=208&&gn(e),delete $e[e]))}function gn(t){1===t&&(Ir(),Mr())}function mn(t){return rt(this,void 0,void 0,(function(){var e,n,r,a,i,o,u,s,c,l,p,f,h;return at(this,(function(v){switch(e=d(),n=[e,t],t){case 8:r=nn,n.push(r.width),n.push(r.height),P(t,r.width,r.height),dn(n);break;case 43:if((a=On).length>0){for(i=0,o=a;i=0?a?a.push(u):(a=[u],e.push(a),r++):(a=null,e.push(o),n[o]=r++)}else a=null,e.push(t[i]),r++;return e}(n),!0)}}return[2]}))}))}function wn(t,e,n){return"".concat(t,"=").concat(b(e,0===t.indexOf("data-")?"data-":t,n))}function yn(){nn=null}function bn(){var t,e,n,r,a,i,o,u,s,c,l,d,p,f,h,v;yn(),t=document.body,e=document.documentElement,n=t?t.clientWidth:null,r=t?t.scrollWidth:null,a=t?t.offsetWidth:null,i=e?e.clientWidth:null,o=e?e.scrollWidth:null,u=e?e.offsetWidth:null,s=Math.max(n,r,a,i,o,u),c=t?t.clientHeight:null,l=t?t.scrollHeight:null,d=t?t.offsetHeight:null,p=e?e.clientHeight:null,f=e?e.scrollHeight:null,h=e?e.offsetHeight:null,v=Math.max(c,l,d,p,f,h),null!==nn&&s===nn.width&&v===nn.height||null===s||null===v||(nn={width:s,height:v},mn(8))}var _n=!1;function kn(t){t&&t.persisted&&(ia(),Tt(11,0))}function Tn(t){!function(t){Rr(t===document?window:t,"scroll",xe,!0)}(t),t.nodeType===Node.DOCUMENT_NODE&&(function(t){Rr(t,"click",de.bind(this,9,t),!0),Rr(t,"contextmenu",de.bind(this,48,t),!0)}(t),function(t){Rr(t,"submit",Ye,!0)}(t))}var Sn=Object.freeze({__proto__:null,observe:Tn,start:function(){Le=[],Ue(),ve(),we=!1,Rr(window,"resize",ye),be(),Rr(document,"visibilitychange",He),He(),Rr(window,"focus",(function(){return We(1)})),Rr(window,"blur",(function(){return We(0)})),function(){if(!_n)try{window[s("addEventListener")]("pageshow",zr(kn),{capture:!1,passive:!0}),_n=!0}catch(t){}}(),Te=[],Oe(),je(),Rr(window,"pagehide",Ce)},stop:function(){Le=[],Ue(),ve(),ke(),qe(),De(),J(Se),xe.cleanup(),Te=[],je(),Ae()}}),On=[],xn=1,En=null;function Mn(){jn(),bn(),An(document.documentElement),Tn(document)}function In(){return!1}function Nn(){}function Pn(t){var e=t.composed&&t.composedPath?t.composedPath():null,n=e&&e.length>0?e[0]:t.target;return n.nodeType===Node.DOCUMENT_NODE?n.documentElement:n}function Xn(t){var e={id:0,hash:null,privacy:u.conversions?1:5};return t&&(e.id=En.has(t)?En.get(t):An(t)),e}function Yn(){On=[],function(t){var e=[t];for(;e.length>0;){for(var n=null,r=null,a=null,i=e.shift(),o=i.firstChild,u=i.parentElement?i.parentElement:i.parentNode?i.parentNode:null;o;)e.push(o),o=o.nextSibling;switch(i.nodeType){case Node.DOCUMENT_TYPE_NODE:var s=i;r="*D",n={name:s.name,publicId:s.publicId,systemId:s.systemId};break;case Node.TEXT_NODE:a=i.nodeValue,r=En.get(u)?"*T":r;break;case Node.ELEMENT_NODE:var c=i;n=Cn(c),r=["NOSCRIPT","SCRIPT","STYLE"].indexOf(c.tagName)<0?c.tagName:r}Hn(i,u,{tag:r,attributes:n,value:a})}}(document),mn(43)}function jn(){En=new WeakMap}function Cn(t){var e={},n=t.attributes;if(n&&n.length>0)for(var r=0;r0){for(var a=0,i=r;a0){for(var s=0,c=u;s0){for(var h=0,v=f;h0){for(var w=0,y=m;w=128?1:e,e=Cr.pageNum>=128?7:e,e=d()>72e5?2:e,(e=t>10485760?2:e)!==qn.check&&Vn(e)}}function Vn(t){qn.check=t,5!==t&&(Er(),oa())}function Bn(){0!==qn.check&&Un(35)}function Gn(){qn=null}var Zn=null,Kn=null,Qn=!1;function $n(){Zn={},Kn={},Qn=!1}function tr(){Zn={},Kn={},Qn=!1}function er(t,e){if(e&&(e="".concat(e),t in Zn||(Zn[t]=[]),Zn[t].indexOf(e)<0)){if(Zn[t].length>128)return void(Qn||(Qn=!0,Vn(5)));Zn[t].push(e),t in Kn||(Kn[t]=[]),Kn[t].push(e)}}function nr(){Un(1)}function rr(){Kn={},Qn=!1}var ar=null,ir=!0;function or(){var t,e=null===(t=window.google_tag_data)||void 0===t?void 0:t.ics;ir=!0,(null==e?void 0:e.addListener)&&e.addListener(["ad_storage","analytics_storage"],sr)}function ur(){ir=!0}function sr(){var t,e=null===(t=window.google_tag_data)||void 0===t?void 0:t.ics;if(null==e?void 0:e.getConsentState){var n=e.getConsentState("analytics_storage");Sr(function(t){var e={source:2,ad_Storage:1===t.ad_Storage?"granted":"denied",analytics_Storage:1===t.analytics_Storage?"granted":"denied"};return e}({ad_Storage:e.getConsentState("ad_storage"),analytics_Storage:n}))}}function cr(t){dr(t.analytics_Storage?1:0),ar=t}function lr(){dr(2)}function dr(t){er(36,t.toString())}function pr(t){ar=t,Un(47)}function fr(){var t;if(ir&&(Un(47),ir=!1,!u.track)){var e=null===(t=window.google_tag_data)||void 0===t?void 0:t.ics;(null==e?void 0:e.usedUpdate)&&sr()}}var hr=null,vr=[],gr=0,mr=null,wr={source:7,ad_Storage:"denied",analytics_Storage:"denied"};function yr(){var t,e,n,r=navigator&&"userAgent"in navigator?navigator.userAgent:"",a=null!==(n="undefined"!=typeof Intl&&(null===(e=null===(t=null===Intl||void 0===Intl?void 0:Intl.DateTimeFormat())||void 0===t?void 0:t.resolvedOptions())||void 0===e?void 0:e.timeZone))&&void 0!==n?n:"",i=(new Date).getTimezoneOffset().toString(),o=window.location.ancestorOrigins?Array.from(window.location.ancestorOrigins).toString():"",s=document&&document.title?document.title:"";gr=r.indexOf("Electron")>0?1:0;var c=function(){var t={session:Pr(),ts:Math.round(Date.now()),count:1,upgrade:null,upload:""},e=Ut("_clsk",!u.includeSubdomains);if(e){var n=e.includes("^")?e.split("^"):e.split("|");n.length>=5&&t.ts-Xr(n[1])<18e5&&(t.session=n[0],t.count=Xr(n[2])+1,t.upgrade=Xr(n[3]),t.upload=n.length>=6?"".concat("https://").concat(n[5],"/").concat(n[4]):"".concat("https://").concat(n[4]))}return t}(),l=Yr(),d=u.projectId||f(location.host);hr={projectId:d,userId:l.id,sessionId:c.session,pageNum:c.count},u.lean=u.track&&null!==c.upgrade?0===c.upgrade:u.lean,u.upload=u.track&&"string"==typeof u.upload&&c.upload&&c.upload.length>"https://".length?c.upload:u.upload,er(0,r),er(3,s),er(1,_(location.href,!!gr)),er(2,document.referrer),er(15,function(){var t=Pr();if(u.track&&Dt(window,"sessionStorage")){var e=sessionStorage.getItem("_cltk");t=e||t,sessionStorage.setItem("_cltk",t)}return t}()),er(16,document.documentElement.lang),er(17,document.dir),er(26,"".concat(window.devicePixelRatio)),er(28,l.dob.toString()),er(29,l.version.toString()),er(33,o),er(34,a),er(35,i),U(0,c.ts),U(1,0),U(35,gr);var p,h=null===window||void 0===window?void 0:window.Zone;h&&"__symbol__"in h&&U(39,1),navigator&&(er(9,navigator.language),U(33,navigator.hardwareConcurrency),U(32,navigator.maxTouchPoints),U(34,Math.round(navigator.deviceMemory)),(p=navigator.userAgentData)&&p.getHighEntropyValues?p.getHighEntropyValues(["model","platform","platformVersion","uaFullVersion"]).then((function(t){var e;er(22,t.platform),er(23,t.platformVersion),null===(e=t.brands)||void 0===e||e.forEach((function(t){er(24,t.name+"~"+t.version)})),er(25,t.model),U(27,t.mobile?1:0)})):er(22,navigator.platform)),screen&&(U(14,Math.round(screen.width)),U(15,Math.round(screen.height)),U(16,Math.round(screen.colorDepth)));for(var v=0,g=u.cookies;v0)for(var n=0;n=1||t.consent!==e||t.dob!==r)&&Ft("_clck",[hr.userId,2,n.toString(36),e,r].join(zt))}function Pr(){var t=Math.floor(Math.random()*Math.pow(2,32));return window&&window.crypto&&window.crypto.getRandomValues&&Uint32Array&&(t=window.crypto.getRandomValues(new Uint32Array(1))[0]),t.toString(36)}function Xr(t,e){return void 0===e&&(e=10),parseInt(t,e)}function Yr(){var t={id:Pr(),version:0,expiry:null,consent:0,dob:0},e=Ut("_clck",!u.includeSubdomains);if(e&&e.length>0){var n=e.includes("^")?e.split("^"):e.split("|");n.length>1&&(t.version=Xr(n[1])),n.length>2&&(t.expiry=Xr(n[2],36)),n.length>3&&1===Xr(n[3])&&(t.consent=1),n.length>4&&Xr(n[1])>1&&(t.dob=Xr(n[4])),u.track=u.track||1===t.consent,t.id=u.track?n[0]:t.id}return t}var jr,Cr=null;function Ar(){var t=hr;Cr={version:p,sequence:0,start:0,duration:0,projectId:t.projectId,userId:t.userId,sessionId:t.sessionId,pageNum:t.pageNum,upload:0,end:0,applicationPlatform:0,url:""}}function Hr(){Cr=null}function qr(t){return Cr.start=Cr.start+Cr.duration,Cr.duration=d()-Cr.start,Cr.sequence++,Cr.upload=t&&"sendBeacon"in navigator?1:0,Cr.end=t?1:0,Cr.applicationPlatform=0,Cr.url=_(location.href,!1,!0),[Cr.version,Cr.sequence,Cr.start,Cr.duration,Cr.projectId,Cr.userId,Cr.sessionId,Cr.pageNum,Cr.upload,Cr.end,Cr.applicationPlatform,Cr.url]}function Dr(){jr=[]}function Wr(t){if(jr&&-1===jr.indexOf(t.message)){var e=u.report;if(e&&e.length>0&&Cr){var n={v:Cr.version,p:Cr.projectId,u:Cr.userId,s:Cr.sessionId,n:Cr.pageNum};t.message&&(n.m=t.message),t.stack&&(n.e=t.stack);var r=new XMLHttpRequest;r.open("POST",e,!0),r.send(JSON.stringify(n)),jr.push(t.message)}}return t}function zr(t){return function(){var e=performance.now();try{t.apply(this,arguments)}catch(t){throw Wr(t)}var n=performance.now()-e;R(4,n),n>30&&(L(7),U(6,n),t.dn&&Tt(9,0,"".concat(t.dn,"-").concat(n)))}}var Lr=new Map;function Rr(t,e,n,r,a){void 0===r&&(r=!1),void 0===a&&(a=!0),n=zr(n);try{t[s("addEventListener")](e,n,{capture:r,passive:a}),function(t){return Lr.has(t)}(t)||Lr.set(t,[]),Lr.get(t).push({event:e,listener:n,options:{capture:r,passive:a}})}catch(t){}}function Ur(){Lr.forEach((function(t,e){!function(t,e){t.forEach((function(t){try{e[s("removeEventListener")](t.event,t.listener,{capture:t.options.capture,passive:t.options.passive})}catch(t){}})),Lr.delete(e)}(t,e)})),Lr=new Map}var Fr=null,Jr=null,Vr=null,Br=0;function Gr(){return!(Br++>20)||(Tt(4,0),!1)}function Zr(){Br=0,Vr!==Qr()&&(oa(),window.setTimeout(Kr,250))}function Kr(){ia(),U(29,1)}function Qr(){return location.href?location.href.replace(location.hash,""):location.href}var $r=!1;function ta(){$r=!0,c=l(),ie(),Ur(),Dr(),Vr=Qr(),Br=0,Rr(window,"popstate",Zr),null===Fr&&(Fr=history.pushState,history.pushState=function(){Fr.apply(this,arguments),na()&&Gr()&&Zr()}),null===Jr&&(Jr=history.replaceState,history.replaceState=function(){Jr.apply(this,arguments),na()&&Gr()&&Zr()})}function ea(){Vr=null,Br=0,Dr(),Ur(),ie(),c=0,$r=!1}function na(){return $r}function ra(){ia(),q("webinsights","restart")}var aa=[Object.freeze({__proto__:null,start:function(){!function(){U(26,navigator.webdriver?1:0);try{U(31,window.top==window.self||window.top==window?1:2)}catch(t){U(31,0)}}(),Rr(window,"error",yt),wt={},kt={}},stop:function(){kt={}}}),Dn,Sn,te,rn];function ia(t){void 0===t&&(t=null),function(){try{var t=navigator&&"globalPrivacyControl"in navigator&&1==navigator.globalPrivacyControl;return!1===$r&&"undefined"!=typeof Promise&&window.MutationObserver&&document.createTreeWalker&&"now"in Date&&"now"in performance&&"undefined"!=typeof WeakMap&&!t}catch(t){return!1}}()&&(!function(t){if(null===t||$r)return!1;for(var e in t)e in u&&(u[e]=t[e])}(t),ta(),Gt(),aa.forEach((function(t){return zr(t.start)()})),null===t&&la())}function oa(){na()&&(aa.slice().reverse().forEach((function(t){return zr(t.stop)()})),Zt(),ea(),void 0!==sa&&(sa[ca]=function(){(sa[ca].q=sa[ca].q||[]).push(arguments),"start"===arguments[0]&&sa[ca].q.unshift(sa[ca].q.pop())&&la()}))}var ua=Object.freeze({__proto__:null,consent:Tr,consentv2:Sr,dlog:er,event:q,hashText:Nn,identify:lt,maxMetric:U,measure:zr,metadata:_r,pause:function(){na()&&(q("webinsights","pause"),null===re&&(re=new Promise((function(t){ae=t}))))},queue:dn,register:Ge,resume:function(){na()&&(re&&(ae(),re=null,null===ne&&ue()),q("webinsights","resume"))},schedule:oe,set:ct,signal:function(t){Jt=t},start:ia,stop:oa,time:d,upgrade:Ln,version:p}),sa=window,ca="webinsights";function la(){if(void 0!==sa){if(sa[ca]&&sa[ca].v)return console.warn("Error WI001: Multiple webinsights tags detected.");var t=sa[ca]&&sa[ca].q||[];for(sa[ca]=function(t){for(var e=[],n=1;n0;)sa[ca].apply(sa,t.shift())}}la()}();