clarity-js 0.8.9-beta → 0.8.10-beta
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 +24 -4
- package/build/clarity.min.js +1 -1
- package/build/clarity.module.js +24 -4
- package/build/clarity.performance.js +1 -1
- package/package.json +1 -1
- package/src/core/version.ts +1 -1
- package/src/data/upload.ts +15 -1
- package/src/interaction/encode.ts +5 -3
- package/src/interaction/pointer.ts +2 -1
- package/src/layout/style.ts +2 -2
- package/types/data.d.ts +2 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(){"use strict";var e=Object.freeze({__proto__:null,get add(){return Oi},get get(){return Pi},get getId(){return Si},get getNode(){return Di},get getValue(){return Ri},get has(){return Xi},get hashText(){return Ci},get iframe(){return Mi},get iframeContent(){return Ni},get lookup(){return Ai},get parse(){return ki},get removeIFrame(){return xi},get sameorigin(){return Ei},get start(){return vi},get stop(){return bi},get update(){return Ti},get updates(){return Yi}}),t=Object.freeze({__proto__:null,get queue(){return ya},get start(){return ga},get stop(){return va},get track(){return da}}),n=Object.freeze({__proto__:null,get data(){return Ba},get start(){return Ja},get stop(){return Ga},get upgrade(){return Ka}}),i=Object.freeze({__proto__:null,get check(){return er},get compute(){return nr},get data(){return Va},get start(){return Qa},get stop(){return ir},get trigger(){return tr}}),a=Object.freeze({__proto__:null,get compute(){return cr},get data(){return ar},get log(){return sr},get reset(){return dr},get start(){return lr},get stop(){return ur},get updates(){return rr}}),r=Object.freeze({__proto__:null,get callback(){return Or},get callbacks(){return hr},get clear(){return Sr},get consent(){return kr},get data(){return fr},get electron(){return mr},get id(){return wr},get metadata(){return br},get save(){return Tr},get shortid(){return Nr},get start(){return yr},get stop(){return vr}}),o=Object.freeze({__proto__:null,get data(){return Pr},get envelope(){return Yr},get start(){return Ar},get stop(){return Xr}});let l={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(e){return window.Zone&&"__symbol__"in window.Zone?window.Zone.__symbol__(e):e}let s=0;function c(e=null){let t=e&&e.timeStamp>0?e.timeStamp:performance.now(),n=e&&e.view?e.view.performance.timeOrigin:performance.timeOrigin;return Math.max(Math.round(t+n-s),0)}let d="0.8.9-beta";function p(e,t=null){let n=0,i=5381,a=i;for(let t=0;t<e.length;t+=2){if(i=(i<<5)+i^e.charCodeAt(t),t+1<e.length){a=(a<<5)+a^e.charCodeAt(t+1)}}return n=Math.abs(i+11579*a),(t?n%Math.pow(2,t):n).toString(36)}const f=/\S/gi,h=255;let m=!0,g=null,y=null,v=null;function b(e,t,n,i=!1,a){if(e){if("input"==t&&("checkbox"===a||"radio"===a))return e;switch(n){case 0:return e;case 1:switch(t){case"*T":case"value":case"placeholder":case"click":return function(e){let t=-1,n=0,i=!1,a=!1,r=!1,o=null;E();for(let l=0;l<e.length;l++){let u=e.charCodeAt(l);if(i=i||u>=48&&u<=57,a=a||64===u,r=9===u||10===u||13===u||32===u,0===l||l===e.length-1||r){if(i||a){null===o&&(o=e.split(""));let i=e.substring(t+1,r?l:l+1);i=m&&null!==v?i.match(v)?i:O(i,"▪","▫"):S(i),o.splice(t+1-n,i.length,i),n+=i.length-1}r&&(i=!1,a=!1,t=l)}}return o?o.join(""):e}(e);case"input":case"change":return T(e)}return e;case 2:case 3:switch(t){case"*T":case"data-":return i?k(e):S(e);case"src":case"srcset":case"title":case"alt":return 3===n?"":e;case"value":case"click":case"input":case"change":return T(e);case"placeholder":return S(e)}break;case 4:switch(t){case"*T":case"data-":return i?k(e):S(e);case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":return""}break;case 5:switch(t){case"*T":case"data-":return O(e,"▪","▫");case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":case"src":case"srcset":case"alt":case"title":return""}}}return e}function w(e,t=!1,n=!1){let i=e;if(t)i="https://Electron";else{let t=l.drop;if(t&&t.length>0&&e&&e.indexOf("?")>0){let[n,a]=e.split("?"),r="*na*";i=n+"?"+a.split("&").map((e=>t.some((t=>0===e.indexOf(`${t}=`)))?`${e.split("=")[0]}=${r}`:e)).join("&")}}return n&&(i=i.substring(0,h)),i}function k(e){let t=e.trim();if(t.length>0){let n=t[0],i=e.indexOf(n),a=e.substr(0,i),r=e.substr(i+t.length);return`${a}${t.length.toString(36)}${r}`}return e}function S(e){return e.replace(f,"•")}function O(e,t,n){return E(),e?e.replace(y,t).replace(g,n):e}function T(e){let t=5*(Math.floor(e.length/5)+1),n="";for(let e=0;e<t;e++)n+=e>0&&e%5==0?" ":"•";return n}function E(){if(m&&null===g)try{g=new RegExp("\\p{N}","gu"),y=new RegExp("\\p{L}","gu"),v=new RegExp("\\p{Sc}","gu")}catch(e){m=!1}}let M=null,N=null,x=!1;function _(){x&&(M={time:c(),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}}),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}}function I(e,t,n,i){switch(e){case 8:N.docWidth=t,N.docHeight=n;break;case 11:N.screenWidth=t,N.screenHeight=n;break;case 10:N.scrollX=t,N.scrollY=n,N.scrollTime=i;break;case 12:N.moveX=t,N.moveY=n,N.moveTime=i,N.pointerPrevX=N.pointerX,N.pointerPrevY=N.pointerY,N.pointerPrevTime=N.pointerTime,N.pointerX=t,N.pointerY=n,N.pointerTime=i;break;case 13:N.downX=t,N.downY=n,N.downTime=i,N.pointerPrevX=N.pointerX,N.pointerPrevY=N.pointerY,N.pointerPrevTime=N.pointerTime,N.pointerX=t,N.pointerY=n,N.pointerTime=i;break;case 14:N.upX=t,N.upY=n,N.upTime=i,N.pointerPrevX=N.pointerX,N.pointerPrevY=N.pointerY,N.pointerPrevTime=N.pointerTime,N.pointerX=t,N.pointerY=n,N.pointerTime=i;break;default:N.pointerPrevX=N.pointerX,N.pointerPrevY=N.pointerY,N.pointerPrevTime=N.pointerTime,N.pointerX=t,N.pointerY=n,N.pointerTime=i}x=!0}function C(e){N.activityTime=e}function D(e,t){N.visible="visible"===t?1:0,N.visible||C(e),x=!0}function R(){x&&Za(4)}var P=Object.freeze({__proto__:null,activity:C,compute:R,reset:_,start:function(){x=!1,_()},get state(){return M},stop:function(){_()},track:I,visibility:D});let A=null;function X(e,t){ao()&&e&&"string"==typeof e&&e.length<255&&(A=t&&"string"==typeof t&&t.length<255?{key:e,value:t}:{value:e},Za(24))}let Y,j=null,$=null;function L(e){e in j||(j[e]=0),e in $||($[e]=0),j[e]++,$[e]++}function W(e,t){null!==t&&(e in j||(j[e]=0),e in $||($[e]=0),j[e]+=t,$[e]+=t)}function z(e,t){null!==t&&!1===isNaN(t)&&(e in j||(j[e]=0),(t>j[e]||0===j[e])&&($[e]=t,j[e]=t))}function H(e,t,n){return window.setTimeout(Lr(e),t,n)}function q(e){return window.clearTimeout(e)}let U=0,F=0,V=null;function B(){V&&q(V),V=H(J,F),U=c()}function J(){let e=c();Y={gap:e-U},Za(25),Y.gap<3e5?V=H(J,F):to&&(X("clarity","suspend"),Io(),["mousemove","touchstart"].forEach((e=>zr(document,e,ro))),["resize","scroll","pageshow"].forEach((e=>zr(window,e,ro))))}var K=Object.freeze({__proto__:null,get data(){return Y},reset:B,start:function(){F=6e4,U=0},stop:function(){q(V),U=0,F=0}});let G=null;function Z(e,t){if(e in G){let n=G[e],i=n[n.length-1];t-i[0]>100?G[e].push([t,0]):i[1]=t-i[0]}else G[e]=[[t,0]]}function Q(){Za(36)}function ee(){G={}}var te=Object.freeze({__proto__:null,compute:Q,get data(){return G},reset:ee,start:function(){G={}},stop:function(){G={}},track:Z});const ne="CompressionStream"in window;let ie=null;function ae(e,t){oe(e,"string"==typeof t?[t]:t)}async function re(e,t=null,n=null,i=null){let a={userId:await se(e),userHint:i||(r=e,r&&r.length>=5?`${r.substring(0,2)}${O(r.substring(2),"*","*")}`:O(r,"*","*"))};var r;return oe("userId",[a.userId]),oe("userHint",[a.userHint]),oe("userType",[ce(e)]),t&&(oe("sessionId",[t]),a.sessionId=t),n&&(oe("pageId",[n]),a.pageId=n),a}function oe(e,t){if(ao()&&e&&t&&"string"==typeof e&&e.length<255){let n=e in ie?ie[e]:[];for(let e=0;e<t.length;e++)"string"==typeof t[e]&&t[e].length<255&&n.push(t[e]);ie[e]=n}}function le(){Za(34)}function ue(){ie={}}async function se(e){try{if(crypto&&e){const t=await crypto.subtle.digest("SHA-256",(new TextEncoder).encode(e));return Array.prototype.map.call(new Uint8Array(t),(e=>("00"+e.toString(16)).slice(-2))).join("")}return""}catch(e){return""}}function ce(e){return e&&e.indexOf("@")>0?"email":"string"}var de=Object.freeze({__proto__:null,compute:le,get data(){return ie},identify:re,reset:ue,set:ae,start:function(){ue()},stop:function(){ue()}});let pe={},fe=new Set,he={},me={},ge={},ye={};function ve(e){try{var t=e&&e.length>0?e.split(/ (.*)/):[""],n=t[0].split(/\|(.*)/),i=parseInt(n[0]),a=n.length>1?n[1]:"",r=t.length>1?JSON.parse(t[1]):{};for(var o in he[i]={},me[i]={},ge[i]={},ye[i]=a,r){let e=parseInt(o),t=r[o],n=2;switch(t.startsWith("~")?n=0:t.startsWith("!")&&(n=4),n){case 0:let n=t.slice(1);he[i][e]=Oe(n);break;case 2:me[i][e]=t;break;case 4:let a=t.slice(1);ge[i][e]=a}}}catch(e){_a(8,1,e?e.name:null)}}function be(e){return JSON.parse(JSON.stringify(e))}function we(){try{for(let t in he){let n=parseInt(t);if(""==ye[n]||document.querySelector(ye[n])){let t=he[n];for(let i in t){let a=parseInt(i),r=(e=Te(be(t[a])))?JSON.stringify(e).slice(0,1e4):e;r&&Se(n,a,r)}let i=me[n];for(let e in i){let t=!1,a=parseInt(e),r=i[a];r.startsWith("@")&&(t=!0,r=r.slice(1));let o=document.querySelectorAll(r);if(o){let e=Array.from(o).map((e=>e.textContent)).join("<SEP>");Se(n,a,(t?p(e).trim():e).slice(0,1e4))}}let a=ge[n];for(let e in a){let t=parseInt(e);Se(n,t,Ci(a[t]).trim().slice(0,1e4))}}}fe.size>0&&Za(40)}catch(e){_a(5,1,e?e.name:null)}var e}function ke(){fe.clear()}function Se(e,t,n){var i,a=!1;e in pe||(pe[e]={},a=!0),i=ge[e],0==Object.keys(i).length||t in pe[e]&&pe[e][t]==n||(a=!0),pe[e][t]=n,a&&fe.add(e)}function Oe(e){let t=[],n=e.split(".");for(;n.length>0;){let e=n.shift(),i=e.indexOf("["),a=e.indexOf("{"),r=e.indexOf("}");t.push({name:i>0?e.slice(0,i):a>0?e.slice(0,a):e,type:i>0?1:a>0?2:3,condition:a>0?e.slice(a+1,r):null})}return t}function Te(e,t=window){if(0==e.length)return t;let n,i=e.shift();if(t&&t[i.name]){let r=t[i.name];if(1!==i.type&&Ee(r,i.condition))n=Te(e,r);else if(Array.isArray(r)){let t=[];for(var a of r)if(Ee(a,i.condition)){let n=Te(e,a);n&&t.push(n)}n=t}return n}return null}function Ee(e,t){if(t){let n=t.split(":");return n.length>1?e[n[0]]==n[1]:e[n[0]]}return!0}let Me=null;function Ne(e){try{if(!Me)return;const t=function(e){try{return JSON.parse(e)}catch(e){return[]}}(e);t.forEach((e=>{Me(e)}))}catch(e){}}const xe=[P,a,de,i,te,r,o,t,K,n,Object.freeze({__proto__:null,clone:be,compute:we,data:pe,keys:fe,reset:ke,start:function(){ke()},stop:function(){ke()},trigger:ve,update:Se})];function _e(){j={},$={},L(5),xe.forEach((e=>Lr(e.start)()))}function Ie(){xe.slice().reverse().forEach((e=>Lr(e.stop)())),j={},$={}}function Ce(){le(),R(),cr(),Za(0),Q(),nr(),we()}let De,Re=[];function Pe(e,t,n){l.fraud&&null!==e&&n&&n.length>=5&&(De={id:e,target:t,checksum:p(n,28)},Re.indexOf(De.checksum)<0&&(Re.push(De.checksum),Ma(41)))}let Ae=[];function Xe(e){Xe.dn=5;let t=ea(e);if(t){let n=t.value,i=n&&n.length>=5&&l.fraud&&-1==="password,secret,pass,social,ssn,code,hidden".indexOf(t.type)?p(n,28):"";Ae.push({time:c(e),event:42,data:{target:ea(e),type:t.type,value:n,checksum:i}}),Ya(na.bind(this,42))}}function Ye(){Ae=[]}function je(e){let t={x:0,y:0};if(e&&e.offsetParent)do{let n=e.offsetParent,i=null===n?Mi(e.ownerDocument):null;t.x+=e.offsetLeft,t.y+=e.offsetTop,e=i||n}while(e);return t}const $e=["input","textarea","radio","button","canvas","select"];let Le=[];function We(e){zr(e,"click",ze.bind(this,9,e),!0)}function ze(e,t,n){ze.dn=6;let i=Mi(t),a=i?i.contentDocument.documentElement:document.documentElement,r="pageX"in n?Math.round(n.pageX):"clientX"in n?Math.round(n.clientX+a.scrollLeft):null,o="pageY"in n?Math.round(n.pageY):"clientY"in n?Math.round(n.clientY+a.scrollTop):null;if(i){let e=je(i);r=r?r+Math.round(e.x):r,o=o?o+Math.round(e.y):o}let l=ea(n),u=function(e){for(;e&&e!==document;){if(e.nodeType===Node.ELEMENT_NODE){let t=e;if("A"===t.tagName)return t}e=e.parentNode}return null}(l),s=function(e){let t=null,n=document.documentElement;if("function"==typeof e.getBoundingClientRect){let i=e.getBoundingClientRect();i&&i.width>0&&i.height>0&&(t={x:Math.floor(i.left+("pageXOffset"in window?window.pageXOffset:n.scrollLeft)),y:Math.floor(i.top+("pageYOffset"in window?window.pageYOffset:n.scrollTop)),w:Math.floor(i.width),h:Math.floor(i.height)})}return t}(l);0===n.detail&&s&&(r=Math.round(s.x+s.w/2),o=Math.round(s.y+s.h/2));let d=s?Math.max(Math.floor((r-s.x)/s.w*32767),0):0,p=s?Math.max(Math.floor((o-s.y)/s.h*32767),0):0;if(null!==r&&null!==o){const t=function(e){let t=null,n=!1;if(e){let i=e.textContent||String(e.value||"")||e.alt;if(i){const e=i.replace(/\s+/g," ").trim();t=e.substring(0,25),n=t.length===e.length}}return{text:t,isFullText:n?1:0}}(l);Le.push({time:c(n),event:e,data:{target:l,x:r,y:o,eX:d,eY:p,button:n.button,reaction:He(l),context:qe(u),text:t.text,link:u?u.href:null,hash:null,trust:n.isTrusted?1:0,isFullText:t.isFullText}}),Ya(na.bind(this,e))}}function He(e){if(e.nodeType===Node.ELEMENT_NODE){let t=e.tagName.toLowerCase();if($e.indexOf(t)>=0)return 0}return 1}function qe(e){if(e&&e.hasAttribute("target"))switch(e.getAttribute("target")){case"_blank":return 1;case"_parent":return 2;case"_top":return 3}return 0}function Ue(){Le=[]}let Fe=[];function Ve(e,t){Ve.dn=7,Fe.push({time:c(t),event:38,data:{target:ea(t),action:e}}),Ya(na.bind(this,38))}function Be(){Fe=[]}let Je=null,Ke=[];function Ge(e){Ge.dn=9;let t=ea(e),n=Pi(t);if(t&&t.type&&n){let n=t.value,i=t.type;switch(t.type){case"radio":case"checkbox":n=t.checked?"true":"false"}let a={target:t,value:n,type:i};Ke.length>0&&Ke[Ke.length-1].data.target===a.target&&Ke.pop(),Ke.push({time:c(e),event:27,data:a}),q(Je),Je=H(Ze,1e3,27)}}function Ze(e){Ya(na.bind(this,e))}function Qe(){Ke=[]}let et=[],tt=null,nt=!1,it=0;const at=new Set;function rt(e,t,n){rt.dn=10;let i=Mi(t),a=i?i.contentDocument.documentElement:document.documentElement,r="pageX"in n?Math.round(n.pageX):"clientX"in n?Math.round(n.clientX+a.scrollLeft):null,o="pageY"in n?Math.round(n.pageY):"clientY"in n?Math.round(n.clientY+a.scrollTop):null;if(i){let e=je(i);r=r?r+Math.round(e.x):r,o=o?o+Math.round(e.y):o}null!==r&&null!==o&<({time:c(n),event:e,data:{target:ea(n),x:r,y:o}})}function ot(e,t,n){ot.dn=11;let i=Mi(t),a=i?i.contentDocument.documentElement:document.documentElement,r=n.changedTouches,o=c(n);if(r)for(let t=0;t<r.length;t++){let l=r[t],u="clientX"in l?Math.round(l.clientX+a.scrollLeft):null,s="clientY"in l?Math.round(l.clientY+a.scrollTop):null;u=u&&i?u+Math.round(i.offsetLeft):u,s=s&&i?s+Math.round(i.offsetTop):s;const c="identifier"in l?l.identifier:void 0;switch(e){case 17:0===at.size&&(nt=!0,it=c),at.add(c);break;case 18:case 20:at.delete(c)}const d=nt&&it===c;null!==u&&null!==s&<({time:o,event:e,data:{target:ea(n),x:u,y:s,id:c,isPrimary:d}}),20!==e&&18!==e||it===c&&(nt=!1)}}function lt(e){switch(e.event){case 12:case 15:case 19:let t=et.length,n=t>1?et[t-2]:null;n&&function(e,t){let n=e.data.x-t.data.x,i=e.data.y-t.data.y,a=Math.sqrt(n*n+i*i),r=t.time-e.time,o=t.data.target===e.data.target;return t.event===e.event&&o&&a<20&&r<25}(n,e)&&et.pop(),et.push(e),q(tt),tt=H(ut,500,e.event);break;default:et.push(e),ut(e.event)}}function ut(e){Ya(na.bind(this,e))}function st(){et=[]}let ct,dt=null,pt=!1;function ft(){ft.dn=12;let e=document.documentElement;ct={width:e&&"clientWidth"in e?Math.min(e.clientWidth,window.innerWidth):window.innerWidth,height:e&&"clientHeight"in e?Math.min(e.clientHeight,window.innerHeight):window.innerHeight},pt?(q(dt),dt=H(ht,500,11)):(na(11),pt=!0)}function ht(e){Ya(na.bind(this,e))}function mt(){ct=null,q(dt)}let gt=[],yt=null,vt=null,bt=null;function wt(e=null){wt.dn=13;let t=window,n=document.documentElement,i=e?ea(e):n;if(i&&i.nodeType===Node.DOCUMENT_NODE){let e=Mi(i);t=e?e.contentWindow:t,i=n=i.documentElement}let a=i===n&&"pageXOffset"in t?Math.round(t.pageXOffset):Math.round(i.scrollLeft),r=i===n&&"pageYOffset"in t?Math.round(t.pageYOffset):Math.round(i.scrollTop);const o=window.innerWidth,l=window.innerHeight,u=o/3,s=o>l?.15*l:.2*l,d=l-s,p=kt(u,s),f=kt(u,d);let h={time:c(e),event:10,data:{target:i,x:a,y:r,top:p,bottom:f}};if(null===e&&0===a&&0===r||null===a||null===r)return yt=p,void(vt=f);let m=gt.length,g=m>1?gt[m-2]:null;g&&function(e,t){let n=e.data.x-t.data.x,i=e.data.y-t.data.y;return n*n+i*i<400&&t.time-e.time<25}(g,h)&>.pop(),gt.push(h),q(bt),bt=H(St,500,10)}function kt(e,t){var n,i;let a;return"caretPositionFromPoint"in document?a=null===(n=document.caretPositionFromPoint(e,t))||void 0===n?void 0:n.offsetNode:"caretRangeFromPoint"in document&&(a=null===(i=document.caretRangeFromPoint(e,t))||void 0===i?void 0:i.startContainer),a||(a=document.elementFromPoint(e,t)),a&&a.nodeType===Node.TEXT_NODE&&(a=a.parentNode),a}function St(e){Ya(na.bind(this,e))}function Ot(){var e,t;if(Ot.dn=14,yt){const t=ta(yt,null);sr(31,null===(e=null==t?void 0:t.hash)||void 0===e?void 0:e.join("."))}if(vt){const e=ta(vt,null);sr(32,null===(t=null==e?void 0:e.hash)||void 0===t?void 0:t.join("."))}}let Tt=null,Et=null,Mt=null;function Nt(e){Nt.dn=15;let t=(e.nodeType===Node.DOCUMENT_NODE?e:document).getSelection();if(null===t)return;if(null===t.anchorNode&&null===t.focusNode||t.anchorNode===t.focusNode&&t.anchorOffset===t.focusOffset)return;let n=Tt.start?Tt.start:null;null!==Et&&null!==Tt.start&&n!==t.anchorNode&&(q(Mt),xt(21)),Tt={start:t.anchorNode,startOffset:t.anchorOffset,end:t.focusNode,endOffset:t.focusOffset},Et=t,q(Mt),Mt=H(xt,500,21)}function xt(e){Ya(na.bind(this,e))}function _t(){Et=null,Tt={start:0,startOffset:0,end:0,endOffset:0}}let It,Ct,Dt=[];function Rt(e){Rt.dn=16,Dt.push({time:c(e),event:39,data:{target:ea(e)}}),Ya(na.bind(this,39))}function Pt(){Dt=[]}function At(e){At.dn=17,It={name:e.type,persisted:e.persisted?1:0},na(26,c(e)),Io()}function Xt(){It=null}function Yt(e=null){Yt.dn=18,Ct={visible:"visibilityState"in document?document.visibilityState:"default"},na(28,c(e))}function jt(){Ct=null}function $t(e){!function(e){let t=Mi(e);zr(t?t.contentWindow:e===document?window:e,"scroll",wt,!0)}(e),e.nodeType===Node.DOCUMENT_NODE&&(We(e),function(e){zr(e,"cut",Ve.bind(this,0),!0),zr(e,"copy",Ve.bind(this,1),!0),zr(e,"paste",Ve.bind(this,2),!0)}(e),function(e){zr(e,"mousedown",rt.bind(this,13,e),!0),zr(e,"mouseup",rt.bind(this,14,e),!0),zr(e,"mousemove",rt.bind(this,12,e),!0),zr(e,"wheel",rt.bind(this,15,e),!0),zr(e,"dblclick",rt.bind(this,16,e),!0),zr(e,"touchstart",ot.bind(this,17,e),!0),zr(e,"touchend",ot.bind(this,18,e),!0),zr(e,"touchmove",ot.bind(this,19,e),!0),zr(e,"touchcancel",ot.bind(this,20,e),!0)}(e),function(e){zr(e,"input",Ge,!0)}(e),function(e){zr(e,"selectstart",Nt.bind(this,e),!0),zr(e,"selectionchange",Nt.bind(this,e),!0)}(e),function(e){zr(e,"change",Xe,!0)}(e),function(e){zr(e,"submit",Rt,!0)}(e))}var Lt=Object.freeze({__proto__:null,observe:$t,start:function e(){e.dn=8,ia=[],ra(),Ue(),Be(),st(),Qe(),pt=!1,zr(window,"resize",ft),ft(),zr(document,"visibilitychange",Yt),Yt(),gt=[],wt(),_t(),Ye(),Pt(),zr(window,"pagehide",At)},stop:function(){ia=[],ra(),Ue(),Be(),q(tt),et.length>0&&ut(et[et.length-1].event),q(Je),Qe(),mt(),jt(),q(bt),gt=[],yt=null,vt=null,_t(),q(Mt),Ye(),Pt(),Xt()}});let Wt=[],zt=[];const Ht="claritySheetId";let qt={},Ut={},Ft=[],Vt=[];function Bt(e){l.lean&&l.lite||null==e||(e.clarityOverrides=e.clarityOverrides||{},e.CSSStyleSheet&&e.CSSStyleSheet.prototype&&(void 0===e.clarityOverrides.replace&&(e.clarityOverrides.replace=e.CSSStyleSheet.prototype.replace,e.CSSStyleSheet.prototype.replace=function(){return ao()&&Vt.indexOf(this[Ht])>-1&&Zt(c(),this[Ht],1,arguments[0]),e.clarityOverrides.replace.apply(this,arguments)}),void 0===e.clarityOverrides.replaceSync&&(e.clarityOverrides.replaceSync=e.CSSStyleSheet.prototype.replaceSync,e.CSSStyleSheet.prototype.replaceSync=function(){return ao()&&Vt.indexOf(this[Ht])>-1&&Zt(c(),this[Ht],2,arguments[0]),e.clarityOverrides.replaceSync.apply(this,arguments)})))}function Jt(){Bt(window)}function Kt(e,t){if(l.lean&&l.lite)return;if(-1===Ft.indexOf(e)&&(Ft.push(e),e.defaultView&&Bt(e.defaultView)),t=t||c(),!(null==e?void 0:e.adoptedStyleSheets))return;let n=[];for(var i of e.adoptedStyleSheets)i[Ht]&&-1!==Vt.indexOf(i[Ht])||(i[Ht]=Nr(),Vt.push(i[Ht]),Zt(t,i[Ht],0),Zt(t,i[Ht],2,Gn(i))),n.push(i[Ht]);let a=Si(e,!0);qt[a]||(qt[a]=[]),function(e,t){if(e.length!==t.length)return!1;return e.every(((e,n)=>e===t[n]))}(n,qt[a])||(!function(e,t,n,i){zt.push({time:e,event:45,data:{id:t,operation:n,newIds:i}}),hn(45)}(t,e==document?-1:Si(e),3,n),qt[a]=n,Ut[a]=t)}function Gt(){zt=[],Wt=[]}function Zt(e,t,n,i){Wt.push({time:e,event:46,data:{id:t,operation:n,cssRules:i}}),hn(46)}let Qt=[],en=null,tn=null,nn=null,an=null,rn=null,on=null;const ln="clarityAnimationId",un="clarityOperationCount",sn=20;function cn(){Qt=[]}function dn(e,t,n,i,a,r,o){Qt.push({time:e,event:44,data:{id:t,operation:n,keyFrames:i,timing:a,targetId:r,timeline:o}}),hn(44)}function pn(e,t){null===e&&(e=Animation.prototype[t],Animation.prototype[t]=function(){return fn(this,t),e.apply(this,arguments)})}function fn(e,t){if(ao()){let n=e.effect,i=Si(n.target);if(null!==i&&n.getKeyframes&&n.getTiming){if(!e[ln]){e[ln]=Nr(),e[un]=0;let t=n.getKeyframes(),a=n.getTiming();dn(c(),e[ln],0,JSON.stringify(t),JSON.stringify(a),i)}if(e[un]++<sn){let n=null;switch(t){case"play":n=1;break;case"pause":n=2;break;case"cancel":n=3;break;case"finish":n=4;break;case"commitStyles":n=5}n&&dn(c(),e[ln],n)}}}}async function hn(e,t=null,n=null){let i=n||c(),a=[i,e];switch(e){case 8:let n=bn;a.push(n.width),a.push(n.height),I(e,n.width,n.height),ya(a);break;case 7:for(let e of Wi)a=[e.time,7],a.push(e.data.id),a.push(e.data.interaction),a.push(e.data.visibility),a.push(e.data.name),ya(a);Qi();break;case 45:case 46:for(let e of zt)a=[e.time,e.event],a.push(e.data.id),a.push(e.data.operation),a.push(e.data.newIds),ya(a);for(let e of Wt)a=[e.time,e.event],a.push(e.data.id),a.push(e.data.operation),a.push(e.data.cssRules),ya(a);Gt();break;case 44:for(let e of Qt)a=[e.time,e.event],a.push(e.data.id),a.push(e.data.operation),a.push(e.data.keyFrames),a.push(e.data.timing),a.push(e.data.timeline),a.push(e.data.targetId),ya(a);cn();break;case 5:case 6:if(2===$a(t))break;let r=Yi();if(r.length>0){for(let e of r){let n=$a(t);if(0===n&&(n=await za(t)),2===n)break;let i=e.data,r=e.metadata.active,o=e.metadata.suspend,l=e.metadata.privacy,u=mn(e),s=r?["tag","attributes","value"]:["tag"];for(let t of s)if(i[t]||""===i[t])switch(t){case"tag":let n=gn(e),s=u?-1:1;a.push(e.id*s),e.parent&&r&&(a.push(e.parent),e.previous&&a.push(e.previous)),a.push(o?"*M":i[t]),n&&2===n.length&&a.push(`#${yn(n[0])}.${yn(n[1])}`);break;case"attributes":for(let e in i[t])void 0!==i[t][e]&&a.push(vn(e,i[t][e],l));break;case"value":Pe(e.metadata.fraud,e.id,i[t]),a.push(b(i[t],i.tag,l,u))}}6===e&&C(i),ya(function(e){let t=[],n={},i=0,a=null;for(let r=0;r<e.length;r++)if("string"==typeof e[r]){let o=e[r],l=n[o]||-1;l>=0?a?a.push(l):(a=[l],t.push(a),i++):(a=null,t.push(o),n[o]=i++)}else a=null,t.push(e[r]),i++;return t}(a),!l.lean)}}}function mn(e){let t=e.metadata.privacy;return"*T"===e.data.tag&&!(0===t||1===t)}function gn(e){if(null!==e.metadata.size&&0===e.metadata.size.length){let t=Di(e.id);if(t)return[Math.floor(100*t.offsetWidth),Math.floor(100*t.offsetHeight)]}return e.metadata.size}function yn(e){return e.toString(36)}function vn(e,t,n){return`${e}=${b(t,0===e.indexOf("data-")?"data-":e,n)}`}let bn;function wn(){bn=null}function kn(){kn.dn=19;let e=document.body,t=document.documentElement,n=e?e.clientWidth:null,i=e?e.scrollWidth:null,a=e?e.offsetWidth:null,r=t?t.clientWidth:null,o=t?t.scrollWidth:null,l=t?t.offsetWidth:null,u=Math.max(n,i,a,r,o,l),s=e?e.clientHeight:null,c=e?e.scrollHeight:null,d=e?e.offsetHeight:null,p=t?t.clientHeight:null,f=t?t.scrollHeight:null,h=t?t.offsetHeight:null,m=Math.max(s,c,d,p,f,h);null!==bn&&u===bn.width&&m===bn.height||null===u||null===m||(bn={width:u,height:m},hn(8))}async function Sn(e,t,n,i){let a=[e];for(;a.length>0;){let e=a.shift(),r=e.firstChild;for(;r;)a.push(r),r=r.nextSibling;let o=$a(t);if(0===o&&(o=await za(t)),2===o)break;let l=Vn(e,n,i);l&&a.push(l)}}let On=new Set,Tn=[],En={},Mn=[],Nn=null,xn=null,_n=null,In={},Cn=new WeakMap;const Dn=["data-google-query-id","data-load-complete","data-google-container-id"];function Rn(){Rn.dn=21,On=new Set,Mn=[],Nn=null,_n=0,In={},Cn=new WeakMap,Wn(window)}function Pn(e){Pn.dn=22;let t=c();Z(6,t),Tn.push({time:t,mutations:e}),Ya(Xn,1).then((()=>{H(kn),Lr(Ji)()}))}async function An(e,t,n,i){let a=$a(e);if(0===a&&(a=await za(e)),2===a)return;let r=t.target,o=l.throttleDom?function(e,t,n,i){let a=e.target?Pi(e.target.parentNode):null;if(a&&"HTML"!==a.data.tag){let r=i>_n,o=Pi(e.target),l=o&&o.selector?o.selector.join():e.target.nodeName,u=[a.selector?a.selector.join():"",l,e.attributeName,Yn(e.addedNodes),Yn(e.removedNodes)].join();In[u]=u in In?In[u]:[0,n];let s=In[u];if(!1===r&&s[0]>=10&&jn(s[2],2,t,i),s[0]=r?s[1]===n?s[0]:s[0]+1:1,s[1]=n,s[0]>=10)return s[2]=e.removedNodes,n>i+3e3?e.type:(En[u]={mutation:e,timestamp:i},"throttle")}return e.type}(t,e,n,i):t.type;switch(o&&r&&r.ownerDocument&&ki(r.ownerDocument),o&&r&&r.nodeType==Node.DOCUMENT_FRAGMENT_NODE&&r.host&&ki(r),o){case"attributes":Dn.indexOf(t.attributeName)<0&&Vn(r,3,i);break;case"characterData":Vn(r,4,i);break;case"childList":jn(t.addedNodes,1,e,i),jn(t.removedNodes,2,e,i)}}async function Xn(){let e={id:wr(),cost:3};for(La(e);Tn.length>0;){let t=Tn.shift(),n=c();for(let i of t.mutations)await An(e,i,n,t.time);await hn(6,e,t.time)}let t=!1;for(var n of Object.keys(En)){let i=En[n];delete En[n],await An(e,i.mutation,c(),i.timestamp),t=!0}Object.keys(En).length>0&&function(){xn&&q(xn);xn=H((()=>{Ya(Xn,1)}),33)}(),0===Object.keys(En).length&&t&&await hn(6,e,c()),function(){let e=c();Object.keys(In).length>1e4&&(In={},L(38));for(let t of Object.keys(In)){e>In[t][1]+3e4&&delete In[t]}}(),Wa(e)}function Yn(e){let t=[];for(let n=0;e&&n<e.length;n++)t.push(e[n].nodeName);return t.join()}async function jn(e,t,n,i){let a=e?e.length:0;for(let r=0;r<a;r++){const a=e[r];if(1===t)Sn(a,n,t,i);else{let e=$a(n);if(0===e&&(e=await za(n)),2===e)break;Vn(a,t,i)}}}function $n(e){return Mn.indexOf(e)<0&&Mn.push(e),Nn&&q(Nn),Nn=H((()=>{!function(){for(let e of Mn)if(e){let t=e.nodeType===Node.DOCUMENT_FRAGMENT_NODE;if(t&&Xi(e))continue;Ln(e,t?"childList":"characterData")}Mn=[]}()}),33),e}function Ln(e,t){Ln.dn=23,Lr(Pn)([{addedNodes:[e],attributeName:null,attributeNamespace:null,nextSibling:null,oldValue:null,previousSibling:null,removedNodes:[],target:e,type:t}])}function Wn(e){if(null!=e&&(e.clarityOverrides=e.clarityOverrides||{},void 0===e.clarityOverrides.InsertRule&&(e.clarityOverrides.InsertRule=e.CSSStyleSheet.prototype.insertRule,e.CSSStyleSheet.prototype.insertRule=function(){return ao()&&$n(this.ownerNode),e.clarityOverrides.InsertRule.apply(this,arguments)}),"CSSMediaRule"in e&&void 0===e.clarityOverrides.MediaInsertRule&&(e.clarityOverrides.MediaInsertRule=e.CSSMediaRule.prototype.insertRule,e.CSSMediaRule.prototype.insertRule=function(){return ao()&&$n(this.parentStyleSheet.ownerNode),e.clarityOverrides.MediaInsertRule.apply(this,arguments)}),void 0===e.clarityOverrides.DeleteRule&&(e.clarityOverrides.DeleteRule=e.CSSStyleSheet.prototype.deleteRule,e.CSSStyleSheet.prototype.deleteRule=function(){return ao()&&$n(this.ownerNode),e.clarityOverrides.DeleteRule.apply(this,arguments)}),"CSSMediaRule"in e&&void 0===e.clarityOverrides.MediaDeleteRule&&(e.clarityOverrides.MediaDeleteRule=e.CSSMediaRule.prototype.deleteRule,e.CSSMediaRule.prototype.deleteRule=function(){return ao()&&$n(this.parentStyleSheet.ownerNode),e.clarityOverrides.MediaDeleteRule.apply(this,arguments)}),void 0===e.clarityOverrides.AttachShadow)){e.clarityOverrides.AttachShadow=e.Element.prototype.attachShadow;try{e.Element.prototype.attachShadow=function(){return ao()?$n(e.clarityOverrides.AttachShadow.apply(this,arguments)):e.clarityOverrides.AttachShadow.apply(this,arguments)}}catch(t){e.clarityOverrides.AttachShadow=null}}}const zn=/[^0-9\.]/g;function Hn(e){for(let t of Object.keys(e)){let n=e[t];if("@type"===t&&"string"==typeof n)switch(n=n.toLowerCase(),n=n.indexOf("article")>=0||n.indexOf("posting")>=0?"article":n,n){case"article":case"recipe":sr(5,e[t]),sr(8,e.creator),sr(18,e.headline);break;case"product":sr(5,e[t]),sr(10,e.name),sr(12,e.sku),e.brand&&sr(6,e.brand.name);break;case"aggregaterating":e.ratingValue&&(z(11,qn(e.ratingValue,100)),z(18,qn(e.bestRating)),z(19,qn(e.worstRating))),z(12,qn(e.ratingCount)),z(17,qn(e.reviewCount));break;case"offer":sr(7,e.availability),sr(14,e.itemCondition),sr(13,e.priceCurrency),sr(12,e.sku),z(13,qn(e.price));break;case"brand":sr(6,e.name)}null!==n&&"object"==typeof n&&Hn(n)}}function qn(e,t=1){if(null!==e)switch(typeof e){case"number":return Math.round(e*t);case"string":return Math.round(parseFloat(e.replace(zn,""))*t)}return null}const Un=["title","alt","onload","onfocus","onerror","data-drupal-form-submit-last","aria-label"],Fn=/[\r\n]+/g;function Vn(t,n,i){var a;let r=null;if(2===n&&!1===Xi(t))return r;0!==n&&t.nodeType===Node.TEXT_NODE&&t.parentElement&&"STYLE"===t.parentElement.tagName&&(t=t.parentNode);let o=!1===Xi(t)?"add":"update",l=t.parentElement?t.parentElement:null,u=t.ownerDocument!==document;switch(t.nodeType){case Node.DOCUMENT_TYPE_NODE:l=u&&t.parentNode?Mi(t.parentNode):l;let p=t,f={tag:(u?"iframe:":"")+"*D",attributes:{name:p.name?p.name:"HTML",publicId:p.publicId,systemId:p.systemId}};e[o](t,l,f,n);break;case Node.DOCUMENT_NODE:t===document&&ki(document),Kt(t,i),Bn(t);break;case Node.DOCUMENT_FRAGMENT_NODE:let h=t;if(h.host){if(ki(h),"function"===typeof h.constructor&&h.constructor.toString().indexOf("[native code]")>=0){Bn(h);let i={tag:"*S",attributes:{style:""}};e[o](t,h.host,i,n)}else e[o](t,h.host,{tag:"*P",attributes:{}},n);Kt(t,i)}break;case Node.TEXT_NODE:if(l=l||t.parentNode,"update"===o||l&&Xi(l)&&"STYLE"!==l.tagName&&"NOSCRIPT"!==l.tagName){let i={tag:"*T",value:t.nodeValue};e[o](t,l,i,n)}break;case Node.ELEMENT_NODE:let m=t,g=m.tagName,y=function(e){let t={},n=e.attributes;if(n&&n.length>0)for(let e=0;e<n.length;e++){let i=n[e].name;Un.indexOf(i)<0&&(t[i]=n[e].value)}"INPUT"===e.tagName&&!("value"in t)&&e.value&&(t.value=e.value);return t}(m);switch(l=t.parentElement?t.parentElement:t.parentNode?t.parentNode:null,"http://www.w3.org/2000/svg"===m.namespaceURI&&(g="svg:"+g),g){case"HTML":l=u&&l?Mi(l):l;let i={tag:(u?"iframe:":"")+g,attributes:y};e[o](t,l,i,n);break;case"SCRIPT":if("type"in y&&"application/ld+json"===y.type)try{Hn(JSON.parse(m.text.replace(Fn,"")))}catch(e){}break;case"NOSCRIPT":let p={tag:g,attributes:{},value:""};e[o](t,l,p,n);break;case"META":var s="property"in y?"property":"name"in y?"name":null;if(s&&"content"in y){let e=y.content;switch(y[s]){case"og:title":sr(20,e);break;case"og:type":sr(19,e);break;case"generator":sr(21,e)}}break;case"HEAD":let f={tag:g,attributes:y},h=u&&(null===(a=t.ownerDocument)||void 0===a?void 0:a.location)?t.ownerDocument.location:location;f.attributes["*B"]=h.protocol+"//"+h.host+h.pathname,e[o](t,l,f,n);break;case"BASE":let v=Pi(t.parentElement);if(v){let e=document.createElement("a");e.href=y.href,v.data.attributes["*B"]=e.protocol+"//"+e.host+e.pathname}break;case"STYLE":let b={tag:g,attributes:y,value:Kn(m)};e[o](t,l,b,n);break;case"IFRAME":let w=t,k={tag:g,attributes:y};Ei(w)&&(!function(e){!1===Xi(e)&&zr(e,"load",Ln.bind(this,e,"childList"),!0)}(w),k.attributes["*O"]="true",w.contentDocument&&w.contentWindow&&"loading"!==w.contentDocument.readyState&&(r=w.contentDocument)),2===n&&Jn(w),e[o](t,l,k,n);break;case"LINK":if(mr&&"stylesheet"===y.rel){for(var c in Object.keys(document.styleSheets)){var d=document.styleSheets[c];if(d.ownerNode==m){let i={tag:"STYLE",attributes:y,value:Gn(d)};e[o](t,l,i,n);break}}break}let S={tag:g,attributes:y};e[o](t,l,S,n);break;case"VIDEO":case"AUDIO":case"SOURCE":"src"in y&&y.src.startsWith("data:")&&(y.src="");let O={tag:g,attributes:y};e[o](t,l,O,n);break;default:let T={tag:g,attributes:y};m.shadowRoot&&(r=m.shadowRoot),e[o](t,l,T,n)}}return r}function Bn(e){Xi(e)||Ur(e)||(!function(e){try{let t=u("MutationObserver"),n=t in window?new window[t](Lr(Pn)):null;n&&(n.observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),Cn.set(e,n),On.add(n)),e.defaultView&&Wn(e.defaultView)}catch(e){_a(2,0,e?e.name:null)}}(e),$t(e))}function Jn(e){qr(e);const{doc:t=null,win:n=null}=Ni(e)||{};n&&qr(n),t&&(qr(t),function(e){const t=Cn.get(e);t&&(t.disconnect(),On.delete(t),Cn.delete(e))}(t),xi(e,t))}function Kn(e){let t=e.textContent?e.textContent.trim():"",n=e.dataset?Object.keys(e.dataset).length:0;return(0===t.length||n>0||e.id.length>0)&&(t=Gn(e.sheet)),t}function Gn(e){let t="",n=null;try{n=e?e.cssRules:[]}catch(e){if(_a(1,1,e?e.name:null),e&&"SecurityError"!==e.name)throw e}if(null!==n)for(let e=0;e<n.length;e++)t+=n[e].cssText;return t}const Zn="load,active,fixed,visible,focus,show,collaps,animat".split(",");let Qn={};function ei(e,t){let n=e.attributes,i=e.prefix?e.prefix[t]:null,a=0===t?"~"+(e.position-1):`:nth-of-type(${e.position})`;switch(e.tag){case"STYLE":case"TITLE":case"LINK":case"META":case"*T":case"*D":return"";case"HTML":return"HTML";default:if(null===i)return"";i=`${i}>`,e.tag=0===e.tag.indexOf("svg:")?e.tag.substr("svg:".length):e.tag;let r=`${i}${e.tag}${a}`,o="id"in n&&n.id.length>0?n.id:null,l="BODY"!==e.tag&&"class"in n&&n.class.length>0?n.class.trim().split(/\s+/).filter((e=>ti(e))).join("."):null;if(l&&l.length>0)if(0===t){let t=`${function(e){let t=e.split(">");for(let e=0;e<t.length;e++){let n=t[e].indexOf("~"),i=t[e].indexOf(".");t[e]=t[e].substring(0,i>0?i:n>0?n:t[e].length)}return t.join(">")}(i)}${e.tag}.${l}`;t in Qn||(Qn[t]=[]),Qn[t].indexOf(e.id)<0&&Qn[t].push(e.id),r=`${t}~${Qn[t].indexOf(e.id)}`}else r=`${i}${e.tag}.${l}${a}`;return r=o&&ti(o)?`${function(e){const t=e.lastIndexOf("*S"),n=e.lastIndexOf("iframe:HTML"),i=Math.max(t,n);if(i<0)return"";return e.substring(0,e.indexOf(">",i)+1)}(i)}#${o}`:r,r}}function ti(e){if(!e)return!1;if(Zn.some((t=>e.toLowerCase().indexOf(t)>=0)))return!1;for(let t=0;t<e.length;t++){let n=e.charCodeAt(t);if(n>=48&&n<=57)return!1}return!0}let ni=1,ii=null,ai=[],ri=[],oi={},li=[],ui=[],si=[],ci=[],di=[],pi=[],fi=null,hi=null,mi=null,gi=null,yi=null;function vi(){wi(),ki(document,!0)}function bi(){wi()}function wi(){ni=1,ai=[],ri=[],oi={},li=[],ui=[],si="address,password,contact".split(","),ci="password,secret,pass,social,ssn,code,hidden".split(","),di="radio,checkbox,range,button,reset,submit".split(","),pi="INPUT,SELECT,TEXTAREA".split(","),ii=new Map,fi=new WeakMap,hi=new WeakMap,mi=new WeakMap,gi=new WeakMap,yi=new WeakMap,Qn={}}function ki(e,t=!1){try{t&&l.unmask.forEach((e=>e.indexOf("!")<0?ui.push(e):li.push(e.substr(1)))),"querySelectorAll"in e&&(l.regions.forEach((t=>e.querySelectorAll(t[1]).forEach((e=>Vi(e,`${t[0]}`))))),l.mask.forEach((t=>e.querySelectorAll(t).forEach((e=>gi.set(e,3))))),l.checksum.forEach((t=>e.querySelectorAll(t[1]).forEach((e=>yi.set(e,t[0]))))),ui.forEach((t=>e.querySelectorAll(t).forEach((e=>gi.set(e,0))))))}catch(e){_a(5,1,e?e.name:null)}}function Si(e,t=!1){if(null===e)return null;let n=fi.get(e);return!n&&t&&(n=ni++,fi.set(e,n)),n||null}function Oi(e,t,n,i){let a=t?Si(t):null;if(!(t&&a||null!=e.host||e.nodeType===Node.DOCUMENT_TYPE_NODE))return;let r=Si(e,!0),o=$i(e),u=null,s=Bi(e)?r:null,c=yi.has(e)?yi.get(e):null,d=l.content?1:3;a>=0&&ai[a]&&(u=ai[a],u.children.push(r),s=null===s?u.region:s,c=null===c?u.metadata.fraud:c,d=u.metadata.privacy),n.attributes&&"data-clarity-region"in n.attributes&&(Vi(e,n.attributes["data-clarity-region"]),s=r),ii.set(r,e),ai[r]={id:r,parent:a,previous:o,children:[],data:n,selector:null,hash:null,region:s,metadata:{active:!0,suspend:!1,privacy:d,position:null,fraud:c,size:null}},function(e,t,n){var i;let a=t.data,r=t.metadata,o=r.privacy,l=a.attributes||{},u=a.tag.toUpperCase();switch(!0){case pi.indexOf(u)>=0:let t=l.type,a="";const s=["class","style"];Object.keys(l).filter((e=>!s.includes(e))).forEach((e=>a+=l[e].toLowerCase()));let c=ci.some((e=>a.indexOf(e)>=0));r.privacy="INPUT"===u&&di.indexOf(t)>=0?o:c?4:2;break;case"data-clarity-mask"in l:r.privacy=3;break;case"data-clarity-unmask"in l:r.privacy=0;break;case gi.has(e):r.privacy=gi.get(e);break;case yi.has(e):r.privacy=2;break;case"*T"===u:let d=n&&n.data?n.data.tag:"",p=n&&n.selector?n.selector[1]:"",f=["STYLE","TITLE","svg:style"];r.privacy=f.includes(d)||li.some((e=>p.indexOf(e)>=0))?0:o;break;case 1===o:r.privacy=function(e,t,n){if(e&&t.some((t=>e.indexOf(t)>=0)))return 2;return n.privacy}(l.class,si,r);break;case"IMG"===u:(null===(i=l.src)||void 0===i?void 0:i.startsWith("blob:"))&&(r.privacy=3)}}(e,ai[r],u),Ii(ai[r]),function(e){if("IMG"===e.data.tag&&3===e.metadata.privacy){let t=Di(e.id);!t||t.complete&&0!==t.naturalWidth||zr(t,"load",(()=>{t.setAttribute("data-clarity-loaded",`${Nr()}`)})),e.metadata.size=[]}}(ai[r]),Li(r,i)}function Ti(e,t,n,i){let a=Si(e),r=t?Si(t):null,o=$i(e),l=!1,u=!1;if(a in ai){let t=ai[a];if(t.metadata.active=!0,t.previous!==o&&(l=!0,t.previous=o),t.parent!==r){l=!0;let n=t.parent;if(t.parent=r,null!==r&&r>=0){let n=null===o?0:ai[r].children.indexOf(o)+1;ai[r].children.splice(n,0,a),t.region=Bi(e)?a:ai[r].region}else!function(e,t){if(e in ai){let n=ai[e];n.metadata.active=!1,n.parent=null,Li(e,t),ji(e)}}(a,i);if(null!==n&&n>=0){let e=ai[n].children.indexOf(a);e>=0&&ai[n].children.splice(e,1)}u=!0}for(let e in n)_i(t.data,n,e)&&(l=!0,t.data[e]=n[e]);Ii(t),Li(a,i,l,u)}}function Ei(e){let t=!1;if(e.nodeType===Node.ELEMENT_NODE&&"IFRAME"===e.tagName){let n=e;try{n.contentDocument&&(hi.set(n.contentDocument,n),mi.set(n,{doc:n.contentDocument,win:n.contentWindow}),t=!0)}catch(e){}}return t}function Mi(e){let t=e.nodeType===Node.DOCUMENT_NODE?e:null;return t&&hi.has(t)?hi.get(t):null}function Ni(e){return mi.has(e)?mi.get(e):null}function xi(e,t){mi.delete(e),hi.delete(t)}function _i(e,t,n){if("object"==typeof e[n]&&"object"==typeof t[n]){for(let i in e[n])if(e[n][i]!==t[n][i])return!0;for(let i in t[n])if(t[n][i]!==e[n][i])return!0;return!1}return e[n]!==t[n]}function Ii(e){let t=e.parent&&e.parent in ai?ai[e.parent]:null,n=t?t.selector:null,i=e.data,a=function(e,t){t.metadata.position=1;let n=e?e.children.indexOf(t.id):-1;for(;n-- >0;){let i=ai[e.children[n]];if(t.data.tag===i.data.tag){t.metadata.position=i.metadata.position+1;break}}return t.metadata.position}(t,e),r={id:e.id,tag:i.tag,prefix:n,position:a,attributes:i.attributes};e.selector=[ei(r,0),ei(r,1)],e.hash=e.selector.map((e=>e?p(e):null)),e.hash.forEach((t=>oi[t]=e.id))}function Ci(e){let t=Di(Ai(e));return null!==t&&null!==t.textContent?t.textContent.substr(0,25):""}function Di(e){return ii.has(e)?ii.get(e):null}function Ri(e){return e in ai?ai[e]:null}function Pi(e){let t=Si(e);return t in ai?ai[t]:null}function Ai(e){return e in oi?oi[e]:null}function Xi(e){return ii.has(Si(e))}function Yi(){let e=[];for(let t of ri)t in ai&&e.push(ai[t]);return ri=[],e}function ji(e){const t=ii.get(e);if((null==t?void 0:t.nodeType)===Node.DOCUMENT_FRAGMENT_NODE)return;if(t&&(null==t?void 0:t.nodeType)===Node.ELEMENT_NODE&&"IFRAME"===t.tagName){Jn(t)}ii.delete(e);let n=e in ai?ai[e]:null;if(n&&n.children)for(let e of n.children)ji(e)}function $i(e){let t=null;for(;null===t&&e.previousSibling;)t=Si(e.previousSibling),e=e.previousSibling;return t}function Li(e,t,n=!0,i=!1){if(l.lean&&l.lite)return;let a=ri.indexOf(e);a>=0&&1===t&&i?(ri.splice(a,1),ri.push(e)):-1===a&&n&&ri.push(e)}let Wi=[],zi=null,Hi={},qi=[],Ui=!1,Fi=null;function Vi(e,t){!1===zi.has(e)&&(zi.set(e,t),Fi=null===Fi&&Ui?new IntersectionObserver(Ki,{threshold:[0,.05,.1,.2,.3,.4,.5,.6,.7,.8,.9,1]}):Fi,Fi&&e&&e.nodeType===Node.ELEMENT_NODE&&Fi.observe(e))}function Bi(e){return zi&&zi.has(e)}function Ji(){Ji.dn=24;let e=[];for(let t of qi){let n=Si(t.node);n?(t.state.data.id=n,Hi[n]=t.state.data,Wi.push(t.state)):e.push(t)}qi=e,Wi.length>0&&hn(7)}function Ki(e){for(let t of e){let e=t.target,n=t.boundingClientRect,i=t.intersectionRect,a=t.rootBounds;if(zi.has(e)&&n.width+n.height>0&&a.width>0&&a.height>0){let r=e?Si(e):null,o=r in Hi?Hi[r]:{id:r,name:zi.get(e),interaction:16,visibility:0},l=(i?i.width*i.height*1/(a.width*a.height):0)>.05||t.intersectionRatio>.8,u=(l||10==o.visibility)&&Math.abs(n.top)+a.height>n.height;Gi(e,o,o.interaction,u?13:l?10:0),o.visibility>=13&&Fi&&Fi.unobserve(e)}}Wi.length>0&&hn(7)}function Gi(e,t,n,i){let a=n>t.interaction||i>t.visibility;t.interaction=n>t.interaction?n:t.interaction,t.visibility=i>t.visibility?i:t.visibility,t.id?(t.id in Hi&&a||!(t.id in Hi))&&(Hi[t.id]=t,Wi.push(Zi(t))):qi.push({node:e,state:Zi(t)})}function Zi(e){return{time:c(),data:{id:e.id,interaction:e.interaction,visibility:e.visibility,name:e.name}}}function Qi(){Wi=[]}function ea(e){let t=e.composed&&e.composedPath?e.composedPath():null,n=t&&t.length>0?t[0]:e.target;return _n=c()+3e3,n&&n.nodeType===Node.DOCUMENT_NODE?n.documentElement:n}function ta(e,t,n=null){let i={id:0,hash:null,privacy:2};if(e){let a=Pi(e);if(null!==a){let e=a.metadata;i.id=a.id,i.hash=a.hash,i.privacy=e.privacy,a.region&&function(e,t){let n=Di(e),i=e in Hi?Hi[e]:{id:e,visibility:0,interaction:16,name:zi.get(n)},a=16;switch(t){case 9:a=20;break;case 27:a=30}Gi(n,i,a,i.visibility)}(a.region,t),e.fraud&&Pe(e.fraud,a.id,n||a.data.value)}}return i}async function na(e,t=null){let n=t||c(),i=[n,e];switch(e){case 13:case 14:case 12:case 15:case 16:case 17:case 18:case 19:case 20:for(let e of et){let t=ta(e.data.target,e.event);t.id>0&&(i=[e.time,e.event],i.push(t.id),i.push(e.data.x),i.push(e.data.y),void 0!==e.data.id&&(i.push(e.data.id),void 0!==e.data.isPrimary&&i.push(e.data.isPrimary.toString())),ya(i),I(e.event,e.data.x,e.data.y,e.time))}st();break;case 9:for(let e of Le){let t=ta(e.data.target,e.event,e.data.text);i=[e.time,e.event];let n=t.hash?t.hash.join("."):"";i.push(t.id),i.push(e.data.x),i.push(e.data.y),i.push(e.data.eX),i.push(e.data.eY),i.push(e.data.button),i.push(e.data.reaction),i.push(e.data.context),i.push(b(e.data.text,"click",t.privacy)),i.push(w(e.data.link)),i.push(n),i.push(e.data.trust),i.push(e.data.isFullText),ya(i),oa(e.time,e.event,n,e.data.x,e.data.y,e.data.reaction,e.data.context)}Ue();break;case 38:for(let e of Fe){i=[e.time,e.event];let t=ta(e.data.target,e.event);t.id>0&&(i.push(t.id),i.push(e.data.action),ya(i))}Be();break;case 11:let t=ct;i.push(t.width),i.push(t.height),I(e,t.width,t.height),mt(),ya(i);break;case 26:let a=It;i.push(a.name),i.push(a.persisted),Xt(),ya(i);break;case 27:for(let e of Ke){let t=ta(e.data.target,e.event,e.data.value);i=[e.time,e.event],i.push(t.id),i.push(b(e.data.value,"input",t.privacy,!1,e.data.type)),ya(i)}Qe();break;case 21:let r=Tt;if(r){let t=ta(r.start,e),n=ta(r.end,e);i.push(t.id),i.push(r.startOffset),i.push(n.id),i.push(r.endOffset),_t(),ya(i)}break;case 10:for(let e of gt){let t=ta(e.data.target,e.event);const n=ta(e.data.top,e.event),a=ta(e.data.bottom,e.event),r=(null==n?void 0:n.hash)?n.hash.join("."):"",o=(null==a?void 0:a.hash)?a.hash.join("."):"";t.id>0&&(i=[e.time,e.event],i.push(t.id),i.push(e.data.x),i.push(e.data.y),i.push(r),i.push(o),ya(i),I(e.event,e.data.x,e.data.y,e.time))}gt=[],yt=null,vt=null;break;case 42:for(let e of Ae){i=[e.time,e.event];let t=ta(e.data.target,e.event);t.id>0&&(i=[e.time,e.event],i.push(t.id),i.push(e.data.type),i.push(b(e.data.value,"change",t.privacy)),i.push(b(e.data.checksum,"checksum",t.privacy)),ya(i))}Ye();break;case 39:for(let e of Dt){i=[e.time,e.event];let t=ta(e.data.target,e.event);t.id>0&&(i.push(t.id),ya(i))}Pt();break;case 22:for(let e of aa)i=[e.time,e.event],i.push(e.data.type),i.push(e.data.hash),i.push(e.data.x),i.push(e.data.y),i.push(e.data.reaction),i.push(e.data.context),ya(i,!1);ra();break;case 28:let o=Ct;i.push(o.visible),ya(i),D(n,o.visible),jt()}}let ia=[],aa=[];function ra(){aa=[]}function oa(e,t,n,i,a,r=1,o=0){ia.push({time:e,event:22,data:{type:t,hash:n,x:i,y:a,reaction:r,context:o}}),I(t,i,a,e)}let la,ua,sa,ca,da,pa=0,fa=0,ha=null,ma=0;function ga(){ca=!0,pa=0,fa=0,ma=0,la=[],ua=[],sa={},da=null}function ya(e,t=!0){if(ca){let n=c(),i=e.length>1?e[1]:null,a=JSON.stringify(e);switch(i){case 5:pa+=a.length;case 37:case 6:case 43:case 45:case 46:fa+=a.length,la.push(a);break;default:ua.push(a)}L(25);let r=function(){let e=!1===l.lean&&pa>0?100:Pr.sequence*l.delay;return"string"==typeof l.upload?Math.max(Math.min(e,3e4),100):l.delay}();n-ma>2*r&&(q(ha),ha=null),t&&null===ha&&(25!==i&&B(),ha=H(ba,r),ma=n,er(fa))}}function va(){q(ha),ba(!0),pa=0,fa=0,ma=0,la=[],ua=[],sa={},da=null,ca=!1}async function ba(e=!1){ha=null;let t=!1===l.lean&&fa>0&&(fa<1048576||Pr.sequence>0);t&&z(1,1),Ji(),function(){const e=[];aa=[];let t=Pr.start+Pr.duration,n=Math.max(t-2e3,0);for(let i of ia)i.time>=n&&(i.time<=t&&aa.push(i),e.push(i));ia=e,na(22)}(),Ce(),function(){for(var e of Ft){var t=e==document?-1:Si(e);let n=t in Ut?Ut[t]:null;Kt(document,n)}}();let n=!0===e,i=function(e){return e.p.length>0?`{"e":${e.e},"a":${e.a},"p":${e.p}}`:`{"e":${e.e},"a":${e.a}}`}({e:JSON.stringify(Yr(n)),a:`[${ua.join()}]`,p:t?`[${la.join()}]`:""}),a=n?null:await async function(e){try{if(ne){const t=new ReadableStream({async start(t){t.enqueue(e),t.close()}}).pipeThrough(new TextEncoderStream).pipeThrough(new window.CompressionStream("gzip"));return new Uint8Array(await async function(e){const t=e.getReader(),n=[];let i=!1,a=[];for(;!i;){if(({done:i,value:a}=await t.read()),i)return n;n.push(...a)}return n}(t))}}catch(e){}return null}(i);W(2,a?a.length:i.length),wa(i,a,Pr.sequence,n),ua=[],t&&(la=[],fa=0,pa=0)}function wa(e,t,n,i=!1){if("string"==typeof l.upload){const a=l.upload;let r=!1;if(i&&"sendBeacon"in navigator)try{r=navigator.sendBeacon.bind(navigator)(a,e),r&&Sa(n)}catch(e){}if(!1===r){n in sa?sa[n].attempts++:sa[n]={data:e,attempts:1};let i=new XMLHttpRequest;i.open("POST",a,!0),i.timeout=15e3,i.ontimeout=()=>{$r(new Error(`Timeout : ${a}`))},null!==n&&(i.onreadystatechange=()=>{Lr(ka)(i,n)}),i.withCredentials=!0,t?(i.setRequestHeader("Accept","application/x-clarity-gzip"),i.send(t)):i.send(e)}}else if(l.upload){(0,l.upload)(e),Sa(n)}}function ka(e,t){var n=sa[t];e&&4===e.readyState&&n&&((e.status<200||e.status>208)&&n.attempts<=1?e.status>=400&&e.status<500?tr(6):(0===e.status&&(l.upload=l.fallback?l.fallback:l.upload),wa(n.data,null,t)):(da={sequence:t,attempts:n.attempts,status:e.status},n.attempts>1&&Za(2),200===e.status&&e.responseText&&function(e){let t=e&&e.length>0?e.split("\n"):[];for(var n of t){let e=n&&n.length>0?n.split(/ (.*)/):[""];switch(e[0]){case"END":tr(6);break;case"UPGRADE":Ka("Auto");break;case"ACTION":l.action&&e.length>1&&l.action(e[1]);break;case"EXTRACT":e.length>1&&ve(e[1]);break;case"SIGNAL":e.length>1&&Ne(e[1])}}}(e.responseText),0===e.status&&(wa(n.data,null,t,!0),tr(3)),e.status>=200&&e.status<=208&&Sa(t),delete sa[t]))}function Sa(e){1===e&&(Tr(),Or())}let Oa,Ta={};function Ea(e){Ea.dn=4;let t=e.error||e;return t.message in Ta||(Ta[t.message]=0),Ta[t.message]++>=5||t&&t.message&&(Oa={message:t.message,line:e.lineno,column:e.colno,stack:t.stack,source:e.filename},Ma(31)),!0}async function Ma(e){let t=[c(),e];switch(e){case 31:t.push(Oa.message),t.push(Oa.line),t.push(Oa.column),t.push(Oa.stack),t.push(w(Oa.source)),ya(t);break;case 33:Na&&(t.push(Na.code),t.push(Na.name),t.push(Na.message),t.push(Na.stack),t.push(Na.severity),ya(t,!1));break;case 41:De&&(t.push(De.id),t.push(De.target),t.push(De.checksum),ya(t,!1))}}let Na,xa={};function _a(e,t,n=null,i=null,a=null){let r=n?`${n}|${i}`:"";e in xa&&xa[e].indexOf(r)>=0||(Na={code:e,name:n,message:i,stack:a,severity:t},e in xa?xa[e].push(r):xa[e]=[r],Ma(33))}const Ia=5e3;let Ca={},Da=[],Ra=null,Pa=null,Aa=null;function Xa(){Ca={},Da=[],Ra=null,Pa=null}async function Ya(e,t=0){for(let t of Da)if(t.task===e)return;let n=new Promise((n=>{Da[1===t?"unshift":"push"]({task:e,resolve:n,id:wr()})}));return null===Ra&&null===Pa&&ja(),n}function ja(){let e=Da.shift();e&&(Ra=e,e.task().then((()=>{e.id===wr()&&(e.resolve(),Ra=null,ja())})).catch((t=>{e.id===wr()&&(t&&_a(0,1,t.name,t.message,t.stack),Ra=null,ja())})))}function $a(e){let t=Ha(e);if(t in Ca){return performance.now()-Ca[t].start>Ca[t].yield?0:1}return 2}function La(e){Ca[Ha(e)]={start:performance.now(),calls:0,yield:30}}function Wa(e){let t=performance.now(),n=Ha(e),i=t-Ca[n].start;W(e.cost,i),L(5),Ca[n].calls>0&&W(4,i)}async function za(e){var t;let n=Ha(e);return n in Ca&&(Wa(e),Ca[n].yield=(null===(t=await async function(){Pa&&await Pa;return new Promise((e=>{qa(e,{timeout:Ia})}))}())||void 0===t?void 0:t.timeRemaining())||30,function(e){let t=Ha(e);if(Ca&&Ca[t]){let n=Ca[t].calls,i=Ca[t].yield;La(e),Ca[t].calls=n+1,Ca[t].yield=i}}(e)),n in Ca?1:2}function Ha(e){return`${e.id}.${e.cost}`}let qa=window.requestIdleCallback||function(e,t){const n=performance.now(),i=new MessageChannel,a=i.port1,r=i.port2;a.onmessage=i=>{let a=performance.now(),o=a-n,l=a-i.data;if(l>30&&o<t.timeout)requestAnimationFrame((()=>{r.postMessage(a)}));else{let n=o>t.timeout;e({didTimeout:n,timeRemaining:()=>n?30:Math.max(0,30-l)})}},requestAnimationFrame((()=>{r.postMessage(performance.now())}))};function Ua(){Ya(Fa,1).then((()=>{Lr(kn)(),Lr(Ji)(),Lr(Ot)()}))}async function Fa(){let e=c(),t={id:wr(),cost:3};La(t),await Sn(document,t,0,e),Kt(document,e),await hn(5,t,e),Wa(t)}let Va,Ba=null;function Ja(){!l.lean&&l.upgrade&&l.upgrade("Config"),Ba=null}function Ka(e){ao()&&l.lean&&(l.lean=!1,Ba={key:e},Or(),Tr(),l.upgrade&&l.upgrade(e),Za(3),l.lite&&(Ua(),Jt()))}function Ga(){Ba=null}function Za(e){let t=[c(),e];switch(e){case 4:let e=M;e&&(t=[e.time,e.event],t.push(e.data.visible),t.push(e.data.docWidth),t.push(e.data.docHeight),t.push(e.data.screenWidth),t.push(e.data.screenHeight),t.push(e.data.scrollX),t.push(e.data.scrollY),t.push(e.data.pointerX),t.push(e.data.pointerY),t.push(e.data.activityTime),t.push(e.data.scrollTime),t.push(e.data.pointerTime),t.push(e.data.moveX),t.push(e.data.moveY),t.push(e.data.moveTime),t.push(e.data.downX),t.push(e.data.downY),t.push(e.data.downTime),t.push(e.data.upX),t.push(e.data.upY),t.push(e.data.upTime),t.push(e.data.pointerPrevX),t.push(e.data.pointerPrevY),t.push(e.data.pointerPrevTime),ya(t,!1)),_();break;case 25:t.push(Y.gap),ya(t);break;case 35:t.push(Va.check),ya(t,!1);break;case 3:t.push(Ba.key),ya(t);break;case 2:t.push(da.sequence),t.push(da.attempts),t.push(da.status),ya(t,!1);break;case 24:A.key&&t.push(A.key),t.push(A.value),ya(t);break;case 34:let n=Object.keys(ie);if(n.length>0){for(let e of n)t.push(e),t.push(ie[e]);ue(),ya(t,!1)}break;case 0:let i=Object.keys($);if(i.length>0){for(let e of i){let n=parseInt(e,10);t.push(n),t.push(Math.round($[e]))}$={},ya(t,!1)}break;case 1:let a=Object.keys(rr);if(a.length>0){for(let e of a){let n=parseInt(e,10);t.push(n),t.push(rr[e])}dr(),ya(t,!1)}break;case 36:let r=Object.keys(G);if(r.length>0){for(let e of r){let n=parseInt(e,10);t.push(n),t.push([].concat(...G[e]))}ee(),ya(t,!1)}break;case 40:fe.forEach((e=>{t.push(e);let n=[];for(let t in pe[e]){let i=parseInt(t,10);n.push(i),n.push(pe[e][t])}t.push(n)})),ke(),ya(t,!1)}}function Qa(){Va={check:0}}function er(e){if(0===Va.check){let t=Va.check;t=Pr.sequence>=128?1:t,t=Pr.pageNum>=128?7:t,t=c()>72e5?2:t,t=e>10485760?2:t,t!==Va.check&&tr(t)}}function tr(e){Va.check=e,5!==e&&(Sr(),Io())}function nr(){0!==Va.check&&Za(35)}function ir(){Va=null}let ar=null,rr=null,or=!1;function lr(){ar={},rr={},or=!1}function ur(){ar={},rr={},or=!1}function sr(e,t){if(t&&(t=`${t}`,e in ar||(ar[e]=[]),ar[e].indexOf(t)<0)){if(ar[e].length>128)return void(or||(or=!0,tr(5)));ar[e].push(t),e in rr||(rr[e]=[]),rr[e].push(t)}}function cr(){Za(1)}function dr(){rr={},or=!1}function pr(e){sr(36,e.toString())}let fr=null,hr=[],mr=0,gr=null;function yr(){var e,t,n;gr=null;const i=navigator&&"userAgent"in navigator?navigator.userAgent:"",a=null!==(n=null===(t=null===(e=null===Intl||void 0===Intl?void 0:Intl.DateTimeFormat())||void 0===e?void 0:e.resolvedOptions())||void 0===t?void 0:t.timeZone)&&void 0!==n?n:"",r=(new Date).getTimezoneOffset().toString(),o=window.location.ancestorOrigins?Array.from(window.location.ancestorOrigins).toString():"",u=document&&document.title?document.title:"";mr=i.indexOf("Electron")>0?1:0;let s=function(){let e={session:Nr(),ts:Math.round(Date.now()),count:1,upgrade:null,upload:""},t=Ir("_clsk",!l.includeSubdomains);if(t){let n=t.includes("^")?t.split("^"):t.split("|");n.length>=5&&e.ts-xr(n[1])<18e5&&(e.session=n[0],e.count=xr(n[2])+1,e.upgrade=xr(n[3]),e.upload=n.length>=6?`https://${n[5]}/${n[4]}`:`https://${n[4]}`)}return e}(),c=_r(),d=l.projectId||p(location.host);fr={projectId:d,userId:c.id,sessionId:s.session,pageNum:s.count},l.lean=l.track&&null!==s.upgrade?0===s.upgrade:l.lean,l.upload=l.track&&"string"==typeof l.upload&&s.upload&&s.upload.length>"https://".length?s.upload:l.upload,sr(0,i),sr(3,u),sr(1,w(location.href,!!mr)),sr(2,document.referrer),sr(15,function(){let e=Nr();if(l.track&&Er(window,"sessionStorage")){let t=sessionStorage.getItem("_cltk");e=t||e,sessionStorage.setItem("_cltk",e)}return e}()),sr(16,document.documentElement.lang),sr(17,document.dir),sr(26,`${window.devicePixelRatio}`),sr(28,c.dob.toString()),sr(29,c.version.toString()),sr(33,o),sr(34,a),sr(35,r),z(0,s.ts),z(1,0),z(35,mr),navigator&&(sr(9,navigator.language),z(33,navigator.hardwareConcurrency),z(32,navigator.maxTouchPoints),z(34,Math.round(navigator.deviceMemory)),function(){let e=navigator.userAgentData;e&&e.getHighEntropyValues?e.getHighEntropyValues(["model","platform","platformVersion","uaFullVersion"]).then((e=>{var t;sr(22,e.platform),sr(23,e.platformVersion),null===(t=e.brands)||void 0===t||t.forEach((e=>{sr(24,e.name+"~"+e.version)})),sr(25,e.model),z(27,e.mobile?1:0)})):sr(22,navigator.platform)}()),screen&&(z(14,Math.round(screen.width)),z(15,Math.round(screen.height)),z(16,Math.round(screen.colorDepth)));for(let e of l.cookies){let t=Ir(e);t&&ae(e,t)}!function(e){pr(e?1:0)}(l.track),Mr(c)}function vr(){gr=null,fr=null,hr.forEach((e=>{e.called=!1}))}function br(e,t=!0,n=!1){let i=l.lean?0:1,a=!1;fr&&(i||!1===t)&&(e(fr,!l.lean),a=!0),!n&&a||hr.push({callback:e,wait:t,recall:n,called:a})}function wr(){return fr?[fr.userId,fr.sessionId,fr.pageNum].join("."):""}function kr(e=!0){if(!e)return l.track=!1,Dr("_clsk","",-Number.MAX_VALUE),Dr("_clck","",-Number.MAX_VALUE),Io(),void window.setTimeout(_o,250);ao()&&(l.track=!0,Mr(_r(),1),Tr(),pr(2))}function Sr(){Dr("_clsk","",0)}function Or(){!function(e){if(hr.length>0)for(let t=0;t<hr.length;t++){const n=hr[t];!n.callback||n.called||n.wait&&!e||(n.callback(fr,!l.lean),n.called=!0,n.recall||(hr.splice(t,1),t--))}}(l.lean?0:1)}function Tr(){if(!fr||!l.track)return;let e=Math.round(Date.now()),t=l.upload&&"string"==typeof l.upload?l.upload.replace("https://",""):"",n=l.lean?0:1;Dr("_clsk",[fr.sessionId,e,fr.pageNum,n,t].join("|"),1)}function Er(e,t){try{return!!e[t]}catch(e){return!1}}function Mr(e,t=null){t=null===t?e.consent:t;let n=Math.ceil((Date.now()+31536e6)/864e5),i=0===e.dob?null===l.dob?0:l.dob:e.dob;if(null===e.expiry||Math.abs(n-e.expiry)>=1||e.consent!==t||e.dob!==i){Dr("_clck",[fr.userId,2,n.toString(36),t,i].join("|"),365)}}function Nr(){let e=Math.floor(Math.random()*Math.pow(2,32));return window&&window.crypto&&window.crypto.getRandomValues&&Uint32Array&&(e=window.crypto.getRandomValues(new Uint32Array(1))[0]),e.toString(36)}function xr(e,t=10){return parseInt(e,t)}function _r(){let e={id:Nr(),version:0,expiry:null,consent:0,dob:0},t=Ir("_clck",!l.includeSubdomains);if(t&&t.length>0){let n=t.includes("^")?t.split("^"):t.split("|");n.length>1&&(e.version=xr(n[1])),n.length>2&&(e.expiry=xr(n[2],36)),n.length>3&&1===xr(n[3])&&(e.consent=1),n.length>4&&xr(n[1])>1&&(e.dob=xr(n[4])),l.track=l.track||1===e.consent,e.id=l.track?n[0]:e.id}return e}function Ir(e,t=!1){if(Er(document,"cookie")){let n=document.cookie.split(";");if(n)for(let i=0;i<n.length;i++){let a=n[i].split("=");if(a.length>1&&a[0]&&a[0].trim()===e){let[e,n]=Cr(a[1]);for(;e;)[e,n]=Cr(n);return t?n.endsWith("~1")?n.substring(0,n.length-2):null:n}}}return null}function Cr(e){try{let t=decodeURIComponent(e);return[t!=e,t]}catch(e){}return[!1,e]}function Dr(e,t,n){if((l.track||""==t)&&(navigator&&navigator.cookieEnabled||Er(document,"cookie"))){let i=function(e){return encodeURIComponent(e)}(t),a=new Date;a.setDate(a.getDate()+n);let r=`${e}=${i};${a?"expires="+a.toUTCString():""};path=/`;try{if(null===gr){let n=location.hostname?location.hostname.split("."):[];for(let i=n.length-1;i>=0;i--)if(gr=`.${n[i]}${gr||""}`,i<n.length-1&&(document.cookie=`${r};domain=${gr}`,Ir(e)===t))return;gr=""}}catch(e){gr=""}document.cookie=gr?`${r};domain=${gr}`:r}}let Rr,Pr=null;function Ar(){const e=fr;Pr={version:d,sequence:0,start:0,duration:0,projectId:e.projectId,userId:e.userId,sessionId:e.sessionId,pageNum:e.pageNum,upload:0,end:0,applicationPlatform:0,url:""}}function Xr(){Pr=null}function Yr(e){return Pr.start=Pr.start+Pr.duration,Pr.duration=c()-Pr.start,Pr.sequence++,Pr.upload=e&&"sendBeacon"in navigator?1:0,Pr.end=e?1:0,Pr.applicationPlatform=0,Pr.url=w(location.href,!1,!0),[Pr.version,Pr.sequence,Pr.start,Pr.duration,Pr.projectId,Pr.userId,Pr.sessionId,Pr.pageNum,Pr.upload,Pr.end,Pr.applicationPlatform,Pr.url]}function jr(){Rr=[]}function $r(e){if(Rr&&-1===Rr.indexOf(e.message)){const t=l.report;if(t&&t.length>0){let n={v:Pr.version,p:Pr.projectId,u:Pr.userId,s:Pr.sessionId,n:Pr.pageNum};e.message&&(n.m=e.message),e.stack&&(n.e=e.stack);let i=new XMLHttpRequest;i.open("POST",t,!0),i.send(JSON.stringify(n)),Rr.push(e.message)}}return e}function Lr(e){return function(){let t=performance.now();try{e.apply(this,arguments)}catch(e){throw $r(e)}let n=performance.now()-t;W(4,n),n>30&&(L(7),z(6,n),_a(9,0,`${e.dn||e.name}-${n}`))}}let Wr=new Map;function zr(e,t,n,i=!1,a=!0){n=Lr(n);try{e[u("addEventListener")](t,n,{capture:i,passive:a}),Ur(e)||Wr.set(e,[]),Wr.get(e).push({event:t,listener:n,options:{capture:i,passive:a}})}catch(e){}}function Hr(){Wr.forEach(((e,t)=>{Fr(e,t)})),Wr=new Map}function qr(e){Ur(e)&&Fr(Wr.get(e),e)}function Ur(e){return Wr.has(e)}function Fr(e,t){e.forEach((e=>{try{t[u("removeEventListener")](e.event,e.listener,{capture:e.options.capture,passive:e.options.passive})}catch(e){}})),Wr.delete(t)}let Vr=null,Br=null,Jr=null,Kr=0;function Gr(){return!(Kr++>20)||(_a(4,0),!1)}function Zr(){Zr.dn=1,Kr=0,Jr!==eo()&&(Io(),window.setTimeout(Qr,250))}function Qr(){_o(),z(29,1)}function eo(){return location.href?location.href.replace(location.hash,""):location.href}let to=!1;function no(){to=!0,s=performance.now()+performance.timeOrigin,Xa(),Hr(),jr(),Jr=eo(),Kr=0,zr(window,"popstate",Zr),null===Vr&&(Vr=history.pushState,history.pushState=function(){Vr.apply(this,arguments),ao()&&Gr()&&Zr()}),null===Br&&(Br=history.replaceState,history.replaceState=function(){Br.apply(this,arguments),ao()&&Gr()&&Zr()})}function io(){Jr=null,Kr=0,jr(),Hr(),Xa(),s=0,to=!1}function ao(){return to}function ro(){ro.dn=2,_o(),X("clarity","restart")}var oo=Object.freeze({__proto__:null,start:function e(){e.dn=3,function(){Re=[],z(26,navigator.webdriver?1:0);try{z(31,window.top==window.self||window.top==window?1:2)}catch(e){z(31,0)}}(),zr(window,"error",Ea),Ta={},xa={}},stop:function(){xa={}}});var lo=Object.freeze({__proto__:null,hashText:Ci,start:function e(){e.dn=20,wn(),kn(),Qi(),Fi=null,zi=new WeakMap,Hi={},qi=[],Ui=!!window.IntersectionObserver,vi(),l.delayDom?zr(window,"load",(()=>{Rn()})):Rn(),Ua(),Jt(),function(){if(window.Animation&&window.Animation.prototype&&window.KeyframeEffect&&window.KeyframeEffect.prototype&&window.KeyframeEffect.prototype.getKeyframes&&window.KeyframeEffect.prototype.getTiming&&(cn(),pn(tn,"play"),pn(nn,"pause"),pn(an,"commitStyles"),pn(rn,"cancel"),pn(on,"finish"),null===en&&(en=Element.prototype.animate,Element.prototype.animate=function(){var e=en.apply(this,arguments);return fn(e,"play"),e}),document.getAnimations))for(var e of document.getAnimations())"finished"===e.playState?fn(e,"finish"):"paused"===e.playState||"idle"===e.playState?fn(e,"pause"):"running"===e.playState&&fn(e,"play")}()},stop:function(){Qi(),zi=null,Hi={},qi=[],Fi&&(Fi.disconnect(),Fi=null),Ui=!1,bi(),function(){for(let e of Array.from(On))e&&e.disconnect();On=new Set,In={},Tn=[],En={},Mn=[],_n=0,Nn=null,Cn=new WeakMap}(),wn(),qt={},Ut={},Ft=[],Vt=[],Gt(),cn()}});let uo=null;function so(){uo=null}function co(e){uo={fetchStart:Math.round(e.fetchStart),connectStart:Math.round(e.connectStart),connectEnd:Math.round(e.connectEnd),requestStart:Math.round(e.requestStart),responseStart:Math.round(e.responseStart),responseEnd:Math.round(e.responseEnd),domInteractive:Math.round(e.domInteractive),domComplete:Math.round(e.domComplete),loadEventStart:Math.round(e.loadEventStart),loadEventEnd:Math.round(e.loadEventEnd),redirectCount:Math.round(e.redirectCount),size:e.transferSize?e.transferSize:0,type:e.type,protocol:e.nextHopProtocol,encodedSize:e.encodedBodySize?e.encodedBodySize:0,decodedSize:e.decodedBodySize?e.decodedBodySize:0},async function(e){let t=[c(),e];29===e&&(t.push(uo.fetchStart),t.push(uo.connectStart),t.push(uo.connectEnd),t.push(uo.requestStart),t.push(uo.responseStart),t.push(uo.responseEnd),t.push(uo.domInteractive),t.push(uo.domComplete),t.push(uo.loadEventStart),t.push(uo.loadEventEnd),t.push(uo.redirectCount),t.push(uo.size),t.push(uo.type),t.push(uo.protocol),t.push(uo.encodedSize),t.push(uo.decodedSize),so(),ya(t))}(29)}let po=0,fo=1/0,ho=0,mo=0;const go=[],yo=new Map,vo=()=>po||0,bo=()=>{if(!go.length)return-1;const e=Math.min(go.length-1,Math.floor((vo()-mo)/50));return go[e].latency},wo=()=>{mo=vo(),go.length=0,yo.clear()},ko=e=>{if(!e.interactionId||e.duration<40)return;(e=>{"interactionCount"in performance?po=performance.interactionCount:e.interactionId&&(fo=Math.min(fo,e.interactionId),ho=Math.max(ho,e.interactionId),po=ho?(ho-fo)/7+1:0)})(e);const t=go[go.length-1],n=yo.get(e.interactionId);if(n||go.length<10||e.duration>(null==t?void 0:t.latency)){if(n)e.duration>n.latency&&(n.latency=e.duration);else{const t={id:e.interactionId,latency:e.duration};yo.set(t.id,t),go.push(t)}go.sort(((e,t)=>t.latency-e.latency)),go.length>10&&go.splice(10).forEach((e=>yo.delete(e.id)))}};let So;const Oo=["navigation","resource","longtask","first-input","layout-shift","largest-contentful-paint","event"];function To(){To.dn=26;try{So&&So.disconnect(),So=new PerformanceObserver(Lr(Eo));for(let e of Oo)PerformanceObserver.supportedEntryTypes.indexOf(e)>=0&&("layout-shift"===e&&W(9,0),So.observe({type:e,buffered:!0}))}catch(e){_a(3,1)}}function Eo(e){Eo.dn=27,function(e){let t=!("visibilityState"in document)||"visible"===document.visibilityState;for(let n=0;n<e.length;n++){let i=e[n];switch(i.entryType){case"navigation":co(i);break;case"resource":let e=i.name;sr(4,Mo(e)),e!==l.upload&&e!==l.fallback||z(28,i.duration);break;case"longtask":L(7);break;case"first-input":t&&z(10,i.processingStart-i.startTime);break;case"event":t&&"PerformanceEventTiming"in window&&"interactionId"in PerformanceEventTiming.prototype&&(ko(i),sr(37,bo().toString()));break;case"layout-shift":t&&!i.hadRecentInput&&W(9,1e3*i.value);break;case"largest-contentful-paint":t&&z(8,i.startTime)}}}(e.getEntries())}function Mo(e){let t=document.createElement("a");return t.href=e,t.host}var No=Object.freeze({__proto__:null,start:function e(){e.dn=25,so(),function(){navigator&&"connection"in navigator&&sr(27,navigator.connection.effectiveType),window.PerformanceObserver&&PerformanceObserver.supportedEntryTypes?"complete"!==document.readyState?zr(window,"load",H.bind(this,To,0)):To():_a(3,0)}()},stop:function(){So&&So.disconnect(),So=null,wo(),so()}});const xo=[oo,lo,Lt,No];function _o(e=null){(function(){try{let e=navigator&&"globalPrivacyControl"in navigator&&1==navigator.globalPrivacyControl;return!1===to&&"undefined"!=typeof Promise&&window.MutationObserver&&document.createTreeWalker&&"now"in Date&&"now"in performance&&"undefined"!=typeof WeakMap&&!e}catch(e){return!1}})()&&(!function(e){if(null===e||to)return!1;for(let t in e)t in l&&(l[t]=e[t])}(e),no(),_e(),xo.forEach((e=>Lr(e.start)())),null===e&&Po())}function Io(){ao()&&(xo.slice().reverse().forEach((e=>Lr(e.stop)())),Ie(),io(),void 0!==Do&&(Do[Ro]=function(){(Do[Ro].q=Do[Ro].q||[]).push(arguments),"start"===arguments[0]&&Do[Ro].q.unshift(Do[Ro].q.pop())&&Po()}))}var Co=Object.freeze({__proto__:null,consent:kr,event:X,hashText:Ci,identify:re,metadata:br,pause:function(){ao()&&(X("clarity","pause"),null===Pa&&(Pa=new Promise((e=>{Aa=e}))))},resume:function(){ao()&&(Pa&&(Aa(),Pa=null,null===Ra&&ja()),X("clarity","resume"))},set:ae,signal:function(e){Me=e},start:_o,stop:Io,upgrade:Ka,version:d});const Do=window,Ro="clarity";function Po(){if(void 0!==Do){if(Do[Ro]&&Do[Ro].v)return console.warn("Error CL001: Multiple Clarity tags detected.");let e=Do[Ro]&&Do[Ro].q||[];for(Do[Ro]=function(e,...t){return Co[e](...t)},Do[Ro].v=d;e.length>0;)Do[Ro](...e.shift())}}Po()}();
|
|
1
|
+
!function(){"use strict";var e=Object.freeze({__proto__:null,get add(){return Oi},get get(){return Ri},get getId(){return Si},get getNode(){return Di},get getValue(){return Pi},get has(){return Xi},get hashText(){return Ci},get iframe(){return Mi},get iframeContent(){return Ni},get lookup(){return Ai},get parse(){return ki},get removeIFrame(){return xi},get sameorigin(){return Ei},get start(){return vi},get stop(){return bi},get update(){return Ti},get updates(){return Yi}}),t=Object.freeze({__proto__:null,get queue(){return va},get start(){return ya},get stop(){return ba},get track(){return da}}),n=Object.freeze({__proto__:null,get data(){return Ja},get start(){return Ka},get stop(){return Za},get upgrade(){return Ga}}),i=Object.freeze({__proto__:null,get check(){return tr},get compute(){return ir},get data(){return Ba},get start(){return er},get stop(){return ar},get trigger(){return nr}}),a=Object.freeze({__proto__:null,get compute(){return dr},get data(){return rr},get log(){return cr},get reset(){return pr},get start(){return ur},get stop(){return sr},get updates(){return or}}),r=Object.freeze({__proto__:null,get callback(){return Tr},get callbacks(){return mr},get clear(){return Or},get consent(){return Sr},get data(){return hr},get electron(){return gr},get id(){return kr},get metadata(){return wr},get save(){return Er},get shortid(){return xr},get start(){return vr},get stop(){return br}}),o=Object.freeze({__proto__:null,get data(){return Ar},get envelope(){return jr},get start(){return Xr},get stop(){return Yr}});let l={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(e){return window.Zone&&"__symbol__"in window.Zone?window.Zone.__symbol__(e):e}let s=0;function c(e=null){let t=e&&e.timeStamp>0?e.timeStamp:performance.now(),n=e&&e.view?e.view.performance.timeOrigin:performance.timeOrigin;return Math.max(Math.round(t+n-s),0)}let d="0.8.10-beta";function p(e,t=null){let n=0,i=5381,a=i;for(let t=0;t<e.length;t+=2){if(i=(i<<5)+i^e.charCodeAt(t),t+1<e.length){a=(a<<5)+a^e.charCodeAt(t+1)}}return n=Math.abs(i+11579*a),(t?n%Math.pow(2,t):n).toString(36)}const f=/\S/gi,h=255;let m=!0,g=null,y=null,v=null;function b(e,t,n,i=!1,a){if(e){if("input"==t&&("checkbox"===a||"radio"===a))return e;switch(n){case 0:return e;case 1:switch(t){case"*T":case"value":case"placeholder":case"click":return function(e){let t=-1,n=0,i=!1,a=!1,r=!1,o=null;E();for(let l=0;l<e.length;l++){let u=e.charCodeAt(l);if(i=i||u>=48&&u<=57,a=a||64===u,r=9===u||10===u||13===u||32===u,0===l||l===e.length-1||r){if(i||a){null===o&&(o=e.split(""));let i=e.substring(t+1,r?l:l+1);i=m&&null!==v?i.match(v)?i:O(i,"▪","▫"):S(i),o.splice(t+1-n,i.length,i),n+=i.length-1}r&&(i=!1,a=!1,t=l)}}return o?o.join(""):e}(e);case"input":case"change":return T(e)}return e;case 2:case 3:switch(t){case"*T":case"data-":return i?k(e):S(e);case"src":case"srcset":case"title":case"alt":return 3===n?"":e;case"value":case"click":case"input":case"change":return T(e);case"placeholder":return S(e)}break;case 4:switch(t){case"*T":case"data-":return i?k(e):S(e);case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":return""}break;case 5:switch(t){case"*T":case"data-":return O(e,"▪","▫");case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":case"src":case"srcset":case"alt":case"title":return""}}}return e}function w(e,t=!1,n=!1){let i=e;if(t)i="https://Electron";else{let t=l.drop;if(t&&t.length>0&&e&&e.indexOf("?")>0){let[n,a]=e.split("?"),r="*na*";i=n+"?"+a.split("&").map((e=>t.some((t=>0===e.indexOf(`${t}=`)))?`${e.split("=")[0]}=${r}`:e)).join("&")}}return n&&(i=i.substring(0,h)),i}function k(e){let t=e.trim();if(t.length>0){let n=t[0],i=e.indexOf(n),a=e.substr(0,i),r=e.substr(i+t.length);return`${a}${t.length.toString(36)}${r}`}return e}function S(e){return e.replace(f,"•")}function O(e,t,n){return E(),e?e.replace(y,t).replace(g,n):e}function T(e){let t=5*(Math.floor(e.length/5)+1),n="";for(let e=0;e<t;e++)n+=e>0&&e%5==0?" ":"•";return n}function E(){if(m&&null===g)try{g=new RegExp("\\p{N}","gu"),y=new RegExp("\\p{L}","gu"),v=new RegExp("\\p{Sc}","gu")}catch(e){m=!1}}let M=null,N=null,x=!1;function _(){x&&(M={time:c(),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}}),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}}function I(e,t,n,i){switch(e){case 8:N.docWidth=t,N.docHeight=n;break;case 11:N.screenWidth=t,N.screenHeight=n;break;case 10:N.scrollX=t,N.scrollY=n,N.scrollTime=i;break;case 12:N.moveX=t,N.moveY=n,N.moveTime=i,N.pointerPrevX=N.pointerX,N.pointerPrevY=N.pointerY,N.pointerPrevTime=N.pointerTime,N.pointerX=t,N.pointerY=n,N.pointerTime=i;break;case 13:N.downX=t,N.downY=n,N.downTime=i,N.pointerPrevX=N.pointerX,N.pointerPrevY=N.pointerY,N.pointerPrevTime=N.pointerTime,N.pointerX=t,N.pointerY=n,N.pointerTime=i;break;case 14:N.upX=t,N.upY=n,N.upTime=i,N.pointerPrevX=N.pointerX,N.pointerPrevY=N.pointerY,N.pointerPrevTime=N.pointerTime,N.pointerX=t,N.pointerY=n,N.pointerTime=i;break;default:N.pointerPrevX=N.pointerX,N.pointerPrevY=N.pointerY,N.pointerPrevTime=N.pointerTime,N.pointerX=t,N.pointerY=n,N.pointerTime=i}x=!0}function C(e){N.activityTime=e}function D(e,t){N.visible="visible"===t?1:0,N.visible||C(e),x=!0}function P(){x&&Qa(4)}var R=Object.freeze({__proto__:null,activity:C,compute:P,reset:_,start:function(){x=!1,_()},get state(){return M},stop:function(){_()},track:I,visibility:D});let A=null;function X(e,t){ro()&&e&&"string"==typeof e&&e.length<255&&(A=t&&"string"==typeof t&&t.length<255?{key:e,value:t}:{value:e},Qa(24))}let Y,j=null,$=null;function L(e){e in j||(j[e]=0),e in $||($[e]=0),j[e]++,$[e]++}function W(e,t){null!==t&&(e in j||(j[e]=0),e in $||($[e]=0),j[e]+=t,$[e]+=t)}function z(e,t){null!==t&&!1===isNaN(t)&&(e in j||(j[e]=0),(t>j[e]||0===j[e])&&($[e]=t,j[e]=t))}function H(e,t,n){return window.setTimeout(Wr(e),t,n)}function q(e){return window.clearTimeout(e)}let U=0,F=0,V=null;function B(){V&&q(V),V=H(J,F),U=c()}function J(){let e=c();Y={gap:e-U},Qa(25),Y.gap<3e5?V=H(J,F):no&&(X("clarity","suspend"),Co(),["mousemove","touchstart"].forEach((e=>Hr(document,e,oo))),["resize","scroll","pageshow"].forEach((e=>Hr(window,e,oo))))}var K=Object.freeze({__proto__:null,get data(){return Y},reset:B,start:function(){F=6e4,U=0},stop:function(){q(V),U=0,F=0}});let G=null;function Z(e,t){if(e in G){let n=G[e],i=n[n.length-1];t-i[0]>100?G[e].push([t,0]):i[1]=t-i[0]}else G[e]=[[t,0]]}function Q(){Qa(36)}function ee(){G={}}var te=Object.freeze({__proto__:null,compute:Q,get data(){return G},reset:ee,start:function(){G={}},stop:function(){G={}},track:Z});const ne="CompressionStream"in window;let ie=null;function ae(e,t){oe(e,"string"==typeof t?[t]:t)}async function re(e,t=null,n=null,i=null){let a={userId:await se(e),userHint:i||(r=e,r&&r.length>=5?`${r.substring(0,2)}${O(r.substring(2),"*","*")}`:O(r,"*","*"))};var r;return oe("userId",[a.userId]),oe("userHint",[a.userHint]),oe("userType",[ce(e)]),t&&(oe("sessionId",[t]),a.sessionId=t),n&&(oe("pageId",[n]),a.pageId=n),a}function oe(e,t){if(ro()&&e&&t&&"string"==typeof e&&e.length<255){let n=e in ie?ie[e]:[];for(let e=0;e<t.length;e++)"string"==typeof t[e]&&t[e].length<255&&n.push(t[e]);ie[e]=n}}function le(){Qa(34)}function ue(){ie={}}async function se(e){try{if(crypto&&e){const t=await crypto.subtle.digest("SHA-256",(new TextEncoder).encode(e));return Array.prototype.map.call(new Uint8Array(t),(e=>("00"+e.toString(16)).slice(-2))).join("")}return""}catch(e){return""}}function ce(e){return e&&e.indexOf("@")>0?"email":"string"}var de=Object.freeze({__proto__:null,compute:le,get data(){return ie},identify:re,reset:ue,set:ae,start:function(){ue()},stop:function(){ue()}});let pe={},fe=new Set,he={},me={},ge={},ye={};function ve(e){try{var t=e&&e.length>0?e.split(/ (.*)/):[""],n=t[0].split(/\|(.*)/),i=parseInt(n[0]),a=n.length>1?n[1]:"",r=t.length>1?JSON.parse(t[1]):{};for(var o in he[i]={},me[i]={},ge[i]={},ye[i]=a,r){let e=parseInt(o),t=r[o],n=2;switch(t.startsWith("~")?n=0:t.startsWith("!")&&(n=4),n){case 0:let n=t.slice(1);he[i][e]=Oe(n);break;case 2:me[i][e]=t;break;case 4:let a=t.slice(1);ge[i][e]=a}}}catch(e){Ia(8,1,e?e.name:null)}}function be(e){return JSON.parse(JSON.stringify(e))}function we(){try{for(let t in he){let n=parseInt(t);if(""==ye[n]||document.querySelector(ye[n])){let t=he[n];for(let i in t){let a=parseInt(i),r=(e=Te(be(t[a])))?JSON.stringify(e).slice(0,1e4):e;r&&Se(n,a,r)}let i=me[n];for(let e in i){let t=!1,a=parseInt(e),r=i[a];r.startsWith("@")&&(t=!0,r=r.slice(1));let o=document.querySelectorAll(r);if(o){let e=Array.from(o).map((e=>e.textContent)).join("<SEP>");Se(n,a,(t?p(e).trim():e).slice(0,1e4))}}let a=ge[n];for(let e in a){let t=parseInt(e);Se(n,t,Ci(a[t]).trim().slice(0,1e4))}}}fe.size>0&&Qa(40)}catch(e){Ia(5,1,e?e.name:null)}var e}function ke(){fe.clear()}function Se(e,t,n){var i,a=!1;e in pe||(pe[e]={},a=!0),i=ge[e],0==Object.keys(i).length||t in pe[e]&&pe[e][t]==n||(a=!0),pe[e][t]=n,a&&fe.add(e)}function Oe(e){let t=[],n=e.split(".");for(;n.length>0;){let e=n.shift(),i=e.indexOf("["),a=e.indexOf("{"),r=e.indexOf("}");t.push({name:i>0?e.slice(0,i):a>0?e.slice(0,a):e,type:i>0?1:a>0?2:3,condition:a>0?e.slice(a+1,r):null})}return t}function Te(e,t=window){if(0==e.length)return t;let n,i=e.shift();if(t&&t[i.name]){let r=t[i.name];if(1!==i.type&&Ee(r,i.condition))n=Te(e,r);else if(Array.isArray(r)){let t=[];for(var a of r)if(Ee(a,i.condition)){let n=Te(e,a);n&&t.push(n)}n=t}return n}return null}function Ee(e,t){if(t){let n=t.split(":");return n.length>1?e[n[0]]==n[1]:e[n[0]]}return!0}let Me=null;function Ne(e){try{if(!Me)return;const t=function(e){try{return JSON.parse(e)}catch(e){return[]}}(e);t.forEach((e=>{Me(e)}))}catch(e){}}const xe=[R,a,de,i,te,r,o,t,K,n,Object.freeze({__proto__:null,clone:be,compute:we,data:pe,keys:fe,reset:ke,start:function(){ke()},stop:function(){ke()},trigger:ve,update:Se})];function _e(){j={},$={},L(5),xe.forEach((e=>Wr(e.start)()))}function Ie(){xe.slice().reverse().forEach((e=>Wr(e.stop)())),j={},$={}}function Ce(){le(),P(),dr(),Qa(0),Q(),ir(),we()}let De,Pe=[];function Re(e,t,n){l.fraud&&null!==e&&n&&n.length>=5&&(De={id:e,target:t,checksum:p(n,28)},Pe.indexOf(De.checksum)<0&&(Pe.push(De.checksum),Na(41)))}let Ae=[];function Xe(e){Xe.dn=5;let t=ea(e);if(t){let n=t.value,i=n&&n.length>=5&&l.fraud&&-1==="password,secret,pass,social,ssn,code,hidden".indexOf(t.type)?p(n,28):"";Ae.push({time:c(e),event:42,data:{target:ea(e),type:t.type,value:n,checksum:i}}),ja(na.bind(this,42))}}function Ye(){Ae=[]}function je(e){let t={x:0,y:0};if(e&&e.offsetParent)do{let n=e.offsetParent,i=null===n?Mi(e.ownerDocument):null;t.x+=e.offsetLeft,t.y+=e.offsetTop,e=i||n}while(e);return t}const $e=["input","textarea","radio","button","canvas","select"];let Le=[];function We(e){Hr(e,"click",ze.bind(this,9,e),!0)}function ze(e,t,n){ze.dn=6;let i=Mi(t),a=i?i.contentDocument.documentElement:document.documentElement,r="pageX"in n?Math.round(n.pageX):"clientX"in n?Math.round(n.clientX+a.scrollLeft):null,o="pageY"in n?Math.round(n.pageY):"clientY"in n?Math.round(n.clientY+a.scrollTop):null;if(i){let e=je(i);r=r?r+Math.round(e.x):r,o=o?o+Math.round(e.y):o}let l=ea(n),u=function(e){for(;e&&e!==document;){if(e.nodeType===Node.ELEMENT_NODE){let t=e;if("A"===t.tagName)return t}e=e.parentNode}return null}(l),s=function(e){let t=null,n=document.documentElement;if("function"==typeof e.getBoundingClientRect){let i=e.getBoundingClientRect();i&&i.width>0&&i.height>0&&(t={x:Math.floor(i.left+("pageXOffset"in window?window.pageXOffset:n.scrollLeft)),y:Math.floor(i.top+("pageYOffset"in window?window.pageYOffset:n.scrollTop)),w:Math.floor(i.width),h:Math.floor(i.height)})}return t}(l);0===n.detail&&s&&(r=Math.round(s.x+s.w/2),o=Math.round(s.y+s.h/2));let d=s?Math.max(Math.floor((r-s.x)/s.w*32767),0):0,p=s?Math.max(Math.floor((o-s.y)/s.h*32767),0):0;if(null!==r&&null!==o){const t=function(e){let t=null,n=!1;if(e){let i=e.textContent||String(e.value||"")||e.alt;if(i){const e=i.replace(/\s+/g," ").trim();t=e.substring(0,25),n=t.length===e.length}}return{text:t,isFullText:n?1:0}}(l);Le.push({time:c(n),event:e,data:{target:l,x:r,y:o,eX:d,eY:p,button:n.button,reaction:He(l),context:qe(u),text:t.text,link:u?u.href:null,hash:null,trust:n.isTrusted?1:0,isFullText:t.isFullText}}),ja(na.bind(this,e))}}function He(e){if(e.nodeType===Node.ELEMENT_NODE){let t=e.tagName.toLowerCase();if($e.indexOf(t)>=0)return 0}return 1}function qe(e){if(e&&e.hasAttribute("target"))switch(e.getAttribute("target")){case"_blank":return 1;case"_parent":return 2;case"_top":return 3}return 0}function Ue(){Le=[]}let Fe=[];function Ve(e,t){Ve.dn=7,Fe.push({time:c(t),event:38,data:{target:ea(t),action:e}}),ja(na.bind(this,38))}function Be(){Fe=[]}let Je=null,Ke=[];function Ge(e){Ge.dn=9;let t=ea(e),n=Ri(t);if(t&&t.type&&n){let n=t.value,i=t.type;switch(t.type){case"radio":case"checkbox":n=t.checked?"true":"false"}let a={target:t,value:n,type:i};Ke.length>0&&Ke[Ke.length-1].data.target===a.target&&Ke.pop(),Ke.push({time:c(e),event:27,data:a}),q(Je),Je=H(Ze,1e3,27)}}function Ze(e){ja(na.bind(this,e))}function Qe(){Ke=[]}let et=[],tt=null,nt=!1,it=0;const at=new Set;function rt(e,t,n){rt.dn=10;let i=Mi(t),a=i?i.contentDocument.documentElement:document.documentElement,r="pageX"in n?Math.round(n.pageX):"clientX"in n?Math.round(n.clientX+a.scrollLeft):null,o="pageY"in n?Math.round(n.pageY):"clientY"in n?Math.round(n.clientY+a.scrollTop):null;if(i){let e=je(i);r=r?r+Math.round(e.x):r,o=o?o+Math.round(e.y):o}null!==r&&null!==o&<({time:c(n),event:e,data:{target:ea(n),x:r,y:o}})}function ot(e,t,n){ot.dn=11;let i=Mi(t),a=i?i.contentDocument.documentElement:document.documentElement,r=n.changedTouches,o=c(n);if(r)for(let t=0;t<r.length;t++){let l=r[t],u="clientX"in l?Math.round(l.clientX+a.scrollLeft):null,s="clientY"in l?Math.round(l.clientY+a.scrollTop):null;u=u&&i?u+Math.round(i.offsetLeft):u,s=s&&i?s+Math.round(i.offsetTop):s;const c="identifier"in l?l.identifier:void 0;switch(e){case 17:0===at.size&&(nt=!0,it=c),at.add(c);break;case 18:case 20:at.delete(c)}const d=nt&&it===c;null!==u&&null!==s&<({time:o,event:e,data:{target:ea(n),x:u,y:s,id:c,isPrimary:d}}),20!==e&&18!==e||it===c&&(nt=!1)}}function lt(e){switch(e.event){case 12:case 15:case 19:let t=et.length,n=t>1?et[t-2]:null;n&&function(e,t){let n=e.data.x-t.data.x,i=e.data.y-t.data.y,a=Math.sqrt(n*n+i*i),r=t.time-e.time,o=t.data.target===e.data.target,l=void 0===t.data.id||t.data.id===e.data.id;return t.event===e.event&&o&&a<20&&r<25&&l}(n,e)&&et.pop(),et.push(e),q(tt),tt=H(ut,500,e.event);break;default:et.push(e),ut(e.event)}}function ut(e){ja(na.bind(this,e))}function st(){et=[]}let ct,dt=null,pt=!1;function ft(){ft.dn=12;let e=document.documentElement;ct={width:e&&"clientWidth"in e?Math.min(e.clientWidth,window.innerWidth):window.innerWidth,height:e&&"clientHeight"in e?Math.min(e.clientHeight,window.innerHeight):window.innerHeight},pt?(q(dt),dt=H(ht,500,11)):(na(11),pt=!0)}function ht(e){ja(na.bind(this,e))}function mt(){ct=null,q(dt)}let gt=[],yt=null,vt=null,bt=null;function wt(e=null){wt.dn=13;let t=window,n=document.documentElement,i=e?ea(e):n;if(i&&i.nodeType===Node.DOCUMENT_NODE){let e=Mi(i);t=e?e.contentWindow:t,i=n=i.documentElement}let a=i===n&&"pageXOffset"in t?Math.round(t.pageXOffset):Math.round(i.scrollLeft),r=i===n&&"pageYOffset"in t?Math.round(t.pageYOffset):Math.round(i.scrollTop);const o=window.innerWidth,l=window.innerHeight,u=o/3,s=o>l?.15*l:.2*l,d=l-s,p=kt(u,s),f=kt(u,d);let h={time:c(e),event:10,data:{target:i,x:a,y:r,top:p,bottom:f}};if(null===e&&0===a&&0===r||null===a||null===r)return yt=p,void(vt=f);let m=gt.length,g=m>1?gt[m-2]:null;g&&function(e,t){let n=e.data.x-t.data.x,i=e.data.y-t.data.y;return n*n+i*i<400&&t.time-e.time<25}(g,h)&>.pop(),gt.push(h),q(bt),bt=H(St,500,10)}function kt(e,t){var n,i;let a;return"caretPositionFromPoint"in document?a=null===(n=document.caretPositionFromPoint(e,t))||void 0===n?void 0:n.offsetNode:"caretRangeFromPoint"in document&&(a=null===(i=document.caretRangeFromPoint(e,t))||void 0===i?void 0:i.startContainer),a||(a=document.elementFromPoint(e,t)),a&&a.nodeType===Node.TEXT_NODE&&(a=a.parentNode),a}function St(e){ja(na.bind(this,e))}function Ot(){var e,t;if(Ot.dn=14,yt){const t=ta(yt,null);cr(31,null===(e=null==t?void 0:t.hash)||void 0===e?void 0:e.join("."))}if(vt){const e=ta(vt,null);cr(32,null===(t=null==e?void 0:e.hash)||void 0===t?void 0:t.join("."))}}let Tt=null,Et=null,Mt=null;function Nt(e){Nt.dn=15;let t=(e.nodeType===Node.DOCUMENT_NODE?e:document).getSelection();if(null===t)return;if(null===t.anchorNode&&null===t.focusNode||t.anchorNode===t.focusNode&&t.anchorOffset===t.focusOffset)return;let n=Tt.start?Tt.start:null;null!==Et&&null!==Tt.start&&n!==t.anchorNode&&(q(Mt),xt(21)),Tt={start:t.anchorNode,startOffset:t.anchorOffset,end:t.focusNode,endOffset:t.focusOffset},Et=t,q(Mt),Mt=H(xt,500,21)}function xt(e){ja(na.bind(this,e))}function _t(){Et=null,Tt={start:0,startOffset:0,end:0,endOffset:0}}let It,Ct,Dt=[];function Pt(e){Pt.dn=16,Dt.push({time:c(e),event:39,data:{target:ea(e)}}),ja(na.bind(this,39))}function Rt(){Dt=[]}function At(e){At.dn=17,It={name:e.type,persisted:e.persisted?1:0},na(26,c(e)),Co()}function Xt(){It=null}function Yt(e=null){Yt.dn=18,Ct={visible:"visibilityState"in document?document.visibilityState:"default"},na(28,c(e))}function jt(){Ct=null}function $t(e){!function(e){let t=Mi(e);Hr(t?t.contentWindow:e===document?window:e,"scroll",wt,!0)}(e),e.nodeType===Node.DOCUMENT_NODE&&(We(e),function(e){Hr(e,"cut",Ve.bind(this,0),!0),Hr(e,"copy",Ve.bind(this,1),!0),Hr(e,"paste",Ve.bind(this,2),!0)}(e),function(e){Hr(e,"mousedown",rt.bind(this,13,e),!0),Hr(e,"mouseup",rt.bind(this,14,e),!0),Hr(e,"mousemove",rt.bind(this,12,e),!0),Hr(e,"wheel",rt.bind(this,15,e),!0),Hr(e,"dblclick",rt.bind(this,16,e),!0),Hr(e,"touchstart",ot.bind(this,17,e),!0),Hr(e,"touchend",ot.bind(this,18,e),!0),Hr(e,"touchmove",ot.bind(this,19,e),!0),Hr(e,"touchcancel",ot.bind(this,20,e),!0)}(e),function(e){Hr(e,"input",Ge,!0)}(e),function(e){Hr(e,"selectstart",Nt.bind(this,e),!0),Hr(e,"selectionchange",Nt.bind(this,e),!0)}(e),function(e){Hr(e,"change",Xe,!0)}(e),function(e){Hr(e,"submit",Pt,!0)}(e))}var Lt=Object.freeze({__proto__:null,observe:$t,start:function e(){e.dn=8,ia=[],ra(),Ue(),Be(),st(),Qe(),pt=!1,Hr(window,"resize",ft),ft(),Hr(document,"visibilitychange",Yt),Yt(),gt=[],wt(),_t(),Ye(),Rt(),Hr(window,"pagehide",At)},stop:function(){ia=[],ra(),Ue(),Be(),q(tt),et.length>0&&ut(et[et.length-1].event),q(Je),Qe(),mt(),jt(),q(bt),gt=[],yt=null,vt=null,_t(),q(Mt),Ye(),Rt(),Xt()}});let Wt=[],zt=[];const Ht="claritySheetId";let qt={},Ut={},Ft=[],Vt=[];function Bt(e){l.lean&&l.lite||null==e||(e.clarityOverrides=e.clarityOverrides||{},e.CSSStyleSheet&&e.CSSStyleSheet.prototype&&(void 0===e.clarityOverrides.replace&&(e.clarityOverrides.replace=e.CSSStyleSheet.prototype.replace,e.CSSStyleSheet.prototype.replace=function(){return ro()&&Vt.indexOf(this[Ht])>-1&&Zt(c(),this[Ht],1,arguments[0]),e.clarityOverrides.replace.apply(this,arguments)}),void 0===e.clarityOverrides.replaceSync&&(e.clarityOverrides.replaceSync=e.CSSStyleSheet.prototype.replaceSync,e.CSSStyleSheet.prototype.replaceSync=function(){return ro()&&Vt.indexOf(this[Ht])>-1&&Zt(c(),this[Ht],2,arguments[0]),e.clarityOverrides.replaceSync.apply(this,arguments)})))}function Jt(){Bt(window)}function Kt(e,t){if(l.lean&&l.lite)return;if(-1===Ft.indexOf(e)&&(Ft.push(e),e.defaultView&&Bt(e.defaultView)),t=t||c(),!(null==e?void 0:e.adoptedStyleSheets))return;let n=[];for(var i of e.adoptedStyleSheets)i[Ht]&&-1!==Vt.indexOf(i[Ht])||(i[Ht]=xr(),Vt.push(i[Ht]),Zt(t,i[Ht],0),Zt(t,i[Ht],2,Gn(i))),n.push(i[Ht]);let a=Si(e,!0);qt[a]||(qt[a]=[]),function(e,t){if(e.length!==t.length)return!1;return e.every(((e,n)=>e===t[n]))}(n,qt[a])||(!function(e,t,n,i){zt.push({time:e,event:45,data:{id:t,operation:n,newIds:i}}),hn(45)}(t,e==document?-1:Si(e),3,n),qt[a]=n,Ut[a]=t)}function Gt(){zt=[],Wt=[]}function Zt(e,t,n,i){Wt.push({time:e,event:46,data:{id:t,operation:n,cssRules:i}}),hn(46)}let Qt=[],en=null,tn=null,nn=null,an=null,rn=null,on=null;const ln="clarityAnimationId",un="clarityOperationCount",sn=20;function cn(){Qt=[]}function dn(e,t,n,i,a,r,o){Qt.push({time:e,event:44,data:{id:t,operation:n,keyFrames:i,timing:a,targetId:r,timeline:o}}),hn(44)}function pn(e,t){null===e&&(e=Animation.prototype[t],Animation.prototype[t]=function(){return fn(this,t),e.apply(this,arguments)})}function fn(e,t){if(ro()){let n=e.effect,i=Si(n.target);if(null!==i&&n.getKeyframes&&n.getTiming){if(!e[ln]){e[ln]=xr(),e[un]=0;let t=n.getKeyframes(),a=n.getTiming();dn(c(),e[ln],0,JSON.stringify(t),JSON.stringify(a),i)}if(e[un]++<sn){let n=null;switch(t){case"play":n=1;break;case"pause":n=2;break;case"cancel":n=3;break;case"finish":n=4;break;case"commitStyles":n=5}n&&dn(c(),e[ln],n)}}}}async function hn(e,t=null,n=null){let i=n||c(),a=[i,e];switch(e){case 8:let n=bn;a.push(n.width),a.push(n.height),I(e,n.width,n.height),va(a);break;case 7:for(let e of Wi)a=[e.time,7],a.push(e.data.id),a.push(e.data.interaction),a.push(e.data.visibility),a.push(e.data.name),va(a);Qi();break;case 45:case 46:for(let e of zt)a=[e.time,e.event],a.push(e.data.id),a.push(e.data.operation),a.push(e.data.newIds),va(a);for(let e of Wt)a=[e.time,e.event],a.push(e.data.id),a.push(e.data.operation),a.push(e.data.cssRules),va(a);Gt();break;case 44:for(let e of Qt)a=[e.time,e.event],a.push(e.data.id),a.push(e.data.operation),a.push(e.data.keyFrames),a.push(e.data.timing),a.push(e.data.timeline),a.push(e.data.targetId),va(a);cn();break;case 5:case 6:if(2===La(t))break;let r=Yi();if(r.length>0){for(let e of r){let n=La(t);if(0===n&&(n=await Ha(t)),2===n)break;let i=e.data,r=e.metadata.active,o=e.metadata.suspend,l=e.metadata.privacy,u=mn(e),s=r?["tag","attributes","value"]:["tag"];for(let t of s)if(i[t]||""===i[t])switch(t){case"tag":let n=gn(e),s=u?-1:1;a.push(e.id*s),e.parent&&r&&(a.push(e.parent),e.previous&&a.push(e.previous)),a.push(o?"*M":i[t]),n&&2===n.length&&a.push(`#${yn(n[0])}.${yn(n[1])}`);break;case"attributes":for(let e in i[t])void 0!==i[t][e]&&a.push(vn(e,i[t][e],l));break;case"value":Re(e.metadata.fraud,e.id,i[t]),a.push(b(i[t],i.tag,l,u))}}6===e&&C(i),va(function(e){let t=[],n={},i=0,a=null;for(let r=0;r<e.length;r++)if("string"==typeof e[r]){let o=e[r],l=n[o]||-1;l>=0?a?a.push(l):(a=[l],t.push(a),i++):(a=null,t.push(o),n[o]=i++)}else a=null,t.push(e[r]),i++;return t}(a),!l.lean)}}}function mn(e){let t=e.metadata.privacy;return"*T"===e.data.tag&&!(0===t||1===t)}function gn(e){if(null!==e.metadata.size&&0===e.metadata.size.length){let t=Di(e.id);if(t)return[Math.floor(100*t.offsetWidth),Math.floor(100*t.offsetHeight)]}return e.metadata.size}function yn(e){return e.toString(36)}function vn(e,t,n){return`${e}=${b(t,0===e.indexOf("data-")?"data-":e,n)}`}let bn;function wn(){bn=null}function kn(){kn.dn=19;let e=document.body,t=document.documentElement,n=e?e.clientWidth:null,i=e?e.scrollWidth:null,a=e?e.offsetWidth:null,r=t?t.clientWidth:null,o=t?t.scrollWidth:null,l=t?t.offsetWidth:null,u=Math.max(n,i,a,r,o,l),s=e?e.clientHeight:null,c=e?e.scrollHeight:null,d=e?e.offsetHeight:null,p=t?t.clientHeight:null,f=t?t.scrollHeight:null,h=t?t.offsetHeight:null,m=Math.max(s,c,d,p,f,h);null!==bn&&u===bn.width&&m===bn.height||null===u||null===m||(bn={width:u,height:m},hn(8))}async function Sn(e,t,n,i){let a=[e];for(;a.length>0;){let e=a.shift(),r=e.firstChild;for(;r;)a.push(r),r=r.nextSibling;let o=La(t);if(0===o&&(o=await Ha(t)),2===o)break;let l=Vn(e,n,i);l&&a.push(l)}}let On=new Set,Tn=[],En={},Mn=[],Nn=null,xn=null,_n=null,In={},Cn=new WeakMap;const Dn=["data-google-query-id","data-load-complete","data-google-container-id"];function Pn(){Pn.dn=21,On=new Set,Mn=[],Nn=null,_n=0,In={},Cn=new WeakMap,Wn(window)}function Rn(e){Rn.dn=22;let t=c();Z(6,t),Tn.push({time:t,mutations:e}),ja(Xn,1).then((()=>{H(kn),Wr(Ji)()}))}async function An(e,t,n,i){let a=La(e);if(0===a&&(a=await Ha(e)),2===a)return;let r=t.target,o=l.throttleDom?function(e,t,n,i){let a=e.target?Ri(e.target.parentNode):null;if(a&&"HTML"!==a.data.tag){let r=i>_n,o=Ri(e.target),l=o&&o.selector?o.selector.join():e.target.nodeName,u=[a.selector?a.selector.join():"",l,e.attributeName,Yn(e.addedNodes),Yn(e.removedNodes)].join();In[u]=u in In?In[u]:[0,n];let s=In[u];if(!1===r&&s[0]>=10&&jn(s[2],2,t,i),s[0]=r?s[1]===n?s[0]:s[0]+1:1,s[1]=n,s[0]>=10)return s[2]=e.removedNodes,n>i+3e3?e.type:(En[u]={mutation:e,timestamp:i},"throttle")}return e.type}(t,e,n,i):t.type;switch(o&&r&&r.ownerDocument&&ki(r.ownerDocument),o&&r&&r.nodeType==Node.DOCUMENT_FRAGMENT_NODE&&r.host&&ki(r),o){case"attributes":Dn.indexOf(t.attributeName)<0&&Vn(r,3,i);break;case"characterData":Vn(r,4,i);break;case"childList":jn(t.addedNodes,1,e,i),jn(t.removedNodes,2,e,i)}}async function Xn(){let e={id:kr(),cost:3};for(Wa(e);Tn.length>0;){let t=Tn.shift(),n=c();for(let i of t.mutations)await An(e,i,n,t.time);await hn(6,e,t.time)}let t=!1;for(var n of Object.keys(En)){let i=En[n];delete En[n],await An(e,i.mutation,c(),i.timestamp),t=!0}Object.keys(En).length>0&&function(){xn&&q(xn);xn=H((()=>{ja(Xn,1)}),33)}(),0===Object.keys(En).length&&t&&await hn(6,e,c()),function(){let e=c();Object.keys(In).length>1e4&&(In={},L(38));for(let t of Object.keys(In)){e>In[t][1]+3e4&&delete In[t]}}(),za(e)}function Yn(e){let t=[];for(let n=0;e&&n<e.length;n++)t.push(e[n].nodeName);return t.join()}async function jn(e,t,n,i){let a=e?e.length:0;for(let r=0;r<a;r++){const a=e[r];if(1===t)Sn(a,n,t,i);else{let e=La(n);if(0===e&&(e=await Ha(n)),2===e)break;Vn(a,t,i)}}}function $n(e){return Mn.indexOf(e)<0&&Mn.push(e),Nn&&q(Nn),Nn=H((()=>{!function(){for(let e of Mn)if(e){let t=e.nodeType===Node.DOCUMENT_FRAGMENT_NODE;if(t&&Xi(e))continue;Ln(e,t?"childList":"characterData")}Mn=[]}()}),33),e}function Ln(e,t){Ln.dn=23,Wr(Rn)([{addedNodes:[e],attributeName:null,attributeNamespace:null,nextSibling:null,oldValue:null,previousSibling:null,removedNodes:[],target:e,type:t}])}function Wn(e){if(null!=e&&(e.clarityOverrides=e.clarityOverrides||{},void 0===e.clarityOverrides.InsertRule&&(e.clarityOverrides.InsertRule=e.CSSStyleSheet.prototype.insertRule,e.CSSStyleSheet.prototype.insertRule=function(){return ro()&&$n(this.ownerNode),e.clarityOverrides.InsertRule.apply(this,arguments)}),"CSSMediaRule"in e&&void 0===e.clarityOverrides.MediaInsertRule&&(e.clarityOverrides.MediaInsertRule=e.CSSMediaRule.prototype.insertRule,e.CSSMediaRule.prototype.insertRule=function(){return ro()&&$n(this.parentStyleSheet.ownerNode),e.clarityOverrides.MediaInsertRule.apply(this,arguments)}),void 0===e.clarityOverrides.DeleteRule&&(e.clarityOverrides.DeleteRule=e.CSSStyleSheet.prototype.deleteRule,e.CSSStyleSheet.prototype.deleteRule=function(){return ro()&&$n(this.ownerNode),e.clarityOverrides.DeleteRule.apply(this,arguments)}),"CSSMediaRule"in e&&void 0===e.clarityOverrides.MediaDeleteRule&&(e.clarityOverrides.MediaDeleteRule=e.CSSMediaRule.prototype.deleteRule,e.CSSMediaRule.prototype.deleteRule=function(){return ro()&&$n(this.parentStyleSheet.ownerNode),e.clarityOverrides.MediaDeleteRule.apply(this,arguments)}),void 0===e.clarityOverrides.AttachShadow)){e.clarityOverrides.AttachShadow=e.Element.prototype.attachShadow;try{e.Element.prototype.attachShadow=function(){return ro()?$n(e.clarityOverrides.AttachShadow.apply(this,arguments)):e.clarityOverrides.AttachShadow.apply(this,arguments)}}catch(t){e.clarityOverrides.AttachShadow=null}}}const zn=/[^0-9\.]/g;function Hn(e){for(let t of Object.keys(e)){let n=e[t];if("@type"===t&&"string"==typeof n)switch(n=n.toLowerCase(),n=n.indexOf("article")>=0||n.indexOf("posting")>=0?"article":n,n){case"article":case"recipe":cr(5,e[t]),cr(8,e.creator),cr(18,e.headline);break;case"product":cr(5,e[t]),cr(10,e.name),cr(12,e.sku),e.brand&&cr(6,e.brand.name);break;case"aggregaterating":e.ratingValue&&(z(11,qn(e.ratingValue,100)),z(18,qn(e.bestRating)),z(19,qn(e.worstRating))),z(12,qn(e.ratingCount)),z(17,qn(e.reviewCount));break;case"offer":cr(7,e.availability),cr(14,e.itemCondition),cr(13,e.priceCurrency),cr(12,e.sku),z(13,qn(e.price));break;case"brand":cr(6,e.name)}null!==n&&"object"==typeof n&&Hn(n)}}function qn(e,t=1){if(null!==e)switch(typeof e){case"number":return Math.round(e*t);case"string":return Math.round(parseFloat(e.replace(zn,""))*t)}return null}const Un=["title","alt","onload","onfocus","onerror","data-drupal-form-submit-last","aria-label"],Fn=/[\r\n]+/g;function Vn(t,n,i){var a;let r=null;if(2===n&&!1===Xi(t))return r;0!==n&&t.nodeType===Node.TEXT_NODE&&t.parentElement&&"STYLE"===t.parentElement.tagName&&(t=t.parentNode);let o=!1===Xi(t)?"add":"update",l=t.parentElement?t.parentElement:null,u=t.ownerDocument!==document;switch(t.nodeType){case Node.DOCUMENT_TYPE_NODE:l=u&&t.parentNode?Mi(t.parentNode):l;let p=t,f={tag:(u?"iframe:":"")+"*D",attributes:{name:p.name?p.name:"HTML",publicId:p.publicId,systemId:p.systemId}};e[o](t,l,f,n);break;case Node.DOCUMENT_NODE:t===document&&ki(document),Kt(t,i),Bn(t);break;case Node.DOCUMENT_FRAGMENT_NODE:let h=t;if(h.host){if(ki(h),"function"===typeof h.constructor&&h.constructor.toString().indexOf("[native code]")>=0){Bn(h);let i={tag:"*S",attributes:{style:""}};e[o](t,h.host,i,n)}else e[o](t,h.host,{tag:"*P",attributes:{}},n);Kt(t,i)}break;case Node.TEXT_NODE:if(l=l||t.parentNode,"update"===o||l&&Xi(l)&&"STYLE"!==l.tagName&&"NOSCRIPT"!==l.tagName){let i={tag:"*T",value:t.nodeValue};e[o](t,l,i,n)}break;case Node.ELEMENT_NODE:let m=t,g=m.tagName,y=function(e){let t={},n=e.attributes;if(n&&n.length>0)for(let e=0;e<n.length;e++){let i=n[e].name;Un.indexOf(i)<0&&(t[i]=n[e].value)}"INPUT"===e.tagName&&!("value"in t)&&e.value&&(t.value=e.value);return t}(m);switch(l=t.parentElement?t.parentElement:t.parentNode?t.parentNode:null,"http://www.w3.org/2000/svg"===m.namespaceURI&&(g="svg:"+g),g){case"HTML":l=u&&l?Mi(l):l;let i={tag:(u?"iframe:":"")+g,attributes:y};e[o](t,l,i,n);break;case"SCRIPT":if("type"in y&&"application/ld+json"===y.type)try{Hn(JSON.parse(m.text.replace(Fn,"")))}catch(e){}break;case"NOSCRIPT":let p={tag:g,attributes:{},value:""};e[o](t,l,p,n);break;case"META":var s="property"in y?"property":"name"in y?"name":null;if(s&&"content"in y){let e=y.content;switch(y[s]){case"og:title":cr(20,e);break;case"og:type":cr(19,e);break;case"generator":cr(21,e)}}break;case"HEAD":let f={tag:g,attributes:y},h=u&&(null===(a=t.ownerDocument)||void 0===a?void 0:a.location)?t.ownerDocument.location:location;f.attributes["*B"]=h.protocol+"//"+h.host+h.pathname,e[o](t,l,f,n);break;case"BASE":let v=Ri(t.parentElement);if(v){let e=document.createElement("a");e.href=y.href,v.data.attributes["*B"]=e.protocol+"//"+e.host+e.pathname}break;case"STYLE":let b={tag:g,attributes:y,value:Kn(m)};e[o](t,l,b,n);break;case"IFRAME":let w=t,k={tag:g,attributes:y};Ei(w)&&(!function(e){!1===Xi(e)&&Hr(e,"load",Ln.bind(this,e,"childList"),!0)}(w),k.attributes["*O"]="true",w.contentDocument&&w.contentWindow&&"loading"!==w.contentDocument.readyState&&(r=w.contentDocument)),2===n&&Jn(w),e[o](t,l,k,n);break;case"LINK":if(gr&&"stylesheet"===y.rel){for(var c in Object.keys(document.styleSheets)){var d=document.styleSheets[c];if(d.ownerNode==m){let i={tag:"STYLE",attributes:y,value:Gn(d)};e[o](t,l,i,n);break}}break}let S={tag:g,attributes:y};e[o](t,l,S,n);break;case"VIDEO":case"AUDIO":case"SOURCE":"src"in y&&y.src.startsWith("data:")&&(y.src="");let O={tag:g,attributes:y};e[o](t,l,O,n);break;default:let T={tag:g,attributes:y};m.shadowRoot&&(r=m.shadowRoot),e[o](t,l,T,n)}}return r}function Bn(e){Xi(e)||Fr(e)||(!function(e){try{let t=u("MutationObserver"),n=t in window?new window[t](Wr(Rn)):null;n&&(n.observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),Cn.set(e,n),On.add(n)),e.defaultView&&Wn(e.defaultView)}catch(e){Ia(2,0,e?e.name:null)}}(e),$t(e))}function Jn(e){Ur(e);const{doc:t=null,win:n=null}=Ni(e)||{};n&&Ur(n),t&&(Ur(t),function(e){const t=Cn.get(e);t&&(t.disconnect(),On.delete(t),Cn.delete(e))}(t),xi(e,t))}function Kn(e){let t=e.textContent?e.textContent.trim():"",n=e.dataset?Object.keys(e.dataset).length:0;return(0===t.length||n>0||e.id.length>0)&&(t=Gn(e.sheet)),t}function Gn(e){let t="",n=null;try{n=e?e.cssRules:[]}catch(e){if(Ia(1,1,e?e.name:null),e&&"SecurityError"!==e.name)throw e}if(null!==n)for(let e=0;e<n.length;e++)t+=n[e].cssText;return t}const Zn="load,active,fixed,visible,focus,show,collaps,animat".split(",");let Qn={};function ei(e,t){let n=e.attributes,i=e.prefix?e.prefix[t]:null,a=0===t?"~"+(e.position-1):`:nth-of-type(${e.position})`;switch(e.tag){case"STYLE":case"TITLE":case"LINK":case"META":case"*T":case"*D":return"";case"HTML":return"HTML";default:if(null===i)return"";i=`${i}>`,e.tag=0===e.tag.indexOf("svg:")?e.tag.substr("svg:".length):e.tag;let r=`${i}${e.tag}${a}`,o="id"in n&&n.id.length>0?n.id:null,l="BODY"!==e.tag&&"class"in n&&n.class.length>0?n.class.trim().split(/\s+/).filter((e=>ti(e))).join("."):null;if(l&&l.length>0)if(0===t){let t=`${function(e){let t=e.split(">");for(let e=0;e<t.length;e++){let n=t[e].indexOf("~"),i=t[e].indexOf(".");t[e]=t[e].substring(0,i>0?i:n>0?n:t[e].length)}return t.join(">")}(i)}${e.tag}.${l}`;t in Qn||(Qn[t]=[]),Qn[t].indexOf(e.id)<0&&Qn[t].push(e.id),r=`${t}~${Qn[t].indexOf(e.id)}`}else r=`${i}${e.tag}.${l}${a}`;return r=o&&ti(o)?`${function(e){const t=e.lastIndexOf("*S"),n=e.lastIndexOf("iframe:HTML"),i=Math.max(t,n);if(i<0)return"";return e.substring(0,e.indexOf(">",i)+1)}(i)}#${o}`:r,r}}function ti(e){if(!e)return!1;if(Zn.some((t=>e.toLowerCase().indexOf(t)>=0)))return!1;for(let t=0;t<e.length;t++){let n=e.charCodeAt(t);if(n>=48&&n<=57)return!1}return!0}let ni=1,ii=null,ai=[],ri=[],oi={},li=[],ui=[],si=[],ci=[],di=[],pi=[],fi=null,hi=null,mi=null,gi=null,yi=null;function vi(){wi(),ki(document,!0)}function bi(){wi()}function wi(){ni=1,ai=[],ri=[],oi={},li=[],ui=[],si="address,password,contact".split(","),ci="password,secret,pass,social,ssn,code,hidden".split(","),di="radio,checkbox,range,button,reset,submit".split(","),pi="INPUT,SELECT,TEXTAREA".split(","),ii=new Map,fi=new WeakMap,hi=new WeakMap,mi=new WeakMap,gi=new WeakMap,yi=new WeakMap,Qn={}}function ki(e,t=!1){try{t&&l.unmask.forEach((e=>e.indexOf("!")<0?ui.push(e):li.push(e.substr(1)))),"querySelectorAll"in e&&(l.regions.forEach((t=>e.querySelectorAll(t[1]).forEach((e=>Vi(e,`${t[0]}`))))),l.mask.forEach((t=>e.querySelectorAll(t).forEach((e=>gi.set(e,3))))),l.checksum.forEach((t=>e.querySelectorAll(t[1]).forEach((e=>yi.set(e,t[0]))))),ui.forEach((t=>e.querySelectorAll(t).forEach((e=>gi.set(e,0))))))}catch(e){Ia(5,1,e?e.name:null)}}function Si(e,t=!1){if(null===e)return null;let n=fi.get(e);return!n&&t&&(n=ni++,fi.set(e,n)),n||null}function Oi(e,t,n,i){let a=t?Si(t):null;if(!(t&&a||null!=e.host||e.nodeType===Node.DOCUMENT_TYPE_NODE))return;let r=Si(e,!0),o=$i(e),u=null,s=Bi(e)?r:null,c=yi.has(e)?yi.get(e):null,d=l.content?1:3;a>=0&&ai[a]&&(u=ai[a],u.children.push(r),s=null===s?u.region:s,c=null===c?u.metadata.fraud:c,d=u.metadata.privacy),n.attributes&&"data-clarity-region"in n.attributes&&(Vi(e,n.attributes["data-clarity-region"]),s=r),ii.set(r,e),ai[r]={id:r,parent:a,previous:o,children:[],data:n,selector:null,hash:null,region:s,metadata:{active:!0,suspend:!1,privacy:d,position:null,fraud:c,size:null}},function(e,t,n){var i;let a=t.data,r=t.metadata,o=r.privacy,l=a.attributes||{},u=a.tag.toUpperCase();switch(!0){case pi.indexOf(u)>=0:let t=l.type,a="";const s=["class","style"];Object.keys(l).filter((e=>!s.includes(e))).forEach((e=>a+=l[e].toLowerCase()));let c=ci.some((e=>a.indexOf(e)>=0));r.privacy="INPUT"===u&&di.indexOf(t)>=0?o:c?4:2;break;case"data-clarity-mask"in l:r.privacy=3;break;case"data-clarity-unmask"in l:r.privacy=0;break;case gi.has(e):r.privacy=gi.get(e);break;case yi.has(e):r.privacy=2;break;case"*T"===u:let d=n&&n.data?n.data.tag:"",p=n&&n.selector?n.selector[1]:"",f=["STYLE","TITLE","svg:style"];r.privacy=f.includes(d)||li.some((e=>p.indexOf(e)>=0))?0:o;break;case 1===o:r.privacy=function(e,t,n){if(e&&t.some((t=>e.indexOf(t)>=0)))return 2;return n.privacy}(l.class,si,r);break;case"IMG"===u:(null===(i=l.src)||void 0===i?void 0:i.startsWith("blob:"))&&(r.privacy=3)}}(e,ai[r],u),Ii(ai[r]),function(e){if("IMG"===e.data.tag&&3===e.metadata.privacy){let t=Di(e.id);!t||t.complete&&0!==t.naturalWidth||Hr(t,"load",(()=>{t.setAttribute("data-clarity-loaded",`${xr()}`)})),e.metadata.size=[]}}(ai[r]),Li(r,i)}function Ti(e,t,n,i){let a=Si(e),r=t?Si(t):null,o=$i(e),l=!1,u=!1;if(a in ai){let t=ai[a];if(t.metadata.active=!0,t.previous!==o&&(l=!0,t.previous=o),t.parent!==r){l=!0;let n=t.parent;if(t.parent=r,null!==r&&r>=0){let n=null===o?0:ai[r].children.indexOf(o)+1;ai[r].children.splice(n,0,a),t.region=Bi(e)?a:ai[r].region}else!function(e,t){if(e in ai){let n=ai[e];n.metadata.active=!1,n.parent=null,Li(e,t),ji(e)}}(a,i);if(null!==n&&n>=0){let e=ai[n].children.indexOf(a);e>=0&&ai[n].children.splice(e,1)}u=!0}for(let e in n)_i(t.data,n,e)&&(l=!0,t.data[e]=n[e]);Ii(t),Li(a,i,l,u)}}function Ei(e){let t=!1;if(e.nodeType===Node.ELEMENT_NODE&&"IFRAME"===e.tagName){let n=e;try{n.contentDocument&&(hi.set(n.contentDocument,n),mi.set(n,{doc:n.contentDocument,win:n.contentWindow}),t=!0)}catch(e){}}return t}function Mi(e){let t=e.nodeType===Node.DOCUMENT_NODE?e:null;return t&&hi.has(t)?hi.get(t):null}function Ni(e){return mi.has(e)?mi.get(e):null}function xi(e,t){mi.delete(e),hi.delete(t)}function _i(e,t,n){if("object"==typeof e[n]&&"object"==typeof t[n]){for(let i in e[n])if(e[n][i]!==t[n][i])return!0;for(let i in t[n])if(t[n][i]!==e[n][i])return!0;return!1}return e[n]!==t[n]}function Ii(e){let t=e.parent&&e.parent in ai?ai[e.parent]:null,n=t?t.selector:null,i=e.data,a=function(e,t){t.metadata.position=1;let n=e?e.children.indexOf(t.id):-1;for(;n-- >0;){let i=ai[e.children[n]];if(t.data.tag===i.data.tag){t.metadata.position=i.metadata.position+1;break}}return t.metadata.position}(t,e),r={id:e.id,tag:i.tag,prefix:n,position:a,attributes:i.attributes};e.selector=[ei(r,0),ei(r,1)],e.hash=e.selector.map((e=>e?p(e):null)),e.hash.forEach((t=>oi[t]=e.id))}function Ci(e){let t=Di(Ai(e));return null!==t&&null!==t.textContent?t.textContent.substr(0,25):""}function Di(e){return ii.has(e)?ii.get(e):null}function Pi(e){return e in ai?ai[e]:null}function Ri(e){let t=Si(e);return t in ai?ai[t]:null}function Ai(e){return e in oi?oi[e]:null}function Xi(e){return ii.has(Si(e))}function Yi(){let e=[];for(let t of ri)t in ai&&e.push(ai[t]);return ri=[],e}function ji(e){const t=ii.get(e);if((null==t?void 0:t.nodeType)===Node.DOCUMENT_FRAGMENT_NODE)return;if(t&&(null==t?void 0:t.nodeType)===Node.ELEMENT_NODE&&"IFRAME"===t.tagName){Jn(t)}ii.delete(e);let n=e in ai?ai[e]:null;if(n&&n.children)for(let e of n.children)ji(e)}function $i(e){let t=null;for(;null===t&&e.previousSibling;)t=Si(e.previousSibling),e=e.previousSibling;return t}function Li(e,t,n=!0,i=!1){if(l.lean&&l.lite)return;let a=ri.indexOf(e);a>=0&&1===t&&i?(ri.splice(a,1),ri.push(e)):-1===a&&n&&ri.push(e)}let Wi=[],zi=null,Hi={},qi=[],Ui=!1,Fi=null;function Vi(e,t){!1===zi.has(e)&&(zi.set(e,t),Fi=null===Fi&&Ui?new IntersectionObserver(Ki,{threshold:[0,.05,.1,.2,.3,.4,.5,.6,.7,.8,.9,1]}):Fi,Fi&&e&&e.nodeType===Node.ELEMENT_NODE&&Fi.observe(e))}function Bi(e){return zi&&zi.has(e)}function Ji(){Ji.dn=24;let e=[];for(let t of qi){let n=Si(t.node);n?(t.state.data.id=n,Hi[n]=t.state.data,Wi.push(t.state)):e.push(t)}qi=e,Wi.length>0&&hn(7)}function Ki(e){for(let t of e){let e=t.target,n=t.boundingClientRect,i=t.intersectionRect,a=t.rootBounds;if(zi.has(e)&&n.width+n.height>0&&a.width>0&&a.height>0){let r=e?Si(e):null,o=r in Hi?Hi[r]:{id:r,name:zi.get(e),interaction:16,visibility:0},l=(i?i.width*i.height*1/(a.width*a.height):0)>.05||t.intersectionRatio>.8,u=(l||10==o.visibility)&&Math.abs(n.top)+a.height>n.height;Gi(e,o,o.interaction,u?13:l?10:0),o.visibility>=13&&Fi&&Fi.unobserve(e)}}Wi.length>0&&hn(7)}function Gi(e,t,n,i){let a=n>t.interaction||i>t.visibility;t.interaction=n>t.interaction?n:t.interaction,t.visibility=i>t.visibility?i:t.visibility,t.id?(t.id in Hi&&a||!(t.id in Hi))&&(Hi[t.id]=t,Wi.push(Zi(t))):qi.push({node:e,state:Zi(t)})}function Zi(e){return{time:c(),data:{id:e.id,interaction:e.interaction,visibility:e.visibility,name:e.name}}}function Qi(){Wi=[]}function ea(e){let t=e.composed&&e.composedPath?e.composedPath():null,n=t&&t.length>0?t[0]:e.target;return _n=c()+3e3,n&&n.nodeType===Node.DOCUMENT_NODE?n.documentElement:n}function ta(e,t,n=null){let i={id:0,hash:null,privacy:2};if(e){let a=Ri(e);if(null!==a){let e=a.metadata;i.id=a.id,i.hash=a.hash,i.privacy=e.privacy,a.region&&function(e,t){let n=Di(e),i=e in Hi?Hi[e]:{id:e,visibility:0,interaction:16,name:zi.get(n)},a=16;switch(t){case 9:a=20;break;case 27:a=30}Gi(n,i,a,i.visibility)}(a.region,t),e.fraud&&Re(e.fraud,a.id,n||a.data.value)}}return i}async function na(e,t=null){let n=t||c(),i=[n,e];switch(e){case 13:case 14:case 12:case 15:case 16:case 17:case 18:case 19:case 20:for(let e of et){let t=ta(e.data.target,e.event);t.id>0&&(i=[e.time,e.event],i.push(t.id),i.push(e.data.x),i.push(e.data.y),void 0!==e.data.id&&(i.push(e.data.id),void 0!==e.data.isPrimary&&i.push(e.data.isPrimary.toString())),va(i),(void 0===e.data.isPrimary||e.data.isPrimary)&&I(e.event,e.data.x,e.data.y,e.time))}st();break;case 9:for(let e of Le){let t=ta(e.data.target,e.event,e.data.text);i=[e.time,e.event];let n=t.hash?t.hash.join("."):"";i.push(t.id),i.push(e.data.x),i.push(e.data.y),i.push(e.data.eX),i.push(e.data.eY),i.push(e.data.button),i.push(e.data.reaction),i.push(e.data.context),i.push(b(e.data.text,"click",t.privacy)),i.push(w(e.data.link)),i.push(n),i.push(e.data.trust),i.push(e.data.isFullText),va(i),oa(e.time,e.event,n,e.data.x,e.data.y,e.data.reaction,e.data.context)}Ue();break;case 38:for(let e of Fe){i=[e.time,e.event];let t=ta(e.data.target,e.event);t.id>0&&(i.push(t.id),i.push(e.data.action),va(i))}Be();break;case 11:let t=ct;i.push(t.width),i.push(t.height),I(e,t.width,t.height),mt(),va(i);break;case 26:let a=It;i.push(a.name),i.push(a.persisted),Xt(),va(i);break;case 27:for(let e of Ke){let t=ta(e.data.target,e.event,e.data.value);i=[e.time,e.event],i.push(t.id),i.push(b(e.data.value,"input",t.privacy,!1,e.data.type)),va(i)}Qe();break;case 21:let r=Tt;if(r){let t=ta(r.start,e),n=ta(r.end,e);i.push(t.id),i.push(r.startOffset),i.push(n.id),i.push(r.endOffset),_t(),va(i)}break;case 10:for(let e of gt){let t=ta(e.data.target,e.event);const n=ta(e.data.top,e.event),a=ta(e.data.bottom,e.event),r=(null==n?void 0:n.hash)?n.hash.join("."):"",o=(null==a?void 0:a.hash)?a.hash.join("."):"";t.id>0&&(i=[e.time,e.event],i.push(t.id),i.push(e.data.x),i.push(e.data.y),i.push(r),i.push(o),va(i),I(e.event,e.data.x,e.data.y,e.time))}gt=[],yt=null,vt=null;break;case 42:for(let e of Ae){i=[e.time,e.event];let t=ta(e.data.target,e.event);t.id>0&&(i=[e.time,e.event],i.push(t.id),i.push(e.data.type),i.push(b(e.data.value,"change",t.privacy)),i.push(b(e.data.checksum,"checksum",t.privacy)),va(i))}Ye();break;case 39:for(let e of Dt){i=[e.time,e.event];let t=ta(e.data.target,e.event);t.id>0&&(i.push(t.id),va(i))}Rt();break;case 22:for(let e of aa)i=[e.time,e.event],i.push(e.data.type),i.push(e.data.hash),i.push(e.data.x),i.push(e.data.y),i.push(e.data.reaction),i.push(e.data.context),va(i,!1);ra();break;case 28:let o=Ct;i.push(o.visible),va(i),D(n,o.visible),jt()}}let ia=[],aa=[];function ra(){aa=[]}function oa(e,t,n,i,a,r=1,o=0){ia.push({time:e,event:22,data:{type:t,hash:n,x:i,y:a,reaction:r,context:o}}),I(t,i,a,e)}let la,ua,sa,ca,da,pa=0,fa=0,ha=null,ma=0,ga=!1;function ya(){ca=!0,pa=0,fa=0,ga=!1,ma=0,la=[],ua=[],sa={},da=null}function va(e,t=!0){if(ca){let n=c(),i=e.length>1?e[1]:null,a=JSON.stringify(e);switch(l.lean?!ga&&fa+a.length>10485760&&(Ia(10,0),ga=!0):ga=!1,i){case 5:if(ga)break;pa+=a.length;case 37:case 6:case 43:case 45:case 46:if(ga)break;fa+=a.length,la.push(a);break;default:ua.push(a)}L(25);let r=function(){let e=!1===l.lean&&pa>0?100:Ar.sequence*l.delay;return"string"==typeof l.upload?Math.max(Math.min(e,3e4),100):l.delay}();n-ma>2*r&&(q(ha),ha=null),t&&null===ha&&(25!==i&&B(),ha=H(wa,r),ma=n,tr(fa))}}function ba(){q(ha),wa(!0),pa=0,fa=0,ga=!1,ma=0,la=[],ua=[],sa={},da=null,ca=!1}async function wa(e=!1){ha=null;let t=!1===l.lean&&fa>0&&(fa<1048576||Ar.sequence>0);t&&z(1,1),Ji(),function(){const e=[];aa=[];let t=Ar.start+Ar.duration,n=Math.max(t-2e3,0);for(let i of ia)i.time>=n&&(i.time<=t&&aa.push(i),e.push(i));ia=e,na(22)}(),Ce(),function(){for(var e of Ft){var t=e==document?-1:Si(e);Kt(e,t in Ut?Ut[t]:null)}}();let n=!0===e,i=function(e){return e.p.length>0?`{"e":${e.e},"a":${e.a},"p":${e.p}}`:`{"e":${e.e},"a":${e.a}}`}({e:JSON.stringify(jr(n)),a:`[${ua.join()}]`,p:t?`[${la.join()}]`:""}),a=n?null:await async function(e){try{if(ne){const t=new ReadableStream({async start(t){t.enqueue(e),t.close()}}).pipeThrough(new TextEncoderStream).pipeThrough(new window.CompressionStream("gzip"));return new Uint8Array(await async function(e){const t=e.getReader(),n=[];let i=!1,a=[];for(;!i;){if(({done:i,value:a}=await t.read()),i)return n;n.push(...a)}return n}(t))}}catch(e){}return null}(i);W(2,a?a.length:i.length),ka(i,a,Ar.sequence,n),ua=[],t&&(la=[],fa=0,pa=0,ga=!1)}function ka(e,t,n,i=!1){if("string"==typeof l.upload){const a=l.upload;let r=!1;if(i&&"sendBeacon"in navigator)try{r=navigator.sendBeacon.bind(navigator)(a,e),r&&Oa(n)}catch(e){}if(!1===r){n in sa?sa[n].attempts++:sa[n]={data:e,attempts:1};let i=new XMLHttpRequest;i.open("POST",a,!0),i.timeout=15e3,i.ontimeout=()=>{Lr(new Error(`Timeout : ${a}`))},null!==n&&(i.onreadystatechange=()=>{Wr(Sa)(i,n)}),i.withCredentials=!0,t?(i.setRequestHeader("Accept","application/x-clarity-gzip"),i.send(t)):i.send(e)}}else if(l.upload){(0,l.upload)(e),Oa(n)}}function Sa(e,t){var n=sa[t];e&&4===e.readyState&&n&&((e.status<200||e.status>208)&&n.attempts<=1?e.status>=400&&e.status<500?nr(6):(0===e.status&&(l.upload=l.fallback?l.fallback:l.upload),ka(n.data,null,t)):(da={sequence:t,attempts:n.attempts,status:e.status},n.attempts>1&&Qa(2),200===e.status&&e.responseText&&function(e){let t=e&&e.length>0?e.split("\n"):[];for(var n of t){let e=n&&n.length>0?n.split(/ (.*)/):[""];switch(e[0]){case"END":nr(6);break;case"UPGRADE":Ga("Auto");break;case"ACTION":l.action&&e.length>1&&l.action(e[1]);break;case"EXTRACT":e.length>1&&ve(e[1]);break;case"SIGNAL":e.length>1&&Ne(e[1])}}}(e.responseText),0===e.status&&(ka(n.data,null,t,!0),nr(3)),e.status>=200&&e.status<=208&&Oa(t),delete sa[t]))}function Oa(e){1===e&&(Er(),Tr())}let Ta,Ea={};function Ma(e){Ma.dn=4;let t=e.error||e;return t.message in Ea||(Ea[t.message]=0),Ea[t.message]++>=5||t&&t.message&&(Ta={message:t.message,line:e.lineno,column:e.colno,stack:t.stack,source:e.filename},Na(31)),!0}async function Na(e){let t=[c(),e];switch(e){case 31:t.push(Ta.message),t.push(Ta.line),t.push(Ta.column),t.push(Ta.stack),t.push(w(Ta.source)),va(t);break;case 33:xa&&(t.push(xa.code),t.push(xa.name),t.push(xa.message),t.push(xa.stack),t.push(xa.severity),va(t,!1));break;case 41:De&&(t.push(De.id),t.push(De.target),t.push(De.checksum),va(t,!1))}}let xa,_a={};function Ia(e,t,n=null,i=null,a=null){let r=n?`${n}|${i}`:"";e in _a&&_a[e].indexOf(r)>=0||(xa={code:e,name:n,message:i,stack:a,severity:t},e in _a?_a[e].push(r):_a[e]=[r],Na(33))}const Ca=5e3;let Da={},Pa=[],Ra=null,Aa=null,Xa=null;function Ya(){Da={},Pa=[],Ra=null,Aa=null}async function ja(e,t=0){for(let t of Pa)if(t.task===e)return;let n=new Promise((n=>{Pa[1===t?"unshift":"push"]({task:e,resolve:n,id:kr()})}));return null===Ra&&null===Aa&&$a(),n}function $a(){let e=Pa.shift();e&&(Ra=e,e.task().then((()=>{e.id===kr()&&(e.resolve(),Ra=null,$a())})).catch((t=>{e.id===kr()&&(t&&Ia(0,1,t.name,t.message,t.stack),Ra=null,$a())})))}function La(e){let t=qa(e);if(t in Da){return performance.now()-Da[t].start>Da[t].yield?0:1}return 2}function Wa(e){Da[qa(e)]={start:performance.now(),calls:0,yield:30}}function za(e){let t=performance.now(),n=qa(e),i=t-Da[n].start;W(e.cost,i),L(5),Da[n].calls>0&&W(4,i)}async function Ha(e){var t;let n=qa(e);return n in Da&&(za(e),Da[n].yield=(null===(t=await async function(){Aa&&await Aa;return new Promise((e=>{Ua(e,{timeout:Ca})}))}())||void 0===t?void 0:t.timeRemaining())||30,function(e){let t=qa(e);if(Da&&Da[t]){let n=Da[t].calls,i=Da[t].yield;Wa(e),Da[t].calls=n+1,Da[t].yield=i}}(e)),n in Da?1:2}function qa(e){return`${e.id}.${e.cost}`}let Ua=window.requestIdleCallback||function(e,t){const n=performance.now(),i=new MessageChannel,a=i.port1,r=i.port2;a.onmessage=i=>{let a=performance.now(),o=a-n,l=a-i.data;if(l>30&&o<t.timeout)requestAnimationFrame((()=>{r.postMessage(a)}));else{let n=o>t.timeout;e({didTimeout:n,timeRemaining:()=>n?30:Math.max(0,30-l)})}},requestAnimationFrame((()=>{r.postMessage(performance.now())}))};function Fa(){ja(Va,1).then((()=>{Wr(kn)(),Wr(Ji)(),Wr(Ot)()}))}async function Va(){let e=c(),t={id:kr(),cost:3};Wa(t),await Sn(document,t,0,e),Kt(document,e),await hn(5,t,e),za(t)}let Ba,Ja=null;function Ka(){!l.lean&&l.upgrade&&l.upgrade("Config"),Ja=null}function Ga(e){ro()&&l.lean&&(l.lean=!1,Ja={key:e},Tr(),Er(),l.upgrade&&l.upgrade(e),Qa(3),l.lite&&(Fa(),Jt()))}function Za(){Ja=null}function Qa(e){let t=[c(),e];switch(e){case 4:let e=M;e&&(t=[e.time,e.event],t.push(e.data.visible),t.push(e.data.docWidth),t.push(e.data.docHeight),t.push(e.data.screenWidth),t.push(e.data.screenHeight),t.push(e.data.scrollX),t.push(e.data.scrollY),t.push(e.data.pointerX),t.push(e.data.pointerY),t.push(e.data.activityTime),t.push(e.data.scrollTime),t.push(e.data.pointerTime),t.push(e.data.moveX),t.push(e.data.moveY),t.push(e.data.moveTime),t.push(e.data.downX),t.push(e.data.downY),t.push(e.data.downTime),t.push(e.data.upX),t.push(e.data.upY),t.push(e.data.upTime),t.push(e.data.pointerPrevX),t.push(e.data.pointerPrevY),t.push(e.data.pointerPrevTime),va(t,!1)),_();break;case 25:t.push(Y.gap),va(t);break;case 35:t.push(Ba.check),va(t,!1);break;case 3:t.push(Ja.key),va(t);break;case 2:t.push(da.sequence),t.push(da.attempts),t.push(da.status),va(t,!1);break;case 24:A.key&&t.push(A.key),t.push(A.value),va(t);break;case 34:let n=Object.keys(ie);if(n.length>0){for(let e of n)t.push(e),t.push(ie[e]);ue(),va(t,!1)}break;case 0:let i=Object.keys($);if(i.length>0){for(let e of i){let n=parseInt(e,10);t.push(n),t.push(Math.round($[e]))}$={},va(t,!1)}break;case 1:let a=Object.keys(or);if(a.length>0){for(let e of a){let n=parseInt(e,10);t.push(n),t.push(or[e])}pr(),va(t,!1)}break;case 36:let r=Object.keys(G);if(r.length>0){for(let e of r){let n=parseInt(e,10);t.push(n),t.push([].concat(...G[e]))}ee(),va(t,!1)}break;case 40:fe.forEach((e=>{t.push(e);let n=[];for(let t in pe[e]){let i=parseInt(t,10);n.push(i),n.push(pe[e][t])}t.push(n)})),ke(),va(t,!1)}}function er(){Ba={check:0}}function tr(e){if(0===Ba.check){let t=Ba.check;t=Ar.sequence>=128?1:t,t=Ar.pageNum>=128?7:t,t=c()>72e5?2:t,t=e>10485760?2:t,t!==Ba.check&&nr(t)}}function nr(e){Ba.check=e,5!==e&&(Or(),Co())}function ir(){0!==Ba.check&&Qa(35)}function ar(){Ba=null}let rr=null,or=null,lr=!1;function ur(){rr={},or={},lr=!1}function sr(){rr={},or={},lr=!1}function cr(e,t){if(t&&(t=`${t}`,e in rr||(rr[e]=[]),rr[e].indexOf(t)<0)){if(rr[e].length>128)return void(lr||(lr=!0,nr(5)));rr[e].push(t),e in or||(or[e]=[]),or[e].push(t)}}function dr(){Qa(1)}function pr(){or={},lr=!1}function fr(e){cr(36,e.toString())}let hr=null,mr=[],gr=0,yr=null;function vr(){var e,t,n;yr=null;const i=navigator&&"userAgent"in navigator?navigator.userAgent:"",a=null!==(n=null===(t=null===(e=null===Intl||void 0===Intl?void 0:Intl.DateTimeFormat())||void 0===e?void 0:e.resolvedOptions())||void 0===t?void 0:t.timeZone)&&void 0!==n?n:"",r=(new Date).getTimezoneOffset().toString(),o=window.location.ancestorOrigins?Array.from(window.location.ancestorOrigins).toString():"",u=document&&document.title?document.title:"";gr=i.indexOf("Electron")>0?1:0;let s=function(){let e={session:xr(),ts:Math.round(Date.now()),count:1,upgrade:null,upload:""},t=Cr("_clsk",!l.includeSubdomains);if(t){let n=t.includes("^")?t.split("^"):t.split("|");n.length>=5&&e.ts-_r(n[1])<18e5&&(e.session=n[0],e.count=_r(n[2])+1,e.upgrade=_r(n[3]),e.upload=n.length>=6?`https://${n[5]}/${n[4]}`:`https://${n[4]}`)}return e}(),c=Ir(),d=l.projectId||p(location.host);hr={projectId:d,userId:c.id,sessionId:s.session,pageNum:s.count},l.lean=l.track&&null!==s.upgrade?0===s.upgrade:l.lean,l.upload=l.track&&"string"==typeof l.upload&&s.upload&&s.upload.length>"https://".length?s.upload:l.upload,cr(0,i),cr(3,u),cr(1,w(location.href,!!gr)),cr(2,document.referrer),cr(15,function(){let e=xr();if(l.track&&Mr(window,"sessionStorage")){let t=sessionStorage.getItem("_cltk");e=t||e,sessionStorage.setItem("_cltk",e)}return e}()),cr(16,document.documentElement.lang),cr(17,document.dir),cr(26,`${window.devicePixelRatio}`),cr(28,c.dob.toString()),cr(29,c.version.toString()),cr(33,o),cr(34,a),cr(35,r),z(0,s.ts),z(1,0),z(35,gr),navigator&&(cr(9,navigator.language),z(33,navigator.hardwareConcurrency),z(32,navigator.maxTouchPoints),z(34,Math.round(navigator.deviceMemory)),function(){let e=navigator.userAgentData;e&&e.getHighEntropyValues?e.getHighEntropyValues(["model","platform","platformVersion","uaFullVersion"]).then((e=>{var t;cr(22,e.platform),cr(23,e.platformVersion),null===(t=e.brands)||void 0===t||t.forEach((e=>{cr(24,e.name+"~"+e.version)})),cr(25,e.model),z(27,e.mobile?1:0)})):cr(22,navigator.platform)}()),screen&&(z(14,Math.round(screen.width)),z(15,Math.round(screen.height)),z(16,Math.round(screen.colorDepth)));for(let e of l.cookies){let t=Cr(e);t&&ae(e,t)}!function(e){fr(e?1:0)}(l.track),Nr(c)}function br(){yr=null,hr=null,mr.forEach((e=>{e.called=!1}))}function wr(e,t=!0,n=!1){let i=l.lean?0:1,a=!1;hr&&(i||!1===t)&&(e(hr,!l.lean),a=!0),!n&&a||mr.push({callback:e,wait:t,recall:n,called:a})}function kr(){return hr?[hr.userId,hr.sessionId,hr.pageNum].join("."):""}function Sr(e=!0){if(!e)return l.track=!1,Pr("_clsk","",-Number.MAX_VALUE),Pr("_clck","",-Number.MAX_VALUE),Co(),void window.setTimeout(Io,250);ro()&&(l.track=!0,Nr(Ir(),1),Er(),fr(2))}function Or(){Pr("_clsk","",0)}function Tr(){!function(e){if(mr.length>0)for(let t=0;t<mr.length;t++){const n=mr[t];!n.callback||n.called||n.wait&&!e||(n.callback(hr,!l.lean),n.called=!0,n.recall||(mr.splice(t,1),t--))}}(l.lean?0:1)}function Er(){if(!hr||!l.track)return;let e=Math.round(Date.now()),t=l.upload&&"string"==typeof l.upload?l.upload.replace("https://",""):"",n=l.lean?0:1;Pr("_clsk",[hr.sessionId,e,hr.pageNum,n,t].join("|"),1)}function Mr(e,t){try{return!!e[t]}catch(e){return!1}}function Nr(e,t=null){t=null===t?e.consent:t;let n=Math.ceil((Date.now()+31536e6)/864e5),i=0===e.dob?null===l.dob?0:l.dob:e.dob;if(null===e.expiry||Math.abs(n-e.expiry)>=1||e.consent!==t||e.dob!==i){Pr("_clck",[hr.userId,2,n.toString(36),t,i].join("|"),365)}}function xr(){let e=Math.floor(Math.random()*Math.pow(2,32));return window&&window.crypto&&window.crypto.getRandomValues&&Uint32Array&&(e=window.crypto.getRandomValues(new Uint32Array(1))[0]),e.toString(36)}function _r(e,t=10){return parseInt(e,t)}function Ir(){let e={id:xr(),version:0,expiry:null,consent:0,dob:0},t=Cr("_clck",!l.includeSubdomains);if(t&&t.length>0){let n=t.includes("^")?t.split("^"):t.split("|");n.length>1&&(e.version=_r(n[1])),n.length>2&&(e.expiry=_r(n[2],36)),n.length>3&&1===_r(n[3])&&(e.consent=1),n.length>4&&_r(n[1])>1&&(e.dob=_r(n[4])),l.track=l.track||1===e.consent,e.id=l.track?n[0]:e.id}return e}function Cr(e,t=!1){if(Mr(document,"cookie")){let n=document.cookie.split(";");if(n)for(let i=0;i<n.length;i++){let a=n[i].split("=");if(a.length>1&&a[0]&&a[0].trim()===e){let[e,n]=Dr(a[1]);for(;e;)[e,n]=Dr(n);return t?n.endsWith("~1")?n.substring(0,n.length-2):null:n}}}return null}function Dr(e){try{let t=decodeURIComponent(e);return[t!=e,t]}catch(e){}return[!1,e]}function Pr(e,t,n){if((l.track||""==t)&&(navigator&&navigator.cookieEnabled||Mr(document,"cookie"))){let i=function(e){return encodeURIComponent(e)}(t),a=new Date;a.setDate(a.getDate()+n);let r=`${e}=${i};${a?"expires="+a.toUTCString():""};path=/`;try{if(null===yr){let n=location.hostname?location.hostname.split("."):[];for(let i=n.length-1;i>=0;i--)if(yr=`.${n[i]}${yr||""}`,i<n.length-1&&(document.cookie=`${r};domain=${yr}`,Cr(e)===t))return;yr=""}}catch(e){yr=""}document.cookie=yr?`${r};domain=${yr}`:r}}let Rr,Ar=null;function Xr(){const e=hr;Ar={version:d,sequence:0,start:0,duration:0,projectId:e.projectId,userId:e.userId,sessionId:e.sessionId,pageNum:e.pageNum,upload:0,end:0,applicationPlatform:0,url:""}}function Yr(){Ar=null}function jr(e){return Ar.start=Ar.start+Ar.duration,Ar.duration=c()-Ar.start,Ar.sequence++,Ar.upload=e&&"sendBeacon"in navigator?1:0,Ar.end=e?1:0,Ar.applicationPlatform=0,Ar.url=w(location.href,!1,!0),[Ar.version,Ar.sequence,Ar.start,Ar.duration,Ar.projectId,Ar.userId,Ar.sessionId,Ar.pageNum,Ar.upload,Ar.end,Ar.applicationPlatform,Ar.url]}function $r(){Rr=[]}function Lr(e){if(Rr&&-1===Rr.indexOf(e.message)){const t=l.report;if(t&&t.length>0){let n={v:Ar.version,p:Ar.projectId,u:Ar.userId,s:Ar.sessionId,n:Ar.pageNum};e.message&&(n.m=e.message),e.stack&&(n.e=e.stack);let i=new XMLHttpRequest;i.open("POST",t,!0),i.send(JSON.stringify(n)),Rr.push(e.message)}}return e}function Wr(e){return function(){let t=performance.now();try{e.apply(this,arguments)}catch(e){throw Lr(e)}let n=performance.now()-t;W(4,n),n>30&&(L(7),z(6,n),Ia(9,0,`${e.dn||e.name}-${n}`))}}let zr=new Map;function Hr(e,t,n,i=!1,a=!0){n=Wr(n);try{e[u("addEventListener")](t,n,{capture:i,passive:a}),Fr(e)||zr.set(e,[]),zr.get(e).push({event:t,listener:n,options:{capture:i,passive:a}})}catch(e){}}function qr(){zr.forEach(((e,t)=>{Vr(e,t)})),zr=new Map}function Ur(e){Fr(e)&&Vr(zr.get(e),e)}function Fr(e){return zr.has(e)}function Vr(e,t){e.forEach((e=>{try{t[u("removeEventListener")](e.event,e.listener,{capture:e.options.capture,passive:e.options.passive})}catch(e){}})),zr.delete(t)}let Br=null,Jr=null,Kr=null,Gr=0;function Zr(){return!(Gr++>20)||(Ia(4,0),!1)}function Qr(){Qr.dn=1,Gr=0,Kr!==to()&&(Co(),window.setTimeout(eo,250))}function eo(){Io(),z(29,1)}function to(){return location.href?location.href.replace(location.hash,""):location.href}let no=!1;function io(){no=!0,s=performance.now()+performance.timeOrigin,Ya(),qr(),$r(),Kr=to(),Gr=0,Hr(window,"popstate",Qr),null===Br&&(Br=history.pushState,history.pushState=function(){Br.apply(this,arguments),ro()&&Zr()&&Qr()}),null===Jr&&(Jr=history.replaceState,history.replaceState=function(){Jr.apply(this,arguments),ro()&&Zr()&&Qr()})}function ao(){Kr=null,Gr=0,$r(),qr(),Ya(),s=0,no=!1}function ro(){return no}function oo(){oo.dn=2,Io(),X("clarity","restart")}var lo=Object.freeze({__proto__:null,start:function e(){e.dn=3,function(){Pe=[],z(26,navigator.webdriver?1:0);try{z(31,window.top==window.self||window.top==window?1:2)}catch(e){z(31,0)}}(),Hr(window,"error",Ma),Ea={},_a={}},stop:function(){_a={}}});var uo=Object.freeze({__proto__:null,hashText:Ci,start:function e(){e.dn=20,wn(),kn(),Qi(),Fi=null,zi=new WeakMap,Hi={},qi=[],Ui=!!window.IntersectionObserver,vi(),l.delayDom?Hr(window,"load",(()=>{Pn()})):Pn(),Fa(),Jt(),function(){if(window.Animation&&window.Animation.prototype&&window.KeyframeEffect&&window.KeyframeEffect.prototype&&window.KeyframeEffect.prototype.getKeyframes&&window.KeyframeEffect.prototype.getTiming&&(cn(),pn(tn,"play"),pn(nn,"pause"),pn(an,"commitStyles"),pn(rn,"cancel"),pn(on,"finish"),null===en&&(en=Element.prototype.animate,Element.prototype.animate=function(){var e=en.apply(this,arguments);return fn(e,"play"),e}),document.getAnimations))for(var e of document.getAnimations())"finished"===e.playState?fn(e,"finish"):"paused"===e.playState||"idle"===e.playState?fn(e,"pause"):"running"===e.playState&&fn(e,"play")}()},stop:function(){Qi(),zi=null,Hi={},qi=[],Fi&&(Fi.disconnect(),Fi=null),Ui=!1,bi(),function(){for(let e of Array.from(On))e&&e.disconnect();On=new Set,In={},Tn=[],En={},Mn=[],_n=0,Nn=null,Cn=new WeakMap}(),wn(),qt={},Ut={},Ft=[],Vt=[],Gt(),cn()}});let so=null;function co(){so=null}function po(e){so={fetchStart:Math.round(e.fetchStart),connectStart:Math.round(e.connectStart),connectEnd:Math.round(e.connectEnd),requestStart:Math.round(e.requestStart),responseStart:Math.round(e.responseStart),responseEnd:Math.round(e.responseEnd),domInteractive:Math.round(e.domInteractive),domComplete:Math.round(e.domComplete),loadEventStart:Math.round(e.loadEventStart),loadEventEnd:Math.round(e.loadEventEnd),redirectCount:Math.round(e.redirectCount),size:e.transferSize?e.transferSize:0,type:e.type,protocol:e.nextHopProtocol,encodedSize:e.encodedBodySize?e.encodedBodySize:0,decodedSize:e.decodedBodySize?e.decodedBodySize:0},async function(e){let t=[c(),e];29===e&&(t.push(so.fetchStart),t.push(so.connectStart),t.push(so.connectEnd),t.push(so.requestStart),t.push(so.responseStart),t.push(so.responseEnd),t.push(so.domInteractive),t.push(so.domComplete),t.push(so.loadEventStart),t.push(so.loadEventEnd),t.push(so.redirectCount),t.push(so.size),t.push(so.type),t.push(so.protocol),t.push(so.encodedSize),t.push(so.decodedSize),co(),va(t))}(29)}let fo=0,ho=1/0,mo=0,go=0;const yo=[],vo=new Map,bo=()=>fo||0,wo=()=>{if(!yo.length)return-1;const e=Math.min(yo.length-1,Math.floor((bo()-go)/50));return yo[e].latency},ko=()=>{go=bo(),yo.length=0,vo.clear()},So=e=>{if(!e.interactionId||e.duration<40)return;(e=>{"interactionCount"in performance?fo=performance.interactionCount:e.interactionId&&(ho=Math.min(ho,e.interactionId),mo=Math.max(mo,e.interactionId),fo=mo?(mo-ho)/7+1:0)})(e);const t=yo[yo.length-1],n=vo.get(e.interactionId);if(n||yo.length<10||e.duration>(null==t?void 0:t.latency)){if(n)e.duration>n.latency&&(n.latency=e.duration);else{const t={id:e.interactionId,latency:e.duration};vo.set(t.id,t),yo.push(t)}yo.sort(((e,t)=>t.latency-e.latency)),yo.length>10&&yo.splice(10).forEach((e=>vo.delete(e.id)))}};let Oo;const To=["navigation","resource","longtask","first-input","layout-shift","largest-contentful-paint","event"];function Eo(){Eo.dn=26;try{Oo&&Oo.disconnect(),Oo=new PerformanceObserver(Wr(Mo));for(let e of To)PerformanceObserver.supportedEntryTypes.indexOf(e)>=0&&("layout-shift"===e&&W(9,0),Oo.observe({type:e,buffered:!0}))}catch(e){Ia(3,1)}}function Mo(e){Mo.dn=27,function(e){let t=!("visibilityState"in document)||"visible"===document.visibilityState;for(let n=0;n<e.length;n++){let i=e[n];switch(i.entryType){case"navigation":po(i);break;case"resource":let e=i.name;cr(4,No(e)),e!==l.upload&&e!==l.fallback||z(28,i.duration);break;case"longtask":L(7);break;case"first-input":t&&z(10,i.processingStart-i.startTime);break;case"event":t&&"PerformanceEventTiming"in window&&"interactionId"in PerformanceEventTiming.prototype&&(So(i),cr(37,wo().toString()));break;case"layout-shift":t&&!i.hadRecentInput&&W(9,1e3*i.value);break;case"largest-contentful-paint":t&&z(8,i.startTime)}}}(e.getEntries())}function No(e){let t=document.createElement("a");return t.href=e,t.host}var xo=Object.freeze({__proto__:null,start:function e(){e.dn=25,co(),function(){navigator&&"connection"in navigator&&cr(27,navigator.connection.effectiveType),window.PerformanceObserver&&PerformanceObserver.supportedEntryTypes?"complete"!==document.readyState?Hr(window,"load",H.bind(this,Eo,0)):Eo():Ia(3,0)}()},stop:function(){Oo&&Oo.disconnect(),Oo=null,ko(),co()}});const _o=[lo,uo,Lt,xo];function Io(e=null){(function(){try{let e=navigator&&"globalPrivacyControl"in navigator&&1==navigator.globalPrivacyControl;return!1===no&&"undefined"!=typeof Promise&&window.MutationObserver&&document.createTreeWalker&&"now"in Date&&"now"in performance&&"undefined"!=typeof WeakMap&&!e}catch(e){return!1}})()&&(!function(e){if(null===e||no)return!1;for(let t in e)t in l&&(l[t]=e[t])}(e),io(),_e(),_o.forEach((e=>Wr(e.start)())),null===e&&Ao())}function Co(){ro()&&(_o.slice().reverse().forEach((e=>Wr(e.stop)())),Ie(),ao(),void 0!==Po&&(Po[Ro]=function(){(Po[Ro].q=Po[Ro].q||[]).push(arguments),"start"===arguments[0]&&Po[Ro].q.unshift(Po[Ro].q.pop())&&Ao()}))}var Do=Object.freeze({__proto__:null,consent:Sr,event:X,hashText:Ci,identify:re,metadata:wr,pause:function(){ro()&&(X("clarity","pause"),null===Aa&&(Aa=new Promise((e=>{Xa=e}))))},resume:function(){ro()&&(Aa&&(Xa(),Aa=null,null===Ra&&$a()),X("clarity","resume"))},set:ae,signal:function(e){Me=e},start:Io,stop:Co,upgrade:Ga,version:d});const Po=window,Ro="clarity";function Ao(){if(void 0!==Po){if(Po[Ro]&&Po[Ro].v)return console.warn("Error CL001: Multiple Clarity tags detected.");let e=Po[Ro]&&Po[Ro].q||[];for(Po[Ro]=function(e,...t){return Do[e](...t)},Po[Ro].v=d;e.length>0;)Po[Ro](...e.shift())}}Ao()}();
|
package/build/clarity.insight.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(){"use strict";var e=Object.freeze({__proto__:null,get queue(){return $t},get start(){return jt},get stop(){return At},get track(){return Nt}}),t=Object.freeze({__proto__:null,get data(){return un},get start(){return sn},get stop(){return dn},get upgrade(){return cn}}),n=Object.freeze({__proto__:null,get check(){return hn},get compute(){return mn},get data(){return ln},get start(){return fn},get stop(){return vn},get trigger(){return gn}}),i=Object.freeze({__proto__:null,get compute(){return On},get data(){return wn},get log(){return _n},get reset(){return xn},get start(){return kn},get stop(){return Tn},get updates(){return yn}}),o=Object.freeze({__proto__:null,get callback(){return Cn},get callbacks(){return Nn},get clear(){return An},get consent(){return $n},get data(){return Mn},get electron(){return Sn},get id(){return jn},get metadata(){return Yn},get save(){return Dn},get shortid(){return zn},get start(){return In},get stop(){return Pn}}),r=Object.freeze({__proto__:null,get data(){return Jn},get envelope(){return Gn},get start(){return Bn},get stop(){return Zn}});let a={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 l(e){return window.Zone&&"__symbol__"in window.Zone?window.Zone.__symbol__(e):e}let u=0;function s(e=null){let t=e&&e.timeStamp>0?e.timeStamp:performance.now(),n=e&&e.view?e.view.performance.timeOrigin:performance.timeOrigin;return Math.max(Math.round(t+n-u),0)}let c="0.8.9-beta";function d(e,t=null){let n=0,i=5381,o=i;for(let t=0;t<e.length;t+=2){if(i=(i<<5)+i^e.charCodeAt(t),t+1<e.length){o=(o<<5)+o^e.charCodeAt(t+1)}}return n=Math.abs(i+11579*o),(t?n%Math.pow(2,t):n).toString(36)}const p=/\S/gi,f=255;let h=!0,g=null,m=null,v=null;function w(e,t,n,i=!1,o){if(e){if("input"==t&&("checkbox"===o||"radio"===o))return e;switch(n){case 0:return e;case 1:switch(t){case"*T":case"value":case"placeholder":case"click":return function(e){let t=-1,n=0,i=!1,o=!1,r=!1,a=null;O();for(let l=0;l<e.length;l++){let u=e.charCodeAt(l);if(i=i||u>=48&&u<=57,o=o||64===u,r=9===u||10===u||13===u||32===u,0===l||l===e.length-1||r){if(i||o){null===a&&(a=e.split(""));let i=e.substring(t+1,r?l:l+1);i=h&&null!==v?i.match(v)?i:T(i,"▪","▫"):k(i),a.splice(t+1-n,i.length,i),n+=i.length-1}r&&(i=!1,o=!1,t=l)}}return a?a.join(""):e}(e);case"input":case"change":return _(e)}return e;case 2:case 3:switch(t){case"*T":case"data-":return i?b(e):k(e);case"src":case"srcset":case"title":case"alt":return 3===n?"":e;case"value":case"click":case"input":case"change":return _(e);case"placeholder":return k(e)}break;case 4:switch(t){case"*T":case"data-":return i?b(e):k(e);case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":return""}break;case 5:switch(t){case"*T":case"data-":return T(e,"▪","▫");case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":case"src":case"srcset":case"alt":case"title":return""}}}return e}function y(e,t=!1,n=!1){let i=e;if(t)i="https://Electron";else{let t=a.drop;if(t&&t.length>0&&e&&e.indexOf("?")>0){let[n,o]=e.split("?"),r="*na*";i=n+"?"+o.split("&").map((e=>t.some((t=>0===e.indexOf(`${t}=`)))?`${e.split("=")[0]}=${r}`:e)).join("&")}}return n&&(i=i.substring(0,f)),i}function b(e){let t=e.trim();if(t.length>0){let n=t[0],i=e.indexOf(n),o=e.substr(0,i),r=e.substr(i+t.length);return`${o}${t.length.toString(36)}${r}`}return e}function k(e){return e.replace(p,"•")}function T(e,t,n){return O(),e?e.replace(m,t).replace(g,n):e}function _(e){let t=5*(Math.floor(e.length/5)+1),n="";for(let e=0;e<t;e++)n+=e>0&&e%5==0?" ":"•";return n}function O(){if(h&&null===g)try{g=new RegExp("\\p{N}","gu"),m=new RegExp("\\p{L}","gu"),v=new RegExp("\\p{Sc}","gu")}catch(e){h=!1}}let x=null,E=null,M=!1;function N(){M&&(x={time:s(),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 S(e,t,n,i){switch(e){case 8:E.docWidth=t,E.docHeight=n;break;case 11:E.screenWidth=t,E.screenHeight=n;break;case 10:E.scrollX=t,E.scrollY=n,E.scrollTime=i;break;case 12:E.moveX=t,E.moveY=n,E.moveTime=i,E.pointerPrevX=E.pointerX,E.pointerPrevY=E.pointerY,E.pointerPrevTime=E.pointerTime,E.pointerX=t,E.pointerY=n,E.pointerTime=i;break;case 13:E.downX=t,E.downY=n,E.downTime=i,E.pointerPrevX=E.pointerX,E.pointerPrevY=E.pointerY,E.pointerPrevTime=E.pointerTime,E.pointerX=t,E.pointerY=n,E.pointerTime=i;break;case 14:E.upX=t,E.upY=n,E.upTime=i,E.pointerPrevX=E.pointerX,E.pointerPrevY=E.pointerY,E.pointerPrevTime=E.pointerTime,E.pointerX=t,E.pointerY=n,E.pointerTime=i;break;default:E.pointerPrevX=E.pointerX,E.pointerPrevY=E.pointerY,E.pointerPrevTime=E.pointerTime,E.pointerX=t,E.pointerY=n,E.pointerTime=i}M=!0}function X(e){E.activityTime=e}function I(e,t){E.visible="visible"===t?1:0,E.visible||X(e),M=!0}function P(){M&&pn(4)}var Y=Object.freeze({__proto__:null,activity:X,compute:P,reset:N,start:function(){M=!1,N()},get state(){return x},stop:function(){N()},track:S,visibility:I});let j=null;function $(e,t){gi()&&e&&"string"==typeof e&&e.length<255&&(j=t&&"string"==typeof t&&t.length<255?{key:e,value:t}:{value:e},pn(24))}let A,C=null,D=null;function H(e){e in C||(C[e]=0),e in D||(D[e]=0),C[e]++,D[e]++}function W(e,t){null!==t&&(e in C||(C[e]=0),e in D||(D[e]=0),C[e]+=t,D[e]+=t)}function z(e,t){null!==t&&!1===isNaN(t)&&(e in C||(C[e]=0),(t>C[e]||0===C[e])&&(D[e]=t,C[e]=t))}function q(e,t,n){return window.setTimeout(ei(e),t,n)}function R(e){return window.clearTimeout(e)}let L=0,U=0,F=null;function V(){F&&R(F),F=q(J,U),L=s()}function J(){let e=s();A={gap:e-L},pn(25),A.gap<3e5?F=q(J,U):pi&&($("clarity","suspend"),bi(),["mousemove","touchstart"].forEach((e=>ni(document,e,mi))),["resize","scroll","pageshow"].forEach((e=>ni(window,e,mi))))}var B=Object.freeze({__proto__:null,get data(){return A},reset:V,start:function(){U=6e4,L=0},stop:function(){R(F),L=0,U=0}});let Z=null;function G(){pn(36)}function K(){Z={}}var Q=Object.freeze({__proto__:null,compute:G,get data(){return Z},reset:K,start:function(){Z={}},stop:function(){Z={}},track:function(e,t){if(e in Z){let n=Z[e],i=n[n.length-1];t-i[0]>100?Z[e].push([t,0]):i[1]=t-i[0]}else Z[e]=[[t,0]]}});const ee="CompressionStream"in window;let te=null;function ne(e,t){oe(e,"string"==typeof t?[t]:t)}async function ie(e,t=null,n=null,i=null){let o={userId:await le(e),userHint:i||(r=e,r&&r.length>=5?`${r.substring(0,2)}${T(r.substring(2),"*","*")}`:T(r,"*","*"))};var r;return oe("userId",[o.userId]),oe("userHint",[o.userHint]),oe("userType",[ue(e)]),t&&(oe("sessionId",[t]),o.sessionId=t),n&&(oe("pageId",[n]),o.pageId=n),o}function oe(e,t){if(gi()&&e&&t&&"string"==typeof e&&e.length<255){let n=e in te?te[e]:[];for(let e=0;e<t.length;e++)"string"==typeof t[e]&&t[e].length<255&&n.push(t[e]);te[e]=n}}function re(){pn(34)}function ae(){te={}}async function le(e){try{if(crypto&&e){const t=await crypto.subtle.digest("SHA-256",(new TextEncoder).encode(e));return Array.prototype.map.call(new Uint8Array(t),(e=>("00"+e.toString(16)).slice(-2))).join("")}return""}catch(e){return""}}function ue(e){return e&&e.indexOf("@")>0?"email":"string"}var se=Object.freeze({__proto__:null,compute:re,get data(){return te},identify:ie,reset:ae,set:ne,start:function(){ae()},stop:function(){ae()}});let ce,de={};function pe(e){pe.dn=4;let t=e.error||e;return t.message in de||(de[t.message]=0),de[t.message]++>=5||t&&t.message&&(ce={message:t.message,line:e.lineno,column:e.colno,stack:t.stack,source:e.filename},fe(31)),!0}async function fe(e){let t=[s(),e];switch(e){case 31:t.push(ce.message),t.push(ce.line),t.push(ce.column),t.push(ce.stack),t.push(y(ce.source)),$t(t);break;case 33:he&&(t.push(he.code),t.push(he.name),t.push(he.message),t.push(he.stack),t.push(he.severity),$t(t,!1))}}let he,ge={};function me(e,t,n=null,i=null,o=null){let r=n?`${n}|${i}`:"";e in ge&&ge[e].indexOf(r)>=0||(he={code:e,name:n,message:i,stack:o,severity:t},e in ge?ge[e].push(r):ge[e]=[r],fe(33))}let ve={},we=new Set,ye={},be={},ke={},Te={};function _e(e){try{var t=e&&e.length>0?e.split(/ (.*)/):[""],n=t[0].split(/\|(.*)/),i=parseInt(n[0]),o=n.length>1?n[1]:"",r=t.length>1?JSON.parse(t[1]):{};for(var a in ye[i]={},be[i]={},ke[i]={},Te[i]=o,r){let e=parseInt(a),t=r[a],n=2;switch(t.startsWith("~")?n=0:t.startsWith("!")&&(n=4),n){case 0:let n=t.slice(1);ye[i][e]=Ne(n);break;case 2:be[i][e]=t;break;case 4:let o=t.slice(1);ke[i][e]=o}}}catch(e){me(8,1,e?e.name:null)}}function Oe(e){return JSON.parse(JSON.stringify(e))}function xe(){try{for(let t in ye){let n=parseInt(t);if(""==Te[n]||document.querySelector(Te[n])){let t=ye[n];for(let i in t){let o=parseInt(i),r=(e=Se(Oe(t[o])))?JSON.stringify(e).slice(0,1e4):e;r&&Me(n,o,r)}let i=be[n];for(let e in i){let t=!1,o=parseInt(e),r=i[o];r.startsWith("@")&&(t=!0,r=r.slice(1));let a=document.querySelectorAll(r);if(a){let e=Array.from(a).map((e=>e.textContent)).join("<SEP>");Me(n,o,(t?d(e).trim():e).slice(0,1e4))}}let o=ke[n];for(let e in o){let t=parseInt(e);Me(n,t,(void o[t]).trim().slice(0,1e4))}}}we.size>0&&pn(40)}catch(e){me(5,1,e?e.name:null)}var e}function Ee(){we.clear()}function Me(e,t,n){var i,o=!1;e in ve||(ve[e]={},o=!0),i=ke[e],0==Object.keys(i).length||t in ve[e]&&ve[e][t]==n||(o=!0),ve[e][t]=n,o&&we.add(e)}function Ne(e){let t=[],n=e.split(".");for(;n.length>0;){let e=n.shift(),i=e.indexOf("["),o=e.indexOf("{"),r=e.indexOf("}");t.push({name:i>0?e.slice(0,i):o>0?e.slice(0,o):e,type:i>0?1:o>0?2:3,condition:o>0?e.slice(o+1,r):null})}return t}function Se(e,t=window){if(0==e.length)return t;let n,i=e.shift();if(t&&t[i.name]){let r=t[i.name];if(1!==i.type&&Xe(r,i.condition))n=Se(e,r);else if(Array.isArray(r)){let t=[];for(var o of r)if(Xe(o,i.condition)){let n=Se(e,o);n&&t.push(n)}n=t}return n}return null}function Xe(e,t){if(t){let n=t.split(":");return n.length>1?e[n[0]]==n[1]:e[n[0]]}return!0}let Ie=null;function Pe(e){try{if(!Ie)return;const t=function(e){try{return JSON.parse(e)}catch(e){return[]}}(e);t.forEach((e=>{Ie(e)}))}catch(e){}}const Ye=[Y,i,se,n,Q,o,r,e,B,t,Object.freeze({__proto__:null,clone:Oe,compute:xe,data:ve,keys:we,reset:Ee,start:function(){Ee()},stop:function(){Ee()},trigger:_e,update:Me})];function je(){C={},D={},H(5),Ye.forEach((e=>ei(e.start)()))}function $e(){Ye.slice().reverse().forEach((e=>ei(e.stop)())),C={},D={}}function Ae(){re(),P(),On(),pn(0),G(),mn(),xe()}let Ce=[];var De=Object.freeze({__proto__:null,checkDocumentStyles:function(e){},compute:function(){},data:null,log:function(){},observe:function(){},reset:function(){},sheetAdoptionState:[],sheetUpdateState:[],start:function(){},state:Ce,stop:function(){}});let He=[],We=null,ze=null,qe=null;function Re(){He=[],We=null,ze=null}async function Le(e,t=0){for(let t of He)if(t.task===e)return;let n=new Promise((n=>{He[1===t?"unshift":"push"]({task:e,resolve:n,id:jn()})}));return null===We&&null===ze&&Ue(),n}function Ue(){let e=He.shift();e&&(We=e,e.task().then((()=>{e.id===jn()&&(e.resolve(),We=null,Ue())})).catch((t=>{e.id===jn()&&(t&&me(0,1,t.name,t.message,t.stack),We=null,Ue())})))}const Fe=["input","textarea","radio","button","canvas","select"];let Ve,Je=[];function Be(e){ni(e,"click",Ze.bind(this,9,e),!0)}function Ze(e,t,n){Ze.dn=6;let i=document.documentElement,o="pageX"in n?Math.round(n.pageX):"clientX"in n?Math.round(n.clientX+i.scrollLeft):null,r="pageY"in n?Math.round(n.pageY):"clientY"in n?Math.round(n.clientY+i.scrollTop):null,a=Qt(n),l=function(e){for(;e&&e!==document;){if(e.nodeType===Node.ELEMENT_NODE){let t=e;if("A"===t.tagName)return t}e=e.parentNode}return null}(a),u=function(e){let t=null,n=document.documentElement;if("function"==typeof e.getBoundingClientRect){let i=e.getBoundingClientRect();i&&i.width>0&&i.height>0&&(t={x:Math.floor(i.left+("pageXOffset"in window?window.pageXOffset:n.scrollLeft)),y:Math.floor(i.top+("pageYOffset"in window?window.pageYOffset:n.scrollTop)),w:Math.floor(i.width),h:Math.floor(i.height)})}return t}(a);0===n.detail&&u&&(o=Math.round(u.x+u.w/2),r=Math.round(u.y+u.h/2));let c=u?Math.max(Math.floor((o-u.x)/u.w*32767),0):0,d=u?Math.max(Math.floor((r-u.y)/u.h*32767),0):0;if(null!==o&&null!==r){const t=function(e){let t=null,n=!1;if(e){let i=e.textContent||String(e.value||"")||e.alt;if(i){const e=i.replace(/\s+/g," ").trim();t=e.substring(0,25),n=t.length===e.length}}return{text:t,isFullText:n?1:0}}(a);Je.push({time:s(n),event:e,data:{target:a,x:o,y:r,eX:c,eY:d,button:n.button,reaction:Ge(a),context:Ke(l),text:t.text,link:l?l.href:null,hash:null,trust:n.isTrusted?1:0,isFullText:t.isFullText}}),Le(yt.bind(this,e))}}function Ge(e){if(e.nodeType===Node.ELEMENT_NODE){let t=e.tagName.toLowerCase();if(Fe.indexOf(t)>=0)return 0}return 1}function Ke(e){if(e&&e.hasAttribute("target"))switch(e.getAttribute("target")){case"_blank":return 1;case"_parent":return 2;case"_top":return 3}return 0}function Qe(){Je=[]}let et=null,tt=!1;function nt(){nt.dn=12;let e=document.documentElement;Ve={width:e&&"clientWidth"in e?Math.min(e.clientWidth,window.innerWidth):window.innerWidth,height:e&&"clientHeight"in e?Math.min(e.clientHeight,window.innerHeight):window.innerHeight},tt?(R(et),et=q(it,500,11)):(yt(11),tt=!0)}function it(e){Le(yt.bind(this,e))}function ot(){Ve=null,R(et)}let rt=[],at=null;function lt(e=null){lt.dn=13;let t=window,n=document.documentElement,i=e?Qt(e):n;i&&i.nodeType===Node.DOCUMENT_NODE&&(i=n=i.documentElement);let o=i===n&&"pageXOffset"in t?Math.round(t.pageXOffset):Math.round(i.scrollLeft),r=i===n&&"pageYOffset"in t?Math.round(t.pageYOffset):Math.round(i.scrollTop);const a=window.innerWidth,l=window.innerHeight,u=a/3,c=a>l?.15*l:.2*l,d=l-c,p=ut(u,c),f=ut(u,d);let h={time:s(e),event:10,data:{target:i,x:o,y:r,top:p,bottom:f}};if(null===e&&0===o&&0===r||null===o||null===r)return;let g=rt.length,m=g>1?rt[g-2]:null;m&&function(e,t){let n=e.data.x-t.data.x,i=e.data.y-t.data.y;return n*n+i*i<400&&t.time-e.time<25}(m,h)&&rt.pop(),rt.push(h),R(at),at=q(st,500,10)}function ut(e,t){var n,i;let o;return"caretPositionFromPoint"in document?o=null===(n=document.caretPositionFromPoint(e,t))||void 0===n?void 0:n.offsetNode:"caretRangeFromPoint"in document&&(o=null===(i=document.caretRangeFromPoint(e,t))||void 0===i?void 0:i.startContainer),o||(o=document.elementFromPoint(e,t)),o&&o.nodeType===Node.TEXT_NODE&&(o=o.parentNode),o}function st(e){Le(yt.bind(this,e))}let ct,dt,pt=[];function ft(e){ft.dn=16,pt.push({time:s(e),event:39,data:{target:Qt(e)}}),Le(yt.bind(this,39))}function ht(){pt=[]}function gt(e){gt.dn=17,ct={name:e.type,persisted:e.persisted?1:0},yt(26,s(e)),bi()}function mt(){ct=null}function vt(e=null){vt.dn=18,dt={visible:"visibilityState"in document?document.visibilityState:"default"},yt(28,s(e))}function wt(){dt=null}async function yt(e,t=null){let n=t||s(),i=[n,e];switch(e){case 13:case 14:case 12:case 15:case 16:case 17:case 18:case 19:case 20:for(let e of Ce){let t=en(e.data.target,e.event);t.id>0&&(i=[e.time,e.event],i.push(t.id),i.push(e.data.x),i.push(e.data.y),void 0!==e.data.id&&(i.push(e.data.id),void 0!==e.data.isPrimary&&i.push(e.data.isPrimary.toString())),$t(i),S(e.event,e.data.x,e.data.y,e.time))}break;case 9:for(let e of Je){let t=en(e.data.target,e.event,e.data.text);i=[e.time,e.event];let n=t.hash?t.hash.join("."):"";i.push(t.id),i.push(e.data.x),i.push(e.data.y),i.push(e.data.eX),i.push(e.data.eY),i.push(e.data.button),i.push(e.data.reaction),i.push(e.data.context),i.push(w(e.data.text,"click",t.privacy)),i.push(y(e.data.link)),i.push(n),i.push(e.data.trust),i.push(e.data.isFullText),$t(i),_t(e.time,e.event,n,e.data.x,e.data.y,e.data.reaction,e.data.context)}Qe();break;case 38:for(let e of Ce){i=[e.time,e.event];let t=en(e.data.target,e.event);t.id>0&&(i.push(t.id),i.push(e.data.action),$t(i))}break;case 11:let t=Ve;i.push(t.width),i.push(t.height),S(e,t.width,t.height),ot(),$t(i);break;case 26:let o=ct;i.push(o.name),i.push(o.persisted),mt(),$t(i);break;case 27:for(let e of Ce){let t=en(e.data.target,e.event,e.data.value);i=[e.time,e.event],i.push(t.id),i.push(w(e.data.value,"input",t.privacy,!1,e.data.type)),$t(i)}break;case 21:break;case 10:for(let e of rt){let t=en(e.data.target,e.event);const n=en(e.data.top,e.event),o=en(e.data.bottom,e.event),r=(null==n?void 0:n.hash)?n.hash.join("."):"",a=(null==o?void 0:o.hash)?o.hash.join("."):"";t.id>0&&(i=[e.time,e.event],i.push(t.id),i.push(e.data.x),i.push(e.data.y),i.push(r),i.push(a),$t(i),S(e.event,e.data.x,e.data.y,e.time))}rt=[];break;case 42:for(let e of Ce){i=[e.time,e.event];let t=en(e.data.target,e.event);t.id>0&&(i=[e.time,e.event],i.push(t.id),i.push(e.data.type),i.push(w(e.data.value,"change",t.privacy)),i.push(w(e.data.checksum,"checksum",t.privacy)),$t(i))}break;case 39:for(let e of pt){i=[e.time,e.event];let t=en(e.data.target,e.event);t.id>0&&(i.push(t.id),$t(i))}ht();break;case 22:for(let e of kt)i=[e.time,e.event],i.push(e.data.type),i.push(e.data.hash),i.push(e.data.x),i.push(e.data.y),i.push(e.data.reaction),i.push(e.data.context),$t(i,!1);Tt();break;case 28:let r=dt;i.push(r.visible),$t(i),I(n,r.visible),wt()}}let bt=[],kt=[];function Tt(){kt=[]}function _t(e,t,n,i,o,r=1,a=0){bt.push({time:e,event:22,data:{type:t,hash:n,x:i,y:o,reaction:r,context:a}}),S(t,i,o,e)}let Ot,xt,Et,Mt,Nt,St,Xt=0,It=0,Pt=null,Yt=0;function jt(){Mt=!0,Xt=0,It=0,Yt=0,Ot=[],xt=[],Et={},Nt=null}function $t(e,t=!0){if(Mt){let n=s(),i=e.length>1?e[1]:null,o=JSON.stringify(e);switch(i){case 5:Xt+=o.length;case 37:case 6:case 43:case 45:case 46:It+=o.length,Ot.push(o);break;default:xt.push(o)}H(25);let r=function(){let e=!1===a.lean&&Xt>0?100:Jn.sequence*a.delay;return"string"==typeof a.upload?Math.max(Math.min(e,3e4),100):a.delay}();n-Yt>2*r&&(R(Pt),Pt=null),t&&null===Pt&&(25!==i&&V(),Pt=q(Ct,r),Yt=n,hn(It))}}function At(){R(Pt),Ct(!0),Xt=0,It=0,Yt=0,Ot=[],xt=[],Et={},Nt=null,Mt=!1}async function Ct(e=!1){Pt=null;let t=!1===a.lean&&It>0&&(It<1048576||Jn.sequence>0);t&&z(1,1),function(){const e=[];kt=[];let t=Jn.start+Jn.duration,n=Math.max(t-2e3,0);for(let i of bt)i.time>=n&&(i.time<=t&&kt.push(i),e.push(i));bt=e,yt(22)}(),Ae();let n=!0===e,i=function(e){return e.p.length>0?`{"e":${e.e},"a":${e.a},"p":${e.p}}`:`{"e":${e.e},"a":${e.a}}`}({e:JSON.stringify(Gn(n)),a:`[${xt.join()}]`,p:t?`[${Ot.join()}]`:""}),o=n?null:await async function(e){try{if(ee){const t=new ReadableStream({async start(t){t.enqueue(e),t.close()}}).pipeThrough(new TextEncoderStream).pipeThrough(new window.CompressionStream("gzip"));return new Uint8Array(await async function(e){const t=e.getReader(),n=[];let i=!1,o=[];for(;!i;){if(({done:i,value:o}=await t.read()),i)return n;n.push(...o)}return n}(t))}}catch(e){}return null}(i);W(2,o?o.length:i.length),Dt(i,o,Jn.sequence,n),xt=[],t&&(Ot=[],It=0,Xt=0)}function Dt(e,t,n,i=!1){if("string"==typeof a.upload){const o=a.upload;let r=!1;if(i&&"sendBeacon"in navigator)try{r=navigator.sendBeacon.bind(navigator)(o,e),r&&Wt(n)}catch(e){}if(!1===r){n in Et?Et[n].attempts++:Et[n]={data:e,attempts:1};let i=new XMLHttpRequest;i.open("POST",o,!0),i.timeout=15e3,i.ontimeout=()=>{Qn(new Error(`Timeout : ${o}`))},null!==n&&(i.onreadystatechange=()=>{ei(Ht)(i,n)}),i.withCredentials=!0,t?(i.setRequestHeader("Accept","application/x-clarity-gzip"),i.send(t)):i.send(e)}}else if(a.upload){(0,a.upload)(e),Wt(n)}}function Ht(e,t){var n=Et[t];e&&4===e.readyState&&n&&((e.status<200||e.status>208)&&n.attempts<=1?e.status>=400&&e.status<500?gn(6):(0===e.status&&(a.upload=a.fallback?a.fallback:a.upload),Dt(n.data,null,t)):(Nt={sequence:t,attempts:n.attempts,status:e.status},n.attempts>1&&pn(2),200===e.status&&e.responseText&&function(e){let t=e&&e.length>0?e.split("\n"):[];for(var n of t){let e=n&&n.length>0?n.split(/ (.*)/):[""];switch(e[0]){case"END":gn(6);break;case"UPGRADE":cn("Auto");break;case"ACTION":a.action&&e.length>1&&a.action(e[1]);break;case"EXTRACT":e.length>1&&_e(e[1]);break;case"SIGNAL":e.length>1&&Pe(e[1])}}}(e.responseText),0===e.status&&(Dt(n.data,null,t,!0),gn(3)),e.status>=200&&e.status<=208&&Wt(t),delete Et[t]))}function Wt(e){1===e&&(Dn(),Cn())}async function zt(e){let t=[s(),e];switch(e){case 8:let n=St;t.push(n.width),t.push(n.height),S(e,n.width,n.height),$t(t);break;case 43:let i=Jt;if(i.length>0){for(let e of i){let n=e.metadata.privacy,i=e.data;for(let o of["tag","attributes","value"])if(i[o])switch(o){case"tag":t.push(e.id),e.parent&&t.push(e.parent),e.previous&&t.push(e.previous),t.push(i[o]);break;case"attributes":for(let e in i[o])void 0!==i[o][e]&&t.push(qt(e,i[o][e],n));break;case"value":t.push(w(i[o],i.tag,n))}}$t(function(e){let t=[],n={},i=0,o=null;for(let r=0;r<e.length;r++)if("string"==typeof e[r]){let a=e[r],l=n[a]||-1;l>=0?o?o.push(l):(o=[l],t.push(o),i++):(o=null,t.push(a),n[a]=i++)}else o=null,t.push(e[r]),i++;return t}(t),!0)}}}function qt(e,t,n){return`${e}=${w(t,0===e.indexOf("data-")?"data-":e,n)}`}function Rt(){St=null}function Lt(){Rt(),Ut()}function Ut(){Ut.dn=19;let e=document.body,t=document.documentElement,n=e?e.clientWidth:null,i=e?e.scrollWidth:null,o=e?e.offsetWidth:null,r=t?t.clientWidth:null,a=t?t.scrollWidth:null,l=t?t.offsetWidth:null,u=Math.max(n,i,o,r,a,l),s=e?e.clientHeight:null,c=e?e.scrollHeight:null,d=e?e.offsetHeight:null,p=t?t.clientHeight:null,f=t?t.scrollHeight:null,h=t?t.offsetHeight:null,g=Math.max(s,c,d,p,f,h);null!==St&&u===St.width&&g===St.height||null===u||null===g||(St={width:u,height:g},zt(8))}function Ft(e){!function(e){ni(e===document?window:e,"scroll",lt,!0)}(e),e.nodeType===Node.DOCUMENT_NODE&&(Be(e),function(e){ni(e,"submit",ft,!0)}(e))}var Vt=Object.freeze({__proto__:null,observe:Ft,start:function e(){e.dn=8,bt=[],Tt(),Qe(),tt=!1,ni(window,"resize",nt),nt(),ni(document,"visibilitychange",vt),vt(),rt=[],lt(),ht(),ni(window,"pagehide",gt)},stop:function(){bt=[],Tt(),Qe(),ot(),wt(),R(at),rt=[],ht(),mt()}});let Jt=[],Bt=1,Zt=null;function Gt(){tn(),Lt(),on(document.documentElement),Ft(document)}function Kt(){}function Qt(e){let t=e.composed&&e.composedPath?e.composedPath():null,n=t&&t.length>0?t[0]:e.target;return n.nodeType===Node.DOCUMENT_NODE?n.documentElement:n}function en(e){let t={id:0,hash:null,privacy:a.conversions?1:5};return e&&(t.id=Zt.has(e)?Zt.get(e):on(e)),t}function tn(){Zt=new WeakMap}function nn(e){let t={},n=e.attributes;if(n&&n.length>0)for(let e=0;e<n.length;e++)t[n[e].name]=n[e].value;return t}function on(e){return null===e?null:Zt.has(e)?Zt.get(e):(Zt.set(e,Bt),Bt++)}function rn(e,t,n){if(e&&n&&n.tag){let i=on(e),o=t?Zt.get(t):null,r=e.previousSibling?Zt.get(e.previousSibling):null,a={active:!0,suspend:!1,privacy:5,position:null,fraud:null,size:null};Jt.push({id:i,parent:o,previous:r,children:[],data:n,selector:null,hash:null,region:null,metadata:a})}}var an=Object.freeze({__proto__:null,compute:function(){},get:function(e){return null},hashText:Kt,iframe:function(){return!1},metadata:en,offset:function(){return{x:0,y:0}},snapshot:function(){Jt=[],function(e){let t=[e];for(;t.length>0;){let e=null,n=null,i=null,o=t.shift(),r=o.firstChild,a=o.parentElement?o.parentElement:o.parentNode?o.parentNode:null;for(;r;)t.push(r),r=r.nextSibling;switch(o.nodeType){case Node.DOCUMENT_TYPE_NODE:let t=o;n="*D",e={name:t.name,publicId:t.publicId,systemId:t.systemId};break;case Node.TEXT_NODE:i=o.nodeValue,n=Zt.get(a)?"*T":n;break;case Node.ELEMENT_NODE:let r=o;e=nn(r),n=["NOSCRIPT","SCRIPT","STYLE"].indexOf(r.tagName)<0?r.tagName:n}rn(o,a,{tag:n,attributes:e,value:i})}}(document),zt(43)},start:Gt,stop:function(){tn(),Rt()},target:Qt,get values(){return Jt}});let ln,un=null;function sn(){!a.lean&&a.upgrade&&a.upgrade("Config"),un=null}function cn(e){gi()&&a.lean&&(a.lean=!1,un={key:e},Cn(),Dn(),a.upgrade&&a.upgrade(e),pn(3),a.lite&&Gt())}function dn(){un=null}function pn(e){let t=[s(),e];switch(e){case 4:let e=x;e&&(t=[e.time,e.event],t.push(e.data.visible),t.push(e.data.docWidth),t.push(e.data.docHeight),t.push(e.data.screenWidth),t.push(e.data.screenHeight),t.push(e.data.scrollX),t.push(e.data.scrollY),t.push(e.data.pointerX),t.push(e.data.pointerY),t.push(e.data.activityTime),t.push(e.data.scrollTime),t.push(e.data.pointerTime),t.push(e.data.moveX),t.push(e.data.moveY),t.push(e.data.moveTime),t.push(e.data.downX),t.push(e.data.downY),t.push(e.data.downTime),t.push(e.data.upX),t.push(e.data.upY),t.push(e.data.upTime),t.push(e.data.pointerPrevX),t.push(e.data.pointerPrevY),t.push(e.data.pointerPrevTime),$t(t,!1)),N();break;case 25:t.push(A.gap),$t(t);break;case 35:t.push(ln.check),$t(t,!1);break;case 3:t.push(un.key),$t(t);break;case 2:t.push(Nt.sequence),t.push(Nt.attempts),t.push(Nt.status),$t(t,!1);break;case 24:j.key&&t.push(j.key),t.push(j.value),$t(t);break;case 34:let n=Object.keys(te);if(n.length>0){for(let e of n)t.push(e),t.push(te[e]);ae(),$t(t,!1)}break;case 0:let i=Object.keys(D);if(i.length>0){for(let e of i){let n=parseInt(e,10);t.push(n),t.push(Math.round(D[e]))}D={},$t(t,!1)}break;case 1:let o=Object.keys(yn);if(o.length>0){for(let e of o){let n=parseInt(e,10);t.push(n),t.push(yn[e])}xn(),$t(t,!1)}break;case 36:let r=Object.keys(Z);if(r.length>0){for(let e of r){let n=parseInt(e,10);t.push(n),t.push([].concat(...Z[e]))}K(),$t(t,!1)}break;case 40:we.forEach((e=>{t.push(e);let n=[];for(let t in ve[e]){let i=parseInt(t,10);n.push(i),n.push(ve[e][t])}t.push(n)})),Ee(),$t(t,!1)}}function fn(){ln={check:0}}function hn(e){if(0===ln.check){let t=ln.check;t=Jn.sequence>=128?1:t,t=Jn.pageNum>=128?7:t,t=s()>72e5?2:t,t=e>10485760?2:t,t!==ln.check&&gn(t)}}function gn(e){ln.check=e,5!==e&&(An(),bi())}function mn(){0!==ln.check&&pn(35)}function vn(){ln=null}let wn=null,yn=null,bn=!1;function kn(){wn={},yn={},bn=!1}function Tn(){wn={},yn={},bn=!1}function _n(e,t){if(t&&(t=`${t}`,e in wn||(wn[e]=[]),wn[e].indexOf(t)<0)){if(wn[e].length>128)return void(bn||(bn=!0,gn(5)));wn[e].push(t),e in yn||(yn[e]=[]),yn[e].push(t)}}function On(){pn(1)}function xn(){yn={},bn=!1}function En(e){_n(36,e.toString())}let Mn=null,Nn=[],Sn=0,Xn=null;function In(){var e,t,n;Xn=null;const i=navigator&&"userAgent"in navigator?navigator.userAgent:"",o=null!==(n=null===(t=null===(e=null===Intl||void 0===Intl?void 0:Intl.DateTimeFormat())||void 0===e?void 0:e.resolvedOptions())||void 0===t?void 0:t.timeZone)&&void 0!==n?n:"",r=(new Date).getTimezoneOffset().toString(),l=window.location.ancestorOrigins?Array.from(window.location.ancestorOrigins).toString():"",u=document&&document.title?document.title:"";Sn=i.indexOf("Electron")>0?1:0;let s=function(){let e={session:zn(),ts:Math.round(Date.now()),count:1,upgrade:null,upload:""},t=Ln("_clsk",!a.includeSubdomains);if(t){let n=t.includes("^")?t.split("^"):t.split("|");n.length>=5&&e.ts-qn(n[1])<18e5&&(e.session=n[0],e.count=qn(n[2])+1,e.upgrade=qn(n[3]),e.upload=n.length>=6?`https://${n[5]}/${n[4]}`:`https://${n[4]}`)}return e}(),c=Rn(),p=a.projectId||d(location.host);Mn={projectId:p,userId:c.id,sessionId:s.session,pageNum:s.count},a.lean=a.track&&null!==s.upgrade?0===s.upgrade:a.lean,a.upload=a.track&&"string"==typeof a.upload&&s.upload&&s.upload.length>"https://".length?s.upload:a.upload,_n(0,i),_n(3,u),_n(1,y(location.href,!!Sn)),_n(2,document.referrer),_n(15,function(){let e=zn();if(a.track&&Hn(window,"sessionStorage")){let t=sessionStorage.getItem("_cltk");e=t||e,sessionStorage.setItem("_cltk",e)}return e}()),_n(16,document.documentElement.lang),_n(17,document.dir),_n(26,`${window.devicePixelRatio}`),_n(28,c.dob.toString()),_n(29,c.version.toString()),_n(33,l),_n(34,o),_n(35,r),z(0,s.ts),z(1,0),z(35,Sn),navigator&&(_n(9,navigator.language),z(33,navigator.hardwareConcurrency),z(32,navigator.maxTouchPoints),z(34,Math.round(navigator.deviceMemory)),function(){let e=navigator.userAgentData;e&&e.getHighEntropyValues?e.getHighEntropyValues(["model","platform","platformVersion","uaFullVersion"]).then((e=>{var t;_n(22,e.platform),_n(23,e.platformVersion),null===(t=e.brands)||void 0===t||t.forEach((e=>{_n(24,e.name+"~"+e.version)})),_n(25,e.model),z(27,e.mobile?1:0)})):_n(22,navigator.platform)}()),screen&&(z(14,Math.round(screen.width)),z(15,Math.round(screen.height)),z(16,Math.round(screen.colorDepth)));for(let e of a.cookies){let t=Ln(e);t&&ne(e,t)}!function(e){En(e?1:0)}(a.track),Wn(c)}function Pn(){Xn=null,Mn=null,Nn.forEach((e=>{e.called=!1}))}function Yn(e,t=!0,n=!1){let i=a.lean?0:1,o=!1;Mn&&(i||!1===t)&&(e(Mn,!a.lean),o=!0),!n&&o||Nn.push({callback:e,wait:t,recall:n,called:o})}function jn(){return Mn?[Mn.userId,Mn.sessionId,Mn.pageNum].join("."):""}function $n(e=!0){if(!e)return a.track=!1,Fn("_clsk","",-Number.MAX_VALUE),Fn("_clck","",-Number.MAX_VALUE),bi(),void window.setTimeout(yi,250);gi()&&(a.track=!0,Wn(Rn(),1),Dn(),En(2))}function An(){Fn("_clsk","",0)}function Cn(){!function(e){if(Nn.length>0)for(let t=0;t<Nn.length;t++){const n=Nn[t];!n.callback||n.called||n.wait&&!e||(n.callback(Mn,!a.lean),n.called=!0,n.recall||(Nn.splice(t,1),t--))}}(a.lean?0:1)}function Dn(){if(!Mn||!a.track)return;let e=Math.round(Date.now()),t=a.upload&&"string"==typeof a.upload?a.upload.replace("https://",""):"",n=a.lean?0:1;Fn("_clsk",[Mn.sessionId,e,Mn.pageNum,n,t].join("|"),1)}function Hn(e,t){try{return!!e[t]}catch(e){return!1}}function Wn(e,t=null){t=null===t?e.consent:t;let n=Math.ceil((Date.now()+31536e6)/864e5),i=0===e.dob?null===a.dob?0:a.dob:e.dob;if(null===e.expiry||Math.abs(n-e.expiry)>=1||e.consent!==t||e.dob!==i){Fn("_clck",[Mn.userId,2,n.toString(36),t,i].join("|"),365)}}function zn(){let e=Math.floor(Math.random()*Math.pow(2,32));return window&&window.crypto&&window.crypto.getRandomValues&&Uint32Array&&(e=window.crypto.getRandomValues(new Uint32Array(1))[0]),e.toString(36)}function qn(e,t=10){return parseInt(e,t)}function Rn(){let e={id:zn(),version:0,expiry:null,consent:0,dob:0},t=Ln("_clck",!a.includeSubdomains);if(t&&t.length>0){let n=t.includes("^")?t.split("^"):t.split("|");n.length>1&&(e.version=qn(n[1])),n.length>2&&(e.expiry=qn(n[2],36)),n.length>3&&1===qn(n[3])&&(e.consent=1),n.length>4&&qn(n[1])>1&&(e.dob=qn(n[4])),a.track=a.track||1===e.consent,e.id=a.track?n[0]:e.id}return e}function Ln(e,t=!1){if(Hn(document,"cookie")){let n=document.cookie.split(";");if(n)for(let i=0;i<n.length;i++){let o=n[i].split("=");if(o.length>1&&o[0]&&o[0].trim()===e){let[e,n]=Un(o[1]);for(;e;)[e,n]=Un(n);return t?n.endsWith("~1")?n.substring(0,n.length-2):null:n}}}return null}function Un(e){try{let t=decodeURIComponent(e);return[t!=e,t]}catch(e){}return[!1,e]}function Fn(e,t,n){if((a.track||""==t)&&(navigator&&navigator.cookieEnabled||Hn(document,"cookie"))){let i=function(e){return encodeURIComponent(e)}(t),o=new Date;o.setDate(o.getDate()+n);let r=`${e}=${i};${o?"expires="+o.toUTCString():""};path=/`;try{if(null===Xn){let n=location.hostname?location.hostname.split("."):[];for(let i=n.length-1;i>=0;i--)if(Xn=`.${n[i]}${Xn||""}`,i<n.length-1&&(document.cookie=`${r};domain=${Xn}`,Ln(e)===t))return;Xn=""}}catch(e){Xn=""}document.cookie=Xn?`${r};domain=${Xn}`:r}}let Vn,Jn=null;function Bn(){const e=Mn;Jn={version:c,sequence:0,start:0,duration:0,projectId:e.projectId,userId:e.userId,sessionId:e.sessionId,pageNum:e.pageNum,upload:0,end:0,applicationPlatform:0,url:""}}function Zn(){Jn=null}function Gn(e){return Jn.start=Jn.start+Jn.duration,Jn.duration=s()-Jn.start,Jn.sequence++,Jn.upload=e&&"sendBeacon"in navigator?1:0,Jn.end=e?1:0,Jn.applicationPlatform=0,Jn.url=y(location.href,!1,!0),[Jn.version,Jn.sequence,Jn.start,Jn.duration,Jn.projectId,Jn.userId,Jn.sessionId,Jn.pageNum,Jn.upload,Jn.end,Jn.applicationPlatform,Jn.url]}function Kn(){Vn=[]}function Qn(e){if(Vn&&-1===Vn.indexOf(e.message)){const t=a.report;if(t&&t.length>0){let n={v:Jn.version,p:Jn.projectId,u:Jn.userId,s:Jn.sessionId,n:Jn.pageNum};e.message&&(n.m=e.message),e.stack&&(n.e=e.stack);let i=new XMLHttpRequest;i.open("POST",t,!0),i.send(JSON.stringify(n)),Vn.push(e.message)}}return e}function ei(e){return function(){let t=performance.now();try{e.apply(this,arguments)}catch(e){throw Qn(e)}let n=performance.now()-t;W(4,n),n>30&&(H(7),z(6,n),me(9,0,`${e.dn||e.name}-${n}`))}}let ti=new Map;function ni(e,t,n,i=!1,o=!0){n=ei(n);try{e[l("addEventListener")](t,n,{capture:i,passive:o}),function(e){return ti.has(e)}(e)||ti.set(e,[]),ti.get(e).push({event:t,listener:n,options:{capture:i,passive:o}})}catch(e){}}function ii(){ti.forEach(((e,t)=>{!function(e,t){e.forEach((e=>{try{t[l("removeEventListener")](e.event,e.listener,{capture:e.options.capture,passive:e.options.passive})}catch(e){}})),ti.delete(t)}(e,t)})),ti=new Map}let oi=null,ri=null,ai=null,li=0;function ui(){return!(li++>20)||(me(4,0),!1)}function si(){si.dn=1,li=0,ai!==di()&&(bi(),window.setTimeout(ci,250))}function ci(){yi(),z(29,1)}function di(){return location.href?location.href.replace(location.hash,""):location.href}let pi=!1;function fi(){pi=!0,u=performance.now()+performance.timeOrigin,Re(),ii(),Kn(),ai=di(),li=0,ni(window,"popstate",si),null===oi&&(oi=history.pushState,history.pushState=function(){oi.apply(this,arguments),gi()&&ui()&&si()}),null===ri&&(ri=history.replaceState,history.replaceState=function(){ri.apply(this,arguments),gi()&&ui()&&si()})}function hi(){ai=null,li=0,Kn(),ii(),Re(),u=0,pi=!1}function gi(){return pi}function mi(){mi.dn=2,yi(),$("clarity","restart")}var vi=Object.freeze({__proto__:null,start:function e(){e.dn=3,function(){z(26,navigator.webdriver?1:0);try{z(31,window.top==window.self||window.top==window?1:2)}catch(e){z(31,0)}}(),ni(window,"error",pe),de={},ge={}},stop:function(){ge={}}});const wi=[vi,an,Vt,De];function yi(e=null){(function(){try{let e=navigator&&"globalPrivacyControl"in navigator&&1==navigator.globalPrivacyControl;return!1===pi&&"undefined"!=typeof Promise&&window.MutationObserver&&document.createTreeWalker&&"now"in Date&&"now"in performance&&"undefined"!=typeof WeakMap&&!e}catch(e){return!1}})()&&(!function(e){if(null===e||pi)return!1;for(let t in e)t in a&&(a[t]=e[t])}(e),fi(),je(),wi.forEach((e=>ei(e.start)())),null===e&&Oi())}function bi(){gi()&&(wi.slice().reverse().forEach((e=>ei(e.stop)())),$e(),hi(),void 0!==Ti&&(Ti[_i]=function(){(Ti[_i].q=Ti[_i].q||[]).push(arguments),"start"===arguments[0]&&Ti[_i].q.unshift(Ti[_i].q.pop())&&Oi()}))}var ki=Object.freeze({__proto__:null,consent:$n,event:$,hashText:Kt,identify:ie,metadata:Yn,pause:function(){gi()&&($("clarity","pause"),null===ze&&(ze=new Promise((e=>{qe=e}))))},resume:function(){gi()&&(ze&&(qe(),ze=null,null===We&&Ue()),$("clarity","resume"))},set:ne,signal:function(e){Ie=e},start:yi,stop:bi,upgrade:cn,version:c});const Ti=window,_i="clarity";function Oi(){if(void 0!==Ti){if(Ti[_i]&&Ti[_i].v)return console.warn("Error CL001: Multiple Clarity tags detected.");let e=Ti[_i]&&Ti[_i].q||[];for(Ti[_i]=function(e,...t){return ki[e](...t)},Ti[_i].v=c;e.length>0;)Ti[_i](...e.shift())}}Oi()}();
|
|
1
|
+
!function(){"use strict";var e=Object.freeze({__proto__:null,get queue(){return At},get start(){return $t},get stop(){return Ct},get track(){return Nt}}),t=Object.freeze({__proto__:null,get data(){return sn},get start(){return cn},get stop(){return pn},get upgrade(){return dn}}),n=Object.freeze({__proto__:null,get check(){return gn},get compute(){return vn},get data(){return un},get start(){return hn},get stop(){return wn},get trigger(){return mn}}),i=Object.freeze({__proto__:null,get compute(){return xn},get data(){return yn},get log(){return On},get reset(){return En},get start(){return Tn},get stop(){return _n},get updates(){return bn}}),o=Object.freeze({__proto__:null,get callback(){return Dn},get callbacks(){return Sn},get clear(){return Cn},get consent(){return An},get data(){return Nn},get electron(){return Xn},get id(){return $n},get metadata(){return jn},get save(){return Hn},get shortid(){return qn},get start(){return Pn},get stop(){return Yn}}),r=Object.freeze({__proto__:null,get data(){return Bn},get envelope(){return Kn},get start(){return Zn},get stop(){return Gn}});let a={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 l(e){return window.Zone&&"__symbol__"in window.Zone?window.Zone.__symbol__(e):e}let u=0;function s(e=null){let t=e&&e.timeStamp>0?e.timeStamp:performance.now(),n=e&&e.view?e.view.performance.timeOrigin:performance.timeOrigin;return Math.max(Math.round(t+n-u),0)}let c="0.8.10-beta";function d(e,t=null){let n=0,i=5381,o=i;for(let t=0;t<e.length;t+=2){if(i=(i<<5)+i^e.charCodeAt(t),t+1<e.length){o=(o<<5)+o^e.charCodeAt(t+1)}}return n=Math.abs(i+11579*o),(t?n%Math.pow(2,t):n).toString(36)}const p=/\S/gi,f=255;let h=!0,g=null,m=null,v=null;function w(e,t,n,i=!1,o){if(e){if("input"==t&&("checkbox"===o||"radio"===o))return e;switch(n){case 0:return e;case 1:switch(t){case"*T":case"value":case"placeholder":case"click":return function(e){let t=-1,n=0,i=!1,o=!1,r=!1,a=null;O();for(let l=0;l<e.length;l++){let u=e.charCodeAt(l);if(i=i||u>=48&&u<=57,o=o||64===u,r=9===u||10===u||13===u||32===u,0===l||l===e.length-1||r){if(i||o){null===a&&(a=e.split(""));let i=e.substring(t+1,r?l:l+1);i=h&&null!==v?i.match(v)?i:T(i,"▪","▫"):k(i),a.splice(t+1-n,i.length,i),n+=i.length-1}r&&(i=!1,o=!1,t=l)}}return a?a.join(""):e}(e);case"input":case"change":return _(e)}return e;case 2:case 3:switch(t){case"*T":case"data-":return i?b(e):k(e);case"src":case"srcset":case"title":case"alt":return 3===n?"":e;case"value":case"click":case"input":case"change":return _(e);case"placeholder":return k(e)}break;case 4:switch(t){case"*T":case"data-":return i?b(e):k(e);case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":return""}break;case 5:switch(t){case"*T":case"data-":return T(e,"▪","▫");case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":case"src":case"srcset":case"alt":case"title":return""}}}return e}function y(e,t=!1,n=!1){let i=e;if(t)i="https://Electron";else{let t=a.drop;if(t&&t.length>0&&e&&e.indexOf("?")>0){let[n,o]=e.split("?"),r="*na*";i=n+"?"+o.split("&").map((e=>t.some((t=>0===e.indexOf(`${t}=`)))?`${e.split("=")[0]}=${r}`:e)).join("&")}}return n&&(i=i.substring(0,f)),i}function b(e){let t=e.trim();if(t.length>0){let n=t[0],i=e.indexOf(n),o=e.substr(0,i),r=e.substr(i+t.length);return`${o}${t.length.toString(36)}${r}`}return e}function k(e){return e.replace(p,"•")}function T(e,t,n){return O(),e?e.replace(m,t).replace(g,n):e}function _(e){let t=5*(Math.floor(e.length/5)+1),n="";for(let e=0;e<t;e++)n+=e>0&&e%5==0?" ":"•";return n}function O(){if(h&&null===g)try{g=new RegExp("\\p{N}","gu"),m=new RegExp("\\p{L}","gu"),v=new RegExp("\\p{Sc}","gu")}catch(e){h=!1}}let x=null,E=null,M=!1;function N(){M&&(x={time:s(),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 S(e,t,n,i){switch(e){case 8:E.docWidth=t,E.docHeight=n;break;case 11:E.screenWidth=t,E.screenHeight=n;break;case 10:E.scrollX=t,E.scrollY=n,E.scrollTime=i;break;case 12:E.moveX=t,E.moveY=n,E.moveTime=i,E.pointerPrevX=E.pointerX,E.pointerPrevY=E.pointerY,E.pointerPrevTime=E.pointerTime,E.pointerX=t,E.pointerY=n,E.pointerTime=i;break;case 13:E.downX=t,E.downY=n,E.downTime=i,E.pointerPrevX=E.pointerX,E.pointerPrevY=E.pointerY,E.pointerPrevTime=E.pointerTime,E.pointerX=t,E.pointerY=n,E.pointerTime=i;break;case 14:E.upX=t,E.upY=n,E.upTime=i,E.pointerPrevX=E.pointerX,E.pointerPrevY=E.pointerY,E.pointerPrevTime=E.pointerTime,E.pointerX=t,E.pointerY=n,E.pointerTime=i;break;default:E.pointerPrevX=E.pointerX,E.pointerPrevY=E.pointerY,E.pointerPrevTime=E.pointerTime,E.pointerX=t,E.pointerY=n,E.pointerTime=i}M=!0}function X(e){E.activityTime=e}function I(e,t){E.visible="visible"===t?1:0,E.visible||X(e),M=!0}function P(){M&&fn(4)}var Y=Object.freeze({__proto__:null,activity:X,compute:P,reset:N,start:function(){M=!1,N()},get state(){return x},stop:function(){N()},track:S,visibility:I});let j=null;function $(e,t){mi()&&e&&"string"==typeof e&&e.length<255&&(j=t&&"string"==typeof t&&t.length<255?{key:e,value:t}:{value:e},fn(24))}let A,C=null,D=null;function H(e){e in C||(C[e]=0),e in D||(D[e]=0),C[e]++,D[e]++}function W(e,t){null!==t&&(e in C||(C[e]=0),e in D||(D[e]=0),C[e]+=t,D[e]+=t)}function z(e,t){null!==t&&!1===isNaN(t)&&(e in C||(C[e]=0),(t>C[e]||0===C[e])&&(D[e]=t,C[e]=t))}function q(e,t,n){return window.setTimeout(ti(e),t,n)}function R(e){return window.clearTimeout(e)}let L=0,U=0,F=null;function V(){F&&R(F),F=q(J,U),L=s()}function J(){let e=s();A={gap:e-L},fn(25),A.gap<3e5?F=q(J,U):fi&&($("clarity","suspend"),ki(),["mousemove","touchstart"].forEach((e=>ii(document,e,vi))),["resize","scroll","pageshow"].forEach((e=>ii(window,e,vi))))}var B=Object.freeze({__proto__:null,get data(){return A},reset:V,start:function(){U=6e4,L=0},stop:function(){R(F),L=0,U=0}});let Z=null;function G(){fn(36)}function K(){Z={}}var Q=Object.freeze({__proto__:null,compute:G,get data(){return Z},reset:K,start:function(){Z={}},stop:function(){Z={}},track:function(e,t){if(e in Z){let n=Z[e],i=n[n.length-1];t-i[0]>100?Z[e].push([t,0]):i[1]=t-i[0]}else Z[e]=[[t,0]]}});const ee="CompressionStream"in window;let te=null;function ne(e,t){oe(e,"string"==typeof t?[t]:t)}async function ie(e,t=null,n=null,i=null){let o={userId:await le(e),userHint:i||(r=e,r&&r.length>=5?`${r.substring(0,2)}${T(r.substring(2),"*","*")}`:T(r,"*","*"))};var r;return oe("userId",[o.userId]),oe("userHint",[o.userHint]),oe("userType",[ue(e)]),t&&(oe("sessionId",[t]),o.sessionId=t),n&&(oe("pageId",[n]),o.pageId=n),o}function oe(e,t){if(mi()&&e&&t&&"string"==typeof e&&e.length<255){let n=e in te?te[e]:[];for(let e=0;e<t.length;e++)"string"==typeof t[e]&&t[e].length<255&&n.push(t[e]);te[e]=n}}function re(){fn(34)}function ae(){te={}}async function le(e){try{if(crypto&&e){const t=await crypto.subtle.digest("SHA-256",(new TextEncoder).encode(e));return Array.prototype.map.call(new Uint8Array(t),(e=>("00"+e.toString(16)).slice(-2))).join("")}return""}catch(e){return""}}function ue(e){return e&&e.indexOf("@")>0?"email":"string"}var se=Object.freeze({__proto__:null,compute:re,get data(){return te},identify:ie,reset:ae,set:ne,start:function(){ae()},stop:function(){ae()}});let ce,de={};function pe(e){pe.dn=4;let t=e.error||e;return t.message in de||(de[t.message]=0),de[t.message]++>=5||t&&t.message&&(ce={message:t.message,line:e.lineno,column:e.colno,stack:t.stack,source:e.filename},fe(31)),!0}async function fe(e){let t=[s(),e];switch(e){case 31:t.push(ce.message),t.push(ce.line),t.push(ce.column),t.push(ce.stack),t.push(y(ce.source)),At(t);break;case 33:he&&(t.push(he.code),t.push(he.name),t.push(he.message),t.push(he.stack),t.push(he.severity),At(t,!1))}}let he,ge={};function me(e,t,n=null,i=null,o=null){let r=n?`${n}|${i}`:"";e in ge&&ge[e].indexOf(r)>=0||(he={code:e,name:n,message:i,stack:o,severity:t},e in ge?ge[e].push(r):ge[e]=[r],fe(33))}let ve={},we=new Set,ye={},be={},ke={},Te={};function _e(e){try{var t=e&&e.length>0?e.split(/ (.*)/):[""],n=t[0].split(/\|(.*)/),i=parseInt(n[0]),o=n.length>1?n[1]:"",r=t.length>1?JSON.parse(t[1]):{};for(var a in ye[i]={},be[i]={},ke[i]={},Te[i]=o,r){let e=parseInt(a),t=r[a],n=2;switch(t.startsWith("~")?n=0:t.startsWith("!")&&(n=4),n){case 0:let n=t.slice(1);ye[i][e]=Ne(n);break;case 2:be[i][e]=t;break;case 4:let o=t.slice(1);ke[i][e]=o}}}catch(e){me(8,1,e?e.name:null)}}function Oe(e){return JSON.parse(JSON.stringify(e))}function xe(){try{for(let t in ye){let n=parseInt(t);if(""==Te[n]||document.querySelector(Te[n])){let t=ye[n];for(let i in t){let o=parseInt(i),r=(e=Se(Oe(t[o])))?JSON.stringify(e).slice(0,1e4):e;r&&Me(n,o,r)}let i=be[n];for(let e in i){let t=!1,o=parseInt(e),r=i[o];r.startsWith("@")&&(t=!0,r=r.slice(1));let a=document.querySelectorAll(r);if(a){let e=Array.from(a).map((e=>e.textContent)).join("<SEP>");Me(n,o,(t?d(e).trim():e).slice(0,1e4))}}let o=ke[n];for(let e in o){let t=parseInt(e);Me(n,t,(void o[t]).trim().slice(0,1e4))}}}we.size>0&&fn(40)}catch(e){me(5,1,e?e.name:null)}var e}function Ee(){we.clear()}function Me(e,t,n){var i,o=!1;e in ve||(ve[e]={},o=!0),i=ke[e],0==Object.keys(i).length||t in ve[e]&&ve[e][t]==n||(o=!0),ve[e][t]=n,o&&we.add(e)}function Ne(e){let t=[],n=e.split(".");for(;n.length>0;){let e=n.shift(),i=e.indexOf("["),o=e.indexOf("{"),r=e.indexOf("}");t.push({name:i>0?e.slice(0,i):o>0?e.slice(0,o):e,type:i>0?1:o>0?2:3,condition:o>0?e.slice(o+1,r):null})}return t}function Se(e,t=window){if(0==e.length)return t;let n,i=e.shift();if(t&&t[i.name]){let r=t[i.name];if(1!==i.type&&Xe(r,i.condition))n=Se(e,r);else if(Array.isArray(r)){let t=[];for(var o of r)if(Xe(o,i.condition)){let n=Se(e,o);n&&t.push(n)}n=t}return n}return null}function Xe(e,t){if(t){let n=t.split(":");return n.length>1?e[n[0]]==n[1]:e[n[0]]}return!0}let Ie=null;function Pe(e){try{if(!Ie)return;const t=function(e){try{return JSON.parse(e)}catch(e){return[]}}(e);t.forEach((e=>{Ie(e)}))}catch(e){}}const Ye=[Y,i,se,n,Q,o,r,e,B,t,Object.freeze({__proto__:null,clone:Oe,compute:xe,data:ve,keys:we,reset:Ee,start:function(){Ee()},stop:function(){Ee()},trigger:_e,update:Me})];function je(){C={},D={},H(5),Ye.forEach((e=>ti(e.start)()))}function $e(){Ye.slice().reverse().forEach((e=>ti(e.stop)())),C={},D={}}function Ae(){re(),P(),xn(),fn(0),G(),vn(),xe()}let Ce=[];var De=Object.freeze({__proto__:null,checkDocumentStyles:function(e){},compute:function(){},data:null,log:function(){},observe:function(){},reset:function(){},sheetAdoptionState:[],sheetUpdateState:[],start:function(){},state:Ce,stop:function(){}});let He=[],We=null,ze=null,qe=null;function Re(){He=[],We=null,ze=null}async function Le(e,t=0){for(let t of He)if(t.task===e)return;let n=new Promise((n=>{He[1===t?"unshift":"push"]({task:e,resolve:n,id:$n()})}));return null===We&&null===ze&&Ue(),n}function Ue(){let e=He.shift();e&&(We=e,e.task().then((()=>{e.id===$n()&&(e.resolve(),We=null,Ue())})).catch((t=>{e.id===$n()&&(t&&me(0,1,t.name,t.message,t.stack),We=null,Ue())})))}const Fe=["input","textarea","radio","button","canvas","select"];let Ve,Je=[];function Be(e){ii(e,"click",Ze.bind(this,9,e),!0)}function Ze(e,t,n){Ze.dn=6;let i=document.documentElement,o="pageX"in n?Math.round(n.pageX):"clientX"in n?Math.round(n.clientX+i.scrollLeft):null,r="pageY"in n?Math.round(n.pageY):"clientY"in n?Math.round(n.clientY+i.scrollTop):null,a=en(n),l=function(e){for(;e&&e!==document;){if(e.nodeType===Node.ELEMENT_NODE){let t=e;if("A"===t.tagName)return t}e=e.parentNode}return null}(a),u=function(e){let t=null,n=document.documentElement;if("function"==typeof e.getBoundingClientRect){let i=e.getBoundingClientRect();i&&i.width>0&&i.height>0&&(t={x:Math.floor(i.left+("pageXOffset"in window?window.pageXOffset:n.scrollLeft)),y:Math.floor(i.top+("pageYOffset"in window?window.pageYOffset:n.scrollTop)),w:Math.floor(i.width),h:Math.floor(i.height)})}return t}(a);0===n.detail&&u&&(o=Math.round(u.x+u.w/2),r=Math.round(u.y+u.h/2));let c=u?Math.max(Math.floor((o-u.x)/u.w*32767),0):0,d=u?Math.max(Math.floor((r-u.y)/u.h*32767),0):0;if(null!==o&&null!==r){const t=function(e){let t=null,n=!1;if(e){let i=e.textContent||String(e.value||"")||e.alt;if(i){const e=i.replace(/\s+/g," ").trim();t=e.substring(0,25),n=t.length===e.length}}return{text:t,isFullText:n?1:0}}(a);Je.push({time:s(n),event:e,data:{target:a,x:o,y:r,eX:c,eY:d,button:n.button,reaction:Ge(a),context:Ke(l),text:t.text,link:l?l.href:null,hash:null,trust:n.isTrusted?1:0,isFullText:t.isFullText}}),Le(yt.bind(this,e))}}function Ge(e){if(e.nodeType===Node.ELEMENT_NODE){let t=e.tagName.toLowerCase();if(Fe.indexOf(t)>=0)return 0}return 1}function Ke(e){if(e&&e.hasAttribute("target"))switch(e.getAttribute("target")){case"_blank":return 1;case"_parent":return 2;case"_top":return 3}return 0}function Qe(){Je=[]}let et=null,tt=!1;function nt(){nt.dn=12;let e=document.documentElement;Ve={width:e&&"clientWidth"in e?Math.min(e.clientWidth,window.innerWidth):window.innerWidth,height:e&&"clientHeight"in e?Math.min(e.clientHeight,window.innerHeight):window.innerHeight},tt?(R(et),et=q(it,500,11)):(yt(11),tt=!0)}function it(e){Le(yt.bind(this,e))}function ot(){Ve=null,R(et)}let rt=[],at=null;function lt(e=null){lt.dn=13;let t=window,n=document.documentElement,i=e?en(e):n;i&&i.nodeType===Node.DOCUMENT_NODE&&(i=n=i.documentElement);let o=i===n&&"pageXOffset"in t?Math.round(t.pageXOffset):Math.round(i.scrollLeft),r=i===n&&"pageYOffset"in t?Math.round(t.pageYOffset):Math.round(i.scrollTop);const a=window.innerWidth,l=window.innerHeight,u=a/3,c=a>l?.15*l:.2*l,d=l-c,p=ut(u,c),f=ut(u,d);let h={time:s(e),event:10,data:{target:i,x:o,y:r,top:p,bottom:f}};if(null===e&&0===o&&0===r||null===o||null===r)return;let g=rt.length,m=g>1?rt[g-2]:null;m&&function(e,t){let n=e.data.x-t.data.x,i=e.data.y-t.data.y;return n*n+i*i<400&&t.time-e.time<25}(m,h)&&rt.pop(),rt.push(h),R(at),at=q(st,500,10)}function ut(e,t){var n,i;let o;return"caretPositionFromPoint"in document?o=null===(n=document.caretPositionFromPoint(e,t))||void 0===n?void 0:n.offsetNode:"caretRangeFromPoint"in document&&(o=null===(i=document.caretRangeFromPoint(e,t))||void 0===i?void 0:i.startContainer),o||(o=document.elementFromPoint(e,t)),o&&o.nodeType===Node.TEXT_NODE&&(o=o.parentNode),o}function st(e){Le(yt.bind(this,e))}let ct,dt,pt=[];function ft(e){ft.dn=16,pt.push({time:s(e),event:39,data:{target:en(e)}}),Le(yt.bind(this,39))}function ht(){pt=[]}function gt(e){gt.dn=17,ct={name:e.type,persisted:e.persisted?1:0},yt(26,s(e)),ki()}function mt(){ct=null}function vt(e=null){vt.dn=18,dt={visible:"visibilityState"in document?document.visibilityState:"default"},yt(28,s(e))}function wt(){dt=null}async function yt(e,t=null){let n=t||s(),i=[n,e];switch(e){case 13:case 14:case 12:case 15:case 16:case 17:case 18:case 19:case 20:for(let e of Ce){let t=tn(e.data.target,e.event);t.id>0&&(i=[e.time,e.event],i.push(t.id),i.push(e.data.x),i.push(e.data.y),void 0!==e.data.id&&(i.push(e.data.id),void 0!==e.data.isPrimary&&i.push(e.data.isPrimary.toString())),At(i),(void 0===e.data.isPrimary||e.data.isPrimary)&&S(e.event,e.data.x,e.data.y,e.time))}break;case 9:for(let e of Je){let t=tn(e.data.target,e.event,e.data.text);i=[e.time,e.event];let n=t.hash?t.hash.join("."):"";i.push(t.id),i.push(e.data.x),i.push(e.data.y),i.push(e.data.eX),i.push(e.data.eY),i.push(e.data.button),i.push(e.data.reaction),i.push(e.data.context),i.push(w(e.data.text,"click",t.privacy)),i.push(y(e.data.link)),i.push(n),i.push(e.data.trust),i.push(e.data.isFullText),At(i),_t(e.time,e.event,n,e.data.x,e.data.y,e.data.reaction,e.data.context)}Qe();break;case 38:for(let e of Ce){i=[e.time,e.event];let t=tn(e.data.target,e.event);t.id>0&&(i.push(t.id),i.push(e.data.action),At(i))}break;case 11:let t=Ve;i.push(t.width),i.push(t.height),S(e,t.width,t.height),ot(),At(i);break;case 26:let o=ct;i.push(o.name),i.push(o.persisted),mt(),At(i);break;case 27:for(let e of Ce){let t=tn(e.data.target,e.event,e.data.value);i=[e.time,e.event],i.push(t.id),i.push(w(e.data.value,"input",t.privacy,!1,e.data.type)),At(i)}break;case 21:break;case 10:for(let e of rt){let t=tn(e.data.target,e.event);const n=tn(e.data.top,e.event),o=tn(e.data.bottom,e.event),r=(null==n?void 0:n.hash)?n.hash.join("."):"",a=(null==o?void 0:o.hash)?o.hash.join("."):"";t.id>0&&(i=[e.time,e.event],i.push(t.id),i.push(e.data.x),i.push(e.data.y),i.push(r),i.push(a),At(i),S(e.event,e.data.x,e.data.y,e.time))}rt=[];break;case 42:for(let e of Ce){i=[e.time,e.event];let t=tn(e.data.target,e.event);t.id>0&&(i=[e.time,e.event],i.push(t.id),i.push(e.data.type),i.push(w(e.data.value,"change",t.privacy)),i.push(w(e.data.checksum,"checksum",t.privacy)),At(i))}break;case 39:for(let e of pt){i=[e.time,e.event];let t=tn(e.data.target,e.event);t.id>0&&(i.push(t.id),At(i))}ht();break;case 22:for(let e of kt)i=[e.time,e.event],i.push(e.data.type),i.push(e.data.hash),i.push(e.data.x),i.push(e.data.y),i.push(e.data.reaction),i.push(e.data.context),At(i,!1);Tt();break;case 28:let r=dt;i.push(r.visible),At(i),I(n,r.visible),wt()}}let bt=[],kt=[];function Tt(){kt=[]}function _t(e,t,n,i,o,r=1,a=0){bt.push({time:e,event:22,data:{type:t,hash:n,x:i,y:o,reaction:r,context:a}}),S(t,i,o,e)}let Ot,xt,Et,Mt,Nt,St,Xt=0,It=0,Pt=null,Yt=0,jt=!1;function $t(){Mt=!0,Xt=0,It=0,jt=!1,Yt=0,Ot=[],xt=[],Et={},Nt=null}function At(e,t=!0){if(Mt){let n=s(),i=e.length>1?e[1]:null,o=JSON.stringify(e);switch(a.lean?!jt&&It+o.length>10485760&&(me(10,0),jt=!0):jt=!1,i){case 5:if(jt)break;Xt+=o.length;case 37:case 6:case 43:case 45:case 46:if(jt)break;It+=o.length,Ot.push(o);break;default:xt.push(o)}H(25);let r=function(){let e=!1===a.lean&&Xt>0?100:Bn.sequence*a.delay;return"string"==typeof a.upload?Math.max(Math.min(e,3e4),100):a.delay}();n-Yt>2*r&&(R(Pt),Pt=null),t&&null===Pt&&(25!==i&&V(),Pt=q(Dt,r),Yt=n,gn(It))}}function Ct(){R(Pt),Dt(!0),Xt=0,It=0,jt=!1,Yt=0,Ot=[],xt=[],Et={},Nt=null,Mt=!1}async function Dt(e=!1){Pt=null;let t=!1===a.lean&&It>0&&(It<1048576||Bn.sequence>0);t&&z(1,1),function(){const e=[];kt=[];let t=Bn.start+Bn.duration,n=Math.max(t-2e3,0);for(let i of bt)i.time>=n&&(i.time<=t&&kt.push(i),e.push(i));bt=e,yt(22)}(),Ae();let n=!0===e,i=function(e){return e.p.length>0?`{"e":${e.e},"a":${e.a},"p":${e.p}}`:`{"e":${e.e},"a":${e.a}}`}({e:JSON.stringify(Kn(n)),a:`[${xt.join()}]`,p:t?`[${Ot.join()}]`:""}),o=n?null:await async function(e){try{if(ee){const t=new ReadableStream({async start(t){t.enqueue(e),t.close()}}).pipeThrough(new TextEncoderStream).pipeThrough(new window.CompressionStream("gzip"));return new Uint8Array(await async function(e){const t=e.getReader(),n=[];let i=!1,o=[];for(;!i;){if(({done:i,value:o}=await t.read()),i)return n;n.push(...o)}return n}(t))}}catch(e){}return null}(i);W(2,o?o.length:i.length),Ht(i,o,Bn.sequence,n),xt=[],t&&(Ot=[],It=0,Xt=0,jt=!1)}function Ht(e,t,n,i=!1){if("string"==typeof a.upload){const o=a.upload;let r=!1;if(i&&"sendBeacon"in navigator)try{r=navigator.sendBeacon.bind(navigator)(o,e),r&&zt(n)}catch(e){}if(!1===r){n in Et?Et[n].attempts++:Et[n]={data:e,attempts:1};let i=new XMLHttpRequest;i.open("POST",o,!0),i.timeout=15e3,i.ontimeout=()=>{ei(new Error(`Timeout : ${o}`))},null!==n&&(i.onreadystatechange=()=>{ti(Wt)(i,n)}),i.withCredentials=!0,t?(i.setRequestHeader("Accept","application/x-clarity-gzip"),i.send(t)):i.send(e)}}else if(a.upload){(0,a.upload)(e),zt(n)}}function Wt(e,t){var n=Et[t];e&&4===e.readyState&&n&&((e.status<200||e.status>208)&&n.attempts<=1?e.status>=400&&e.status<500?mn(6):(0===e.status&&(a.upload=a.fallback?a.fallback:a.upload),Ht(n.data,null,t)):(Nt={sequence:t,attempts:n.attempts,status:e.status},n.attempts>1&&fn(2),200===e.status&&e.responseText&&function(e){let t=e&&e.length>0?e.split("\n"):[];for(var n of t){let e=n&&n.length>0?n.split(/ (.*)/):[""];switch(e[0]){case"END":mn(6);break;case"UPGRADE":dn("Auto");break;case"ACTION":a.action&&e.length>1&&a.action(e[1]);break;case"EXTRACT":e.length>1&&_e(e[1]);break;case"SIGNAL":e.length>1&&Pe(e[1])}}}(e.responseText),0===e.status&&(Ht(n.data,null,t,!0),mn(3)),e.status>=200&&e.status<=208&&zt(t),delete Et[t]))}function zt(e){1===e&&(Hn(),Dn())}async function qt(e){let t=[s(),e];switch(e){case 8:let n=St;t.push(n.width),t.push(n.height),S(e,n.width,n.height),At(t);break;case 43:let i=Bt;if(i.length>0){for(let e of i){let n=e.metadata.privacy,i=e.data;for(let o of["tag","attributes","value"])if(i[o])switch(o){case"tag":t.push(e.id),e.parent&&t.push(e.parent),e.previous&&t.push(e.previous),t.push(i[o]);break;case"attributes":for(let e in i[o])void 0!==i[o][e]&&t.push(Rt(e,i[o][e],n));break;case"value":t.push(w(i[o],i.tag,n))}}At(function(e){let t=[],n={},i=0,o=null;for(let r=0;r<e.length;r++)if("string"==typeof e[r]){let a=e[r],l=n[a]||-1;l>=0?o?o.push(l):(o=[l],t.push(o),i++):(o=null,t.push(a),n[a]=i++)}else o=null,t.push(e[r]),i++;return t}(t),!0)}}}function Rt(e,t,n){return`${e}=${w(t,0===e.indexOf("data-")?"data-":e,n)}`}function Lt(){St=null}function Ut(){Lt(),Ft()}function Ft(){Ft.dn=19;let e=document.body,t=document.documentElement,n=e?e.clientWidth:null,i=e?e.scrollWidth:null,o=e?e.offsetWidth:null,r=t?t.clientWidth:null,a=t?t.scrollWidth:null,l=t?t.offsetWidth:null,u=Math.max(n,i,o,r,a,l),s=e?e.clientHeight:null,c=e?e.scrollHeight:null,d=e?e.offsetHeight:null,p=t?t.clientHeight:null,f=t?t.scrollHeight:null,h=t?t.offsetHeight:null,g=Math.max(s,c,d,p,f,h);null!==St&&u===St.width&&g===St.height||null===u||null===g||(St={width:u,height:g},qt(8))}function Vt(e){!function(e){ii(e===document?window:e,"scroll",lt,!0)}(e),e.nodeType===Node.DOCUMENT_NODE&&(Be(e),function(e){ii(e,"submit",ft,!0)}(e))}var Jt=Object.freeze({__proto__:null,observe:Vt,start:function e(){e.dn=8,bt=[],Tt(),Qe(),tt=!1,ii(window,"resize",nt),nt(),ii(document,"visibilitychange",vt),vt(),rt=[],lt(),ht(),ii(window,"pagehide",gt)},stop:function(){bt=[],Tt(),Qe(),ot(),wt(),R(at),rt=[],ht(),mt()}});let Bt=[],Zt=1,Gt=null;function Kt(){nn(),Ut(),rn(document.documentElement),Vt(document)}function Qt(){}function en(e){let t=e.composed&&e.composedPath?e.composedPath():null,n=t&&t.length>0?t[0]:e.target;return n.nodeType===Node.DOCUMENT_NODE?n.documentElement:n}function tn(e){let t={id:0,hash:null,privacy:a.conversions?1:5};return e&&(t.id=Gt.has(e)?Gt.get(e):rn(e)),t}function nn(){Gt=new WeakMap}function on(e){let t={},n=e.attributes;if(n&&n.length>0)for(let e=0;e<n.length;e++)t[n[e].name]=n[e].value;return t}function rn(e){return null===e?null:Gt.has(e)?Gt.get(e):(Gt.set(e,Zt),Zt++)}function an(e,t,n){if(e&&n&&n.tag){let i=rn(e),o=t?Gt.get(t):null,r=e.previousSibling?Gt.get(e.previousSibling):null,a={active:!0,suspend:!1,privacy:5,position:null,fraud:null,size:null};Bt.push({id:i,parent:o,previous:r,children:[],data:n,selector:null,hash:null,region:null,metadata:a})}}var ln=Object.freeze({__proto__:null,compute:function(){},get:function(e){return null},hashText:Qt,iframe:function(){return!1},metadata:tn,offset:function(){return{x:0,y:0}},snapshot:function(){Bt=[],function(e){let t=[e];for(;t.length>0;){let e=null,n=null,i=null,o=t.shift(),r=o.firstChild,a=o.parentElement?o.parentElement:o.parentNode?o.parentNode:null;for(;r;)t.push(r),r=r.nextSibling;switch(o.nodeType){case Node.DOCUMENT_TYPE_NODE:let t=o;n="*D",e={name:t.name,publicId:t.publicId,systemId:t.systemId};break;case Node.TEXT_NODE:i=o.nodeValue,n=Gt.get(a)?"*T":n;break;case Node.ELEMENT_NODE:let r=o;e=on(r),n=["NOSCRIPT","SCRIPT","STYLE"].indexOf(r.tagName)<0?r.tagName:n}an(o,a,{tag:n,attributes:e,value:i})}}(document),qt(43)},start:Kt,stop:function(){nn(),Lt()},target:en,get values(){return Bt}});let un,sn=null;function cn(){!a.lean&&a.upgrade&&a.upgrade("Config"),sn=null}function dn(e){mi()&&a.lean&&(a.lean=!1,sn={key:e},Dn(),Hn(),a.upgrade&&a.upgrade(e),fn(3),a.lite&&Kt())}function pn(){sn=null}function fn(e){let t=[s(),e];switch(e){case 4:let e=x;e&&(t=[e.time,e.event],t.push(e.data.visible),t.push(e.data.docWidth),t.push(e.data.docHeight),t.push(e.data.screenWidth),t.push(e.data.screenHeight),t.push(e.data.scrollX),t.push(e.data.scrollY),t.push(e.data.pointerX),t.push(e.data.pointerY),t.push(e.data.activityTime),t.push(e.data.scrollTime),t.push(e.data.pointerTime),t.push(e.data.moveX),t.push(e.data.moveY),t.push(e.data.moveTime),t.push(e.data.downX),t.push(e.data.downY),t.push(e.data.downTime),t.push(e.data.upX),t.push(e.data.upY),t.push(e.data.upTime),t.push(e.data.pointerPrevX),t.push(e.data.pointerPrevY),t.push(e.data.pointerPrevTime),At(t,!1)),N();break;case 25:t.push(A.gap),At(t);break;case 35:t.push(un.check),At(t,!1);break;case 3:t.push(sn.key),At(t);break;case 2:t.push(Nt.sequence),t.push(Nt.attempts),t.push(Nt.status),At(t,!1);break;case 24:j.key&&t.push(j.key),t.push(j.value),At(t);break;case 34:let n=Object.keys(te);if(n.length>0){for(let e of n)t.push(e),t.push(te[e]);ae(),At(t,!1)}break;case 0:let i=Object.keys(D);if(i.length>0){for(let e of i){let n=parseInt(e,10);t.push(n),t.push(Math.round(D[e]))}D={},At(t,!1)}break;case 1:let o=Object.keys(bn);if(o.length>0){for(let e of o){let n=parseInt(e,10);t.push(n),t.push(bn[e])}En(),At(t,!1)}break;case 36:let r=Object.keys(Z);if(r.length>0){for(let e of r){let n=parseInt(e,10);t.push(n),t.push([].concat(...Z[e]))}K(),At(t,!1)}break;case 40:we.forEach((e=>{t.push(e);let n=[];for(let t in ve[e]){let i=parseInt(t,10);n.push(i),n.push(ve[e][t])}t.push(n)})),Ee(),At(t,!1)}}function hn(){un={check:0}}function gn(e){if(0===un.check){let t=un.check;t=Bn.sequence>=128?1:t,t=Bn.pageNum>=128?7:t,t=s()>72e5?2:t,t=e>10485760?2:t,t!==un.check&&mn(t)}}function mn(e){un.check=e,5!==e&&(Cn(),ki())}function vn(){0!==un.check&&fn(35)}function wn(){un=null}let yn=null,bn=null,kn=!1;function Tn(){yn={},bn={},kn=!1}function _n(){yn={},bn={},kn=!1}function On(e,t){if(t&&(t=`${t}`,e in yn||(yn[e]=[]),yn[e].indexOf(t)<0)){if(yn[e].length>128)return void(kn||(kn=!0,mn(5)));yn[e].push(t),e in bn||(bn[e]=[]),bn[e].push(t)}}function xn(){fn(1)}function En(){bn={},kn=!1}function Mn(e){On(36,e.toString())}let Nn=null,Sn=[],Xn=0,In=null;function Pn(){var e,t,n;In=null;const i=navigator&&"userAgent"in navigator?navigator.userAgent:"",o=null!==(n=null===(t=null===(e=null===Intl||void 0===Intl?void 0:Intl.DateTimeFormat())||void 0===e?void 0:e.resolvedOptions())||void 0===t?void 0:t.timeZone)&&void 0!==n?n:"",r=(new Date).getTimezoneOffset().toString(),l=window.location.ancestorOrigins?Array.from(window.location.ancestorOrigins).toString():"",u=document&&document.title?document.title:"";Xn=i.indexOf("Electron")>0?1:0;let s=function(){let e={session:qn(),ts:Math.round(Date.now()),count:1,upgrade:null,upload:""},t=Un("_clsk",!a.includeSubdomains);if(t){let n=t.includes("^")?t.split("^"):t.split("|");n.length>=5&&e.ts-Rn(n[1])<18e5&&(e.session=n[0],e.count=Rn(n[2])+1,e.upgrade=Rn(n[3]),e.upload=n.length>=6?`https://${n[5]}/${n[4]}`:`https://${n[4]}`)}return e}(),c=Ln(),p=a.projectId||d(location.host);Nn={projectId:p,userId:c.id,sessionId:s.session,pageNum:s.count},a.lean=a.track&&null!==s.upgrade?0===s.upgrade:a.lean,a.upload=a.track&&"string"==typeof a.upload&&s.upload&&s.upload.length>"https://".length?s.upload:a.upload,On(0,i),On(3,u),On(1,y(location.href,!!Xn)),On(2,document.referrer),On(15,function(){let e=qn();if(a.track&&Wn(window,"sessionStorage")){let t=sessionStorage.getItem("_cltk");e=t||e,sessionStorage.setItem("_cltk",e)}return e}()),On(16,document.documentElement.lang),On(17,document.dir),On(26,`${window.devicePixelRatio}`),On(28,c.dob.toString()),On(29,c.version.toString()),On(33,l),On(34,o),On(35,r),z(0,s.ts),z(1,0),z(35,Xn),navigator&&(On(9,navigator.language),z(33,navigator.hardwareConcurrency),z(32,navigator.maxTouchPoints),z(34,Math.round(navigator.deviceMemory)),function(){let e=navigator.userAgentData;e&&e.getHighEntropyValues?e.getHighEntropyValues(["model","platform","platformVersion","uaFullVersion"]).then((e=>{var t;On(22,e.platform),On(23,e.platformVersion),null===(t=e.brands)||void 0===t||t.forEach((e=>{On(24,e.name+"~"+e.version)})),On(25,e.model),z(27,e.mobile?1:0)})):On(22,navigator.platform)}()),screen&&(z(14,Math.round(screen.width)),z(15,Math.round(screen.height)),z(16,Math.round(screen.colorDepth)));for(let e of a.cookies){let t=Un(e);t&&ne(e,t)}!function(e){Mn(e?1:0)}(a.track),zn(c)}function Yn(){In=null,Nn=null,Sn.forEach((e=>{e.called=!1}))}function jn(e,t=!0,n=!1){let i=a.lean?0:1,o=!1;Nn&&(i||!1===t)&&(e(Nn,!a.lean),o=!0),!n&&o||Sn.push({callback:e,wait:t,recall:n,called:o})}function $n(){return Nn?[Nn.userId,Nn.sessionId,Nn.pageNum].join("."):""}function An(e=!0){if(!e)return a.track=!1,Vn("_clsk","",-Number.MAX_VALUE),Vn("_clck","",-Number.MAX_VALUE),ki(),void window.setTimeout(bi,250);mi()&&(a.track=!0,zn(Ln(),1),Hn(),Mn(2))}function Cn(){Vn("_clsk","",0)}function Dn(){!function(e){if(Sn.length>0)for(let t=0;t<Sn.length;t++){const n=Sn[t];!n.callback||n.called||n.wait&&!e||(n.callback(Nn,!a.lean),n.called=!0,n.recall||(Sn.splice(t,1),t--))}}(a.lean?0:1)}function Hn(){if(!Nn||!a.track)return;let e=Math.round(Date.now()),t=a.upload&&"string"==typeof a.upload?a.upload.replace("https://",""):"",n=a.lean?0:1;Vn("_clsk",[Nn.sessionId,e,Nn.pageNum,n,t].join("|"),1)}function Wn(e,t){try{return!!e[t]}catch(e){return!1}}function zn(e,t=null){t=null===t?e.consent:t;let n=Math.ceil((Date.now()+31536e6)/864e5),i=0===e.dob?null===a.dob?0:a.dob:e.dob;if(null===e.expiry||Math.abs(n-e.expiry)>=1||e.consent!==t||e.dob!==i){Vn("_clck",[Nn.userId,2,n.toString(36),t,i].join("|"),365)}}function qn(){let e=Math.floor(Math.random()*Math.pow(2,32));return window&&window.crypto&&window.crypto.getRandomValues&&Uint32Array&&(e=window.crypto.getRandomValues(new Uint32Array(1))[0]),e.toString(36)}function Rn(e,t=10){return parseInt(e,t)}function Ln(){let e={id:qn(),version:0,expiry:null,consent:0,dob:0},t=Un("_clck",!a.includeSubdomains);if(t&&t.length>0){let n=t.includes("^")?t.split("^"):t.split("|");n.length>1&&(e.version=Rn(n[1])),n.length>2&&(e.expiry=Rn(n[2],36)),n.length>3&&1===Rn(n[3])&&(e.consent=1),n.length>4&&Rn(n[1])>1&&(e.dob=Rn(n[4])),a.track=a.track||1===e.consent,e.id=a.track?n[0]:e.id}return e}function Un(e,t=!1){if(Wn(document,"cookie")){let n=document.cookie.split(";");if(n)for(let i=0;i<n.length;i++){let o=n[i].split("=");if(o.length>1&&o[0]&&o[0].trim()===e){let[e,n]=Fn(o[1]);for(;e;)[e,n]=Fn(n);return t?n.endsWith("~1")?n.substring(0,n.length-2):null:n}}}return null}function Fn(e){try{let t=decodeURIComponent(e);return[t!=e,t]}catch(e){}return[!1,e]}function Vn(e,t,n){if((a.track||""==t)&&(navigator&&navigator.cookieEnabled||Wn(document,"cookie"))){let i=function(e){return encodeURIComponent(e)}(t),o=new Date;o.setDate(o.getDate()+n);let r=`${e}=${i};${o?"expires="+o.toUTCString():""};path=/`;try{if(null===In){let n=location.hostname?location.hostname.split("."):[];for(let i=n.length-1;i>=0;i--)if(In=`.${n[i]}${In||""}`,i<n.length-1&&(document.cookie=`${r};domain=${In}`,Un(e)===t))return;In=""}}catch(e){In=""}document.cookie=In?`${r};domain=${In}`:r}}let Jn,Bn=null;function Zn(){const e=Nn;Bn={version:c,sequence:0,start:0,duration:0,projectId:e.projectId,userId:e.userId,sessionId:e.sessionId,pageNum:e.pageNum,upload:0,end:0,applicationPlatform:0,url:""}}function Gn(){Bn=null}function Kn(e){return Bn.start=Bn.start+Bn.duration,Bn.duration=s()-Bn.start,Bn.sequence++,Bn.upload=e&&"sendBeacon"in navigator?1:0,Bn.end=e?1:0,Bn.applicationPlatform=0,Bn.url=y(location.href,!1,!0),[Bn.version,Bn.sequence,Bn.start,Bn.duration,Bn.projectId,Bn.userId,Bn.sessionId,Bn.pageNum,Bn.upload,Bn.end,Bn.applicationPlatform,Bn.url]}function Qn(){Jn=[]}function ei(e){if(Jn&&-1===Jn.indexOf(e.message)){const t=a.report;if(t&&t.length>0){let n={v:Bn.version,p:Bn.projectId,u:Bn.userId,s:Bn.sessionId,n:Bn.pageNum};e.message&&(n.m=e.message),e.stack&&(n.e=e.stack);let i=new XMLHttpRequest;i.open("POST",t,!0),i.send(JSON.stringify(n)),Jn.push(e.message)}}return e}function ti(e){return function(){let t=performance.now();try{e.apply(this,arguments)}catch(e){throw ei(e)}let n=performance.now()-t;W(4,n),n>30&&(H(7),z(6,n),me(9,0,`${e.dn||e.name}-${n}`))}}let ni=new Map;function ii(e,t,n,i=!1,o=!0){n=ti(n);try{e[l("addEventListener")](t,n,{capture:i,passive:o}),function(e){return ni.has(e)}(e)||ni.set(e,[]),ni.get(e).push({event:t,listener:n,options:{capture:i,passive:o}})}catch(e){}}function oi(){ni.forEach(((e,t)=>{!function(e,t){e.forEach((e=>{try{t[l("removeEventListener")](e.event,e.listener,{capture:e.options.capture,passive:e.options.passive})}catch(e){}})),ni.delete(t)}(e,t)})),ni=new Map}let ri=null,ai=null,li=null,ui=0;function si(){return!(ui++>20)||(me(4,0),!1)}function ci(){ci.dn=1,ui=0,li!==pi()&&(ki(),window.setTimeout(di,250))}function di(){bi(),z(29,1)}function pi(){return location.href?location.href.replace(location.hash,""):location.href}let fi=!1;function hi(){fi=!0,u=performance.now()+performance.timeOrigin,Re(),oi(),Qn(),li=pi(),ui=0,ii(window,"popstate",ci),null===ri&&(ri=history.pushState,history.pushState=function(){ri.apply(this,arguments),mi()&&si()&&ci()}),null===ai&&(ai=history.replaceState,history.replaceState=function(){ai.apply(this,arguments),mi()&&si()&&ci()})}function gi(){li=null,ui=0,Qn(),oi(),Re(),u=0,fi=!1}function mi(){return fi}function vi(){vi.dn=2,bi(),$("clarity","restart")}var wi=Object.freeze({__proto__:null,start:function e(){e.dn=3,function(){z(26,navigator.webdriver?1:0);try{z(31,window.top==window.self||window.top==window?1:2)}catch(e){z(31,0)}}(),ii(window,"error",pe),de={},ge={}},stop:function(){ge={}}});const yi=[wi,ln,Jt,De];function bi(e=null){(function(){try{let e=navigator&&"globalPrivacyControl"in navigator&&1==navigator.globalPrivacyControl;return!1===fi&&"undefined"!=typeof Promise&&window.MutationObserver&&document.createTreeWalker&&"now"in Date&&"now"in performance&&"undefined"!=typeof WeakMap&&!e}catch(e){return!1}})()&&(!function(e){if(null===e||fi)return!1;for(let t in e)t in a&&(a[t]=e[t])}(e),hi(),je(),yi.forEach((e=>ti(e.start)())),null===e&&xi())}function ki(){mi()&&(yi.slice().reverse().forEach((e=>ti(e.stop)())),$e(),gi(),void 0!==_i&&(_i[Oi]=function(){(_i[Oi].q=_i[Oi].q||[]).push(arguments),"start"===arguments[0]&&_i[Oi].q.unshift(_i[Oi].q.pop())&&xi()}))}var Ti=Object.freeze({__proto__:null,consent:An,event:$,hashText:Qt,identify:ie,metadata:jn,pause:function(){mi()&&($("clarity","pause"),null===ze&&(ze=new Promise((e=>{qe=e}))))},resume:function(){mi()&&(ze&&(qe(),ze=null,null===We&&Ue()),$("clarity","resume"))},set:ne,signal:function(e){Ie=e},start:bi,stop:ki,upgrade:dn,version:c});const _i=window,Oi="clarity";function xi(){if(void 0!==_i){if(_i[Oi]&&_i[Oi].v)return console.warn("Error CL001: Multiple Clarity tags detected.");let e=_i[Oi]&&_i[Oi].q||[];for(_i[Oi]=function(e,...t){return Ti[e](...t)},_i[Oi].v=c;e.length>0;)_i[Oi](...e.shift())}}xi()}();
|