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.js CHANGED
@@ -174,7 +174,7 @@ function stop$F() {
174
174
  startTime = 0;
175
175
  }
176
176
 
177
- let version$1 = "0.8.9-beta";
177
+ let version$1 = "0.8.10-beta";
178
178
 
179
179
  // tslint:disable: no-bitwise
180
180
  function hash (input, precision = null) {
@@ -1437,7 +1437,8 @@ function similar$1(last, current) {
1437
1437
  let distance = Math.sqrt(dx * dx + dy * dy);
1438
1438
  let gap = current.time - last.time;
1439
1439
  let match = current.data.target === last.data.target;
1440
- return current.event === last.event && match && distance < 20 /* Setting.Distance */ && gap < 25 /* Setting.Interval */;
1440
+ let sameId = current.data.id !== undefined ? current.data.id === last.data.id : true;
1441
+ return current.event === last.event && match && distance < 20 /* Setting.Distance */ && gap < 25 /* Setting.Interval */ && sameId;
1441
1442
  }
1442
1443
  function stop$t() {
1443
1444
  clearTimeout(timeout$5);
@@ -1876,7 +1877,7 @@ function compute$7() {
1876
1877
  for (var documentNode of documentNodes) {
1877
1878
  var docId = documentNode == document ? -1 : getId(documentNode);
1878
1879
  let ts = docId in styleTimeMap ? styleTimeMap[docId] : null;
1879
- checkDocumentStyles(document, ts);
1880
+ checkDocumentStyles(documentNode, ts);
1880
1881
  }
1881
1882
  }
1882
1883
  function reset$b() {
@@ -3619,7 +3620,9 @@ async function encode$3 (type, ts = null) {
3619
3620
  }
3620
3621
  }
3621
3622
  queue(tokens);
3622
- track$8(entry.event, entry.data.x, entry.data.y, entry.time);
3623
+ if (entry.data.isPrimary === undefined || entry.data.isPrimary) {
3624
+ track$8(entry.event, entry.data.x, entry.data.y, entry.time);
3625
+ }
3623
3626
  }
3624
3627
  }
3625
3628
  reset$i();
@@ -3822,11 +3825,13 @@ let timeout = null;
3822
3825
  let transit;
3823
3826
  let active$1;
3824
3827
  let queuedTime = 0;
3828
+ let leanLimit = false;
3825
3829
  let track$1;
