/* clarity-js v0.6.29: https://github.com/microsoft/clarity (License: MIT) */ !function(){"use strict";var t=Object.freeze({__proto__:null,get track(){return yr},get start(){return Or},get queue(){return Nr},get stop(){return _r}}),e=Object.freeze({__proto__:null,get data(){return wr},get start(){return jr},get check(){return zr},get trigger(){return Rr},get compute(){return Lr},get stop(){return Ar}}),n=Object.freeze({__proto__:null,get data(){return Hr},get updates(){return Yr},get start(){return qr},get stop(){return Xr},get log(){return Wr},get compute(){return Ur},get reset(){return Pr}}),r=Object.freeze({__proto__:null,get data(){return Br},get callback(){return Fr},get start(){return Gr},get userAgentData(){return Jr},get stop(){return Zr},get metadata(){return Kr},get id(){return Qr},get consent(){return $r},get clear(){return ta},get save(){return ea}}),a=Object.freeze({__proto__:null,get data(){return ca},get start(){return da},get stop(){return fa},get envelope(){return ha}}),i={projectId:null,delay:1e3,lean:!1,track:!0,content:!0,mask:[],unmask:[],regions:[],metrics:[],dimensions:[],cookies:[],report:null,upload:null,fallback:null,upgrade:null},o=0;function u(t){return void 0===t&&(t=null),t=t||performance.now(),Math.max(Math.round(t-o),0)}var l="0.6.29";function s(t){for(var e=5381,n=e,r=0;rE[t]||0===E[t])&&(S[t]=e,E[t]=e))}function _(t,e,n){return window.setTimeout(ga(t),e,n)}function T(t){return window.clearTimeout(t)}var x=0,I=0,D=null;function C(){D&&T(D),D=_(j,I),x=u()}function j(){var t=u();k={gap:t-x},Cr(25),k.gap<3e5?D=_(j,I):_a&&(w("clarity","suspend"),Pa(),["mousemove","touchstart"].forEach((function(t){return ba(document,t,Ca)})),["resize","scroll","pageshow"].forEach((function(t){return ba(window,t,Ca)})))}var z=Object.freeze({__proto__:null,get data(){return k},start:function(){I=6e4,x=0},reset:C,stop:function(){T(D),x=0,I=0}}),R=null;function L(t,e){if(t in R){var n=R[t],r=n[n.length-1];e-r[0]>100?R[t].push([e,0]):r[1]=e-r[0]}else R[t]=[[e,0]]}function A(){Cr(36)}function H(){R={}}var Y=Object.freeze({__proto__:null,get data(){return R},start:function(){R={}},stop:function(){R={}},track:L,compute:A,reset:H}),q=null;function X(t){Ia()&&i.lean&&(i.lean=!1,q={key:t},ea(),i.upgrade&&i.upgrade(t),Cr(3))}var W=Object.freeze({__proto__:null,get data(){return q},start:function(){!i.lean&&i.upgrade&&i.upgrade("Config"),q=null},upgrade:X,stop:function(){q=null}}),U=null;function P(t,e){F(t,"string"==typeof e?[e]:e)}function B(t,e,n){void 0===e&&(e=null),void 0===n&&(n=null),F("userId",[t]),F("sessionId",[e]),F("pageId",[n])}function F(t,e){if(Ia()&&t&&e&&"string"==typeof t&&t.length<255){for(var n=(t in U?U[t]:[]),r=0;r0&&a[a.length-1])||6!==i[0]&&2!==i[0])){o=0;continue}if(3===i[0]&&(!a||i[1]>a[0]&&i[1]=48&&u<=57,r=r||64===u,a=9===u||10===u||13===u||32===u,(0===o||o===t.length-1||a)&&((n||r)&&(null===i&&(i=t.split("")),ut(i,e,a?o:o+1)),a&&(n=!1,r=!1,e=o))}return i?i.join(""):t}(t);case"input":return ot(t)}return t;case 2:case 3:switch(e){case"*T":return r?function(t){var e=t.trim();if(e.length>0){var n=e[0],r=t.indexOf(n),a=t.substr(0,r),i=t.substr(r+e.length);return""+a+e.length.toString(36)+i}return t}(t):it(t);case"src":case"srcset":case"title":case"alt":return 3===n?"":t;case"value":case"click":case"input":return ot(t);case"placeholder":return it(t)}}return t}function it(t){return t.replace(/\S/gi,"•")}function ot(t){for(var e=5*(Math.floor(t.length/5)+1),n="",r=0;r0&&r%5==0?" ":"•";return n}function ut(t,e,n){for(var r=e+1;rlt[e].yield?0:1:2}function mt(t){lt[wt(t)]={start:performance.now(),calls:0,yield:30}}function bt(t){var e=performance.now(),n=wt(t),r=e-lt[n].start;O(t.cost,r),M(5),lt[n].calls>0&&O(4,r)}function yt(t){return J(this,void 0,void 0,(function(){var e,n;return Z(this,(function(r){switch(r.label){case 0:return(e=wt(t))in lt?(bt(t),n=lt[e],[4,kt()]):[3,2];case 1:n.yield=r.sent().timeRemaining(),function(t){var e=wt(t);if(lt&<[e]){var n=lt[e].calls,r=lt[e].yield;mt(t),lt[e].calls=n+1,lt[e].yield=r}}(t),r.label=2;case 2:return[2,e in lt?1:2]}}))}))}function wt(t){return t.id+"."+t.cost}function kt(){return J(this,void 0,void 0,(function(){return Z(this,(function(t){switch(t.label){case 0:return dt?[4,dt]:[3,2];case 1:t.sent(),t.label=2;case 2:return[2,new Promise((function(t){St(t,{timeout:5e3})}))]}}))}))}var Et,St=window.requestIdleCallback||function(t,e){var n=performance.now(),r=new MessageChannel,a=r.port1,i=r.port2;a.onmessage=function(r){var a=performance.now(),o=a-n,u=a-r.data;if(u>30&&oe.timeout;t({didTimeout:l,timeRemaining:function(){return l?30:Math.max(0,30-u)}})}},requestAnimationFrame((function(){i.postMessage(performance.now())}))};function Mt(){Et=null}function Ot(){var t=document.body,e=document.documentElement,n=t?t.clientWidth:null,r=t?t.scrollWidth:null,a=t?t.offsetWidth:null,i=e?e.clientWidth:null,o=e?e.scrollWidth:null,u=e?e.offsetWidth:null,l=Math.max(n,r,a,i,o,u),s=t?t.clientHeight:null,c=t?t.scrollHeight:null,d=t?t.offsetHeight:null,f=e?e.clientHeight:null,h=e?e.scrollHeight:null,p=e?e.offsetHeight:null,v=Math.max(s,c,d,f,h,p);null!==Et&&l===Et.width&&v===Et.height||null===l||null===v||(Et={width:l,height:v},Nt(8))}function Nt(t,e,n){return void 0===e&&(e=null),void 0===n&&(n=null),J(this,void 0,void 0,(function(){var r,a,o,l,s,c,d,f,h,g,m,b,y,w,k,E,S,M,O,N,_,T,x,I,D,C;return Z(this,(function(j){switch(j.label){case 0:switch(r=n||u(),a=[r,t],t){case 8:return[3,1];case 7:return[3,2];case 37:return[3,3];case 5:case 6:return[3,4]}return[3,11];case 1:return o=Et,a.push(o.width),a.push(o.height),p(t,o.width,o.height),Nr(a),[3,11];case 2:for(l=0,s=Te;l0))return[3,10];m=0,b=g,j.label=5;case 5:return m=0?a?a.push(u):(a=[u],e.push(a),r++):(a=null,e.push(o),n[o]=r++)}else a=null,e.push(t[i]),r++;return e}(a),!i.lean),j.label=10;case 10:return[3,11];case 11:return[2]}}))}))}function _t(t){return t.toString(36)}function Tt(t,e,n){return t+"="+at(e,t,n)}var xt=[],It=!1,Dt=null;function Ct(t){window.requestAnimationFrame((function(){for(var e=0,n=t;e0)l=Math.floor(100*u[0].inlineSize),s=Math.floor(100*u[0].blockSize);else{var c=a.getBoundingClientRect();l=Math.floor(100*c.width),s=Math.floor(100*c.height)}l!==o[0]&&s!==o[1]&&(o=[l,s],xt.push({id:i,width:l,height:s}))}}xt.length>0&&Nt(37)}))}function jt(){xt=[]}function zt(){jt(),Dt&&(Dt.disconnect(),Dt=null),It=!1}var Rt,Lt={};function At(t){var e=t.error||t;if(e.message in Lt||(Lt[e.message]=0),Lt[e.message]++>=5)return!0;if(e&&e.message){if(Rt={message:e.message,line:t.lineno,column:t.colno,stack:e.stack,source:t.filename},e.message.indexOf("ResizeObserver")>=0)return zt(),!1;Ht(31)}return!0}function Ht(t){return J(this,void 0,void 0,(function(){var e;return Z(this,(function(n){switch(e=[u(),t],t){case 31:e.push(Rt.message),e.push(Rt.line),e.push(Rt.column),e.push(Rt.stack),e.push(Rt.source),Nr(e);break;case 33:Yt&&(e.push(Yt.code),e.push(Yt.name),e.push(Yt.message),e.push(Yt.stack),e.push(Yt.severity),Nr(e,!1))}return[2]}))}))}var Yt,qt={};function Xt(t,e,n,r,a){void 0===n&&(n=null),void 0===r&&(r=null),void 0===a&&(a=null);var i=n?n+"|"+r:"";t in qt&&qt[t].indexOf(i)>=0||(Yt={code:t,name:n,message:r,stack:a,severity:e},t in qt?qt[t].push(i):qt[t]=[i],Ht(33))}function Wt(t){var e=i.upload,n=e?e.substr(0,e.indexOf("/","https://".length)).split("."):[],r=n.length>=2?n.splice(-2).join("."):null;r&&t.blockedURI&&t.blockedURI.indexOf(r)>=0&&"report"!==t.disposition&&Xt(7,1,t.blockedURI)}var Ut=/1/g,Pt=/[^0-9\.]/g,Bt=/[^0-9\.,]/g,Ft={};function Vt(t,e){for(var n=function(e){var n=e[0],r=e[1],a=e[2],i=e[3],o=!0;switch(a){case 0:o=i&&!!top.location.href.match(function(t){return Ft[t]=t in Ft?Ft[t]:new RegExp(t),Ft[t]}(i));break;case 1:o=i&&!!Gt(i)}o&&t.querySelectorAll(r).forEach((function(t){return ze(t,n.toString())}))},r=0,a=e;r0?Gt(r.join("."),e,n[a]):null===e||e===typeof n[a]?n[a]:null:null}function Jt(t){return t?t.substr(0,256):t}function Zt(t,e,n){void 0===n&&(n=!0);try{e=e||1;var r=document.documentElement.lang;if(Intl&&Intl.NumberFormat&&r&&n){t=t.replace(Bt,"");var a=Intl.NumberFormat(r).format(11111).replace(Ut,""),i=Intl.NumberFormat(r).format(1.1).replace(Ut,"");return Math.round(parseFloat(t.replace(new RegExp("\\"+a,"g"),"").replace(new RegExp("\\"+i),"."))*e)}return Math.round(parseFloat(t.replace(Pt,""))*e)}catch(t){return null}}var Kt=["DIV","TR","P","LI","UL","A","BUTTON"];function Qt(t,e){void 0===e&&(e=!1);var n=t.attributes,r=t.prefix?t.prefix[e?1:0]:null,a=e||n&&!("class"in n)||Kt.indexOf(t.tag)>=0?":nth-of-type("+t.position+")":"";switch(t.tag){case"STYLE":case"TITLE":case"LINK":case"META":case"*T":case"*D":return"";case"HTML":return"HTML";default:if(null===r)return"";r+=">",t.tag=0===t.tag.indexOf("svg:")?t.tag.substr("svg:".length):t.tag;var i=""+r+t.tag+a,o="class"in n&&n.class.length>0?n.class.trim().split(/\s+/):null;if(e){var u="id"in n&&n.id.length>0?n.id:null;i=(o="BODY"!==t.tag&&o?o.filter((function(t){return!$t(t)})):[]).length>0?""+r+t.tag+"."+o.join(".")+a:i,i=u&&!1===$t(u)?function(t){var e=t.lastIndexOf("*S"),n=t.lastIndexOf("iframe:HTML"),r=Math.max(e,n);if(r<0)return"";var a=t.indexOf(">",r)+1;return t.substr(0,a)}(r)+"#"+u:i}else i=o?""+r+t.tag+"."+o.join(".")+a:i;return i}}function $t(t){for(var e=0;e=48&&n<=57)return!0}return!1}var te=1,ee=["password","hidden","email","tel"],ne=["addr","cell","code","dob","email","mob","name","phone","secret","social","ssn","tel","zip","pass","card","account","cvv","ccv"],re=["address","password","contact"],ae=[],ie=[],oe=[],ue={},le=null,se=null,ce=null;function de(){he(),pe(document)}function fe(){he()}function he(){te=1,ae=[],ie=[],oe=[],ue={},le=new WeakMap,se=new WeakMap,ce=new WeakMap}function pe(t){try{"querySelectorAll"in t&&(Vt(t,i.regions),function(t,e){for(var n=function(e){var n=e[0],r=e[1],a=e[2],i=e[3];if(a)switch(r){case 0:t.querySelectorAll(a).forEach((function(t){N(n,Zt(t.innerText,i))}));break;case 2:t.querySelectorAll("["+a+"]").forEach((function(t){N(n,Zt(t.getAttribute(a),i,!1))}));break;case 1:N(n,Gt(a,"number"))}},r=0,a=e;r0;){var r=ie[t.children[n]];if(e.data.tag===r.data.tag){e.metadata.position=r.metadata.position+1;break}}return e.metadata.position}(e,t),i={tag:r.tag,prefix:n,position:a,attributes:r.attributes};t.selector=[Qt(i),Qt(i,!0)],t.hash=t.selector.map((function(t){return t?s(t):null})),t.hash.forEach((function(e){return ue[e]=t.id}))}function we(t){return t in ae?ae[t]:null}function ke(t){return t in ie?ie[t]:null}function Ee(t){var e=ve(t);return e in ie?ie[e]:null}function Se(t){return ve(t)in ae}function Me(){for(var t=[],e=0,n=oe;e=0&&1===e&&r?(oe.splice(a,1),oe.push(t)):-1===a&&n&&oe.push(t)}var _e=Object.freeze({__proto__:null,start:de,stop:fe,parse:pe,getId:ve,add:function(t,e,n,r){var a=ve(t,!0),o=e?ve(e):null,u=Oe(t),l=i.content?1:2,s=null,c="",d=Re(t)?a:null;o>=0&&ie[o]&&(c=(s=ie[o]).data.tag,s.children.push(a),d=null===d?s.region:d,l=s.metadata.privacy),l=function(t,e,n,r){var a=e.attributes,i=e.tag.toUpperCase();if(ce.has(t))return ce.get(t);if(null==a)return r;if("class"in a&&1===r)for(var o=0,u=re;o=0){r=2;break}}if("INPUT"===i)if(0===r){for(var s="",c=0,d=Object.keys(a);c=0){r=2;break}}}else 1===r&&(r=a&&"submit"===a.type?0:2);"type"in a&&ee.indexOf(a.type)>=0&&(r=2);"data-clarity-mask"in a&&(r=3);"data-clarity-unmask"in a&&(r=0);var v="*T"===i?n:i;"STYLE"!==v&&"TITLE"!==v||(r=0);return r}(t,n,c,l),n.attributes&&"data-clarity-region"in n.attributes&&(ze(t,n.attributes["data-clarity-region"]),d=a),ae[a]=t,ie[a]={id:a,parent:o,previous:u,children:[],data:n,selector:null,hash:null,region:d,metadata:{active:!0,suspend:!1,privacy:l,position:null,size:null}},ye(ie[a]),function(t,e){var n=t.data,r="*T"===n.tag&&n.value&&n.value.length>15,a=2===t.metadata.privacy||3===t.metadata.privacy;r&&a&&e&&null===e.metadata.size&&(e.metadata.size=[]);"IMG"===n.tag&&3===t.metadata.privacy&&(t.metadata.size=[])}(ie[a],s),Ne(a,r)},update:function(t,e,n,r){var a=ve(t),i=e?ve(e):null,o=Oe(t),u=!1,l=!1;if(a in ie){var s=ie[a];if(s.metadata.active=!0,s.previous!==o&&(u=!0,s.previous=o),s.parent!==i){u=!0;var c=s.parent;if(s.parent=i,null!==i&&i>=0){var d=null===o?0:ie[i].children.indexOf(o)+1;ie[i].children.splice(d,0,a),s.region=Re(t)?a:ie[i].region}else!function(t,e){if(t in ie){var n=ie[t];n.metadata.active=!1,n.parent=null,Ne(t,e)}}(a,r);if(null!==c&&c>=0){var f=ie[c].children.indexOf(a);f>=0&&ie[c].children.splice(f,1)}l=!0}for(var h in n)be(s.data,n,h)&&(u=!0,s.data[h]=n[h]);ye(s),Ne(a,r,u,l)}},sameorigin:ge,iframe:me,getNode:we,getValue:ke,get:Ee,lookup:function(t){return t in ue?ue[t]:null},has:Se,updates:Me}),Te=[],xe=null,Ie={},De=[],Ce=!1,je=null;function ze(t,e){!1===xe.has(t)&&(xe.set(t,e),(je=null===je&&Ce?new IntersectionObserver(Ae,{threshold:[0,.2,.4,.6,.8,1]}):je)&&t&&t.nodeType===Node.ELEMENT_NODE&&je.observe(t))}function Re(t){return xe&&xe.has(t)}function Le(){for(var t=[],e=0,n=De;e0&&Nt(7)}function Ae(t){for(var e=0,n=t;e0&&u.width>0&&u.height>0){var l=a?ve(a):null,s=l in Ie?Ie[l]:{id:l,name:xe.get(a),interaction:16,visibility:0},c=(o?o.width*o.height*1/(u.width*u.height):0)>.05||r.intersectionRatio>.8,d=(c||10==s.visibility)&&Math.abs(i.top)+u.height>i.height;He(a,s,s.interaction,d?13:c?10:0),s.visibility>=13&&je&&je.unobserve(a)}}Te.length>0&&Nt(7)}function He(t,e,n,r){var a=n>e.interaction||r>e.visibility;e.interaction=n>e.interaction?n:e.interaction,e.visibility=r>e.visibility?r:e.visibility,e.id?(e.id in Ie&&a||!(e.id in Ie))&&(Ie[e.id]=e,Te.push(Ye(e))):De.push({node:t,data:e})}function Ye(t){return{time:u(),data:{id:t.id,interaction:t.interaction,visibility:t.visibility,name:t.name}}}function qe(){Te=[]}function Xe(t){var e={x:0,y:0};if(t&&t.offsetParent)do{var n=t.offsetParent,r=null===n?me(t.ownerDocument):null;e.x+=t.offsetLeft,e.y+=t.offsetTop,t=r||n}while(t);return e}var We=["input","textarea","radio","button","canvas"],Ue=[];function Pe(t){ba(t,"click",Be.bind(this,9,t),!0)}function Be(t,e,n){var r=me(e),a=r?r.contentDocument.documentElement:document.documentElement,i="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(r){var l=Xe(r);i=i?i+Math.round(l.x):i,o=o?o+Math.round(l.y):o}var s=lr(n),c=function(t){for(;t&&t!==document;){if(t.nodeType===Node.ELEMENT_NODE){var e=t;if("A"===e.tagName)return e}t=t.parentNode}return null}(s),d=function(t){var e=null,n=document.documentElement;if("function"==typeof t.getBoundingClientRect){var r=t.getBoundingClientRect();r&&r.width>0&&r.height>0&&(e={x:Math.floor(r.left+("pageXOffset"in window?window.pageXOffset:n.scrollLeft)),y:Math.floor(r.top+("pageYOffset"in window?window.pageYOffset:n.scrollTop)),w:Math.floor(r.width),h:Math.floor(r.height)})}return e}(s);0===n.detail&&d&&(i=Math.round(d.x+d.w/2),o=Math.round(d.y+d.h/2));var f=d?Math.max(Math.floor((i-d.x)/d.w*32767),0):0,h=d?Math.max(Math.floor((o-d.y)/d.h*32767),0):0;null!==i&&null!==o&&(Ue.push({time:u(),event:t,data:{target:s,x:i,y:o,eX:f,eY:h,button:n.button,reaction:Ve(s),context:Ge(c),text:Fe(s),link:c?c.href:null,hash:null}}),pt(cr.bind(this,t)))}function Fe(t){var e=null;if(t){var n=t.textContent||t.value||t.alt;n&&(e=n.trim().replace(/\s+/g," ").substr(0,25))}return e}function Ve(t){if(t.nodeType===Node.ELEMENT_NODE){var e=t.tagName.toLowerCase();if(We.indexOf(e)>=0)return 0}return 1}function Ge(t){if(t&&t.hasAttribute("target"))switch(t.getAttribute("target")){case"_blank":return 1;case"_parent":return 2;case"_top":return 3}return 0}function Je(){Ue=[]}var Ze=[];function Ke(t,e){Ze.push({time:u(),event:38,data:{target:lr(e),action:t}}),pt(cr.bind(this,38))}function Qe(){Ze=[]}var $e=null,tn=[];function en(t){var e=lr(t),n=Ee(e);if(e&&e.type&&n){var r=void 0;switch(e.type){case"radio":case"checkbox":r=e.checked?"true":"false";break;case"range":r=e.value;break;default:r=at(e.value,"input",n.metadata.privacy)}var a={target:e,value:r};tn.length>0&&tn[tn.length-1].data.target===a.target&&tn.pop(),tn.push({time:u(),event:27,data:a}),T($e),$e=_(nn,500,27)}}function nn(t){pt(cr.bind(this,t))}function rn(){tn=[]}var an,on=[],un=null;function ln(t,e,n){var r=me(e),a=r?r.contentDocument.documentElement:document.documentElement,i="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(r){var l=Xe(r);i=i?i+Math.round(l.x):i,o=o?o+Math.round(l.y):o}null!==i&&null!==o&&cn({time:u(),event:t,data:{target:lr(n),x:i,y:o}})}function sn(t,e,n){var r=me(e),a=r?r.contentDocument.documentElement:document.documentElement,i=n.changedTouches,o=u();if(i)for(var l=0;l1?on[e-2]:null;n&&function(t,e){var n=t.data.x-e.data.x,r=t.data.y-e.data.y,a=Math.sqrt(n*n+r*r),i=e.time-t.time,o=e.data.target===t.data.target;return e.event===t.event&&o&&a<20&&i<25}(n,t)&&on.pop(),on.push(t),T(un),un=_(dn,500,t.event);break;default:on.push(t),dn(t.event)}}function dn(t){pt(cr.bind(this,t))}function fn(){on=[]}function hn(){var t=document.documentElement;an={width:t&&"clientWidth"in t?Math.min(t.clientWidth,window.innerWidth):window.innerWidth,height:t&&"clientHeight"in t?Math.min(t.clientHeight,window.innerHeight):window.innerHeight},cr(11)}function pn(){an=null}var vn=[],gn=null;function mn(t){void 0===t&&(t=null);var e=window,n=document.documentElement,r=t?lr(t):n;if(r&&r.nodeType===Node.DOCUMENT_NODE){var a=me(r);e=a?a.contentWindow:e,r=n=r.documentElement}var i=r===n&&"pageXOffset"in e?Math.round(e.pageXOffset):Math.round(r.scrollLeft),o=r===n&&"pageYOffset"in e?Math.round(e.pageYOffset):Math.round(r.scrollTop),l={time:u(),event:10,data:{target:r,x:i,y:o}};if((null!==t||0!==i||0!==o)&&null!==i&&null!==o){var s=vn.length,c=s>1?vn[s-2]:null;c&&function(t,e){var n=t.data.x-e.data.x,r=t.data.y-e.data.y;return n*n+r*r<400&&e.time-t.time<25}(c,l)&&vn.pop(),vn.push(l),T(gn),gn=_(bn,500,10)}}function bn(t){pt(cr.bind(this,t))}var yn=null,wn=null,kn=null;function En(t){var e=(t.nodeType===Node.DOCUMENT_NODE?t:document).getSelection();if(null!==e&&!(null===e.anchorNode&&null===e.focusNode||e.anchorNode===e.focusNode&&e.anchorOffset===e.focusOffset)){var n=yn.start?yn.start:null;null!==wn&&null!==yn.start&&n!==e.anchorNode&&(T(kn),Sn(21)),yn={start:e.anchorNode,startOffset:e.anchorOffset,end:e.focusNode,endOffset:e.focusOffset},wn=e,T(kn),kn=_(Sn,500,21)}}function Sn(t){pt(cr.bind(this,t))}function Mn(){wn=null,yn={start:0,startOffset:0,end:0,endOffset:0}}var On,Nn,_n=[];function Tn(t){_n.push({time:u(),event:39,data:{target:lr(t)}}),pt(cr.bind(this,39))}function xn(){_n=[]}function In(t){On={name:t.type},cr(26),Pa()}function Dn(){On=null}function Cn(){Nn={visible:"visibilityState"in document?document.visibilityState:"default"},cr(28)}function jn(){Nn=null}function zn(t){!function(t){var e=me(t);ba(e?e.contentWindow:t===document?window:t,"scroll",mn,!0)}(t),t.nodeType===Node.DOCUMENT_NODE&&(Pe(t),function(t){ba(t,"cut",Ke.bind(this,0),!0),ba(t,"copy",Ke.bind(this,1),!0),ba(t,"paste",Ke.bind(this,2),!0)}(t),function(t){ba(t,"mousedown",ln.bind(this,13,t),!0),ba(t,"mouseup",ln.bind(this,14,t),!0),ba(t,"mousemove",ln.bind(this,12,t),!0),ba(t,"mousewheel",ln.bind(this,15,t),!0),ba(t,"dblclick",ln.bind(this,16,t),!0),ba(t,"touchstart",sn.bind(this,17,t),!0),ba(t,"touchend",sn.bind(this,18,t),!0),ba(t,"touchmove",sn.bind(this,19,t),!0),ba(t,"touchcancel",sn.bind(this,20,t),!0)}(t),function(t){ba(t,"input",en,!0)}(t),function(t){ba(t,"selectstart",En.bind(this,t),!0),ba(t,"selectionchange",En.bind(this,t),!0)}(t),function(t){ba(t,"submit",Tn,!0)}(t))}var Rn=Object.freeze({__proto__:null,start:function(){dr=[],hr(),Je(),Qe(),fn(),rn(),ba(window,"resize",hn),hn(),ba(document,"visibilitychange",Cn),Cn(),vn=[],mn(),Mn(),xn(),ba(window,"pagehide",In)},stop:function(){dr=[],hr(),Je(),Qe(),T(un),on.length>0&&dn(on[on.length-1].event),T($e),rn(),pn(),jn(),T(gn),vn=[],Mn(),T(kn),xn(),Dn()},observe:zn}),Ln=/[^0-9\.]/g;function An(t){for(var e=0,n=Object.keys(t);e=0||a.indexOf("posting")>=0?"article":a){case"article":case"recipe":Wr(5,t[r]),Wr(8,t.creator),Wr(18,t.headline);break;case"product":Wr(5,t[r]),Wr(10,t.name),Wr(12,t.sku),t.brand&&Wr(6,t.brand.name);break;case"aggregaterating":t.ratingValue&&(N(11,Hn(t.ratingValue,100)),N(18,Hn(t.bestRating)),N(19,Hn(t.worstRating))),N(12,Hn(t.ratingCount)),N(17,Hn(t.reviewCount));break;case"person":Wr(8,t.name);break;case"offer":Wr(7,t.availability),Wr(14,t.itemCondition),Wr(13,t.priceCurrency),Wr(12,t.sku),N(13,Hn(t.price));break;case"brand":Wr(6,t.name)}null!==a&&"object"==typeof a&&An(a)}}function Hn(t,e){if(void 0===e&&(e=1),null!==t)switch(typeof t){case"number":return Math.round(t*e);case"string":return Math.round(parseFloat(t.replace(Ln,""))*e)}return null}var Yn=["title","alt","onload","onfocus","onerror"],qn=/[\r\n]+/g;function Xn(t,e){var n=null;if(2===e&&!1===Se(t))return n;0!==e&&t.nodeType===Node.TEXT_NODE&&t.parentElement&&"STYLE"===t.parentElement.tagName&&(t=t.parentNode);var r=!1===Se(t)?"add":"update",a=t.parentElement?t.parentElement:null,i=t.ownerDocument!==document;switch(t.nodeType){case Node.DOCUMENT_TYPE_NODE:a=i&&t.parentNode?me(t.parentNode):a;var o=t,u={tag:(i?"iframe:":"")+"*D",attributes:{name:o.name,publicId:o.publicId,systemId:o.systemId}};_e[r](t,a,u,e);break;case Node.DOCUMENT_NODE:t===document&&pe(document),Wn(t);break;case Node.DOCUMENT_FRAGMENT_NODE:var l=t;if(l.host)if("function"===typeof l.constructor&&l.constructor.toString().indexOf("[native code]")>=0){Wn(l);for(var s="",c=0,d=("adoptedStyleSheets"in l?l.adoptedStyleSheets:[]);c0)for(var r=0;r0)&&(e=Pn(t.sheet)),e}function Pn(t){var e="",n=null;try{n=t?t.cssRules:[]}catch(t){if(Xt(1,1,t?t.name:null),t&&"SecurityError"!==t.name)throw t}if(null!==n)for(var r=0;r0))return[3,4];for(a=r.shift(),i=a.firstChild;i;)r.push(i),i=i.nextSibling;return 0!==(o=gt(e))?[3,3]:[4,yt(e)];case 2:o=l.sent(),l.label=3;case 3:return 2===o?[3,4]:((u=Xn(a,n))&&r.push(u),[3,1]);case 4:return[2]}}))}))}var Fn=[],Vn=[],Gn=null,Jn=null,Zn=null,Kn=[],Qn=null,$n=null,tr={};function er(t){var e=u();L(6,e),Vn.push({time:e,mutations:t}),pt(nr,1).then((function(){ga(Ot)(),ga(Le)()}))}function nr(){return J(this,void 0,void 0,(function(){var t,e,n,r,a,i,o,l,s;return Z(this,(function(c){switch(c.label){case 0:mt(t={id:Qr(),cost:3}),c.label=1;case 1:if(!(Vn.length>0))return[3,8];e=Vn.shift(),n=0,r=e.mutations,c.label=2;case 2:return n$n,a=Ee(t.target),i=a&&a.selector?a.selector.join():t.target.nodeName,o=[n.selector?n.selector.join():"",i,t.attributeName,rr(t.addedNodes),rr(t.removedNodes)].join();tr[o]=o in tr?tr[o]:[0];var l=tr[o];if(!1===r&&l[0]>=10&&ar(l[1],2,e),l[0]=r?l[0]+1:1,10===l[0])return l[1]=t.removedNodes,"suspend";if(l[0]>10)return""}return t.type}(a,t))&&o&&o.ownerDocument&&pe(o.ownerDocument),l){case"attributes":Xn(o,3);break;case"characterData":Xn(o,4);break;case"childList":ar(a.addedNodes,1,t),ar(a.removedNodes,2,t);break;case"suspend":(s=Ee(o))&&(s.metadata.suspend=!0)}c.label=5;case 5:return n++,[3,2];case 6:return[4,Nt(6,t,e.time)];case 7:return c.sent(),[3,1];case 8:return bt(t),[2]}}))}))}function rr(t){for(var e=[],n=0;t&&n0?e[0]:t.target;return $n=u()+3e3,n.nodeType===Node.DOCUMENT_NODE?n.documentElement:n}function sr(t,e){var n={id:0,hash:null,privacy:2,node:t};if(t){var r=Ee(t);null!==r&&(n.id=r.id,n.hash=r.hash,n.privacy=r.metadata.privacy,r.region&&function(t,e){var n=we(t),r=t in Ie?Ie[t]:{id:t,visibility:0,interaction:16,name:xe.get(n)},a=16;switch(e){case 9:a=20;break;case 27:a=30}He(n,r,a,r.visibility)}(r.region,e))}return n}function cr(t){return J(this,void 0,void 0,(function(){var e,n,r,a,i,o,l,s,c,d,f,h,v,m,b,y,w,k,E,S,M,O,N,_,T,x,I,D,C;return Z(this,(function(j){switch(e=u(),n=[e,t],t){case 13:case 14:case 12:case 15:case 16:case 17:case 18:case 19:case 20:for(r=0,a=on;r0&&((n=[D.time,D.event]).push(i.id),n.push(D.data.x),n.push(D.data.y),Nr(n),p(D.event,D.data.x,D.data.y));fn();break;case 9:for(o=0,l=Ue;o0&&(n.push(T.id),n.push(D.data.action),Nr(n));Qe();break;case 11:h=an,n.push(h.width),n.push(h.height),p(t,h.width,h.height),pn(),Nr(n);break;case 26:v=On,n.push(v.name),Dn(),Nr(n);break;case 27:for(m=0,b=tn;m0&&((n=[D.time,D.event]).push(O.id),n.push(D.data.x),n.push(D.data.y),Nr(n),p(D.event,D.data.x,D.data.y));vn=[];break;case 39:for(N=0,_=_n;N<_.length;N++)D=_[N],n=[D.time,D.event],(T=sr(D.data.target,D.event)).id>0&&(n.push(T.id),Nr(n));xn();break;case 22:for(x=0,I=fr;x1?t[1]:null,a=JSON.stringify(t);switch(r){case 5:kr+=a.length;case 37:case 6:Er+=a.length,vr.push(a);break;default:gr.push(a)}M(25);var o=function(){var t=!1===i.lean&&kr>0?100:ca.sequence*i.delay;return"string"==typeof i.upload?Math.max(Math.min(t,3e4),100):i.delay}();n-Mr>2*o&&(T(Sr),Sr=null),e&&null===Sr&&(25!==r&&C(),Sr=_(Tr,o),Mr=n,zr(Er))}}function _r(){T(Sr),Tr(!0),kr=0,Er=0,Mr=0,vr=[],gr=[],mr={},yr=null,br=!1}function Tr(t){return void 0===t&&(t=!1),J(this,void 0,void 0,(function(){var e,n,r,a,o,u,l,s;return Z(this,(function(c){switch(c.label){case 0:return Sr=null,(e=!1===i.lean&&Er>0&&(Er<1048576||ca.sequence>0))&&N(1,1),Le(),function(){var t=[];fr=[];for(var e=ca.start+ca.duration,n=Math.max(e-2e3,0),r=0,a=dr;r=n&&(i.time<=e&&fr.push(i),t.push(i))}dr=t,cr(22)}(),rt(),n=!0===t,r=JSON.stringify(ha(n)),a="["+gr.join()+"]",o=e?"["+vr.join()+"]":"",u=function(t){return t.p.length>0?'{"e":'+t.e+',"a":'+t.a+',"p":'+t.p+"}":'{"e":'+t.e+',"a":'+t.a+"}"}({e:r,a:a,p:o}),n?(s=null,[3,3]):[3,1];case 1:return[4,Q(u)];case 2:s=c.sent(),c.label=3;case 3:return O(2,(l=s)?l.length:u.length),xr(u,l,ca.sequence,n),gr=[],e&&(vr=[],Er=0,kr=0),[2]}}))}))}function xr(t,e,n,r){if(void 0===r&&(r=!1),"string"==typeof i.upload){var a=i.upload,o=!1;if(r&&"sendBeacon"in navigator&&(o=navigator.sendBeacon(a,t))&&Dr(n),!1===o){n in mr?mr[n].attempts++:mr[n]={data:t,attempts:1};var u=new XMLHttpRequest;u.open("POST",a),null!==n&&(u.onreadystatechange=function(){ga(Ir)(u,n)}),u.withCredentials=!0,e?(u.setRequestHeader("Accept","application/x-clarity-gzip"),u.send(e)):u.send(t)}}else if(i.upload){(0,i.upload)(t),Dr(n)}}function Ir(t,e){var n=mr[e];t&&4===t.readyState&&n&&((t.status<200||t.status>208)&&n.attempts<=1?t.status>=400&&t.status<500?Rr(6):(0===t.status&&(i.upload=i.fallback?i.fallback:i.upload),xr(n.data,null,e)):(yr={sequence:e,attempts:n.attempts,status:t.status},n.attempts>1&&Cr(2),200===t.status&&t.responseText&&function(t){switch(t&&t.length>0?t.split(" ")[0]:""){case"END":Rr(6);break;case"UPGRADE":X("Auto")}}(t.responseText),0===t.status&&(xr(n.data,null,e,!0),Rr(3)),t.status>=200&&t.status<=208&&Dr(e),delete mr[e]))}function Dr(t){1===t&&ea()}function Cr(t){var e=[u(),t];switch(t){case 4:var n=c;n&&((e=[n.time,n.event]).push(n.data.visible),e.push(n.data.docWidth),e.push(n.data.docHeight),e.push(n.data.screenWidth),e.push(n.data.screenHeight),e.push(n.data.scrollX),e.push(n.data.scrollY),e.push(n.data.pointerX),e.push(n.data.pointerY),e.push(n.data.activityTime),Nr(e,!1)),h();break;case 25:e.push(k.gap),Nr(e);break;case 35:e.push(wr.check),Nr(e,!1);break;case 3:e.push(q.key),Nr(e);break;case 2:e.push(yr.sequence),e.push(yr.attempts),e.push(yr.status),Nr(e,!1);break;case 24:e.push(y.key),e.push(y.value),Nr(e);break;case 34:var r=Object.keys(U);if(r.length>0){for(var a=0,i=r;a0){for(var s=0,d=l;s0){for(var g=0,m=v;g0){for(var E=0,M=w;E=128?1:e,e=u()>72e5?2:e,(e=t>10485760?2:e)!==wr.check&&Rr(e)}}function Rr(t){wr.check=t,ta(),Pa()}function Lr(){0!==wr.check&&Cr(35)}function Ar(){wr=null}var Hr=null,Yr=null;function qr(){Hr={},Yr={}}function Xr(){Hr={},Yr={}}function Wr(t,e){e&&(e=""+e,t in Hr||(Hr[t]=[]),Hr[t].indexOf(e)<0&&(Hr[t].push(e),t in Yr||(Yr[t]=[]),Yr[t].push(e),Hr[t].length>128&&Rr(5)))}function Ur(){Cr(1)}function Pr(){Yr={}}var Br=null,Fr=null,Vr=null;function Gr(){Fr=null,Vr=null;var t=navigator&&"userAgent"in navigator?navigator.userAgent:"",e=document&&document.title?document.title:"",n=function(){var t={session:aa(),ts:Math.round(Date.now()),count:1,upgrade:null,upload:""},e=ua("_clsk");if(e){var n=e.split("|");n.length>=5&&t.ts-ia(n[1])<18e5&&(t.session=n[0],t.count=ia(n[2])+1,t.upgrade=ia(n[3]),t.upload=n.length>=6?"https://"+n[5]+"/"+n[4]:"https://"+n[4])}return t}(),r=oa();Br={projectId:i.projectId||s(location.host),userId:r.id,sessionId:n.session,pageNum:n.count},i.lean=i.track&&null!==n.upgrade?0===n.upgrade:i.lean,i.upload=i.track&&"string"==typeof i.upload&&n.upload&&n.upload.length>"https://".length?n.upload:i.upload,Wr(0,t),Wr(3,e),Wr(1,location.href),Wr(2,document.referrer),Wr(15,function(){var t=aa();if(i.track&&na(window,"sessionStorage")){var e=sessionStorage.getItem("_cltk");t=e||t,sessionStorage.setItem("_cltk",t)}return t}()),Wr(16,document.documentElement.lang),Wr(17,document.dir),navigator&&(Wr(9,navigator.userLanguage||navigator.language),N(26,navigator.webdriver?1:0),Jr()),N(0,n.ts),N(1,0),screen&&(N(14,Math.round(screen.width)),N(15,Math.round(screen.height)),N(16,Math.round(screen.colorDepth)));for(var a=0,o=i.cookies;a=1||t.consent!==e)&&la("_clck",[Br.userId,1,n.toString(36),e].join("|"),365)}function aa(){var t=Math.floor(Math.random()*Math.pow(2,32));return window&&window.crypto&&window.crypto.getRandomValues&&Uint32Array&&(t=window.crypto.getRandomValues(new Uint32Array(1))[0]),t.toString(36)}function ia(t,e){return void 0===e&&(e=10),parseInt(t,e)}function oa(){var t={id:aa(),expiry:null,consent:0},e=ua("_clck");if(e&&e.length>0){for(var n=e.split("|"),r=0,a=0,o=document.cookie.split(";");a1){var u=";expires="+new Date(0).toUTCString()+";path=/";document.cookie="_clck="+u,document.cookie="_clsk="+u}n.length>2&&(t.expiry=ia(n[2],36)),n.length>3&&1===ia(n[3])&&(t.consent=1),i.track=i.track||1===t.consent,t.id=i.track?n[0]:t.id}return t}function ua(t){if(na(document,"cookie")){var e=document.cookie.split(";");if(e)for(var n=0;n1&&r[0]&&r[0].trim()===t)return r[1]}}return null}function la(t,e,n){if(i.track&&(navigator&&navigator.cookieEnabled||na(document,"cookie"))){var r=new Date;r.setDate(r.getDate()+n);var a=t+"="+e+";"+(r?"expires="+r.toUTCString():"")+";path=/";try{if(null===Vr){for(var o=location.hostname?location.hostname.split("."):[],u=o.length-1;u>=0;u--)if(Vr="."+o[u]+(Vr||""),u0){var n={v:ca.version,p:ca.projectId,u:ca.userId,s:ca.sessionId,n:ca.pageNum};t.message&&(n.m=t.message),t.stack&&(n.e=t.stack);var r=new XMLHttpRequest;r.open("POST",e),r.send(JSON.stringify(n)),sa.push(t.message)}}return t}function ga(t){return function(){var e=performance.now();try{t.apply(this,arguments)}catch(t){throw va(t)}var n=performance.now()-e;O(4,n),n>30&&(M(7),N(6,n))}}var ma=[];function ba(t,e,n,r){void 0===r&&(r=!1),n=ga(n);try{t.addEventListener(e,n,r),ma.push({event:e,target:t,listener:n,capture:r})}catch(t){}}function ya(){for(var t=0,e=ma;t20)||(Xt(4,0),!1)}function Oa(){Sa=0,Ea!==Na()&&(Pa(),window.setTimeout(Ua,250))}function Na(){return location.href?location.href.replace(location.hash,""):location.href}var _a=!1;function Ta(){_a=!0,o=performance.now(),ht(),ya(),pa(),Ea=Na(),Sa=0,ba(window,"popstate",Oa),null===wa&&(wa=history.pushState),history.pushState=function(){Ma()&&(wa.apply(this,arguments),Oa())},null===ka&&(ka=history.replaceState),history.replaceState=function(){Ma()&&(ka.apply(this,arguments),Oa())}}function xa(){null!==wa&&(history.pushState=wa,wa=null),null!==ka&&(history.replaceState=ka,ka=null),Ea=null,Sa=0,pa(),ya(),ht(),o=0,_a=!1}function Ia(){return _a}function Da(t){if(null===t||_a)return!1;for(var e in t)e in i&&(i[e]=t[e]);return!0}function Ca(){Ua(),w("clarity","restart")}function ja(){return J(this,void 0,void 0,(function(){var t,e;return Z(this,(function(n){switch(n.label){case 0:return t=u(),mt(e={id:Qr(),cost:3}),[4,Bn(document,e,0)];case 1:return n.sent(),[4,Nt(5,e,t)];case 2:return n.sent(),bt(e),[2]}}))}))}var za,Ra=null;function La(){Ra=null}function Aa(t){Ra={fetchStart:Math.round(t.fetchStart),connectStart:Math.round(t.connectStart),connectEnd:Math.round(t.connectEnd),requestStart:Math.round(t.requestStart),responseStart:Math.round(t.responseStart),responseEnd:Math.round(t.responseEnd),domInteractive:Math.round(t.domInteractive),domComplete:Math.round(t.domComplete),loadEventStart:Math.round(t.loadEventStart),loadEventEnd:Math.round(t.loadEventEnd),redirectCount:Math.round(t.redirectCount),size:t.transferSize?t.transferSize:0,type:t.type,protocol:t.nextHopProtocol,encodedSize:t.encodedBodySize?t.encodedBodySize:0,decodedSize:t.decodedBodySize?t.decodedBodySize:0},function(t){J(this,void 0,void 0,(function(){var e,n;return Z(this,(function(r){switch(e=u(),n=[e,t],t){case 29:n.push(Ra.fetchStart),n.push(Ra.connectStart),n.push(Ra.connectEnd),n.push(Ra.requestStart),n.push(Ra.responseStart),n.push(Ra.responseEnd),n.push(Ra.domInteractive),n.push(Ra.domComplete),n.push(Ra.loadEventStart),n.push(Ra.loadEventEnd),n.push(Ra.redirectCount),n.push(Ra.size),n.push(Ra.type),n.push(Ra.protocol),n.push(Ra.encodedSize),n.push(Ra.decodedSize),La(),Nr(n,!1)}return[2]}))}))}(29)}var Ha=["navigation","resource","longtask","first-input","layout-shift","largest-contentful-paint"];function Ya(){try{za&&za.disconnect(),za=new PerformanceObserver(ga(qa));for(var t=0,e=Ha;t=0&&("layout-shift"===n&&O(9,0),za.observe({type:n,buffered:!0}))}}catch(t){Xt(3,1)}}function qa(t){!function(t){for(var e=(!("visibilityState"in document)||"visible"===document.visibilityState),n=0;n0;)t[e].apply(t,n.shift())}}()}();