clarity-js 0.6.26 → 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.
@@ -1 +1 @@
1
- !function(){"use strict";var t=Object.freeze({__proto__:null,get track(){return La},get start(){return qa},get queue(){return Wa},get stop(){return Ua}}),e={projectId:null,delay:1e3,lean:!1,track:!0,content:!0,mask:[],unmask:[],regions:[],metrics:[],cookies:[],report:null,upload:null,fallback:null,upgrade:null},n=0;function a(t){return void 0===t&&(t=null),t=t||performance.now(),Math.max(Math.round(t-n),0)}var r=null,i=null,o=!1;function u(){o&&(r={time:a(),event:4,data:{visible:i.visible,docWidth:i.docWidth,docHeight:i.docHeight,screenWidth:i.screenWidth,screenHeight:i.screenHeight,scrollX:i.scrollX,scrollY:i.scrollY,pointerX:i.pointerX,pointerY:i.pointerY,activityTime:i.activityTime}}),i=i||{visible:1,docWidth:0,docHeight:0,screenWidth:0,screenHeight:0,scrollX:0,scrollY:0,pointerX:0,pointerY:0,activityTime:0}}function l(t,e,n){switch(t){case 8:i.docWidth=e,i.docHeight=n;break;case 11:i.screenWidth=e,i.screenHeight=n;break;case 10:i.scrollX=e,i.scrollY=n;break;default:i.pointerX=e,i.pointerY=n}o=!0}function s(t){i.activityTime=t}function c(t,e){i.visible="visible"===e?1:0,i.visible||s(t),o=!0}function d(){o&&Ga(4)}var f=Object.freeze({__proto__:null,get state(){return r},start:function(){o=!1,u()},reset:u,track:l,activity:s,visibility:c,compute:d,stop:function(){u()}}),h=null;function p(t,e){pr()&&t&&e&&"string"==typeof t&&"string"==typeof e&&t.length<255&&e.length<255&&(h={key:t,value:e},Ga(24))}function v(t){for(var e=5381,n=e,a=0;a<t.length;a+=2){if(e=(e<<5)+e^t.charCodeAt(a),a+1<t.length)n=(n<<5)+n^t.charCodeAt(a+1)}return Math.abs(e+11579*n).toString(36)}var g=null;function m(t,e){y(t,"string"==typeof e?[e]:e)}function b(t,e,n){void 0===e&&(e=null),void 0===n&&(n=null),y("userId",[t]),y("sessionId",[e]),y("pageId",[n])}function y(t,e){if(pr()&&t&&e&&"string"==typeof t&&t.length<255){for(var n=(t in g?g[t]:[]),a=0;a<e.length;a++)"string"==typeof e[a]&&e[a].length<255&&n.push(e[a]);g[t]=n}}function w(){Ga(34)}function k(){g={}}var E=Object.freeze({__proto__:null,get data(){return g},start:function(){k()},set:m,identify:b,compute:w,reset:k,stop:function(){k()}}),M=null,S=null,O=null;function N(t){S=t}function _(){return M?[M.userId,M.sessionId,M.pageNum].join("."):""}function T(){pr()&&(e.track=!0,C(R(),1))}function x(){A("_clsk","",0)}function I(){var t=Math.round(Date.now()),n=e.lean?0:1,a=e.upload&&"string"==typeof e.upload?e.upload.replace("https://",""):"";n&&S&&S(M,!e.lean),A("_clsk",[M.sessionId,t,M.pageNum,n,a].join("|"),1)}function D(t,e){try{return!!t[e]}catch(t){return!1}}function C(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)&&A("_clck",[M.userId,1,n.toString(36),e].join("|"),365)}function j(){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 z(t,e){return void 0===e&&(e=10),parseInt(t,e)}function R(){var t={id:j(),expiry:null,consent:0},n=L("_clck");if(n&&n.length>0){for(var a=n.split("|"),r=0,i=0,o=document.cookie.split(";");i<o.length;i++){r+="_clck"===o[i].split("=")[0].trim()?1:0}if(1===a.length||r>1){var u=";expires="+new Date(0).toUTCString()+";path=/";document.cookie="_clck="+u,document.cookie="_clsk="+u}a.length>2&&(t.expiry=z(a[2],36)),a.length>3&&1===z(a[3])&&(t.consent=1),e.track=e.track||1===t.consent,t.id=e.track?a[0]:t.id}return t}function L(t){if(D(document,"cookie")){var e=document.cookie.split(";");if(e)for(var n=0;n<e.length;n++){var a=e[n].split("=");if(a.length>1&&a[0]&&a[0].trim()===t)return a[1]}}return null}function A(t,n,a){if(e.track&&(navigator&&navigator.cookieEnabled||D(document,"cookie"))){var r=new Date;r.setDate(r.getDate()+a);var i=t+"="+n+";"+(r?"expires="+r.toUTCString():"")+";path=/";try{if(null===O){for(var o=location.hostname?location.hostname.split("."):[],u=o.length-1;u>=0;u--)if(O="."+o[u]+(O||""),u<o.length-1&&(document.cookie=i+";domain="+O,L(t)===n))return;O=""}}catch(t){O=""}document.cookie=O?i+";domain="+O:i}}var Y,H=Object.freeze({__proto__:null,get data(){return M},get callback(){return S},start:function(){S=null,O=null;var t=navigator&&"userAgent"in navigator?navigator.userAgent:"",n=document&&document.title?document.title:"",a=function(){var t={session:j(),ts:Math.round(Date.now()),count:1,upgrade:null,upload:""},e=L("_clsk");if(e){var n=e.split("|");n.length>=5&&t.ts-z(n[1])<18e5&&(t.session=n[0],t.count=z(n[2])+1,t.upgrade=z(n[3]),t.upload=n.length>=6?"https://"+n[5]+"/"+n[4]:"https://"+n[4])}return t}(),r=R();M={projectId:e.projectId||v(location.host),userId:r.id,sessionId:a.session,pageNum:a.count},e.lean=e.track&&null!==a.upgrade?0===a.upgrade:e.lean,e.upload=e.track&&"string"==typeof e.upload&&a.upload&&a.upload.length>"https://".length?a.upload:e.upload,Q(0,t),Q(3,n),Q(1,location.href),Q(2,document.referrer),Q(15,function(){var t=j();if(e.track&&D(window,"sessionStorage")){var n=sessionStorage.getItem("_cltk");t=n||t,sessionStorage.setItem("_cltk",t)}return t}()),Q(16,document.documentElement.lang),Q(17,document.dir),navigator&&Q(9,navigator.userLanguage||navigator.language),$a(0,a.ts),$a(1,0),screen&&($a(14,Math.round(screen.width)),$a(15,Math.round(screen.height)),$a(16,Math.round(screen.colorDepth)));for(var i=0,o=e.cookies;i<o.length;i++){var u=o[i],l=L(u);l&&m(u,l)}C(r)},stop:function(){S=null,O=null},metadata:N,id:_,consent:T,clear:x,save:I});function X(){Y=[]}var q="0.6.26",W=null;function U(t){return W.start=W.start+W.duration,W.duration=a()-W.start,W.sequence++,W.upload=t&&"sendBeacon"in navigator?1:0,W.end=t?1:0,[W.version,W.sequence,W.start,W.duration,W.projectId,W.userId,W.sessionId,W.pageNum,W.upload,W.end]}var P,B=Object.freeze({__proto__:null,get data(){return W},start:function(){var t=M;W={version:q,sequence:0,start:0,duration:0,projectId:t.projectId,userId:t.userId,sessionId:t.sessionId,pageNum:t.pageNum,upload:0,end:0}},stop:function(){W=null},envelope:U});function F(t){if(0===P.check){var e=P.check;e=W.sequence>=128?1:e,e=a()>72e5?2:e,(e=t>10485760?2:e)!==P.check&&V(e)}}function V(t){!function(t,n){if(void 0===n&&(n=null),Y&&-1===Y.indexOf(n)){var a=e.report;if(a&&a.length>0){var r={c:t,p:M.projectId,u:M.userId,s:M.sessionId,n:M.pageNum};n&&(r.m=n);var i=new XMLHttpRequest;i.open("POST",a),i.send(JSON.stringify(r)),Y.push(n)}}}(t),P.check=t,x(),Cr()}function G(){0!==P.check&&Ga(35)}var J=Object.freeze({__proto__:null,get data(){return P},start:function(){P={check:0}},check:F,trigger:V,compute:G,stop:function(){P=null}}),Z=null,K=null;function Q(t,e){e&&(e=""+e,t in Z||(Z[t]=[]),Z[t].indexOf(e)<0&&(Z[t].push(e),t in K||(K[t]=[]),K[t].push(e),Z[t].length>128&&V(5)))}function $(){Ga(1)}function tt(){K={}}var et,nt=Object.freeze({__proto__:null,get data(){return Z},get updates(){return K},start:function(){Z={},K={}},stop:function(){Z={},K={}},log:Q,compute:$,reset:tt});function at(t,e,n){return window.setTimeout(tr(t),e,n)}function rt(t){return window.clearTimeout(t)}var it=0,ot=0,ut=null;function lt(){ut&&rt(ut),ut=at(st,ot),it=a()}function st(){var t=a();et={gap:t-it},Ga(25),et.gap<3e5?ut=at(st,ot):dr&&(p("clarity","suspend"),Cr(),["mousemove","touchstart"].forEach((function(t){return nr(document,t,gr)})),["resize","scroll","pageshow"].forEach((function(t){return nr(window,t,gr)})))}var ct=Object.freeze({__proto__:null,get data(){return et},start:function(){ot=6e4,it=0},reset:lt,stop:function(){rt(ut),it=0,ot=0}}),dt=null;function ft(t,e){if(t in dt){var n=dt[t],a=n[n.length-1];e-a[0]>100?dt[t].push([e,0]):a[1]=e-a[0]}else dt[t]=[[e,0]]}function ht(){Ga(36)}function pt(){dt={}}var vt=null;function gt(t){pr()&&e.lean&&(e.lean=!1,vt={key:t},I(),e.upgrade&&e.upgrade(t),Ga(3))}function mt(t,e,n,a){return new(n||(n=Promise))((function(r,i){function o(t){try{l(a.next(t))}catch(t){i(t)}}function u(t){try{l(a.throw(t))}catch(t){i(t)}}function l(t){var e;t.done?r(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(o,u)}l((a=a.apply(t,e||[])).next())}))}function bt(t,e){var n,a,r,i,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[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,a&&(r=2&i[0]?a.return:i[0]?a.throw||((r=a.return)&&r.call(a),0):a.next)&&!(r=r.call(a,i[1])).done)return r;switch(a=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return o.label++,{value:i[1],done:!1};case 5:o.label++,a=i[1],i=[0];continue;case 7:i=o.ops.pop(),o.trys.pop();continue;default:if(!(r=o.trys,(r=r.length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){o=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){o.label=i[1];break}if(6===i[0]&&o.label<r[1]){o.label=r[1],r=i;break}if(r&&o.label<r[2]){o.label=r[2],o.ops.push(i);break}r[2]&&o.ops.pop(),o.trys.pop();continue}i=e.call(t,o)}catch(t){i=[6,t],a=0}finally{n=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}}var yt="CompressionStream"in window;function wt(t){return mt(this,void 0,void 0,(function(){var e,n;return bt(this,(function(a){switch(a.label){case 0:return a.trys.push([0,3,,4]),yt?(e=new ReadableStream({start:function(e){return mt(this,void 0,void 0,(function(){return bt(this,(function(n){return e.enqueue(t),e.close(),[2]}))}))}}).pipeThrough(new TextEncoderStream).pipeThrough(new window.CompressionStream("gzip")),n=Uint8Array.bind,[4,kt(e)]):[3,2];case 1:return[2,new(n.apply(Uint8Array,[void 0,a.sent()]))];case 2:return[3,4];case 3:return a.sent(),[3,4];case 4:return[2,null]}}))}))}function kt(t){return mt(this,void 0,void 0,(function(){var e,n,a,r,i;return bt(this,(function(o){switch(o.label){case 0:e=t.getReader(),n=[],a=!1,r=[],o.label=1;case 1:return a?[3,3]:[4,e.read()];case 2:return i=o.sent(),a=i.done,r=i.value,a?[2,n]:(n.push.apply(n,r),[3,1]);case 3:return[2,n]}}))}))}var Et=[f,nt,E,J,Object.freeze({__proto__:null,get data(){return dt},start:function(){dt={}},stop:function(){dt={}},track:ft,compute:ht,reset:pt}),H,B,t,ct,Object.freeze({__proto__:null,get data(){return vt},start:function(){!e.lean&&e.upgrade&&e.upgrade("Config"),vt=null},upgrade:gt,stop:function(){vt=null}})];function Mt(){Ja={},Za={},Ka(5),Et.forEach((function(t){return tr(t.start)()}))}function St(){Et.slice().reverse().forEach((function(t){return tr(t.stop)()})),Ja={},Za={}}function Ot(){w(),d(),$(),Ga(0),ht(),G()}function Nt(t,e,n,a){if(void 0===a&&(a=!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,a=!1,r=!1,i=null,o=0;o<t.length;o++){var u=t.charCodeAt(o);n=n||u>=48&&u<=57,a=a||64===u,r=9===u||10===u||13===u||32===u,(0===o||o===t.length-1||r)&&((n||a)&&(null===i&&(i=t.split("")),xt(i,e,r?o:o+1)),r&&(n=!1,a=!1,e=o))}return i?i.join(""):t}(t);case"input":return Tt(t)}return t;case 2:case 3:switch(e){case"*T":return a?function(t){var e=t.trim();if(e.length>0){var n=e[0],a=t.indexOf(n),r=t.substr(0,a),i=t.substr(a+e.length);return""+r+e.length.toString(36)+i}return t}(t):_t(t);case"src":case"srcset":case"title":case"alt":return 3===n?"":t;case"value":case"click":case"input":return Tt(t);case"placeholder":return _t(t)}}return t}function _t(t){return t.replace(/\S/gi,"•")}function Tt(t){for(var e=5*(Math.floor(t.length/5)+1),n="",a=0;a<e;a++)n+=a>0&&a%5==0?" ":"•";return n}function xt(t,e,n){for(var a=e+1;a<n;a++)t[a]="•"}var It={},Dt=[],Ct=null,jt=null,zt=null;function Rt(){It={},Dt=[],Ct=null,jt=null}function Lt(t,e){return void 0===e&&(e=0),mt(this,void 0,void 0,(function(){var n,a,r;return bt(this,(function(i){for(n=0,a=Dt;n<a.length;n++)if(a[n].task===t)return[2];return r=new Promise((function(n){Dt[1===e?"unshift":"push"]({task:t,resolve:n,id:_()})})),null===Ct&&null===jt&&At(),[2,r]}))}))}function At(){var t=Dt.shift();t&&(Ct=t,t.task().then((function(){t.id===_()&&(t.resolve(),Ct=null,At())})).catch((function(e){t.id===_()&&(e&&de(0,1,e.name,e.message,e.stack),Ct=null,At())})))}function Yt(t){var e=Wt(t);return e in It?performance.now()-It[e].start>It[e].yield?0:1:2}function Ht(t){It[Wt(t)]={start:performance.now(),calls:0,yield:30}}function Xt(t){var e=performance.now(),n=Wt(t),a=e-It[n].start;Qa(t.cost,a),Ka(5),It[n].calls>0&&Qa(4,a)}function qt(t){return mt(this,void 0,void 0,(function(){var e,n;return bt(this,(function(a){switch(a.label){case 0:return(e=Wt(t))in It?(Xt(t),n=It[e],[4,Ut()]):[3,2];case 1:n.yield=a.sent().timeRemaining(),function(t){var e=Wt(t);if(It&&It[e]){var n=It[e].calls,a=It[e].yield;Ht(t),It[e].calls=n+1,It[e].yield=a}}(t),a.label=2;case 2:return[2,e in It?1:2]}}))}))}function Wt(t){return t.id+"."+t.cost}function Ut(){return mt(this,void 0,void 0,(function(){return bt(this,(function(t){switch(t.label){case 0:return jt?[4,jt]:[3,2];case 1:t.sent(),t.label=2;case 2:return[2,new Promise((function(t){Ft(t,{timeout:5e3})}))]}}))}))}var Pt,Bt,Ft=window.requestIdleCallback||function(t,e){var n=performance.now(),a=new MessageChannel,r=a.port1,i=a.port2;r.onmessage=function(a){var r=performance.now(),o=r-n,u=r-a.data;if(u>30&&o<e.timeout)requestAnimationFrame((function(){i.postMessage(r)}));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 Vt(t){var e=t.target;e&&"IMG"===e.tagName&&(Pt={source:e.src,target:e},Lt(le.bind(this,32)))}function Gt(){Bt=null}function Jt(){var t=document.body,e=document.documentElement,n=t?t.clientWidth:null,a=t?t.scrollWidth:null,r=t?t.offsetWidth:null,i=e?e.clientWidth:null,o=e?e.scrollWidth:null,u=e?e.offsetWidth:null,l=Math.max(n,a,r,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!==Bt&&l===Bt.width&&v===Bt.height||null===l||null===v||(Bt={width:l,height:v},Zt(8))}function Zt(t,n,r){return void 0===n&&(n=null),void 0===r&&(r=null),mt(this,void 0,void 0,(function(){var i,o,u,c,d,f,h,p,v,g,m,b,y,w,k,E,M,S,O,N,_,T,x,I,D,C;return bt(this,(function(j){switch(j.label){case 0:switch(i=r||a(),o=[i,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 u=Bt,o.push(u.width),o.push(u.height),l(t,u.width,u.height),Wa(o),[3,11];case 2:for(c=0,d=Ke;c<d.length;c++)f=d[c],(o=[f.time,7]).push(f.data.id),o.push(f.data.interaction),o.push(f.data.visibility),o.push(f.data.name),Wa(o);return cn(),[3,11];case 3:for(h=0,p=$t;h<p.length;h++)v=p[h],o.push(v.id),o.push(v.width),o.push(v.height);return ae(),Wa(o),[3,11];case 4:if(2===Yt(n))return[3,11];if(!((g=Ve()).length>0))return[3,10];m=0,b=g,j.label=5;case 5:return m<b.length?(y=b[m],0!==(w=Yt(n))?[3,7]:[4,qt(n)]):[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,M=y.metadata.suspend,S=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===te)return;if(ee=null===ee?new ResizeObserver(ne):ee){var e=Pe(t);if(e&&null!==e.metadata.size&&0===e.metadata.size.length){var n=Ue(t);if(n&&n.nodeType===Node.ELEMENT_NODE){var a=n,r=a.getBoundingClientRect();e.metadata.size=[Math.floor(100*r.width),Math.floor(100*r.height)],ee.observe(a)}}}}(y.id),_=0,T=N;_<T.length;_++)if(k[x=T[_]])switch(x){case"tag":I=y.metadata.size,D=O?-1:1,o.push(y.id*D),y.parent&&E&&o.push(y.parent),y.previous&&E&&o.push(y.previous),o.push(M?"*M":k[x]),I&&2===I.length&&o.push("#"+Kt(I[0])+"."+Kt(I[1]));break;case"attributes":for(C in k[x])void 0!==k[x][C]&&o.push(Qt(C,k[x][C],S));break;case"value":o.push(Nt(k[x],k.tag,S,O))}j.label=8;case 8:return m++,[3,5];case 9:6===t&&s(i),Wa(function(t){for(var e=[],n={},a=0,r=null,i=0;i<t.length;i++)if("string"==typeof t[i]){var o=t[i],u=n[o]||-1;u>=0?r?r.push(u):(r=[u],e.push(r),a++):(r=null,e.push(o),n[o]=a++)}else r=null,e.push(t[i]),a++;return e}(o),!e.lean),j.label=10;case 10:return[3,11];case 11:return[2]}}))}))}function Kt(t){return t.toString(36)}function Qt(t,e,n){return t+"="+Nt(e,t,n)}var $t=[],te=!1,ee=null;function ne(t){window.requestAnimationFrame((function(){for(var e=0,n=t;e<n.length;e++){var a=n[e],r=a.target,i=r?Ye(r):null;if(i){var o=Pe(i).metadata.size,u=a.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=r.getBoundingClientRect();l=Math.floor(100*c.width),s=Math.floor(100*c.height)}l!==o[0]&&s!==o[1]&&(o=[l,s],$t.push({id:i,width:l,height:s}))}}$t.length>0&&Zt(37)}))}function ae(){$t=[]}function re(){ae(),ee&&(ee.disconnect(),ee=null),te=!1}var ie,oe={};function ue(t){var e=t.error||t;if(e.message in oe||(oe[e.message]=0),oe[e.message]++>=5)return!0;if(e&&e.message){if(ie={message:e.message,line:t.lineno,column:t.colno,stack:e.stack,source:t.filename},e.message.indexOf("ResizeObserver")>=0)return re(),!1;le(31)}return!0}function le(t){return mt(this,void 0,void 0,(function(){var e,n;return bt(this,(function(r){switch(e=[a(),t],t){case 31:e.push(ie.message),e.push(ie.line),e.push(ie.column),e.push(ie.stack),e.push(ie.source),Wa(e);break;case 32:Pt&&(n=Na(Pt.target,t),e.push(Pt.source),e.push(n.id),Wa(e));break;case 33:se&&(e.push(se.code),e.push(se.name),e.push(se.message),e.push(se.stack),e.push(se.severity),Wa(e,!1))}return[2]}))}))}var se,ce={};function de(t,e,n,a,r){void 0===n&&(n=null),void 0===a&&(a=null),void 0===r&&(r=null);var i=n?n+"|"+a:"";t in ce&&ce[t].indexOf(i)>=0||(se={code:t,name:n,message:a,stack:r,severity:e},t in ce?ce[t].push(i):ce[t]=[i],le(33))}function fe(t){var n=e.upload,a=n?n.substr(0,n.indexOf("/","https://".length)).split("."):[],r=a.length>=2?a.splice(-2).join("."):null;r&&t.blockedURI&&t.blockedURI.indexOf(r)>=0&&"report"!==t.disposition&&de(7,1,t.blockedURI)}var he=/1/g,pe=/[^0-9\.]/g,ve=/[^0-9\.,]/g,ge={};function me(t,e){for(var n=function(e){var n=e[0],a=e[1],r=e[2],i=e[3],o=!0;switch(r){case 0:o=i&&!!top.location.href.match(function(t){return ge[t]=t in ge?ge[t]:new RegExp(t),ge[t]}(i));break;case 1:o=i&&!!be(i)}o&&t.querySelectorAll(a).forEach((function(t){return an(t,n.toString())}))},a=0,r=e;a<r.length;a++){n(r[a])}}function be(t,e,n){void 0===e&&(e=null),void 0===n&&(n=window);var a=t.split("."),r=a.shift();return n&&n[r]?a.length>0?be(a.join("."),e,n[r]):null===e||e===typeof n[r]?n[r]:null:null}function ye(t,e,n){void 0===n&&(n=!0);try{e=e||1;var a=document.documentElement.lang;if(Intl&&Intl.NumberFormat&&a&&n){t=t.replace(ve,"");var r=Intl.NumberFormat(a).format(11111).replace(he,""),i=Intl.NumberFormat(a).format(1.1).replace(he,"");return Math.round(parseFloat(t.replace(new RegExp("\\"+r,"g"),"").replace(new RegExp("\\"+i),"."))*e)}return Math.round(parseFloat(t.replace(pe,""))*e)}catch(t){return null}}var we=["DIV","TR","P","LI","UL","A","BUTTON"];function ke(t,e){void 0===e&&(e=!1);var n=t.attributes,a=t.prefix?t.prefix[e?1:0]:null,r=e||n&&!("class"in n)||we.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===a)return"";a+=">",t.tag=0===t.tag.indexOf("svg:")?t.tag.substr("svg:".length):t.tag;var i=""+a+t.tag+r,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!Ee(t)})):[]).length>0?""+a+t.tag+"."+o.join(".")+r:i,i=u&&!1===Ee(u)?"#"+u:i}else i=o?""+a+t.tag+"."+o.join(".")+r:i;return i}}function Ee(t){for(var e=0;e<t.length;e++){var n=t.charCodeAt(e);return n>=48&&n<=57}return!1}var Me=1,Se=["password","hidden","email","tel"],Oe=["addr","cell","code","dob","email","mob","name","phone","secret","social","ssn","tel","zip","pass"],Ne=["address","password","contact"],_e=[],Te=[],xe=[],Ie={},De=null,Ce=null,je=null;function ze(){Le(),Ae(document)}function Re(){Le()}function Le(){Me=1,_e=[],Te=[],xe=[],Ie={},De=new WeakMap,Ce=new WeakMap,je=new WeakMap}function Ae(t){try{"querySelectorAll"in t&&(me(t,e.regions),function(t,e){for(var n=function(e){var n=e[0],a=e[1],r=e[2],i=e[3];if(r)switch(a){case 0:t.querySelectorAll(r).forEach((function(t){$a(n,ye(t.innerText,i))}));break;case 2:t.querySelectorAll("["+r+"]").forEach((function(t){$a(n,ye(t.getAttribute(r),i,!1))}));break;case 1:$a(n,be(r,"number"))}},a=0,r=e;a<r.length;a++)n(r[a])}(t,e.metrics),e.mask.forEach((function(e){return t.querySelectorAll(e).forEach((function(t){return je.set(t,3)}))})),e.unmask.forEach((function(e){return t.querySelectorAll(e).forEach((function(t){return je.set(t,0)}))})))}catch(t){de(5,1,t?t.name:null)}}function Ye(t,e){if(void 0===e&&(e=!1),null===t)return null;var n=De.get(t);return!n&&e&&(n=Me++,De.set(t,n)),n||null}function He(t){var e=!1;if(t.nodeType===Node.ELEMENT_NODE&&"IFRAME"===t.tagName){var n=t;try{n.contentDocument&&(Ce.set(n.contentDocument,n),e=!0)}catch(t){}}return e}function Xe(t){var e=t.nodeType===Node.DOCUMENT_NODE?t:null;return e&&Ce.has(e)?Ce.get(e):null}function qe(t,e,n){if("object"==typeof t[n]&&"object"==typeof e[n]){for(var a in t[n])if(t[n][a]!==e[n][a])return!0;for(var a in e[n])if(e[n][a]!==t[n][a])return!0;return!1}return t[n]!==e[n]}function We(t){var e=t.parent&&t.parent in Te?Te[t.parent]:null,n=e?e.selector:null,a=t.data,r=function(t,e){e.metadata.position=1;for(var n=t?t.children.indexOf(e.id):-1;n-- >0;){var a=Te[t.children[n]];if(e.data.tag===a.data.tag){e.metadata.position=a.metadata.position+1;break}}return e.metadata.position}(e,t),i={tag:a.tag,prefix:n,position:r,attributes:a.attributes};t.selector=[ke(i),ke(i,!0)],t.hash=t.selector.map((function(t){return t?v(t):null})),t.hash.forEach((function(e){return Ie[e]=t.id}))}function Ue(t){return t in _e?_e[t]:null}function Pe(t){return t in Te?Te[t]:null}function Be(t){var e=Ye(t);return e in Te?Te[e]:null}function Fe(t){return Ye(t)in _e}function Ve(){for(var t=[],e=0,n=xe;e<n.length;e++){var a=n[e];a in Te&&t.push(Te[a])}return xe=[],t}function Ge(t){for(var e=null;null===e&&t.previousSibling;)e=Ye(t.previousSibling),t=t.previousSibling;return e}function Je(t,e,n,a){void 0===n&&(n=!0),void 0===a&&(a=!1);var r=xe.indexOf(t);r>=0&&1===e&&a?(xe.splice(r,1),xe.push(t)):-1===r&&n&&xe.push(t)}var Ze=Object.freeze({__proto__:null,start:ze,stop:Re,parse:Ae,getId:Ye,add:function(t,n,a,r){var i=Ye(t,!0),o=n?Ye(n):null,u=Ge(t),l=e.content?1:2,s=null,c="",d=rn(t)?i:null;o>=0&&Te[o]&&(c=(s=Te[o]).data.tag,s.children.push(i),d=null===d?s.region:d,l=s.metadata.privacy),l=function(t,e,n,a){var r=e.attributes,i=e.tag.toUpperCase();if(je.has(t))return je.get(t);if(null==r)return a;if("class"in r&&1===a)for(var o=0,u=Ne;o<u.length;o++){var l=u[o];if(r.class.indexOf(l)>=0){a=2;break}}if("INPUT"===i)if(0===a){for(var s="",c=0,d=Object.keys(r);c<d.length;c++){s+=r[d[c]].toLowerCase()}for(var f=0,h=Oe;f<h.length;f++){var p=h[f];if(s.indexOf(p)>=0){a=2;break}}}else 1===a&&(a=r&&"submit"===r.type?0:2);"type"in r&&Se.indexOf(r.type)>=0&&(a=2);"data-clarity-mask"in r&&(a=3);"data-clarity-unmask"in r&&(a=0);var v="*T"===i?n:i;"STYLE"!==v&&"TITLE"!==v||(a=0);return a}(t,a,c,l),a.attributes&&"data-clarity-region"in a.attributes&&(an(t,a.attributes["data-clarity-region"]),d=i),_e[i]=t,Te[i]={id:i,parent:o,previous:u,children:[],data:a,selector:null,hash:null,region:d,metadata:{active:!0,suspend:!1,privacy:l,position:null,size:null}},We(Te[i]),function(t,e){var n=t.data,a="*T"===n.tag&&n.value&&n.value.length>15,r=2===t.metadata.privacy||3===t.metadata.privacy;a&&r&&e&&null===e.metadata.size&&(e.metadata.size=[]);"IMG"===n.tag&&3===t.metadata.privacy&&(t.metadata.size=[])}(Te[i],s),Je(i,r)},update:function(t,e,n,a){var r=Ye(t),i=e?Ye(e):null,o=Ge(t),u=!1,l=!1;if(r in Te){var s=Te[r];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:Te[i].children.indexOf(o)+1;Te[i].children.splice(d,0,r),s.region=rn(t)?r:Te[i].region}else!function(t,e){if(t in Te){var n=Te[t];n.metadata.active=!1,n.parent=null,Je(t,e)}}(r,a);if(null!==c&&c>=0){var f=Te[c].children.indexOf(r);f>=0&&Te[c].children.splice(f,1)}l=!0}for(var h in n)qe(s.data,n,h)&&(u=!0,s.data[h]=n[h]);We(s),Je(r,a,u,l)}},sameorigin:He,iframe:Xe,getNode:Ue,getValue:Pe,get:Be,lookup:function(t){return t in Ie?Ie[t]:null},has:Fe,updates:Ve}),Ke=[],Qe=null,$e={},tn=[],en=!1,nn=null;function an(t,e){!1===Qe.has(t)&&(Qe.set(t,e),(nn=null===nn&&en?new IntersectionObserver(un,{threshold:[0,.2,.4,.6,.8,1]}):nn)&&t&&t.nodeType===Node.ELEMENT_NODE&&nn.observe(t))}function rn(t){return Qe&&Qe.has(t)}function on(){for(var t=[],e=0,n=tn;e<n.length;e++){var a=n[e],r=Ye(a.node);r in $e||(r?(a.data.id=r,$e[r]=a.data,Ke.push(sn(a.data))):t.push(a))}tn=t,Ke.length>0&&Zt(7)}function un(t){for(var e=0,n=t;e<n.length;e++){var a=n[e],r=a.target,i=a.boundingClientRect,o=a.intersectionRect,u=a.rootBounds;if(Qe.has(r)&&i.width+i.height>0&&u.width>0&&u.height>0){var l=r?Ye(r):null,s=l in $e?$e[l]:{id:l,name:Qe.get(r),interaction:16,visibility:0},c=(o?o.width*o.height*1/(u.width*u.height):0)>.05||a.intersectionRatio>.8,d=(c||10==s.visibility)&&Math.abs(i.top)+u.height>i.height;ln(r,s,s.interaction,d?13:c?10:0),s.visibility>=13&&nn&&nn.unobserve(r)}}Ke.length>0&&Zt(7)}function ln(t,e,n,a){var r=n>e.interaction||a>e.visibility;e.interaction=n>e.interaction?n:e.interaction,e.visibility=a>e.visibility?a:e.visibility,e.id?(e.id in $e&&r||!(e.id in $e))&&($e[e.id]=e,Ke.push(sn(e))):tn.push({node:t,data:e})}function sn(t){return{time:a(),data:{id:t.id,interaction:t.interaction,visibility:t.visibility,name:t.name}}}function cn(){Ke=[]}function dn(t){var e={x:0,y:0};if(t&&t.offsetParent)do{var n=t.offsetParent,a=null===n?Xe(t.ownerDocument):null;e.x+=t.offsetLeft,e.y+=t.offsetTop,t=a||n}while(t);return e}var fn=["input","textarea","radio","button","canvas"],hn=[];function pn(t){nr(t,"click",vn.bind(this,9,t),!0)}function vn(t,e,n){var r=Xe(e),i=r?r.contentDocument.documentElement:document.documentElement,o="pageX"in n?Math.round(n.pageX):"clientX"in n?Math.round(n.clientX+i.scrollLeft):null,u="pageY"in n?Math.round(n.pageY):"clientY"in n?Math.round(n.clientY+i.scrollTop):null;if(r){var l=dn(r);o=o?o+Math.round(l.x):o,u=u?u+Math.round(l.y):u}var s=Oa(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 a=t.getBoundingClientRect();a&&a.width>0&&a.height>0&&(e={x:Math.floor(a.left+("pageXOffset"in window?window.pageXOffset:n.scrollLeft)),y:Math.floor(a.top+("pageYOffset"in window?window.pageYOffset:n.scrollTop)),w:Math.floor(a.width),h:Math.floor(a.height)})}return e}(s);0===n.detail&&d&&(o=Math.round(d.x+d.w/2),u=Math.round(d.y+d.h/2));var f=d?Math.max(Math.floor((o-d.x)/d.w*32767),0):0,h=d?Math.max(Math.floor((u-d.y)/d.h*32767),0):0;null!==o&&null!==u&&(hn.push({time:a(),event:t,data:{target:s,x:o,y:u,eX:f,eY:h,button:n.button,reaction:mn(s),context:bn(c),text:gn(s),link:c?c.href:null,hash:null}}),Lt(_a.bind(this,t)))}function gn(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 mn(t){if(t.nodeType===Node.ELEMENT_NODE){var e=t.tagName.toLowerCase();if(fn.indexOf(e)>=0)return 0}return 1}function bn(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 yn(){hn=[]}var wn=null,kn=[];function En(t){var e=Oa(t),n=Be(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=Nt(e.value,"input",n.metadata.privacy)}var i={target:e,value:r};kn.length>0&&kn[kn.length-1].data.target===i.target&&kn.pop(),kn.push({time:a(),event:27,data:i}),rt(wn),wn=at(Mn,500,27)}}function Mn(t){Lt(_a.bind(this,t))}function Sn(){kn=[]}var On,Nn=[],_n=null;function Tn(t,e,n){var r=Xe(e),i=r?r.contentDocument.documentElement:document.documentElement,o="pageX"in n?Math.round(n.pageX):"clientX"in n?Math.round(n.clientX+i.scrollLeft):null,u="pageY"in n?Math.round(n.pageY):"clientY"in n?Math.round(n.clientY+i.scrollTop):null;if(r){var l=dn(r);o=o?o+Math.round(l.x):o,u=u?u+Math.round(l.y):u}null!==o&&null!==u&&In({time:a(),event:t,data:{target:Oa(n),x:o,y:u}})}function xn(t,e,n){var r=Xe(e),i=r?r.contentDocument.documentElement:document.documentElement,o=n.changedTouches,u=a();if(o)for(var l=0;l<o.length;l++){var s=o[l],c="clientX"in s?Math.round(s.clientX+i.scrollLeft):null,d="clientY"in s?Math.round(s.clientY+i.scrollTop):null;c=c&&r?c+Math.round(r.offsetLeft):c,d=d&&r?d+Math.round(r.offsetTop):d,null!==c&&null!==d&&In({time:u,event:t,data:{target:Oa(n),x:c,y:d}})}}function In(t){switch(t.event){case 12:case 15:case 19:var e=Nn.length,n=e>1?Nn[e-2]:null;n&&function(t,e){var n=t.data.x-e.data.x,a=t.data.y-e.data.y,r=Math.sqrt(n*n+a*a),i=e.time-t.time,o=e.data.target===t.data.target;return e.event===t.event&&o&&r<20&&i<25}(n,t)&&Nn.pop(),Nn.push(t),rt(_n),_n=at(Dn,500,t.event);break;default:Nn.push(t),Dn(t.event)}}function Dn(t){Lt(_a.bind(this,t))}function Cn(){Nn=[]}function jn(){var t=document.documentElement;On={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},_a(11)}function zn(){On=null}var Rn=[],Ln=null;function An(t){void 0===t&&(t=null);var e=window,n=document.documentElement,r=t?Oa(t):n;if(r&&r.nodeType===Node.DOCUMENT_NODE){var i=Xe(r);e=i?i.contentWindow:e,r=n=r.documentElement}var o=r===n&&"pageXOffset"in e?Math.round(e.pageXOffset):Math.round(r.scrollLeft),u=r===n&&"pageYOffset"in e?Math.round(e.pageYOffset):Math.round(r.scrollTop),l={time:a(),event:10,data:{target:r,x:o,y:u}};if((null!==t||0!==o||0!==u)&&null!==o&&null!==u){var s=Rn.length,c=s>1?Rn[s-2]:null;c&&function(t,e){var n=t.data.x-e.data.x,a=t.data.y-e.data.y;return n*n+a*a<400&&e.time-t.time<25}(c,l)&&Rn.pop(),Rn.push(l),rt(Ln),Ln=at(Yn,500,10)}}function Yn(t){Lt(_a.bind(this,t))}var Hn,Xn,qn=null,Wn=null,Un=null;function Pn(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=qn.start?qn.start:null;null!==Wn&&null!==qn.start&&n!==e.anchorNode&&(rt(Un),Bn(21)),qn={start:e.anchorNode,startOffset:e.anchorOffset,end:e.focusNode,endOffset:e.focusOffset},Wn=e,rt(Un),Un=at(Bn,500,21)}}function Bn(t){Lt(_a.bind(this,t))}function Fn(){Wn=null,qn={start:0,startOffset:0,end:0,endOffset:0}}function Vn(t){Hn={name:t.type},_a(26),Cr()}function Gn(){Hn=null}function Jn(){Xn={visible:"visibilityState"in document?document.visibilityState:"default"},_a(28)}function Zn(){Xn=null}function Kn(t){!function(t){var e=Xe(t);nr(e?e.contentWindow:t===document?window:t,"scroll",An,!0)}(t),t.nodeType===Node.DOCUMENT_NODE&&(pn(t),function(t){nr(t,"mousedown",Tn.bind(this,13,t),!0),nr(t,"mouseup",Tn.bind(this,14,t),!0),nr(t,"mousemove",Tn.bind(this,12,t),!0),nr(t,"mousewheel",Tn.bind(this,15,t),!0),nr(t,"dblclick",Tn.bind(this,16,t),!0),nr(t,"touchstart",xn.bind(this,17,t),!0),nr(t,"touchend",xn.bind(this,18,t),!0),nr(t,"touchmove",xn.bind(this,19,t),!0),nr(t,"touchcancel",xn.bind(this,20,t),!0)}(t),function(t){nr(t,"input",En,!0)}(t),function(t){nr(t,"selectstart",Pn.bind(this,t),!0),nr(t,"selectionchange",Pn.bind(this,t),!0)}(t))}var Qn=Object.freeze({__proto__:null,start:function(){Ta=[],Ia(),yn(),Cn(),Sn(),nr(window,"resize",jn),jn(),nr(document,"visibilitychange",Jn),Jn(),Rn=[],An(),Fn(),nr(window,"pagehide",Vn)},stop:function(){Ta=[],Ia(),yn(),rt(_n),Nn.length>0&&Dn(Nn[Nn.length-1].event),rt(wn),Sn(),zn(),Zn(),rt(Ln),Rn=[],Fn(),rt(Un),Gn()},observe:Kn}),$n=/[^0-9\.]/g;function ta(t){for(var e=0,n=Object.keys(t);e<n.length;e++){var a=n[e],r=t[a];if("@type"===a&&"string"==typeof r)switch(r=(r=r.toLowerCase()).indexOf("article")>=0||r.indexOf("posting")>=0?"article":r){case"article":case"recipe":Q(5,t[a]),Q(8,t.creator),Q(18,t.headline);break;case"product":Q(5,t[a]),Q(10,t.name),Q(12,t.sku),t.brand&&Q(6,t.brand.name);break;case"aggregaterating":t.ratingValue&&($a(11,ea(t.ratingValue,100)),$a(18,ea(t.bestRating)),$a(19,ea(t.worstRating))),$a(12,ea(t.ratingCount)),$a(17,ea(t.reviewCount));break;case"person":Q(8,t.name);break;case"offer":Q(7,t.availability),Q(14,t.itemCondition),Q(13,t.priceCurrency),Q(12,t.sku),$a(13,ea(t.price));break;case"brand":Q(6,t.name)}null!==r&&"object"==typeof r&&ta(r)}}function ea(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($n,""))*e)}return null}var na=["title","alt","onload","onfocus","onerror"],aa=/[\r\n]+/g;function ra(t,e){var n=null;if(2===e&&!1===Fe(t))return n;0!==e&&t.nodeType===Node.TEXT_NODE&&t.parentElement&&"STYLE"===t.parentElement.tagName&&(t=t.parentNode);var a=!1===Fe(t)?"add":"update",r=t.parentElement?t.parentElement:null,i=t.ownerDocument!==document;switch(t.nodeType){case Node.DOCUMENT_TYPE_NODE:r=i&&t.parentNode?Xe(t.parentNode):r;var o=t,u={tag:(i?"iframe:":"")+"*D",attributes:{name:o.name,publicId:o.publicId,systemId:o.systemId}};Ze[a](t,r,u,e);break;case Node.DOCUMENT_NODE:t===document&&Ae(document),ia(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){ia(l);for(var s="",c=0,d=("adoptedStyleSheets"in l?l.adoptedStyleSheets:[]);c<d.length;c++){s+=ua(d[c])}var f={tag:"*S",attributes:{style:s}};Ze[a](t,l.host,f,e)}else Ze[a](t,l.host,{tag:"*P",attributes:{}},e);break;case Node.TEXT_NODE:if(r=r||t.parentNode,"update"===a||r&&Fe(r)&&"STYLE"!==r.tagName){var h={tag:"*T",value:t.nodeValue};Ze[a](t,r,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 a=0;a<n.length;a++){var r=n[a].name;na.indexOf(r)<0&&(e[r]=n[a].value)}"INPUT"===t.tagName&&!("value"in e)&&t.value&&(e.value=t.value);return e}(p);switch(r=t.parentElement?t.parentElement:t.parentNode?t.parentNode:null,"http://www.w3.org/2000/svg"===p.namespaceURI&&(v="svg:"+v),v){case"HTML":r=i&&r?Xe(r):null;var m={tag:(i?"iframe:":"")+v,attributes:g};Ze[a](t,r,m,e);break;case"SCRIPT":if("type"in g&&"application/ld+json"===g.type)try{ta(JSON.parse(p.text.replace(aa,"")))}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":Q(20,y);break;case"og:type":Q(19,y);break;case"generator":Q(21,y)}}break;case"HEAD":var w={tag:v,attributes:g};location&&(w.attributes["*B"]=location.protocol+"//"+location.hostname),Ze[a](t,r,w,e);break;case"STYLE":var k={tag:v,attributes:g,value:oa(p)};Ze[a](t,r,k,e);break;case"IFRAME":var E=t,M={tag:v,attributes:g};He(E)&&(!function(t){!1===Fe(t)&&nr(t,"load",Sa.bind(this,t,"childList"),!0)}(E),M.attributes["*O"]="true",E.contentDocument&&E.contentWindow&&"loading"!==E.contentDocument.readyState&&(n=E.contentDocument)),Ze[a](t,r,M,e);break;default:var S={tag:v,attributes:g};p.shadowRoot&&(n=p.shadowRoot),Ze[a](t,r,S,e)}}return n}function ia(t){Fe(t)||(!function(t){try{var e=window.Zone&&"__symbol__"in window.Zone?window.Zone.__symbol__("MutationObserver"):"MutationObserver",n=e in window?new window[e](tr(ba)):null;n&&(n.observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),sa.push(n))}catch(t){de(2,0,t?t.name:null)}}(t),Kn(t))}function oa(t){var e=t.textContent?t.textContent.trim():"",n=t.dataset?Object.keys(t.dataset).length:0;return(0===e.length||n>0)&&(e=ua(t.sheet)),e}function ua(t){var e="",n=null;try{n=t?t.cssRules:[]}catch(t){if(de(1,1,t?t.name:null),t&&"SecurityError"!==t.name)throw t}if(null!==n)for(var a=0;a<n.length;a++)e+=n[a].cssText;return e}function la(t,e,n){return mt(this,void 0,void 0,(function(){var a,r,i,o,u;return bt(this,(function(l){switch(l.label){case 0:a=[t],l.label=1;case 1:if(!(a.length>0))return[3,4];for(r=a.shift(),i=r.firstChild;i;)a.push(i),i=i.nextSibling;return 0!==(o=Yt(e))?[3,3]:[4,qt(e)];case 2:o=l.sent(),l.label=3;case 3:return 2===o?[3,4]:((u=ra(r,n))&&a.push(u),[3,1]);case 4:return[2]}}))}))}var sa=[],ca=[],da=null,fa=null,ha=null,pa=[],va=null,ga=null,ma={};function ba(t){var e=a();ft(6,e),ca.push({time:e,mutations:t}),Lt(ya,1).then((function(){tr(Jt)(),tr(on)()}))}function ya(){return mt(this,void 0,void 0,(function(){var t,e,n,r,i,o,u,l,s;return bt(this,(function(c){switch(c.label){case 0:Ht(t={id:_(),cost:3}),c.label=1;case 1:if(!(ca.length>0))return[3,8];e=ca.shift(),n=0,r=e.mutations,c.label=2;case 2:return n<r.length?(i=r[n],0!==(o=Yt(t))?[3,4]:[4,qt(t)]):[3,6];case 3:o=c.sent(),c.label=4;case 4:if(2===o)return[3,6];switch(u=i.target,(l=function(t,e){var n=t.target?Be(t.target.parentNode):null;if(n&&"HTML"!==n.data.tag){var r=a()>ga,i=Be(t.target),o=i&&i.selector?i.selector.join():t.target.nodeName,u=[n.selector?n.selector.join():"",o,t.attributeName,wa(t.addedNodes),wa(t.removedNodes)].join();ma[u]=u in ma?ma[u]:[0];var l=ma[u];if(!1===r&&l[0]>=10&&ka(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}(i,t))&&u&&u.ownerDocument&&Ae(u.ownerDocument),l){case"attributes":ra(u,3);break;case"characterData":ra(u,4);break;case"childList":ka(i.addedNodes,1,t),ka(i.removedNodes,2,t);break;case"suspend":(s=Be(u))&&(s.metadata.suspend=!0)}c.label=5;case 5:return n++,[3,2];case 6:return[4,Zt(6,t,e.time)];case 7:return c.sent(),[3,1];case 8:return Xt(t),[2]}}))}))}function wa(t){for(var e=[],n=0;t&&n<t.length;n++)e.push(t[n].nodeName);return e.join()}function ka(t,e,n){return mt(this,void 0,void 0,(function(){var a,r,i;return bt(this,(function(o){switch(o.label){case 0:a=t?t.length:0,r=0,o.label=1;case 1:return r<a?1!==e?[3,2]:(la(t[r],n,e),[3,5]):[3,6];case 2:return 0!==(i=Yt(n))?[3,4]:[4,qt(n)];case 3:i=o.sent(),o.label=4;case 4:if(2===i)return[3,6];ra(t[r],e),o.label=5;case 5:return r++,[3,1];case 6:return[2]}}))}))}function Ea(t){return pa.indexOf(t)<0&&pa.push(t),va&&rt(va),va=at(Ma,33),t}function Ma(){for(var t=0,e=pa;t<e.length;t++){var n=e[t],a=n&&n.nodeType===Node.DOCUMENT_FRAGMENT_NODE;a&&Fe(n)||Sa(n,a?"childList":"characterData")}pa=[]}function Sa(t,e){tr(ba)([{addedNodes:[t],attributeName:null,attributeNamespace:null,nextSibling:null,oldValue:null,previousSibling:null,removedNodes:[],target:t,type:e}])}function Oa(t){var e=t.composed&&t.composedPath?t.composedPath():null,n=e&&e.length>0?e[0]:t.target;return ga=a()+3e3,n.nodeType===Node.DOCUMENT_NODE?n.documentElement:n}function Na(t,e){var n={id:0,hash:null,privacy:2,node:t};if(t){var a=Be(t);null!==a&&(n.id=a.id,n.hash=a.hash,n.privacy=a.metadata.privacy,a.region&&function(t,e){var n=Ue(t),a=t in $e?$e[t]:{id:t,visibility:0,interaction:16,name:Qe.get(n)},r=16;switch(e){case 9:r=20;break;case 27:r=30}ln(n,a,r,a.visibility)}(a.region,e))}return n}function _a(t){return mt(this,void 0,void 0,(function(){var e,n,r,i,o,u,s,d,f,h,p,v,g,m,b;return bt(this,(function(y){switch(e=a(),n=[e,t],t){case 13:case 14:case 12:case 15:case 16:case 17:case 18:case 19:case 20:for(g=0;g<Nn.length;g++)m=Nn[g],(r=Na(m.data.target,m.event)).id>0&&((n=[m.time,m.event]).push(r.id),n.push(m.data.x),n.push(m.data.y),Wa(n),l(m.event,m.data.x,m.data.y));Cn();break;case 9:for(g=0;g<hn.length;g++)m=hn[g],i=Na(m.data.target,m.event),n=[m.time,m.event],o=i.hash.join("."),n.push(i.id),n.push(m.data.x),n.push(m.data.y),n.push(m.data.eX),n.push(m.data.eY),n.push(m.data.button),n.push(m.data.reaction),n.push(m.data.context),n.push(Nt(m.data.text,"click",i.privacy)),n.push(m.data.link),n.push(o),Wa(n),Da(m.time,m.event,o,m.data.x,m.data.y,m.data.reaction,m.data.context);yn();break;case 11:u=On,n.push(u.width),n.push(u.height),l(t,u.width,u.height),zn(),Wa(n);break;case 26:s=Hn,n.push(s.name),Gn(),Wa(n);break;case 27:for(g=0;g<kn.length;g++)m=kn[g],d=Na(m.data.target,m.event),(n=[m.time,m.event]).push(d.id),n.push(m.data.value),Wa(n);Sn();break;case 21:(f=qn)&&(h=Na(f.start,t),p=Na(f.end,t),n.push(h.id),n.push(f.startOffset),n.push(p.id),n.push(f.endOffset),Fn(),Wa(n));break;case 10:for(g=0;g<Rn.length;g++)m=Rn[g],(v=Na(m.data.target,m.event)).id>0&&((n=[m.time,m.event]).push(v.id),n.push(m.data.x),n.push(m.data.y),Wa(n),l(m.event,m.data.x,m.data.y));Rn=[];break;case 22:for(g=0;g<xa.length;g++)m=xa[g],(n=[m.time,m.event]).push(m.data.type),n.push(m.data.hash),n.push(m.data.x),n.push(m.data.y),n.push(m.data.reaction),n.push(m.data.context),Wa(n,!1);Ia();break;case 28:b=Xn,n.push(b.visible),Wa(n),c(e,b.visible),Zn()}return[2]}))}))}var Ta=[],xa=[];function Ia(){xa=[]}function Da(t,e,n,a,r,i,o){void 0===i&&(i=1),void 0===o&&(o=0),Ta.push({time:t,event:22,data:{type:e,hash:n,x:a,y:r,reaction:i,context:o}}),l(e,a,r)}var Ca,ja,za,Ra,La,Aa=0,Ya=0,Ha=null,Xa=0;function qa(){Ra=!0,Aa=0,Ya=0,Xa=0,Ca=[],ja=[],za={},La=null}function Wa(t,n){if(void 0===n&&(n=!0),Ra){var r=a(),i=t.length>1?t[1]:null,o=JSON.stringify(t);switch(i){case 5:Aa+=o.length;case 37:case 6:Ya+=o.length,Ca.push(o);break;default:ja.push(o)}var u=function(){var t=!1===e.lean&&Aa>0?100:W.sequence*e.delay;return"string"==typeof e.upload?Math.max(Math.min(t,3e4),100):e.delay}();r-Xa>2*u&&(rt(Ha),Ha=null),n&&null===Ha&&(25!==i&&lt(),Ha=at(Pa,u),Xa=r,F(Ya))}}function Ua(){rt(Ha),Pa(!0),Aa=0,Ya=0,Xa=0,Ca=[],ja=[],za={},La=null,Ra=!1}function Pa(t){return void 0===t&&(t=!1),mt(this,void 0,void 0,(function(){var n,a,r,i,o,u,l,s;return bt(this,(function(c){switch(c.label){case 0:return Ha=null,(n=!1===e.lean&&Ya>0&&(Ya<1048576||W.sequence>0))&&$a(1,1),on(),function(){var t=[];xa=[];for(var e=W.start+W.duration,n=Math.max(e-2e3,0),a=0,r=Ta;a<r.length;a++){var i=r[a];i.time>=n&&(i.time<=e&&xa.push(i),t.push(i))}Ta=t,_a(22)}(),Ot(),a=!0===t,r=JSON.stringify(U(a)),i="["+ja.join()+"]",o=n?"["+Ca.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:i,p:o}),a?(s=null,[3,3]):[3,1];case 1:return[4,wt(u)];case 2:s=c.sent(),c.label=3;case 3:return Qa(2,(l=s)?l.length:u.length),Ba(u,l,W.sequence,a),ja=[],n&&(Ca=[],Ya=0,Aa=0),[2]}}))}))}function Ba(t,n,a,r){if(void 0===r&&(r=!1),"string"==typeof e.upload){var i=e.upload,o=!1;if(r&&"sendBeacon"in navigator&&(o=navigator.sendBeacon(i,t))&&Va(a),!1===o){a in za?za[a].attempts++:za[a]={data:t,attempts:1};var u=new XMLHttpRequest;u.open("POST",i),null!==a&&(u.onreadystatechange=function(){tr(Fa)(u,a)}),u.withCredentials=!0,n?(u.setRequestHeader("Accept","application/x-clarity-gzip"),u.send(n)):u.send(t)}}else if(e.upload){(0,e.upload)(t),Va(a)}}function Fa(t,n){var a=za[n];t&&4===t.readyState&&a&&((t.status<200||t.status>208)&&a.attempts<=1?t.status>=400&&t.status<500?V(6):(0===t.status&&(e.upload=e.fallback?e.fallback:e.upload),Ba(a.data,null,n)):(La={sequence:n,attempts:a.attempts,status:t.status},a.attempts>1&&Ga(2),200===t.status&&t.responseText&&function(t){switch(t&&t.length>0?t.split(" ")[0]:""){case"END":V(6);break;case"UPGRADE":gt("Auto")}}(t.responseText),0===t.status&&(Ba(a.data,null,n,!0),V(3)),t.status>=200&&t.status<=208&&Va(n),delete za[n]))}function Va(t){1===t&&I()}function Ga(t){var e=[a(),t];switch(t){case 4:var n=r;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),Wa(e,!1)),u();break;case 25:e.push(et.gap),Wa(e);break;case 35:e.push(P.check),Wa(e,!1);break;case 3:e.push(vt.key),Wa(e);break;case 2:e.push(La.sequence),e.push(La.attempts),e.push(La.status),Wa(e,!1);break;case 24:e.push(h.key),e.push(h.value),Wa(e);break;case 34:var i=Object.keys(g);if(i.length>0){for(var o=0,l=i;o<l.length;o++){var s=l[o];e.push(s),e.push(g[s])}k(),Wa(e,!1)}break;case 0:var c=Object.keys(Za);if(c.length>0){for(var d=0,f=c;d<f.length;d++){var p=f[d],v=parseInt(p,10);e.push(v),e.push(Math.round(Za[p]))}Za={},Wa(e,!1)}break;case 1:var m=Object.keys(K);if(m.length>0){for(var b=0,y=m;b<y.length;b++){var w=y[b];v=parseInt(w,10);e.push(v),e.push(K[w])}tt(),Wa(e,!1)}break;case 36:var E=Object.keys(dt);if(E.length>0){for(var M=0,S=E;M<S.length;M++){var O=S[M];v=parseInt(O,10);e.push(v),e.push([].concat.apply([],dt[O]))}pt(),Wa(e,!1)}}}var Ja=null,Za=null;function Ka(t,e){void 0===e&&(e=1),t in Ja||(Ja[t]=0),t in Za||(Za[t]=0),Ja[t]+=e,Za[t]+=e}function Qa(t,e){null!==e&&(t in Ja||(Ja[t]=0),t in Za||(Za[t]=0),Ja[t]+=e,Za[t]+=e)}function $a(t,e){null!==e&&!1===isNaN(e)&&(t in Ja||(Ja[t]=0),(e>Ja[t]||0===Ja[t])&&(Za[t]=e,Ja[t]=e))}function tr(t){return function(){var e=performance.now();t.apply(this,arguments);var n=performance.now()-e;Qa(4,n),n>30&&(Ka(7),$a(6,n))}}var er=[];function nr(t,e,n,a){void 0===a&&(a=!1),n=tr(n);try{t.addEventListener(e,n,a),er.push({event:e,target:t,listener:n,capture:a})}catch(t){}}function ar(){for(var t=0,e=er;t<e.length;t++){var n=e[t];try{n.target.removeEventListener(n.event,n.listener,n.capture)}catch(t){}}er=[]}var rr=null,ir=null,or=null,ur=0;function lr(){return!(ur++>20)||(de(4,0),!1)}function sr(){ur=0,or!==cr()&&(Cr(),window.setTimeout(Dr,250))}function cr(){return location.href?location.href.replace(location.hash,""):location.href}var dr=!1;function fr(){dr=!0,n=performance.now(),Rt(),ar(),X(),or=cr(),ur=0,nr(window,"popstate",sr),null===rr&&(rr=history.pushState),history.pushState=function(){lr()&&(rr.apply(this,arguments),sr())},null===ir&&(ir=history.replaceState),history.replaceState=function(){lr()&&(ir.apply(this,arguments),sr())}}function hr(){null!==rr&&(history.pushState=rr,rr=null),null!==ir&&(history.replaceState=ir,ir=null),or=null,ur=0,X(),ar(),Rt(),n=0,dr=!1}function pr(){return dr}function vr(t){if(null===t||dr)return!1;for(var n in t)n in e&&(e[n]=t[n]);return!0}function gr(){Dr(),p("clarity","restart")}function mr(){return mt(this,void 0,void 0,(function(){var t,e;return bt(this,(function(n){switch(n.label){case 0:return t=a(),Ht(e={id:_(),cost:3}),[4,la(document,e,0)];case 1:return n.sent(),[4,Zt(5,e,t)];case 2:return n.sent(),Xt(e),[2]}}))}))}var br,yr,wr=null;function kr(){wr=null}function Er(t){wr={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},Mr(29)}function Mr(t){return mt(this,void 0,void 0,(function(){var e,n;return bt(this,(function(r){switch(e=a(),n=[e,t],t){case 30:n.push(br.downlink),n.push(br.rtt),n.push(br.saveData),n.push(br.type),Or(),Wa(n,!1);break;case 29:n.push(wr.fetchStart),n.push(wr.connectStart),n.push(wr.connectEnd),n.push(wr.requestStart),n.push(wr.responseStart),n.push(wr.responseEnd),n.push(wr.domInteractive),n.push(wr.domComplete),n.push(wr.loadEventStart),n.push(wr.loadEventEnd),n.push(wr.redirectCount),n.push(wr.size),n.push(wr.type),n.push(wr.protocol),n.push(wr.encodedSize),n.push(wr.decodedSize),kr(),Wa(n,!1)}return[2]}))}))}function Sr(){var t=navigator.connection;br={downlink:t.downlink,rtt:t.rtt,saveData:t.saveData?1:0,type:t.effectiveType},Mr(30)}function Or(){br=null}var Nr=["navigation","resource","longtask","first-input","layout-shift","largest-contentful-paint"];function _r(){try{yr&&yr.disconnect(),yr=new PerformanceObserver(tr(Tr));for(var t=0,e=Nr;t<e.length;t++){var n=e[t];PerformanceObserver.supportedEntryTypes.indexOf(n)>=0&&("layout-shift"===n&&Qa(9,0),yr.observe({type:n,buffered:!0}))}}catch(t){de(3,1)}}function Tr(t){!function(t){for(var e=(!("visibilityState"in document)||"visible"===document.visibilityState),n=0;n<t.length;n++){var a=t[n];switch(a.entryType){case"navigation":Er(a);break;case"resource":Q(4,xr(a.name));break;case"longtask":Ka(7);break;case"first-input":e&&$a(10,a.processingStart-a.startTime);break;case"layout-shift":e&&!a.hadRecentInput&&Qa(9,1e3*a.value);break;case"largest-contentful-paint":e&&$a(8,a.startTime)}}}(t.getEntries())}function xr(t){var e=document.createElement("a");return e.href=t,e.hostname}var Ir=[Object.freeze({__proto__:null,start:function(){nr(window,"error",ue),oe={},nr(document,"error",Vt,!0),ce={},nr(document,"securitypolicyviolation",fe)},stop:function(){Pt=null,ce={}}}),Object.freeze({__proto__:null,start:function(){Gt(),Jt(),cn(),nn=null,Qe=new WeakMap,$e={},tn=[],en=!!window.IntersectionObserver,ze(),sa=[],pa=[],va=null,ga=0,ma={},null===da&&(da=CSSStyleSheet.prototype.insertRule),null===fa&&(fa=CSSStyleSheet.prototype.deleteRule),null===ha&&(ha=HTMLElement.prototype.attachShadow),CSSStyleSheet.prototype.insertRule=function(){return Ea(this.ownerNode),da.apply(this,arguments)},CSSStyleSheet.prototype.deleteRule=function(){return Ea(this.ownerNode),fa.apply(this,arguments)},HTMLElement.prototype.attachShadow=function(){return Ea(ha.apply(this,arguments))},Lt(mr,1).then((function(){tr(Jt)(),tr(on)()})),ae(),ee=null,te=!!window.ResizeObserver},stop:function(){cn(),Qe=null,$e={},tn=[],nn&&(nn.disconnect(),nn=null),en=!1,Re(),function(){for(var t=0,e=sa;t<e.length;t++){var n=e[t];n&&n.disconnect()}sa=[],null!==da&&(CSSStyleSheet.prototype.insertRule=da,da=null),null!==fa&&(CSSStyleSheet.prototype.deleteRule=fa,fa=null),null!=ha&&(HTMLElement.prototype.attachShadow=ha,ha=null),ma={},ca=[],pa=[],ga=0,va=null}(),re(),Gt()}}),Qn,Object.freeze({__proto__:null,start:function(){kr(),navigator&&"connection"in navigator&&"downlink"in navigator.connection&&"number"==typeof navigator.connection.downlink&&(navigator.connection.addEventListener("change",Sr),Sr()),function(){window.PerformanceObserver&&PerformanceObserver.supportedEntryTypes?"complete"!==document.readyState?nr(window,"load",at.bind(this,_r,0)):_r():de(3,0)}()},stop:function(){yr&&yr.disconnect(),yr=null,Or(),kr()}})];function Dr(t){void 0===t&&(t=null),function(){try{return!1===dr&&"undefined"!=typeof Promise&&window.MutationObserver&&document.createTreeWalker&&"now"in Date&&"now"in performance&&"undefined"!=typeof WeakMap}catch(t){return!1}}()&&(vr(t),fr(),Mt(),Ir.forEach((function(t){return tr(t.start)()})))}function Cr(){pr()&&(Ir.slice().reverse().forEach((function(t){return tr(t.stop)()})),St(),hr())}var jr=Object.freeze({__proto__:null,version:q,start:Dr,pause:function(){pr()&&(p("clarity","pause"),null===jt&&(jt=new Promise((function(t){zt=t}))))},resume:function(){pr()&&(jt&&(zt(),jt=null,null===Ct&&At()),p("clarity","resume"))},stop:Cr,consent:T,event:p,identify:b,set:m,upgrade:gt,metadata:N});!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 jr[t].apply(jr,e)},t[e].v=q;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&&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())}}()}();