3826
3830
  function start$g() {
3827
3831
  active$1 = true;
3828
3832
  discoverBytes = 0;
3829
3833
  playbackBytes = 0;
3834
+ leanLimit = false;
3830
3835
  queuedTime = 0;
3831
3836
  playback = [];
3832
3837
  analysis = [];
@@ -3838,14 +3843,27 @@ function queue(tokens, transmit = true) {
3838
3843
  let now = time();
3839
3844
  let type = tokens.length > 1 ? tokens[1] : null;
3840
3845
  let event = JSON.stringify(tokens);
3846
+ if (!config$2.lean) {
3847
+ leanLimit = false;
3848
+ }
3849
+ else if (!leanLimit && playbackBytes + event.length > 10485760 /* Setting.PlaybackBytesLimit */) {
3850
+ log$1(10 /* Code.LeanLimit */, 0 /* Severity.Info */);
3851
+ leanLimit = true;
3852
+ }
3841
3853
  switch (type) {
3842
3854
  case 5 /* Event.Discover */:
3855
+ if (leanLimit) {
3856
+ break;
3857
+ }
3843
3858
  discoverBytes += event.length;
3844
3859
  case 37 /* Event.Box */:
3845
3860
  case 6 /* Event.Mutation */:
3846
3861
  case 43 /* Event.Snapshot */:
3847
3862
  case 45 /* Event.StyleSheetAdoption */:
3848
3863
  case 46 /* Event.StyleSheetUpdate */:
3864
+ if (leanLimit) {
3865
+ break;
3866
+ }
3849
3867
  playbackBytes += event.length;
3850
3868
  playback.push(event);
3851
3869
  break;
@@ -3881,6 +3899,7 @@ function stop$e() {
3881
3899
  upload(true);
3882
3900
  discoverBytes = 0;
3883
3901
  playbackBytes = 0;
3902
+ leanLimit = false;
3884
3903
  queuedTime = 0;
3885
3904
  playback = [];
3886
3905
  analysis = [];
@@ -3925,6 +3944,7 @@ async function upload(final = false) {
3925
3944
  playback = [];
3926
3945
  playbackBytes = 0;
3927
3946
  discoverBytes = 0;
3947
+ leanLimit = false;
3928
3948
  }
3929
3949
  }
3930
3950
  function stringify(encoded) {
@@ -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&&lt({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&&lt({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)&&gt.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&&lt({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&&lt({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)&&gt.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()}();
@@ -172,7 +172,7 @@ function stop$F() {
172
172
  startTime = 0;
173
173
  }
174
174
 
175
- let version$1 = "0.8.9-beta";
175
+ let version$1 = "0.8.10-beta";
176
176
 
177
177
  // tslint:disable: no-bitwise
178
178
  function hash (input, precision = null) {
@@ -1435,7 +1435,8 @@ function similar$1(last, current) {
1435
1435
  let distance = Math.sqrt(dx * dx + dy * dy);
1436
1436
  let gap = current.time - last.time;
1437
1437
  let match = current.data.target === last.data.target;
1438
- return current.event === last.event && match && distance < 20 /* Setting.Distance */ && gap < 25 /* Setting.Interval */;
1438
+ let sameId = current.data.id !== undefined ? current.data.id === last.data.id : true;
1439
+ return current.event === last.event && match && distance < 20 /* Setting.Distance */ && gap < 25 /* Setting.Interval */ && sameId;
1439
1440
  }
1440
1441
  function stop$t() {
1441
1442
  clearTimeout(timeout$5);
@@ -1874,7 +1875,7 @@ function compute$7() {
1874
1875
  for (var documentNode of documentNodes) {
1875
1876
  var docId = documentNode == document ? -1 : getId(documentNode);
1876
1877
  let ts = docId in styleTimeMap ? styleTimeMap[docId] : null;
1877
- checkDocumentStyles(document, ts);
1878
+ checkDocumentStyles(documentNode, ts);
1878
1879
  }
1879
1880
  }
1880
1881
  function reset$b() {
@@ -3617,7 +3618,9 @@ async function encode$3 (type, ts = null) {
3617
3618
  }
3618
3619
  }
3619
3620
  queue(tokens);
3620
- track$8(entry.event, entry.data.x, entry.data.y, entry.time);
3621
+ if (entry.data.isPrimary === undefined || entry.data.isPrimary) {
3622
+ track$8(entry.event, entry.data.x, entry.data.y, entry.time);
3623
+ }
3621
3624
  }
3622
3625
  }
3623
3626
  reset$i();
@@ -3820,11 +3823,13 @@ let timeout = null;
3820
3823
  let transit;
3821
3824
  let active$1;
3822
3825
  let queuedTime = 0;
3826
+ let leanLimit = false;
3823
3827
  let track$1;
3824
3828
  function start$g() {
3825
3829
  active$1 = true;
3826
3830
  discoverBytes = 0;
3827
3831
  playbackBytes = 0;
3832
+ leanLimit = false;
3828
3833
  queuedTime = 0;
3829
3834
  playback = [];
3830
3835
  analysis = [];
@@ -3836,14 +3841,27 @@ function queue(tokens, transmit = true) {
3836
3841
  let now = time();
3837
3842
  let type = tokens.length > 1 ? tokens[1] : null;
3838
3843
  let event = JSON.stringify(tokens);
3844
+ if (!config$2.lean) {
3845
+ leanLimit = false;
3846
+ }
3847
+ else if (!leanLimit && playbackBytes + event.length > 10485760 /* Setting.PlaybackBytesLimit */) {
3848
+ log$1(10 /* Code.LeanLimit */, 0 /* Severity.Info */);
3849
+ leanLimit = true;
3850
+ }
3839
3851
  switch (type) {
3840
3852
  case 5 /* Event.Discover */:
3853
+ if (leanLimit) {
3854
+ break;
3855
+ }
3841
3856
  discoverBytes += event.length;
3842
3857
  case 37 /* Event.Box */:
3843
3858
  case 6 /* Event.Mutation */:
3844
3859
  case 43 /* Event.Snapshot */:
3845
3860
  case 45 /* Event.StyleSheetAdoption */:
3846
3861
  case 46 /* Event.StyleSheetUpdate */:
3862
+ if (leanLimit) {
3863
+ break;
3864
+ }
3847
3865
  playbackBytes += event.length;
3848
3866
  playback.push(event);
3849
3867
  break;
@@ -3879,6 +3897,7 @@ function stop$e() {
3879
3897
  upload(true);
3880
3898
  discoverBytes = 0;
3881
3899
  playbackBytes = 0;
3900
+ leanLimit = false;
3882
3901
  queuedTime = 0;
3883
3902
  playback = [];
3884
3903
  analysis = [];
@@ -3923,6 +3942,7 @@ async function upload(final = false) {
3923
3942
  playback = [];
3924
3943
  playbackBytes = 0;
3925
3944
  discoverBytes = 0;
3945
+ leanLimit = false;
3926
3946
  }
3927
3947
  }
3928
3948
  function stringify(encoded) {