@gemx-dev/clarity-js 0.8.73 → 0.8.74

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 fn},get start(){return pn},get stop(){return hn},get track(){return rn}}),e=Object.freeze({__proto__:null,get data(){return Rn},get start(){return Un},get stop(){return Vn},get upgrade(){return Fn}}),n=Object.freeze({__proto__:null,get check(){return Bn},get compute(){return Kn},get data(){return qn},get start(){return Jn},get stop(){return Qn},get trigger(){return Zn}}),r=Object.freeze({__proto__:null,get compute(){return or},get data(){return $n},get log(){return ar},get reset(){return ir},get start(){return nr},get stop(){return rr},get updates(){return tr}}),a=Object.freeze({__proto__:null,get compute(){return gr},get config(){return pr},get consent(){return fr},get data(){return ur},get start(){return sr},get stop(){return lr},get trackConsentv2(){return vr}}),o=Object.freeze({__proto__:null,get callback(){return Yr},get callbacks(){return yr},get clear(){return Pr},get consent(){return Ir},get consentv2(){return Mr},get data(){return mr},get electron(){return wr},get id(){return Er},get metadata(){return Or},get save(){return jr},get shortid(){return Dr},get start(){return Tr},get stop(){return xr}}),i=Object.freeze({__proto__:null,get data(){return zr},get envelope(){return Rr},get start(){return qr},get stop(){return Lr}}),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,excludeClassNames:[],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.72";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,I=null,M=!1;function X(){M&&(E={time:d(),event:4,data:{visible:I.visible,docWidth:I.docWidth,docHeight:I.docHeight,screenWidth:I.screenWidth,screenHeight:I.screenHeight,scrollX:I.scrollX,scrollY:I.scrollY,pointerX:I.pointerX,pointerY:I.pointerY,activityTime:I.activityTime,scrollTime:I.scrollTime,pointerTime:I.pointerTime,moveX:I.moveX,moveY:I.moveY,moveTime:I.moveTime,downX:I.downX,downY:I.downY,downTime:I.downTime,upX:I.upX,upY:I.upY,upTime:I.upTime,pointerPrevX:I.pointerPrevX,pointerPrevY:I.pointerPrevY,pointerPrevTime:I.pointerPrevTime,modules:I.modules}}),I=I||{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 N(t,e,n,r){switch(t){case 8:I.docWidth=e,I.docHeight=n;break;case 11:I.screenWidth=e,I.screenHeight=n;break;case 10:I.scrollX=e,I.scrollY=n,I.scrollTime=r;break;case 12:I.moveX=e,I.moveY=n,I.moveTime=r,I.pointerPrevX=I.pointerX,I.pointerPrevY=I.pointerY,I.pointerPrevTime=I.pointerTime,I.pointerX=e,I.pointerY=n,I.pointerTime=r;break;case 13:I.downX=e,I.downY=n,I.downTime=r,I.pointerPrevX=I.pointerX,I.pointerPrevY=I.pointerY,I.pointerPrevTime=I.pointerTime,I.pointerX=e,I.pointerY=n,I.pointerTime=r;break;case 14:I.upX=e,I.upY=n,I.upTime=r,I.pointerPrevX=I.pointerX,I.pointerPrevY=I.pointerY,I.pointerPrevTime=I.pointerTime,I.pointerX=e,I.pointerY=n,I.pointerTime=r;break;default:I.pointerPrevX=I.pointerX,I.pointerPrevY=I.pointerY,I.pointerPrevTime=I.pointerTime,I.pointerX=e,I.pointerY=n,I.pointerTime=r}M=!0}function P(t){I.activityTime=t}function Y(t,e){I.visible=e,I.visible||P(t),M=!0}function j(t){I.modules=Array.from(t),M=!0}function C(){M&&Gn(4)}var D=Object.freeze({__proto__:null,activity:P,compute:C,dynamic:j,reset:X,start:function(){M=!1,X()},get state(){return E},stop:function(){X()},track:N,visibility:Y}),A=null;function H(t,e){ua()&&t&&"string"==typeof t&&t.length<255&&(A=e&&"string"==typeof e&&e.length<255?{key:t,value:e}:{value:t},Gn(24))}var W,z=null,q=null;function L(t){t in z||(z[t]=0),t in q||(q[t]=0),z[t]++,q[t]++}function R(t,e){null!==e&&(t in z||(z[t]=0),t in q||(q[t]=0),z[t]+=e,q[t]+=e)}function U(t,e){null!==e&&!1===isNaN(e)&&(t in z||(z[t]=0),(e>z[t]||0===z[t])&&(q[t]=e,z[t]=e))}function F(t,e,n){return window.setTimeout(Vr(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},Gn(25),W.gap<3e5?B=F(K,J):aa&&(H("clarityGemX","suspend"),da(),["mousemove","touchstart"].forEach((function(t){return Jr(document,t,ca)})),["resize","scroll","pageshow"].forEach((function(t){return Jr(window,t,ca)})))}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(){Gn(36)}function et(){$={}}var nt=Object.freeze({__proto__:null,compute:tt,get data(){return $},reset:et,start:function(){$={}},stop:function(){$={}},track:function(t,e){if(t in $){var n=$[t],r=n[n.length-1];e-r[0]>100?$[t].push([e,0]):r[1]=e-r[0]}else $[t]=[[e,0]]}});function rt(t,e,n,r){return new(n||(n=Promise))((function(a,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 at(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 ot="CompressionStream"in window;function it(t){return rt(this,void 0,void 0,(function(){var e,n;return at(this,(function(r){switch(r.label){case 0:return r.trys.push([0,3,,4]),ot?(e=new ReadableStream({start:function(e){return rt(this,void 0,void 0,(function(){return at(this,(function(n){return e.enqueue(t),e.close(),[2]}))}))}}).pipeThrough(new TextEncoderStream).pipeThrough(new window.CompressionStream("gzip")),n=Uint8Array.bind,[4,ut(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 ut(t){return rt(this,void 0,void 0,(function(){var e,n,r,a,o;return at(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 ct=null;function st(t,e){dt(t,"string"==typeof e?[e]:e)}function lt(t,e,n,r){return void 0===e&&(e=null),void 0===n&&(n=null),void 0===r&&(r=null),rt(this,void 0,void 0,(function(){var a,o;return at(this,(function(i){switch(i.label){case 0:return o={},[4,ht(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,"*","*")),dt("userId",[(a=o).userId]),dt("userHint",[a.userHint]),dt("userType",[vt(t)]),e&&(dt("sessionId",[e]),a.sessionId=e),n&&(dt("pageId",[n]),a.pageId=n),[2,a]}var u}))}))}function dt(t,e){if(ua()&&t&&e&&"string"==typeof t&&t.length<255){for(var n=(t in ct?ct[t]:[]),r=0;r<e.length;r++)"string"==typeof e[r]&&e[r].length<255&&n.push(e[r]);ct[t]=n}}function pt(){Gn(34)}function ft(){ct={}}function ht(t){return rt(this,void 0,void 0,(function(){var e;return at(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 vt(t){return t&&t.indexOf("@")>0?"email":"string"}var gt=Object.freeze({__proto__:null,compute:pt,get data(){return ct},identify:lt,reset:ft,set:st,start:function(){ft()},stop:function(){ft()}});var mt,yt={};function wt(t){var e=t.error||t;return e.message in yt||(yt[e.message]=0),yt[e.message]++>=5||e&&e.message&&(mt={message:e.message,line:t.lineno,column:t.colno,stack:e.stack,source:t.filename},bt(31)),!0}function bt(t){return rt(this,void 0,void 0,(function(){var e;return at(this,(function(n){switch(e=[d(),t],t){case 31:e.push(mt.message),e.push(mt.line),e.push(mt.column),e.push(mt.stack),e.push(_(mt.source)),fn(e);break;case 33:_t&&(e.push(_t.code),e.push(_t.name),e.push(_t.message),e.push(_t.stack),e.push(_t.severity),fn(e,!1))}return[2]}))}))}var _t,kt={};function Tt(t,e,n,r,a){void 0===n&&(n=null),void 0===r&&(r=null),void 0===a&&(a=null);var o=n?"".concat(n,"|").concat(r):"";t in kt&&kt[t].indexOf(o)>=0||(_t={code:t,name:n,message:r,stack:a,severity:e},t in kt?kt[t].push(o):kt[t]=[o],bt(33))}var St={},xt=new Set,Ot={},Et={},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 Ot[r]={},Et[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);Ot[r][u]=Ct(l);break;case 2:Et[r][u]=c;break;case 4:var d=c.slice(1);It[r][u]=d}}}catch(t){Tt(8,1,t?t.name:null)}}function Nt(t){return JSON.parse(JSON.stringify(t))}function Pt(){try{for(var t in Ot){var e=parseInt(t);if(""==Mt[e]||document.querySelector(Mt[e])){var n=Ot[e];for(var r in n){var a=parseInt(r),o=(m=Dt(Nt(n[a])))?JSON.stringify(m).slice(0,1e4):m;o&&jt(e,a,o)}var i=Et[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>");jt(e,s,(c?f(p).trim():p).slice(0,1e4))}}var h=It[e];for(var v in h){var g=parseInt(v);jt(e,g,(void h[g]).trim().slice(0,1e4))}}}xt.size>0&&Gn(40)}catch(t){Tt(5,1,t?t.name:null)}var m}function Yt(){xt.clear()}function jt(t,e,n){var r,a=!1;t in St||(St[t]={},a=!0),r=It[t],0==Object.keys(r).length||e in St[t]&&St[t][e]==n||(a=!0),St[t][e]=n,a&&xt.add(t)}function Ct(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 Dt(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=Dt(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=Dt(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 Ht=Object.freeze({__proto__:null,clone:Nt,compute:Pt,data:St,keys:xt,reset:Yt,start:function(){Yt()},stop:function(){Yt()},trigger:Xt,update:jt});function Wt(t,e){try{return!!t[e]}catch(t){return!1}}function zt(t){try{var e=decodeURIComponent(t);return[e!=t,e]}catch(t){}return[!1,t]}var qt=null,Lt="^";function Rt(t,e){var n;if(void 0===e&&(e=!1),Wt(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=zt(o[1]),u=i[0],c=i[1];u;)u=(n=zt(c))[0],c=n[1];return e?c.endsWith("".concat("~","1"))?c.substring(0,c.length-2):null:c}}}return null}function Ut(t,e,n){if((u.track||""==e)&&(navigator&&navigator.cookieEnabled||Wt(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),Rt(t)===e))return;qt=""}}catch(t){qt=""}document.cookie=qt?"".concat(i).concat(";").concat("domain=").concat(qt):i}}var Ft=null;function Vt(t){try{if(!Ft)return;var e=function(t){try{return JSON.parse(t)}catch(t){return[]}}(t);e.forEach((function(t){Ft(t)}))}catch(t){}}var Gt=[D,r,gt,n,nt,Object.freeze({__proto__:null,COOKIE_SEP:Lt,getCookie:Rt,setCookie:Ut,start:function(){qt=null},stop:function(){qt=null}}),a,o,i,t,Q,e,Ht];function Jt(){z={},q={},L(5),Gt.forEach((function(t){return Vr(t.start)()}))}function Bt(){Gt.slice().reverse().forEach((function(t){return Vr(t.stop)()})),z={},q={}}function Zt(){pt(),C(),or(),Gn(0),tt(),Kn(),Pt(),gr()}var Kt=[],Qt=null;var $t=Object.freeze({__proto__:null,checkDocumentStyles:function(t){},compute:function(){},data:Qt,log:function(){},observe:function(){},reset:function(){},sheetAdoptionState:[],sheetUpdateState:[],start:function(){},state:Kt,stop:function(){}}),te=[],ee=null,ne=null,re=null;function ae(){te=[],ee=null,ne=null}function oe(t,e){return void 0===e&&(e=0),rt(this,void 0,void 0,(function(){var n,r,a;return at(this,(function(o){for(n=0,r=te;n<r.length;n++)if(r[n].task===t)return[2];return a=new Promise((function(n){te[1===e?"unshift":"push"]({task:t,resolve:n,id:Er()})})),null===ee&&null===ne&&ie(),[2,a]}))}))}function ie(){var t=te.shift();t&&(ee=t,t.task().then((function(){t.id===Er()&&(t.resolve(),ee=null,ie())})).catch((function(e){t.id===Er()&&(e&&Tt(0,1,e.name,e.message,e.stack),ee=null,ie())})))}var ue,ce=["input","textarea","radio","button","canvas","select"],se=/VM\d/,le=[];function de(t,e,n){var r=document.documentElement,a="pageX"in n?Math.round(n.pageX):"clientX"in n?Math.round(n.clientX+r.scrollLeft):null,o="pageY"in n?Math.round(n.pageY):"clientY"in n?Math.round(n.clientY+r.scrollTop):null,i=jn(n),c=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}(i),s=he(i);0===n.detail&&s&&(a=Math.round(s.x+s.w/2),o=Math.round(s.y+s.h/2));var l=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=he(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}}(i,a,o,s),p=l.eX,f=l.eY;if(null!==a&&null!==o){var h=function(t){var e=null,n=!1;if(t){var r=t.textContent||String(t.value||"")||t.alt;if(r){var a=r.replace(/\s+/g," ").trim();n=(e=a.substring(0,25)).length===a.length}}return{text:e,isFullText:n?1:0}}(i);le.push({time:d(n),event:t,data:{target:i,x:a,y:o,eX:p,eY:f,button:n.button,reaction:pe(i),context:ve(c),text:h.text,link:c?c.href:null,hash:null,trust:n.isTrusted?1:0,isFullText:h.isFullText,w:s?s.w:0,h:s?s.h:0,tag:fe(i,"tagName").substring(0,10),class:fe(i,"className").substring(0,50),id:fe(i,"id").substring(0,25),source:u.diagnostics&&!n.isTrusted?ge():0}}),oe(Re.bind(this,t))}}function pe(t){var e=fe(t,"tagName");return ce.indexOf(e)>=0?0:1}function fe(t,e){if(t.nodeType===Node.ELEMENT_NODE){var n=null==t?void 0:t[e];return"string"==typeof n?null==n?void 0:n.toLowerCase():""}return""}function he(t){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 ve(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 ge(){ge.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||se.test(o))&&(n=3)}return n}catch(t){return 4}}function me(){le=[]}function ye(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 we=null,be=!1,_e=ye(ke,500);function ke(){var t=document.documentElement;ue={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},be?(V(we),we=F(Te,500,11)):(Re(11),be=!0)}function Te(t){oe(Re.bind(this,t))}function Se(){ue=null,V(we),_e.cleanup()}var xe=[],Oe=null;function Ee(t){void 0===t&&(t=null);var e=window,n=document.documentElement,r=t?jn(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=Me(c,s),f=Me(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(Oe),Oe=F(Xe,500,10)}}}var Ie=ye(Ee,25);function Me(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 Xe(t){oe(Re.bind(this,t))}var Ne,Pe,Ye,je=[];function Ce(t){je.push({time:d(t),event:39,data:{target:jn(t)}}),oe(Re.bind(this,39))}function De(){je=[]}function Ae(t){Ne={name:t.type,persisted:t.persisted?1:0},Re(26,d(t)),da()}function He(){Ne=null}function We(t){if(void 0===t&&(t=null),"visibilityState"in document){var e="visible"===document.visibilityState?1:0;Pe={visible:e},Re(28,d(t))}}function ze(){Pe=null}function qe(){Ye=null}function Le(t){Ye={focused:t},Re(50)}function Re(t,e){return void 0===e&&(e=null),rt(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,I,M,X,P,j,C,D,A,H,W,z,q,L;return at(this,(function(R){switch(n=e||d(),r=[n,t],t){case 13:case 14:case 12:case 15:case 16:case 17:case 18:case 19:case 20:for(a=0,o=Kt;a<o.length;a++)z=o[a],(i=Cn(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())),fn(r),(void 0===z.data.isPrimary||z.data.isPrimary)&&N(z.event,z.data.x,z.data.y,z.time));break;case 9:case 48:for(u=0,c=le;u<c.length;u++)z=c[u],s=Cn(z.data.target,z.event,z.data.text),r=[z.time,z.event],l=s.hash?s.hash.join("."):"",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),fn(r),Ge(z.time,z.event,l,z.data.x,z.data.y,z.data.reaction,z.data.context);me();break;case 38:for(p=0,f=Kt;p<f.length;p++)z=f[p],r=[z.time,z.event],(A=Cn(z.data.target,z.event)).id>0&&(r.push(A.id),r.push(z.data.action),fn(r));break;case 11:h=ue,r.push(h.width),r.push(h.height),N(t,h.width,h.height),Se(),fn(r);break;case 26:v=Ne,r.push(v.name),r.push(v.persisted),He(),fn(r);break;case 27:for(g=0,m=Kt;g<m.length;g++)z=m[g],y=Cn(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),fn(r);break;case 21:(w=Qt)&&(k=Cn(w.start),T=Cn(w.end),r.push(k.id),r.push(w.startOffset),r.push(T.id),r.push(w.endOffset),fn(r));break;case 10:for(S=0,x=xe;S<x.length;S++)z=x[S],O=Cn(z.data.target,z.event),E=Cn(z.data.top,z.event),I=Cn(z.data.bottom,z.event),M=(null==E?void 0:E.hash)?E.hash.join("."):"",X=(null==I?void 0:I.hash)?I.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(M),r.push(X),r.push(z.data.trust),fn(r),N(z.event,z.data.x,z.data.y,z.time));xe=[];break;case 42:for(P=0,j=Kt;P<j.length;P++)z=j[P],r=[z.time,z.event],(A=Cn(z.data.target,z.event)).id>0&&((r=[z.time,z.event]).push(A.id),r.push(z.data.type),r.push(b(z.data.value,"change",A.privacy)),r.push(b(z.data.checksum,"checksum",A.privacy)),fn(r));break;case 39:for(C=0,D=je;C<D.length;C++)z=D[C],r=[z.time,z.event],(A=Cn(z.data.target,z.event)).id>0&&(r.push(A.id),fn(r));De();break;case 22:for(H=0,W=Fe;H<W.length;H++)z=W[H],(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),fn(r,!1);Ve();break;case 28:q=Pe,r.push(q.visible),fn(r),Y(n,q.visible),ze();break;case 50:L=Ye,r.push(L.focused),fn(r,!1),qe()}return[2]}))}))}var Ue=[],Fe=[];function Ve(){Fe=[]}function Ge(t,e,n,r,a,o,i){void 0===o&&(o=1),void 0===i&&(i=0),Ue.push({time:t,event:22,data:{type:e,hash:n,x:r,y:a,reaction:o,context:i}}),N(e,r,a,t)}var Je=[],Be=!1,Ze=null;function Ke(t){Be&&"function"==typeof t&&Je.push(t)}function Qe(t){if(Be){var e=t?t.split(" "):[""],n=e.length>1?parseInt(e[1],10):null;n&&Ze.has(n)||function(t,e){try{var n=document.createElement("script");n.src=t,n.async=!0,n.onload=function(){e&&(Ze.add(e),j(Ze))},n.onerror=function(){Fr(new Error("".concat("MODULE",": ").concat(t)))},document.head.appendChild(n)}catch(t){}}(e[0],n)}}var $e,tn,en,nn,rn,an,on=Object.freeze({__proto__:null,event:Qe,register:Ke,start:function(){Be=!0,Ze=new Set,u.modules&&u.modules.length>0&&u.modules.forEach((function(t){Qe(t)}))},stop:function(){Je.reverse().forEach((function(t){try{t()}catch(t){}})),Je=[],Be=!1}}),un=0,cn=0,sn=null,ln=0,dn=!1;function pn(){nn=!0,un=0,cn=0,dn=!1,ln=0,$e=[],tn=[],en={},rn=null}function fn(t,e){if(void 0===e&&(e=!0),nn){var n=d(),r=t.length>1?t[1]:null,a=JSON.stringify(t);switch(u.lean?!dn&&cn+a.length>10485760&&(Tt(10,0),dn=!0):dn=!1,r){case 5:if(dn)break;un+=a.length;case 37:case 6:case 43:case 45:case 46:case 44:case 51:if(dn)break;cn+=a.length,$e.push(a);break;default:tn.push(a)}L(25);var o=function(){var t=!1===u.lean&&un>0?100:zr.sequence*u.delay;return"string"==typeof u.upload?Math.max(Math.min(t,3e4),100):u.delay}();n-ln>2*o&&(V(sn),sn=null),e&&null===sn&&(25!==r&&Z(),sn=F(vn,o),ln=n,Bn(cn))}}function hn(){V(sn),vn(!0),un=0,cn=0,dn=!1,ln=0,$e=[],tn=[],en={},rn=null,nn=!1}function vn(t){return void 0===t&&(t=!1),rt(this,void 0,void 0,(function(){var e,n,r,a,o,i,c,s;return at(this,(function(l){switch(l.label){case 0:return nn?(sn=null,(e=!1===u.lean&&cn>0&&(cn<1048576||zr.sequence>0))&&U(1,1),function(){if(zr){var t=[];Fe=[];for(var e=(zr.start||0)+(zr.duration||0),n=Math.max(e-2e3,0),r=0,a=Ue;r<a.length;r++){var o=a[r];o.time>=n&&(o.time<=e&&Fe.push(o),t.push(o))}Ue=t,Re(22)}}(),Zt(),n=!0===t,zr?(r=JSON.stringify(Rr(n)),a="[".concat(tn.join(),"]"),o=e?"[".concat($e.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,it(i)];case 2:s=l.sent(),l.label=3;case 3:return R(2,(c=s)?c.length:i.length),gn(i,c,zr.sequence,n),tn=[],e&&($e=[],cn=0,un=0,dn=!1),[2]}}))}))}function gn(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))&&yn(n)}catch(t){}if(!1===o){n in en?en[n].attempts++:en[n]={data:t,attempts:1};var i=new XMLHttpRequest;i.open("POST",a,!0),i.timeout=15e3,i.ontimeout=function(){Fr(new Error("".concat("Timeout"," : ").concat(a)))},null!==n&&(i.onreadystatechange=function(){Vr(mn)(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),yn(n)}}function mn(t,e){var n=en[e];t&&4===t.readyState&&n&&((t.status<200||t.status>208)&&n.attempts<=1?t.status>=400&&t.status<500?Zn(6):(0===t.status&&(u.upload=u.fallback?u.fallback:u.upload),rn={sequence:e,attempts:n.attempts,status:t.status},Gn(2),gn(n.data,null,e)):(rn={sequence:e,attempts:n.attempts,status:t.status},n.attempts>1&&Gn(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":Zn(6);break;case"UPGRADE":Fn("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&&Vt(o[1]);break;case"MODULE":o.length>1&&Qe(o[1]);break;case"SNAPSHOT":u.lean=!1,Dn()}}}(t.responseText),0===t.status&&(gn(n.data,null,e,!0),Zn(3)),t.status>=200&&t.status<=208&&yn(e),delete en[e]))}function yn(t){1===t&&(jr(),Yr())}function wn(t){return rt(this,void 0,void 0,(function(){var e,n,r,a,o,i,u,c,s,l,p,f,h;return at(this,(function(v){switch(e=d(),n=[e,t],t){case 8:r=an,n.push(r.width),n.push(r.height),N(t,r.width,r.height),fn(n);break;case 43:if((a=En).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(bn(h,s[f][h],c,s.tag));break;case"value":n.push(b(s[f],s.tag,c))}fn(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 bn(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 _n(){an=null}function kn(){var t,e,n,r,a,o,i,u,c,s,l,d,p,f,h,v;_n(),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!==an&&c===an.width&&v===an.height||null===c||null===v||(an={width:c,height:v},wn(8))}var Tn=!1;function Sn(t){t&&t.persisted&&(la(),Tt(11,0))}function xn(t){!function(t){Jr(t===document?window:t,"scroll",Ie,!0)}(t),t.nodeType===Node.DOCUMENT_NODE&&(function(t){Jr(t,"click",de.bind(this,9,t),!0),Jr(t,"contextmenu",de.bind(this,48,t),!0)}(t),function(t){Jr(t,"submit",Ce,!0)}(t))}var On=Object.freeze({__proto__:null,observe:xn,start:function(){Ue=[],Ve(),me(),be=!1,Jr(window,"resize",_e),ke(),Jr(document,"visibilitychange",We),We(),Jr(window,"focus",(function(){return Le(1)})),Jr(window,"blur",(function(){return Le(0)})),function(){if(!Tn)try{window[c("addEventListener")]("pageshow",Vr(Sn),{capture:!1,passive:!0}),Tn=!0}catch(t){}}(),xe=[],Ee(),De(),Jr(window,"pagehide",Ae)},stop:function(){Ue=[],Ve(),me(),Se(),ze(),qe(),V(Oe),Ie.cleanup(),xe=[],De(),He()}}),En=[],In=1,Mn=null;function Xn(){An(),kn(),Wn(document.documentElement),xn(document)}function Nn(){return!1}function Pn(){return{x:0,y:0}}function Yn(){}function jn(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 Cn(t){var e={id:0,hash:null,privacy:u.conversions?1:5};return t&&(e.id=Mn.has(t)?Mn.get(t):Wn(t)),e}function Dn(){En=[],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=Mn.get(u)?"*T":r;break;case Node.ELEMENT_NODE:var s=o;n=Hn(s),r=["NOSCRIPT","SCRIPT","STYLE"].indexOf(s.tagName)<0?s.tagName:r}zn(o,u,{tag:r,attributes:n,value:a})}}(document),wn(43)}function An(){Mn=new WeakMap}function Hn(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 Wn(t){return null===t?null:Mn.has(t)?Mn.get(t):(Mn.set(t,In),In++)}function zn(t,e,n){if(t&&n&&n.tag){var r=Wn(t),a=e?Mn.get(e):null,o=t.previousSibling?Mn.get(t.previousSibling):null;En.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 qn,Ln=Object.freeze({__proto__:null,compute:function(){},get:function(t){return null},hashText:Yn,iframe:Nn,metadata:Cn,offset:Pn,snapshot:Dn,start:Xn,stop:function(){An(),_n()},target:jn,get values(){return En}}),Rn=null;function Un(){!u.lean&&u.upgrade&&u.upgrade("Config"),Rn=null}function Fn(t){ua()&&u.lean&&(u.lean=!1,Rn={key:t},Yr(),jr(),u.upgrade&&u.upgrade(t),Gn(3),u.lite&&Xn())}function Vn(){Rn=null}function Gn(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),fn(e,!1)),X();break;case 25:e.push(W.gap),fn(e);break;case 35:e.push(qn.check),fn(e,!1);break;case 3:e.push(Rn.key),fn(e);break;case 2:e.push(rn.sequence),e.push(rn.attempts),e.push(rn.status),fn(e,!1);break;case 24:A.key&&e.push(A.key),e.push(A.value),fn(e);break;case 34:var r=Object.keys(ct);if(r.length>0){for(var a=0,o=r;a<o.length;a++){var i=o[a];e.push(i),e.push(ct[i])}ft(),fn(e,!1)}break;case 0:var u=Object.keys(q);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(q[l]))}q={},fn(e,!1)}break;case 1:var f=Object.keys(tr);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(tr[g])}ir(),fn(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(),fn(e,!1)}break;case 40:xt.forEach((function(t){e.push(t);var n=[];for(var r in St[t]){var a=parseInt(r,10);n.push(a),n.push(St[t][r])}e.push(n)})),Yt(),fn(e,!1);break;case 47:e.push(ur.source),e.push(ur.ad_Storage),e.push(ur.analytics_Storage),fn(e,!1)}}function Jn(){qn={check:0}}function Bn(t){if(0===qn.check){var e=qn.check;e=zr.sequence>=128?1:e,e=zr.pageNum>=128?7:e,e=d()>72e5?2:e,(e=t>10485760?2:e)!==qn.check&&Zn(e)}}function Zn(t){qn.check=t,5!==t&&(Pr(),da())}function Kn(){0!==qn.check&&Gn(35)}function Qn(){qn=null}var $n=null,tr=null,er=!1;function nr(){$n={},tr={},er=!1}function rr(){$n={},tr={},er=!1}function ar(t,e){if(e&&(e="".concat(e),t in $n||($n[t]=[]),$n[t].indexOf(e)<0)){if($n[t].length>128)return void(er||(er=!0,Zn(5)));$n[t].push(e),t in tr||(tr[t]=[]),tr[t].push(e)}}function or(){Gn(1)}function ir(){tr={},er=!1}var ur=null,cr=!0;function sr(){var t,e=null===(t=window.google_tag_data)||void 0===t?void 0:t.ics;cr=!0,(null==e?void 0:e.addListener)&&e.addListener(["ad_storage","analytics_storage"],dr)}function lr(){cr=!0}function dr(){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");Mr(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 pr(t){hr(t.analytics_Storage?1:0),ur=t}function fr(){hr(2)}function hr(t){ar(36,t.toString())}function vr(t){ur=t,Gn(47)}function gr(){var t;if(cr&&(Gn(47),cr=!1,!u.track)){var e=null===(t=window.google_tag_data)||void 0===t?void 0:t.ics;(null==e?void 0:e.usedUpdate)&&dr()}}var mr=null,yr=[],wr=0,br=null,_r=!1,kr={source:7,ad_Storage:"denied",analytics_Storage:"denied"};function Tr(){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:"";wr=r.indexOf("Electron")>0?1:0;var s=function(){var t={session:Dr(),ts:Math.round(Date.now()),count:1,upgrade:null,upload:""},e=Rt("_clsk",!u.includeSubdomains);if(e){var n=e.includes("^")?e.split("^"):e.split("|");n.length>=5&&t.ts-Ar(n[1])<18e5&&(t.session=n[0],t.count=Ar(n[2])+1,t.upgrade=Ar(n[3]),t.upload=n.length>=6?"".concat("https://").concat(n[5],"/").concat(n[4]):"".concat("https://").concat(n[4]))}return t}(),l=Hr(),d=u.projectId||f(location.host),p=u.externalSession&&u.userId?u.userId:l.id,h=u.externalSession&&u.sessionId?u.sessionId:s.session;mr={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,ar(0,r),ar(3,c),ar(1,_(location.href,!!wr)),ar(2,document.referrer),ar(15,function(){var t=Dr();if(u.track&&Wt(window,"sessionStorage")){var e=sessionStorage.getItem("_cltk");t=e||t,sessionStorage.setItem("_cltk",t)}return t}()),ar(16,document.documentElement.lang),ar(17,document.dir),ar(26,"".concat(window.devicePixelRatio)),ar(28,l.dob.toString()),ar(29,l.version.toString()),ar(33,i),ar(34,a),ar(35,o),U(0,s.ts),U(1,0),U(35,wr);var v,g=null===window||void 0===window?void 0:window.Zone;g&&"__symbol__"in g&&U(39,1),navigator&&(ar(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;ar(22,t.platform),ar(23,t.platformVersion),null===(e=t.brands)||void 0===e||e.forEach((function(t){ar(24,t.name+"~"+t.version)})),ar(25,t.model),U(27,t.mobile?1:0)})):ar(22,navigator.platform)),screen&&(U(14,Math.round(screen.width)),U(15,Math.round(screen.height)),U(16,Math.round(screen.colorDepth))),null===br&&(br={source:l.consent?6:0,ad_Storage:u.track?"granted":"denied",analytics_Storage:u.track?"granted":"denied"}),Sr(),pr(Xr(br)),u.externalSession||Cr(l)}function Sr(){if(!_r&&"granted"===(null==br?void 0:br.analytics_Storage)&&"granted"===(null==br?void 0:br.ad_Storage)){for(var t=0,e=u.cookies;t<e.length;t++){var n=e[t],r=Rt(n);r&&st(n,r)}_r=!0}}function xr(){mr=null,_r=!1,yr.forEach((function(t){t.called=!1}))}function Or(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;mr&&(a||!1===e)&&(t(mr,!u.lean,r?br:void 0),o=!0),!n&&o||yr.push({callback:t,wait:e,recall:n,called:o,consentInfo:r})}function Er(){return mr?[mr.userId,mr.sessionId,mr.pageNum].join("."):""}function Ir(t){void 0===t&&(t=!0),Mr(t?{source:4,ad_Storage:"granted",analytics_Storage:"granted"}:{source:4,ad_Storage:"denied",analytics_Storage:"denied"})}function Mr(t,e){var n;if(void 0===t&&(t=kr),void 0===e&&(e=5),ua()){var r={source:null!==(n=t.source)&&void 0!==n?n:e,ad_Storage:Nr(t.ad_Storage,null==br?void 0:br.ad_Storage),analytics_Storage:Nr(t.analytics_Storage,null==br?void 0:br.analytics_Storage)};if(br&&r.ad_Storage===br.ad_Storage&&r.analytics_Storage===br.analytics_Storage)return br.source=r.source,vr(Xr(br)),void fr();br=r,Yr(!0);var a=Xr(br);if(!a.analytics_Storage&&u.track)return u.track=!1,Pr(!0),da(),void window.setTimeout(la,250);ua()&&a.analytics_Storage&&(u.track=!0,Cr(Hr(),1),jr()),Sr(),vr(a),fr()}}function Xr(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 Nr(t,e){return void 0===e&&(e="denied"),"string"==typeof t?t.toLowerCase():e}function Pr(t){void 0===t&&(t=!1),Ut("_clsk","",0),t&&Ut("_clck","",0)}function Yr(t){void 0===t&&(t=!1),function(t,e){void 0===e&&(e=!1);if(yr.length>0)for(var n=0;n<yr.length;n++){var r=yr[n];r.callback&&(!r.called&&!e||r.consentInfo&&e)&&(!r.wait||t)&&(r.callback(mr,!u.lean,r.consentInfo?br:void 0),r.called=!0,r.recall||(yr.splice(n,1),n--))}}(u.lean?0:1,t)}function jr(){if(mr&&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;Ut("_clsk",[mr.sessionId,t,mr.pageNum,n,e].join(Lt),1)}}function Cr(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)&&Ut("_clck",[mr.userId,2,n.toString(36),e,r].join(Lt),365)}function Dr(){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 Ar(t,e){return void 0===e&&(e=10),parseInt(t,e)}function Hr(){var t={id:Dr(),version:0,expiry:null,consent:0,dob:0},e=Rt("_clck",!u.includeSubdomains);if(e&&e.length>0){var n=e.includes("^")?e.split("^"):e.split("|");n.length>1&&(t.version=Ar(n[1])),n.length>2&&(t.expiry=Ar(n[2],36)),n.length>3&&1===Ar(n[3])&&(t.consent=1),n.length>4&&Ar(n[1])>1&&(t.dob=Ar(n[4])),u.track=u.track||1===t.consent,t.id=u.track?n[0]:t.id}return t}var Wr,zr=null;function qr(){var t=mr;zr={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 Lr(){zr=null}function Rr(t){return zr.start=zr.start+zr.duration,zr.duration=d()-zr.start,zr.sequence++,zr.upload=t&&"sendBeacon"in navigator?1:0,zr.end=t?1:0,zr.applicationPlatform=0,zr.url=_(location.href,!1,!0),[zr.version,zr.sequence,zr.start,zr.duration,zr.projectId,zr.userId,zr.sessionId,zr.pageNum,zr.upload,zr.end,zr.applicationPlatform,zr.url]}function Ur(){Wr=[]}function Fr(t){if(Wr&&-1===Wr.indexOf(t.message)){var e=u.report;if(e&&e.length>0&&zr){var n={v:zr.version,p:zr.projectId,u:zr.userId,s:zr.sessionId,n:zr.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)),Wr.push(t.message)}}return t}function Vr(t){return function(){var e=performance.now();try{t.apply(this,arguments)}catch(t){throw Fr(t)}var n=performance.now()-e;R(4,n),n>30&&(L(7),U(6,n),t.dn&&Tt(9,0,"".concat(t.dn,"-").concat(n)))}}var Gr=new Map;function Jr(t,e,n,r,a){void 0===r&&(r=!1),void 0===a&&(a=!0),n=Vr(n);try{t[c("addEventListener")](e,n,{capture:r,passive:a}),function(t){return Gr.has(t)}(t)||Gr.set(t,[]),Gr.get(t).push({event:e,listener:n,options:{capture:r,passive:a}})}catch(t){}}function Br(){Gr.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){}})),Gr.delete(e)}(t,e)})),Gr=new Map}var Zr=null,Kr=null,Qr=null,$r=0;function ta(){return!($r++>20)||(Tt(4,0),!1)}function ea(){$r=0,Qr!==ra()&&(da(),window.setTimeout(na,250))}function na(){la(),U(29,1)}function ra(){return location.href?location.href.replace(location.hash,""):location.href}var aa=!1;function oa(){aa=!0,s=l(),ae(),Br(),Ur(),function(){if(Qr=ra(),$r=0,Jr(window,"popstate",ea),null===Zr)try{Zr=history.pushState,history.pushState=function(){Zr.apply(this,arguments),ua()&&ta()&&ea()}}catch(t){Zr=null}if(null===Kr)try{Kr=history.replaceState,history.replaceState=function(){Kr.apply(this,arguments),ua()&&ta()&&ea()}}catch(t){Kr=null}}()}function ia(){Qr=null,$r=0,Ur(),Br(),ae(),s=0,aa=!1}function ua(){return aa}function ca(){la(),H("clarityGemX","restart")}var sa=[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)}}(),Jr(window,"error",wt),yt={},kt={}},stop:function(){kt={}}}),Ln,On,$t,on];function la(t){void 0===t&&(t=null),function(){try{var t=navigator&&"globalPrivacyControl"in navigator&&1==navigator.globalPrivacyControl;return!1===aa&&"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||aa)return!1;for(var e in t)e in u&&(u[e]=t[e])}(t),oa(),Jt(),sa.forEach((function(t){return Vr(t.start)()})),null===t&&va())}function da(){ua()&&(sa.slice().reverse().forEach((function(t){return Vr(t.stop)()})),Bt(),ia(),void 0!==fa&&(fa[ha]=function(){(fa[ha].q=fa[ha].q||[]).push(arguments),"start"===arguments[0]&&fa[ha].q.unshift(fa[ha].q.pop())&&va()}))}var pa=Object.freeze({__proto__:null,consent:Ir,consentv2:Mr,dlog:ar,event:H,hashText:Yn,identify:lt,maxMetric:U,measure:Vr,metadata:Or,pause:function(){ua()&&(H("clarityGemX","pause"),null===ne&&(ne=new Promise((function(t){re=t}))))},queue:fn,register:Ke,resume:function(){ua()&&(ne&&(re(),ne=null,null===ee&&ie()),H("clarityGemX","resume"))},schedule:oe,set:st,signal:function(t){Ft=t},start:la,stop:da,time:d,upgrade:Fn,version:p}),fa=window,ha="clarityGemX";function va(){if(void 0!==fa){if(fa[ha]&&fa[ha].v)return console.warn("Error CL001: Multiple Clarity tags detected.");var t=fa[ha]&&fa[ha].q||[];for(fa[ha]=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return pa[t].apply(pa,e)},fa[ha].v=p;t.length>0;)fa[ha].apply(fa,t.shift())}}va()}();
1
+ !function(){"use strict";var t=Object.freeze({__proto__:null,get queue(){return hn},get start(){return fn},get stop(){return vn},get track(){return an}}),e=Object.freeze({__proto__:null,get data(){return Un},get start(){return Fn},get stop(){return Gn},get upgrade(){return Vn}}),n=Object.freeze({__proto__:null,get check(){return Zn},get compute(){return Qn},get data(){return qn},get start(){return Bn},get stop(){return $n},get trigger(){return Kn}}),r=Object.freeze({__proto__:null,get compute(){return ir},get data(){return tr},get log(){return or},get reset(){return ur},get start(){return rr},get stop(){return ar},get updates(){return er}}),a=Object.freeze({__proto__:null,get compute(){return mr},get config(){return fr},get consent(){return hr},get data(){return cr},get start(){return lr},get stop(){return dr},get trackConsentv2(){return gr}}),o=Object.freeze({__proto__:null,get callback(){return jr},get callbacks(){return wr},get clear(){return Yr},get consent(){return Ir},get consentv2(){return Mr},get data(){return yr},get electron(){return br},get id(){return Nr},get metadata(){return Er},get save(){return Cr},get shortid(){return Ar},get start(){return Sr},get stop(){return Or}}),i=Object.freeze({__proto__:null,get data(){return Lr},get envelope(){return Ur},get start(){return qr},get stop(){return Rr}}),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,excludeClassNames:[],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.74";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&&Jn(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}),A=null;function H(t,e){ca()&&t&&"string"==typeof t&&t.length<255&&(A=e&&"string"==typeof e&&e.length<255?{key:t,value:e}:{value:t},Jn(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(Gr(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},Jn(25),W.gap<3e5?B=F(K,J):oa&&(H("clarityGemX","suspend"),pa(),["mousemove","touchstart"].forEach((function(t){return Br(document,t,sa)})),["resize","scroll","pageshow"].forEach((function(t){return Br(window,t,sa)})))}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(){Jn(36)}function et(){$={}}var nt=Object.freeze({__proto__:null,compute:tt,get data(){return $},reset:et,start:function(){$={}},stop:function(){$={}},track:function(t,e){if(t in $){var n=$[t],r=n[n.length-1];e-r[0]>100?$[t].push([e,0]):r[1]=e-r[0]}else $[t]=[[e,0]]}});function rt(t,e,n,r){return new(n||(n=Promise))((function(a,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 at(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 ot="CompressionStream"in window;function it(t){return rt(this,void 0,void 0,(function(){var e,n;return at(this,(function(r){switch(r.label){case 0:return r.trys.push([0,3,,4]),ot?(e=new ReadableStream({start:function(e){return rt(this,void 0,void 0,(function(){return at(this,(function(n){return e.enqueue(t),e.close(),[2]}))}))}}).pipeThrough(new TextEncoderStream).pipeThrough(new window.CompressionStream("gzip")),n=Uint8Array.bind,[4,ut(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 ut(t){return rt(this,void 0,void 0,(function(){var e,n,r,a,o;return at(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 ct=null;function st(t,e){dt(t,"string"==typeof e?[e]:e)}function lt(t,e,n,r){return void 0===e&&(e=null),void 0===n&&(n=null),void 0===r&&(r=null),rt(this,void 0,void 0,(function(){var a,o;return at(this,(function(i){switch(i.label){case 0:return o={},[4,ht(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,"*","*")),dt("userId",[(a=o).userId]),dt("userHint",[a.userHint]),dt("userType",[vt(t)]),e&&(dt("sessionId",[e]),a.sessionId=e),n&&(dt("pageId",[n]),a.pageId=n),[2,a]}var u}))}))}function dt(t,e){if(ca()&&t&&e&&"string"==typeof t&&t.length<255){for(var n=(t in ct?ct[t]:[]),r=0;r<e.length;r++)"string"==typeof e[r]&&e[r].length<255&&n.push(e[r]);ct[t]=n}}function pt(){Jn(34)}function ft(){ct={}}function ht(t){return rt(this,void 0,void 0,(function(){var e;return at(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 vt(t){return t&&t.indexOf("@")>0?"email":"string"}var gt=Object.freeze({__proto__:null,compute:pt,get data(){return ct},identify:lt,reset:ft,set:st,start:function(){ft()},stop:function(){ft()}});var mt,yt={};function wt(t){var e=t.error||t;return e.message in yt||(yt[e.message]=0),yt[e.message]++>=5||e&&e.message&&(mt={message:e.message,line:t.lineno,column:t.colno,stack:e.stack,source:t.filename},bt(31)),!0}function bt(t){return rt(this,void 0,void 0,(function(){var e;return at(this,(function(n){switch(e=[d(),t],t){case 31:e.push(mt.message),e.push(mt.line),e.push(mt.column),e.push(mt.stack),e.push(_(mt.source)),hn(e);break;case 33:_t&&(e.push(_t.code),e.push(_t.name),e.push(_t.message),e.push(_t.stack),e.push(_t.severity),hn(e,!1))}return[2]}))}))}var _t,kt={};function Tt(t,e,n,r,a){void 0===n&&(n=null),void 0===r&&(r=null),void 0===a&&(a=null);var o=n?"".concat(n,"|").concat(r):"";t in kt&&kt[t].indexOf(o)>=0||(_t={code:t,name:n,message:r,stack:a,severity:e},t in kt?kt[t].push(o):kt[t]=[o],bt(33))}var St={},xt=new Set,Ot={},Et={},Nt={},It={};function Mt(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 Ot[r]={},Et[r]={},Nt[r]={},It[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);Ot[r][u]=Ct(l);break;case 2:Et[r][u]=c;break;case 4:var d=c.slice(1);Nt[r][u]=d}}}catch(t){Tt(8,1,t?t.name:null)}}function Xt(t){return JSON.parse(JSON.stringify(t))}function Pt(){try{for(var t in Ot){var e=parseInt(t);if(""==It[e]||document.querySelector(It[e])){var n=Ot[e];for(var r in n){var a=parseInt(r),o=(m=Dt(Xt(n[a])))?JSON.stringify(m).slice(0,1e4):m;o&&jt(e,a,o)}var i=Et[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>");jt(e,s,(c?f(p).trim():p).slice(0,1e4))}}var h=Nt[e];for(var v in h){var g=parseInt(v);jt(e,g,(void h[g]).trim().slice(0,1e4))}}}xt.size>0&&Jn(40)}catch(t){Tt(5,1,t?t.name:null)}var m}function Yt(){xt.clear()}function jt(t,e,n){var r,a=!1;t in St||(St[t]={},a=!0),r=Nt[t],0==Object.keys(r).length||e in St[t]&&St[t][e]==n||(a=!0),St[t][e]=n,a&&xt.add(t)}function Ct(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 Dt(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=Dt(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=Dt(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 Ht=Object.freeze({__proto__:null,clone:Xt,compute:Pt,data:St,keys:xt,reset:Yt,start:function(){Yt()},stop:function(){Yt()},trigger:Mt,update:jt});function Wt(t,e){try{return!!t[e]}catch(t){return!1}}function zt(t){try{var e=decodeURIComponent(t);return[e!=t,e]}catch(t){}return[!1,t]}var Lt=null,qt="^";function Rt(t,e){var n;if(void 0===e&&(e=!1),Wt(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=zt(o[1]),u=i[0],c=i[1];u;)u=(n=zt(c))[0],c=n[1];return e?c.endsWith("".concat("~","1"))?c.substring(0,c.length-2):null:c}}}return null}function Ut(t,e,n){if((u.track||""==e)&&(navigator&&navigator.cookieEnabled||Wt(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===Lt){for(var c=location.hostname?location.hostname.split("."):[],s=c.length-1;s>=0;s--)if(Lt=".".concat(c[s]).concat(Lt||""),s<c.length-1&&(document.cookie="".concat(i).concat(";").concat("domain=").concat(Lt),Rt(t)===e))return;Lt=""}}catch(t){Lt=""}document.cookie=Lt?"".concat(i).concat(";").concat("domain=").concat(Lt):i}}var Ft=null;function Vt(t){try{if(!Ft)return;var e=function(t){try{return JSON.parse(t)}catch(t){return[]}}(t);e.forEach((function(t){Ft(t)}))}catch(t){}}var Gt=[D,r,gt,n,nt,Object.freeze({__proto__:null,COOKIE_SEP:qt,getCookie:Rt,setCookie:Ut,start:function(){Lt=null},stop:function(){Lt=null}}),a,o,i,t,Q,e,Ht];function Jt(){z={},L={},q(5),Gt.forEach((function(t){return Gr(t.start)()}))}function Bt(){Gt.slice().reverse().forEach((function(t){return Gr(t.stop)()})),z={},L={}}function Zt(){pt(),C(),ir(),Jn(0),tt(),Qn(),Pt(),mr()}var Kt=[],Qt=null;var $t=Object.freeze({__proto__:null,checkDocumentStyles:function(t){},compute:function(){},data:Qt,log:function(){},observe:function(){},reset:function(){},sheetAdoptionState:[],sheetUpdateState:[],start:function(){},state:Kt,stop:function(){}}),te=[],ee=null,ne=null,re=null;function ae(){te=[],ee=null,ne=null}function oe(t,e){return void 0===e&&(e=0),rt(this,void 0,void 0,(function(){var n,r,a;return at(this,(function(o){for(n=0,r=te;n<r.length;n++)if(r[n].task===t)return[2];return a=new Promise((function(n){te[1===e?"unshift":"push"]({task:t,resolve:n,id:Nr()})})),null===ee&&null===ne&&ie(),[2,a]}))}))}function ie(){var t=te.shift();t&&(ee=t,t.task().then((function(){t.id===Nr()&&(t.resolve(),ee=null,ie())})).catch((function(e){t.id===Nr()&&(e&&Tt(0,1,e.name,e.message,e.stack),ee=null,ie())})))}var ue,ce=["input","textarea","radio","button","canvas","select"],se=/VM\d/,le=[];function de(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=Cn(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=ve(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=ve(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=pe(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})}le.push({time:d(n),event:t,data:{target:c,x:o,y:i,eX:f,eY:h,button:n.button,reaction:fe(c),context:ge(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:he(c,"tagName").substring(0,10),class:he(c,"className").substring(0,50),id:he(c,"id").substring(0,25),source:u.diagnostics&&!n.isTrusted?me():0}}),oe(Ue.bind(this,t))}}function pe(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+=pe(e.childNodes[a]);return r}function fe(t){var e=he(t,"tagName");return ce.indexOf(e)>=0?0:1}function he(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 ve(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 ge(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 me(){me.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||se.test(o))&&(n=3)}return n}catch(t){return 4}}function ye(){le=[]}function we(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 be=null,_e=!1,ke=we(Te,500);function Te(){var t=document.documentElement;ue={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},_e?(V(be),be=F(Se,500,11)):(Ue(11),_e=!0)}function Se(t){oe(Ue.bind(this,t))}function xe(){ue=null,V(be),ke.cleanup()}var Oe=[],Ee=null;function Ne(t){void 0===t&&(t=null);var e=window,n=document.documentElement,r=t?Cn(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=Me(c,s),f=Me(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=Oe.length,m=g>1?Oe[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)&&Oe.pop(),Oe.push(v),V(Ee),Ee=F(Xe,500,10)}}}var Ie=we(Ne,25);function Me(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 Xe(t){oe(Ue.bind(this,t))}var Pe,Ye,je,Ce=[];function De(t){Ce.push({time:d(t),event:39,data:{target:Cn(t)}}),oe(Ue.bind(this,39))}function Ae(){Ce=[]}function He(t){Pe={name:t.type,persisted:t.persisted?1:0},Ue(26,d(t)),pa()}function We(){Pe=null}function ze(t){if(void 0===t&&(t=null),"visibilityState"in document){var e="visible"===document.visibilityState?1:0;Ye={visible:e},Ue(28,d(t))}}function Le(){Ye=null}function qe(){je=null}function Re(t){je={focused:t},Ue(50)}function Ue(t,e){return void 0===e&&(e=null),rt(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,A,H,W,z,L,q;return at(this,(function(R){switch(n=e||d(),r=[n,t],t){case 13:case 14:case 12:case 15:case 16:case 17:case 18:case 19:case 20:for(a=0,o=Kt;a<o.length;a++)z=o[a],(i=Dn(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())),hn(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=le;u<c.length;u++)z=c[u],s=Dn(z.data.target,z.event,z.data.text),r=[z.time,z.event],l=s.hash?s.hash.join("."):"",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),hn(r),Je(z.time,z.event,l,z.data.x,z.data.y,z.data.reaction,z.data.context);ye();break;case 38:for(p=0,f=Kt;p<f.length;p++)z=f[p],r=[z.time,z.event],(A=Dn(z.data.target,z.event)).id>0&&(r.push(A.id),r.push(z.data.action),hn(r));break;case 11:h=ue,r.push(h.width),r.push(h.height),X(t,h.width,h.height),xe(),hn(r);break;case 26:v=Pe,r.push(v.name),r.push(v.persisted),We(),hn(r);break;case 27:for(g=0,m=Kt;g<m.length;g++)z=m[g],y=Dn(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),hn(r);break;case 21:(w=Qt)&&(k=Dn(w.start),T=Dn(w.end),r.push(k.id),r.push(w.startOffset),r.push(T.id),r.push(w.endOffset),hn(r));break;case 10:for(S=0,x=Oe;S<x.length;S++)z=x[S],O=Dn(z.data.target,z.event),E=Dn(z.data.top,z.event),N=Dn(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),hn(r),X(z.event,z.data.x,z.data.y,z.time));Oe=[];break;case 42:for(P=0,j=Kt;P<j.length;P++)z=j[P],r=[z.time,z.event],(A=Dn(z.data.target,z.event)).id>0&&((r=[z.time,z.event]).push(A.id),r.push(z.data.type),r.push(b(z.data.value,"change",A.privacy)),r.push(b(z.data.checksum,"checksum",A.privacy)),hn(r));break;case 39:for(C=0,D=Ce;C<D.length;C++)z=D[C],r=[z.time,z.event],(A=Dn(z.data.target,z.event)).id>0&&(r.push(A.id),hn(r));Ae();break;case 22:for(H=0,W=Ve;H<W.length;H++)z=W[H],(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),hn(r,!1);Ge();break;case 28:L=Ye,r.push(L.visible),hn(r),Y(n,L.visible),Le();break;case 50:q=je,r.push(q.focused),hn(r,!1),qe()}return[2]}))}))}var Fe=[],Ve=[];function Ge(){Ve=[]}function Je(t,e,n,r,a,o,i){void 0===o&&(o=1),void 0===i&&(i=0),Fe.push({time:t,event:22,data:{type:e,hash:n,x:r,y:a,reaction:o,context:i}}),X(e,r,a,t)}var Be=[],Ze=!1,Ke=null;function Qe(t){Ze&&"function"==typeof t&&Be.push(t)}function $e(t){if(Ze){var e=t?t.split(" "):[""],n=e.length>1?parseInt(e[1],10):null;n&&Ke.has(n)||function(t,e){try{var n=document.createElement("script");n.src=t,n.async=!0,n.onload=function(){e&&(Ke.add(e),j(Ke))},n.onerror=function(){Vr(new Error("".concat("MODULE",": ").concat(t)))},document.head.appendChild(n)}catch(t){}}(e[0],n)}}var tn,en,nn,rn,an,on,un=Object.freeze({__proto__:null,event:$e,register:Qe,start:function(){Ze=!0,Ke=new Set,u.modules&&u.modules.length>0&&u.modules.forEach((function(t){$e(t)}))},stop:function(){Be.reverse().forEach((function(t){try{t()}catch(t){}})),Be=[],Ze=!1}}),cn=0,sn=0,ln=null,dn=0,pn=!1;function fn(){rn=!0,cn=0,sn=0,pn=!1,dn=0,tn=[],en=[],nn={},an=null}function hn(t,e){if(void 0===e&&(e=!0),rn){var n=d(),r=t.length>1?t[1]:null,a=JSON.stringify(t);switch(u.lean?!pn&&sn+a.length>10485760&&(Tt(10,0),pn=!0):pn=!1,r){case 5:if(pn)break;cn+=a.length;case 37:case 6:case 43:case 45:case 46:case 44:case 51:if(pn)break;sn+=a.length,tn.push(a);break;default:en.push(a)}q(25);var o=function(){var t=!1===u.lean&&cn>0?100:Lr.sequence*u.delay;return"string"==typeof u.upload?Math.max(Math.min(t,3e4),100):u.delay}();n-dn>2*o&&(V(ln),ln=null),e&&null===ln&&(25!==r&&Z(),ln=F(gn,o),dn=n,Zn(sn))}}function vn(){V(ln),gn(!0),cn=0,sn=0,pn=!1,dn=0,tn=[],en=[],nn={},an=null,rn=!1}function gn(t){return void 0===t&&(t=!1),rt(this,void 0,void 0,(function(){var e,n,r,a,o,i,c,s;return at(this,(function(l){switch(l.label){case 0:return rn?(ln=null,(e=!1===u.lean&&sn>0&&(sn<1048576||Lr.sequence>0))&&U(1,1),function(){if(Lr){var t=[];Ve=[];for(var e=(Lr.start||0)+(Lr.duration||0),n=Math.max(e-2e3,0),r=0,a=Fe;r<a.length;r++){var o=a[r];o.time>=n&&(o.time<=e&&Ve.push(o),t.push(o))}Fe=t,Ue(22)}}(),Zt(),n=!0===t,Lr?(r=JSON.stringify(Ur(n)),a="[".concat(en.join(),"]"),o=e?"[".concat(tn.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,it(i)];case 2:s=l.sent(),l.label=3;case 3:return R(2,(c=s)?c.length:i.length),mn(i,c,Lr.sequence,n),en=[],e&&(tn=[],sn=0,cn=0,pn=!1),[2]}}))}))}function mn(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))&&wn(n)}catch(t){}if(!1===o){n in nn?nn[n].attempts++:nn[n]={data:t,attempts:1};var i=new XMLHttpRequest;i.open("POST",a,!0),i.timeout=15e3,i.ontimeout=function(){Vr(new Error("".concat("Timeout"," : ").concat(a)))},null!==n&&(i.onreadystatechange=function(){Gr(yn)(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),wn(n)}}function yn(t,e){var n=nn[e];t&&4===t.readyState&&n&&((t.status<200||t.status>208)&&n.attempts<=1?t.status>=400&&t.status<500?Kn(6):(0===t.status&&(u.upload=u.fallback?u.fallback:u.upload),an={sequence:e,attempts:n.attempts,status:t.status},Jn(2),mn(n.data,null,e)):(an={sequence:e,attempts:n.attempts,status:t.status},n.attempts>1&&Jn(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":Kn(6);break;case"UPGRADE":Vn("Auto");break;case"ACTION":u.action&&o.length>1&&u.action(o[1]);break;case"EXTRACT":o.length>1&&Mt(o[1]);break;case"SIGNAL":o.length>1&&Vt(o[1]);break;case"MODULE":o.length>1&&$e(o[1]);break;case"SNAPSHOT":u.lean=!1,An()}}}(t.responseText),0===t.status&&(mn(n.data,null,e,!0),Kn(3)),t.status>=200&&t.status<=208&&wn(e),delete nn[e]))}function wn(t){1===t&&(Cr(),jr())}function bn(t){return rt(this,void 0,void 0,(function(){var e,n,r,a,o,i,u,c,s,l,p,f,h;return at(this,(function(v){switch(e=d(),n=[e,t],t){case 8:r=on,n.push(r.width),n.push(r.height),X(t,r.width,r.height),hn(n);break;case 43:if((a=Nn).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(_n(h,s[f][h],c,s.tag));break;case"value":n.push(b(s[f],s.tag,c))}hn(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 _n(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 kn(){on=null}function Tn(){var t,e,n,r,a,o,i,u,c,s,l,d,p,f,h,v;kn(),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!==on&&c===on.width&&v===on.height||null===c||null===v||(on={width:c,height:v},bn(8))}var Sn=!1;function xn(t){t&&t.persisted&&(da(),Tt(11,0))}function On(t){!function(t){Br(t===document?window:t,"scroll",Ie,!0)}(t),t.nodeType===Node.DOCUMENT_NODE&&(function(t){Br(t,"click",de.bind(this,9,t),!0),Br(t,"contextmenu",de.bind(this,48,t),!0)}(t),function(t){Br(t,"submit",De,!0)}(t))}var En=Object.freeze({__proto__:null,observe:On,start:function(){Fe=[],Ge(),ye(),_e=!1,Br(window,"resize",ke),Te(),Br(document,"visibilitychange",ze),ze(),Br(window,"focus",(function(){return Re(1)})),Br(window,"blur",(function(){return Re(0)})),function(){if(!Sn)try{window[c("addEventListener")]("pageshow",Gr(xn),{capture:!1,passive:!0}),Sn=!0}catch(t){}}(),Oe=[],Ne(),Ae(),Br(window,"pagehide",He)},stop:function(){Fe=[],Ge(),ye(),xe(),Le(),qe(),V(Ee),Ie.cleanup(),Oe=[],Ae(),We()}}),Nn=[],In=1,Mn=null;function Xn(){Hn(),Tn(),zn(document.documentElement),On(document)}function Pn(){return!1}function Yn(){return{x:0,y:0}}function jn(){}function Cn(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 Dn(t){var e={id:0,hash:null,privacy:u.conversions?1:5};return t&&(e.id=Mn.has(t)?Mn.get(t):zn(t)),e}function An(){Nn=[],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=Mn.get(u)?"*T":r;break;case Node.ELEMENT_NODE:var s=o;n=Wn(s),r=["NOSCRIPT","SCRIPT","STYLE"].indexOf(s.tagName)<0?s.tagName:r}Ln(o,u,{tag:r,attributes:n,value:a})}}(document),bn(43)}function Hn(){Mn=new WeakMap}function Wn(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 zn(t){return null===t?null:Mn.has(t)?Mn.get(t):(Mn.set(t,In),In++)}function Ln(t,e,n){if(t&&n&&n.tag){var r=zn(t),a=e?Mn.get(e):null,o=t.previousSibling?Mn.get(t.previousSibling):null;Nn.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 qn,Rn=Object.freeze({__proto__:null,compute:function(){},get:function(t){return null},hashText:jn,iframe:Pn,metadata:Dn,offset:Yn,snapshot:An,start:Xn,stop:function(){Hn(),kn()},target:Cn,get values(){return Nn}}),Un=null;function Fn(){!u.lean&&u.upgrade&&u.upgrade("Config"),Un=null}function Vn(t){ca()&&u.lean&&(u.lean=!1,Un={key:t},jr(),Cr(),u.upgrade&&u.upgrade(t),Jn(3),u.lite&&Xn())}function Gn(){Un=null}function Jn(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),hn(e,!1)),M();break;case 25:e.push(W.gap),hn(e);break;case 35:e.push(qn.check),hn(e,!1);break;case 3:e.push(Un.key),hn(e);break;case 2:e.push(an.sequence),e.push(an.attempts),e.push(an.status),hn(e,!1);break;case 24:A.key&&e.push(A.key),e.push(A.value),hn(e);break;case 34:var r=Object.keys(ct);if(r.length>0){for(var a=0,o=r;a<o.length;a++){var i=o[a];e.push(i),e.push(ct[i])}ft(),hn(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={},hn(e,!1)}break;case 1:var f=Object.keys(er);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(er[g])}ur(),hn(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(),hn(e,!1)}break;case 40:xt.forEach((function(t){e.push(t);var n=[];for(var r in St[t]){var a=parseInt(r,10);n.push(a),n.push(St[t][r])}e.push(n)})),Yt(),hn(e,!1);break;case 47:e.push(cr.source),e.push(cr.ad_Storage),e.push(cr.analytics_Storage),hn(e,!1)}}function Bn(){qn={check:0}}function Zn(t){if(0===qn.check){var e=qn.check;e=Lr.sequence>=128?1:e,e=Lr.pageNum>=128?7:e,e=d()>72e5?2:e,(e=t>10485760?2:e)!==qn.check&&Kn(e)}}function Kn(t){qn.check=t,5!==t&&(Yr(),pa())}function Qn(){0!==qn.check&&Jn(35)}function $n(){qn=null}var tr=null,er=null,nr=!1;function rr(){tr={},er={},nr=!1}function ar(){tr={},er={},nr=!1}function or(t,e){if(e&&(e="".concat(e),t in tr||(tr[t]=[]),tr[t].indexOf(e)<0)){if(tr[t].length>128)return void(nr||(nr=!0,Kn(5)));tr[t].push(e),t in er||(er[t]=[]),er[t].push(e)}}function ir(){Jn(1)}function ur(){er={},nr=!1}var cr=null,sr=!0;function lr(){var t,e=null===(t=window.google_tag_data)||void 0===t?void 0:t.ics;sr=!0,(null==e?void 0:e.addListener)&&e.addListener(["ad_storage","analytics_storage"],pr)}function dr(){sr=!0}function pr(){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");Mr(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 fr(t){vr(t.analytics_Storage?1:0),cr=t}function hr(){vr(2)}function vr(t){or(36,t.toString())}function gr(t){cr=t,Jn(47)}function mr(){var t;if(sr&&(Jn(47),sr=!1,!u.track)){var e=null===(t=window.google_tag_data)||void 0===t?void 0:t.ics;(null==e?void 0:e.usedUpdate)&&pr()}}var yr=null,wr=[],br=0,_r=null,kr=!1,Tr={source:7,ad_Storage:"denied",analytics_Storage:"denied"};function Sr(){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:"";br=r.indexOf("Electron")>0?1:0;var s=function(){var t={session:Ar(),ts:Math.round(Date.now()),count:1,upgrade:null,upload:""},e=Rt("_clsk",!u.includeSubdomains);if(e){var n=e.includes("^")?e.split("^"):e.split("|");n.length>=5&&t.ts-Hr(n[1])<18e5&&(t.session=n[0],t.count=Hr(n[2])+1,t.upgrade=Hr(n[3]),t.upload=n.length>=6?"".concat("https://").concat(n[5],"/").concat(n[4]):"".concat("https://").concat(n[4]))}return t}(),l=Wr(),d=u.projectId||f(location.host),p=u.externalSession&&u.userId?u.userId:l.id,h=u.externalSession&&u.sessionId?u.sessionId:s.session;yr={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,or(0,r),or(3,c),or(1,_(location.href,!!br)),or(2,document.referrer),or(15,function(){var t=Ar();if(u.track&&Wt(window,"sessionStorage")){var e=sessionStorage.getItem("_cltk");t=e||t,sessionStorage.setItem("_cltk",t)}return t}()),or(16,document.documentElement.lang),or(17,document.dir),or(26,"".concat(window.devicePixelRatio)),or(28,l.dob.toString()),or(29,l.version.toString()),or(33,i),or(34,a),or(35,o),U(0,s.ts),U(1,0),U(35,br);var v,g=null===window||void 0===window?void 0:window.Zone;g&&"__symbol__"in g&&U(39,1),navigator&&(or(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;or(22,t.platform),or(23,t.platformVersion),null===(e=t.brands)||void 0===e||e.forEach((function(t){or(24,t.name+"~"+t.version)})),or(25,t.model),U(27,t.mobile?1:0)})):or(22,navigator.platform)),screen&&(U(14,Math.round(screen.width)),U(15,Math.round(screen.height)),U(16,Math.round(screen.colorDepth))),null===_r&&(_r={source:l.consent?6:0,ad_Storage:u.track?"granted":"denied",analytics_Storage:u.track?"granted":"denied"}),xr(),fr(Xr(_r)),u.externalSession||Dr(l)}function xr(){if(!kr&&"granted"===(null==_r?void 0:_r.analytics_Storage)&&"granted"===(null==_r?void 0:_r.ad_Storage)){for(var t=0,e=u.cookies;t<e.length;t++){var n=e[t],r=Rt(n);r&&st(n,r)}kr=!0}}function Or(){yr=null,kr=!1,wr.forEach((function(t){t.called=!1}))}function Er(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;yr&&(a||!1===e)&&(t(yr,!u.lean,r?_r:void 0),o=!0),!n&&o||wr.push({callback:t,wait:e,recall:n,called:o,consentInfo:r})}function Nr(){return yr?[yr.userId,yr.sessionId,yr.pageNum].join("."):""}function Ir(t){void 0===t&&(t=!0),Mr(t?{source:4,ad_Storage:"granted",analytics_Storage:"granted"}:{source:4,ad_Storage:"denied",analytics_Storage:"denied"})}function Mr(t,e){var n;if(void 0===t&&(t=Tr),void 0===e&&(e=5),ca()){var r={source:null!==(n=t.source)&&void 0!==n?n:e,ad_Storage:Pr(t.ad_Storage,null==_r?void 0:_r.ad_Storage),analytics_Storage:Pr(t.analytics_Storage,null==_r?void 0:_r.analytics_Storage)};if(_r&&r.ad_Storage===_r.ad_Storage&&r.analytics_Storage===_r.analytics_Storage)return _r.source=r.source,gr(Xr(_r)),void hr();_r=r,jr(!0);var a=Xr(_r);if(!a.analytics_Storage&&u.track)return u.track=!1,Yr(!0),pa(),void window.setTimeout(da,250);ca()&&a.analytics_Storage&&(u.track=!0,Dr(Wr(),1),Cr()),xr(),gr(a),hr()}}function Xr(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 Pr(t,e){return void 0===e&&(e="denied"),"string"==typeof t?t.toLowerCase():e}function Yr(t){void 0===t&&(t=!1),Ut("_clsk","",0),t&&Ut("_clck","",0)}function jr(t){void 0===t&&(t=!1),function(t,e){void 0===e&&(e=!1);if(wr.length>0)for(var n=0;n<wr.length;n++){var r=wr[n];r.callback&&(!r.called&&!e||r.consentInfo&&e)&&(!r.wait||t)&&(r.callback(yr,!u.lean,r.consentInfo?_r:void 0),r.called=!0,r.recall||(wr.splice(n,1),n--))}}(u.lean?0:1,t)}function Cr(){if(yr&&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;Ut("_clsk",[yr.sessionId,t,yr.pageNum,n,e].join(qt),1)}}function Dr(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)&&Ut("_clck",[yr.userId,2,n.toString(36),e,r].join(qt),365)}function Ar(){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 Hr(t,e){return void 0===e&&(e=10),parseInt(t,e)}function Wr(){var t={id:Ar(),version:0,expiry:null,consent:0,dob:0},e=Rt("_clck",!u.includeSubdomains);if(e&&e.length>0){var n=e.includes("^")?e.split("^"):e.split("|");n.length>1&&(t.version=Hr(n[1])),n.length>2&&(t.expiry=Hr(n[2],36)),n.length>3&&1===Hr(n[3])&&(t.consent=1),n.length>4&&Hr(n[1])>1&&(t.dob=Hr(n[4])),u.track=u.track||1===t.consent,t.id=u.track?n[0]:t.id}return t}var zr,Lr=null;function qr(){var t=yr;Lr={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 Rr(){Lr=null}function Ur(t){return Lr.start=Lr.start+Lr.duration,Lr.duration=d()-Lr.start,Lr.sequence++,Lr.upload=t&&"sendBeacon"in navigator?1:0,Lr.end=t?1:0,Lr.applicationPlatform=0,Lr.url=_(location.href,!1,!0),[Lr.version,Lr.sequence,Lr.start,Lr.duration,Lr.projectId,Lr.userId,Lr.sessionId,Lr.pageNum,Lr.upload,Lr.end,Lr.applicationPlatform,Lr.url]}function Fr(){zr=[]}function Vr(t){if(zr&&-1===zr.indexOf(t.message)){var e=u.report;if(e&&e.length>0&&Lr){var n={v:Lr.version,p:Lr.projectId,u:Lr.userId,s:Lr.sessionId,n:Lr.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)),zr.push(t.message)}}return t}function Gr(t){return function(){var e=performance.now();try{t.apply(this,arguments)}catch(t){throw Vr(t)}var n=performance.now()-e;R(4,n),n>30&&(q(7),U(6,n),t.dn&&Tt(9,0,"".concat(t.dn,"-").concat(n)))}}var Jr=new Map;function Br(t,e,n,r,a){void 0===r&&(r=!1),void 0===a&&(a=!0),n=Gr(n);try{t[c("addEventListener")](e,n,{capture:r,passive:a}),function(t){return Jr.has(t)}(t)||Jr.set(t,[]),Jr.get(t).push({event:e,listener:n,options:{capture:r,passive:a}})}catch(t){}}function Zr(){Jr.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){}})),Jr.delete(e)}(t,e)})),Jr=new Map}var Kr=null,Qr=null,$r=null,ta=0;function ea(){return!(ta++>20)||(Tt(4,0),!1)}function na(){ta=0,$r!==aa()&&(pa(),window.setTimeout(ra,250))}function ra(){da(),U(29,1)}function aa(){return location.href?location.href.replace(location.hash,""):location.href}var oa=!1;function ia(){oa=!0,s=l(),ae(),Zr(),Fr(),function(){if($r=aa(),ta=0,Br(window,"popstate",na),null===Kr)try{Kr=history.pushState,history.pushState=function(){Kr.apply(this,arguments),ca()&&ea()&&na()}}catch(t){Kr=null}if(null===Qr)try{Qr=history.replaceState,history.replaceState=function(){Qr.apply(this,arguments),ca()&&ea()&&na()}}catch(t){Qr=null}}()}function ua(){$r=null,ta=0,Fr(),Zr(),ae(),s=0,oa=!1}function ca(){return oa}function sa(){da(),H("clarityGemX","restart")}var la=[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)}}(),Br(window,"error",wt),yt={},kt={}},stop:function(){kt={}}}),Rn,En,$t,un];function da(t){void 0===t&&(t=null),function(){try{var t=navigator&&"globalPrivacyControl"in navigator&&1==navigator.globalPrivacyControl;return!1===oa&&"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||oa)return!1;for(var e in t)e in u&&(u[e]=t[e])}(t),ia(),Jt(),la.forEach((function(t){return Gr(t.start)()})),null===t&&ga())}function pa(){ca()&&(la.slice().reverse().forEach((function(t){return Gr(t.stop)()})),Bt(),ua(),void 0!==ha&&(ha[va]=function(){(ha[va].q=ha[va].q||[]).push(arguments),"start"===arguments[0]&&ha[va].q.unshift(ha[va].q.pop())&&ga()}))}var fa=Object.freeze({__proto__:null,consent:Ir,consentv2:Mr,dlog:or,event:H,hashText:jn,identify:lt,maxMetric:U,measure:Gr,metadata:Er,pause:function(){ca()&&(H("clarityGemX","pause"),null===ne&&(ne=new Promise((function(t){re=t}))))},queue:hn,register:Qe,resume:function(){ca()&&(ne&&(re(),ne=null,null===ee&&ie()),H("clarityGemX","resume"))},schedule:oe,set:st,signal:function(t){Ft=t},start:da,stop:pa,time:d,upgrade:Vn,version:p}),ha=window,va="clarityGemX";function ga(){if(void 0!==ha){if(ha[va]&&ha[va].v)return console.warn("Error CL001: Multiple Clarity tags detected.");var t=ha[va]&&ha[va].q||[];for(ha[va]=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return fa[t].apply(fa,e)},ha[va].v=p;t.length>0;)ha[va].apply(ha,t.shift())}}ga()}();
package/build/clarity.js CHANGED
@@ -212,7 +212,7 @@ function stop$K() {
212
212
  startTime = 0;
213
213
  }
214
214
 
215
- var version$1 = "0.8.72";
215
+ var version$1 = "0.8.74";
216
216
 
217
217
  // tslint:disable: no-bitwise
218
218
  function hash (input, precision) {
@@ -1444,6 +1444,7 @@ function observe$b(root) {
1444
1444
  bind(root, "contextmenu", handler$4.bind(this, 48 /* Event.ContextMenu */, root), true);
1445
1445
  }
1446
1446
  function handler$4(event, root, evt) {
1447
+ var _a;
1447
1448
  var frame = iframe(root);
1448
1449
  var d = frame && frame.contentDocument ? frame.contentDocument.documentElement : document.documentElement;
1449
1450
  var x = "pageX" in evt ? Math.round(evt.pageX) : ("clientX" in evt ? Math.round(evt["clientX"] + d.scrollLeft) : null);
@@ -1473,6 +1474,21 @@ function handler$4(event, root, evt) {
1473
1474
  // Check for null values before processing this event
1474
1475
  if (x !== null && y !== null) {
1475
1476
  var textInfo = text(t);
1477
+ if (config$3.diagnostics) {
1478
+ var el = t;
1479
+ console.log("[clarity:click] text debug", {
1480
+ tag: el === null || el === void 0 ? void 0 : el.tagName,
1481
+ id: (el === null || el === void 0 ? void 0 : el.id) || null,
1482
+ class: (el === null || el === void 0 ? void 0 : el.className) || null,
1483
+ rawTextContent: ((_a = el === null || el === void 0 ? void 0 : el.textContent) === null || _a === void 0 ? void 0 : _a.replace(/\s+/g, " ").trim().substring(0, 100)) || null,
1484
+ inputValue: (el === null || el === void 0 ? void 0 : el.value) || null,
1485
+ altText: (el === null || el === void 0 ? void 0 : el.alt) || null,
1486
+ resolvedText: textInfo.text,
1487
+ isFullText: textInfo.isFullText,
1488
+ x: x,
1489
+ y: y,
1490
+ });
1491
+ }
1476
1492
  state$9.push({
1477
1493
  time: time(evt),
1478
1494
  event: event,
@@ -1513,12 +1529,29 @@ function link(node) {
1513
1529
  }
1514
1530
  return null;
1515
1531
  }
1532
+ function textContent(element) {
1533
+ if (element.nodeType !== Node.ELEMENT_NODE) {
1534
+ return element.textContent || "";
1535
+ }
1536
+ var el = element;
1537
+ var tag = el.tagName;
1538
+ // Skip script/style nodes — their content is code, not visible text
1539
+ if (tag === "SCRIPT" || tag === "STYLE" || tag === "NOSCRIPT") {
1540
+ return "";
1541
+ }
1542
+ var result = "";
1543
+ for (var i = 0; i < el.childNodes.length; i++) {
1544
+ result += textContent(el.childNodes[i]);
1545
+ }
1546
+ return result;
1547
+ }
1516
1548
  function text(element) {
1517
1549
  var output = null;
1518
1550
  var isFullText = false;
1519
1551
  if (element) {
1520
- // Grab text using "textContent" for most HTMLElements, however, use "value" for HTMLInputElements and "alt" for HTMLImageElement.
1521
- var t = element.textContent || String(element.value || '') || element.alt;
1552
+ // Grab text using visible textContent (excludes script/style) for most HTMLElements,
1553
+ // use "value" for HTMLInputElements and "alt" for HTMLImageElement.
1554
+ var t = textContent(element) || String(element.value || '') || element.alt;
1522
1555
  if (t) {
1523
1556
  // Replace multiple occurrence of space characters with a single white space
1524
1557
  // Also, trim any spaces at the beginning or at the end of string