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