clarity-js 0.6.29 → 0.6.30
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 +4 -4
- package/build/clarity.min.js +1 -1
- package/build/clarity.module.js +4 -4
- package/package.json +1 -1
- package/src/core/version.ts +1 -1
- package/src/layout/mutation.ts +3 -3
- package/test/helper.ts +10 -2
package/build/clarity.js
CHANGED
|
@@ -80,7 +80,7 @@ function stop$B() {
|
|
|
80
80
|
startTime = 0;
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
var version$1 = "0.6.
|
|
83
|
+
var version$1 = "0.6.30";
|
|
84
84
|
|
|
85
85
|
// tslint:disable: no-bitwise
|
|
86
86
|
function hash (input) {
|
|
@@ -2814,7 +2814,7 @@ function start$e() {
|
|
|
2814
2814
|
deleteRule = CSSStyleSheet.prototype.deleteRule;
|
|
2815
2815
|
}
|
|
2816
2816
|
if (attachShadow === null) {
|
|
2817
|
-
attachShadow =
|
|
2817
|
+
attachShadow = Element.prototype.attachShadow;
|
|
2818
2818
|
}
|
|
2819
2819
|
// Some popular open source libraries, like styled-components, optimize performance
|
|
2820
2820
|
// by injecting CSS using insertRule API vs. appending text node. A side effect of
|
|
@@ -2832,7 +2832,7 @@ function start$e() {
|
|
|
2832
2832
|
// In case we are unable to add a hook and browser throws an exception,
|
|
2833
2833
|
// reset attachShadow variable and resume processing like before
|
|
2834
2834
|
try {
|
|
2835
|
-
|
|
2835
|
+
Element.prototype.attachShadow = function () {
|
|
2836
2836
|
return schedule(attachShadow.apply(this, arguments));
|
|
2837
2837
|
};
|
|
2838
2838
|
}
|
|
@@ -2888,7 +2888,7 @@ function stop$d() {
|
|
|
2888
2888
|
}
|
|
2889
2889
|
// Restoring original attachShadow
|
|
2890
2890
|
if (attachShadow != null) {
|
|
2891
|
-
|
|
2891
|
+
Element.prototype.attachShadow = attachShadow;
|
|
2892
2892
|
attachShadow = null;
|
|
2893
2893
|
}
|
|
2894
2894
|
history$2 = {};
|
package/build/clarity.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!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;r<t.length;r+=2){if(e=(e<<5)+e^t.charCodeAt(r),r+1<t.length)n=(n<<5)+n^t.charCodeAt(r+1)}return Math.abs(e+11579*n).toString(36)}var c=null,d=null,f=!1;function h(){f&&(c={time:u(),event:4,data:{visible:d.visible,docWidth:d.docWidth,docHeight:d.docHeight,screenWidth:d.screenWidth,screenHeight:d.screenHeight,scrollX:d.scrollX,scrollY:d.scrollY,pointerX:d.pointerX,pointerY:d.pointerY,activityTime:d.activityTime}}),d=d||{visible:1,docWidth:0,docHeight:0,screenWidth:0,screenHeight:0,scrollX:0,scrollY:0,pointerX:0,pointerY:0,activityTime:0}}function p(t,e,n){switch(t){case 8:d.docWidth=e,d.docHeight=n;break;case 11:d.screenWidth=e,d.screenHeight=n;break;case 10:d.scrollX=e,d.scrollY=n;break;default:d.pointerX=e,d.pointerY=n}f=!0}function v(t){d.activityTime=t}function g(t,e){d.visible="visible"===e?1:0,d.visible||v(t),f=!0}function m(){f&&Cr(4)}var b=Object.freeze({__proto__:null,get state(){return c},start:function(){f=!1,h()},reset:h,track:p,activity:v,visibility:g,compute:m,stop:function(){h()}}),y=null;function w(t,e){Ia()&&t&&e&&"string"==typeof t&&"string"==typeof e&&t.length<255&&e.length<255&&(y={key:t,value:e},Cr(24))}var k,E=null,S=null;function M(t,e){void 0===e&&(e=1),t in E||(E[t]=0),t in S||(S[t]=0),E[t]+=e,S[t]+=e}function O(t,e){null!==e&&(t in E||(E[t]=0),t in S||(S[t]=0),E[t]+=e,S[t]+=e)}function N(t,e){null!==e&&!1===isNaN(e)&&(t in E||(E[t]=0),(e>E[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;r<e.length;r++)"string"==typeof e[r]&&e[r].length<255&&n.push(e[r]);U[t]=n}}function V(){Cr(34)}function G(){U={}}function J(t,e,n,r){return new(n||(n=Promise))((function(a,i){function o(t){try{l(r.next(t))}catch(t){i(t)}}function u(t){try{l(r.throw(t))}catch(t){i(t)}}function l(t){var e;t.done?a(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(o,u)}l((r=r.apply(t,e||[])).next())}))}function Z(t,e){var n,r,a,i,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(a=2&i[0]?r.return:i[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,i[1])).done)return a;switch(r=0,a&&(i=[2&i[0],a.value]),i[0]){case 0:case 1:a=i;break;case 4:return o.label++,{value:i[1],done:!1};case 5:o.label++,r=i[1],i=[0];continue;case 7:i=o.ops.pop(),o.trys.pop();continue;default:if(!(a=o.trys,(a=a.length>0&&a[a.length-1])||6!==i[0]&&2!==i[0])){o=0;continue}if(3===i[0]&&(!a||i[1]>a[0]&&i[1]<a[3])){o.label=i[1];break}if(6===i[0]&&o.label<a[1]){o.label=a[1],a=i;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(i);break}a[2]&&o.ops.pop(),o.trys.pop();continue}i=e.call(t,o)}catch(t){i=[6,t],r=0}finally{n=a=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}}var K="CompressionStream"in window;function Q(t){return J(this,void 0,void 0,(function(){var e,n;return Z(this,(function(r){switch(r.label){case 0:return r.trys.push([0,3,,4]),K?(e=new ReadableStream({start:function(e){return J(this,void 0,void 0,(function(){return Z(this,(function(n){return e.enqueue(t),e.close(),[2]}))}))}}).pipeThrough(new TextEncoderStream).pipeThrough(new window.CompressionStream("gzip")),n=Uint8Array.bind,[4,$(e)]):[3,2];case 1:return[2,new(n.apply(Uint8Array,[void 0,r.sent()]))];case 2:return[3,4];case 3:return r.sent(),[3,4];case 4:return[2,null]}}))}))}function $(t){return J(this,void 0,void 0,(function(){var e,n,r,a,i;return Z(this,(function(o){switch(o.label){case 0:e=t.getReader(),n=[],r=!1,a=[],o.label=1;case 1:return r?[3,3]:[4,e.read()];case 2:return i=o.sent(),r=i.done,a=i.value,r?[2,n]:(n.push.apply(n,a),[3,1]);case 3:return[2,n]}}))}))}var tt=[b,n,Object.freeze({__proto__:null,get data(){return U},start:function(){G()},set:P,identify:B,compute:V,reset:G,stop:function(){G()}}),e,Y,r,a,t,z,W];function et(){E={},S={},M(5),tt.forEach((function(t){return ga(t.start)()}))}function nt(){tt.slice().reverse().forEach((function(t){return ga(t.stop)()})),E={},S={}}function rt(){V(),m(),Ur(),Cr(0),A(),Lr()}function at(t,e,n,r){if(void 0===r&&(r=!1),t)switch(n){case 0:return t;case 1:switch(e){case"*T":case"value":case"placeholder":return function(t){for(var e=-1,n=!1,r=!1,a=!1,i=null,o=0;o<t.length;o++){var u=t.charCodeAt(o);n=n||u>=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;r<e;r++)n+=r>0&&r%5==0?" ":"•";return n}function ut(t,e,n){for(var r=e+1;r<n;r++)t[r]="•"}var lt={},st=[],ct=null,dt=null,ft=null;function ht(){lt={},st=[],ct=null,dt=null}function pt(t,e){return void 0===e&&(e=0),J(this,void 0,void 0,(function(){var n,r,a;return Z(this,(function(i){for(n=0,r=st;n<r.length;n++)if(r[n].task===t)return[2];return a=new Promise((function(n){st[1===e?"unshift":"push"]({task:t,resolve:n,id:Qr()})})),null===ct&&null===dt&&vt(),[2,a]}))}))}function vt(){var t=st.shift();t&&(ct=t,t.task().then((function(){t.id===Qr()&&(t.resolve(),ct=null,vt())})).catch((function(e){t.id===Qr()&&(e&&Xt(0,1,e.name,e.message,e.stack),ct=null,vt())})))}function gt(t){var e=wt(t);return e in lt?performance.now()-lt[e].start>lt[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&&o<e.timeout)requestAnimationFrame((function(){i.postMessage(a)}));else{var l=o>e.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;l<s.length;l++)c=s[l],(a=[c.time,7]).push(c.data.id),a.push(c.data.interaction),a.push(c.data.visibility),a.push(c.data.name),Nr(a);return qe(),[3,11];case 3:for(d=0,f=xt;d<f.length;d++)h=f[d],a.push(h.id),a.push(h.width),a.push(h.height);return jt(),Nr(a),[3,11];case 4:if(2===gt(e))return[3,11];if(!((g=Me()).length>0))return[3,10];m=0,b=g,j.label=5;case 5:return m<b.length?(y=b[m],0!==(w=gt(e))?[3,7]:[4,yt(e)]):[3,9];case 6:w=j.sent(),j.label=7;case 7:if(2===w)return[3,9];for(k=y.data,E=y.metadata.active,S=y.metadata.suspend,M=y.metadata.privacy,O=function(t){var e=t.metadata.privacy;return"*T"===t.data.tag&&!(0===e||1===e)}(y),N=E?["tag","attributes","value"]:["tag"],function(t){if(!1===It)return;if(Dt=null===Dt?new ResizeObserver(Ct):Dt){var e=ke(t);if(e&&null!==e.metadata.size&&0===e.metadata.size.length){var n=we(t);if(n&&n.nodeType===Node.ELEMENT_NODE){var r=n,a=r.getBoundingClientRect();e.metadata.size=[Math.floor(100*a.width),Math.floor(100*a.height)],Dt.observe(r)}}}}(y.id),_=0,T=N;_<T.length;_++)if(k[x=T[_]])switch(x){case"tag":I=y.metadata.size,D=O?-1:1,a.push(y.id*D),y.parent&&E&&a.push(y.parent),y.previous&&E&&a.push(y.previous),a.push(S?"*M":k[x]),I&&2===I.length&&a.push("#"+_t(I[0])+"."+_t(I[1]));break;case"attributes":for(C in k[x])void 0!==k[x][C]&&a.push(Tt(C,k[x][C],M));break;case"value":a.push(at(k[x],k.tag,M,O))}j.label=8;case 8:return m++,[3,5];case 9:6===t&&v(r),Nr(function(t){for(var e=[],n={},r=0,a=null,i=0;i<t.length;i++)if("string"==typeof t[i]){var o=t[i],u=n[o]||-1;u>=0?a?a.push(u):(a=[u],e.push(a),r++):(a=null,e.push(o),n[o]=r++)}else a=null,e.push(t[i]),r++;return e}(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;e<n.length;e++){var r=n[e],a=r.target,i=a?ve(a):null;if(i){var o=ke(i).metadata.size,u=r.borderBoxSize,l=null,s=null;if(u&&u.length>0)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;r<a.length;r++){n(a[r])}}function Gt(t,e,n){void 0===e&&(e=null),void 0===n&&(n=window);var r=t.split("."),a=r.shift();return n&&n[a]?r.length>0?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<t.length;e++){var n=t.charCodeAt(e);if(n>=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;r<a.length;r++)n(a[r])}(t,i.metrics),function(t,e){for(var n=function(e){var n=e[0],r=e[1],a=e[2];if(a)switch(r){case 0:t.querySelectorAll(a).forEach((function(t){Wr(n,Jt(t.innerText))}));break;case 2:t.querySelectorAll("["+a+"]").forEach((function(t){Wr(n,Jt(t.getAttribute(a)))}));break;case 1:Wr(n,Jt(Gt(a,"string")))}},r=0,a=e;r<a.length;r++)n(a[r])}(t,i.dimensions),i.mask.forEach((function(e){return t.querySelectorAll(e).forEach((function(t){return ce.set(t,3)}))})),i.unmask.forEach((function(e){return t.querySelectorAll(e).forEach((function(t){return ce.set(t,0)}))})))}catch(t){Xt(5,1,t?t.name:null)}}function ve(t,e){if(void 0===e&&(e=!1),null===t)return null;var n=le.get(t);return!n&&e&&(n=te++,le.set(t,n)),n||null}function ge(t){var e=!1;if(t.nodeType===Node.ELEMENT_NODE&&"IFRAME"===t.tagName){var n=t;try{n.contentDocument&&(se.set(n.contentDocument,n),e=!0)}catch(t){}}return e}function me(t){var e=t.nodeType===Node.DOCUMENT_NODE?t:null;return e&&se.has(e)?se.get(e):null}function be(t,e,n){if("object"==typeof t[n]&&"object"==typeof e[n]){for(var r in t[n])if(t[n][r]!==e[n][r])return!0;for(var r in e[n])if(e[n][r]!==t[n][r])return!0;return!1}return t[n]!==e[n]}function ye(t){var e=t.parent&&t.parent in ie?ie[t.parent]:null,n=e?e.selector:null,r=t.data,a=function(t,e){e.metadata.position=1;for(var n=t?t.children.indexOf(e.id):-1;n-- >0;){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<n.length;e++){var r=n[e];r in ie&&t.push(ie[r])}return oe=[],t}function Oe(t){for(var e=null;null===e&&t.previousSibling;)e=ve(t.previousSibling),t=t.previousSibling;return e}function Ne(t,e,n,r){void 0===n&&(n=!0),void 0===r&&(r=!1);var a=oe.indexOf(t);a>=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<u.length;o++){var l=u[o];if(a.class.indexOf(l)>=0){r=2;break}}if("INPUT"===i)if(0===r){for(var s="",c=0,d=Object.keys(a);c<d.length;c++){s+=a[d[c]].toLowerCase()}for(var f=0,h=ne;f<h.length;f++){var p=h[f];if(s.indexOf(p)>=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;e<n.length;e++){var r=n[e],a=ve(r.node);a in Ie||(a?(r.data.id=a,Ie[a]=r.data,Te.push(Ye(r.data))):t.push(r))}De=t,Te.length>0&&Nt(7)}function Ae(t){for(var e=0,n=t;e<n.length;e++){var r=n[e],a=r.target,i=r.boundingClientRect,o=r.intersectionRect,u=r.rootBounds;if(xe.has(a)&&i.width+i.height>0&&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;l<i.length;l++){var s=i[l],c="clientX"in s?Math.round(s.clientX+a.scrollLeft):null,d="clientY"in s?Math.round(s.clientY+a.scrollTop):null;c=c&&r?c+Math.round(r.offsetLeft):c,d=d&&r?d+Math.round(r.offsetTop):d,null!==c&&null!==d&&cn({time:o,event:t,data:{target:lr(n),x:c,y:d}})}}function cn(t){switch(t.event){case 12:case 15:case 19:var e=on.length,n=e>1?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<n.length;e++){var r=n[e],a=t[r];if("@type"===r&&"string"==typeof a)switch(a=(a=a.toLowerCase()).indexOf("article")>=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:[]);c<d.length;c++){s+=Pn(d[c])}var f={tag:"*S",attributes:{style:s}};_e[r](t,l.host,f,e)}else _e[r](t,l.host,{tag:"*P",attributes:{}},e);break;case Node.TEXT_NODE:if(a=a||t.parentNode,"update"===r||a&&Se(a)&&"STYLE"!==a.tagName){var h={tag:"*T",value:t.nodeValue};_e[r](t,a,h,e)}break;case Node.ELEMENT_NODE:var p=t,v=p.tagName,g=function(t){var e={},n=t.attributes;if(n&&n.length>0)for(var r=0;r<n.length;r++){var a=n[r].name;Yn.indexOf(a)<0&&(e[a]=n[r].value)}"INPUT"===t.tagName&&!("value"in e)&&t.value&&(e.value=t.value);return e}(p);switch(a=t.parentElement?t.parentElement:t.parentNode?t.parentNode:null,"http://www.w3.org/2000/svg"===p.namespaceURI&&(v="svg:"+v),v){case"HTML":a=i&&a?me(a):null;var m={tag:(i?"iframe:":"")+v,attributes:g};_e[r](t,a,m,e);break;case"SCRIPT":if("type"in g&&"application/ld+json"===g.type)try{An(JSON.parse(p.text.replace(qn,"")))}catch(t){}break;case"NOSCRIPT":break;case"META":var b="property"in g?"property":"name"in g?"name":null;if(b&&"content"in g){var y=g.content;switch(g[b]){case"og:title":Wr(20,y);break;case"og:type":Wr(19,y);break;case"generator":Wr(21,y)}}break;case"HEAD":var w={tag:v,attributes:g};location&&(w.attributes["*B"]=location.protocol+"//"+location.hostname),_e[r](t,a,w,e);break;case"STYLE":var k={tag:v,attributes:g,value:Un(p)};_e[r](t,a,k,e);break;case"IFRAME":var E=t,S={tag:v,attributes:g};ge(E)&&(!function(t){!1===Se(t)&&ba(t,"load",ur.bind(this,t,"childList"),!0)}(E),S.attributes["*O"]="true",E.contentDocument&&E.contentWindow&&"loading"!==E.contentDocument.readyState&&(n=E.contentDocument)),_e[r](t,a,S,e);break;default:var M={tag:v,attributes:g};p.shadowRoot&&(n=p.shadowRoot),_e[r](t,a,M,e)}}return n}function Wn(t){Se(t)||(!function(t){try{var e=window.Zone&&"__symbol__"in window.Zone?window.Zone.__symbol__("MutationObserver"):"MutationObserver",n=e in window?new window[e](ga(er)):null;n&&(n.observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),Fn.push(n))}catch(t){Xt(2,0,t?t.name:null)}}(t),zn(t))}function Un(t){var e=t.textContent?t.textContent.trim():"",n=t.dataset?Object.keys(t.dataset).length:0;return(0===e.length||n>0)&&(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;r<n.length;r++)e+=n[r].cssText;return e}function Bn(t,e,n){return J(this,void 0,void 0,(function(){var r,a,i,o,u;return Z(this,(function(l){switch(l.label){case 0:r=[t],l.label=1;case 1:if(!(r.length>0))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<r.length?(a=r[n],0!==(i=gt(t))?[3,4]:[4,yt(t)]):[3,6];case 3:i=c.sent(),c.label=4;case 4:if(2===i)return[3,6];switch(o=a.target,(l=function(t,e){var n=t.target?Ee(t.target.parentNode):null;if(n&&"HTML"!==n.data.tag){var r=u()>$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&&n<t.length;n++)e.push(t[n].nodeName);return e.join()}function ar(t,e,n){return J(this,void 0,void 0,(function(){var r,a,i;return Z(this,(function(o){switch(o.label){case 0:r=t?t.length:0,a=0,o.label=1;case 1:return a<r?1!==e?[3,2]:(Bn(t[a],n,e),[3,5]):[3,6];case 2:return 0!==(i=gt(n))?[3,4]:[4,yt(n)];case 3:i=o.sent(),o.label=4;case 4:if(2===i)return[3,6];Xn(t[a],e),o.label=5;case 5:return a++,[3,1];case 6:return[2]}}))}))}function ir(t){return Kn.indexOf(t)<0&&Kn.push(t),Qn&&T(Qn),Qn=_(or,33),t}function or(){for(var t=0,e=Kn;t<e.length;t++){var n=e[t],r=n&&n.nodeType===Node.DOCUMENT_FRAGMENT_NODE;r&&Se(n)||ur(n,r?"childList":"characterData")}Kn=[]}function ur(t,e){ga(er)([{addedNodes:[t],attributeName:null,attributeNamespace:null,nextSibling:null,oldValue:null,previousSibling:null,removedNodes:[],target:t,type:e}])}function lr(t){var e=t.composed&&t.composedPath?t.composedPath():null,n=e&&e.length>0?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;r<a.length;r++)D=a[r],(i=sr(D.data.target,D.event)).id>0&&((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;o<l.length;o++)D=l[o],s=sr(D.data.target,D.event),n=[D.time,D.event],c=s.hash.join("."),n.push(s.id),n.push(D.data.x),n.push(D.data.y),n.push(D.data.eX),n.push(D.data.eY),n.push(D.data.button),n.push(D.data.reaction),n.push(D.data.context),n.push(at(D.data.text,"click",s.privacy)),n.push(D.data.link),n.push(c),Nr(n),pr(D.time,D.event,c,D.data.x,D.data.y,D.data.reaction,D.data.context);Je();break;case 38:for(d=0,f=Ze;d<f.length;d++)D=f[d],n=[D.time,D.event],(T=sr(D.data.target,D.event)).id>0&&(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;m<b.length;m++)D=b[m],y=sr(D.data.target,D.event),(n=[D.time,D.event]).push(y.id),n.push(D.data.value),Nr(n);rn();break;case 21:(w=yn)&&(k=sr(w.start,t),E=sr(w.end,t),n.push(k.id),n.push(w.startOffset),n.push(E.id),n.push(w.endOffset),Mn(),Nr(n));break;case 10:for(S=0,M=vn;S<M.length;S++)D=M[S],(O=sr(D.data.target,D.event)).id>0&&((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;x<I.length;x++)D=I[x],(n=[D.time,D.event]).push(D.data.type),n.push(D.data.hash),n.push(D.data.x),n.push(D.data.y),n.push(D.data.reaction),n.push(D.data.context),Nr(n,!1);hr();break;case 28:C=Nn,n.push(C.visible),Nr(n),g(e,C.visible),jn()}return[2]}))}))}var dr=[],fr=[];function hr(){fr=[]}function pr(t,e,n,r,a,i,o){void 0===i&&(i=1),void 0===o&&(o=0),dr.push({time:t,event:22,data:{type:e,hash:n,x:r,y:a,reaction:i,context:o}}),p(e,r,a)}var vr,gr,mr,br,yr,wr,kr=0,Er=0,Sr=null,Mr=0;function Or(){br=!0,kr=0,Er=0,Mr=0,vr=[],gr=[],mr={},yr=null}function Nr(t,e){if(void 0===e&&(e=!0),br){var n=u(),r=t.length>1?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<a.length;r++){var i=a[r];i.time>=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;a<i.length;a++){var o=i[a];e.push(o),e.push(U[o])}G(),Nr(e,!1)}break;case 0:var l=Object.keys(S);if(l.length>0){for(var s=0,d=l;s<d.length;s++){var f=d[s],p=parseInt(f,10);e.push(p),e.push(Math.round(S[f]))}S={},Nr(e,!1)}break;case 1:var v=Object.keys(Yr);if(v.length>0){for(var g=0,m=v;g<m.length;g++){var b=m[g];p=parseInt(b,10);e.push(p),e.push(Yr[b])}Pr(),Nr(e,!1)}break;case 36:var w=Object.keys(R);if(w.length>0){for(var E=0,M=w;E<M.length;E++){var O=M[E];p=parseInt(O,10);e.push(p),e.push([].concat.apply([],R[O]))}H(),Nr(e,!1)}}}function jr(){wr={check:0}}function zr(t){if(0===wr.check){var e=wr.check;e=ca.sequence>=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<o.length;a++){var u=o[a],l=ua(u);l&&P(u,l)}ra(r)}function Jr(){navigator.userAgentData&&navigator.userAgentData.getHighEntropyValues&&navigator.userAgentData.getHighEntropyValues(["model","platform","platformVersion","uaFullVersion"]).then((function(t){var e;Wr(22,t.platform),Wr(23,t.platformVersion),null===(e=t.brands)||void 0===e||e.forEach((function(t){Wr(24,t.name+"~"+t.version)})),Wr(25,t.model),N(27,t.mobile?1:0)}))}function Zr(){Fr=null,Vr=null,Br=null}function Kr(t,e){void 0===e&&(e=!0),Br&&!1===e?t(Br,!i.lean):Fr=t}function Qr(){return Br?[Br.userId,Br.sessionId,Br.pageNum].join("."):""}function $r(){Ia()&&(i.track=!0,ra(oa(),1))}function ta(){la("_clsk","",0)}function ea(){var t=Math.round(Date.now()),e=i.lean?0:1,n=i.upload&&"string"==typeof i.upload?i.upload.replace("https://",""):"";e&&Fr&&Fr(Br,!i.lean),la("_clsk",[Br.sessionId,t,Br.pageNum,e,n].join("|"),1)}function na(t,e){try{return!!t[e]}catch(t){return!1}}function ra(t,e){void 0===e&&(e=null),e=null===e?t.consent:e;var n=Math.ceil((Date.now()+31536e6)/864e5);(null===t.expiry||Math.abs(n-t.expiry)>=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(";");a<o.length;a++){r+="_clck"===o[a].split("=")[0].trim()?1:0}if(1===n.length||r>1){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;n<e.length;n++){var r=e[n].split("=");if(r.length>1&&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||""),u<o.length-1&&(document.cookie=a+";domain="+Vr,ua(t)===e))return;Vr=""}}catch(t){Vr=""}document.cookie=Vr?a+";domain="+Vr:a}}var sa,ca=null;function da(){var t=Br;ca={version:l,sequence:0,start:0,duration:0,projectId:t.projectId,userId:t.userId,sessionId:t.sessionId,pageNum:t.pageNum,upload:0,end:0}}function fa(){ca=null}function ha(t){return ca.start=ca.start+ca.duration,ca.duration=u()-ca.start,ca.sequence++,ca.upload=t&&"sendBeacon"in navigator?1:0,ca.end=t?1:0,[ca.version,ca.sequence,ca.start,ca.duration,ca.projectId,ca.userId,ca.sessionId,ca.pageNum,ca.upload,ca.end]}function pa(){sa=[]}function va(t){if(sa&&-1===sa.indexOf(t.message)){var e=i.report;if(e&&e.length>0){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;t<e.length;t++){var n=e[t];try{n.target.removeEventListener(n.event,n.listener,n.capture)}catch(t){}}ma=[]}var wa=null,ka=null,Ea=null,Sa=0;function Ma(){return!(Sa++>20)||(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<e.length;t++){var n=e[t];PerformanceObserver.supportedEntryTypes.indexOf(n)>=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;n<t.length;n++){var r=t[n];switch(r.entryType){case"navigation":Aa(r);break;case"resource":Wr(4,Xa(r.name));break;case"longtask":M(7);break;case"first-input":e&&N(10,r.processingStart-r.startTime);break;case"layout-shift":e&&!r.hadRecentInput&&O(9,1e3*r.value);break;case"largest-contentful-paint":e&&N(8,r.startTime)}}}(t.getEntries())}function Xa(t){var e=document.createElement("a");return e.href=t,e.hostname}var Wa=[Object.freeze({__proto__:null,start:function(){ba(window,"error",At),Lt={},qt={},ba(document,"securitypolicyviolation",Wt)},stop:function(){qt={}}}),Object.freeze({__proto__:null,start:function(){Mt(),Ot(),qe(),je=null,xe=new WeakMap,Ie={},De=[],Ce=!!window.IntersectionObserver,de(),function(){Fn=[],Kn=[],Qn=null,$n=0,tr={},null===Gn&&(Gn=CSSStyleSheet.prototype.insertRule),null===Jn&&(Jn=CSSStyleSheet.prototype.deleteRule),null===Zn&&(Zn=HTMLElement.prototype.attachShadow),CSSStyleSheet.prototype.insertRule=function(){return ir(this.ownerNode),Gn.apply(this,arguments)},CSSStyleSheet.prototype.deleteRule=function(){return ir(this.ownerNode),Jn.apply(this,arguments)};try{HTMLElement.prototype.attachShadow=function(){return ir(Zn.apply(this,arguments))}}catch(t){Zn=null}}(),pt(ja,1).then((function(){ga(Ot)(),ga(Le)()})),jt(),Dt=null,It=!!window.ResizeObserver},stop:function(){qe(),xe=null,Ie={},De=[],je&&(je.disconnect(),je=null),Ce=!1,fe(),function(){for(var t=0,e=Fn;t<e.length;t++){var n=e[t];n&&n.disconnect()}Fn=[],null!==Gn&&(CSSStyleSheet.prototype.insertRule=Gn,Gn=null),null!==Jn&&(CSSStyleSheet.prototype.deleteRule=Jn,Jn=null),null!=Zn&&(HTMLElement.prototype.attachShadow=Zn,Zn=null),tr={},Vn=[],Kn=[],$n=0,Qn=null}(),zt(),Mt()}}),Rn,Object.freeze({__proto__:null,start:function(){La(),function(){window.PerformanceObserver&&PerformanceObserver.supportedEntryTypes?"complete"!==document.readyState?ba(window,"load",_.bind(this,Ya,0)):Ya():Xt(3,0)}()},stop:function(){za&&za.disconnect(),za=null,La()}})];function Ua(t){void 0===t&&(t=null),function(){try{return!1===_a&&"undefined"!=typeof Promise&&window.MutationObserver&&document.createTreeWalker&&"now"in Date&&"now"in performance&&"undefined"!=typeof WeakMap}catch(t){return!1}}()&&(Da(t),Ta(),et(),Wa.forEach((function(t){return ga(t.start)()})))}function Pa(){Ia()&&(Wa.slice().reverse().forEach((function(t){return ga(t.stop)()})),nt(),xa())}var Ba=Object.freeze({__proto__:null,version:l,start:Ua,pause:function(){Ia()&&(w("clarity","pause"),null===dt&&(dt=new Promise((function(t){ft=t}))))},resume:function(){Ia()&&(dt&&(ft(),dt=null,null===ct&&vt()),w("clarity","resume"))},stop:Pa,consent:$r,event:w,identify:B,set:P,upgrade:X,metadata:Kr});!function(){if("undefined"!=typeof window){var t=window,e="clarity";if(t[e]&&t[e].v)return console.warn("Error CL001: Multiple Clarity tags detected.");var n=t[e]&&t[e].q||[];for(t[e]=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return Ba[t].apply(Ba,e)},t[e].v=l;n.length>0;)t[e].apply(t,n.shift())}}()}();
|
|
1
|
+
!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 Ar},get stop(){return Lr}}),n=Object.freeze({__proto__:null,get data(){return Yr},get updates(){return Hr},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.30";function s(t){for(var e=5381,n=e,r=0;r<t.length;r+=2){if(e=(e<<5)+e^t.charCodeAt(r),r+1<t.length)n=(n<<5)+n^t.charCodeAt(r+1)}return Math.abs(e+11579*n).toString(36)}var c=null,d=null,f=!1;function h(){f&&(c={time:u(),event:4,data:{visible:d.visible,docWidth:d.docWidth,docHeight:d.docHeight,screenWidth:d.screenWidth,screenHeight:d.screenHeight,scrollX:d.scrollX,scrollY:d.scrollY,pointerX:d.pointerX,pointerY:d.pointerY,activityTime:d.activityTime}}),d=d||{visible:1,docWidth:0,docHeight:0,screenWidth:0,screenHeight:0,scrollX:0,scrollY:0,pointerX:0,pointerY:0,activityTime:0}}function p(t,e,n){switch(t){case 8:d.docWidth=e,d.docHeight=n;break;case 11:d.screenWidth=e,d.screenHeight=n;break;case 10:d.scrollX=e,d.scrollY=n;break;default:d.pointerX=e,d.pointerY=n}f=!0}function v(t){d.activityTime=t}function g(t,e){d.visible="visible"===e?1:0,d.visible||v(t),f=!0}function m(){f&&Cr(4)}var b=Object.freeze({__proto__:null,get state(){return c},start:function(){f=!1,h()},reset:h,track:p,activity:v,visibility:g,compute:m,stop:function(){h()}}),y=null;function w(t,e){Ia()&&t&&e&&"string"==typeof t&&"string"==typeof e&&t.length<255&&e.length<255&&(y={key:t,value:e},Cr(24))}var k,E=null,S=null;function M(t,e){void 0===e&&(e=1),t in E||(E[t]=0),t in S||(S[t]=0),E[t]+=e,S[t]+=e}function O(t,e){null!==e&&(t in E||(E[t]=0),t in S||(S[t]=0),E[t]+=e,S[t]+=e)}function N(t,e){null!==e&&!1===isNaN(e)&&(t in E||(E[t]=0),(e>E[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 A(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 L(){Cr(36)}function Y(){R={}}var H=Object.freeze({__proto__:null,get data(){return R},start:function(){R={}},stop:function(){R={}},track:A,compute:L,reset:Y}),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;r<e.length;r++)"string"==typeof e[r]&&e[r].length<255&&n.push(e[r]);U[t]=n}}function V(){Cr(34)}function G(){U={}}function J(t,e,n,r){return new(n||(n=Promise))((function(a,i){function o(t){try{l(r.next(t))}catch(t){i(t)}}function u(t){try{l(r.throw(t))}catch(t){i(t)}}function l(t){var e;t.done?a(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(o,u)}l((r=r.apply(t,e||[])).next())}))}function Z(t,e){var n,r,a,i,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(a=2&i[0]?r.return:i[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,i[1])).done)return a;switch(r=0,a&&(i=[2&i[0],a.value]),i[0]){case 0:case 1:a=i;break;case 4:return o.label++,{value:i[1],done:!1};case 5:o.label++,r=i[1],i=[0];continue;case 7:i=o.ops.pop(),o.trys.pop();continue;default:if(!(a=o.trys,(a=a.length>0&&a[a.length-1])||6!==i[0]&&2!==i[0])){o=0;continue}if(3===i[0]&&(!a||i[1]>a[0]&&i[1]<a[3])){o.label=i[1];break}if(6===i[0]&&o.label<a[1]){o.label=a[1],a=i;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(i);break}a[2]&&o.ops.pop(),o.trys.pop();continue}i=e.call(t,o)}catch(t){i=[6,t],r=0}finally{n=a=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}}var K="CompressionStream"in window;function Q(t){return J(this,void 0,void 0,(function(){var e,n;return Z(this,(function(r){switch(r.label){case 0:return r.trys.push([0,3,,4]),K?(e=new ReadableStream({start:function(e){return J(this,void 0,void 0,(function(){return Z(this,(function(n){return e.enqueue(t),e.close(),[2]}))}))}}).pipeThrough(new TextEncoderStream).pipeThrough(new window.CompressionStream("gzip")),n=Uint8Array.bind,[4,$(e)]):[3,2];case 1:return[2,new(n.apply(Uint8Array,[void 0,r.sent()]))];case 2:return[3,4];case 3:return r.sent(),[3,4];case 4:return[2,null]}}))}))}function $(t){return J(this,void 0,void 0,(function(){var e,n,r,a,i;return Z(this,(function(o){switch(o.label){case 0:e=t.getReader(),n=[],r=!1,a=[],o.label=1;case 1:return r?[3,3]:[4,e.read()];case 2:return i=o.sent(),r=i.done,a=i.value,r?[2,n]:(n.push.apply(n,a),[3,1]);case 3:return[2,n]}}))}))}var tt=[b,n,Object.freeze({__proto__:null,get data(){return U},start:function(){G()},set:P,identify:B,compute:V,reset:G,stop:function(){G()}}),e,H,r,a,t,z,W];function et(){E={},S={},M(5),tt.forEach((function(t){return ga(t.start)()}))}function nt(){tt.slice().reverse().forEach((function(t){return ga(t.stop)()})),E={},S={}}function rt(){V(),m(),Ur(),Cr(0),L(),Ar()}function at(t,e,n,r){if(void 0===r&&(r=!1),t)switch(n){case 0:return t;case 1:switch(e){case"*T":case"value":case"placeholder":return function(t){for(var e=-1,n=!1,r=!1,a=!1,i=null,o=0;o<t.length;o++){var u=t.charCodeAt(o);n=n||u>=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;r<e;r++)n+=r>0&&r%5==0?" ":"•";return n}function ut(t,e,n){for(var r=e+1;r<n;r++)t[r]="•"}var lt={},st=[],ct=null,dt=null,ft=null;function ht(){lt={},st=[],ct=null,dt=null}function pt(t,e){return void 0===e&&(e=0),J(this,void 0,void 0,(function(){var n,r,a;return Z(this,(function(i){for(n=0,r=st;n<r.length;n++)if(r[n].task===t)return[2];return a=new Promise((function(n){st[1===e?"unshift":"push"]({task:t,resolve:n,id:Qr()})})),null===ct&&null===dt&&vt(),[2,a]}))}))}function vt(){var t=st.shift();t&&(ct=t,t.task().then((function(){t.id===Qr()&&(t.resolve(),ct=null,vt())})).catch((function(e){t.id===Qr()&&(e&&Xt(0,1,e.name,e.message,e.stack),ct=null,vt())})))}function gt(t){var e=wt(t);return e in lt?performance.now()-lt[e].start>lt[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&&o<e.timeout)requestAnimationFrame((function(){i.postMessage(a)}));else{var l=o>e.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;l<s.length;l++)c=s[l],(a=[c.time,7]).push(c.data.id),a.push(c.data.interaction),a.push(c.data.visibility),a.push(c.data.name),Nr(a);return qe(),[3,11];case 3:for(d=0,f=xt;d<f.length;d++)h=f[d],a.push(h.id),a.push(h.width),a.push(h.height);return jt(),Nr(a),[3,11];case 4:if(2===gt(e))return[3,11];if(!((g=Me()).length>0))return[3,10];m=0,b=g,j.label=5;case 5:return m<b.length?(y=b[m],0!==(w=gt(e))?[3,7]:[4,yt(e)]):[3,9];case 6:w=j.sent(),j.label=7;case 7:if(2===w)return[3,9];for(k=y.data,E=y.metadata.active,S=y.metadata.suspend,M=y.metadata.privacy,O=function(t){var e=t.metadata.privacy;return"*T"===t.data.tag&&!(0===e||1===e)}(y),N=E?["tag","attributes","value"]:["tag"],function(t){if(!1===It)return;if(Dt=null===Dt?new ResizeObserver(Ct):Dt){var e=ke(t);if(e&&null!==e.metadata.size&&0===e.metadata.size.length){var n=we(t);if(n&&n.nodeType===Node.ELEMENT_NODE){var r=n,a=r.getBoundingClientRect();e.metadata.size=[Math.floor(100*a.width),Math.floor(100*a.height)],Dt.observe(r)}}}}(y.id),_=0,T=N;_<T.length;_++)if(k[x=T[_]])switch(x){case"tag":I=y.metadata.size,D=O?-1:1,a.push(y.id*D),y.parent&&E&&a.push(y.parent),y.previous&&E&&a.push(y.previous),a.push(S?"*M":k[x]),I&&2===I.length&&a.push("#"+_t(I[0])+"."+_t(I[1]));break;case"attributes":for(C in k[x])void 0!==k[x][C]&&a.push(Tt(C,k[x][C],M));break;case"value":a.push(at(k[x],k.tag,M,O))}j.label=8;case 8:return m++,[3,5];case 9:6===t&&v(r),Nr(function(t){for(var e=[],n={},r=0,a=null,i=0;i<t.length;i++)if("string"==typeof t[i]){var o=t[i],u=n[o]||-1;u>=0?a?a.push(u):(a=[u],e.push(a),r++):(a=null,e.push(o),n[o]=r++)}else a=null,e.push(t[i]),r++;return e}(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;e<n.length;e++){var r=n[e],a=r.target,i=a?ve(a):null;if(i){var o=ke(i).metadata.size,u=r.borderBoxSize,l=null,s=null;if(u&&u.length>0)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,At={};function Lt(t){var e=t.error||t;if(e.message in At||(At[e.message]=0),At[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;Yt(31)}return!0}function Yt(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:Ht&&(e.push(Ht.code),e.push(Ht.name),e.push(Ht.message),e.push(Ht.stack),e.push(Ht.severity),Nr(e,!1))}return[2]}))}))}var Ht,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||(Ht={code:t,name:n,message:r,stack:a,severity:e},t in qt?qt[t].push(i):qt[t]=[i],Yt(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;r<a.length;r++){n(a[r])}}function Gt(t,e,n){void 0===e&&(e=null),void 0===n&&(n=window);var r=t.split("."),a=r.shift();return n&&n[a]?r.length>0?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<t.length;e++){var n=t.charCodeAt(e);if(n>=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;r<a.length;r++)n(a[r])}(t,i.metrics),function(t,e){for(var n=function(e){var n=e[0],r=e[1],a=e[2];if(a)switch(r){case 0:t.querySelectorAll(a).forEach((function(t){Wr(n,Jt(t.innerText))}));break;case 2:t.querySelectorAll("["+a+"]").forEach((function(t){Wr(n,Jt(t.getAttribute(a)))}));break;case 1:Wr(n,Jt(Gt(a,"string")))}},r=0,a=e;r<a.length;r++)n(a[r])}(t,i.dimensions),i.mask.forEach((function(e){return t.querySelectorAll(e).forEach((function(t){return ce.set(t,3)}))})),i.unmask.forEach((function(e){return t.querySelectorAll(e).forEach((function(t){return ce.set(t,0)}))})))}catch(t){Xt(5,1,t?t.name:null)}}function ve(t,e){if(void 0===e&&(e=!1),null===t)return null;var n=le.get(t);return!n&&e&&(n=te++,le.set(t,n)),n||null}function ge(t){var e=!1;if(t.nodeType===Node.ELEMENT_NODE&&"IFRAME"===t.tagName){var n=t;try{n.contentDocument&&(se.set(n.contentDocument,n),e=!0)}catch(t){}}return e}function me(t){var e=t.nodeType===Node.DOCUMENT_NODE?t:null;return e&&se.has(e)?se.get(e):null}function be(t,e,n){if("object"==typeof t[n]&&"object"==typeof e[n]){for(var r in t[n])if(t[n][r]!==e[n][r])return!0;for(var r in e[n])if(e[n][r]!==t[n][r])return!0;return!1}return t[n]!==e[n]}function ye(t){var e=t.parent&&t.parent in ie?ie[t.parent]:null,n=e?e.selector:null,r=t.data,a=function(t,e){e.metadata.position=1;for(var n=t?t.children.indexOf(e.id):-1;n-- >0;){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<n.length;e++){var r=n[e];r in ie&&t.push(ie[r])}return oe=[],t}function Oe(t){for(var e=null;null===e&&t.previousSibling;)e=ve(t.previousSibling),t=t.previousSibling;return e}function Ne(t,e,n,r){void 0===n&&(n=!0),void 0===r&&(r=!1);var a=oe.indexOf(t);a>=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<u.length;o++){var l=u[o];if(a.class.indexOf(l)>=0){r=2;break}}if("INPUT"===i)if(0===r){for(var s="",c=0,d=Object.keys(a);c<d.length;c++){s+=a[d[c]].toLowerCase()}for(var f=0,h=ne;f<h.length;f++){var p=h[f];if(s.indexOf(p)>=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(Le,{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 Ae(){for(var t=[],e=0,n=De;e<n.length;e++){var r=n[e],a=ve(r.node);a in Ie||(a?(r.data.id=a,Ie[a]=r.data,Te.push(He(r.data))):t.push(r))}De=t,Te.length>0&&Nt(7)}function Le(t){for(var e=0,n=t;e<n.length;e++){var r=n[e],a=r.target,i=r.boundingClientRect,o=r.intersectionRect,u=r.rootBounds;if(xe.has(a)&&i.width+i.height>0&&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;Ye(a,s,s.interaction,d?13:c?10:0),s.visibility>=13&&je&&je.unobserve(a)}}Te.length>0&&Nt(7)}function Ye(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(He(e))):De.push({node:t,data:e})}function He(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;l<i.length;l++){var s=i[l],c="clientX"in s?Math.round(s.clientX+a.scrollLeft):null,d="clientY"in s?Math.round(s.clientY+a.scrollTop):null;c=c&&r?c+Math.round(r.offsetLeft):c,d=d&&r?d+Math.round(r.offsetTop):d,null!==c&&null!==d&&cn({time:o,event:t,data:{target:lr(n),x:c,y:d}})}}function cn(t){switch(t.event){case 12:case 15:case 19:var e=on.length,n=e>1?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}),An=/[^0-9\.]/g;function Ln(t){for(var e=0,n=Object.keys(t);e<n.length;e++){var r=n[e],a=t[r];if("@type"===r&&"string"==typeof a)switch(a=(a=a.toLowerCase()).indexOf("article")>=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,Yn(t.ratingValue,100)),N(18,Yn(t.bestRating)),N(19,Yn(t.worstRating))),N(12,Yn(t.ratingCount)),N(17,Yn(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,Yn(t.price));break;case"brand":Wr(6,t.name)}null!==a&&"object"==typeof a&&Ln(a)}}function Yn(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(An,""))*e)}return null}var Hn=["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:[]);c<d.length;c++){s+=Pn(d[c])}var f={tag:"*S",attributes:{style:s}};_e[r](t,l.host,f,e)}else _e[r](t,l.host,{tag:"*P",attributes:{}},e);break;case Node.TEXT_NODE:if(a=a||t.parentNode,"update"===r||a&&Se(a)&&"STYLE"!==a.tagName){var h={tag:"*T",value:t.nodeValue};_e[r](t,a,h,e)}break;case Node.ELEMENT_NODE:var p=t,v=p.tagName,g=function(t){var e={},n=t.attributes;if(n&&n.length>0)for(var r=0;r<n.length;r++){var a=n[r].name;Hn.indexOf(a)<0&&(e[a]=n[r].value)}"INPUT"===t.tagName&&!("value"in e)&&t.value&&(e.value=t.value);return e}(p);switch(a=t.parentElement?t.parentElement:t.parentNode?t.parentNode:null,"http://www.w3.org/2000/svg"===p.namespaceURI&&(v="svg:"+v),v){case"HTML":a=i&&a?me(a):null;var m={tag:(i?"iframe:":"")+v,attributes:g};_e[r](t,a,m,e);break;case"SCRIPT":if("type"in g&&"application/ld+json"===g.type)try{Ln(JSON.parse(p.text.replace(qn,"")))}catch(t){}break;case"NOSCRIPT":break;case"META":var b="property"in g?"property":"name"in g?"name":null;if(b&&"content"in g){var y=g.content;switch(g[b]){case"og:title":Wr(20,y);break;case"og:type":Wr(19,y);break;case"generator":Wr(21,y)}}break;case"HEAD":var w={tag:v,attributes:g};location&&(w.attributes["*B"]=location.protocol+"//"+location.hostname),_e[r](t,a,w,e);break;case"STYLE":var k={tag:v,attributes:g,value:Un(p)};_e[r](t,a,k,e);break;case"IFRAME":var E=t,S={tag:v,attributes:g};ge(E)&&(!function(t){!1===Se(t)&&ba(t,"load",ur.bind(this,t,"childList"),!0)}(E),S.attributes["*O"]="true",E.contentDocument&&E.contentWindow&&"loading"!==E.contentDocument.readyState&&(n=E.contentDocument)),_e[r](t,a,S,e);break;default:var M={tag:v,attributes:g};p.shadowRoot&&(n=p.shadowRoot),_e[r](t,a,M,e)}}return n}function Wn(t){Se(t)||(!function(t){try{var e=window.Zone&&"__symbol__"in window.Zone?window.Zone.__symbol__("MutationObserver"):"MutationObserver",n=e in window?new window[e](ga(er)):null;n&&(n.observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),Fn.push(n))}catch(t){Xt(2,0,t?t.name:null)}}(t),zn(t))}function Un(t){var e=t.textContent?t.textContent.trim():"",n=t.dataset?Object.keys(t.dataset).length:0;return(0===e.length||n>0)&&(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;r<n.length;r++)e+=n[r].cssText;return e}function Bn(t,e,n){return J(this,void 0,void 0,(function(){var r,a,i,o,u;return Z(this,(function(l){switch(l.label){case 0:r=[t],l.label=1;case 1:if(!(r.length>0))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();A(6,e),Vn.push({time:e,mutations:t}),pt(nr,1).then((function(){ga(Ot)(),ga(Ae)()}))}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<r.length?(a=r[n],0!==(i=gt(t))?[3,4]:[4,yt(t)]):[3,6];case 3:i=c.sent(),c.label=4;case 4:if(2===i)return[3,6];switch(o=a.target,(l=function(t,e){var n=t.target?Ee(t.target.parentNode):null;if(n&&"HTML"!==n.data.tag){var r=u()>$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&&n<t.length;n++)e.push(t[n].nodeName);return e.join()}function ar(t,e,n){return J(this,void 0,void 0,(function(){var r,a,i;return Z(this,(function(o){switch(o.label){case 0:r=t?t.length:0,a=0,o.label=1;case 1:return a<r?1!==e?[3,2]:(Bn(t[a],n,e),[3,5]):[3,6];case 2:return 0!==(i=gt(n))?[3,4]:[4,yt(n)];case 3:i=o.sent(),o.label=4;case 4:if(2===i)return[3,6];Xn(t[a],e),o.label=5;case 5:return a++,[3,1];case 6:return[2]}}))}))}function ir(t){return Kn.indexOf(t)<0&&Kn.push(t),Qn&&T(Qn),Qn=_(or,33),t}function or(){for(var t=0,e=Kn;t<e.length;t++){var n=e[t],r=n&&n.nodeType===Node.DOCUMENT_FRAGMENT_NODE;r&&Se(n)||ur(n,r?"childList":"characterData")}Kn=[]}function ur(t,e){ga(er)([{addedNodes:[t],attributeName:null,attributeNamespace:null,nextSibling:null,oldValue:null,previousSibling:null,removedNodes:[],target:t,type:e}])}function lr(t){var e=t.composed&&t.composedPath?t.composedPath():null,n=e&&e.length>0?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}Ye(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;r<a.length;r++)D=a[r],(i=sr(D.data.target,D.event)).id>0&&((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;o<l.length;o++)D=l[o],s=sr(D.data.target,D.event),n=[D.time,D.event],c=s.hash.join("."),n.push(s.id),n.push(D.data.x),n.push(D.data.y),n.push(D.data.eX),n.push(D.data.eY),n.push(D.data.button),n.push(D.data.reaction),n.push(D.data.context),n.push(at(D.data.text,"click",s.privacy)),n.push(D.data.link),n.push(c),Nr(n),pr(D.time,D.event,c,D.data.x,D.data.y,D.data.reaction,D.data.context);Je();break;case 38:for(d=0,f=Ze;d<f.length;d++)D=f[d],n=[D.time,D.event],(T=sr(D.data.target,D.event)).id>0&&(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;m<b.length;m++)D=b[m],y=sr(D.data.target,D.event),(n=[D.time,D.event]).push(y.id),n.push(D.data.value),Nr(n);rn();break;case 21:(w=yn)&&(k=sr(w.start,t),E=sr(w.end,t),n.push(k.id),n.push(w.startOffset),n.push(E.id),n.push(w.endOffset),Mn(),Nr(n));break;case 10:for(S=0,M=vn;S<M.length;S++)D=M[S],(O=sr(D.data.target,D.event)).id>0&&((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;x<I.length;x++)D=I[x],(n=[D.time,D.event]).push(D.data.type),n.push(D.data.hash),n.push(D.data.x),n.push(D.data.y),n.push(D.data.reaction),n.push(D.data.context),Nr(n,!1);hr();break;case 28:C=Nn,n.push(C.visible),Nr(n),g(e,C.visible),jn()}return[2]}))}))}var dr=[],fr=[];function hr(){fr=[]}function pr(t,e,n,r,a,i,o){void 0===i&&(i=1),void 0===o&&(o=0),dr.push({time:t,event:22,data:{type:e,hash:n,x:r,y:a,reaction:i,context:o}}),p(e,r,a)}var vr,gr,mr,br,yr,wr,kr=0,Er=0,Sr=null,Mr=0;function Or(){br=!0,kr=0,Er=0,Mr=0,vr=[],gr=[],mr={},yr=null}function Nr(t,e){if(void 0===e&&(e=!0),br){var n=u(),r=t.length>1?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),Ae(),function(){var t=[];fr=[];for(var e=ca.start+ca.duration,n=Math.max(e-2e3,0),r=0,a=dr;r<a.length;r++){var i=a[r];i.time>=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;a<i.length;a++){var o=i[a];e.push(o),e.push(U[o])}G(),Nr(e,!1)}break;case 0:var l=Object.keys(S);if(l.length>0){for(var s=0,d=l;s<d.length;s++){var f=d[s],p=parseInt(f,10);e.push(p),e.push(Math.round(S[f]))}S={},Nr(e,!1)}break;case 1:var v=Object.keys(Hr);if(v.length>0){for(var g=0,m=v;g<m.length;g++){var b=m[g];p=parseInt(b,10);e.push(p),e.push(Hr[b])}Pr(),Nr(e,!1)}break;case 36:var w=Object.keys(R);if(w.length>0){for(var E=0,M=w;E<M.length;E++){var O=M[E];p=parseInt(O,10);e.push(p),e.push([].concat.apply([],R[O]))}Y(),Nr(e,!1)}}}function jr(){wr={check:0}}function zr(t){if(0===wr.check){var e=wr.check;e=ca.sequence>=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 Ar(){0!==wr.check&&Cr(35)}function Lr(){wr=null}var Yr=null,Hr=null;function qr(){Yr={},Hr={}}function Xr(){Yr={},Hr={}}function Wr(t,e){e&&(e=""+e,t in Yr||(Yr[t]=[]),Yr[t].indexOf(e)<0&&(Yr[t].push(e),t in Hr||(Hr[t]=[]),Hr[t].push(e),Yr[t].length>128&&Rr(5)))}function Ur(){Cr(1)}function Pr(){Hr={}}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<o.length;a++){var u=o[a],l=ua(u);l&&P(u,l)}ra(r)}function Jr(){navigator.userAgentData&&navigator.userAgentData.getHighEntropyValues&&navigator.userAgentData.getHighEntropyValues(["model","platform","platformVersion","uaFullVersion"]).then((function(t){var e;Wr(22,t.platform),Wr(23,t.platformVersion),null===(e=t.brands)||void 0===e||e.forEach((function(t){Wr(24,t.name+"~"+t.version)})),Wr(25,t.model),N(27,t.mobile?1:0)}))}function Zr(){Fr=null,Vr=null,Br=null}function Kr(t,e){void 0===e&&(e=!0),Br&&!1===e?t(Br,!i.lean):Fr=t}function Qr(){return Br?[Br.userId,Br.sessionId,Br.pageNum].join("."):""}function $r(){Ia()&&(i.track=!0,ra(oa(),1))}function ta(){la("_clsk","",0)}function ea(){var t=Math.round(Date.now()),e=i.lean?0:1,n=i.upload&&"string"==typeof i.upload?i.upload.replace("https://",""):"";e&&Fr&&Fr(Br,!i.lean),la("_clsk",[Br.sessionId,t,Br.pageNum,e,n].join("|"),1)}function na(t,e){try{return!!t[e]}catch(t){return!1}}function ra(t,e){void 0===e&&(e=null),e=null===e?t.consent:e;var n=Math.ceil((Date.now()+31536e6)/864e5);(null===t.expiry||Math.abs(n-t.expiry)>=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(";");a<o.length;a++){r+="_clck"===o[a].split("=")[0].trim()?1:0}if(1===n.length||r>1){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;n<e.length;n++){var r=e[n].split("=");if(r.length>1&&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||""),u<o.length-1&&(document.cookie=a+";domain="+Vr,ua(t)===e))return;Vr=""}}catch(t){Vr=""}document.cookie=Vr?a+";domain="+Vr:a}}var sa,ca=null;function da(){var t=Br;ca={version:l,sequence:0,start:0,duration:0,projectId:t.projectId,userId:t.userId,sessionId:t.sessionId,pageNum:t.pageNum,upload:0,end:0}}function fa(){ca=null}function ha(t){return ca.start=ca.start+ca.duration,ca.duration=u()-ca.start,ca.sequence++,ca.upload=t&&"sendBeacon"in navigator?1:0,ca.end=t?1:0,[ca.version,ca.sequence,ca.start,ca.duration,ca.projectId,ca.userId,ca.sessionId,ca.pageNum,ca.upload,ca.end]}function pa(){sa=[]}function va(t){if(sa&&-1===sa.indexOf(t.message)){var e=i.report;if(e&&e.length>0){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;t<e.length;t++){var n=e[t];try{n.target.removeEventListener(n.event,n.listener,n.capture)}catch(t){}}ma=[]}var wa=null,ka=null,Ea=null,Sa=0;function Ma(){return!(Sa++>20)||(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 Aa(){Ra=null}function La(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),Aa(),Nr(n,!1)}return[2]}))}))}(29)}var Ya=["navigation","resource","longtask","first-input","layout-shift","largest-contentful-paint"];function Ha(){try{za&&za.disconnect(),za=new PerformanceObserver(ga(qa));for(var t=0,e=Ya;t<e.length;t++){var n=e[t];PerformanceObserver.supportedEntryTypes.indexOf(n)>=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;n<t.length;n++){var r=t[n];switch(r.entryType){case"navigation":La(r);break;case"resource":Wr(4,Xa(r.name));break;case"longtask":M(7);break;case"first-input":e&&N(10,r.processingStart-r.startTime);break;case"layout-shift":e&&!r.hadRecentInput&&O(9,1e3*r.value);break;case"largest-contentful-paint":e&&N(8,r.startTime)}}}(t.getEntries())}function Xa(t){var e=document.createElement("a");return e.href=t,e.hostname}var Wa=[Object.freeze({__proto__:null,start:function(){ba(window,"error",Lt),At={},qt={},ba(document,"securitypolicyviolation",Wt)},stop:function(){qt={}}}),Object.freeze({__proto__:null,start:function(){Mt(),Ot(),qe(),je=null,xe=new WeakMap,Ie={},De=[],Ce=!!window.IntersectionObserver,de(),function(){Fn=[],Kn=[],Qn=null,$n=0,tr={},null===Gn&&(Gn=CSSStyleSheet.prototype.insertRule),null===Jn&&(Jn=CSSStyleSheet.prototype.deleteRule),null===Zn&&(Zn=Element.prototype.attachShadow),CSSStyleSheet.prototype.insertRule=function(){return ir(this.ownerNode),Gn.apply(this,arguments)},CSSStyleSheet.prototype.deleteRule=function(){return ir(this.ownerNode),Jn.apply(this,arguments)};try{Element.prototype.attachShadow=function(){return ir(Zn.apply(this,arguments))}}catch(t){Zn=null}}(),pt(ja,1).then((function(){ga(Ot)(),ga(Ae)()})),jt(),Dt=null,It=!!window.ResizeObserver},stop:function(){qe(),xe=null,Ie={},De=[],je&&(je.disconnect(),je=null),Ce=!1,fe(),function(){for(var t=0,e=Fn;t<e.length;t++){var n=e[t];n&&n.disconnect()}Fn=[],null!==Gn&&(CSSStyleSheet.prototype.insertRule=Gn,Gn=null),null!==Jn&&(CSSStyleSheet.prototype.deleteRule=Jn,Jn=null),null!=Zn&&(Element.prototype.attachShadow=Zn,Zn=null),tr={},Vn=[],Kn=[],$n=0,Qn=null}(),zt(),Mt()}}),Rn,Object.freeze({__proto__:null,start:function(){Aa(),function(){window.PerformanceObserver&&PerformanceObserver.supportedEntryTypes?"complete"!==document.readyState?ba(window,"load",_.bind(this,Ha,0)):Ha():Xt(3,0)}()},stop:function(){za&&za.disconnect(),za=null,Aa()}})];function Ua(t){void 0===t&&(t=null),function(){try{return!1===_a&&"undefined"!=typeof Promise&&window.MutationObserver&&document.createTreeWalker&&"now"in Date&&"now"in performance&&"undefined"!=typeof WeakMap}catch(t){return!1}}()&&(Da(t),Ta(),et(),Wa.forEach((function(t){return ga(t.start)()})))}function Pa(){Ia()&&(Wa.slice().reverse().forEach((function(t){return ga(t.stop)()})),nt(),xa())}var Ba=Object.freeze({__proto__:null,version:l,start:Ua,pause:function(){Ia()&&(w("clarity","pause"),null===dt&&(dt=new Promise((function(t){ft=t}))))},resume:function(){Ia()&&(dt&&(ft(),dt=null,null===ct&&vt()),w("clarity","resume"))},stop:Pa,consent:$r,event:w,identify:B,set:P,upgrade:X,metadata:Kr});!function(){if("undefined"!=typeof window){var t=window,e="clarity";if(t[e]&&t[e].v)return console.warn("Error CL001: Multiple Clarity tags detected.");var n=t[e]&&t[e].q||[];for(t[e]=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return Ba[t].apply(Ba,e)},t[e].v=l;n.length>0;)t[e].apply(t,n.shift())}}()}();
|
package/build/clarity.module.js
CHANGED
|
@@ -76,7 +76,7 @@ function stop$B() {
|
|
|
76
76
|
startTime = 0;
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
var version$1 = "0.6.
|
|
79
|
+
var version$1 = "0.6.30";
|
|
80
80
|
|
|
81
81
|
// tslint:disable: no-bitwise
|
|
82
82
|
function hash (input) {
|
|
@@ -2810,7 +2810,7 @@ function start$e() {
|
|
|
2810
2810
|
deleteRule = CSSStyleSheet.prototype.deleteRule;
|
|
2811
2811
|
}
|
|
2812
2812
|
if (attachShadow === null) {
|
|
2813
|
-
attachShadow =
|
|
2813
|
+
attachShadow = Element.prototype.attachShadow;
|
|
2814
2814
|
}
|
|
2815
2815
|
// Some popular open source libraries, like styled-components, optimize performance
|
|
2816
2816
|
// by injecting CSS using insertRule API vs. appending text node. A side effect of
|
|
@@ -2828,7 +2828,7 @@ function start$e() {
|
|
|
2828
2828
|
// In case we are unable to add a hook and browser throws an exception,
|
|
2829
2829
|
// reset attachShadow variable and resume processing like before
|
|
2830
2830
|
try {
|
|
2831
|
-
|
|
2831
|
+
Element.prototype.attachShadow = function () {
|
|
2832
2832
|
return schedule(attachShadow.apply(this, arguments));
|
|
2833
2833
|
};
|
|
2834
2834
|
}
|
|
@@ -2884,7 +2884,7 @@ function stop$d() {
|
|
|
2884
2884
|
}
|
|
2885
2885
|
// Restoring original attachShadow
|
|
2886
2886
|
if (attachShadow != null) {
|
|
2887
|
-
|
|
2887
|
+
Element.prototype.attachShadow = attachShadow;
|
|
2888
2888
|
attachShadow = null;
|
|
2889
2889
|
}
|
|
2890
2890
|
history$2 = {};
|
package/package.json
CHANGED
package/src/core/version.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
let version = "0.6.
|
|
1
|
+
let version = "0.6.30";
|
|
2
2
|
export default version;
|
package/src/layout/mutation.ts
CHANGED
|
@@ -36,7 +36,7 @@ export function start(): void {
|
|
|
36
36
|
|
|
37
37
|
if (insertRule === null) { insertRule = CSSStyleSheet.prototype.insertRule; }
|
|
38
38
|
if (deleteRule === null) { deleteRule = CSSStyleSheet.prototype.deleteRule; }
|
|
39
|
-
if (attachShadow === null) { attachShadow =
|
|
39
|
+
if (attachShadow === null) { attachShadow = Element.prototype.attachShadow; }
|
|
40
40
|
|
|
41
41
|
// Some popular open source libraries, like styled-components, optimize performance
|
|
42
42
|
// by injecting CSS using insertRule API vs. appending text node. A side effect of
|
|
@@ -56,7 +56,7 @@ export function start(): void {
|
|
|
56
56
|
// In case we are unable to add a hook and browser throws an exception,
|
|
57
57
|
// reset attachShadow variable and resume processing like before
|
|
58
58
|
try {
|
|
59
|
-
|
|
59
|
+
Element.prototype.attachShadow = function (): ShadowRoot {
|
|
60
60
|
return schedule(attachShadow.apply(this, arguments)) as ShadowRoot;
|
|
61
61
|
}
|
|
62
62
|
} catch { attachShadow = null; }
|
|
@@ -107,7 +107,7 @@ export function stop(): void {
|
|
|
107
107
|
|
|
108
108
|
// Restoring original attachShadow
|
|
109
109
|
if (attachShadow != null) {
|
|
110
|
-
|
|
110
|
+
Element.prototype.attachShadow = attachShadow;
|
|
111
111
|
attachShadow = null;
|
|
112
112
|
}
|
|
113
113
|
|
package/test/helper.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Core, Data, Layout } from "clarity-decode";
|
|
2
2
|
import * as fs from 'fs';
|
|
3
|
+
import * as url from 'url';
|
|
3
4
|
import * as path from 'path';
|
|
4
5
|
import { Browser, Page, chromium } from 'playwright';
|
|
5
6
|
|
|
@@ -8,7 +9,13 @@ export async function launch(): Promise<Browser> {
|
|
|
8
9
|
}
|
|
9
10
|
|
|
10
11
|
export async function markup(page: Page, file: string, override: Core.Config = null): Promise<string[]> {
|
|
11
|
-
const
|
|
12
|
+
const htmlPath = path.resolve(__dirname, `./html/${file}`);
|
|
13
|
+
const htmlFileUrl = url.pathToFileURL(htmlPath).toString();
|
|
14
|
+
const html = fs.readFileSync(htmlPath, 'utf8');
|
|
15
|
+
await Promise.all([
|
|
16
|
+
page.goto(htmlFileUrl),
|
|
17
|
+
page.waitForNavigation()
|
|
18
|
+
]);
|
|
12
19
|
await page.setContent(html.replace("</body>", `
|
|
13
20
|
<script>
|
|
14
21
|
window.payloads = [];
|
|
@@ -17,6 +24,7 @@ export async function markup(page: Page, file: string, override: Core.Config = n
|
|
|
17
24
|
</script>
|
|
18
25
|
</body>
|
|
19
26
|
`));
|
|
27
|
+
await page.hover("#two");
|
|
20
28
|
await page.waitForFunction("payloads && payloads.length > 1");
|
|
21
29
|
return await page.evaluate('payloads');
|
|
22
30
|
}
|
|
@@ -34,7 +42,7 @@ export function node(decoded: Data.DecodedPayload[], key: string, value: string
|
|
|
34
42
|
}
|
|
35
43
|
|
|
36
44
|
// Walking over the decoded payload to find the right match
|
|
37
|
-
for (let i = decoded.length - 1; i
|
|
45
|
+
for (let i = decoded.length - 1; i >= 0; i--) {
|
|
38
46
|
if (decoded[i].dom) {
|
|
39
47
|
for (let j = 0; j < decoded[i].dom.length; j++) {
|
|
40
48
|
if (decoded[i].dom[j].data) {
|