@gemx-dev/clarity-js 0.8.82 → 0.8.84

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- !function(){"use strict";var t=Object.freeze({__proto__:null,get queue(){return wn},get start(){return yn},get stop(){return bn},get track(){return ln}}),e=Object.freeze({__proto__:null,get data(){return Bn},get start(){return Zn},get stop(){return Qn},get upgrade(){return Kn}}),n=Object.freeze({__proto__:null,get check(){return er},get compute(){return rr},get data(){return Gn},get start(){return tr},get stop(){return ar},get trigger(){return nr}}),r=Object.freeze({__proto__:null,get compute(){return dr},get data(){return or},get log(){return lr},get reset(){return pr},get start(){return cr},get stop(){return sr},get updates(){return ir}}),a=Object.freeze({__proto__:null,get compute(){return kr},get config(){return yr},get consent(){return wr},get data(){return fr},get start(){return vr},get stop(){return gr},get trackConsentv2(){return _r}}),o=Object.freeze({__proto__:null,get callback(){return Wr},get callbacks(){return Sr},get clear(){return Ar},get consent(){return jr},get consentv2(){return Cr},get data(){return Tr},get electron(){return xr},get id(){return Yr},get metadata(){return Pr},get save(){return zr},get shortid(){return qr},get start(){return Ir},get stop(){return Xr}}),i=Object.freeze({__proto__:null,get data(){return Vr},get envelope(){return Br},get start(){return Gr},get stop(){return Jr}}),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:[],diagnostics:!1,externalSession:!1,userId:null,sessionId:null};function c(t){return window.Zone&&"__symbol__"in window.Zone?window.Zone.__symbol__(t):t}var s=0;function l(){return performance.now()+performance.timeOrigin}function d(t){void 0===t&&(t=null);var e=0===s?l():s,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.82";function f(t,e){void 0===e&&(e=null);for(var n,r=5381,a=r,o=0;o<t.length;o+=2){if(r=(r<<5)+r^t.charCodeAt(o),o+1<t.length)a=(a<<5)+a^t.charCodeAt(o+1)}return n=Math.abs(r+11579*a),(e?n%Math.pow(2,e):n).toString(36)}var h=/\S/gi,v=255,g=!0,m=null,y=null,w=null;function b(t,e,n,r,a){if(void 0===r&&(r=!1),t){if("input"==e&&("checkbox"===a||"radio"===a))return t;switch(n){case 0:return t;case 1:switch(e){case"*T":case"value":case"placeholder":case"click":return function(t){var e=-1,n=0,r=!1,a=!1,o=!1,i=null;O();for(var u=0;u<t.length;u++){var c=t.charCodeAt(u);if(r=r||c>=48&&c<=57,a=a||64===c,o=9===c||10===c||13===c||32===c,0===u||u===t.length-1||o){if(r||a){null===i&&(i=t.split(""));var s=t.substring(e+1,o?u:u+1);s=g&&null!==w?s.match(w)?s:S(s,"▪","▫"):T(s),i.splice(e+1-n,s.length,s),n+=s.length-1}o&&(r=!1,a=!1,e=u)}}return i?i.join(""):t}(t);case"input":case"change":return x(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?(null==t?void 0:t.startsWith("blob:"))?"blob:":"":t;case"value":case"click":case"input":case"change":return x(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 o=t.split("?"),i=o[0],c=o[1];r=i+"?"+c.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),o=t.substr(r+e.length);return"".concat(a).concat(e.length.toString(36)).concat(o)}return t}function T(t){return t.replace(h,"•")}function S(t,e,n){return O(),t?t.replace(y,e).replace(m,n):t}function x(t){for(var e=5*(Math.floor(t.length/5)+1),n="",r=0;r<e;r++)n+=r>0&&r%5==0?" ":"•";return n}function O(){if(g&&null===m)try{m=new RegExp("\\p{N}","gu"),y=new RegExp("\\p{L}","gu"),w=new RegExp("\\p{Sc}","gu")}catch(t){g=!1}}var E=null,N=null,I=!1;function M(){I&&(E={time:d(),event:4,data:{visible:N.visible,docWidth:N.docWidth,docHeight:N.docHeight,screenWidth:N.screenWidth,screenHeight:N.screenHeight,scrollX:N.scrollX,scrollY:N.scrollY,pointerX:N.pointerX,pointerY:N.pointerY,activityTime:N.activityTime,scrollTime:N.scrollTime,pointerTime:N.pointerTime,moveX:N.moveX,moveY:N.moveY,moveTime:N.moveTime,downX:N.downX,downY:N.downY,downTime:N.downTime,upX:N.upX,upY:N.upY,upTime:N.upTime,pointerPrevX:N.pointerPrevX,pointerPrevY:N.pointerPrevY,pointerPrevTime:N.pointerPrevTime,modules:N.modules}}),N=N||{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 X(t,e,n,r){switch(t){case 8:N.docWidth=e,N.docHeight=n;break;case 11:N.screenWidth=e,N.screenHeight=n;break;case 10:N.scrollX=e,N.scrollY=n,N.scrollTime=r;break;case 12:N.moveX=e,N.moveY=n,N.moveTime=r,N.pointerPrevX=N.pointerX,N.pointerPrevY=N.pointerY,N.pointerPrevTime=N.pointerTime,N.pointerX=e,N.pointerY=n,N.pointerTime=r;break;case 13:N.downX=e,N.downY=n,N.downTime=r,N.pointerPrevX=N.pointerX,N.pointerPrevY=N.pointerY,N.pointerPrevTime=N.pointerTime,N.pointerX=e,N.pointerY=n,N.pointerTime=r;break;case 14:N.upX=e,N.upY=n,N.upTime=r,N.pointerPrevX=N.pointerX,N.pointerPrevY=N.pointerY,N.pointerPrevTime=N.pointerTime,N.pointerX=e,N.pointerY=n,N.pointerTime=r;break;default:N.pointerPrevX=N.pointerX,N.pointerPrevY=N.pointerY,N.pointerPrevTime=N.pointerTime,N.pointerX=e,N.pointerY=n,N.pointerTime=r}I=!0}function P(t){N.activityTime=t}function Y(t,e){N.visible=e,N.visible||P(t),I=!0}function j(t){N.modules=Array.from(t),I=!0}function C(){I&&$n(4)}var D=Object.freeze({__proto__:null,activity:P,compute:C,dynamic:j,reset:M,start:function(){I=!1,M()},get state(){return E},stop:function(){M()},track:X,visibility:Y}),H=null;function A(t,e){fa()&&t&&"string"==typeof t&&t.length<255&&(H=e&&"string"==typeof e&&e.length<255?{key:t,value:e}:{value:t},$n(24))}var W,z=null,L=null;function q(t){t in z||(z[t]=0),t in L||(L[t]=0),z[t]++,L[t]++}function R(t,e){null!==e&&(t in z||(z[t]=0),t in L||(L[t]=0),z[t]+=e,L[t]+=e)}function U(t,e){null!==e&&!1===isNaN(e)&&(t in z||(z[t]=0),(e>z[t]||0===z[t])&&(L[t]=e,z[t]=e))}function F(t,e,n){return window.setTimeout(Qr(t),e,n)}function V(t){return window.clearTimeout(t)}var G=0,J=0,B=null;function Z(){B&&V(B),B=F(K,J),G=d()}function K(){var t=d();W={gap:t-G},$n(25),W.gap<3e5?B=F(K,J):la&&(A("clarityGemX","suspend"),ma(),["mousemove","touchstart"].forEach((function(t){return ta(document,t,ha)})),["resize","scroll","pageshow"].forEach((function(t){return ta(window,t,ha)})))}var Q=Object.freeze({__proto__:null,get data(){return W},reset:Z,start:function(){J=6e4,G=0},stop:function(){V(B),G=0,J=0}}),$=null;function tt(){$n(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]]}}),rt=function(){return rt=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var a in e=arguments[n])Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t},rt.apply(this,arguments)};function at(t,e,n,r){return new(n||(n=Promise))((function(a,o){function i(t){try{c(r.next(t))}catch(t){o(t)}}function u(t){try{c(r.throw(t))}catch(t){o(t)}}function c(t){var e;t.done?a(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(i,u)}c((r=r.apply(t,e||[])).next())}))}function ot(t,e){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(u){return function(c){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,u[0]&&(i=0)),i;)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 i.label++,{value:u[1],done:!1};case 5:i.label++,r=u[1],u=[0];continue;case 7:u=i.ops.pop(),i.trys.pop();continue;default:if(!(a=i.trys,(a=a.length>0&&a[a.length-1])||6!==u[0]&&2!==u[0])){i=0;continue}if(3===u[0]&&(!a||u[1]>a[0]&&u[1]<a[3])){i.label=u[1];break}if(6===u[0]&&i.label<a[1]){i.label=a[1],a=u;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(u);break}a[2]&&i.ops.pop(),i.trys.pop();continue}u=e.call(t,i)}catch(t){u=[6,t],r=0}finally{n=a=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,c])}}}var it="CompressionStream"in window;function ut(t){return at(this,void 0,void 0,(function(){var e,n;return ot(this,(function(r){switch(r.label){case 0:return r.trys.push([0,3,,4]),it?(e=new ReadableStream({start:function(e){return at(this,void 0,void 0,(function(){return ot(this,(function(n){return e.enqueue(t),e.close(),[2]}))}))}}).pipeThrough(new TextEncoderStream).pipeThrough(new window.CompressionStream("gzip")),n=Uint8Array.bind,[4,ct(e)]):[3,2];case 1:return[2,new(n.apply(Uint8Array,[void 0,r.sent()]))];case 2:return[3,4];case 3:return r.sent(),[3,4];case 4:return[2,null]}}))}))}function ct(t){return at(this,void 0,void 0,(function(){var e,n,r,a,o;return ot(this,(function(i){switch(i.label){case 0:e=t.getReader(),n=[],r=!1,a=[],i.label=1;case 1:return r?[3,3]:[4,e.read()];case 2:return o=i.sent(),r=o.done,a=o.value,r?[2,n]:(n.push.apply(n,a),[3,1]);case 3:return[2,n]}}))}))}var st=null;function lt(t,e){pt(t,"string"==typeof e?[e]:e)}function dt(t,e,n,r){return void 0===e&&(e=null),void 0===n&&(n=null),void 0===r&&(r=null),at(this,void 0,void 0,(function(){var a,o;return ot(this,(function(i){switch(i.label){case 0:return o={},[4,vt(t)];case 1:return o.userId=i.sent(),o.userHint=r||((u=t)&&u.length>=5?"".concat(u.substring(0,2)).concat(S(u.substring(2),"*","*")):S(u,"*","*")),pt("userId",[(a=o).userId]),pt("userHint",[a.userHint]),pt("userType",[gt(t)]),e&&(pt("sessionId",[e]),a.sessionId=e),n&&(pt("pageId",[n]),a.pageId=n),[2,a]}var u}))}))}function pt(t,e){if(fa()&&t&&e&&"string"==typeof t&&t.length<255){for(var n=(t in st?st[t]:[]),r=0;r<e.length;r++)"string"==typeof e[r]&&e[r].length<255&&n.push(e[r]);st[t]=n}}function ft(){$n(34)}function ht(){st={}}function vt(t){return at(this,void 0,void 0,(function(){var e;return ot(this,(function(n){switch(n.label){case 0:return n.trys.push([0,4,,5]),crypto&&t?[4,crypto.subtle.digest("SHA-256",(new TextEncoder).encode(t))]:[3,2];case 1:return e=n.sent(),[2,Array.prototype.map.call(new Uint8Array(e),(function(t){return("00"+t.toString(16)).slice(-2)})).join("")];case 2:return[2,""];case 3:return[3,5];case 4:return n.sent(),[2,""];case 5:return[2]}}))}))}function gt(t){return t&&t.indexOf("@")>0?"email":"string"}var mt=Object.freeze({__proto__:null,compute:ft,get data(){return st},identify:dt,reset:ht,set:lt,start:function(){ht()},stop:function(){ht()}});var yt,wt={};function bt(t){var e=t.error||t;return e.message in wt||(wt[e.message]=0),wt[e.message]++>=5||e&&e.message&&(yt={message:e.message,line:t.lineno,column:t.colno,stack:e.stack,source:t.filename},_t(31)),!0}function _t(t){return at(this,void 0,void 0,(function(){var e;return ot(this,(function(n){switch(e=[d(),t],t){case 31:e.push(yt.message),e.push(yt.line),e.push(yt.column),e.push(yt.stack),e.push(_(yt.source)),wn(e);break;case 33:kt&&(e.push(kt.code),e.push(kt.name),e.push(kt.message),e.push(kt.stack),e.push(kt.severity),wn(e,!1))}return[2]}))}))}var kt,Tt={};function St(t,e,n,r,a){void 0===n&&(n=null),void 0===r&&(r=null),void 0===a&&(a=null);var o=n?"".concat(n,"|").concat(r):"";t in Tt&&Tt[t].indexOf(o)>=0||(kt={code:t,name:n,message:r,stack:a,severity:e},t in Tt?Tt[t].push(o):Tt[t]=[o],_t(33))}var xt={},Ot=new Set,Et={},Nt={},It={},Mt={};function Xt(t){try{var e=t&&t.length>0?t.split(/ (.*)/):[""],n=e[0].split(/\|(.*)/),r=parseInt(n[0]),a=n.length>1?n[1]:"",o=e.length>1?JSON.parse(e[1]):{};for(var i in Et[r]={},Nt[r]={},It[r]={},Mt[r]=a,o){var u=parseInt(i),c=o[i],s=2;switch(c.startsWith("~")?s=0:c.startsWith("!")&&(s=4),s){case 0:var l=c.slice(1);Et[r][u]=Dt(l);break;case 2:Nt[r][u]=c;break;case 4:var d=c.slice(1);It[r][u]=d}}}catch(t){St(8,1,t?t.name:null)}}function Pt(t){return JSON.parse(JSON.stringify(t))}function Yt(){try{for(var t in Et){var e=parseInt(t);if(""==Mt[e]||document.querySelector(Mt[e])){var n=Et[e];for(var r in n){var a=parseInt(r),o=(m=Ht(Pt(n[a])))?JSON.stringify(m).slice(0,1e4):m;o&&Ct(e,a,o)}var i=Nt[e];for(var u in i){var c=!1,s=parseInt(u),l=i[s];l.startsWith("@")&&(c=!0,l=l.slice(1));var d=document.querySelectorAll(l);if(d){var p=Array.from(d).map((function(t){return t.textContent})).join("<SEP>");Ct(e,s,(c?f(p).trim():p).slice(0,1e4))}}var h=It[e];for(var v in h){var g=parseInt(v);Ct(e,g,(void h[g]).trim().slice(0,1e4))}}}Ot.size>0&&$n(40)}catch(t){St(5,1,t?t.name:null)}var m}function jt(){Ot.clear()}function Ct(t,e,n){var r,a=!1;t in xt||(xt[t]={},a=!0),r=It[t],0==Object.keys(r).length||e in xt[t]&&xt[t][e]==n||(a=!0),xt[t][e]=n,a&&Ot.add(t)}function Dt(t){for(var e=[],n=t.split(".");n.length>0;){var r=n.shift(),a=r.indexOf("["),o=r.indexOf("{"),i=r.indexOf("}");e.push({name:a>0?r.slice(0,a):o>0?r.slice(0,o):r,type:a>0?1:o>0?2:3,condition:o>0?r.slice(o+1,i):null})}return e}function Ht(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&&At(a,r.condition))n=Ht(t,a);else if(Array.isArray(a)){for(var o=[],i=0,u=a;i<u.length;i++){var c=u[i];if(At(c,r.condition)){var s=Ht(t,c);s&&o.push(s)}}n=o}return n}return null}function At(t,e){if(e){var n=e.split(":");return n.length>1?t[n[0]]==n[1]:t[n[0]]}return!0}var Wt=Object.freeze({__proto__:null,clone:Pt,compute:Yt,data:xt,keys:Ot,reset:jt,start:function(){jt()},stop:function(){jt()},trigger:Xt,update:Ct});function zt(t,e){try{return!!t[e]}catch(t){return!1}}function Lt(t){try{var e=decodeURIComponent(t);return[e!=t,e]}catch(t){}return[!1,t]}var qt=null,Rt="^";function Ut(t,e){var n;if(void 0===e&&(e=!1),zt(document,"cookie")){var r=document.cookie.split(";");if(r)for(var a=0;a<r.length;a++){var o=r[a].split("=");if(o.length>1&&o[0]&&o[0].trim()===t){for(var i=Lt(o[1]),u=i[0],c=i[1];u;)u=(n=Lt(c))[0],c=n[1];return e?c.endsWith("".concat("~","1"))?c.substring(0,c.length-2):null:c}}}return null}function Ft(t,e,n){if((u.track||""==e)&&(navigator&&navigator.cookieEnabled||zt(document,"cookie"))){var r=function(t){return encodeURIComponent(t)}(e),a=new Date;a.setDate(a.getDate()+n);var o=a?"expires="+a.toUTCString():"",i="".concat(t,"=").concat(r).concat(";").concat(o).concat(";path=/");try{if(null===qt){for(var c=location.hostname?location.hostname.split("."):[],s=c.length-1;s>=0;s--)if(qt=".".concat(c[s]).concat(qt||""),s<c.length-1&&(document.cookie="".concat(i).concat(";").concat("domain=").concat(qt),Ut(t)===e))return;qt=""}}catch(t){qt=""}document.cookie=qt?"".concat(i).concat(";").concat("domain=").concat(qt):i}}var Vt=Object.freeze({__proto__:null,COOKIE_SEP:Rt,getCookie:Ut,setCookie:Ft,start:function(){qt=null},stop:function(){qt=null}}),Gt={excludeClassNames:[]},Jt=rt({},Gt);var Bt=Object.freeze({__proto__:null,get:function(){return Jt},set:function(t){Jt=rt(rt({},Jt),t)},start:function(){var t,e;Jt={excludeClassNames:null!==(e=null===(t=null===window||void 0===window?void 0:window.GemXHeatmap)||void 0===t?void 0:t.excludeClassNames)&&void 0!==e?e:[]}},stop:function(){Jt=rt({},Gt)}}),Zt=null;function Kt(t){try{if(!Zt)return;var e=function(t){try{return JSON.parse(t)}catch(t){return[]}}(t);e.forEach((function(t){Zt(t)}))}catch(t){}}var Qt=[Bt,D,r,mt,n,nt,Vt,a,o,i,t,Q,e,Wt];function $t(){z={},L={},q(5),Qt.forEach((function(t){return Qr(t.start)()}))}function te(){Qt.slice().reverse().forEach((function(t){return Qr(t.stop)()})),z={},L={}}function ee(){ft(),C(),dr(),$n(0),tt(),rr(),Yt(),kr()}var ne=[],re=null;var ae=Object.freeze({__proto__:null,checkDocumentStyles:function(t){},compute:function(){},data:re,log:function(){},observe:function(){},reset:function(){},sheetAdoptionState:[],sheetUpdateState:[],start:function(){},state:ne,stop:function(){}}),oe=[],ie=null,ue=null,ce=null;function se(){oe=[],ie=null,ue=null}function le(t,e){return void 0===e&&(e=0),at(this,void 0,void 0,(function(){var n,r,a;return ot(this,(function(o){for(n=0,r=oe;n<r.length;n++)if(r[n].task===t)return[2];return a=new Promise((function(n){oe[1===e?"unshift":"push"]({task:t,resolve:n,id:Yr()})})),null===ie&&null===ue&&de(),[2,a]}))}))}function de(){var t=oe.shift();t&&(ie=t,t.task().then((function(){t.id===Yr()&&(t.resolve(),ie=null,de())})).catch((function(e){t.id===Yr()&&(e&&St(0,1,e.name,e.message,e.stack),ie=null,de())})))}var pe,fe=["input","textarea","radio","button","canvas","select"],he=/VM\d/,ve=[];function ge(t,e,n){var r,a=document.documentElement,o="pageX"in n?Math.round(n.pageX):"clientX"in n?Math.round(n.clientX+a.scrollLeft):null,i="pageY"in n?Math.round(n.pageY):"clientY"in n?Math.round(n.clientY+a.scrollTop):null,c=zn(n),s=function(t){for(;t&&t!==document;){if(t.nodeType===Node.ELEMENT_NODE){var e=t;if("A"===e.tagName)return e}t=t.parentNode}return null}(c),l=be(c);0===n.detail&&l&&(o=Math.round(l.x+l.w/2),i=Math.round(l.y+l.h/2));var p=function(t,e,n,r){if(!r)return{eX:0,eY:0};var a=r,o=t,i=Math.max(Math.floor((e-a.x)/a.w*32767),0),u=Math.max(Math.floor((n-a.y)/a.h*32767),0),c=0;for(;(i>32767||u>32767)&&o.parentElement&&c<10;)c++,(a=be(o=o.parentElement))&&(i=Math.max(Math.floor((e-a.x)/a.w*32767),0),u=Math.max(Math.floor((n-a.y)/a.h*32767),0));return{eX:i,eY:u}}(c,o,i,l),f=p.eX,h=p.eY;if(null!==o&&null!==i){var v=function(t){var e=null,n=!1;if(t){var r=me(t)||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}}(c);if(u.diagnostics){var g=c;console.log("[clarity:click] text debug",{tag:null==g?void 0:g.tagName,id:(null==g?void 0:g.id)||null,class:(null==g?void 0:g.className)||null,rawTextContent:(null===(r=null==g?void 0:g.textContent)||void 0===r?void 0:r.replace(/\s+/g," ").trim().substring(0,100))||null,inputValue:(null==g?void 0:g.value)||null,altText:(null==g?void 0:g.alt)||null,resolvedText:v.text,isFullText:v.isFullText,x:o,y:i})}ve.push({time:d(n),event:t,data:{target:c,x:o,y:i,eX:f,eY:h,button:n.button,reaction:ye(c),context:_e(s),text:v.text,link:s?s.href:null,hash:null,trust:n.isTrusted?1:0,isFullText:v.isFullText,w:l?l.w:0,h:l?l.h:0,tag:we(c,"tagName").substring(0,10),class:we(c,"className").substring(0,50),id:we(c,"id").substring(0,25),source:u.diagnostics&&!n.isTrusted?ke():0}}),le(Be.bind(this,t))}}function me(t){if(t.nodeType!==Node.ELEMENT_NODE)return t.textContent||"";var e=t,n=e.tagName;if("SCRIPT"===n||"STYLE"===n||"NOSCRIPT"===n)return"";for(var r="",a=0;a<e.childNodes.length;a++)r+=me(e.childNodes[a]);return r}function ye(t){var e=we(t,"tagName");return fe.indexOf(e)>=0?0:1}function we(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 be(t){var e=null,n=t.ownerDocument||document,r=n.documentElement,a=n.defaultView||window;if("function"==typeof t.getBoundingClientRect){var o=t.getBoundingClientRect();if(o&&o.width>0&&o.height>0){var i="pageXOffset"in a?a.pageXOffset:r.scrollLeft,u="pageYOffset"in a?a.pageYOffset:r.scrollTop;e={x:Math.floor(o.left+i),y:Math.floor(o.top+u),w:Math.floor(o.width),h:Math.floor(o.height)}}}return e}function _e(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 ke(){ke.dn=1;try{for(var t=(new Error).stack||"",e=location.origin,n=4,r=0,a=t.split("\n");r<a.length;r++){var o=a[r];o.indexOf("://")>=0?n=o.indexOf("extension")<0&&o.indexOf(e)>=0?1:2:(o.indexOf("eval")>=0||o.indexOf("Function")>=0||o.indexOf("<a")>=0||he.test(o))&&(n=3)}return n}catch(t){return 4}}function Te(){ve=[]}function Se(t,e){var n=0,r=null,a=null;function o(){for(var o=this,i=[],u=0;u<arguments.length;u++)i[u]=arguments[u];var c=performance.now(),s=c-n;if(0!==n&&s<e){if(a=i,r)return;r=setTimeout((function(){n=performance.now(),t.apply(o,a),a=null,r=null}),e-s)}else n=c,t.apply(this,i)}return o.cleanup=function(){r&&(clearTimeout(r),r=null,a=null)},o}var xe=null,Oe=!1,Ee=Se(Ne,500);function Ne(){var t=document.documentElement;pe={width:t&&"clientWidth"in t?Math.min(t.clientWidth,window.innerWidth):window.innerWidth,height:t&&"clientHeight"in t?Math.min(t.clientHeight,window.innerHeight):window.innerHeight},Oe?(V(xe),xe=F(Ie,500,11)):(Be(11),Oe=!0)}function Ie(t){le(Be.bind(this,t))}function Me(){pe=null,V(xe),Ee.cleanup()}var Xe=[],Pe=null;function Ye(t){void 0===t&&(t=null);var e=window,n=document.documentElement,r=t?zn(t):n;if(r){if(r&&r.nodeType===Node.DOCUMENT_NODE){r=n=r.documentElement}var a=r===n&&"pageXOffset"in e?Math.round(e.pageXOffset):Math.round(r.scrollLeft),o=r===n&&"pageYOffset"in e?Math.round(e.pageYOffset):Math.round(r.scrollTop),i=window.innerWidth,u=window.innerHeight,c=i/3,s=i>u?.15*u:.2*u,l=u-s,p=Ce(c,s),f=Ce(c,l),h=t&&t.isTrusted?1:0,v={time:d(t),event:10,data:{target:r,x:a,y:o,top:p,bottom:f,trust:h}};if((null!==t||0!==a||0!==o)&&null!==a&&null!==o){var g=Xe.length,m=g>1?Xe[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)&&Xe.pop(),Xe.push(v),V(Pe),Pe=F(De,500,10)}}}var je=Se(Ye,25);function Ce(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 De(t){le(Be.bind(this,t))}var He,Ae,We,ze=[];function Le(t){ze.push({time:d(t),event:39,data:{target:zn(t)}}),le(Be.bind(this,39))}function qe(){ze=[]}function Re(t){He={name:t.type,persisted:t.persisted?1:0},Be(26,d(t)),ma()}function Ue(){He=null}function Fe(t){if(void 0===t&&(t=null),"visibilityState"in document){var e="visible"===document.visibilityState?1:0;Ae={visible:e},Be(28,d(t))}}function Ve(){Ae=null}function Ge(){We=null}function Je(t){We={focused:t},Be(50)}function Be(t,e){return void 0===e&&(e=null),at(this,void 0,void 0,(function(){var n,r,a,o,i,u,c,s,l,p,f,h,v,g,m,y,w,k,T,S,x,O,E,N,I,M,P,j,C,D,H,A,W,z,L,q;return ot(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,o=ne;a<o.length;a++)z=o[a],(i=Ln(z.data.target,z.event)).id>0&&((r=[z.time,z.event]).push(i.id),r.push(z.data.x),r.push(z.data.y),void 0!==z.data.id&&(r.push(z.data.id),void 0!==z.data.isPrimary&&r.push(z.data.isPrimary.toString())),wn(r),(void 0===z.data.isPrimary||z.data.isPrimary)&&X(z.event,z.data.x,z.data.y,z.time));break;case 9:case 48:for(u=0,c=ve;u<c.length;u++)z=c[u],s=Ln(z.data.target,z.event,z.data.text),r=[z.time,z.event],l=s.hash?s.hash.join("."):"",console.log("[GemX - Interaction - Encode]",{cHash:l,cTarget:s}),r.push(s.id),r.push(z.data.x),r.push(z.data.y),r.push(z.data.eX),r.push(z.data.eY),r.push(z.data.button),r.push(z.data.reaction),r.push(z.data.context),r.push(b(z.data.text,"click",s.privacy)),r.push(_(z.data.link)),r.push(l),r.push(z.data.trust),r.push(z.data.isFullText),r.push(z.data.w),r.push(z.data.h),r.push(z.data.tag),r.push(z.data.class),r.push(z.data.id),r.push(z.data.source),wn(r),$e(z.time,z.event,l,z.data.x,z.data.y,z.data.reaction,z.data.context);Te();break;case 38:for(p=0,f=ne;p<f.length;p++)z=f[p],r=[z.time,z.event],(H=Ln(z.data.target,z.event)).id>0&&(r.push(H.id),r.push(z.data.action),wn(r));break;case 11:h=pe,r.push(h.width),r.push(h.height),X(t,h.width,h.height),Me(),wn(r);break;case 26:v=He,r.push(v.name),r.push(v.persisted),Ue(),wn(r);break;case 27:for(g=0,m=ne;g<m.length;g++)z=m[g],y=Ln(z.data.target,z.event,z.data.value),(r=[z.time,z.event]).push(y.id),r.push(b(z.data.value,"input",y.privacy,!1,z.data.type)),r.push(z.data.trust),wn(r);break;case 21:(w=re)&&(k=Ln(w.start),T=Ln(w.end),r.push(k.id),r.push(w.startOffset),r.push(T.id),r.push(w.endOffset),wn(r));break;case 10:for(S=0,x=Xe;S<x.length;S++)z=x[S],O=Ln(z.data.target,z.event),E=Ln(z.data.top,z.event),N=Ln(z.data.bottom,z.event),I=(null==E?void 0:E.hash)?E.hash.join("."):"",M=(null==N?void 0:N.hash)?N.hash.join("."):"",O.id>0&&((r=[z.time,z.event]).push(O.id),r.push(z.data.x),r.push(z.data.y),r.push(I),r.push(M),r.push(z.data.trust),wn(r),X(z.event,z.data.x,z.data.y,z.time));Xe=[];break;case 42:for(P=0,j=ne;P<j.length;P++)z=j[P],r=[z.time,z.event],(H=Ln(z.data.target,z.event)).id>0&&((r=[z.time,z.event]).push(H.id),r.push(z.data.type),r.push(b(z.data.value,"change",H.privacy)),r.push(b(z.data.checksum,"checksum",H.privacy)),wn(r));break;case 39:for(C=0,D=ze;C<D.length;C++)z=D[C],r=[z.time,z.event],(H=Ln(z.data.target,z.event)).id>0&&(r.push(H.id),wn(r));qe();break;case 22:for(A=0,W=Ke;A<W.length;A++)z=W[A],(r=[z.time,z.event]).push(z.data.type),r.push(z.data.hash),r.push(z.data.x),r.push(z.data.y),r.push(z.data.reaction),r.push(z.data.context),wn(r,!1);Qe();break;case 28:L=Ae,r.push(L.visible),wn(r),Y(n,L.visible),Ve();break;case 50:q=We,r.push(q.focused),wn(r,!1),Ge()}return[2]}))}))}var Ze=[],Ke=[];function Qe(){Ke=[]}function $e(t,e,n,r,a,o,i){void 0===o&&(o=1),void 0===i&&(i=0),Ze.push({time:t,event:22,data:{type:e,hash:n,x:r,y:a,reaction:o,context:i}}),X(e,r,a,t)}var tn=[],en=!1,nn=null;function rn(t){en&&"function"==typeof t&&tn.push(t)}function an(t){if(en){var e=t?t.split(" "):[""],n=e.length>1?parseInt(e[1],10):null;n&&nn.has(n)||function(t,e){try{var n=document.createElement("script");n.src=t,n.async=!0,n.onload=function(){e&&(nn.add(e),j(nn))},n.onerror=function(){Kr(new Error("".concat("MODULE",": ").concat(t)))},document.head.appendChild(n)}catch(t){}}(e[0],n)}}var on,un,cn,sn,ln,dn,pn=Object.freeze({__proto__:null,event:an,register:rn,start:function(){en=!0,nn=new Set,u.modules&&u.modules.length>0&&u.modules.forEach((function(t){an(t)}))},stop:function(){tn.reverse().forEach((function(t){try{t()}catch(t){}})),tn=[],en=!1}}),fn=0,hn=0,vn=null,gn=0,mn=!1;function yn(){sn=!0,fn=0,hn=0,mn=!1,gn=0,on=[],un=[],cn={},ln=null}function wn(t,e){if(void 0===e&&(e=!0),sn){var n=d(),r=t.length>1?t[1]:null,a=JSON.stringify(t);switch(u.lean?!mn&&hn+a.length>10485760&&(St(10,0),mn=!0):mn=!1,r){case 5:if(mn)break;fn+=a.length;case 37:case 6:case 43:case 45:case 46:case 44:case 51:if(mn)break;hn+=a.length,on.push(a);break;default:un.push(a)}q(25);var o=function(){var t=!1===u.lean&&fn>0?100:Vr.sequence*u.delay;return"string"==typeof u.upload?Math.max(Math.min(t,3e4),100):u.delay}();n-gn>2*o&&(V(vn),vn=null),e&&null===vn&&(25!==r&&Z(),vn=F(_n,o),gn=n,er(hn))}}function bn(){V(vn),_n(!0),fn=0,hn=0,mn=!1,gn=0,on=[],un=[],cn={},ln=null,sn=!1}function _n(t){return void 0===t&&(t=!1),at(this,void 0,void 0,(function(){var e,n,r,a,o,i,c,s;return ot(this,(function(l){switch(l.label){case 0:return sn?(vn=null,(e=!1===u.lean&&hn>0&&(hn<1048576||Vr.sequence>0))&&U(1,1),function(){if(Vr){var t=[];Ke=[];for(var e=(Vr.start||0)+(Vr.duration||0),n=Math.max(e-2e3,0),r=0,a=Ze;r<a.length;r++){var o=a[r];o.time>=n&&(o.time<=e&&Ke.push(o),t.push(o))}Ze=t,Be(22)}}(),ee(),n=!0===t,Vr?(r=JSON.stringify(Br(n)),a="[".concat(un.join(),"]"),o=e?"[".concat(on.join(),"]"):"",n&&o.length>0&&r.length+a.length+o.length>65536&&(o=""),i=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:o}),n?(s=null,[3,3]):[3,1]):[2]):[2];case 1:return[4,ut(i)];case 2:s=l.sent(),l.label=3;case 3:return R(2,(c=s)?c.length:i.length),kn(i,c,Vr.sequence,n),un=[],e&&(on=[],hn=0,fn=0,mn=!1),[2]}}))}))}function kn(t,e,n,r){if(void 0===r&&(r=!1),"string"==typeof u.upload){var a=u.upload,o=!1;if(r&&navigator&&navigator.sendBeacon)try{(o=navigator.sendBeacon.bind(navigator)(a,t))&&Sn(n)}catch(t){}if(!1===o){n in cn?cn[n].attempts++:cn[n]={data:t,attempts:1};var i=new XMLHttpRequest;i.open("POST",a,!0),i.timeout=15e3,i.ontimeout=function(){Kr(new Error("".concat("Timeout"," : ").concat(a)))},null!==n&&(i.onreadystatechange=function(){Qr(Tn)(i,n)}),i.withCredentials=!0,e?(i.setRequestHeader("Accept","application/x-clarity-gzip"),i.send(e)):i.send(t)}}else if(u.upload){(0,u.upload)(t),Sn(n)}}function Tn(t,e){var n=cn[e];t&&4===t.readyState&&n&&((t.status<200||t.status>208)&&n.attempts<=1?t.status>=400&&t.status<500?nr(6):(0===t.status&&(u.upload=u.fallback?u.fallback:u.upload),ln={sequence:e,attempts:n.attempts,status:t.status},$n(2),kn(n.data,null,e)):(ln={sequence:e,attempts:n.attempts,status:t.status},n.attempts>1&&$n(2),200===t.status&&t.responseText&&function(t){for(var e=t&&t.length>0?t.split("\n"):[],n=0,r=e;n<r.length;n++){var a=r[n],o=a&&a.length>0?a.split(/ (.*)/):[""];switch(o[0]){case"END":nr(6);break;case"UPGRADE":Kn("Auto");break;case"ACTION":u.action&&o.length>1&&u.action(o[1]);break;case"EXTRACT":o.length>1&&Xt(o[1]);break;case"SIGNAL":o.length>1&&Kt(o[1]);break;case"MODULE":o.length>1&&an(o[1]);break;case"SNAPSHOT":u.lean=!1,qn()}}}(t.responseText),0===t.status&&(kn(n.data,null,e,!0),nr(3)),t.status>=200&&t.status<=208&&Sn(e),delete cn[e]))}function Sn(t){1===t&&(zr(),Wr())}function xn(t){return at(this,void 0,void 0,(function(){var e,n,r,a,o,i,u,c,s,l,p,f,h;return ot(this,(function(v){switch(e=d(),n=[e,t],t){case 8:r=dn,n.push(r.width),n.push(r.height),X(t,r.width,r.height),wn(n);break;case 43:if((a=Yn).length>0){for(o=0,i=a;o<i.length;o++)for(u=i[o],c=u.metadata.privacy,s=u.data,l=0,p=["tag","attributes","value"];l<p.length;l++)if(s[f=p[l]])switch(f){case"tag":n.push(u.id),u.parent&&n.push(u.parent),u.previous&&n.push(u.previous),n.push(s[f]);break;case"attributes":for(h in s[f])void 0!==s[f][h]&&n.push(On(h,s[f][h],c,s.tag));break;case"value":n.push(b(s[f],s.tag,c))}wn(function(t){for(var e=[],n={},r=0,a=null,o=0;o<t.length;o++)if("string"==typeof t[o]){var i=t[o],u=n[i]||-1;u>=0?a?a.push(u):(a=[u],e.push(a),r++):(a=null,e.push(i),n[i]=r++)}else a=null,e.push(t[o]),r++;return e}(n),!0)}}return[2]}))}))}function On(t,e,n,r){return"href"===t&&"LINK"===r?"".concat(t,"=").concat(e):"".concat(t,"=").concat(b(e,0===t.indexOf("data-")?"data-":t,n))}function En(){dn=null}function Nn(){var t,e,n,r,a,o,i,u,c,s,l,d,p,f,h,v;En(),t=document.body,e=document.documentElement,n=t?t.clientWidth:null,r=t?t.scrollWidth:null,a=t?t.offsetWidth:null,o=e?e.clientWidth:null,i=e?e.scrollWidth:null,u=e?e.offsetWidth:null,c=Math.max(n,r,a,o,i,u),s=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(s,l,d,p,f,h),null!==dn&&c===dn.width&&v===dn.height||null===c||null===v||(dn={width:c,height:v},xn(8))}var In=!1;function Mn(t){t&&t.persisted&&(ga(),St(11,0))}function Xn(t){!function(t){ta(t===document?window:t,"scroll",je,!0)}(t),t.nodeType===Node.DOCUMENT_NODE&&(function(t){ta(t,"click",ge.bind(this,9,t),!0),ta(t,"contextmenu",ge.bind(this,48,t),!0)}(t),function(t){ta(t,"submit",Le,!0)}(t))}var Pn=Object.freeze({__proto__:null,observe:Xn,start:function(){Ze=[],Qe(),Te(),Oe=!1,ta(window,"resize",Ee),Ne(),ta(document,"visibilitychange",Fe),Fe(),ta(window,"focus",(function(){return Je(1)})),ta(window,"blur",(function(){return Je(0)})),function(){if(!In)try{window[c("addEventListener")]("pageshow",Qr(Mn),{capture:!1,passive:!0}),In=!0}catch(t){}}(),Xe=[],Ye(),qe(),ta(window,"pagehide",Re)},stop:function(){Ze=[],Qe(),Te(),Me(),Ve(),Ge(),V(Pe),je.cleanup(),Xe=[],qe(),Ue()}}),Yn=[],jn=1,Cn=null;function Dn(){Rn(),Nn(),Fn(document.documentElement),Xn(document)}function Hn(){return!1}function An(){return{x:0,y:0}}function Wn(){}function zn(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 Ln(t){var e={id:0,hash:null,privacy:u.conversions?1:5};return t&&(e.id=Cn.has(t)?Cn.get(t):Fn(t)),e}function qn(){Yn=[],function(t){var e=[t];for(;e.length>0;){for(var n=null,r=null,a=null,o=e.shift(),i=o.firstChild,u=o.parentElement?o.parentElement:o.parentNode?o.parentNode:null;i;)e.push(i),i=i.nextSibling;switch(o.nodeType){case Node.DOCUMENT_TYPE_NODE:var c=o;r="*D",n={name:c.name,publicId:c.publicId,systemId:c.systemId};break;case Node.TEXT_NODE:a=o.nodeValue,r=Cn.get(u)?"*T":r;break;case Node.ELEMENT_NODE:var s=o;n=Un(s),r=["NOSCRIPT","SCRIPT","STYLE"].indexOf(s.tagName)<0?s.tagName:r}Vn(o,u,{tag:r,attributes:n,value:a})}}(document),xn(43)}function Rn(){Cn=new WeakMap}function Un(t){var e={},n=t.attributes;if(n&&n.length>0)for(var r=0;r<n.length;r++)e[n[r].name]=n[r].value;return e}function Fn(t){return null===t?null:Cn.has(t)?Cn.get(t):(Cn.set(t,jn),jn++)}function Vn(t,e,n){if(t&&n&&n.tag){var r=Fn(t),a=e?Cn.get(e):null,o=t.previousSibling?Cn.get(t.previousSibling):null;Yn.push({id:r,parent:a,previous:o,children:[],data:n,selector:null,hash:null,region:null,metadata:{active:!0,suspend:!1,privacy:5,position:null,fraud:null,size:null}})}}var Gn,Jn=Object.freeze({__proto__:null,compute:function(){},get:function(t){return null},hashText:Wn,iframe:Hn,metadata:Ln,offset:An,snapshot:qn,start:Dn,stop:function(){Rn(),En()},target:zn,get values(){return Yn}}),Bn=null;function Zn(){!u.lean&&u.upgrade&&u.upgrade("Config"),Bn=null}function Kn(t){fa()&&u.lean&&(u.lean=!1,Bn={key:t},Wr(),zr(),u.upgrade&&u.upgrade(t),$n(3),u.lite&&Dn())}function Qn(){Bn=null}function $n(t){var e=[d(),t];switch(t){case 4:var n=E;n&&n.data&&((e=[n.time,n.event]).push(n.data.visible),e.push(n.data.docWidth),e.push(n.data.docHeight),e.push(n.data.screenWidth),e.push(n.data.screenHeight),e.push(n.data.scrollX),e.push(n.data.scrollY),e.push(n.data.pointerX),e.push(n.data.pointerY),e.push(n.data.activityTime),e.push(n.data.scrollTime),e.push(n.data.pointerTime),e.push(n.data.moveX),e.push(n.data.moveY),e.push(n.data.moveTime),e.push(n.data.downX),e.push(n.data.downY),e.push(n.data.downTime),e.push(n.data.upX),e.push(n.data.upY),e.push(n.data.upTime),e.push(n.data.pointerPrevX),e.push(n.data.pointerPrevY),e.push(n.data.pointerPrevTime),e.push(n.data.modules),wn(e,!1)),M();break;case 25:e.push(W.gap),wn(e);break;case 35:e.push(Gn.check),wn(e,!1);break;case 3:e.push(Bn.key),wn(e);break;case 2:e.push(ln.sequence),e.push(ln.attempts),e.push(ln.status),wn(e,!1);break;case 24:H.key&&e.push(H.key),e.push(H.value),wn(e);break;case 34:var r=Object.keys(st);if(r.length>0){for(var a=0,o=r;a<o.length;a++){var i=o[a];e.push(i),e.push(st[i])}ht(),wn(e,!1)}break;case 0:var u=Object.keys(L);if(u.length>0){for(var c=0,s=u;c<s.length;c++){var l=s[c],p=parseInt(l,10);e.push(p),e.push(Math.round(L[l]))}L={},wn(e,!1)}break;case 1:var f=Object.keys(ir);if(f.length>0){for(var h=0,v=f;h<v.length;h++){var g=v[h];p=parseInt(g,10);e.push(p),e.push(ir[g])}pr(),wn(e,!1)}break;case 36:var m=Object.keys($);if(m.length>0){for(var y=0,w=m;y<w.length;y++){var b=w[y];p=parseInt(b,10);e.push(p),e.push([].concat.apply([],$[b]))}et(),wn(e,!1)}break;case 40:Ot.forEach((function(t){e.push(t);var n=[];for(var r in xt[t]){var a=parseInt(r,10);n.push(a),n.push(xt[t][r])}e.push(n)})),jt(),wn(e,!1);break;case 47:e.push(fr.source),e.push(fr.ad_Storage),e.push(fr.analytics_Storage),wn(e,!1)}}function tr(){Gn={check:0}}function er(t){if(0===Gn.check){var e=Gn.check;e=Vr.sequence>=128?1:e,e=Vr.pageNum>=128?7:e,e=d()>72e5?2:e,(e=t>10485760?2:e)!==Gn.check&&nr(e)}}function nr(t){Gn.check=t,5!==t&&(Ar(),ma())}function rr(){0!==Gn.check&&$n(35)}function ar(){Gn=null}var or=null,ir=null,ur=!1;function cr(){or={},ir={},ur=!1}function sr(){or={},ir={},ur=!1}function lr(t,e){if(e&&(e="".concat(e),t in or||(or[t]=[]),or[t].indexOf(e)<0)){if(or[t].length>128)return void(ur||(ur=!0,nr(5)));or[t].push(e),t in ir||(ir[t]=[]),ir[t].push(e)}}function dr(){$n(1)}function pr(){ir={},ur=!1}var fr=null,hr=!0;function vr(){var t,e=null===(t=window.google_tag_data)||void 0===t?void 0:t.ics;hr=!0,(null==e?void 0:e.addListener)&&e.addListener(["ad_storage","analytics_storage"],mr)}function gr(){hr=!0}function mr(){var t,e=null===(t=window.google_tag_data)||void 0===t?void 0:t.ics;if(null==e?void 0:e.getConsentState)try{var n=e.getConsentState("analytics_storage");Cr(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}))}catch(t){return}}function yr(t){br(t.analytics_Storage?1:0),fr=t}function wr(){br(2)}function br(t){lr(36,t.toString())}function _r(t){fr=t,$n(47)}function kr(){var t;if(hr&&($n(47),hr=!1,!u.track)){var e=null===(t=window.google_tag_data)||void 0===t?void 0:t.ics;(null==e?void 0:e.usedUpdate)&&mr()}}var Tr=null,Sr=[],xr=0,Or=null,Er=!1,Nr={source:7,ad_Storage:"denied",analytics_Storage:"denied"};function Ir(){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:"",o=(new Date).getTimezoneOffset().toString(),i=window.location.ancestorOrigins?Array.from(window.location.ancestorOrigins).toString():"",c=document&&document.title?document.title:"";xr=r.indexOf("Electron")>0?1:0;var s=function(){var t={session:qr(),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-Rr(n[1])<18e5&&(t.session=n[0],t.count=Rr(n[2])+1,t.upgrade=Rr(n[3]),t.upload=n.length>=6?"".concat("https://").concat(n[5],"/").concat(n[4]):"".concat("https://").concat(n[4]))}return t}(),l=Ur(),d=u.projectId||f(location.host),p=u.externalSession&&u.userId?u.userId:l.id,h=u.externalSession&&u.sessionId?u.sessionId:s.session;Tr={projectId:d,userId:p,sessionId:h,pageNum:s.count},u.lean=u.track&&null!==s.upgrade?0===s.upgrade:u.lean,u.upload=u.track&&"string"==typeof u.upload&&s.upload&&s.upload.length>"https://".length?s.upload:u.upload,lr(0,r),lr(3,c),lr(1,_(location.href,!!xr)),lr(2,document.referrer),lr(15,function(){var t=qr();if(u.track&&zt(window,"sessionStorage")){var e=sessionStorage.getItem("_cltk");t=e||t,sessionStorage.setItem("_cltk",t)}return t}()),lr(16,document.documentElement.lang),lr(17,document.dir),lr(26,"".concat(window.devicePixelRatio)),lr(28,l.dob.toString()),lr(29,l.version.toString()),lr(33,i),lr(34,a),lr(35,o),U(0,s.ts),U(1,0),U(35,xr);var v,g=null===window||void 0===window?void 0:window.Zone;g&&"__symbol__"in g&&U(39,1),navigator&&(lr(9,navigator.language),U(33,navigator.hardwareConcurrency),U(32,navigator.maxTouchPoints),U(34,Math.round(navigator.deviceMemory)),(v=navigator.userAgentData)&&v.getHighEntropyValues?v.getHighEntropyValues(["model","platform","platformVersion","uaFullVersion"]).then((function(t){var e;lr(22,t.platform),lr(23,t.platformVersion),null===(e=t.brands)||void 0===e||e.forEach((function(t){lr(24,t.name+"~"+t.version)})),lr(25,t.model),U(27,t.mobile?1:0)})):lr(22,navigator.platform)),screen&&(U(14,Math.round(screen.width)),U(15,Math.round(screen.height)),U(16,Math.round(screen.colorDepth))),null===Or&&(Or={source:l.consent?6:0,ad_Storage:u.track?"granted":"denied",analytics_Storage:u.track?"granted":"denied"}),Mr(),yr(Dr(Or)),u.externalSession||Lr(l)}function Mr(){if(!Er&&"granted"===(null==Or?void 0:Or.analytics_Storage)&&"granted"===(null==Or?void 0:Or.ad_Storage)){for(var t=0,e=u.cookies;t<e.length;t++){var n=e[t],r=Ut(n);r&&lt(n,r)}Er=!0}}function Xr(){Tr=null,Er=!1,Sr.forEach((function(t){t.called=!1}))}function Pr(t,e,n,r){void 0===e&&(e=!0),void 0===n&&(n=!1),void 0===r&&(r=!1);var a=u.lean?0:1,o=!1;Tr&&(a||!1===e)&&(t(Tr,!u.lean,r?Or:void 0),o=!0),!n&&o||Sr.push({callback:t,wait:e,recall:n,called:o,consentInfo:r})}function Yr(){return Tr?[Tr.userId,Tr.sessionId,Tr.pageNum].join("."):""}function jr(t){void 0===t&&(t=!0),Cr(t?{source:4,ad_Storage:"granted",analytics_Storage:"granted"}:{source:4,ad_Storage:"denied",analytics_Storage:"denied"})}function Cr(t,e){var n;if(void 0===t&&(t=Nr),void 0===e&&(e=5),fa()){var r={source:null!==(n=t.source)&&void 0!==n?n:e,ad_Storage:Hr(t.ad_Storage,null==Or?void 0:Or.ad_Storage),analytics_Storage:Hr(t.analytics_Storage,null==Or?void 0:Or.analytics_Storage)};if(Or&&r.ad_Storage===Or.ad_Storage&&r.analytics_Storage===Or.analytics_Storage)return Or.source=r.source,_r(Dr(Or)),void wr();Or=r,Wr(!0);var a=Dr(Or);if(!a.analytics_Storage&&u.track)return u.track=!1,Ar(!0),ma(),void window.setTimeout(ga,250);fa()&&a.analytics_Storage&&(u.track=!0,Lr(Ur(),1),zr()),Mr(),_r(a),wr()}}function Dr(t){var e;return{source:null!==(e=t.source)&&void 0!==e?e:255,ad_Storage:"granted"===t.ad_Storage?1:0,analytics_Storage:"granted"===t.analytics_Storage?1:0}}function Hr(t,e){return void 0===e&&(e="denied"),"string"==typeof t?t.toLowerCase():e}function Ar(t){void 0===t&&(t=!1),Ft("_clsk","",0),t&&Ft("_clck","",0)}function Wr(t){void 0===t&&(t=!1),function(t,e){void 0===e&&(e=!1);if(Sr.length>0)for(var n=0;n<Sr.length;n++){var r=Sr[n];r.callback&&(!r.called&&!e||r.consentInfo&&e)&&(!r.wait||t)&&(r.callback(Tr,!u.lean,r.consentInfo?Or:void 0),r.called=!0,r.recall||(Sr.splice(n,1),n--))}}(u.lean?0:1,t)}function zr(){if(Tr&&u.track&&!u.externalSession){var t=Math.round(Date.now()),e=u.upload&&"string"==typeof u.upload?u.upload.replace("https://",""):"",n=u.lean?0:1;Ft("_clsk",[Tr.sessionId,t,Tr.pageNum,n,e].join(Rt),1)}}function Lr(t,e){void 0===e&&(e=null),e=null===e?t.consent:e;var n=Math.ceil((Date.now()+31536e6)/864e5),r=0===t.dob?null===u.dob?0:u.dob:t.dob;(null===t.expiry||Math.abs(n-t.expiry)>=1||t.consent!==e||t.dob!==r)&&Ft("_clck",[Tr.userId,2,n.toString(36),e,r].join(Rt),365)}function qr(){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 Rr(t,e){return void 0===e&&(e=10),parseInt(t,e)}function Ur(){var t={id:qr(),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=Rr(n[1])),n.length>2&&(t.expiry=Rr(n[2],36)),n.length>3&&1===Rr(n[3])&&(t.consent=1),n.length>4&&Rr(n[1])>1&&(t.dob=Rr(n[4])),u.track=u.track||1===t.consent,t.id=u.track?n[0]:t.id}return t}var Fr,Vr=null;function Gr(){var t=Tr;Vr={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 Jr(){Vr=null}function Br(t){return Vr.start=Vr.start+Vr.duration,Vr.duration=d()-Vr.start,Vr.sequence++,Vr.upload=t&&"sendBeacon"in navigator?1:0,Vr.end=t?1:0,Vr.applicationPlatform=0,Vr.url=_(location.href,!1,!0),[Vr.version,Vr.sequence,Vr.start,Vr.duration,Vr.projectId,Vr.userId,Vr.sessionId,Vr.pageNum,Vr.upload,Vr.end,Vr.applicationPlatform,Vr.url]}function Zr(){Fr=[]}function Kr(t){if(Fr&&-1===Fr.indexOf(t.message)){var e=u.report;if(e&&e.length>0&&Vr){var n={v:Vr.version,p:Vr.projectId,u:Vr.userId,s:Vr.sessionId,n:Vr.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)),Fr.push(t.message)}}return t}function Qr(t){return function(){var e=performance.now();try{t.apply(this,arguments)}catch(t){throw Kr(t)}var n=performance.now()-e;R(4,n),n>30&&(q(7),U(6,n),t.dn&&St(9,0,"".concat(t.dn,"-").concat(n)))}}var $r=new Map;function ta(t,e,n,r,a){void 0===r&&(r=!1),void 0===a&&(a=!0),n=Qr(n);try{t[c("addEventListener")](e,n,{capture:r,passive:a}),function(t){return $r.has(t)}(t)||$r.set(t,[]),$r.get(t).push({event:e,listener:n,options:{capture:r,passive:a}})}catch(t){}}function ea(){$r.forEach((function(t,e){!function(t,e){t.forEach((function(t){try{e[c("removeEventListener")](t.event,t.listener,{capture:t.options.capture,passive:t.options.passive})}catch(t){}})),$r.delete(e)}(t,e)})),$r=new Map}var na=null,ra=null,aa=null,oa=0;function ia(){return!(oa++>20)||(St(4,0),!1)}function ua(){oa=0,aa!==sa()&&(ma(),window.setTimeout(ca,250))}function ca(){ga(),U(29,1)}function sa(){return location.href?location.href.replace(location.hash,""):location.href}var la=!1;function da(){la=!0,s=l(),se(),ea(),Zr(),function(){if(aa=sa(),oa=0,ta(window,"popstate",ua),null===na)try{na=history.pushState,history.pushState=function(){na.apply(this,arguments),fa()&&ia()&&ua()}}catch(t){na=null}if(null===ra)try{ra=history.replaceState,history.replaceState=function(){ra.apply(this,arguments),fa()&&ia()&&ua()}}catch(t){ra=null}}()}function pa(){aa=null,oa=0,Zr(),ea(),se(),s=0,la=!1}function fa(){return la}function ha(){ga(),A("clarityGemX","restart")}var va=[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)}}(),ta(window,"error",bt),wt={},Tt={}},stop:function(){Tt={}}}),Jn,Pn,ae,pn];function ga(t){void 0===t&&(t=null),function(){try{var t=navigator&&"globalPrivacyControl"in navigator&&1==navigator.globalPrivacyControl;return!1===la&&"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||la)return!1;for(var e in t)e in u&&(u[e]=t[e])}(t),da(),$t(),va.forEach((function(t){return Qr(t.start)()})),null===t&&_a())}function ma(){fa()&&(va.slice().reverse().forEach((function(t){return Qr(t.stop)()})),te(),pa(),void 0!==wa&&(wa[ba]=function(){(wa[ba].q=wa[ba].q||[]).push(arguments),"start"===arguments[0]&&wa[ba].q.unshift(wa[ba].q.pop())&&_a()}))}var ya=Object.freeze({__proto__:null,consent:jr,consentv2:Cr,dlog:lr,event:A,hashText:Wn,identify:dt,maxMetric:U,measure:Qr,metadata:Pr,pause:function(){fa()&&(A("clarityGemX","pause"),null===ue&&(ue=new Promise((function(t){ce=t}))))},queue:wn,register:rn,resume:function(){fa()&&(ue&&(ce(),ue=null,null===ie&&de()),A("clarityGemX","resume"))},schedule:le,set:lt,signal:function(t){Zt=t},start:ga,stop:ma,time:d,upgrade:Kn,version:p}),wa=window,ba="clarityGemX";function _a(){if(void 0!==wa){if(wa[ba]&&wa[ba].v)return console.warn("Error CL001: Multiple Clarity tags detected.");var t=wa[ba]&&wa[ba].q||[];for(wa[ba]=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return ya[t].apply(ya,e)},wa[ba].v=p;t.length>0;)wa[ba].apply(wa,t.shift())}}_a()}();
1
+ !function(){"use strict";var t=Object.freeze({__proto__:null,get queue(){return wn},get start(){return yn},get stop(){return bn},get track(){return ln}}),e=Object.freeze({__proto__:null,get data(){return Bn},get start(){return Zn},get stop(){return Qn},get upgrade(){return Kn}}),n=Object.freeze({__proto__:null,get check(){return er},get compute(){return rr},get data(){return Gn},get start(){return tr},get stop(){return ar},get trigger(){return nr}}),r=Object.freeze({__proto__:null,get compute(){return dr},get data(){return or},get log(){return lr},get reset(){return pr},get start(){return cr},get stop(){return sr},get updates(){return ir}}),a=Object.freeze({__proto__:null,get compute(){return kr},get config(){return yr},get consent(){return wr},get data(){return fr},get start(){return vr},get stop(){return gr},get trackConsentv2(){return _r}}),o=Object.freeze({__proto__:null,get callback(){return Wr},get callbacks(){return Sr},get clear(){return Ar},get consent(){return jr},get consentv2(){return Cr},get data(){return Tr},get electron(){return xr},get id(){return Yr},get metadata(){return Pr},get save(){return zr},get shortid(){return qr},get start(){return Ir},get stop(){return Xr}}),i=Object.freeze({__proto__:null,get data(){return Vr},get envelope(){return Br},get start(){return Gr},get stop(){return Jr}}),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:[],diagnostics:!1,externalSession:!1,userId:null,sessionId:null};function c(t){return window.Zone&&"__symbol__"in window.Zone?window.Zone.__symbol__(t):t}var s=0;function l(){return performance.now()+performance.timeOrigin}function d(t){void 0===t&&(t=null);var e=0===s?l():s,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.84";function f(t,e){void 0===e&&(e=null);for(var n,r=5381,a=r,o=0;o<t.length;o+=2){if(r=(r<<5)+r^t.charCodeAt(o),o+1<t.length)a=(a<<5)+a^t.charCodeAt(o+1)}return n=Math.abs(r+11579*a),(e?n%Math.pow(2,e):n).toString(36)}var h=/\S/gi,v=255,g=!0,m=null,y=null,w=null;function b(t,e,n,r,a){if(void 0===r&&(r=!1),t){if("input"==e&&("checkbox"===a||"radio"===a))return t;switch(n){case 0:return t;case 1:switch(e){case"*T":case"value":case"placeholder":case"click":return function(t){var e=-1,n=0,r=!1,a=!1,o=!1,i=null;O();for(var u=0;u<t.length;u++){var c=t.charCodeAt(u);if(r=r||c>=48&&c<=57,a=a||64===c,o=9===c||10===c||13===c||32===c,0===u||u===t.length-1||o){if(r||a){null===i&&(i=t.split(""));var s=t.substring(e+1,o?u:u+1);s=g&&null!==w?s.match(w)?s:S(s,"▪","▫"):T(s),i.splice(e+1-n,s.length,s),n+=s.length-1}o&&(r=!1,a=!1,e=u)}}return i?i.join(""):t}(t);case"input":case"change":return x(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?(null==t?void 0:t.startsWith("blob:"))?"blob:":"":t;case"value":case"click":case"input":case"change":return x(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 o=t.split("?"),i=o[0],c=o[1];r=i+"?"+c.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),o=t.substr(r+e.length);return"".concat(a).concat(e.length.toString(36)).concat(o)}return t}function T(t){return t.replace(h,"•")}function S(t,e,n){return O(),t?t.replace(y,e).replace(m,n):t}function x(t){for(var e=5*(Math.floor(t.length/5)+1),n="",r=0;r<e;r++)n+=r>0&&r%5==0?" ":"•";return n}function O(){if(g&&null===m)try{m=new RegExp("\\p{N}","gu"),y=new RegExp("\\p{L}","gu"),w=new RegExp("\\p{Sc}","gu")}catch(t){g=!1}}var E=null,N=null,I=!1;function M(){I&&(E={time:d(),event:4,data:{visible:N.visible,docWidth:N.docWidth,docHeight:N.docHeight,screenWidth:N.screenWidth,screenHeight:N.screenHeight,scrollX:N.scrollX,scrollY:N.scrollY,pointerX:N.pointerX,pointerY:N.pointerY,activityTime:N.activityTime,scrollTime:N.scrollTime,pointerTime:N.pointerTime,moveX:N.moveX,moveY:N.moveY,moveTime:N.moveTime,downX:N.downX,downY:N.downY,downTime:N.downTime,upX:N.upX,upY:N.upY,upTime:N.upTime,pointerPrevX:N.pointerPrevX,pointerPrevY:N.pointerPrevY,pointerPrevTime:N.pointerPrevTime,modules:N.modules}}),N=N||{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 X(t,e,n,r){switch(t){case 8:N.docWidth=e,N.docHeight=n;break;case 11:N.screenWidth=e,N.screenHeight=n;break;case 10:N.scrollX=e,N.scrollY=n,N.scrollTime=r;break;case 12:N.moveX=e,N.moveY=n,N.moveTime=r,N.pointerPrevX=N.pointerX,N.pointerPrevY=N.pointerY,N.pointerPrevTime=N.pointerTime,N.pointerX=e,N.pointerY=n,N.pointerTime=r;break;case 13:N.downX=e,N.downY=n,N.downTime=r,N.pointerPrevX=N.pointerX,N.pointerPrevY=N.pointerY,N.pointerPrevTime=N.pointerTime,N.pointerX=e,N.pointerY=n,N.pointerTime=r;break;case 14:N.upX=e,N.upY=n,N.upTime=r,N.pointerPrevX=N.pointerX,N.pointerPrevY=N.pointerY,N.pointerPrevTime=N.pointerTime,N.pointerX=e,N.pointerY=n,N.pointerTime=r;break;default:N.pointerPrevX=N.pointerX,N.pointerPrevY=N.pointerY,N.pointerPrevTime=N.pointerTime,N.pointerX=e,N.pointerY=n,N.pointerTime=r}I=!0}function P(t){N.activityTime=t}function Y(t,e){N.visible=e,N.visible||P(t),I=!0}function j(t){N.modules=Array.from(t),I=!0}function C(){I&&$n(4)}var D=Object.freeze({__proto__:null,activity:P,compute:C,dynamic:j,reset:M,start:function(){I=!1,M()},get state(){return E},stop:function(){M()},track:X,visibility:Y}),H=null;function A(t,e){fa()&&t&&"string"==typeof t&&t.length<255&&(H=e&&"string"==typeof e&&e.length<255?{key:t,value:e}:{value:t},$n(24))}var W,z=null,L=null;function q(t){t in z||(z[t]=0),t in L||(L[t]=0),z[t]++,L[t]++}function R(t,e){null!==e&&(t in z||(z[t]=0),t in L||(L[t]=0),z[t]+=e,L[t]+=e)}function U(t,e){null!==e&&!1===isNaN(e)&&(t in z||(z[t]=0),(e>z[t]||0===z[t])&&(L[t]=e,z[t]=e))}function F(t,e,n){return window.setTimeout(Qr(t),e,n)}function V(t){return window.clearTimeout(t)}var G=0,J=0,B=null;function Z(){B&&V(B),B=F(K,J),G=d()}function K(){var t=d();W={gap:t-G},$n(25),W.gap<3e5?B=F(K,J):la&&(A("clarityGemX","suspend"),ma(),["mousemove","touchstart"].forEach((function(t){return ta(document,t,ha)})),["resize","scroll","pageshow"].forEach((function(t){return ta(window,t,ha)})))}var Q=Object.freeze({__proto__:null,get data(){return W},reset:Z,start:function(){J=6e4,G=0},stop:function(){V(B),G=0,J=0}}),$=null;function tt(){$n(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]]}}),rt=function(){return rt=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var a in e=arguments[n])Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t},rt.apply(this,arguments)};function at(t,e,n,r){return new(n||(n=Promise))((function(a,o){function i(t){try{c(r.next(t))}catch(t){o(t)}}function u(t){try{c(r.throw(t))}catch(t){o(t)}}function c(t){var e;t.done?a(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(i,u)}c((r=r.apply(t,e||[])).next())}))}function ot(t,e){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(u){return function(c){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,u[0]&&(i=0)),i;)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 i.label++,{value:u[1],done:!1};case 5:i.label++,r=u[1],u=[0];continue;case 7:u=i.ops.pop(),i.trys.pop();continue;default:if(!(a=i.trys,(a=a.length>0&&a[a.length-1])||6!==u[0]&&2!==u[0])){i=0;continue}if(3===u[0]&&(!a||u[1]>a[0]&&u[1]<a[3])){i.label=u[1];break}if(6===u[0]&&i.label<a[1]){i.label=a[1],a=u;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(u);break}a[2]&&i.ops.pop(),i.trys.pop();continue}u=e.call(t,i)}catch(t){u=[6,t],r=0}finally{n=a=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,c])}}}var it="CompressionStream"in window;function ut(t){return at(this,void 0,void 0,(function(){var e,n;return ot(this,(function(r){switch(r.label){case 0:return r.trys.push([0,3,,4]),it?(e=new ReadableStream({start:function(e){return at(this,void 0,void 0,(function(){return ot(this,(function(n){return e.enqueue(t),e.close(),[2]}))}))}}).pipeThrough(new TextEncoderStream).pipeThrough(new window.CompressionStream("gzip")),n=Uint8Array.bind,[4,ct(e)]):[3,2];case 1:return[2,new(n.apply(Uint8Array,[void 0,r.sent()]))];case 2:return[3,4];case 3:return r.sent(),[3,4];case 4:return[2,null]}}))}))}function ct(t){return at(this,void 0,void 0,(function(){var e,n,r,a,o;return ot(this,(function(i){switch(i.label){case 0:e=t.getReader(),n=[],r=!1,a=[],i.label=1;case 1:return r?[3,3]:[4,e.read()];case 2:return o=i.sent(),r=o.done,a=o.value,r?[2,n]:(n.push.apply(n,a),[3,1]);case 3:return[2,n]}}))}))}var st=null;function lt(t,e){pt(t,"string"==typeof e?[e]:e)}function dt(t,e,n,r){return void 0===e&&(e=null),void 0===n&&(n=null),void 0===r&&(r=null),at(this,void 0,void 0,(function(){var a,o;return ot(this,(function(i){switch(i.label){case 0:return o={},[4,vt(t)];case 1:return o.userId=i.sent(),o.userHint=r||((u=t)&&u.length>=5?"".concat(u.substring(0,2)).concat(S(u.substring(2),"*","*")):S(u,"*","*")),pt("userId",[(a=o).userId]),pt("userHint",[a.userHint]),pt("userType",[gt(t)]),e&&(pt("sessionId",[e]),a.sessionId=e),n&&(pt("pageId",[n]),a.pageId=n),[2,a]}var u}))}))}function pt(t,e){if(fa()&&t&&e&&"string"==typeof t&&t.length<255){for(var n=(t in st?st[t]:[]),r=0;r<e.length;r++)"string"==typeof e[r]&&e[r].length<255&&n.push(e[r]);st[t]=n}}function ft(){$n(34)}function ht(){st={}}function vt(t){return at(this,void 0,void 0,(function(){var e;return ot(this,(function(n){switch(n.label){case 0:return n.trys.push([0,4,,5]),crypto&&t?[4,crypto.subtle.digest("SHA-256",(new TextEncoder).encode(t))]:[3,2];case 1:return e=n.sent(),[2,Array.prototype.map.call(new Uint8Array(e),(function(t){return("00"+t.toString(16)).slice(-2)})).join("")];case 2:return[2,""];case 3:return[3,5];case 4:return n.sent(),[2,""];case 5:return[2]}}))}))}function gt(t){return t&&t.indexOf("@")>0?"email":"string"}var mt=Object.freeze({__proto__:null,compute:ft,get data(){return st},identify:dt,reset:ht,set:lt,start:function(){ht()},stop:function(){ht()}});var yt,wt={};function bt(t){var e=t.error||t;return e.message in wt||(wt[e.message]=0),wt[e.message]++>=5||e&&e.message&&(yt={message:e.message,line:t.lineno,column:t.colno,stack:e.stack,source:t.filename},_t(31)),!0}function _t(t){return at(this,void 0,void 0,(function(){var e;return ot(this,(function(n){switch(e=[d(),t],t){case 31:e.push(yt.message),e.push(yt.line),e.push(yt.column),e.push(yt.stack),e.push(_(yt.source)),wn(e);break;case 33:kt&&(e.push(kt.code),e.push(kt.name),e.push(kt.message),e.push(kt.stack),e.push(kt.severity),wn(e,!1))}return[2]}))}))}var kt,Tt={};function St(t,e,n,r,a){void 0===n&&(n=null),void 0===r&&(r=null),void 0===a&&(a=null);var o=n?"".concat(n,"|").concat(r):"";t in Tt&&Tt[t].indexOf(o)>=0||(kt={code:t,name:n,message:r,stack:a,severity:e},t in Tt?Tt[t].push(o):Tt[t]=[o],_t(33))}var xt={},Ot=new Set,Et={},Nt={},It={},Mt={};function Xt(t){try{var e=t&&t.length>0?t.split(/ (.*)/):[""],n=e[0].split(/\|(.*)/),r=parseInt(n[0]),a=n.length>1?n[1]:"",o=e.length>1?JSON.parse(e[1]):{};for(var i in Et[r]={},Nt[r]={},It[r]={},Mt[r]=a,o){var u=parseInt(i),c=o[i],s=2;switch(c.startsWith("~")?s=0:c.startsWith("!")&&(s=4),s){case 0:var l=c.slice(1);Et[r][u]=Dt(l);break;case 2:Nt[r][u]=c;break;case 4:var d=c.slice(1);It[r][u]=d}}}catch(t){St(8,1,t?t.name:null)}}function Pt(t){return JSON.parse(JSON.stringify(t))}function Yt(){try{for(var t in Et){var e=parseInt(t);if(""==Mt[e]||document.querySelector(Mt[e])){var n=Et[e];for(var r in n){var a=parseInt(r),o=(m=Ht(Pt(n[a])))?JSON.stringify(m).slice(0,1e4):m;o&&Ct(e,a,o)}var i=Nt[e];for(var u in i){var c=!1,s=parseInt(u),l=i[s];l.startsWith("@")&&(c=!0,l=l.slice(1));var d=document.querySelectorAll(l);if(d){var p=Array.from(d).map((function(t){return t.textContent})).join("<SEP>");Ct(e,s,(c?f(p).trim():p).slice(0,1e4))}}var h=It[e];for(var v in h){var g=parseInt(v);Ct(e,g,(void h[g]).trim().slice(0,1e4))}}}Ot.size>0&&$n(40)}catch(t){St(5,1,t?t.name:null)}var m}function jt(){Ot.clear()}function Ct(t,e,n){var r,a=!1;t in xt||(xt[t]={},a=!0),r=It[t],0==Object.keys(r).length||e in xt[t]&&xt[t][e]==n||(a=!0),xt[t][e]=n,a&&Ot.add(t)}function Dt(t){for(var e=[],n=t.split(".");n.length>0;){var r=n.shift(),a=r.indexOf("["),o=r.indexOf("{"),i=r.indexOf("}");e.push({name:a>0?r.slice(0,a):o>0?r.slice(0,o):r,type:a>0?1:o>0?2:3,condition:o>0?r.slice(o+1,i):null})}return e}function Ht(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&&At(a,r.condition))n=Ht(t,a);else if(Array.isArray(a)){for(var o=[],i=0,u=a;i<u.length;i++){var c=u[i];if(At(c,r.condition)){var s=Ht(t,c);s&&o.push(s)}}n=o}return n}return null}function At(t,e){if(e){var n=e.split(":");return n.length>1?t[n[0]]==n[1]:t[n[0]]}return!0}var Wt=Object.freeze({__proto__:null,clone:Pt,compute:Yt,data:xt,keys:Ot,reset:jt,start:function(){jt()},stop:function(){jt()},trigger:Xt,update:Ct});function zt(t,e){try{return!!t[e]}catch(t){return!1}}function Lt(t){try{var e=decodeURIComponent(t);return[e!=t,e]}catch(t){}return[!1,t]}var qt=null,Rt="^";function Ut(t,e){var n;if(void 0===e&&(e=!1),zt(document,"cookie")){var r=document.cookie.split(";");if(r)for(var a=0;a<r.length;a++){var o=r[a].split("=");if(o.length>1&&o[0]&&o[0].trim()===t){for(var i=Lt(o[1]),u=i[0],c=i[1];u;)u=(n=Lt(c))[0],c=n[1];return e?c.endsWith("".concat("~","1"))?c.substring(0,c.length-2):null:c}}}return null}function Ft(t,e,n){if((u.track||""==e)&&(navigator&&navigator.cookieEnabled||zt(document,"cookie"))){var r=function(t){return encodeURIComponent(t)}(e),a=new Date;a.setDate(a.getDate()+n);var o=a?"expires="+a.toUTCString():"",i="".concat(t,"=").concat(r).concat(";").concat(o).concat(";path=/");try{if(null===qt){for(var c=location.hostname?location.hostname.split("."):[],s=c.length-1;s>=0;s--)if(qt=".".concat(c[s]).concat(qt||""),s<c.length-1&&(document.cookie="".concat(i).concat(";").concat("domain=").concat(qt),Ut(t)===e))return;qt=""}}catch(t){qt=""}document.cookie=qt?"".concat(i).concat(";").concat("domain=").concat(qt):i}}var Vt=Object.freeze({__proto__:null,COOKIE_SEP:Rt,getCookie:Ut,setCookie:Ft,start:function(){qt=null},stop:function(){qt=null}}),Gt={excludeClassNames:[]},Jt=rt({},Gt);var Bt=Object.freeze({__proto__:null,get:function(){return Jt},set:function(t){Jt=rt(rt({},Jt),t)},start:function(){var t,e;Jt={excludeClassNames:null!==(e=null===(t=null===window||void 0===window?void 0:window.GemXHeatmap)||void 0===t?void 0:t.excludeClassNames)&&void 0!==e?e:[]}},stop:function(){Jt=rt({},Gt)}}),Zt=null;function Kt(t){try{if(!Zt)return;var e=function(t){try{return JSON.parse(t)}catch(t){return[]}}(t);e.forEach((function(t){Zt(t)}))}catch(t){}}var Qt=[Bt,D,r,mt,n,nt,Vt,a,o,i,t,Q,e,Wt];function $t(){z={},L={},q(5),Qt.forEach((function(t){return Qr(t.start)()}))}function te(){Qt.slice().reverse().forEach((function(t){return Qr(t.stop)()})),z={},L={}}function ee(){ft(),C(),dr(),$n(0),tt(),rr(),Yt(),kr()}var ne=[],re=null;var ae=Object.freeze({__proto__:null,checkDocumentStyles:function(t){},compute:function(){},data:re,log:function(){},observe:function(){},reset:function(){},sheetAdoptionState:[],sheetUpdateState:[],start:function(){},state:ne,stop:function(){}}),oe=[],ie=null,ue=null,ce=null;function se(){oe=[],ie=null,ue=null}function le(t,e){return void 0===e&&(e=0),at(this,void 0,void 0,(function(){var n,r,a;return ot(this,(function(o){for(n=0,r=oe;n<r.length;n++)if(r[n].task===t)return[2];return a=new Promise((function(n){oe[1===e?"unshift":"push"]({task:t,resolve:n,id:Yr()})})),null===ie&&null===ue&&de(),[2,a]}))}))}function de(){var t=oe.shift();t&&(ie=t,t.task().then((function(){t.id===Yr()&&(t.resolve(),ie=null,de())})).catch((function(e){t.id===Yr()&&(e&&St(0,1,e.name,e.message,e.stack),ie=null,de())})))}var pe,fe=["input","textarea","radio","button","canvas","select"],he=/VM\d/,ve=[];function ge(t,e,n){var r,a=document.documentElement,o="pageX"in n?Math.round(n.pageX):"clientX"in n?Math.round(n.clientX+a.scrollLeft):null,i="pageY"in n?Math.round(n.pageY):"clientY"in n?Math.round(n.clientY+a.scrollTop):null,c=zn(n),s=function(t){for(;t&&t!==document;){if(t.nodeType===Node.ELEMENT_NODE){var e=t;if("A"===e.tagName)return e}t=t.parentNode}return null}(c),l=be(c);0===n.detail&&l&&(o=Math.round(l.x+l.w/2),i=Math.round(l.y+l.h/2));var p=function(t,e,n,r){if(!r)return{eX:0,eY:0};var a=r,o=t,i=Math.max(Math.floor((e-a.x)/a.w*32767),0),u=Math.max(Math.floor((n-a.y)/a.h*32767),0),c=0;for(;(i>32767||u>32767)&&o.parentElement&&c<10;)c++,(a=be(o=o.parentElement))&&(i=Math.max(Math.floor((e-a.x)/a.w*32767),0),u=Math.max(Math.floor((n-a.y)/a.h*32767),0));return{eX:i,eY:u}}(c,o,i,l),f=p.eX,h=p.eY;if(null!==o&&null!==i){var v=function(t){var e=null,n=!1;if(t){var r=me(t)||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}}(c);if(u.diagnostics){var g=c;console.log("[clarity:click] text debug",{tag:null==g?void 0:g.tagName,id:(null==g?void 0:g.id)||null,class:(null==g?void 0:g.className)||null,rawTextContent:(null===(r=null==g?void 0:g.textContent)||void 0===r?void 0:r.replace(/\s+/g," ").trim().substring(0,100))||null,inputValue:(null==g?void 0:g.value)||null,altText:(null==g?void 0:g.alt)||null,resolvedText:v.text,isFullText:v.isFullText,x:o,y:i})}ve.push({time:d(n),event:t,data:{target:c,x:o,y:i,eX:f,eY:h,button:n.button,reaction:ye(c),context:_e(s),text:v.text,link:s?s.href:null,hash:null,trust:n.isTrusted?1:0,isFullText:v.isFullText,w:l?l.w:0,h:l?l.h:0,tag:we(c,"tagName").substring(0,10),class:we(c,"className").substring(0,50),id:we(c,"id").substring(0,25),source:u.diagnostics&&!n.isTrusted?ke():0}}),le(Be.bind(this,t))}}function me(t){if(t.nodeType!==Node.ELEMENT_NODE)return t.textContent||"";var e=t,n=e.tagName;if("SCRIPT"===n||"STYLE"===n||"NOSCRIPT"===n)return"";for(var r="",a=0;a<e.childNodes.length;a++)r+=me(e.childNodes[a]);return r}function ye(t){var e=we(t,"tagName");return fe.indexOf(e)>=0?0:1}function we(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 be(t){var e=null,n=t.ownerDocument||document,r=n.documentElement,a=n.defaultView||window;if("function"==typeof t.getBoundingClientRect){var o=t.getBoundingClientRect();if(o&&o.width>0&&o.height>0){var i="pageXOffset"in a?a.pageXOffset:r.scrollLeft,u="pageYOffset"in a?a.pageYOffset:r.scrollTop;e={x:Math.floor(o.left+i),y:Math.floor(o.top+u),w:Math.floor(o.width),h:Math.floor(o.height)}}}return e}function _e(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 ke(){ke.dn=1;try{for(var t=(new Error).stack||"",e=location.origin,n=4,r=0,a=t.split("\n");r<a.length;r++){var o=a[r];o.indexOf("://")>=0?n=o.indexOf("extension")<0&&o.indexOf(e)>=0?1:2:(o.indexOf("eval")>=0||o.indexOf("Function")>=0||o.indexOf("<a")>=0||he.test(o))&&(n=3)}return n}catch(t){return 4}}function Te(){ve=[]}function Se(t,e){var n=0,r=null,a=null;function o(){for(var o=this,i=[],u=0;u<arguments.length;u++)i[u]=arguments[u];var c=performance.now(),s=c-n;if(0!==n&&s<e){if(a=i,r)return;r=setTimeout((function(){n=performance.now(),t.apply(o,a),a=null,r=null}),e-s)}else n=c,t.apply(this,i)}return o.cleanup=function(){r&&(clearTimeout(r),r=null,a=null)},o}var xe=null,Oe=!1,Ee=Se(Ne,500);function Ne(){var t=document.documentElement;pe={width:t&&"clientWidth"in t?Math.min(t.clientWidth,window.innerWidth):window.innerWidth,height:t&&"clientHeight"in t?Math.min(t.clientHeight,window.innerHeight):window.innerHeight},Oe?(V(xe),xe=F(Ie,500,11)):(Be(11),Oe=!0)}function Ie(t){le(Be.bind(this,t))}function Me(){pe=null,V(xe),Ee.cleanup()}var Xe=[],Pe=null;function Ye(t){void 0===t&&(t=null);var e=window,n=document.documentElement,r=t?zn(t):n;if(r){if(r&&r.nodeType===Node.DOCUMENT_NODE){r=n=r.documentElement}var a=r===n&&"pageXOffset"in e?Math.round(e.pageXOffset):Math.round(r.scrollLeft),o=r===n&&"pageYOffset"in e?Math.round(e.pageYOffset):Math.round(r.scrollTop),i=window.innerWidth,u=window.innerHeight,c=i/3,s=i>u?.15*u:.2*u,l=u-s,p=Ce(c,s),f=Ce(c,l),h=t&&t.isTrusted?1:0,v={time:d(t),event:10,data:{target:r,x:a,y:o,top:p,bottom:f,trust:h}};if((null!==t||0!==a||0!==o)&&null!==a&&null!==o){var g=Xe.length,m=g>1?Xe[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)&&Xe.pop(),Xe.push(v),V(Pe),Pe=F(De,500,10)}}}var je=Se(Ye,25);function Ce(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 De(t){le(Be.bind(this,t))}var He,Ae,We,ze=[];function Le(t){ze.push({time:d(t),event:39,data:{target:zn(t)}}),le(Be.bind(this,39))}function qe(){ze=[]}function Re(t){He={name:t.type,persisted:t.persisted?1:0},Be(26,d(t)),ma()}function Ue(){He=null}function Fe(t){if(void 0===t&&(t=null),"visibilityState"in document){var e="visible"===document.visibilityState?1:0;Ae={visible:e},Be(28,d(t))}}function Ve(){Ae=null}function Ge(){We=null}function Je(t){We={focused:t},Be(50)}function Be(t,e){return void 0===e&&(e=null),at(this,void 0,void 0,(function(){var n,r,a,o,i,u,c,s,l,p,f,h,v,g,m,y,w,k,T,S,x,O,E,N,I,M,P,j,C,D,H,A,W,z,L,q;return ot(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,o=ne;a<o.length;a++)z=o[a],(i=Ln(z.data.target,z.event)).id>0&&((r=[z.time,z.event]).push(i.id),r.push(z.data.x),r.push(z.data.y),void 0!==z.data.id&&(r.push(z.data.id),void 0!==z.data.isPrimary&&r.push(z.data.isPrimary.toString())),wn(r),(void 0===z.data.isPrimary||z.data.isPrimary)&&X(z.event,z.data.x,z.data.y,z.time));break;case 9:case 48:for(u=0,c=ve;u<c.length;u++)z=c[u],s=Ln(z.data.target,z.event,z.data.text),r=[z.time,z.event],l=s.hash?s.hash.join("."):"",console.log("[GemX - Interaction - Encode]",{cHash:l,cTarget:s}),r.push(s.id),r.push(z.data.x),r.push(z.data.y),r.push(z.data.eX),r.push(z.data.eY),r.push(z.data.button),r.push(z.data.reaction),r.push(z.data.context),r.push(b(z.data.text,"click",s.privacy)),r.push(_(z.data.link)),r.push(l),r.push(z.data.trust),r.push(z.data.isFullText),r.push(z.data.w),r.push(z.data.h),r.push(z.data.tag),r.push(z.data.class),r.push(z.data.id),r.push(z.data.source),wn(r),$e(z.time,z.event,l,z.data.x,z.data.y,z.data.reaction,z.data.context);Te();break;case 38:for(p=0,f=ne;p<f.length;p++)z=f[p],r=[z.time,z.event],(H=Ln(z.data.target,z.event)).id>0&&(r.push(H.id),r.push(z.data.action),wn(r));break;case 11:h=pe,r.push(h.width),r.push(h.height),X(t,h.width,h.height),Me(),wn(r);break;case 26:v=He,r.push(v.name),r.push(v.persisted),Ue(),wn(r);break;case 27:for(g=0,m=ne;g<m.length;g++)z=m[g],y=Ln(z.data.target,z.event,z.data.value),(r=[z.time,z.event]).push(y.id),r.push(b(z.data.value,"input",y.privacy,!1,z.data.type)),r.push(z.data.trust),wn(r);break;case 21:(w=re)&&(k=Ln(w.start),T=Ln(w.end),r.push(k.id),r.push(w.startOffset),r.push(T.id),r.push(w.endOffset),wn(r));break;case 10:for(S=0,x=Xe;S<x.length;S++)z=x[S],O=Ln(z.data.target,z.event),E=Ln(z.data.top,z.event),N=Ln(z.data.bottom,z.event),I=(null==E?void 0:E.hash)?E.hash.join("."):"",M=(null==N?void 0:N.hash)?N.hash.join("."):"",O.id>0&&((r=[z.time,z.event]).push(O.id),r.push(z.data.x),r.push(z.data.y),r.push(I),r.push(M),r.push(z.data.trust),wn(r),X(z.event,z.data.x,z.data.y,z.time));Xe=[];break;case 42:for(P=0,j=ne;P<j.length;P++)z=j[P],r=[z.time,z.event],(H=Ln(z.data.target,z.event)).id>0&&((r=[z.time,z.event]).push(H.id),r.push(z.data.type),r.push(b(z.data.value,"change",H.privacy)),r.push(b(z.data.checksum,"checksum",H.privacy)),wn(r));break;case 39:for(C=0,D=ze;C<D.length;C++)z=D[C],r=[z.time,z.event],(H=Ln(z.data.target,z.event)).id>0&&(r.push(H.id),wn(r));qe();break;case 22:for(A=0,W=Ke;A<W.length;A++)z=W[A],(r=[z.time,z.event]).push(z.data.type),r.push(z.data.hash),r.push(z.data.x),r.push(z.data.y),r.push(z.data.reaction),r.push(z.data.context),wn(r,!1);Qe();break;case 28:L=Ae,r.push(L.visible),wn(r),Y(n,L.visible),Ve();break;case 50:q=We,r.push(q.focused),wn(r,!1),Ge()}return[2]}))}))}var Ze=[],Ke=[];function Qe(){Ke=[]}function $e(t,e,n,r,a,o,i){void 0===o&&(o=1),void 0===i&&(i=0),Ze.push({time:t,event:22,data:{type:e,hash:n,x:r,y:a,reaction:o,context:i}}),X(e,r,a,t)}var tn=[],en=!1,nn=null;function rn(t){en&&"function"==typeof t&&tn.push(t)}function an(t){if(en){var e=t?t.split(" "):[""],n=e.length>1?parseInt(e[1],10):null;n&&nn.has(n)||function(t,e){try{var n=document.createElement("script");n.src=t,n.async=!0,n.onload=function(){e&&(nn.add(e),j(nn))},n.onerror=function(){Kr(new Error("".concat("MODULE",": ").concat(t)))},document.head.appendChild(n)}catch(t){}}(e[0],n)}}var on,un,cn,sn,ln,dn,pn=Object.freeze({__proto__:null,event:an,register:rn,start:function(){en=!0,nn=new Set,u.modules&&u.modules.length>0&&u.modules.forEach((function(t){an(t)}))},stop:function(){tn.reverse().forEach((function(t){try{t()}catch(t){}})),tn=[],en=!1}}),fn=0,hn=0,vn=null,gn=0,mn=!1;function yn(){sn=!0,fn=0,hn=0,mn=!1,gn=0,on=[],un=[],cn={},ln=null}function wn(t,e){if(void 0===e&&(e=!0),sn){var n=d(),r=t.length>1?t[1]:null,a=JSON.stringify(t);switch(u.lean?!mn&&hn+a.length>10485760&&(St(10,0),mn=!0):mn=!1,r){case 5:if(mn)break;fn+=a.length;case 37:case 6:case 43:case 45:case 46:case 44:case 51:if(mn)break;hn+=a.length,on.push(a);break;default:un.push(a)}q(25);var o=function(){var t=!1===u.lean&&fn>0?100:Vr.sequence*u.delay;return"string"==typeof u.upload?Math.max(Math.min(t,3e4),100):u.delay}();n-gn>2*o&&(V(vn),vn=null),e&&null===vn&&(25!==r&&Z(),vn=F(_n,o),gn=n,er(hn))}}function bn(){V(vn),_n(!0),fn=0,hn=0,mn=!1,gn=0,on=[],un=[],cn={},ln=null,sn=!1}function _n(t){return void 0===t&&(t=!1),at(this,void 0,void 0,(function(){var e,n,r,a,o,i,c,s;return ot(this,(function(l){switch(l.label){case 0:return sn?(vn=null,(e=!1===u.lean&&hn>0&&(hn<1048576||Vr.sequence>0))&&U(1,1),function(){if(Vr){var t=[];Ke=[];for(var e=(Vr.start||0)+(Vr.duration||0),n=Math.max(e-2e3,0),r=0,a=Ze;r<a.length;r++){var o=a[r];o.time>=n&&(o.time<=e&&Ke.push(o),t.push(o))}Ze=t,Be(22)}}(),ee(),n=!0===t,Vr?(r=JSON.stringify(Br(n)),a="[".concat(un.join(),"]"),o=e?"[".concat(on.join(),"]"):"",n&&o.length>0&&r.length+a.length+o.length>65536&&(o=""),i=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:o}),n?(s=null,[3,3]):[3,1]):[2]):[2];case 1:return[4,ut(i)];case 2:s=l.sent(),l.label=3;case 3:return R(2,(c=s)?c.length:i.length),kn(i,c,Vr.sequence,n),un=[],e&&(on=[],hn=0,fn=0,mn=!1),[2]}}))}))}function kn(t,e,n,r){if(void 0===r&&(r=!1),"string"==typeof u.upload){var a=u.upload,o=!1;if(r&&navigator&&navigator.sendBeacon)try{(o=navigator.sendBeacon.bind(navigator)(a,t))&&Sn(n)}catch(t){}if(!1===o){n in cn?cn[n].attempts++:cn[n]={data:t,attempts:1};var i=new XMLHttpRequest;i.open("POST",a,!0),i.timeout=15e3,i.ontimeout=function(){Kr(new Error("".concat("Timeout"," : ").concat(a)))},null!==n&&(i.onreadystatechange=function(){Qr(Tn)(i,n)}),i.withCredentials=!0,e?(i.setRequestHeader("Accept","application/x-clarity-gzip"),i.send(e)):i.send(t)}}else if(u.upload){(0,u.upload)(t),Sn(n)}}function Tn(t,e){var n=cn[e];t&&4===t.readyState&&n&&((t.status<200||t.status>208)&&n.attempts<=1?t.status>=400&&t.status<500?nr(6):(0===t.status&&(u.upload=u.fallback?u.fallback:u.upload),ln={sequence:e,attempts:n.attempts,status:t.status},$n(2),kn(n.data,null,e)):(ln={sequence:e,attempts:n.attempts,status:t.status},n.attempts>1&&$n(2),200===t.status&&t.responseText&&function(t){for(var e=t&&t.length>0?t.split("\n"):[],n=0,r=e;n<r.length;n++){var a=r[n],o=a&&a.length>0?a.split(/ (.*)/):[""];switch(o[0]){case"END":nr(6);break;case"UPGRADE":Kn("Auto");break;case"ACTION":u.action&&o.length>1&&u.action(o[1]);break;case"EXTRACT":o.length>1&&Xt(o[1]);break;case"SIGNAL":o.length>1&&Kt(o[1]);break;case"MODULE":o.length>1&&an(o[1]);break;case"SNAPSHOT":u.lean=!1,qn()}}}(t.responseText),0===t.status&&(kn(n.data,null,e,!0),nr(3)),t.status>=200&&t.status<=208&&Sn(e),delete cn[e]))}function Sn(t){1===t&&(zr(),Wr())}function xn(t){return at(this,void 0,void 0,(function(){var e,n,r,a,o,i,u,c,s,l,p,f,h;return ot(this,(function(v){switch(e=d(),n=[e,t],t){case 8:r=dn,n.push(r.width),n.push(r.height),X(t,r.width,r.height),wn(n);break;case 43:if((a=Yn).length>0){for(o=0,i=a;o<i.length;o++)for(u=i[o],c=u.metadata.privacy,s=u.data,l=0,p=["tag","attributes","value"];l<p.length;l++)if(s[f=p[l]])switch(f){case"tag":n.push(u.id),u.parent&&n.push(u.parent),u.previous&&n.push(u.previous),n.push(s[f]);break;case"attributes":for(h in s[f])void 0!==s[f][h]&&n.push(On(h,s[f][h],c,s.tag));break;case"value":n.push(b(s[f],s.tag,c))}wn(function(t){for(var e=[],n={},r=0,a=null,o=0;o<t.length;o++)if("string"==typeof t[o]){var i=t[o],u=n[i]||-1;u>=0?a?a.push(u):(a=[u],e.push(a),r++):(a=null,e.push(i),n[i]=r++)}else a=null,e.push(t[o]),r++;return e}(n),!0)}}return[2]}))}))}function On(t,e,n,r){return"href"===t&&"LINK"===r?"".concat(t,"=").concat(e):"".concat(t,"=").concat(b(e,0===t.indexOf("data-")?"data-":t,n))}function En(){dn=null}function Nn(){var t,e,n,r,a,o,i,u,c,s,l,d,p,f,h,v;En(),t=document.body,e=document.documentElement,n=t?t.clientWidth:null,r=t?t.scrollWidth:null,a=t?t.offsetWidth:null,o=e?e.clientWidth:null,i=e?e.scrollWidth:null,u=e?e.offsetWidth:null,c=Math.max(n,r,a,o,i,u),s=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(s,l,d,p,f,h),null!==dn&&c===dn.width&&v===dn.height||null===c||null===v||(dn={width:c,height:v},xn(8))}var In=!1;function Mn(t){t&&t.persisted&&(ga(),St(11,0))}function Xn(t){!function(t){ta(t===document?window:t,"scroll",je,!0)}(t),t.nodeType===Node.DOCUMENT_NODE&&(function(t){ta(t,"click",ge.bind(this,9,t),!0),ta(t,"contextmenu",ge.bind(this,48,t),!0)}(t),function(t){ta(t,"submit",Le,!0)}(t))}var Pn=Object.freeze({__proto__:null,observe:Xn,start:function(){Ze=[],Qe(),Te(),Oe=!1,ta(window,"resize",Ee),Ne(),ta(document,"visibilitychange",Fe),Fe(),ta(window,"focus",(function(){return Je(1)})),ta(window,"blur",(function(){return Je(0)})),function(){if(!In)try{window[c("addEventListener")]("pageshow",Qr(Mn),{capture:!1,passive:!0}),In=!0}catch(t){}}(),Xe=[],Ye(),qe(),ta(window,"pagehide",Re)},stop:function(){Ze=[],Qe(),Te(),Me(),Ve(),Ge(),V(Pe),je.cleanup(),Xe=[],qe(),Ue()}}),Yn=[],jn=1,Cn=null;function Dn(){Rn(),Nn(),Fn(document.documentElement),Xn(document)}function Hn(){return!1}function An(){return{x:0,y:0}}function Wn(){}function zn(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 Ln(t){var e={id:0,hash:null,privacy:u.conversions?1:5};return t&&(e.id=Cn.has(t)?Cn.get(t):Fn(t)),e}function qn(){Yn=[],function(t){var e=[t];for(;e.length>0;){for(var n=null,r=null,a=null,o=e.shift(),i=o.firstChild,u=o.parentElement?o.parentElement:o.parentNode?o.parentNode:null;i;)e.push(i),i=i.nextSibling;switch(o.nodeType){case Node.DOCUMENT_TYPE_NODE:var c=o;r="*D",n={name:c.name,publicId:c.publicId,systemId:c.systemId};break;case Node.TEXT_NODE:a=o.nodeValue,r=Cn.get(u)?"*T":r;break;case Node.ELEMENT_NODE:var s=o;n=Un(s),r=["NOSCRIPT","SCRIPT","STYLE"].indexOf(s.tagName)<0?s.tagName:r}Vn(o,u,{tag:r,attributes:n,value:a})}}(document),xn(43)}function Rn(){Cn=new WeakMap}function Un(t){var e={},n=t.attributes;if(n&&n.length>0)for(var r=0;r<n.length;r++)e[n[r].name]=n[r].value;return e}function Fn(t){return null===t?null:Cn.has(t)?Cn.get(t):(Cn.set(t,jn),jn++)}function Vn(t,e,n){if(t&&n&&n.tag){var r=Fn(t),a=e?Cn.get(e):null,o=t.previousSibling?Cn.get(t.previousSibling):null;Yn.push({id:r,parent:a,previous:o,children:[],data:n,selector:null,hash:null,region:null,metadata:{active:!0,suspend:!1,privacy:5,position:null,fraud:null,size:null}})}}var Gn,Jn=Object.freeze({__proto__:null,compute:function(){},get:function(t){return null},hashText:Wn,iframe:Hn,metadata:Ln,offset:An,snapshot:qn,start:Dn,stop:function(){Rn(),En()},target:zn,get values(){return Yn}}),Bn=null;function Zn(){!u.lean&&u.upgrade&&u.upgrade("Config"),Bn=null}function Kn(t){fa()&&u.lean&&(u.lean=!1,Bn={key:t},Wr(),zr(),u.upgrade&&u.upgrade(t),$n(3),u.lite&&Dn())}function Qn(){Bn=null}function $n(t){var e=[d(),t];switch(t){case 4:var n=E;n&&n.data&&((e=[n.time,n.event]).push(n.data.visible),e.push(n.data.docWidth),e.push(n.data.docHeight),e.push(n.data.screenWidth),e.push(n.data.screenHeight),e.push(n.data.scrollX),e.push(n.data.scrollY),e.push(n.data.pointerX),e.push(n.data.pointerY),e.push(n.data.activityTime),e.push(n.data.scrollTime),e.push(n.data.pointerTime),e.push(n.data.moveX),e.push(n.data.moveY),e.push(n.data.moveTime),e.push(n.data.downX),e.push(n.data.downY),e.push(n.data.downTime),e.push(n.data.upX),e.push(n.data.upY),e.push(n.data.upTime),e.push(n.data.pointerPrevX),e.push(n.data.pointerPrevY),e.push(n.data.pointerPrevTime),e.push(n.data.modules),wn(e,!1)),M();break;case 25:e.push(W.gap),wn(e);break;case 35:e.push(Gn.check),wn(e,!1);break;case 3:e.push(Bn.key),wn(e);break;case 2:e.push(ln.sequence),e.push(ln.attempts),e.push(ln.status),wn(e,!1);break;case 24:H.key&&e.push(H.key),e.push(H.value),wn(e);break;case 34:var r=Object.keys(st);if(r.length>0){for(var a=0,o=r;a<o.length;a++){var i=o[a];e.push(i),e.push(st[i])}ht(),wn(e,!1)}break;case 0:var u=Object.keys(L);if(u.length>0){for(var c=0,s=u;c<s.length;c++){var l=s[c],p=parseInt(l,10);e.push(p),e.push(Math.round(L[l]))}L={},wn(e,!1)}break;case 1:var f=Object.keys(ir);if(f.length>0){for(var h=0,v=f;h<v.length;h++){var g=v[h];p=parseInt(g,10);e.push(p),e.push(ir[g])}pr(),wn(e,!1)}break;case 36:var m=Object.keys($);if(m.length>0){for(var y=0,w=m;y<w.length;y++){var b=w[y];p=parseInt(b,10);e.push(p),e.push([].concat.apply([],$[b]))}et(),wn(e,!1)}break;case 40:Ot.forEach((function(t){e.push(t);var n=[];for(var r in xt[t]){var a=parseInt(r,10);n.push(a),n.push(xt[t][r])}e.push(n)})),jt(),wn(e,!1);break;case 47:e.push(fr.source),e.push(fr.ad_Storage),e.push(fr.analytics_Storage),wn(e,!1)}}function tr(){Gn={check:0}}function er(t){if(0===Gn.check){var e=Gn.check;e=Vr.sequence>=128?1:e,e=Vr.pageNum>=128?7:e,e=d()>72e5?2:e,(e=t>10485760?2:e)!==Gn.check&&nr(e)}}function nr(t){Gn.check=t,5!==t&&(Ar(),ma())}function rr(){0!==Gn.check&&$n(35)}function ar(){Gn=null}var or=null,ir=null,ur=!1;function cr(){or={},ir={},ur=!1}function sr(){or={},ir={},ur=!1}function lr(t,e){if(e&&(e="".concat(e),t in or||(or[t]=[]),or[t].indexOf(e)<0)){if(or[t].length>128)return void(ur||(ur=!0,nr(5)));or[t].push(e),t in ir||(ir[t]=[]),ir[t].push(e)}}function dr(){$n(1)}function pr(){ir={},ur=!1}var fr=null,hr=!0;function vr(){var t,e=null===(t=window.google_tag_data)||void 0===t?void 0:t.ics;hr=!0,(null==e?void 0:e.addListener)&&e.addListener(["ad_storage","analytics_storage"],mr)}function gr(){hr=!0}function mr(){var t,e=null===(t=window.google_tag_data)||void 0===t?void 0:t.ics;if(null==e?void 0:e.getConsentState)try{var n=e.getConsentState("analytics_storage");Cr(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}))}catch(t){return}}function yr(t){br(t.analytics_Storage?1:0),fr=t}function wr(){br(2)}function br(t){lr(36,t.toString())}function _r(t){fr=t,$n(47)}function kr(){var t;if(hr&&($n(47),hr=!1,!u.track)){var e=null===(t=window.google_tag_data)||void 0===t?void 0:t.ics;(null==e?void 0:e.usedUpdate)&&mr()}}var Tr=null,Sr=[],xr=0,Or=null,Er=!1,Nr={source:7,ad_Storage:"denied",analytics_Storage:"denied"};function Ir(){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:"",o=(new Date).getTimezoneOffset().toString(),i=window.location.ancestorOrigins?Array.from(window.location.ancestorOrigins).toString():"",c=document&&document.title?document.title:"";xr=r.indexOf("Electron")>0?1:0;var s=function(){var t={session:qr(),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-Rr(n[1])<18e5&&(t.session=n[0],t.count=Rr(n[2])+1,t.upgrade=Rr(n[3]),t.upload=n.length>=6?"".concat("https://").concat(n[5],"/").concat(n[4]):"".concat("https://").concat(n[4]))}return t}(),l=Ur(),d=u.projectId||f(location.host),p=u.externalSession&&u.userId?u.userId:l.id,h=u.externalSession&&u.sessionId?u.sessionId:s.session;Tr={projectId:d,userId:p,sessionId:h,pageNum:s.count},u.lean=u.track&&null!==s.upgrade?0===s.upgrade:u.lean,u.upload=u.track&&"string"==typeof u.upload&&s.upload&&s.upload.length>"https://".length?s.upload:u.upload,lr(0,r),lr(3,c),lr(1,_(location.href,!!xr)),lr(2,document.referrer),lr(15,function(){var t=qr();if(u.track&&zt(window,"sessionStorage")){var e=sessionStorage.getItem("_cltk");t=e||t,sessionStorage.setItem("_cltk",t)}return t}()),lr(16,document.documentElement.lang),lr(17,document.dir),lr(26,"".concat(window.devicePixelRatio)),lr(28,l.dob.toString()),lr(29,l.version.toString()),lr(33,i),lr(34,a),lr(35,o),U(0,s.ts),U(1,0),U(35,xr);var v,g=null===window||void 0===window?void 0:window.Zone;g&&"__symbol__"in g&&U(39,1),navigator&&(lr(9,navigator.language),U(33,navigator.hardwareConcurrency),U(32,navigator.maxTouchPoints),U(34,Math.round(navigator.deviceMemory)),(v=navigator.userAgentData)&&v.getHighEntropyValues?v.getHighEntropyValues(["model","platform","platformVersion","uaFullVersion"]).then((function(t){var e;lr(22,t.platform),lr(23,t.platformVersion),null===(e=t.brands)||void 0===e||e.forEach((function(t){lr(24,t.name+"~"+t.version)})),lr(25,t.model),U(27,t.mobile?1:0)})):lr(22,navigator.platform)),screen&&(U(14,Math.round(screen.width)),U(15,Math.round(screen.height)),U(16,Math.round(screen.colorDepth))),null===Or&&(Or={source:l.consent?6:0,ad_Storage:u.track?"granted":"denied",analytics_Storage:u.track?"granted":"denied"}),Mr(),yr(Dr(Or)),u.externalSession||Lr(l)}function Mr(){if(!Er&&"granted"===(null==Or?void 0:Or.analytics_Storage)&&"granted"===(null==Or?void 0:Or.ad_Storage)){for(var t=0,e=u.cookies;t<e.length;t++){var n=e[t],r=Ut(n);r&&lt(n,r)}Er=!0}}function Xr(){Tr=null,Er=!1,Sr.forEach((function(t){t.called=!1}))}function Pr(t,e,n,r){void 0===e&&(e=!0),void 0===n&&(n=!1),void 0===r&&(r=!1);var a=u.lean?0:1,o=!1;Tr&&(a||!1===e)&&(t(Tr,!u.lean,r?Or:void 0),o=!0),!n&&o||Sr.push({callback:t,wait:e,recall:n,called:o,consentInfo:r})}function Yr(){return Tr?[Tr.userId,Tr.sessionId,Tr.pageNum].join("."):""}function jr(t){void 0===t&&(t=!0),Cr(t?{source:4,ad_Storage:"granted",analytics_Storage:"granted"}:{source:4,ad_Storage:"denied",analytics_Storage:"denied"})}function Cr(t,e){var n;if(void 0===t&&(t=Nr),void 0===e&&(e=5),fa()){var r={source:null!==(n=t.source)&&void 0!==n?n:e,ad_Storage:Hr(t.ad_Storage,null==Or?void 0:Or.ad_Storage),analytics_Storage:Hr(t.analytics_Storage,null==Or?void 0:Or.analytics_Storage)};if(Or&&r.ad_Storage===Or.ad_Storage&&r.analytics_Storage===Or.analytics_Storage)return Or.source=r.source,_r(Dr(Or)),void wr();Or=r,Wr(!0);var a=Dr(Or);if(!a.analytics_Storage&&u.track)return u.track=!1,Ar(!0),ma(),void window.setTimeout(ga,250);fa()&&a.analytics_Storage&&(u.track=!0,Lr(Ur(),1),zr()),Mr(),_r(a),wr()}}function Dr(t){var e;return{source:null!==(e=t.source)&&void 0!==e?e:255,ad_Storage:"granted"===t.ad_Storage?1:0,analytics_Storage:"granted"===t.analytics_Storage?1:0}}function Hr(t,e){return void 0===e&&(e="denied"),"string"==typeof t?t.toLowerCase():e}function Ar(t){void 0===t&&(t=!1),Ft("_clsk","",0),t&&Ft("_clck","",0)}function Wr(t){void 0===t&&(t=!1),function(t,e){void 0===e&&(e=!1);if(Sr.length>0)for(var n=0;n<Sr.length;n++){var r=Sr[n];r.callback&&(!r.called&&!e||r.consentInfo&&e)&&(!r.wait||t)&&(r.callback(Tr,!u.lean,r.consentInfo?Or:void 0),r.called=!0,r.recall||(Sr.splice(n,1),n--))}}(u.lean?0:1,t)}function zr(){if(Tr&&u.track&&!u.externalSession){var t=Math.round(Date.now()),e=u.upload&&"string"==typeof u.upload?u.upload.replace("https://",""):"",n=u.lean?0:1;Ft("_clsk",[Tr.sessionId,t,Tr.pageNum,n,e].join(Rt),1)}}function Lr(t,e){void 0===e&&(e=null),e=null===e?t.consent:e;var n=Math.ceil((Date.now()+31536e6)/864e5),r=0===t.dob?null===u.dob?0:u.dob:t.dob;(null===t.expiry||Math.abs(n-t.expiry)>=1||t.consent!==e||t.dob!==r)&&Ft("_clck",[Tr.userId,2,n.toString(36),e,r].join(Rt),365)}function qr(){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 Rr(t,e){return void 0===e&&(e=10),parseInt(t,e)}function Ur(){var t={id:qr(),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=Rr(n[1])),n.length>2&&(t.expiry=Rr(n[2],36)),n.length>3&&1===Rr(n[3])&&(t.consent=1),n.length>4&&Rr(n[1])>1&&(t.dob=Rr(n[4])),u.track=u.track||1===t.consent,t.id=u.track?n[0]:t.id}return t}var Fr,Vr=null;function Gr(){var t=Tr;Vr={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 Jr(){Vr=null}function Br(t){return Vr.start=Vr.start+Vr.duration,Vr.duration=d()-Vr.start,Vr.sequence++,Vr.upload=t&&"sendBeacon"in navigator?1:0,Vr.end=t?1:0,Vr.applicationPlatform=0,Vr.url=_(location.href,!1,!0),[Vr.version,Vr.sequence,Vr.start,Vr.duration,Vr.projectId,Vr.userId,Vr.sessionId,Vr.pageNum,Vr.upload,Vr.end,Vr.applicationPlatform,Vr.url]}function Zr(){Fr=[]}function Kr(t){if(Fr&&-1===Fr.indexOf(t.message)){var e=u.report;if(e&&e.length>0&&Vr){var n={v:Vr.version,p:Vr.projectId,u:Vr.userId,s:Vr.sessionId,n:Vr.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)),Fr.push(t.message)}}return t}function Qr(t){return function(){var e=performance.now();try{t.apply(this,arguments)}catch(t){throw Kr(t)}var n=performance.now()-e;R(4,n),n>30&&(q(7),U(6,n),t.dn&&St(9,0,"".concat(t.dn,"-").concat(n)))}}var $r=new Map;function ta(t,e,n,r,a){void 0===r&&(r=!1),void 0===a&&(a=!0),n=Qr(n);try{t[c("addEventListener")](e,n,{capture:r,passive:a}),function(t){return $r.has(t)}(t)||$r.set(t,[]),$r.get(t).push({event:e,listener:n,options:{capture:r,passive:a}})}catch(t){}}function ea(){$r.forEach((function(t,e){!function(t,e){t.forEach((function(t){try{e[c("removeEventListener")](t.event,t.listener,{capture:t.options.capture,passive:t.options.passive})}catch(t){}})),$r.delete(e)}(t,e)})),$r=new Map}var na=null,ra=null,aa=null,oa=0;function ia(){return!(oa++>20)||(St(4,0),!1)}function ua(){oa=0,aa!==sa()&&(ma(),window.setTimeout(ca,250))}function ca(){ga(),U(29,1)}function sa(){return location.href?location.href.replace(location.hash,""):location.href}var la=!1;function da(){la=!0,s=l(),se(),ea(),Zr(),function(){if(aa=sa(),oa=0,ta(window,"popstate",ua),null===na)try{na=history.pushState,history.pushState=function(){na.apply(this,arguments),fa()&&ia()&&ua()}}catch(t){na=null}if(null===ra)try{ra=history.replaceState,history.replaceState=function(){ra.apply(this,arguments),fa()&&ia()&&ua()}}catch(t){ra=null}}()}function pa(){aa=null,oa=0,Zr(),ea(),se(),s=0,la=!1}function fa(){return la}function ha(){ga(),A("clarityGemX","restart")}var va=[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)}}(),ta(window,"error",bt),wt={},Tt={}},stop:function(){Tt={}}}),Jn,Pn,ae,pn];function ga(t){void 0===t&&(t=null),function(){try{var t=navigator&&"globalPrivacyControl"in navigator&&1==navigator.globalPrivacyControl;return!1===la&&"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||la)return!1;for(var e in t)e in u&&(u[e]=t[e])}(t),da(),$t(),va.forEach((function(t){return Qr(t.start)()})),null===t&&_a())}function ma(){fa()&&(va.slice().reverse().forEach((function(t){return Qr(t.stop)()})),te(),pa(),void 0!==wa&&(wa[ba]=function(){(wa[ba].q=wa[ba].q||[]).push(arguments),"start"===arguments[0]&&wa[ba].q.unshift(wa[ba].q.pop())&&_a()}))}var ya=Object.freeze({__proto__:null,consent:jr,consentv2:Cr,dlog:lr,event:A,hashText:Wn,identify:dt,maxMetric:U,measure:Qr,metadata:Pr,pause:function(){fa()&&(A("clarityGemX","pause"),null===ue&&(ue=new Promise((function(t){ce=t}))))},queue:wn,register:rn,resume:function(){fa()&&(ue&&(ce(),ue=null,null===ie&&de()),A("clarityGemX","resume"))},schedule:le,set:lt,signal:function(t){Zt=t},start:ga,stop:ma,time:d,upgrade:Kn,version:p}),wa=window,ba="clarityGemX";function _a(){if(void 0!==wa){if(wa[ba]&&wa[ba].v)return console.warn("Error CL001: Multiple Clarity tags detected.");var t=wa[ba]&&wa[ba].q||[];for(wa[ba]=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return ya[t].apply(ya,e)},wa[ba].v=p;t.length>0;)wa[ba].apply(wa,t.shift())}}_a()}();
package/build/clarity.js CHANGED
@@ -211,7 +211,7 @@ function stop$L() {
211
211
  startTime = 0;
212
212
  }
213
213
 
214
- var version$1 = "0.8.82";
214
+ var version$1 = "0.8.84";
215
215
 
216
216
  // tslint:disable: no-bitwise
217
217
  function hash (input, precision) {