clarity-js 0.7.8 → 0.7.9

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 queue(){return He},get start(){return je},get stop(){return Ae},get track(){return Me}}),e=Object.freeze({__proto__:null,get clone(){return $e},get compute(){return tn},get data(){return Je},get keys(){return Be},get reset(){return en},get start(){return Ke},get stop(){return rn},get trigger(){return Qe},get update(){return nn}}),n=Object.freeze({__proto__:null,get check(){return ln},get compute(){return hn},get data(){return Ve},get start(){return sn},get stop(){return fn},get trigger(){return dn}}),r=Object.freeze({__proto__:null,get compute(){return yn},get data(){return pn},get log(){return bn},get reset(){return wn},get start(){return vn},get stop(){return mn},get updates(){return gn}}),a=Object.freeze({__proto__:null,get callbacks(){return _n},get clear(){return In},get consent(){return Nn},get data(){return kn},get id(){return Tn},get metadata(){return Mn},get save(){return Sn},get start(){return On},get stop(){return En}}),o=Object.freeze({__proto__:null,get data(){return Yn},get envelope(){return Pn},get start(){return qn},get stop(){return Rn}}),i={projectId:null,delay:1e3,lean:!1,track:!0,content:!0,drop:[],mask:[],unmask:[],regions:[],cookies:[],fraud:!0,checksum:[],report:null,upload:null,fallback:null,upgrade:null,action:null,dob:null};function u(t){return window.Zone&&"__symbol__"in window.Zone?window.Zone.__symbol__(t):t}var c=0;function s(t){void 0===t&&(t=null);var e=t&&t.timeStamp>0?t.timeStamp:performance.now();return Math.max(Math.round(e-c),0)}var l="0.7.8";var d=/\S/gi,h=!0,f=null,p=null,g=null;function v(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":case"click":return function(t){var e=-1,n=0,r=!1,a=!1,o=!1,i=null;_();for(var u=0;u<t.length;u++){var c=t.charCodeAt(u);if(r=r||c>=48&&c<=57,a=a||64===c,o=9===c||10===c||13===c||32===c,0===u||u===t.length-1||o){if(r||a){null===i&&(i=t.split(""));var s=t.substring(e+1,o?u:u+1);s=h&&null!==g?s.match(g)?s:w(s,"▪","▫"):y(s),i.splice(e+1-n,s.length,s),n+=s.length-1}o&&(r=!1,a=!1,e=u)}}return i?i.join(""):t}(t);case"input":case"change":return k(t)}return t;case 2:case 3:switch(e){case"*T":case"data-":return r?b(t):y(t);case"src":case"srcset":case"title":case"alt":return 3===n?"":t;case"value":case"click":case"input":case"change":return k(t);case"placeholder":return y(t)}break;case 4:switch(e){case"*T":case"data-":return r?b(t):y(t);case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":return""}break;case 5:switch(e){case"*T":case"data-":return w(t,"▪","▫");case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":case"src":case"srcset":case"alt":case"title":return""}}return t}function m(t,e){if(void 0===e&&(e=!1),e)return"".concat("https://").concat("Electron");var n=i.drop;if(n&&n.length>0&&t&&t.indexOf("?")>0){var r=t.split("?"),a=r[0],o=r[1];return a+"?"+o.split("&").map((function(t){return n.some((function(e){return 0===t.indexOf("".concat(e,"="))}))?"".concat(t.split("=")[0],"=").concat("*na*"):t})).join("&")}return t}function b(t){var e=t.trim();if(e.length>0){var n=e[0],r=t.indexOf(n),a=t.substr(0,r),o=t.substr(r+e.length);return"".concat(a).concat(e.length.toString(36)).concat(o)}return t}function y(t){return t.replace(d,"•")}function w(t,e,n){return _(),t?t.replace(p,e).replace(f,n):t}function k(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 _(){if(h&&null===f)try{f=new RegExp("\\p{N}","gu"),p=new RegExp("\\p{L}","gu"),g=new RegExp("\\p{Sc}","gu")}catch(t){h=!1}}var x=null,O=null,E=!1;function M(){E&&(x={time:s(),event:4,data:{visible:O.visible,docWidth:O.docWidth,docHeight:O.docHeight,screenWidth:O.screenWidth,screenHeight:O.screenHeight,scrollX:O.scrollX,scrollY:O.scrollY,pointerX:O.pointerX,pointerY:O.pointerY,activityTime:O.activityTime}}),O=O||{visible:1,docWidth:0,docHeight:0,screenWidth:0,screenHeight:0,scrollX:0,scrollY:0,pointerX:0,pointerY:0,activityTime:0}}function T(t,e,n){switch(t){case 8:O.docWidth=e,O.docHeight=n;break;case 11:O.screenWidth=e,O.screenHeight=n;break;case 10:O.scrollX=e,O.scrollY=n;break;default:O.pointerX=e,O.pointerY=n}E=!0}function N(t){O.activityTime=t}function I(t,e){O.visible="visible"===e?1:0,O.visible||N(t),E=!0}function S(){E&&cn(4)}var j=Object.freeze({__proto__:null,activity:N,compute:S,reset:M,start:function(){E=!1,M()},get state(){return x},stop:function(){M()},track:T,visibility:I}),H=null;function A(t,e){ir()&&t&&e&&"string"==typeof t&&"string"==typeof e&&t.length<255&&e.length<255&&(H={key:t,value:e},cn(24))}var C,D=null,W=null;function X(t){t in D||(D[t]=0),t in W||(W[t]=0),D[t]++,W[t]++}function z(t,e){null!==e&&(t in D||(D[t]=0),t in W||(W[t]=0),D[t]+=e,W[t]+=e)}function Y(t,e){null!==e&&!1===isNaN(e)&&(t in D||(D[t]=0),(e>D[t]||0===D[t])&&(W[t]=e,D[t]=e))}function q(t,e,n){return window.setTimeout(Vn(t),e,n)}function R(t){return window.clearTimeout(t)}var P=0,L=0,U=null;function V(){U&&R(U),U=q(J,L),P=s()}function J(){var t=s();C={gap:t-P},cn(25),C.gap<3e5?U=q(J,L):rr&&(A("clarity","suspend"),dr(),["mousemove","touchstart"].forEach((function(t){return Bn(document,t,cr)})),["resize","scroll","pageshow"].forEach((function(t){return Bn(window,t,cr)})))}var B=Object.freeze({__proto__:null,get data(){return C},reset:V,start:function(){L=6e4,P=0},stop:function(){R(U),P=0,L=0}}),Z=null;function G(){cn(36)}function F(){Z={}}var K=Object.freeze({__proto__:null,compute:G,get data(){return Z},reset:F,start:function(){Z={}},stop:function(){Z={}},track:function(t,e){if(t in Z){var n=Z[t],r=n[n.length-1];e-r[0]>100?Z[t].push([e,0]):r[1]=e-r[0]}else Z[t]=[[e,0]]}}),Q=null;function $(t){ir()&&i.lean&&(i.lean=!1,Q={key:t},Sn(),i.upgrade&&i.upgrade(t),cn(3))}var tt=Object.freeze({__proto__:null,get data(){return Q},start:function(){!i.lean&&i.upgrade&&i.upgrade("Config"),Q=null},stop:function(){Q=null},upgrade:$});function et(t,e,n,r){return new(n||(n=Promise))((function(a,o){function i(t){try{c(r.next(t))}catch(t){o(t)}}function u(t){try{c(r.throw(t))}catch(t){o(t)}}function c(t){var e;t.done?a(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(i,u)}c((r=r.apply(t,e||[])).next())}))}function nt(t,e){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(u){return function(c){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,u[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&u[0]?r.return:u[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,u[1])).done)return a;switch(r=0,a&&(u=[2&u[0],a.value]),u[0]){case 0:case 1:a=u;break;case 4:return i.label++,{value:u[1],done:!1};case 5:i.label++,r=u[1],u=[0];continue;case 7:u=i.ops.pop(),i.trys.pop();continue;default:if(!(a=i.trys,(a=a.length>0&&a[a.length-1])||6!==u[0]&&2!==u[0])){i=0;continue}if(3===u[0]&&(!a||u[1]>a[0]&&u[1]<a[3])){i.label=u[1];break}if(6===u[0]&&i.label<a[1]){i.label=a[1],a=u;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(u);break}a[2]&&i.ops.pop(),i.trys.pop();continue}u=e.call(t,i)}catch(t){u=[6,t],r=0}finally{n=a=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,c])}}}var rt=null;function at(t,e){it(t,"string"==typeof e?[e]:e)}function ot(t,e,n,r){return void 0===e&&(e=null),void 0===n&&(n=null),void 0===r&&(r=null),et(this,void 0,void 0,(function(){var a,o;return nt(this,(function(i){switch(i.label){case 0:return o={},[4,st(t)];case 1:return o.userId=i.sent(),o.userHint=r||((u=t)&&u.length>=5?"".concat(u.substring(0,2)).concat(w(u.substring(2),"*","*")):w(u,"*","*")),it("userId",[(a=o).userId]),it("userHint",[a.userHint]),it("userType",[lt(t)]),e&&(it("sessionId",[e]),a.sessionId=e),n&&(it("pageId",[n]),a.pageId=n),[2,a]}var u}))}))}function it(t,e){if(ir()&&t&&e&&"string"==typeof t&&t.length<255){for(var n=(t in rt?rt[t]:[]),r=0;r<e.length;r++)"string"==typeof e[r]&&e[r].length<255&&n.push(e[r]);rt[t]=n}}function ut(){cn(34)}function ct(){rt={}}function st(t){return et(this,void 0,void 0,(function(){var e;return nt(this,(function(n){switch(n.label){case 0:return n.trys.push([0,4,,5]),crypto&&t?[4,crypto.subtle.digest("SHA-256",(new TextEncoder).encode(t))]:[3,2];case 1:return e=n.sent(),[2,Array.prototype.map.call(new Uint8Array(e),(function(t){return("00"+t.toString(16)).slice(-2)})).join("")];case 2:return[2,""];case 3:return[3,5];case 4:return n.sent(),[2,""];case 5:return[2]}}))}))}function lt(t){return t&&t.indexOf("@")>0?"email":"string"}var dt="CompressionStream"in window;function ht(t){return et(this,void 0,void 0,(function(){var e,n;return nt(this,(function(r){switch(r.label){case 0:return r.trys.push([0,3,,4]),dt?(e=new ReadableStream({start:function(e){return et(this,void 0,void 0,(function(){return nt(this,(function(n){return e.enqueue(t),e.close(),[2]}))}))}}).pipeThrough(new TextEncoderStream).pipeThrough(new window.CompressionStream("gzip")),n=Uint8Array.bind,[4,ft(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 ft(t){return et(this,void 0,void 0,(function(){var e,n,r,a,o;return nt(this,(function(i){switch(i.label){case 0:e=t.getReader(),n=[],r=!1,a=[],i.label=1;case 1:return r?[3,3]:[4,e.read()];case 2:return o=i.sent(),r=o.done,a=o.value,r?[2,n]:(n.push.apply(n,a),[3,1]);case 3:return[2,n]}}))}))}var pt,gt=[j,r,Object.freeze({__proto__:null,compute:ut,get data(){return rt},identify:ot,reset:ct,set:at,start:function(){ct()},stop:function(){ct()}}),n,K,a,o,t,B,tt,e];function vt(){D={},W={},X(5),gt.forEach((function(t){return Vn(t.start)()}))}function mt(){gt.slice().reverse().forEach((function(t){return Vn(t.stop)()})),D={},W={}}function bt(){ut(),S(),yn(),cn(0),G(),hn(),tn()}function yt(t){return et(this,void 0,void 0,(function(){var e,n,r,a,o,i,u,c,l,d,h,f,p;return nt(this,(function(g){switch(e=s(),n=[e,t],t){case 8:r=pt,n.push(r.width),n.push(r.height),T(t,r.width,r.height),He(n);break;case 43:if((a=oe).length>0){for(o=0,i=a;o<i.length;o++)for(u=i[o],c=u.metadata.privacy,l=u.data,d=0,h=["tag","attributes","value"];d<h.length;d++)if(l[f=h[d]])switch(f){case"tag":n.push(u.id),u.parent&&n.push(u.parent),u.previous&&n.push(u.previous),n.push(l[f]);break;case"attributes":for(p in l[f])void 0!==l[f][p]&&n.push(wt(p,l[f][p],c));break;case"value":n.push(v(l[f],l.tag,c))}He(function(t){for(var e=[],n={},r=0,a=null,o=0;o<t.length;o++)if("string"==typeof t[o]){var i=t[o],u=n[i]||-1;u>=0?a?a.push(u):(a=[u],e.push(a),r++):(a=null,e.push(i),n[i]=r++)}else a=null,e.push(t[o]),r++;return e}(n),!0)}}return[2]}))}))}function wt(t,e,n){return"".concat(t,"=").concat(v(e,0===t.indexOf("data-")?"data-":t,n))}function kt(){pt=null}function _t(){var t,e,n,r,a,o,i,u,c,s,l,d,h,f,p,g;kt(),t=document.body,e=document.documentElement,n=t?t.clientWidth:null,r=t?t.scrollWidth:null,a=t?t.offsetWidth:null,o=e?e.clientWidth:null,i=e?e.scrollWidth:null,u=e?e.offsetWidth:null,c=Math.max(n,r,a,o,i,u),s=t?t.clientHeight:null,l=t?t.scrollHeight:null,d=t?t.offsetHeight:null,h=e?e.clientHeight:null,f=e?e.scrollHeight:null,p=e?e.offsetHeight:null,g=Math.max(s,l,d,h,f,p),null!==pt&&c===pt.width&&g===pt.height||null===c||null===g||(pt={width:c,height:g},yt(8))}var xt=[],Ot=null;var Et=Object.freeze({__proto__:null,compute:function(){},data:Ot,log:function(){},observe:function(){},reset:function(){},start:function(){},state:xt,stop:function(){}}),Mt=[],Tt=null,Nt=null,It=null;function St(){Mt=[],Tt=null,Nt=null}function jt(t,e){return void 0===e&&(e=0),et(this,void 0,void 0,(function(){var n,r,a;return nt(this,(function(o){for(n=0,r=Mt;n<r.length;n++)if(r[n].task===t)return[2];return a=new Promise((function(n){Mt[1===e?"unshift":"push"]({task:t,resolve:n,id:Tn()})})),null===Tt&&null===Nt&&Ht(),[2,a]}))}))}function Ht(){var t=Mt.shift();t&&(Tt=t,t.task().then((function(){t.id===Tn()&&(t.resolve(),Tt=null,Ht())})).catch((function(e){t.id===Tn()&&(e&&Ue(0,1,e.name,e.message,e.stack),Tt=null,Ht())})))}var At,Ct=["input","textarea","radio","button","canvas"],Dt=[];function Wt(t){Bn(t,"click",Xt.bind(this,9,t),!0)}function Xt(t,e,n){var r=document.documentElement,a="pageX"in n?Math.round(n.pageX):"clientX"in n?Math.round(n.clientX+r.scrollLeft):null,o="pageY"in n?Math.round(n.pageY):"clientY"in n?Math.round(n.clientY+r.scrollTop):null,i=le(n),u=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}(i),c=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}(i);0===n.detail&&c&&(a=Math.round(c.x+c.w/2),o=Math.round(c.y+c.h/2));var l=c?Math.max(Math.floor((a-c.x)/c.w*32767),0):0,d=c?Math.max(Math.floor((o-c.y)/c.h*32767),0):0;null!==a&&null!==o&&(Dt.push({time:s(n),event:t,data:{target:i,x:a,y:o,eX:l,eY:d,button:n.button,reaction:Yt(i),context:qt(u),text:zt(i),link:u?u.href:null,hash:null,trust:n.isTrusted?1:0}}),jt(me.bind(this,t)))}function zt(t){var e=null;if(t){var n=t.textContent||t.value||t.alt;n&&(e=n.replace(/\s+/g," ").trim().substr(0,25))}return e}function Yt(t){if(t.nodeType===Node.ELEMENT_NODE){var e=t.tagName.toLowerCase();if(Ct.indexOf(e)>=0)return 0}return 1}function qt(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 Rt(){Dt=[]}function Pt(){var t=document.documentElement;At={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},me(11)}function Lt(){At=null}var Ut=[],Vt=null;function Jt(t){void 0===t&&(t=null);var e=window,n=document.documentElement,r=t?le(t):n;if(r&&r.nodeType===Node.DOCUMENT_NODE){r=n=r.documentElement}var a=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),i={time:s(t),event:10,data:{target:r,x:a,y:o}};if((null!==t||0!==a||0!==o)&&null!==a&&null!==o){var u=Ut.length,c=u>1?Ut[u-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,i)&&Ut.pop(),Ut.push(i),R(Vt),Vt=q(Bt,500,10)}}function Bt(t){jt(me.bind(this,t))}var Zt,Gt,Ft=[];function Kt(t){Ft.push({time:s(t),event:39,data:{target:le(t)}}),jt(me.bind(this,39))}function Qt(){Ft=[]}function $t(t){Zt={name:t.type},me(26,s(t)),dr()}function te(){Zt=null}function ee(t){void 0===t&&(t=null),Gt={visible:"visibilityState"in document?document.visibilityState:"default"},me(28,s(t))}function ne(){Gt=null}function re(t){!function(t){Bn(t===document?window:t,"scroll",Jt,!0)}(t),t.nodeType===Node.DOCUMENT_NODE&&(Wt(t),function(t){Bn(t,"submit",Kt,!0)}(t))}var ae=Object.freeze({__proto__:null,observe:re,start:function(){be=[],we(),Rt(),Bn(window,"resize",Pt),Pt(),Bn(document,"visibilitychange",ee),ee(),Ut=[],Jt(),Qt(),Bn(window,"pagehide",$t)},stop:function(){be=[],we(),Rt(),Lt(),ne(),R(Vt),Ut=[],Qt(),te()}}),oe=[],ie=1,ue=null;function ce(){return!1}function se(){}function le(t){var e=t.composed&&t.composedPath?t.composedPath():null,n=e&&e.length>0?e[0]:t.target;return n.nodeType===Node.DOCUMENT_NODE?n.documentElement:n}function de(t){var e={id:0,hash:null,privacy:5,node:t};return t&&(e.id=ue.has(t)?ue.get(t):pe(t)),e}function he(){ue=new WeakMap}function fe(t){var e={},n=t.attributes;if(n&&n.length>0)for(var r=0;r<n.length;r++)e[n[r].name]=n[r].value;return e}function pe(t){return null===t?null:ue.has(t)?ue.get(t):(ue.set(t,ie),ie++)}function ge(t,e,n){if(t&&n&&n.tag){var r=pe(t),a=e?ue.get(e):null,o=t.previousSibling?ue.get(t.previousSibling):null;oe.push({id:r,parent:a,previous:o,children:[],data:n,selector:null,hash:null,region:null,metadata:{active:!0,suspend:!1,privacy:5,position:null,fraud:null,size:null}})}}var ve=Object.freeze({__proto__:null,compute:function(){},hashText:se,iframe:ce,metadata:de,offset:function(){return{x:0,y:0}},snapshot:function(){oe=[],function(t){var e=[t];for(;e.length>0;){for(var n=null,r=null,a=null,o=e.shift(),i=o.firstChild,u=o.parentElement?o.parentElement:o.parentNode?o.parentNode:null;i;)e.push(i),i=i.nextSibling;switch(o.nodeType){case Node.DOCUMENT_TYPE_NODE:var c=o;r="*D",n={name:c.name,publicId:c.publicId,systemId:c.systemId};break;case Node.TEXT_NODE:a=o.nodeValue,r=ue.get(u)?"*T":r;break;case Node.ELEMENT_NODE:var s=o;n=fe(s),r=["NOSCRIPT","SCRIPT","STYLE"].indexOf(s.tagName)<0?s.tagName:r}ge(o,u,{tag:r,attributes:n,value:a})}}(document),yt(43)},start:function(){he(),_t(),pe(document.documentElement),re(document)},stop:function(){he(),kt()},target:le,get values(){return oe}});function me(t,e){return void 0===e&&(e=null),et(this,void 0,void 0,(function(){var n,r,a,o,i,u,c,l,d,h,f,p,g,b,y,w,k,_,x,O,E,M,N,S,j,H,A,C,D,W,X;return nt(this,(function(z){switch(n=e||s(),r=[n,t],t){case 13:case 14:case 12:case 15:case 16:case 17:case 18:case 19:case 20:for(a=0,o=xt;a<o.length;a++)W=o[a],(i=de(W.data.target,W.event)).id>0&&((r=[W.time,W.event]).push(i.id),r.push(W.data.x),r.push(W.data.y),He(r),T(W.event,W.data.x,W.data.y));break;case 9:for(u=0,c=Dt;u<c.length;u++)W=c[u],l=de(W.data.target,W.event,W.data.text),r=[W.time,W.event],d=l.hash?l.hash.join("."):"",r.push(l.id),r.push(W.data.x),r.push(W.data.y),r.push(W.data.eX),r.push(W.data.eY),r.push(W.data.button),r.push(W.data.reaction),r.push(W.data.context),r.push(v(W.data.text,"click",l.privacy)),r.push(m(W.data.link)),r.push(d),r.push(W.data.trust),He(r),ke(W.time,W.event,d,W.data.x,W.data.y,W.data.reaction,W.data.context);Rt();break;case 38:for(h=0,f=xt;h<f.length;h++)W=f[h],r=[W.time,W.event],(A=de(W.data.target,W.event)).id>0&&(r.push(A.id),r.push(W.data.action),He(r));break;case 11:p=At,r.push(p.width),r.push(p.height),T(t,p.width,p.height),Lt(),He(r);break;case 26:g=Zt,r.push(g.name),te(),He(r);break;case 27:for(b=0,y=xt;b<y.length;b++)W=y[b],w=de(W.data.target,W.event,W.data.value),(r=[W.time,W.event]).push(w.id),r.push(v(W.data.value,"input",w.privacy)),He(r);break;case 21:(k=Ot)&&(_=de(k.start),x=de(k.end),r.push(_.id),r.push(k.startOffset),r.push(x.id),r.push(k.endOffset),He(r));break;case 10:for(O=0,E=Ut;O<E.length;O++)W=E[O],(M=de(W.data.target,W.event)).id>0&&((r=[W.time,W.event]).push(M.id),r.push(W.data.x),r.push(W.data.y),He(r),T(W.event,W.data.x,W.data.y));Ut=[];break;case 42:for(N=0,S=xt;N<S.length;N++)W=S[N],r=[W.time,W.event],(A=de(W.data.target,W.event)).id>0&&((r=[W.time,W.event]).push(A.id),r.push(W.data.type),r.push(v(W.data.value,"change",A.privacy)),r.push(v(W.data.checksum,"checksum",A.privacy)),He(r));break;case 39:for(j=0,H=Ft;j<H.length;j++)W=H[j],r=[W.time,W.event],(A=de(W.data.target,W.event)).id>0&&(r.push(A.id),He(r));Qt();break;case 22:for(C=0,D=ye;C<D.length;C++)W=D[C],(r=[W.time,W.event]).push(W.data.type),r.push(W.data.hash),r.push(W.data.x),r.push(W.data.y),r.push(W.data.reaction),r.push(W.data.context),He(r,!1);we();break;case 28:X=Gt,r.push(X.visible),He(r),I(n,X.visible),ne()}return[2]}))}))}var be=[],ye=[];function we(){ye=[]}function ke(t,e,n,r,a,o,i){void 0===o&&(o=1),void 0===i&&(i=0),be.push({time:t,event:22,data:{type:e,hash:n,x:r,y:a,reaction:o,context:i}}),T(e,r,a)}var _e,xe,Oe,Ee,Me,Te=0,Ne=0,Ie=null,Se=0;function je(){Ee=!0,Te=0,Ne=0,Se=0,_e=[],xe=[],Oe={},Me=null}function He(t,e){if(void 0===e&&(e=!0),Ee){var n=s(),r=t.length>1?t[1]:null,a=JSON.stringify(t);switch(r){case 5:Te+=a.length;case 37:case 6:case 43:Ne+=a.length,_e.push(a);break;default:xe.push(a)}X(25);var o=function(){var t=!1===i.lean&&Te>0?100:Yn.sequence*i.delay;return"string"==typeof i.upload?Math.max(Math.min(t,3e4),100):i.delay}();n-Se>2*o&&(R(Ie),Ie=null),e&&null===Ie&&(25!==r&&V(),Ie=q(Ce,o),Se=n,ln(Ne))}}function Ae(){R(Ie),Ce(!0),Te=0,Ne=0,Se=0,_e=[],xe=[],Oe={},Me=null,Ee=!1}function Ce(t){return void 0===t&&(t=!1),et(this,void 0,void 0,(function(){var e,n,r,a,o,u,c,s;return nt(this,(function(l){switch(l.label){case 0:return Ie=null,(e=!1===i.lean&&Ne>0&&(Ne<1048576||Yn.sequence>0))&&Y(1,1),function(){var t=[];ye=[];for(var e=Yn.start+Yn.duration,n=Math.max(e-2e3,0),r=0,a=be;r<a.length;r++){var o=a[r];o.time>=n&&(o.time<=e&&ye.push(o),t.push(o))}be=t,me(22)}(),bt(),n=!0===t,r=JSON.stringify(Pn(n)),a="[".concat(xe.join(),"]"),o=e?"[".concat(_e.join(),"]"):"",u=function(t){return t.p.length>0?'{"e":'.concat(t.e,',"a":').concat(t.a,',"p":').concat(t.p,"}"):'{"e":'.concat(t.e,',"a":').concat(t.a,"}")}({e:r,a:a,p:o}),n?(s=null,[3,3]):[3,1];case 1:return[4,ht(u)];case 2:s=l.sent(),l.label=3;case 3:return z(2,(c=s)?c.length:u.length),De(u,c,Yn.sequence,n),xe=[],e&&(_e=[],Ne=0,Te=0),[2]}}))}))}function De(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)try{(o=navigator.sendBeacon.bind(navigator)(a,t))&&Xe(n)}catch(t){}if(!1===o){n in Oe?Oe[n].attempts++:Oe[n]={data:t,attempts:1};var u=new XMLHttpRequest;u.open("POST",a,!0),u.timeout=15e3,u.ontimeout=function(){Un(new Error("".concat("Timeout"," : ").concat(a)))},null!==n&&(u.onreadystatechange=function(){Vn(We)(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),Xe(n)}}function We(t,e){var n=Oe[e];t&&4===t.readyState&&n&&((t.status<200||t.status>208)&&n.attempts<=1?t.status>=400&&t.status<500?dn(6):(0===t.status&&(i.upload=i.fallback?i.fallback:i.upload),De(n.data,null,e)):(Me={sequence:e,attempts:n.attempts,status:t.status},n.attempts>1&&cn(2),200===t.status&&t.responseText&&function(t){for(var e=t&&t.length>0?t.split("\n"):[],n=0,r=e;n<r.length;n++){var a=r[n],o=a&&a.length>0?a.split(/ (.*)/):[""];switch(o[0]){case"END":dn(6);break;case"UPGRADE":$("Auto");break;case"ACTION":i.action&&o.length>1&&i.action(o[1]);break;case"EXTRACT":o.length>1&&Qe(o[1])}}}(t.responseText),0===t.status&&(De(n.data,null,e,!0),dn(3)),t.status>=200&&t.status<=208&&Xe(e),delete Oe[e]))}function Xe(t){1===t&&Sn()}var ze,Ye={};function qe(t){var e=t.error||t;return e.message in Ye||(Ye[e.message]=0),Ye[e.message]++>=5||e&&e.message&&(ze={message:e.message,line:t.lineno,column:t.colno,stack:e.stack,source:t.filename},Re(31)),!0}function Re(t){return et(this,void 0,void 0,(function(){var e;return nt(this,(function(n){switch(e=[s(),t],t){case 31:e.push(ze.message),e.push(ze.line),e.push(ze.column),e.push(ze.stack),e.push(m(ze.source)),He(e);break;case 33:Pe&&(e.push(Pe.code),e.push(Pe.name),e.push(Pe.message),e.push(Pe.stack),e.push(Pe.severity),He(e,!1))}return[2]}))}))}var Pe,Le={};function Ue(t,e,n,r,a){void 0===n&&(n=null),void 0===r&&(r=null),void 0===a&&(a=null);var o=n?"".concat(n,"|").concat(r):"";t in Le&&Le[t].indexOf(o)>=0||(Pe={code:t,name:n,message:r,stack:a,severity:e},t in Le?Le[t].push(o):Le[t]=[o],Re(33))}var Ve,Je={},Be=new Set,Ze={},Ge={},Fe={};function Ke(){en()}function Qe(t){try{var e=t&&t.length>0?t.split(/ (.*)/):[""],n=parseInt(e[0]),r=e.length>1?JSON.parse(e[1]):{};for(var a in Ze[n]={},Ge[n]={},Fe[n]={},r){var o=parseInt(a),i=r[a],u=2;switch(i.startsWith("~")?u=0:i.startsWith("!")&&(u=4),u){case 0:var c=i.substring(1,i.length);Ze[n][o]=an(c);break;case 2:Ge[n][o]=i;break;case 4:var s=i.substring(1,i.length);Fe[n][o]=s}}}catch(t){Ue(8,1,t?t.name:null)}}function $e(t){return JSON.parse(JSON.stringify(t))}function tn(){try{for(var t in Ze){var e=parseInt(t),n=Ze[e];for(var r in n){var a=parseInt(r),o=(f=on($e(n[a])))?JSON.stringify(f).substring(0,1e4):f;o&&nn(e,a,o)}var i=Ge[e];for(var u in i){var c=parseInt(u),s=document.querySelectorAll(i[c]);if(s)nn(e,c,Array.from(s).map((function(t){return t.textContent})).join("<SEP>").substring(0,1e4))}var l=Fe[e];for(var d in l){var h=parseInt(d);nn(e,h,(void l[h]).trim().substring(0,1e4))}}Be.size>0&&cn(40)}catch(t){Ue(5,1,t?t.name:null)}var f}function en(){Be.clear()}function nn(t,e,n){var r,a=!1;t in Je||(Je[t]={},a=!0),r=Fe[t],0==Object.keys(r).length||e in Je[t]&&Je[t][e]==n||(a=!0),Je[t][e]=n,a&&Be.add(t)}function rn(){en()}function an(t){for(var e=[],n=t.split(".");n.length>0;){var r=n.shift(),a=r.indexOf("["),o=r.indexOf("{"),i=r.indexOf("}");e.push({name:a>0?r.substring(0,a):o>0?r.substring(0,o):r,type:a>0?1:o>0?2:3,condition:o>0?r.substring(o+1,i):null})}return e}function on(t,e){if(void 0===e&&(e=window),0==t.length)return e;var n,r=t.shift();if(e&&e[r.name]){var a=e[r.name];if(1!==r.type&&un(a,r.condition))n=on(t,a);else if(Array.isArray(a)){for(var o=[],i=0,u=a;i<u.length;i++){var c=u[i];if(un(c,r.condition)){var s=on(t,c);s&&o.push(s)}}n=o}return n}return null}function un(t,e){if(e){var n=e.split(":");return n.length>1?t[n[0]]==n[1]:t[n[0]]}return!0}function cn(t){var e=[s(),t];switch(t){case 4:var n=x;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),He(e,!1)),M();break;case 25:e.push(C.gap),He(e);break;case 35:e.push(Ve.check),He(e,!1);break;case 3:e.push(Q.key),He(e);break;case 2:e.push(Me.sequence),e.push(Me.attempts),e.push(Me.status),He(e,!1);break;case 24:e.push(H.key),e.push(H.value),He(e);break;case 34:var r=Object.keys(rt);if(r.length>0){for(var a=0,o=r;a<o.length;a++){var i=o[a];e.push(i),e.push(rt[i])}ct(),He(e,!1)}break;case 0:var u=Object.keys(W);if(u.length>0){for(var c=0,l=u;c<l.length;c++){var d=l[c],h=parseInt(d,10);e.push(h),e.push(Math.round(W[d]))}W={},He(e,!1)}break;case 1:var f=Object.keys(gn);if(f.length>0){for(var p=0,g=f;p<g.length;p++){var v=g[p];h=parseInt(v,10);e.push(h),e.push(gn[v])}wn(),He(e,!1)}break;case 36:var m=Object.keys(Z);if(m.length>0){for(var b=0,y=m;b<y.length;b++){var w=y[b];h=parseInt(w,10);e.push(h),e.push([].concat.apply([],Z[w]))}F(),He(e,!1)}break;case 40:Be.forEach((function(t){e.push(t);var n=[];for(var r in Je[t]){var a=parseInt(r,10);n.push(a),n.push(Je[t][r])}e.push(n)})),en(),He(e,!1)}}function sn(){Ve={check:0}}function ln(t){if(0===Ve.check){var e=Ve.check;e=Yn.sequence>=128?1:e,e=Yn.pageNum>=128?7:e,e=s()>72e5?2:e,(e=t>10485760?2:e)!==Ve.check&&dn(e)}}function dn(t){Ve.check=t,In(),dr()}function hn(){0!==Ve.check&&cn(35)}function fn(){Ve=null}var pn=null,gn=null;function vn(){pn={},gn={}}function mn(){pn={},gn={}}function bn(t,e){e&&(e="".concat(e),t in pn||(pn[t]=[]),pn[t].indexOf(e)<0&&(pn[t].push(e),t in gn||(gn[t]=[]),gn[t].push(e),pn[t].length>128&&dn(5)))}function yn(){cn(1)}function wn(){gn={}}var kn=null,_n=[],xn=null;function On(){xn=null;var t,e=navigator&&"userAgent"in navigator?navigator.userAgent:"",n=document&&document.title?document.title:"",r=e.indexOf("Electron")>0?1:0,a=function(){var t={session:An(),ts:Math.round(Date.now()),count:1,upgrade:null,upload:""},e=Wn("_clsk");if(e){var n=e.split("|");n.length>=5&&t.ts-Cn(n[1])<18e5&&(t.session=n[0],t.count=Cn(n[2])+1,t.upgrade=Cn(n[3]),t.upload=n.length>=6?"".concat("https://").concat(n[5],"/").concat(n[4]):"".concat("https://").concat(n[4]))}return t}(),o=Dn(),u=i.projectId||function(t,e){void 0===e&&(e=null);for(var n,r=5381,a=r,o=0;o<t.length;o+=2)r=(r<<5)+r^t.charCodeAt(o),o+1<t.length&&(a=(a<<5)+a^t.charCodeAt(o+1));return n=Math.abs(r+11579*a),(e?n%Math.pow(2,e):n).toString(36)}(location.host);kn={projectId:u,userId:o.id,sessionId:a.session,pageNum:a.count},i.lean=i.track&&null!==a.upgrade?0===a.upgrade:i.lean,i.upload=i.track&&"string"==typeof i.upload&&a.upload&&a.upload.length>"https://".length?a.upload:i.upload,bn(0,e),bn(3,n),bn(1,m(location.href,!!r)),bn(2,document.referrer),bn(15,function(){var t=An();if(i.track&&jn(window,"sessionStorage")){var e=sessionStorage.getItem("_cltk");t=e||t,sessionStorage.setItem("_cltk",t)}return t}()),bn(16,document.documentElement.lang),bn(17,document.dir),bn(26,"".concat(window.devicePixelRatio)),bn(28,o.dob.toString()),bn(29,o.version.toString()),Y(0,a.ts),Y(1,0),Y(35,r),navigator&&(bn(9,navigator.language),Y(33,navigator.hardwareConcurrency),Y(32,navigator.maxTouchPoints),Y(34,Math.round(navigator.deviceMemory)),(t=navigator.userAgentData)&&t.getHighEntropyValues?t.getHighEntropyValues(["model","platform","platformVersion","uaFullVersion"]).then((function(t){var e;bn(22,t.platform),bn(23,t.platformVersion),null===(e=t.brands)||void 0===e||e.forEach((function(t){bn(24,t.name+"~"+t.version)})),bn(25,t.model),Y(27,t.mobile?1:0)})):bn(22,navigator.platform)),screen&&(Y(14,Math.round(screen.width)),Y(15,Math.round(screen.height)),Y(16,Math.round(screen.colorDepth)));for(var c=0,s=i.cookies;c<s.length;c++){var l=s[c],d=Wn(l);d&&at(l,d)}Hn(o)}function En(){xn=null,kn=null}function Mn(t,e){void 0===e&&(e=!0);var n=i.lean?0:1;kn&&(n||!1===e)?t(kn,!i.lean):_n.push({callback:t,wait:e})}function Tn(){return kn?[kn.userId,kn.sessionId,kn.pageNum].join("."):""}function Nn(){ir()&&(i.track=!0,Hn(Dn(),1))}function In(){Xn("_clsk","",0)}function Sn(){var t=Math.round(Date.now()),e=i.upload&&"string"==typeof i.upload?i.upload.replace("https://",""):"",n=i.lean?0:1;!function(t){_n.length>0&&_n.forEach((function(e){!e.callback||e.wait&&!t||e.callback(kn,!i.lean)}))}(n),Xn("_clsk",[kn.sessionId,t,kn.pageNum,n,e].join("|"),1)}function jn(t,e){try{return!!t[e]}catch(t){return!1}}function Hn(t,e){void 0===e&&(e=null),e=null===e?t.consent:e;var n=Math.ceil((Date.now()+31536e6)/864e5),r=0===t.dob?null===i.dob?0:i.dob:t.dob;(null===t.expiry||Math.abs(n-t.expiry)>=1||t.consent!==e||t.dob!==r)&&Xn("_clck",[kn.userId,2,n.toString(36),e,r].join("|"),365)}function An(){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 Cn(t,e){return void 0===e&&(e=10),parseInt(t,e)}function Dn(){var t={id:An(),version:0,expiry:null,consent:0,dob:0},e=Wn("_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="".concat(";").concat("expires=").concat(new Date(0).toUTCString()).concat(";path=/");document.cookie="".concat("_clck","=").concat(u),document.cookie="".concat("_clsk","=").concat(u)}n.length>1&&(t.version=Cn(n[1])),n.length>2&&(t.expiry=Cn(n[2],36)),n.length>3&&1===Cn(n[3])&&(t.consent=1),n.length>4&&Cn(n[1])>1&&(t.dob=Cn(n[4])),i.track=i.track||1===t.consent,t.id=i.track?n[0]:t.id}return t}function Wn(t){if(jn(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 Xn(t,e,n){if(i.track&&(navigator&&navigator.cookieEnabled||jn(document,"cookie"))){var r=new Date;r.setDate(r.getDate()+n);var a=r?"expires="+r.toUTCString():"",o="".concat(t,"=").concat(e).concat(";").concat(a).concat(";path=/");try{if(null===xn){for(var u=location.hostname?location.hostname.split("."):[],c=u.length-1;c>=0;c--)if(xn=".".concat(u[c]).concat(xn||""),c<u.length-1&&(document.cookie="".concat(o).concat(";").concat("domain=").concat(xn),Wn(t)===e))return;xn=""}}catch(t){xn=""}document.cookie=xn?"".concat(o).concat(";").concat("domain=").concat(xn):o}}var zn,Yn=null;function qn(){var t=kn;Yn={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 Rn(){Yn=null}function Pn(t){return Yn.start=Yn.start+Yn.duration,Yn.duration=s()-Yn.start,Yn.sequence++,Yn.upload=t&&"sendBeacon"in navigator?1:0,Yn.end=t?1:0,[Yn.version,Yn.sequence,Yn.start,Yn.duration,Yn.projectId,Yn.userId,Yn.sessionId,Yn.pageNum,Yn.upload,Yn.end]}function Ln(){zn=[]}function Un(t){if(zn&&-1===zn.indexOf(t.message)){var e=i.report;if(e&&e.length>0){var n={v:Yn.version,p:Yn.projectId,u:Yn.userId,s:Yn.sessionId,n:Yn.pageNum};t.message&&(n.m=t.message),t.stack&&(n.e=t.stack);var r=new XMLHttpRequest;r.open("POST",e,!0),r.send(JSON.stringify(n)),zn.push(t.message)}}return t}function Vn(t){return function(){var e=performance.now();try{t.apply(this,arguments)}catch(t){throw Un(t)}var n=performance.now()-e;z(4,n),n>30&&(X(7),Y(6,n))}}var Jn=[];function Bn(t,e,n,r){void 0===r&&(r=!1),n=Vn(n);try{t[u("addEventListener")](e,n,r),Jn.push({event:e,target:t,listener:n,capture:r})}catch(t){}}function Zn(){for(var t=0,e=Jn;t<e.length;t++){var n=e[t];try{n.target[u("removeEventListener")](n.event,n.listener,n.capture)}catch(t){}}Jn=[]}var Gn=null,Fn=null,Kn=null,Qn=0;function $n(){return!(Qn++>20)||(Ue(4,0),!1)}function tr(){Qn=0,Kn!==nr()&&(dr(),window.setTimeout(er,250))}function er(){lr(),Y(29,1)}function nr(){return location.href?location.href.replace(location.hash,""):location.href}var rr=!1;function ar(){rr=!0,c=performance.now(),St(),Zn(),Ln(),Kn=nr(),Qn=0,Bn(window,"popstate",tr),null===Gn&&(Gn=history.pushState,history.pushState=function(){Gn.apply(this,arguments),ir()&&$n()&&tr()}),null===Fn&&(Fn=history.replaceState,history.replaceState=function(){Fn.apply(this,arguments),ir()&&$n()&&tr()})}function or(){Kn=null,Qn=0,Ln(),Zn(),St(),c=0,rr=!1}function ir(){return rr}function ur(t){if(null===t||rr)return!1;for(var e in t)e in i&&(i[e]=t[e]);return!0}function cr(){lr(),A("clarity","restart")}var sr=[Object.freeze({__proto__:null,start:function(){!function(){Y(26,navigator.webdriver?1:0);try{Y(31,window.top==window.self?1:2)}catch(t){Y(31,0)}}(),Bn(window,"error",qe),Ye={},Le={}},stop:function(){Le={}}}),ve,ae,Et];function lr(t){void 0===t&&(t=null),function(){try{return!1===rr&&"undefined"!=typeof Promise&&window.MutationObserver&&document.createTreeWalker&&"now"in Date&&"now"in performance&&"undefined"!=typeof WeakMap}catch(t){return!1}}()&&(ur(t),ar(),vt(),sr.forEach((function(t){return Vn(t.start)()})),null===t&&gr())}function dr(){ir()&&(sr.slice().reverse().forEach((function(t){return Vn(t.stop)()})),mt(),or(),void 0!==fr&&(fr[pr]=function(){(fr[pr].q=fr[pr].q||[]).push(arguments),"start"===arguments[0]&&fr[pr].q.unshift(fr[pr].q.pop())&&gr()}))}var hr=Object.freeze({__proto__:null,consent:Nn,event:A,hashText:se,identify:ot,metadata:Mn,pause:function(){ir()&&(A("clarity","pause"),null===Nt&&(Nt=new Promise((function(t){It=t}))))},resume:function(){ir()&&(Nt&&(It(),Nt=null,null===Tt&&Ht()),A("clarity","resume"))},set:at,start:lr,stop:dr,upgrade:$,version:l}),fr=window,pr="clarity";function gr(){if(void 0!==fr){if(fr[pr]&&fr[pr].v)return console.warn("Error CL001: Multiple Clarity tags detected.");var t=fr[pr]&&fr[pr].q||[];for(fr[pr]=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return hr[t].apply(hr,e)},fr[pr].v=l;t.length>0;)fr[pr].apply(fr,t.shift())}}gr()}();
1
+ !function(){"use strict";var t=Object.freeze({__proto__:null,get queue(){return He},get start(){return je},get stop(){return Ae},get track(){return Me}}),e=Object.freeze({__proto__:null,get clone(){return $e},get compute(){return tn},get data(){return Je},get keys(){return Be},get reset(){return en},get start(){return Ke},get stop(){return rn},get trigger(){return Qe},get update(){return nn}}),n=Object.freeze({__proto__:null,get check(){return ln},get compute(){return hn},get data(){return Ve},get start(){return sn},get stop(){return fn},get trigger(){return dn}}),r=Object.freeze({__proto__:null,get compute(){return yn},get data(){return pn},get log(){return bn},get reset(){return wn},get start(){return vn},get stop(){return mn},get updates(){return gn}}),a=Object.freeze({__proto__:null,get callbacks(){return _n},get clear(){return In},get consent(){return Nn},get data(){return kn},get id(){return Tn},get metadata(){return Mn},get save(){return Sn},get start(){return On},get stop(){return En}}),o=Object.freeze({__proto__:null,get data(){return Yn},get envelope(){return Pn},get start(){return qn},get stop(){return Rn}}),i={projectId:null,delay:1e3,lean:!1,track:!0,content:!0,drop:[],mask:[],unmask:[],regions:[],cookies:[],fraud:!0,checksum:[],report:null,upload:null,fallback:null,upgrade:null,action:null,dob:null};function u(t){return window.Zone&&"__symbol__"in window.Zone?window.Zone.__symbol__(t):t}var c=0;function s(t){void 0===t&&(t=null);var e=t&&t.timeStamp>0?t.timeStamp:performance.now();return Math.max(Math.round(e-c),0)}var l="0.7.9";var d=/\S/gi,h=!0,f=null,p=null,g=null;function v(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":case"click":return function(t){var e=-1,n=0,r=!1,a=!1,o=!1,i=null;_();for(var u=0;u<t.length;u++){var c=t.charCodeAt(u);if(r=r||c>=48&&c<=57,a=a||64===c,o=9===c||10===c||13===c||32===c,0===u||u===t.length-1||o){if(r||a){null===i&&(i=t.split(""));var s=t.substring(e+1,o?u:u+1);s=h&&null!==g?s.match(g)?s:w(s,"▪","▫"):y(s),i.splice(e+1-n,s.length,s),n+=s.length-1}o&&(r=!1,a=!1,e=u)}}return i?i.join(""):t}(t);case"input":case"change":return k(t)}return t;case 2:case 3:switch(e){case"*T":case"data-":return r?b(t):y(t);case"src":case"srcset":case"title":case"alt":return 3===n?"":t;case"value":case"click":case"input":case"change":return k(t);case"placeholder":return y(t)}break;case 4:switch(e){case"*T":case"data-":return r?b(t):y(t);case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":return""}break;case 5:switch(e){case"*T":case"data-":return w(t,"▪","▫");case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":case"src":case"srcset":case"alt":case"title":return""}}return t}function m(t,e){if(void 0===e&&(e=!1),e)return"".concat("https://").concat("Electron");var n=i.drop;if(n&&n.length>0&&t&&t.indexOf("?")>0){var r=t.split("?"),a=r[0],o=r[1];return a+"?"+o.split("&").map((function(t){return n.some((function(e){return 0===t.indexOf("".concat(e,"="))}))?"".concat(t.split("=")[0],"=").concat("*na*"):t})).join("&")}return t}function b(t){var e=t.trim();if(e.length>0){var n=e[0],r=t.indexOf(n),a=t.substr(0,r),o=t.substr(r+e.length);return"".concat(a).concat(e.length.toString(36)).concat(o)}return t}function y(t){return t.replace(d,"•")}function w(t,e,n){return _(),t?t.replace(p,e).replace(f,n):t}function k(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 _(){if(h&&null===f)try{f=new RegExp("\\p{N}","gu"),p=new RegExp("\\p{L}","gu"),g=new RegExp("\\p{Sc}","gu")}catch(t){h=!1}}var x=null,O=null,E=!1;function M(){E&&(x={time:s(),event:4,data:{visible:O.visible,docWidth:O.docWidth,docHeight:O.docHeight,screenWidth:O.screenWidth,screenHeight:O.screenHeight,scrollX:O.scrollX,scrollY:O.scrollY,pointerX:O.pointerX,pointerY:O.pointerY,activityTime:O.activityTime}}),O=O||{visible:1,docWidth:0,docHeight:0,screenWidth:0,screenHeight:0,scrollX:0,scrollY:0,pointerX:0,pointerY:0,activityTime:0}}function T(t,e,n){switch(t){case 8:O.docWidth=e,O.docHeight=n;break;case 11:O.screenWidth=e,O.screenHeight=n;break;case 10:O.scrollX=e,O.scrollY=n;break;default:O.pointerX=e,O.pointerY=n}E=!0}function N(t){O.activityTime=t}function I(t,e){O.visible="visible"===e?1:0,O.visible||N(t),E=!0}function S(){E&&cn(4)}var j=Object.freeze({__proto__:null,activity:N,compute:S,reset:M,start:function(){E=!1,M()},get state(){return x},stop:function(){M()},track:T,visibility:I}),H=null;function A(t,e){ir()&&t&&e&&"string"==typeof t&&"string"==typeof e&&t.length<255&&e.length<255&&(H={key:t,value:e},cn(24))}var C,D=null,W=null;function X(t){t in D||(D[t]=0),t in W||(W[t]=0),D[t]++,W[t]++}function z(t,e){null!==e&&(t in D||(D[t]=0),t in W||(W[t]=0),D[t]+=e,W[t]+=e)}function Y(t,e){null!==e&&!1===isNaN(e)&&(t in D||(D[t]=0),(e>D[t]||0===D[t])&&(W[t]=e,D[t]=e))}function q(t,e,n){return window.setTimeout(Vn(t),e,n)}function R(t){return window.clearTimeout(t)}var P=0,L=0,U=null;function V(){U&&R(U),U=q(J,L),P=s()}function J(){var t=s();C={gap:t-P},cn(25),C.gap<3e5?U=q(J,L):rr&&(A("clarity","suspend"),dr(),["mousemove","touchstart"].forEach((function(t){return Bn(document,t,cr)})),["resize","scroll","pageshow"].forEach((function(t){return Bn(window,t,cr)})))}var B=Object.freeze({__proto__:null,get data(){return C},reset:V,start:function(){L=6e4,P=0},stop:function(){R(U),P=0,L=0}}),Z=null;function G(){cn(36)}function F(){Z={}}var K=Object.freeze({__proto__:null,compute:G,get data(){return Z},reset:F,start:function(){Z={}},stop:function(){Z={}},track:function(t,e){if(t in Z){var n=Z[t],r=n[n.length-1];e-r[0]>100?Z[t].push([e,0]):r[1]=e-r[0]}else Z[t]=[[e,0]]}}),Q=null;function $(t){ir()&&i.lean&&(i.lean=!1,Q={key:t},Sn(),i.upgrade&&i.upgrade(t),cn(3))}var tt=Object.freeze({__proto__:null,get data(){return Q},start:function(){!i.lean&&i.upgrade&&i.upgrade("Config"),Q=null},stop:function(){Q=null},upgrade:$});function et(t,e,n,r){return new(n||(n=Promise))((function(a,o){function i(t){try{c(r.next(t))}catch(t){o(t)}}function u(t){try{c(r.throw(t))}catch(t){o(t)}}function c(t){var e;t.done?a(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(i,u)}c((r=r.apply(t,e||[])).next())}))}function nt(t,e){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(u){return function(c){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,u[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&u[0]?r.return:u[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,u[1])).done)return a;switch(r=0,a&&(u=[2&u[0],a.value]),u[0]){case 0:case 1:a=u;break;case 4:return i.label++,{value:u[1],done:!1};case 5:i.label++,r=u[1],u=[0];continue;case 7:u=i.ops.pop(),i.trys.pop();continue;default:if(!(a=i.trys,(a=a.length>0&&a[a.length-1])||6!==u[0]&&2!==u[0])){i=0;continue}if(3===u[0]&&(!a||u[1]>a[0]&&u[1]<a[3])){i.label=u[1];break}if(6===u[0]&&i.label<a[1]){i.label=a[1],a=u;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(u);break}a[2]&&i.ops.pop(),i.trys.pop();continue}u=e.call(t,i)}catch(t){u=[6,t],r=0}finally{n=a=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,c])}}}var rt=null;function at(t,e){it(t,"string"==typeof e?[e]:e)}function ot(t,e,n,r){return void 0===e&&(e=null),void 0===n&&(n=null),void 0===r&&(r=null),et(this,void 0,void 0,(function(){var a,o;return nt(this,(function(i){switch(i.label){case 0:return o={},[4,st(t)];case 1:return o.userId=i.sent(),o.userHint=r||((u=t)&&u.length>=5?"".concat(u.substring(0,2)).concat(w(u.substring(2),"*","*")):w(u,"*","*")),it("userId",[(a=o).userId]),it("userHint",[a.userHint]),it("userType",[lt(t)]),e&&(it("sessionId",[e]),a.sessionId=e),n&&(it("pageId",[n]),a.pageId=n),[2,a]}var u}))}))}function it(t,e){if(ir()&&t&&e&&"string"==typeof t&&t.length<255){for(var n=(t in rt?rt[t]:[]),r=0;r<e.length;r++)"string"==typeof e[r]&&e[r].length<255&&n.push(e[r]);rt[t]=n}}function ut(){cn(34)}function ct(){rt={}}function st(t){return et(this,void 0,void 0,(function(){var e;return nt(this,(function(n){switch(n.label){case 0:return n.trys.push([0,4,,5]),crypto&&t?[4,crypto.subtle.digest("SHA-256",(new TextEncoder).encode(t))]:[3,2];case 1:return e=n.sent(),[2,Array.prototype.map.call(new Uint8Array(e),(function(t){return("00"+t.toString(16)).slice(-2)})).join("")];case 2:return[2,""];case 3:return[3,5];case 4:return n.sent(),[2,""];case 5:return[2]}}))}))}function lt(t){return t&&t.indexOf("@")>0?"email":"string"}var dt="CompressionStream"in window;function ht(t){return et(this,void 0,void 0,(function(){var e,n;return nt(this,(function(r){switch(r.label){case 0:return r.trys.push([0,3,,4]),dt?(e=new ReadableStream({start:function(e){return et(this,void 0,void 0,(function(){return nt(this,(function(n){return e.enqueue(t),e.close(),[2]}))}))}}).pipeThrough(new TextEncoderStream).pipeThrough(new window.CompressionStream("gzip")),n=Uint8Array.bind,[4,ft(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 ft(t){return et(this,void 0,void 0,(function(){var e,n,r,a,o;return nt(this,(function(i){switch(i.label){case 0:e=t.getReader(),n=[],r=!1,a=[],i.label=1;case 1:return r?[3,3]:[4,e.read()];case 2:return o=i.sent(),r=o.done,a=o.value,r?[2,n]:(n.push.apply(n,a),[3,1]);case 3:return[2,n]}}))}))}var pt,gt=[j,r,Object.freeze({__proto__:null,compute:ut,get data(){return rt},identify:ot,reset:ct,set:at,start:function(){ct()},stop:function(){ct()}}),n,K,a,o,t,B,tt,e];function vt(){D={},W={},X(5),gt.forEach((function(t){return Vn(t.start)()}))}function mt(){gt.slice().reverse().forEach((function(t){return Vn(t.stop)()})),D={},W={}}function bt(){ut(),S(),yn(),cn(0),G(),hn(),tn()}function yt(t){return et(this,void 0,void 0,(function(){var e,n,r,a,o,i,u,c,l,d,h,f,p;return nt(this,(function(g){switch(e=s(),n=[e,t],t){case 8:r=pt,n.push(r.width),n.push(r.height),T(t,r.width,r.height),He(n);break;case 43:if((a=oe).length>0){for(o=0,i=a;o<i.length;o++)for(u=i[o],c=u.metadata.privacy,l=u.data,d=0,h=["tag","attributes","value"];d<h.length;d++)if(l[f=h[d]])switch(f){case"tag":n.push(u.id),u.parent&&n.push(u.parent),u.previous&&n.push(u.previous),n.push(l[f]);break;case"attributes":for(p in l[f])void 0!==l[f][p]&&n.push(wt(p,l[f][p],c));break;case"value":n.push(v(l[f],l.tag,c))}He(function(t){for(var e=[],n={},r=0,a=null,o=0;o<t.length;o++)if("string"==typeof t[o]){var i=t[o],u=n[i]||-1;u>=0?a?a.push(u):(a=[u],e.push(a),r++):(a=null,e.push(i),n[i]=r++)}else a=null,e.push(t[o]),r++;return e}(n),!0)}}return[2]}))}))}function wt(t,e,n){return"".concat(t,"=").concat(v(e,0===t.indexOf("data-")?"data-":t,n))}function kt(){pt=null}function _t(){var t,e,n,r,a,o,i,u,c,s,l,d,h,f,p,g;kt(),t=document.body,e=document.documentElement,n=t?t.clientWidth:null,r=t?t.scrollWidth:null,a=t?t.offsetWidth:null,o=e?e.clientWidth:null,i=e?e.scrollWidth:null,u=e?e.offsetWidth:null,c=Math.max(n,r,a,o,i,u),s=t?t.clientHeight:null,l=t?t.scrollHeight:null,d=t?t.offsetHeight:null,h=e?e.clientHeight:null,f=e?e.scrollHeight:null,p=e?e.offsetHeight:null,g=Math.max(s,l,d,h,f,p),null!==pt&&c===pt.width&&g===pt.height||null===c||null===g||(pt={width:c,height:g},yt(8))}var xt=[],Ot=null;var Et=Object.freeze({__proto__:null,compute:function(){},data:Ot,log:function(){},observe:function(){},reset:function(){},start:function(){},state:xt,stop:function(){}}),Mt=[],Tt=null,Nt=null,It=null;function St(){Mt=[],Tt=null,Nt=null}function jt(t,e){return void 0===e&&(e=0),et(this,void 0,void 0,(function(){var n,r,a;return nt(this,(function(o){for(n=0,r=Mt;n<r.length;n++)if(r[n].task===t)return[2];return a=new Promise((function(n){Mt[1===e?"unshift":"push"]({task:t,resolve:n,id:Tn()})})),null===Tt&&null===Nt&&Ht(),[2,a]}))}))}function Ht(){var t=Mt.shift();t&&(Tt=t,t.task().then((function(){t.id===Tn()&&(t.resolve(),Tt=null,Ht())})).catch((function(e){t.id===Tn()&&(e&&Ue(0,1,e.name,e.message,e.stack),Tt=null,Ht())})))}var At,Ct=["input","textarea","radio","button","canvas"],Dt=[];function Wt(t){Bn(t,"click",Xt.bind(this,9,t),!0)}function Xt(t,e,n){var r=document.documentElement,a="pageX"in n?Math.round(n.pageX):"clientX"in n?Math.round(n.clientX+r.scrollLeft):null,o="pageY"in n?Math.round(n.pageY):"clientY"in n?Math.round(n.clientY+r.scrollTop):null,i=le(n),u=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}(i),c=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}(i);0===n.detail&&c&&(a=Math.round(c.x+c.w/2),o=Math.round(c.y+c.h/2));var l=c?Math.max(Math.floor((a-c.x)/c.w*32767),0):0,d=c?Math.max(Math.floor((o-c.y)/c.h*32767),0):0;null!==a&&null!==o&&(Dt.push({time:s(n),event:t,data:{target:i,x:a,y:o,eX:l,eY:d,button:n.button,reaction:Yt(i),context:qt(u),text:zt(i),link:u?u.href:null,hash:null,trust:n.isTrusted?1:0}}),jt(me.bind(this,t)))}function zt(t){var e=null;if(t){var n=t.textContent||t.value||t.alt;n&&(e=n.replace(/\s+/g," ").trim().substr(0,25))}return e}function Yt(t){if(t.nodeType===Node.ELEMENT_NODE){var e=t.tagName.toLowerCase();if(Ct.indexOf(e)>=0)return 0}return 1}function qt(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 Rt(){Dt=[]}function Pt(){var t=document.documentElement;At={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},me(11)}function Lt(){At=null}var Ut=[],Vt=null;function Jt(t){void 0===t&&(t=null);var e=window,n=document.documentElement,r=t?le(t):n;if(r&&r.nodeType===Node.DOCUMENT_NODE){r=n=r.documentElement}var a=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),i={time:s(t),event:10,data:{target:r,x:a,y:o}};if((null!==t||0!==a||0!==o)&&null!==a&&null!==o){var u=Ut.length,c=u>1?Ut[u-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,i)&&Ut.pop(),Ut.push(i),R(Vt),Vt=q(Bt,500,10)}}function Bt(t){jt(me.bind(this,t))}var Zt,Gt,Ft=[];function Kt(t){Ft.push({time:s(t),event:39,data:{target:le(t)}}),jt(me.bind(this,39))}function Qt(){Ft=[]}function $t(t){Zt={name:t.type},me(26,s(t)),dr()}function te(){Zt=null}function ee(t){void 0===t&&(t=null),Gt={visible:"visibilityState"in document?document.visibilityState:"default"},me(28,s(t))}function ne(){Gt=null}function re(t){!function(t){Bn(t===document?window:t,"scroll",Jt,!0)}(t),t.nodeType===Node.DOCUMENT_NODE&&(Wt(t),function(t){Bn(t,"submit",Kt,!0)}(t))}var ae=Object.freeze({__proto__:null,observe:re,start:function(){be=[],we(),Rt(),Bn(window,"resize",Pt),Pt(),Bn(document,"visibilitychange",ee),ee(),Ut=[],Jt(),Qt(),Bn(window,"pagehide",$t)},stop:function(){be=[],we(),Rt(),Lt(),ne(),R(Vt),Ut=[],Qt(),te()}}),oe=[],ie=1,ue=null;function ce(){return!1}function se(){}function le(t){var e=t.composed&&t.composedPath?t.composedPath():null,n=e&&e.length>0?e[0]:t.target;return n.nodeType===Node.DOCUMENT_NODE?n.documentElement:n}function de(t){var e={id:0,hash:null,privacy:5,node:t};return t&&(e.id=ue.has(t)?ue.get(t):pe(t)),e}function he(){ue=new WeakMap}function fe(t){var e={},n=t.attributes;if(n&&n.length>0)for(var r=0;r<n.length;r++)e[n[r].name]=n[r].value;return e}function pe(t){return null===t?null:ue.has(t)?ue.get(t):(ue.set(t,ie),ie++)}function ge(t,e,n){if(t&&n&&n.tag){var r=pe(t),a=e?ue.get(e):null,o=t.previousSibling?ue.get(t.previousSibling):null;oe.push({id:r,parent:a,previous:o,children:[],data:n,selector:null,hash:null,region:null,metadata:{active:!0,suspend:!1,privacy:5,position:null,fraud:null,size:null}})}}var ve=Object.freeze({__proto__:null,compute:function(){},hashText:se,iframe:ce,metadata:de,offset:function(){return{x:0,y:0}},snapshot:function(){oe=[],function(t){var e=[t];for(;e.length>0;){for(var n=null,r=null,a=null,o=e.shift(),i=o.firstChild,u=o.parentElement?o.parentElement:o.parentNode?o.parentNode:null;i;)e.push(i),i=i.nextSibling;switch(o.nodeType){case Node.DOCUMENT_TYPE_NODE:var c=o;r="*D",n={name:c.name,publicId:c.publicId,systemId:c.systemId};break;case Node.TEXT_NODE:a=o.nodeValue,r=ue.get(u)?"*T":r;break;case Node.ELEMENT_NODE:var s=o;n=fe(s),r=["NOSCRIPT","SCRIPT","STYLE"].indexOf(s.tagName)<0?s.tagName:r}ge(o,u,{tag:r,attributes:n,value:a})}}(document),yt(43)},start:function(){he(),_t(),pe(document.documentElement),re(document)},stop:function(){he(),kt()},target:le,get values(){return oe}});function me(t,e){return void 0===e&&(e=null),et(this,void 0,void 0,(function(){var n,r,a,o,i,u,c,l,d,h,f,p,g,b,y,w,k,_,x,O,E,M,N,S,j,H,A,C,D,W,X;return nt(this,(function(z){switch(n=e||s(),r=[n,t],t){case 13:case 14:case 12:case 15:case 16:case 17:case 18:case 19:case 20:for(a=0,o=xt;a<o.length;a++)W=o[a],(i=de(W.data.target,W.event)).id>0&&((r=[W.time,W.event]).push(i.id),r.push(W.data.x),r.push(W.data.y),He(r),T(W.event,W.data.x,W.data.y));break;case 9:for(u=0,c=Dt;u<c.length;u++)W=c[u],l=de(W.data.target,W.event,W.data.text),r=[W.time,W.event],d=l.hash?l.hash.join("."):"",r.push(l.id),r.push(W.data.x),r.push(W.data.y),r.push(W.data.eX),r.push(W.data.eY),r.push(W.data.button),r.push(W.data.reaction),r.push(W.data.context),r.push(v(W.data.text,"click",l.privacy)),r.push(m(W.data.link)),r.push(d),r.push(W.data.trust),He(r),ke(W.time,W.event,d,W.data.x,W.data.y,W.data.reaction,W.data.context);Rt();break;case 38:for(h=0,f=xt;h<f.length;h++)W=f[h],r=[W.time,W.event],(A=de(W.data.target,W.event)).id>0&&(r.push(A.id),r.push(W.data.action),He(r));break;case 11:p=At,r.push(p.width),r.push(p.height),T(t,p.width,p.height),Lt(),He(r);break;case 26:g=Zt,r.push(g.name),te(),He(r);break;case 27:for(b=0,y=xt;b<y.length;b++)W=y[b],w=de(W.data.target,W.event,W.data.value),(r=[W.time,W.event]).push(w.id),r.push(v(W.data.value,"input",w.privacy)),He(r);break;case 21:(k=Ot)&&(_=de(k.start),x=de(k.end),r.push(_.id),r.push(k.startOffset),r.push(x.id),r.push(k.endOffset),He(r));break;case 10:for(O=0,E=Ut;O<E.length;O++)W=E[O],(M=de(W.data.target,W.event)).id>0&&((r=[W.time,W.event]).push(M.id),r.push(W.data.x),r.push(W.data.y),He(r),T(W.event,W.data.x,W.data.y));Ut=[];break;case 42:for(N=0,S=xt;N<S.length;N++)W=S[N],r=[W.time,W.event],(A=de(W.data.target,W.event)).id>0&&((r=[W.time,W.event]).push(A.id),r.push(W.data.type),r.push(v(W.data.value,"change",A.privacy)),r.push(v(W.data.checksum,"checksum",A.privacy)),He(r));break;case 39:for(j=0,H=Ft;j<H.length;j++)W=H[j],r=[W.time,W.event],(A=de(W.data.target,W.event)).id>0&&(r.push(A.id),He(r));Qt();break;case 22:for(C=0,D=ye;C<D.length;C++)W=D[C],(r=[W.time,W.event]).push(W.data.type),r.push(W.data.hash),r.push(W.data.x),r.push(W.data.y),r.push(W.data.reaction),r.push(W.data.context),He(r,!1);we();break;case 28:X=Gt,r.push(X.visible),He(r),I(n,X.visible),ne()}return[2]}))}))}var be=[],ye=[];function we(){ye=[]}function ke(t,e,n,r,a,o,i){void 0===o&&(o=1),void 0===i&&(i=0),be.push({time:t,event:22,data:{type:e,hash:n,x:r,y:a,reaction:o,context:i}}),T(e,r,a)}var _e,xe,Oe,Ee,Me,Te=0,Ne=0,Ie=null,Se=0;function je(){Ee=!0,Te=0,Ne=0,Se=0,_e=[],xe=[],Oe={},Me=null}function He(t,e){if(void 0===e&&(e=!0),Ee){var n=s(),r=t.length>1?t[1]:null,a=JSON.stringify(t);switch(r){case 5:Te+=a.length;case 37:case 6:case 43:Ne+=a.length,_e.push(a);break;default:xe.push(a)}X(25);var o=function(){var t=!1===i.lean&&Te>0?100:Yn.sequence*i.delay;return"string"==typeof i.upload?Math.max(Math.min(t,3e4),100):i.delay}();n-Se>2*o&&(R(Ie),Ie=null),e&&null===Ie&&(25!==r&&V(),Ie=q(Ce,o),Se=n,ln(Ne))}}function Ae(){R(Ie),Ce(!0),Te=0,Ne=0,Se=0,_e=[],xe=[],Oe={},Me=null,Ee=!1}function Ce(t){return void 0===t&&(t=!1),et(this,void 0,void 0,(function(){var e,n,r,a,o,u,c,s;return nt(this,(function(l){switch(l.label){case 0:return Ie=null,(e=!1===i.lean&&Ne>0&&(Ne<1048576||Yn.sequence>0))&&Y(1,1),function(){var t=[];ye=[];for(var e=Yn.start+Yn.duration,n=Math.max(e-2e3,0),r=0,a=be;r<a.length;r++){var o=a[r];o.time>=n&&(o.time<=e&&ye.push(o),t.push(o))}be=t,me(22)}(),bt(),n=!0===t,r=JSON.stringify(Pn(n)),a="[".concat(xe.join(),"]"),o=e?"[".concat(_e.join(),"]"):"",u=function(t){return t.p.length>0?'{"e":'.concat(t.e,',"a":').concat(t.a,',"p":').concat(t.p,"}"):'{"e":'.concat(t.e,',"a":').concat(t.a,"}")}({e:r,a:a,p:o}),n?(s=null,[3,3]):[3,1];case 1:return[4,ht(u)];case 2:s=l.sent(),l.label=3;case 3:return z(2,(c=s)?c.length:u.length),De(u,c,Yn.sequence,n),xe=[],e&&(_e=[],Ne=0,Te=0),[2]}}))}))}function De(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)try{(o=navigator.sendBeacon.bind(navigator)(a,t))&&Xe(n)}catch(t){}if(!1===o){n in Oe?Oe[n].attempts++:Oe[n]={data:t,attempts:1};var u=new XMLHttpRequest;u.open("POST",a,!0),u.timeout=15e3,u.ontimeout=function(){Un(new Error("".concat("Timeout"," : ").concat(a)))},null!==n&&(u.onreadystatechange=function(){Vn(We)(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),Xe(n)}}function We(t,e){var n=Oe[e];t&&4===t.readyState&&n&&((t.status<200||t.status>208)&&n.attempts<=1?t.status>=400&&t.status<500?dn(6):(0===t.status&&(i.upload=i.fallback?i.fallback:i.upload),De(n.data,null,e)):(Me={sequence:e,attempts:n.attempts,status:t.status},n.attempts>1&&cn(2),200===t.status&&t.responseText&&function(t){for(var e=t&&t.length>0?t.split("\n"):[],n=0,r=e;n<r.length;n++){var a=r[n],o=a&&a.length>0?a.split(/ (.*)/):[""];switch(o[0]){case"END":dn(6);break;case"UPGRADE":$("Auto");break;case"ACTION":i.action&&o.length>1&&i.action(o[1]);break;case"EXTRACT":o.length>1&&Qe(o[1])}}}(t.responseText),0===t.status&&(De(n.data,null,e,!0),dn(3)),t.status>=200&&t.status<=208&&Xe(e),delete Oe[e]))}function Xe(t){1===t&&Sn()}var ze,Ye={};function qe(t){var e=t.error||t;return e.message in Ye||(Ye[e.message]=0),Ye[e.message]++>=5||e&&e.message&&(ze={message:e.message,line:t.lineno,column:t.colno,stack:e.stack,source:t.filename},Re(31)),!0}function Re(t){return et(this,void 0,void 0,(function(){var e;return nt(this,(function(n){switch(e=[s(),t],t){case 31:e.push(ze.message),e.push(ze.line),e.push(ze.column),e.push(ze.stack),e.push(m(ze.source)),He(e);break;case 33:Pe&&(e.push(Pe.code),e.push(Pe.name),e.push(Pe.message),e.push(Pe.stack),e.push(Pe.severity),He(e,!1))}return[2]}))}))}var Pe,Le={};function Ue(t,e,n,r,a){void 0===n&&(n=null),void 0===r&&(r=null),void 0===a&&(a=null);var o=n?"".concat(n,"|").concat(r):"";t in Le&&Le[t].indexOf(o)>=0||(Pe={code:t,name:n,message:r,stack:a,severity:e},t in Le?Le[t].push(o):Le[t]=[o],Re(33))}var Ve,Je={},Be=new Set,Ze={},Ge={},Fe={};function Ke(){en()}function Qe(t){try{var e=t&&t.length>0?t.split(/ (.*)/):[""],n=parseInt(e[0]),r=e.length>1?JSON.parse(e[1]):{};for(var a in Ze[n]={},Ge[n]={},Fe[n]={},r){var o=parseInt(a),i=r[a],u=2;switch(i.startsWith("~")?u=0:i.startsWith("!")&&(u=4),u){case 0:var c=i.substring(1,i.length);Ze[n][o]=an(c);break;case 2:Ge[n][o]=i;break;case 4:var s=i.substring(1,i.length);Fe[n][o]=s}}}catch(t){Ue(8,1,t?t.name:null)}}function $e(t){return JSON.parse(JSON.stringify(t))}function tn(){try{for(var t in Ze){var e=parseInt(t),n=Ze[e];for(var r in n){var a=parseInt(r),o=(f=on($e(n[a])))?JSON.stringify(f).substring(0,1e4):f;o&&nn(e,a,o)}var i=Ge[e];for(var u in i){var c=parseInt(u),s=document.querySelectorAll(i[c]);if(s)nn(e,c,Array.from(s).map((function(t){return t.textContent})).join("<SEP>").substring(0,1e4))}var l=Fe[e];for(var d in l){var h=parseInt(d);nn(e,h,(void l[h]).trim().substring(0,1e4))}}Be.size>0&&cn(40)}catch(t){Ue(5,1,t?t.name:null)}var f}function en(){Be.clear()}function nn(t,e,n){var r,a=!1;t in Je||(Je[t]={},a=!0),r=Fe[t],0==Object.keys(r).length||e in Je[t]&&Je[t][e]==n||(a=!0),Je[t][e]=n,a&&Be.add(t)}function rn(){en()}function an(t){for(var e=[],n=t.split(".");n.length>0;){var r=n.shift(),a=r.indexOf("["),o=r.indexOf("{"),i=r.indexOf("}");e.push({name:a>0?r.substring(0,a):o>0?r.substring(0,o):r,type:a>0?1:o>0?2:3,condition:o>0?r.substring(o+1,i):null})}return e}function on(t,e){if(void 0===e&&(e=window),0==t.length)return e;var n,r=t.shift();if(e&&e[r.name]){var a=e[r.name];if(1!==r.type&&un(a,r.condition))n=on(t,a);else if(Array.isArray(a)){for(var o=[],i=0,u=a;i<u.length;i++){var c=u[i];if(un(c,r.condition)){var s=on(t,c);s&&o.push(s)}}n=o}return n}return null}function un(t,e){if(e){var n=e.split(":");return n.length>1?t[n[0]]==n[1]:t[n[0]]}return!0}function cn(t){var e=[s(),t];switch(t){case 4:var n=x;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),He(e,!1)),M();break;case 25:e.push(C.gap),He(e);break;case 35:e.push(Ve.check),He(e,!1);break;case 3:e.push(Q.key),He(e);break;case 2:e.push(Me.sequence),e.push(Me.attempts),e.push(Me.status),He(e,!1);break;case 24:e.push(H.key),e.push(H.value),He(e);break;case 34:var r=Object.keys(rt);if(r.length>0){for(var a=0,o=r;a<o.length;a++){var i=o[a];e.push(i),e.push(rt[i])}ct(),He(e,!1)}break;case 0:var u=Object.keys(W);if(u.length>0){for(var c=0,l=u;c<l.length;c++){var d=l[c],h=parseInt(d,10);e.push(h),e.push(Math.round(W[d]))}W={},He(e,!1)}break;case 1:var f=Object.keys(gn);if(f.length>0){for(var p=0,g=f;p<g.length;p++){var v=g[p];h=parseInt(v,10);e.push(h),e.push(gn[v])}wn(),He(e,!1)}break;case 36:var m=Object.keys(Z);if(m.length>0){for(var b=0,y=m;b<y.length;b++){var w=y[b];h=parseInt(w,10);e.push(h),e.push([].concat.apply([],Z[w]))}F(),He(e,!1)}break;case 40:Be.forEach((function(t){e.push(t);var n=[];for(var r in Je[t]){var a=parseInt(r,10);n.push(a),n.push(Je[t][r])}e.push(n)})),en(),He(e,!1)}}function sn(){Ve={check:0}}function ln(t){if(0===Ve.check){var e=Ve.check;e=Yn.sequence>=128?1:e,e=Yn.pageNum>=128?7:e,e=s()>72e5?2:e,(e=t>10485760?2:e)!==Ve.check&&dn(e)}}function dn(t){Ve.check=t,In(),dr()}function hn(){0!==Ve.check&&cn(35)}function fn(){Ve=null}var pn=null,gn=null;function vn(){pn={},gn={}}function mn(){pn={},gn={}}function bn(t,e){e&&(e="".concat(e),t in pn||(pn[t]=[]),pn[t].indexOf(e)<0&&(pn[t].push(e),t in gn||(gn[t]=[]),gn[t].push(e),pn[t].length>128&&dn(5)))}function yn(){cn(1)}function wn(){gn={}}var kn=null,_n=[],xn=null;function On(){xn=null;var t,e=navigator&&"userAgent"in navigator?navigator.userAgent:"",n=document&&document.title?document.title:"",r=e.indexOf("Electron")>0?1:0,a=function(){var t={session:An(),ts:Math.round(Date.now()),count:1,upgrade:null,upload:""},e=Wn("_clsk");if(e){var n=e.split("|");n.length>=5&&t.ts-Cn(n[1])<18e5&&(t.session=n[0],t.count=Cn(n[2])+1,t.upgrade=Cn(n[3]),t.upload=n.length>=6?"".concat("https://").concat(n[5],"/").concat(n[4]):"".concat("https://").concat(n[4]))}return t}(),o=Dn(),u=i.projectId||function(t,e){void 0===e&&(e=null);for(var n,r=5381,a=r,o=0;o<t.length;o+=2)r=(r<<5)+r^t.charCodeAt(o),o+1<t.length&&(a=(a<<5)+a^t.charCodeAt(o+1));return n=Math.abs(r+11579*a),(e?n%Math.pow(2,e):n).toString(36)}(location.host);kn={projectId:u,userId:o.id,sessionId:a.session,pageNum:a.count},i.lean=i.track&&null!==a.upgrade?0===a.upgrade:i.lean,i.upload=i.track&&"string"==typeof i.upload&&a.upload&&a.upload.length>"https://".length?a.upload:i.upload,bn(0,e),bn(3,n),bn(1,m(location.href,!!r)),bn(2,document.referrer),bn(15,function(){var t=An();if(i.track&&jn(window,"sessionStorage")){var e=sessionStorage.getItem("_cltk");t=e||t,sessionStorage.setItem("_cltk",t)}return t}()),bn(16,document.documentElement.lang),bn(17,document.dir),bn(26,"".concat(window.devicePixelRatio)),bn(28,o.dob.toString()),bn(29,o.version.toString()),Y(0,a.ts),Y(1,0),Y(35,r),navigator&&(bn(9,navigator.language),Y(33,navigator.hardwareConcurrency),Y(32,navigator.maxTouchPoints),Y(34,Math.round(navigator.deviceMemory)),(t=navigator.userAgentData)&&t.getHighEntropyValues?t.getHighEntropyValues(["model","platform","platformVersion","uaFullVersion"]).then((function(t){var e;bn(22,t.platform),bn(23,t.platformVersion),null===(e=t.brands)||void 0===e||e.forEach((function(t){bn(24,t.name+"~"+t.version)})),bn(25,t.model),Y(27,t.mobile?1:0)})):bn(22,navigator.platform)),screen&&(Y(14,Math.round(screen.width)),Y(15,Math.round(screen.height)),Y(16,Math.round(screen.colorDepth)));for(var c=0,s=i.cookies;c<s.length;c++){var l=s[c],d=Wn(l);d&&at(l,d)}Hn(o)}function En(){xn=null,kn=null}function Mn(t,e){void 0===e&&(e=!0);var n=i.lean?0:1;kn&&(n||!1===e)?t(kn,!i.lean):_n.push({callback:t,wait:e})}function Tn(){return kn?[kn.userId,kn.sessionId,kn.pageNum].join("."):""}function Nn(){ir()&&(i.track=!0,Hn(Dn(),1))}function In(){Xn("_clsk","",0)}function Sn(){var t=Math.round(Date.now()),e=i.upload&&"string"==typeof i.upload?i.upload.replace("https://",""):"",n=i.lean?0:1;!function(t){_n.length>0&&_n.forEach((function(e){!e.callback||e.wait&&!t||e.callback(kn,!i.lean)}))}(n),Xn("_clsk",[kn.sessionId,t,kn.pageNum,n,e].join("|"),1)}function jn(t,e){try{return!!t[e]}catch(t){return!1}}function Hn(t,e){void 0===e&&(e=null),e=null===e?t.consent:e;var n=Math.ceil((Date.now()+31536e6)/864e5),r=0===t.dob?null===i.dob?0:i.dob:t.dob;(null===t.expiry||Math.abs(n-t.expiry)>=1||t.consent!==e||t.dob!==r)&&Xn("_clck",[kn.userId,2,n.toString(36),e,r].join("|"),365)}function An(){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 Cn(t,e){return void 0===e&&(e=10),parseInt(t,e)}function Dn(){var t={id:An(),version:0,expiry:null,consent:0,dob:0},e=Wn("_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="".concat(";").concat("expires=").concat(new Date(0).toUTCString()).concat(";path=/");document.cookie="".concat("_clck","=").concat(u),document.cookie="".concat("_clsk","=").concat(u)}n.length>1&&(t.version=Cn(n[1])),n.length>2&&(t.expiry=Cn(n[2],36)),n.length>3&&1===Cn(n[3])&&(t.consent=1),n.length>4&&Cn(n[1])>1&&(t.dob=Cn(n[4])),i.track=i.track||1===t.consent,t.id=i.track?n[0]:t.id}return t}function Wn(t){if(jn(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 Xn(t,e,n){if(i.track&&(navigator&&navigator.cookieEnabled||jn(document,"cookie"))){var r=new Date;r.setDate(r.getDate()+n);var a=r?"expires="+r.toUTCString():"",o="".concat(t,"=").concat(e).concat(";").concat(a).concat(";path=/");try{if(null===xn){for(var u=location.hostname?location.hostname.split("."):[],c=u.length-1;c>=0;c--)if(xn=".".concat(u[c]).concat(xn||""),c<u.length-1&&(document.cookie="".concat(o).concat(";").concat("domain=").concat(xn),Wn(t)===e))return;xn=""}}catch(t){xn=""}document.cookie=xn?"".concat(o).concat(";").concat("domain=").concat(xn):o}}var zn,Yn=null;function qn(){var t=kn;Yn={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 Rn(){Yn=null}function Pn(t){return Yn.start=Yn.start+Yn.duration,Yn.duration=s()-Yn.start,Yn.sequence++,Yn.upload=t&&"sendBeacon"in navigator?1:0,Yn.end=t?1:0,[Yn.version,Yn.sequence,Yn.start,Yn.duration,Yn.projectId,Yn.userId,Yn.sessionId,Yn.pageNum,Yn.upload,Yn.end]}function Ln(){zn=[]}function Un(t){if(zn&&-1===zn.indexOf(t.message)){var e=i.report;if(e&&e.length>0){var n={v:Yn.version,p:Yn.projectId,u:Yn.userId,s:Yn.sessionId,n:Yn.pageNum};t.message&&(n.m=t.message),t.stack&&(n.e=t.stack);var r=new XMLHttpRequest;r.open("POST",e,!0),r.send(JSON.stringify(n)),zn.push(t.message)}}return t}function Vn(t){return function(){var e=performance.now();try{t.apply(this,arguments)}catch(t){throw Un(t)}var n=performance.now()-e;z(4,n),n>30&&(X(7),Y(6,n))}}var Jn=[];function Bn(t,e,n,r){void 0===r&&(r=!1),n=Vn(n);try{t[u("addEventListener")](e,n,r),Jn.push({event:e,target:t,listener:n,capture:r})}catch(t){}}function Zn(){for(var t=0,e=Jn;t<e.length;t++){var n=e[t];try{n.target[u("removeEventListener")](n.event,n.listener,n.capture)}catch(t){}}Jn=[]}var Gn=null,Fn=null,Kn=null,Qn=0;function $n(){return!(Qn++>20)||(Ue(4,0),!1)}function tr(){Qn=0,Kn!==nr()&&(dr(),window.setTimeout(er,250))}function er(){lr(),Y(29,1)}function nr(){return location.href?location.href.replace(location.hash,""):location.href}var rr=!1;function ar(){rr=!0,c=performance.now(),St(),Zn(),Ln(),Kn=nr(),Qn=0,Bn(window,"popstate",tr),null===Gn&&(Gn=history.pushState,history.pushState=function(){Gn.apply(this,arguments),ir()&&$n()&&tr()}),null===Fn&&(Fn=history.replaceState,history.replaceState=function(){Fn.apply(this,arguments),ir()&&$n()&&tr()})}function or(){Kn=null,Qn=0,Ln(),Zn(),St(),c=0,rr=!1}function ir(){return rr}function ur(t){if(null===t||rr)return!1;for(var e in t)e in i&&(i[e]=t[e]);return!0}function cr(){lr(),A("clarity","restart")}var sr=[Object.freeze({__proto__:null,start:function(){!function(){Y(26,navigator.webdriver?1:0);try{Y(31,window.top==window.self?1:2)}catch(t){Y(31,0)}}(),Bn(window,"error",qe),Ye={},Le={}},stop:function(){Le={}}}),ve,ae,Et];function lr(t){void 0===t&&(t=null),function(){try{return!1===rr&&"undefined"!=typeof Promise&&window.MutationObserver&&document.createTreeWalker&&"now"in Date&&"now"in performance&&"undefined"!=typeof WeakMap}catch(t){return!1}}()&&(ur(t),ar(),vt(),sr.forEach((function(t){return Vn(t.start)()})),null===t&&gr())}function dr(){ir()&&(sr.slice().reverse().forEach((function(t){return Vn(t.stop)()})),mt(),or(),void 0!==fr&&(fr[pr]=function(){(fr[pr].q=fr[pr].q||[]).push(arguments),"start"===arguments[0]&&fr[pr].q.unshift(fr[pr].q.pop())&&gr()}))}var hr=Object.freeze({__proto__:null,consent:Nn,event:A,hashText:se,identify:ot,metadata:Mn,pause:function(){ir()&&(A("clarity","pause"),null===Nt&&(Nt=new Promise((function(t){It=t}))))},resume:function(){ir()&&(Nt&&(It(),Nt=null,null===Tt&&Ht()),A("clarity","resume"))},set:at,start:lr,stop:dr,upgrade:$,version:l}),fr=window,pr="clarity";function gr(){if(void 0!==fr){if(fr[pr]&&fr[pr].v)return console.warn("Error CL001: Multiple Clarity tags detected.");var t=fr[pr]&&fr[pr].q||[];for(fr[pr]=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return hr[t].apply(hr,e)},fr[pr].v=l;t.length>0;)fr[pr].apply(fr,t.shift())}}gr()}();
package/build/clarity.js CHANGED
@@ -152,7 +152,7 @@ function stop$D() {
152
152
  startTime = 0;
153
153
  }
154
154
 
155
- var version$1 = "0.7.8";
155
+ var version$1 = "0.7.9";
156
156
 
157
157
  // tslint:disable: no-bitwise
158
158
  function hash (input, precision) {
@@ -4681,7 +4681,7 @@ function encode (type) {
4681
4681
  tokens.push(data.encodedSize);
4682
4682
  tokens.push(data.decodedSize);
4683
4683
  reset();
4684
- queue(tokens, false);
4684
+ queue(tokens);
4685
4685
  break;
4686
4686
  }
4687
4687
  return [2 /*return*/];
@@ -1 +1 @@
1
- !function(){"use strict";var t=Object.freeze({__proto__:null,get queue(){return Ta},get start(){return Na},get stop(){return _a},get track(){return Ea}}),e=Object.freeze({__proto__:null,get clone(){return Ga},get compute(){return Za},get data(){return Xa},get keys(){return Pa},get reset(){return Ka},get start(){return Fa},get stop(){return $a},get trigger(){return Ja},get update(){return Qa}}),n=Object.freeze({__proto__:null,get check(){return ir},get compute(){return ur},get data(){return qa},get start(){return rr},get stop(){return cr},get trigger(){return or}}),a=Object.freeze({__proto__:null,get compute(){return pr},get data(){return sr},get log(){return hr},get reset(){return vr},get start(){return dr},get stop(){return fr},get updates(){return lr}}),r=Object.freeze({__proto__:null,get callbacks(){return mr},get clear(){return xr},get consent(){return Or},get data(){return gr},get id(){return Er},get metadata(){return kr},get save(){return Sr},get start(){return yr},get stop(){return wr}}),i=Object.freeze({__proto__:null,get data(){return Ar},get envelope(){return Rr},get start(){return Lr},get stop(){return zr}}),o={projectId:null,delay:1e3,lean:!1,track:!0,content:!0,drop:[],mask:[],unmask:[],regions:[],cookies:[],fraud:!0,checksum:[],report:null,upload:null,fallback:null,upgrade:null,action:null,dob:null};function u(t){return window.Zone&&"__symbol__"in window.Zone?window.Zone.__symbol__(t):t}var c=0;function s(t){void 0===t&&(t=null);var e=t&&t.timeStamp>0?t.timeStamp:performance.now();return Math.max(Math.round(e-c),0)}var l="0.7.8";function d(t,e){void 0===e&&(e=null);for(var n,a=5381,r=a,i=0;i<t.length;i+=2){if(a=(a<<5)+a^t.charCodeAt(i),i+1<t.length)r=(r<<5)+r^t.charCodeAt(i+1)}return n=Math.abs(a+11579*r),(e?n%Math.pow(2,e):n).toString(36)}var f=/\S/gi,h=!0,p=null,v=null,g=null;function m(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":case"click":return function(t){var e=-1,n=0,a=!1,r=!1,i=!1,o=null;O();for(var u=0;u<t.length;u++){var c=t.charCodeAt(u);if(a=a||c>=48&&c<=57,r=r||64===c,i=9===c||10===c||13===c||32===c,0===u||u===t.length-1||i){if(a||r){null===o&&(o=t.split(""));var s=t.substring(e+1,i?u:u+1);s=h&&null!==g?s.match(g)?s:k(s,"▪","▫"):w(s),o.splice(e+1-n,s.length,s),n+=s.length-1}i&&(a=!1,r=!1,e=u)}}return o?o.join(""):t}(t);case"input":case"change":return E(t)}return t;case 2:case 3:switch(e){case"*T":case"data-":return a?y(t):w(t);case"src":case"srcset":case"title":case"alt":return 3===n?"":t;case"value":case"click":case"input":case"change":return E(t);case"placeholder":return w(t)}break;case 4:switch(e){case"*T":case"data-":return a?y(t):w(t);case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":return""}break;case 5:switch(e){case"*T":case"data-":return k(t,"▪","▫");case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":case"src":case"srcset":case"alt":case"title":return""}}return t}function b(t,e){if(void 0===e&&(e=!1),e)return"".concat("https://").concat("Electron");var n=o.drop;if(n&&n.length>0&&t&&t.indexOf("?")>0){var a=t.split("?"),r=a[0],i=a[1];return r+"?"+i.split("&").map((function(t){return n.some((function(e){return 0===t.indexOf("".concat(e,"="))}))?"".concat(t.split("=")[0],"=").concat("*na*"):t})).join("&")}return t}function y(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"".concat(r).concat(e.length.toString(36)).concat(i)}return t}function w(t){return t.replace(f,"•")}function k(t,e,n){return O(),t?t.replace(v,e).replace(p,n):t}function E(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 O(){if(h&&null===p)try{p=new RegExp("\\p{N}","gu"),v=new RegExp("\\p{L}","gu"),g=new RegExp("\\p{Sc}","gu")}catch(t){h=!1}}var x=null,S=null,M=!1;function N(){M&&(x={time:s(),event:4,data:{visible:S.visible,docWidth:S.docWidth,docHeight:S.docHeight,screenWidth:S.screenWidth,screenHeight:S.screenHeight,scrollX:S.scrollX,scrollY:S.scrollY,pointerX:S.pointerX,pointerY:S.pointerY,activityTime:S.activityTime}}),S=S||{visible:1,docWidth:0,docHeight:0,screenWidth:0,screenHeight:0,scrollX:0,scrollY:0,pointerX:0,pointerY:0,activityTime:0}}function T(t,e,n){switch(t){case 8:S.docWidth=e,S.docHeight=n;break;case 11:S.screenWidth=e,S.screenHeight=n;break;case 10:S.scrollX=e,S.scrollY=n;break;default:S.pointerX=e,S.pointerY=n}M=!0}function _(t){S.activityTime=t}function I(t,e){S.visible="visible"===e?1:0,S.visible||_(t),M=!0}function D(){M&&ar(4)}var C=Object.freeze({__proto__:null,activity:_,compute:D,reset:N,start:function(){M=!1,N()},get state(){return x},stop:function(){N()},track:T,visibility:I}),j=null;function A(t,e){ei()&&t&&e&&"string"==typeof t&&"string"==typeof e&&t.length<255&&e.length<255&&(j={key:t,value:e},ar(24))}var L,z=null,R=null;function H(t){t in z||(z[t]=0),t in R||(R[t]=0),z[t]++,R[t]++}function W(t,e){null!==e&&(t in z||(z[t]=0),t in R||(R[t]=0),z[t]+=e,R[t]+=e)}function Y(t,e){null!==e&&!1===isNaN(e)&&(t in z||(z[t]=0),(e>z[t]||0===z[t])&&(R[t]=e,z[t]=e))}function q(t,e,n){return window.setTimeout(Yr(t),e,n)}function X(t){return window.clearTimeout(t)}var P=0,U=0,B=null;function V(){B&&X(B),B=q(F,U),P=s()}function F(){var t=s();L={gap:t-P},ar(25),L.gap<3e5?B=q(F,U):Qr&&(A("clarity","suspend"),mi(),["mousemove","touchstart"].forEach((function(t){return Xr(document,t,ai)})),["resize","scroll","pageshow"].forEach((function(t){return Xr(window,t,ai)})))}var J=Object.freeze({__proto__:null,get data(){return L},reset:V,start:function(){U=6e4,P=0},stop:function(){X(B),P=0,U=0}}),G=null;function Z(t,e){if(t in G){var n=G[t],a=n[n.length-1];e-a[0]>100?G[t].push([e,0]):a[1]=e-a[0]}else G[t]=[[e,0]]}function K(){ar(36)}function Q(){G={}}var $=Object.freeze({__proto__:null,compute:K,get data(){return G},reset:Q,start:function(){G={}},stop:function(){G={}},track:Z}),tt=null;function et(t){ei()&&o.lean&&(o.lean=!1,tt={key:t},Sr(),o.upgrade&&o.upgrade(t),ar(3))}var nt=Object.freeze({__proto__:null,get data(){return tt},start:function(){!o.lean&&o.upgrade&&o.upgrade("Config"),tt=null},stop:function(){tt=null},upgrade:et});function at(t,e,n,a){return new(n||(n=Promise))((function(r,i){function o(t){try{c(a.next(t))}catch(t){i(t)}}function u(t){try{c(a.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?r(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(o,u)}c((a=a.apply(t,e||[])).next())}))}function rt(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(u){return function(c){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(o=0)),o;)try{if(n=1,a&&(r=2&u[0]?a.return:u[0]?a.throw||((r=a.return)&&r.call(a),0):a.next)&&!(r=r.call(a,u[1])).done)return r;switch(a=0,r&&(u=[2&u[0],r.value]),u[0]){case 0:case 1:r=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,a=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(!(r=o.trys,(r=r.length>0&&r[r.length-1])||6!==u[0]&&2!==u[0])){o=0;continue}if(3===u[0]&&(!r||u[1]>r[0]&&u[1]<r[3])){o.label=u[1];break}if(6===u[0]&&o.label<r[1]){o.label=r[1],r=u;break}if(r&&o.label<r[2]){o.label=r[2],o.ops.push(u);break}r[2]&&o.ops.pop(),o.trys.pop();continue}u=e.call(t,o)}catch(t){u=[6,t],a=0}finally{n=r=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,c])}}}var it=null;function ot(t,e){ct(t,"string"==typeof e?[e]:e)}function ut(t,e,n,a){return void 0===e&&(e=null),void 0===n&&(n=null),void 0===a&&(a=null),at(this,void 0,void 0,(function(){var r,i;return rt(this,(function(o){switch(o.label){case 0:return i={},[4,dt(t)];case 1:return i.userId=o.sent(),i.userHint=a||((u=t)&&u.length>=5?"".concat(u.substring(0,2)).concat(k(u.substring(2),"*","*")):k(u,"*","*")),ct("userId",[(r=i).userId]),ct("userHint",[r.userHint]),ct("userType",[ft(t)]),e&&(ct("sessionId",[e]),r.sessionId=e),n&&(ct("pageId",[n]),r.pageId=n),[2,r]}var u}))}))}function ct(t,e){if(ei()&&t&&e&&"string"==typeof t&&t.length<255){for(var n=(t in it?it[t]:[]),a=0;a<e.length;a++)"string"==typeof e[a]&&e[a].length<255&&n.push(e[a]);it[t]=n}}function st(){ar(34)}function lt(){it={}}function dt(t){return at(this,void 0,void 0,(function(){var e;return rt(this,(function(n){switch(n.label){case 0:return n.trys.push([0,4,,5]),crypto&&t?[4,crypto.subtle.digest("SHA-256",(new TextEncoder).encode(t))]:[3,2];case 1:return e=n.sent(),[2,Array.prototype.map.call(new Uint8Array(e),(function(t){return("00"+t.toString(16)).slice(-2)})).join("")];case 2:return[2,""];case 3:return[3,5];case 4:return n.sent(),[2,""];case 5:return[2]}}))}))}function ft(t){return t&&t.indexOf("@")>0?"email":"string"}var ht="CompressionStream"in window;function pt(t){return at(this,void 0,void 0,(function(){var e,n;return rt(this,(function(a){switch(a.label){case 0:return a.trys.push([0,3,,4]),ht?(e=new ReadableStream({start:function(e){return at(this,void 0,void 0,(function(){return rt(this,(function(n){return e.enqueue(t),e.close(),[2]}))}))}}).pipeThrough(new TextEncoderStream).pipeThrough(new window.CompressionStream("gzip")),n=Uint8Array.bind,[4,vt(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 vt(t){return at(this,void 0,void 0,(function(){var e,n,a,r,i;return rt(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 gt=[C,a,Object.freeze({__proto__:null,compute:st,get data(){return it},identify:ut,reset:lt,set:ot,start:function(){lt()},stop:function(){lt()}}),n,$,r,i,t,J,nt,e];function mt(){z={},R={},H(5),gt.forEach((function(t){return Yr(t.start)()}))}function bt(){gt.slice().reverse().forEach((function(t){return Yr(t.stop)()})),z={},R={}}function yt(){st(),D(),pr(),ar(0),K(),ur(),Za()}var wt,kt=[];function Et(t,e,n){o.fraud&&null!==t&&n&&n.length>=5&&(wt={id:t,target:e,checksum:d(n,24)},kt.indexOf(wt.checksum)<0&&(kt.push(wt.checksum),Ra(41)))}var Ot="load,active,fixed,visible,focus,show,collaps,animat".split(","),xt={};function St(t,e){var n=t.attributes,a=t.prefix?t.prefix[e]:null,r=0===e?"".concat("~").concat(t.position-1):":nth-of-type(".concat(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="".concat(a).concat(">"),t.tag=0===t.tag.indexOf("svg:")?t.tag.substr("svg:".length):t.tag;var i="".concat(a).concat(t.tag).concat(r),o="id"in n&&n.id.length>0?n.id:null,u="BODY"!==t.tag&&"class"in n&&n.class.length>0?n.class.trim().split(/\s+/).filter((function(t){return Mt(t)})).join("."):null;if(u&&u.length>0)if(0===e){var c="".concat(function(t){for(var e=t.split(">"),n=0;n<e.length;n++){var a=e[n].indexOf("~"),r=e[n].indexOf(".");e[n]=e[n].substring(0,r>0?r:a>0?a:e[n].length)}return e.join(">")}(a)).concat(t.tag).concat(".").concat(u);c in xt||(xt[c]=[]),xt[c].indexOf(t.id)<0&&xt[c].push(t.id),i="".concat(c).concat("~").concat(xt[c].indexOf(t.id))}else i="".concat(a).concat(t.tag,".").concat(u).concat(r);return i=o&&Mt(o)?"".concat(function(t){var e=t.lastIndexOf("*S"),n=t.lastIndexOf("".concat("iframe:").concat("HTML")),a=Math.max(e,n);if(a<0)return"";return t.substring(0,t.indexOf(">",a)+1)}(a)).concat("#").concat(o):i,i}}function Mt(t){if(!t)return!1;if(Ot.some((function(e){return t.toLowerCase().indexOf(e)>=0})))return!1;for(var e=0;e<t.length;e++){var n=t.charCodeAt(e);if(n>=48&&n<=57)return!1}return!0}var Nt=1,Tt=[],_t=[],It=[],Dt={},Ct=[],jt=[],At=[],Lt=[],zt=[],Rt=[],Ht=null,Wt=null,Yt=null,qt=null;function Xt(){Ut(),Bt(document,!0)}function Pt(){Ut()}function Ut(){Nt=1,Tt=[],_t=[],It=[],Dt={},Ct=[],jt=[],At="address,password,contact".split(","),Lt="password,secret,pass,social,ssn,code,hidden".split(","),zt="radio,checkbox,range,button,reset,submit".split(","),Rt="INPUT,SELECT,TEXTAREA".split(","),Ht=new WeakMap,Wt=new WeakMap,Yt=new WeakMap,qt=new WeakMap,xt={}}function Bt(t,e){void 0===e&&(e=!1);try{e&&o.unmask.forEach((function(t){return t.indexOf("!")<0?jt.push(t):Ct.push(t.substr(1))})),"querySelectorAll"in t&&(o.regions.forEach((function(e){return t.querySelectorAll(e[1]).forEach((function(t){return Le(t,"".concat(e[0]))}))})),o.mask.forEach((function(e){return t.querySelectorAll(e).forEach((function(t){return Yt.set(t,3)}))})),o.checksum.forEach((function(e){return t.querySelectorAll(e[1]).forEach((function(t){return qt.set(t,e[0])}))})),jt.forEach((function(e){return t.querySelectorAll(e).forEach((function(t){return Yt.set(t,0)}))})))}catch(t){Ya(5,1,t?t.name:null)}}function Vt(t,e){if(void 0===e&&(e=!1),null===t)return null;var n=Ht.get(t);return!n&&e&&(n=Nt++,Ht.set(t,n)),n||null}function Ft(t){var e=!1;if(t.nodeType===Node.ELEMENT_NODE&&"IFRAME"===t.tagName){var n=t;try{n.contentDocument&&(Wt.set(n.contentDocument,n),e=!0)}catch(t){}}return e}function Jt(t){var e=t.nodeType===Node.DOCUMENT_NODE?t:null;return e&&Wt.has(e)?Wt.get(e):null}function Gt(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 Zt(t){var e=t.parent&&t.parent in _t?_t[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=_t[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={id:t.id,tag:a.tag,prefix:n,position:r,attributes:a.attributes};t.selector=[St(i,0),St(i,1)],t.hash=t.selector.map((function(t){return t?d(t):null})),t.hash.forEach((function(e){return Dt[e]=t.id}))}function Kt(t){var e=Qt(te(t));return null!==e&&null!==e.textContent?e.textContent.substr(0,25):""}function Qt(t){return t in Tt?Tt[t]:null}function $t(t){var e=Vt(t);return e in _t?_t[e]:null}function te(t){return t in Dt?Dt[t]:null}function ee(t){return Vt(t)in Tt}function ne(){for(var t=[],e=0,n=It;e<n.length;e++){var a=n[e];a in _t&&t.push(_t[a])}return It=[],t}function ae(t){for(var e=null;null===e&&t.previousSibling;)e=Vt(t.previousSibling),t=t.previousSibling;return e}function re(t,e,n,a){void 0===n&&(n=!0),void 0===a&&(a=!1);var r=It.indexOf(t);r>=0&&1===e&&a?(It.splice(r,1),It.push(t)):-1===r&&n&&It.push(t)}var ie=Object.freeze({__proto__:null,add:function(t,e,n,a){var r,i=Vt(t,!0),u=e?Vt(e):null,c=ae(t),s=null,l=ze(t)?i:null,d=qt.has(t)?qt.get(t):null,f=o.content?1:3;u>=0&&_t[u]&&((s=_t[u]).children.push(i),l=null===l?s.region:l,d=null===d?s.metadata.fraud:d,f=s.metadata.privacy),n.attributes&&"data-clarity-region"in n.attributes&&(Le(t,n.attributes["data-clarity-region"]),l=i),Tt[i]=t,_t[i]={id:i,parent:u,previous:c,children:[],data:n,selector:null,hash:null,region:l,metadata:{active:!0,suspend:!1,privacy:f,position:null,fraud:d,size:null}},function(t,e,n){var a=e.data,r=e.metadata,i=r.privacy,o=a.attributes||{},u=a.tag.toUpperCase();switch(!0){case Rt.indexOf(u)>=0:var c=o.type,s="";Object.keys(o).forEach((function(t){return s+=o[t].toLowerCase()}));var l=Lt.some((function(t){return s.indexOf(t)>=0}));r.privacy="INPUT"===u&&zt.indexOf(c)>=0?i:l?4:2;break;case"data-clarity-mask"in o:r.privacy=3;break;case"data-clarity-unmask"in o:r.privacy=0;break;case Yt.has(t):r.privacy=Yt.get(t);break;case qt.has(t):r.privacy=2;break;case"*T"===u:var d=n&&n.data?n.data.tag:"",f=n&&n.selector?n.selector[1]:"",h=["STYLE","TITLE","svg:style"];r.privacy=h.includes(d)||Ct.some((function(t){return f.indexOf(t)>=0}))?0:i;break;case 1===i:r.privacy=function(t,e,n){if(t&&e.some((function(e){return t.indexOf(e)>=0})))return 2;return n.privacy}(o.class,At,r)}}(t,_t[i],s),Zt(_t[i]),"IMG"===(r=_t[i]).data.tag&&3===r.metadata.privacy&&(r.metadata.size=[]),re(i,a)},get:$t,getId:Vt,getNode:Qt,getValue:function(t){return t in _t?_t[t]:null},has:ee,hashText:Kt,iframe:Jt,lookup:te,parse:Bt,sameorigin:Ft,start:Xt,stop:Pt,update:function(t,e,n,a){var r=Vt(t),i=e?Vt(e):null,o=ae(t),u=!1,c=!1;if(r in _t){var s=_t[r];if(s.metadata.active=!0,s.previous!==o&&(u=!0,s.previous=o),s.parent!==i){u=!0;var l=s.parent;if(s.parent=i,null!==i&&i>=0){var d=null===o?0:_t[i].children.indexOf(o)+1;_t[i].children.splice(d,0,r),s.region=ze(t)?r:_t[i].region}else!function(t,e){if(t in _t){var n=_t[t];n.metadata.active=!1,n.parent=null,re(t,e)}}(r,a);if(null!==l&&l>=0){var f=_t[l].children.indexOf(r);f>=0&&_t[l].children.splice(f,1)}c=!0}for(var h in n)Gt(s.data,n,h)&&(u=!0,s.data[h]=n[h]);Zt(s),re(r,a,u,c)}},updates:ne}),oe=5e3,ue={},ce=[],se=null,le=null,de=null;function fe(){ue={},ce=[],se=null,le=null}function he(t,e){return void 0===e&&(e=0),at(this,void 0,void 0,(function(){var n,a,r;return rt(this,(function(i){for(n=0,a=ce;n<a.length;n++)if(a[n].task===t)return[2];return r=new Promise((function(n){ce[1===e?"unshift":"push"]({task:t,resolve:n,id:Er()})})),null===se&&null===le&&pe(),[2,r]}))}))}function pe(){var t=ce.shift();t&&(se=t,t.task().then((function(){t.id===Er()&&(t.resolve(),se=null,pe())})).catch((function(e){t.id===Er()&&(e&&Ya(0,1,e.name,e.message,e.stack),se=null,pe())})))}function ve(t){var e=ye(t);return e in ue?performance.now()-ue[e].start>ue[e].yield?0:1:2}function ge(t){ue[ye(t)]={start:performance.now(),calls:0,yield:30}}function me(t){var e=performance.now(),n=ye(t),a=e-ue[n].start;W(t.cost,a),H(5),ue[n].calls>0&&W(4,a)}function be(t){return at(this,void 0,void 0,(function(){var e,n;return rt(this,(function(a){switch(a.label){case 0:return(e=ye(t))in ue?(me(t),n=ue[e],[4,we()]):[3,2];case 1:n.yield=a.sent().timeRemaining(),function(t){var e=ye(t);if(ue&&ue[e]){var n=ue[e].calls,a=ue[e].yield;ge(t),ue[e].calls=n+1,ue[e].yield=a}}(t),a.label=2;case 2:return[2,e in ue?1:2]}}))}))}function ye(t){return"".concat(t.id,".").concat(t.cost)}function we(){return at(this,void 0,void 0,(function(){return rt(this,(function(t){switch(t.label){case 0:return le?[4,le]:[3,2];case 1:t.sent(),t.label=2;case 2:return[2,new Promise((function(t){Ee(t,{timeout:oe})}))]}}))}))}var ke,Ee=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 c=o>e.timeout;t({didTimeout:c,timeRemaining:function(){return c?30:Math.max(0,30-u)}})}},requestAnimationFrame((function(){i.postMessage(performance.now())}))};function Oe(){ke=null}function xe(){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,c=Math.max(n,a,r,i,o,u),s=t?t.clientHeight:null,l=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,l,d,f,h,p);null!==ke&&c===ke.width&&v===ke.height||null===c||null===v||(ke={width:c,height:v},Se(8))}function Se(t,e,n){return void 0===e&&(e=null),void 0===n&&(n=null),at(this,void 0,void 0,(function(){var a,r,i,u,c,l,d,f,h,p,v,g,b,y,w,k,E,O,x,S,M,N;return rt(this,(function(I){switch(I.label){case 0:switch(a=n||s(),r=[a,t],t){case 8:return[3,1];case 7:return[3,2];case 5:case 6:return[3,3]}return[3,10];case 1:return i=ke,r.push(i.width),r.push(i.height),T(t,i.width,i.height),Ta(r),[3,10];case 2:for(u=0,c=_e;u<c.length;u++)l=c[u],(r=[l.time,7]).push(l.data.id),r.push(l.data.interaction),r.push(l.data.visibility),r.push(l.data.name),Ta(r);return qe(),[3,10];case 3:if(2===ve(e))return[3,10];if(!((d=ne()).length>0))return[3,9];f=0,h=d,I.label=4;case 4:return f<h.length?(p=h[f],0!==(v=ve(e))?[3,6]:[4,be(e)]):[3,8];case 5:v=I.sent(),I.label=6;case 6:if(2===v)return[3,8];for(g=p.data,b=p.metadata.active,y=p.metadata.suspend,w=p.metadata.privacy,k=function(t){var e=t.metadata.privacy;return"*T"===t.data.tag&&!(0===e||1===e)}(p),E=0,O=b?["tag","attributes","value"]:["tag"];E<O.length;E++)if(g[x=O[E]])switch(x){case"tag":S=Me(p),M=k?-1:1,r.push(p.id*M),p.parent&&b&&r.push(p.parent),p.previous&&b&&r.push(p.previous),r.push(y?"*M":g[x]),S&&2===S.length&&r.push("".concat("#").concat(Ne(S[0]),".").concat(Ne(S[1])));break;case"attributes":for(N in g[x])void 0!==g[x][N]&&r.push(Te(N,g[x][N],w));break;case"value":Et(p.metadata.fraud,p.id,g[x]),r.push(m(g[x],g.tag,w,k))}I.label=7;case 7:return f++,[3,4];case 8:6===t&&_(a),Ta(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}(r),!o.lean),I.label=9;case 9:return[3,10];case 10:return[2]}}))}))}function Me(t){if(null!==t.metadata.size&&0===t.metadata.size.length){var e=Qt(t.id);if(e)return[Math.floor(100*e.offsetWidth),Math.floor(100*e.offsetHeight)]}return t.metadata.size}function Ne(t){return t.toString(36)}function Te(t,e,n){return"".concat(t,"=").concat(m(e,0===t.indexOf("data-")?"data-":t,n))}var _e=[],Ie=null,De={},Ce=[],je=!1,Ae=null;function Le(t,e){!1===Ie.has(t)&&(Ie.set(t,e),(Ae=null===Ae&&je?new IntersectionObserver(He,{threshold:[0,.2,.4,.6,.8,1]}):Ae)&&t&&t.nodeType===Node.ELEMENT_NODE&&Ae.observe(t))}function ze(t){return Ie&&Ie.has(t)}function Re(){for(var t=[],e=0,n=Ce;e<n.length;e++){var a=n[e],r=Vt(a.node);r in De||(r?(a.data.id=r,De[r]=a.data,_e.push(Ye(a.data))):t.push(a))}Ce=t,_e.length>0&&Se(7)}function He(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(Ie.has(r)&&i.width+i.height>0&&u.width>0&&u.height>0){var c=r?Vt(r):null,s=c in De?De[c]:{id:c,name:Ie.get(r),interaction:16,visibility:0},l=(o?o.width*o.height*1/(u.width*u.height):0)>.05||a.intersectionRatio>.8,d=(l||10==s.visibility)&&Math.abs(i.top)+u.height>i.height;We(r,s,s.interaction,d?13:l?10:0),s.visibility>=13&&Ae&&Ae.unobserve(r)}}_e.length>0&&Se(7)}function We(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 De&&r||!(e.id in De))&&(De[e.id]=e,_e.push(Ye(e))):Ce.push({node:t,data:e})}function Ye(t){return{time:s(),data:{id:t.id,interaction:t.interaction,visibility:t.visibility,name:t.name}}}function qe(){_e=[]}var Xe=[];function Pe(t){var e=da(t);if(e){var n=e.value,a=n&&n.length>=5&&o.fraud?d(n,24):"";Xe.push({time:s(t),event:42,data:{target:da(t),type:e.type,value:n,checksum:a}}),he(ha.bind(this,42))}}function Ue(){Xe=[]}function Be(t){var e={x:0,y:0};if(t&&t.offsetParent)do{var n=t.offsetParent,a=null===n?Jt(t.ownerDocument):null;e.x+=t.offsetLeft,e.y+=t.offsetTop,t=a||n}while(t);return e}var Ve=["input","textarea","radio","button","canvas"],Fe=[];function Je(t){Xr(t,"click",Ge.bind(this,9,t),!0)}function Ge(t,e,n){var a=Jt(e),r=a?a.contentDocument.documentElement:document.documentElement,i="pageX"in n?Math.round(n.pageX):"clientX"in n?Math.round(n.clientX+r.scrollLeft):null,o="pageY"in n?Math.round(n.pageY):"clientY"in n?Math.round(n.clientY+r.scrollTop):null;if(a){var u=Be(a);i=i?i+Math.round(u.x):i,o=o?o+Math.round(u.y):o}var c=da(n),l=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}(c),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}(c);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&&(Fe.push({time:s(n),event:t,data:{target:c,x:i,y:o,eX:f,eY:h,button:n.button,reaction:Ke(c),context:Qe(l),text:Ze(c),link:l?l.href:null,hash:null,trust:n.isTrusted?1:0}}),he(ha.bind(this,t)))}function Ze(t){var e=null;if(t){var n=t.textContent||t.value||t.alt;n&&(e=n.replace(/\s+/g," ").trim().substr(0,25))}return e}function Ke(t){if(t.nodeType===Node.ELEMENT_NODE){var e=t.tagName.toLowerCase();if(Ve.indexOf(e)>=0)return 0}return 1}function Qe(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 $e(){Fe=[]}var tn=[];function en(t,e){tn.push({time:s(e),event:38,data:{target:da(e),action:t}}),he(ha.bind(this,38))}function nn(){tn=[]}var an=null,rn=[];function on(t){var e=da(t),n=$t(e);if(e&&e.type&&n){var a=e.value;switch(e.type){case"radio":case"checkbox":a=e.checked?"true":"false"}var r={target:e,value:a};rn.length>0&&rn[rn.length-1].data.target===r.target&&rn.pop(),rn.push({time:s(t),event:27,data:r}),X(an),an=q(un,1e3,27)}}function un(t){he(ha.bind(this,t))}function cn(){rn=[]}var sn,ln=[],dn=null;function fn(t,e,n){var a=Jt(e),r=a?a.contentDocument.documentElement:document.documentElement,i="pageX"in n?Math.round(n.pageX):"clientX"in n?Math.round(n.clientX+r.scrollLeft):null,o="pageY"in n?Math.round(n.pageY):"clientY"in n?Math.round(n.clientY+r.scrollTop):null;if(a){var u=Be(a);i=i?i+Math.round(u.x):i,o=o?o+Math.round(u.y):o}null!==i&&null!==o&&pn({time:s(n),event:t,data:{target:da(n),x:i,y:o}})}function hn(t,e,n){var a=Jt(e),r=a?a.contentDocument.documentElement:document.documentElement,i=n.changedTouches,o=s(n);if(i)for(var u=0;u<i.length;u++){var c=i[u],l="clientX"in c?Math.round(c.clientX+r.scrollLeft):null,d="clientY"in c?Math.round(c.clientY+r.scrollTop):null;l=l&&a?l+Math.round(a.offsetLeft):l,d=d&&a?d+Math.round(a.offsetTop):d,null!==l&&null!==d&&pn({time:o,event:t,data:{target:da(n),x:l,y:d}})}}function pn(t){switch(t.event){case 12:case 15:case 19:var e=ln.length,n=e>1?ln[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)&&ln.pop(),ln.push(t),X(dn),dn=q(vn,500,t.event);break;default:ln.push(t),vn(t.event)}}function vn(t){he(ha.bind(this,t))}function gn(){ln=[]}function mn(){var t=document.documentElement;sn={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},ha(11)}function bn(){sn=null}var yn=[],wn=null;function kn(t){void 0===t&&(t=null);var e=window,n=document.documentElement,a=t?da(t):n;if(a&&a.nodeType===Node.DOCUMENT_NODE){var r=Jt(a);e=r?r.contentWindow:e,a=n=a.documentElement}var i=a===n&&"pageXOffset"in e?Math.round(e.pageXOffset):Math.round(a.scrollLeft),o=a===n&&"pageYOffset"in e?Math.round(e.pageYOffset):Math.round(a.scrollTop),u={time:s(t),event:10,data:{target:a,x:i,y:o}};if((null!==t||0!==i||0!==o)&&null!==i&&null!==o){var c=yn.length,l=c>1?yn[c-2]:null;l&&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}(l,u)&&yn.pop(),yn.push(u),X(wn),wn=q(En,500,10)}}function En(t){he(ha.bind(this,t))}var On=null,xn=null,Sn=null;function Mn(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=On.start?On.start:null;null!==xn&&null!==On.start&&n!==e.anchorNode&&(X(Sn),Nn(21)),On={start:e.anchorNode,startOffset:e.anchorOffset,end:e.focusNode,endOffset:e.focusOffset},xn=e,X(Sn),Sn=q(Nn,500,21)}}function Nn(t){he(ha.bind(this,t))}function Tn(){xn=null,On={start:0,startOffset:0,end:0,endOffset:0}}var _n,In,Dn=[];function Cn(t){Dn.push({time:s(t),event:39,data:{target:da(t)}}),he(ha.bind(this,39))}function jn(){Dn=[]}function An(t){_n={name:t.type},ha(26,s(t)),mi()}function Ln(){_n=null}function zn(t){void 0===t&&(t=null),In={visible:"visibilityState"in document?document.visibilityState:"default"},ha(28,s(t))}function Rn(){In=null}function Hn(t){!function(t){var e=Jt(t);Xr(e?e.contentWindow:t===document?window:t,"scroll",kn,!0)}(t),t.nodeType===Node.DOCUMENT_NODE&&(Je(t),function(t){Xr(t,"cut",en.bind(this,0),!0),Xr(t,"copy",en.bind(this,1),!0),Xr(t,"paste",en.bind(this,2),!0)}(t),function(t){Xr(t,"mousedown",fn.bind(this,13,t),!0),Xr(t,"mouseup",fn.bind(this,14,t),!0),Xr(t,"mousemove",fn.bind(this,12,t),!0),Xr(t,"wheel",fn.bind(this,15,t),!0),Xr(t,"dblclick",fn.bind(this,16,t),!0),Xr(t,"touchstart",hn.bind(this,17,t),!0),Xr(t,"touchend",hn.bind(this,18,t),!0),Xr(t,"touchmove",hn.bind(this,19,t),!0),Xr(t,"touchcancel",hn.bind(this,20,t),!0)}(t),function(t){Xr(t,"input",on,!0)}(t),function(t){Xr(t,"selectstart",Mn.bind(this,t),!0),Xr(t,"selectionchange",Mn.bind(this,t),!0)}(t),function(t){Xr(t,"change",Pe,!0)}(t),function(t){Xr(t,"submit",Cn,!0)}(t))}var Wn=Object.freeze({__proto__:null,observe:Hn,start:function(){pa=[],ga(),$e(),nn(),gn(),cn(),Xr(window,"resize",mn),mn(),Xr(document,"visibilitychange",zn),zn(),yn=[],kn(),Tn(),Ue(),jn(),Xr(window,"pagehide",An)},stop:function(){pa=[],ga(),$e(),nn(),X(dn),ln.length>0&&vn(ln[ln.length-1].event),X(an),cn(),bn(),Rn(),X(wn),yn=[],Tn(),X(Sn),Ue(),jn(),Ln()}}),Yn=/[^0-9\.]/g;function qn(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":hr(5,t[a]),hr(8,t.creator),hr(18,t.headline);break;case"product":hr(5,t[a]),hr(10,t.name),hr(12,t.sku),t.brand&&hr(6,t.brand.name);break;case"aggregaterating":t.ratingValue&&(Y(11,Xn(t.ratingValue,100)),Y(18,Xn(t.bestRating)),Y(19,Xn(t.worstRating))),Y(12,Xn(t.ratingCount)),Y(17,Xn(t.reviewCount));break;case"person":hr(8,t.name);break;case"offer":hr(7,t.availability),hr(14,t.itemCondition),hr(13,t.priceCurrency),hr(12,t.sku),Y(13,Xn(t.price));break;case"brand":hr(6,t.name)}null!==r&&"object"==typeof r&&qn(r)}}function Xn(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(Yn,""))*e)}return null}var Pn=["title","alt","onload","onfocus","onerror","data-drupal-form-submit-last"],Un=/[\r\n]+/g;function Bn(t,e){var n,a=null;if(2===e&&!1===ee(t))return a;0!==e&&t.nodeType===Node.TEXT_NODE&&t.parentElement&&"STYLE"===t.parentElement.tagName&&(t=t.parentNode);var r=!1===ee(t)?"add":"update",i=t.parentElement?t.parentElement:null,o=t.ownerDocument!==document;switch(t.nodeType){case Node.DOCUMENT_TYPE_NODE:i=o&&t.parentNode?Jt(t.parentNode):i;var u=t,c={tag:(o?"iframe:":"")+"*D",attributes:{name:u.name,publicId:u.publicId,systemId:u.systemId}};ie[r](t,i,c,e);break;case Node.DOCUMENT_NODE:t===document&&Bt(document),Vn(t);break;case Node.DOCUMENT_FRAGMENT_NODE:var s=t;if(s.host)if(Bt(s),"function"===typeof s.constructor&&s.constructor.toString().indexOf("[native code]")>=0){Vn(s);for(var l="",d=0,f=("adoptedStyleSheets"in s?s.adoptedStyleSheets:[]);d<f.length;d++){l+=Jn(f[d])}var h={tag:"*S",attributes:{style:l}};ie[r](t,s.host,h,e)}else ie[r](t,s.host,{tag:"*P",attributes:{}},e);break;case Node.TEXT_NODE:if(i=i||t.parentNode,"update"===r||i&&ee(i)&&"STYLE"!==i.tagName){var p={tag:"*T",value:t.nodeValue};ie[r](t,i,p,e)}break;case Node.ELEMENT_NODE:var v=t,g=v.tagName,m=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;Pn.indexOf(r)<0&&(e[r]=n[a].value)}"INPUT"===t.tagName&&!("value"in e)&&t.value&&(e.value=t.value);return e}(v);switch(i=t.parentElement?t.parentElement:t.parentNode?t.parentNode:null,"http://www.w3.org/2000/svg"===v.namespaceURI&&(g="svg:"+g),g){case"HTML":i=o&&i?Jt(i):null;var b={tag:(o?"iframe:":"")+g,attributes:m};ie[r](t,i,b,e);break;case"SCRIPT":if("type"in m&&"application/ld+json"===m.type)try{qn(JSON.parse(v.text.replace(Un,"")))}catch(t){}break;case"NOSCRIPT":break;case"META":var y="property"in m?"property":"name"in m?"name":null;if(y&&"content"in m){var w=m.content;switch(m[y]){case"og:title":hr(20,w);break;case"og:type":hr(19,w);break;case"generator":hr(21,w)}}break;case"HEAD":var k={tag:g,attributes:m},E=o&&(null===(n=t.ownerDocument)||void 0===n?void 0:n.location)?t.ownerDocument.location:location;k.attributes["*B"]=E.protocol+"//"+E.host+E.pathname,ie[r](t,i,k,e);break;case"BASE":var O=$t(t.parentElement);if(O){var x=document.createElement("a");x.href=m.href,O.data.attributes["*B"]=x.protocol+"//"+x.host+x.pathname}break;case"STYLE":var S={tag:g,attributes:m,value:Fn(v)};ie[r](t,i,S,e);break;case"IFRAME":var M=t,N={tag:g,attributes:m};Ft(M)&&(!function(t){!1===ee(t)&&Xr(t,"load",la.bind(this,t,"childList"),!0)}(M),N.attributes["*O"]="true",M.contentDocument&&M.contentWindow&&"loading"!==M.contentDocument.readyState&&(a=M.contentDocument)),ie[r](t,i,N,e);break;default:var T={tag:g,attributes:m};v.shadowRoot&&(a=v.shadowRoot),ie[r](t,i,T,e)}}return a}function Vn(t){ee(t)||(!function(t){try{var e=u("MutationObserver"),n=e in window?new window[e](Yr(ia)):null;n&&(n.observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),Zn.push(n))}catch(t){Ya(2,0,t?t.name:null)}}(t),Hn(t))}function Fn(t){var e=t.textContent?t.textContent.trim():"",n=t.dataset?Object.keys(t.dataset).length:0;return(0===e.length||n>0)&&(e=Jn(t.sheet)),e}function Jn(t){var e="",n=null;try{n=t?t.cssRules:[]}catch(t){if(Ya(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 Gn(t,e,n){return at(this,void 0,void 0,(function(){var a,r,i,o,u;return rt(this,(function(c){switch(c.label){case 0:a=[t],c.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=ve(e))?[3,3]:[4,be(e)];case 2:o=c.sent(),c.label=3;case 3:return 2===o?[3,4]:((u=Bn(r,n))&&a.push(u),[3,1]);case 4:return[2]}}))}))}var Zn=[],Kn=[],Qn=null,$n=null,ta=null,ea=[],na=null,aa=null,ra={};function ia(t){var e=s();Z(6,e),Kn.push({time:e,mutations:t}),he(oa,1).then((function(){q(xe),Yr(Re)()}))}function oa(){return at(this,void 0,void 0,(function(){var t,e,n,a,r,i,o,u,c,l;return rt(this,(function(d){switch(d.label){case 0:ge(t={id:Er(),cost:3}),d.label=1;case 1:if(!(Kn.length>0))return[3,8];e=Kn.shift(),n=s(),a=0,r=e.mutations,d.label=2;case 2:return a<r.length?(i=r[a],0!==(o=ve(t))?[3,4]:[4,be(t)]):[3,6];case 3:o=d.sent(),d.label=4;case 4:if(2===o)return[3,6];switch(u=i.target,c=function(t,e,n){var a=t.target?$t(t.target.parentNode):null;if(a&&"HTML"!==a.data.tag){var r=s()>aa,i=$t(t.target),o=i&&i.selector?i.selector.join():t.target.nodeName,u=[a.selector?a.selector.join():"",o,t.attributeName,ua(t.addedNodes),ua(t.removedNodes)].join();ra[u]=u in ra?ra[u]:[0,n];var c=ra[u];if(!1===r&&c[0]>=10&&ca(c[2],2,e),c[0]=r?c[1]===n?c[0]:c[0]+1:1,c[1]=n,10===c[0])return c[2]=t.removedNodes,"suspend";if(c[0]>10)return""}return t.type}(i,t,n),c&&u&&u.ownerDocument&&Bt(u.ownerDocument),c&&u&&u.nodeType==Node.DOCUMENT_FRAGMENT_NODE&&u.host&&Bt(u),c){case"attributes":Bn(u,3);break;case"characterData":Bn(u,4);break;case"childList":ca(i.addedNodes,1,t),ca(i.removedNodes,2,t);break;case"suspend":(l=$t(u))&&(l.metadata.suspend=!0)}d.label=5;case 5:return a++,[3,2];case 6:return[4,Se(6,t,e.time)];case 7:return d.sent(),[3,1];case 8:return me(t),[2]}}))}))}function ua(t){for(var e=[],n=0;t&&n<t.length;n++)e.push(t[n].nodeName);return e.join()}function ca(t,e,n){return at(this,void 0,void 0,(function(){var a,r,i;return rt(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]:(Gn(t[r],n,e),[3,5]):[3,6];case 2:return 0!==(i=ve(n))?[3,4]:[4,be(n)];case 3:i=o.sent(),o.label=4;case 4:if(2===i)return[3,6];Bn(t[r],e),o.label=5;case 5:return r++,[3,1];case 6:return[2]}}))}))}function sa(t){return ea.indexOf(t)<0&&ea.push(t),na&&X(na),na=q((function(){!function(){for(var t=0,e=ea;t<e.length;t++){var n=e[t];if(n){var a=n.nodeType===Node.DOCUMENT_FRAGMENT_NODE;if(a&&ee(n))continue;la(n,a?"childList":"characterData")}}ea=[]}()}),33),t}function la(t,e){Yr(ia)([{addedNodes:[t],attributeName:null,attributeNamespace:null,nextSibling:null,oldValue:null,previousSibling:null,removedNodes:[],target:t,type:e}])}function da(t){var e=t.composed&&t.composedPath?t.composedPath():null,n=e&&e.length>0?e[0]:t.target;return aa=s()+3e3,n.nodeType===Node.DOCUMENT_NODE?n.documentElement:n}function fa(t,e,n){void 0===n&&(n=null);var a={id:0,hash:null,privacy:2,node:t};if(t){var r=$t(t);if(null!==r){var i=r.metadata;a.id=r.id,a.hash=r.hash,a.privacy=i.privacy,r.region&&function(t,e){var n=Qt(t),a=t in De?De[t]:{id:t,visibility:0,interaction:16,name:Ie.get(n)},r=16;switch(e){case 9:r=20;break;case 27:r=30}We(n,a,r,a.visibility)}(r.region,e),i.fraud&&Et(i.fraud,r.id,n||r.data.value)}}return a}function ha(t,e){return void 0===e&&(e=null),at(this,void 0,void 0,(function(){var n,a,r,i,o,u,c,l,d,f,h,p,v,g,y,w,k,E,O,x,S,M,N,_,D,C,j,A,L,z,R;return rt(this,(function(H){switch(n=e||s(),a=[n,t],t){case 13:case 14:case 12:case 15:case 16:case 17:case 18:case 19:case 20:for(r=0,i=ln;r<i.length;r++)z=i[r],(o=fa(z.data.target,z.event)).id>0&&((a=[z.time,z.event]).push(o.id),a.push(z.data.x),a.push(z.data.y),Ta(a),T(z.event,z.data.x,z.data.y));gn();break;case 9:for(u=0,c=Fe;u<c.length;u++)z=c[u],l=fa(z.data.target,z.event,z.data.text),a=[z.time,z.event],d=l.hash?l.hash.join("."):"",a.push(l.id),a.push(z.data.x),a.push(z.data.y),a.push(z.data.eX),a.push(z.data.eY),a.push(z.data.button),a.push(z.data.reaction),a.push(z.data.context),a.push(m(z.data.text,"click",l.privacy)),a.push(b(z.data.link)),a.push(d),a.push(z.data.trust),Ta(a),ma(z.time,z.event,d,z.data.x,z.data.y,z.data.reaction,z.data.context);$e();break;case 38:for(f=0,h=tn;f<h.length;f++)z=h[f],a=[z.time,z.event],(j=fa(z.data.target,z.event)).id>0&&(a.push(j.id),a.push(z.data.action),Ta(a));nn();break;case 11:p=sn,a.push(p.width),a.push(p.height),T(t,p.width,p.height),bn(),Ta(a);break;case 26:v=_n,a.push(v.name),Ln(),Ta(a);break;case 27:for(g=0,y=rn;g<y.length;g++)z=y[g],w=fa(z.data.target,z.event,z.data.value),(a=[z.time,z.event]).push(w.id),a.push(m(z.data.value,"input",w.privacy)),Ta(a);cn();break;case 21:(k=On)&&(E=fa(k.start,t),O=fa(k.end,t),a.push(E.id),a.push(k.startOffset),a.push(O.id),a.push(k.endOffset),Tn(),Ta(a));break;case 10:for(x=0,S=yn;x<S.length;x++)z=S[x],(M=fa(z.data.target,z.event)).id>0&&((a=[z.time,z.event]).push(M.id),a.push(z.data.x),a.push(z.data.y),Ta(a),T(z.event,z.data.x,z.data.y));yn=[];break;case 42:for(N=0,_=Xe;N<_.length;N++)z=_[N],a=[z.time,z.event],(j=fa(z.data.target,z.event)).id>0&&((a=[z.time,z.event]).push(j.id),a.push(z.data.type),a.push(m(z.data.value,"change",j.privacy)),a.push(m(z.data.checksum,"checksum",j.privacy)),Ta(a));Ue();break;case 39:for(D=0,C=Dn;D<C.length;D++)z=C[D],a=[z.time,z.event],(j=fa(z.data.target,z.event)).id>0&&(a.push(j.id),Ta(a));jn();break;case 22:for(A=0,L=va;A<L.length;A++)z=L[A],(a=[z.time,z.event]).push(z.data.type),a.push(z.data.hash),a.push(z.data.x),a.push(z.data.y),a.push(z.data.reaction),a.push(z.data.context),Ta(a,!1);ga();break;case 28:R=In,a.push(R.visible),Ta(a),I(n,R.visible),Rn()}return[2]}))}))}var pa=[],va=[];function ga(){va=[]}function ma(t,e,n,a,r,i,o){void 0===i&&(i=1),void 0===o&&(o=0),pa.push({time:t,event:22,data:{type:e,hash:n,x:a,y:r,reaction:i,context:o}}),T(e,a,r)}var ba,ya,wa,ka,Ea,Oa=0,xa=0,Sa=null,Ma=0;function Na(){ka=!0,Oa=0,xa=0,Ma=0,ba=[],ya=[],wa={},Ea=null}function Ta(t,e){if(void 0===e&&(e=!0),ka){var n=s(),a=t.length>1?t[1]:null,r=JSON.stringify(t);switch(a){case 5:Oa+=r.length;case 37:case 6:case 43:xa+=r.length,ba.push(r);break;default:ya.push(r)}H(25);var i=function(){var t=!1===o.lean&&Oa>0?100:Ar.sequence*o.delay;return"string"==typeof o.upload?Math.max(Math.min(t,3e4),100):o.delay}();n-Ma>2*i&&(X(Sa),Sa=null),e&&null===Sa&&(25!==a&&V(),Sa=q(Ia,i),Ma=n,ir(xa))}}function _a(){X(Sa),Ia(!0),Oa=0,xa=0,Ma=0,ba=[],ya=[],wa={},Ea=null,ka=!1}function Ia(t){return void 0===t&&(t=!1),at(this,void 0,void 0,(function(){var e,n,a,r,i,u,c,s;return rt(this,(function(l){switch(l.label){case 0:return Sa=null,(e=!1===o.lean&&xa>0&&(xa<1048576||Ar.sequence>0))&&Y(1,1),Re(),function(){var t=[];va=[];for(var e=Ar.start+Ar.duration,n=Math.max(e-2e3,0),a=0,r=pa;a<r.length;a++){var i=r[a];i.time>=n&&(i.time<=e&&va.push(i),t.push(i))}pa=t,ha(22)}(),yt(),n=!0===t,a=JSON.stringify(Rr(n)),r="[".concat(ya.join(),"]"),i=e?"[".concat(ba.join(),"]"):"",u=function(t){return t.p.length>0?'{"e":'.concat(t.e,',"a":').concat(t.a,',"p":').concat(t.p,"}"):'{"e":'.concat(t.e,',"a":').concat(t.a,"}")}({e:a,a:r,p:i}),n?(s=null,[3,3]):[3,1];case 1:return[4,pt(u)];case 2:s=l.sent(),l.label=3;case 3:return W(2,(c=s)?c.length:u.length),Da(u,c,Ar.sequence,n),ya=[],e&&(ba=[],xa=0,Oa=0),[2]}}))}))}function Da(t,e,n,a){if(void 0===a&&(a=!1),"string"==typeof o.upload){var r=o.upload,i=!1;if(a&&"sendBeacon"in navigator)try{(i=navigator.sendBeacon.bind(navigator)(r,t))&&ja(n)}catch(t){}if(!1===i){n in wa?wa[n].attempts++:wa[n]={data:t,attempts:1};var u=new XMLHttpRequest;u.open("POST",r,!0),u.timeout=15e3,u.ontimeout=function(){Wr(new Error("".concat("Timeout"," : ").concat(r)))},null!==n&&(u.onreadystatechange=function(){Yr(Ca)(u,n)}),u.withCredentials=!0,e?(u.setRequestHeader("Accept","application/x-clarity-gzip"),u.send(e)):u.send(t)}}else if(o.upload){(0,o.upload)(t),ja(n)}}function Ca(t,e){var n=wa[e];t&&4===t.readyState&&n&&((t.status<200||t.status>208)&&n.attempts<=1?t.status>=400&&t.status<500?or(6):(0===t.status&&(o.upload=o.fallback?o.fallback:o.upload),Da(n.data,null,e)):(Ea={sequence:e,attempts:n.attempts,status:t.status},n.attempts>1&&ar(2),200===t.status&&t.responseText&&function(t){for(var e=t&&t.length>0?t.split("\n"):[],n=0,a=e;n<a.length;n++){var r=a[n],i=r&&r.length>0?r.split(/ (.*)/):[""];switch(i[0]){case"END":or(6);break;case"UPGRADE":et("Auto");break;case"ACTION":o.action&&i.length>1&&o.action(i[1]);break;case"EXTRACT":i.length>1&&Ja(i[1])}}}(t.responseText),0===t.status&&(Da(n.data,null,e,!0),or(3)),t.status>=200&&t.status<=208&&ja(e),delete wa[e]))}function ja(t){1===t&&Sr()}var Aa,La={};function za(t){var e=t.error||t;return e.message in La||(La[e.message]=0),La[e.message]++>=5||e&&e.message&&(Aa={message:e.message,line:t.lineno,column:t.colno,stack:e.stack,source:t.filename},Ra(31)),!0}function Ra(t){return at(this,void 0,void 0,(function(){var e;return rt(this,(function(n){switch(e=[s(),t],t){case 31:e.push(Aa.message),e.push(Aa.line),e.push(Aa.column),e.push(Aa.stack),e.push(b(Aa.source)),Ta(e);break;case 33:Ha&&(e.push(Ha.code),e.push(Ha.name),e.push(Ha.message),e.push(Ha.stack),e.push(Ha.severity),Ta(e,!1));break;case 41:wt&&(e.push(wt.id),e.push(wt.target),e.push(wt.checksum),Ta(e,!1))}return[2]}))}))}var Ha,Wa={};function Ya(t,e,n,a,r){void 0===n&&(n=null),void 0===a&&(a=null),void 0===r&&(r=null);var i=n?"".concat(n,"|").concat(a):"";t in Wa&&Wa[t].indexOf(i)>=0||(Ha={code:t,name:n,message:a,stack:r,severity:e},t in Wa?Wa[t].push(i):Wa[t]=[i],Ra(33))}var qa,Xa={},Pa=new Set,Ua={},Ba={},Va={};function Fa(){Ka()}function Ja(t){try{var e=t&&t.length>0?t.split(/ (.*)/):[""],n=parseInt(e[0]),a=e.length>1?JSON.parse(e[1]):{};for(var r in Ua[n]={},Ba[n]={},Va[n]={},a){var i=parseInt(r),o=a[r],u=2;switch(o.startsWith("~")?u=0:o.startsWith("!")&&(u=4),u){case 0:var c=o.substring(1,o.length);Ua[n][i]=tr(c);break;case 2:Ba[n][i]=o;break;case 4:var s=o.substring(1,o.length);Va[n][i]=s}}}catch(t){Ya(8,1,t?t.name:null)}}function Ga(t){return JSON.parse(JSON.stringify(t))}function Za(){try{for(var t in Ua){var e=parseInt(t),n=Ua[e];for(var a in n){var r=parseInt(a),i=(h=er(Ga(n[r])))?JSON.stringify(h).substring(0,1e4):h;i&&Qa(e,r,i)}var o=Ba[e];for(var u in o){var c=parseInt(u),s=document.querySelectorAll(o[c]);if(s)Qa(e,c,Array.from(s).map((function(t){return t.textContent})).join("<SEP>").substring(0,1e4))}var l=Va[e];for(var d in l){var f=parseInt(d);Qa(e,f,Kt(l[f]).trim().substring(0,1e4))}}Pa.size>0&&ar(40)}catch(t){Ya(5,1,t?t.name:null)}var h}function Ka(){Pa.clear()}function Qa(t,e,n){var a,r=!1;t in Xa||(Xa[t]={},r=!0),a=Va[t],0==Object.keys(a).length||e in Xa[t]&&Xa[t][e]==n||(r=!0),Xa[t][e]=n,r&&Pa.add(t)}function $a(){Ka()}function tr(t){for(var e=[],n=t.split(".");n.length>0;){var a=n.shift(),r=a.indexOf("["),i=a.indexOf("{"),o=a.indexOf("}");e.push({name:r>0?a.substring(0,r):i>0?a.substring(0,i):a,type:r>0?1:i>0?2:3,condition:i>0?a.substring(i+1,o):null})}return e}function er(t,e){if(void 0===e&&(e=window),0==t.length)return e;var n,a=t.shift();if(e&&e[a.name]){var r=e[a.name];if(1!==a.type&&nr(r,a.condition))n=er(t,r);else if(Array.isArray(r)){for(var i=[],o=0,u=r;o<u.length;o++){var c=u[o];if(nr(c,a.condition)){var s=er(t,c);s&&i.push(s)}}n=i}return n}return null}function nr(t,e){if(e){var n=e.split(":");return n.length>1?t[n[0]]==n[1]:t[n[0]]}return!0}function ar(t){var e=[s(),t];switch(t){case 4:var n=x;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),Ta(e,!1)),N();break;case 25:e.push(L.gap),Ta(e);break;case 35:e.push(qa.check),Ta(e,!1);break;case 3:e.push(tt.key),Ta(e);break;case 2:e.push(Ea.sequence),e.push(Ea.attempts),e.push(Ea.status),Ta(e,!1);break;case 24:e.push(j.key),e.push(j.value),Ta(e);break;case 34:var a=Object.keys(it);if(a.length>0){for(var r=0,i=a;r<i.length;r++){var o=i[r];e.push(o),e.push(it[o])}lt(),Ta(e,!1)}break;case 0:var u=Object.keys(R);if(u.length>0){for(var c=0,l=u;c<l.length;c++){var d=l[c],f=parseInt(d,10);e.push(f),e.push(Math.round(R[d]))}R={},Ta(e,!1)}break;case 1:var h=Object.keys(lr);if(h.length>0){for(var p=0,v=h;p<v.length;p++){var g=v[p];f=parseInt(g,10);e.push(f),e.push(lr[g])}vr(),Ta(e,!1)}break;case 36:var m=Object.keys(G);if(m.length>0){for(var b=0,y=m;b<y.length;b++){var w=y[b];f=parseInt(w,10);e.push(f),e.push([].concat.apply([],G[w]))}Q(),Ta(e,!1)}break;case 40:Pa.forEach((function(t){e.push(t);var n=[];for(var a in Xa[t]){var r=parseInt(a,10);n.push(r),n.push(Xa[t][a])}e.push(n)})),Ka(),Ta(e,!1)}}function rr(){qa={check:0}}function ir(t){if(0===qa.check){var e=qa.check;e=Ar.sequence>=128?1:e,e=Ar.pageNum>=128?7:e,e=s()>72e5?2:e,(e=t>10485760?2:e)!==qa.check&&or(e)}}function or(t){qa.check=t,xr(),mi()}function ur(){0!==qa.check&&ar(35)}function cr(){qa=null}var sr=null,lr=null;function dr(){sr={},lr={}}function fr(){sr={},lr={}}function hr(t,e){e&&(e="".concat(e),t in sr||(sr[t]=[]),sr[t].indexOf(e)<0&&(sr[t].push(e),t in lr||(lr[t]=[]),lr[t].push(e),sr[t].length>128&&or(5)))}function pr(){ar(1)}function vr(){lr={}}var gr=null,mr=[],br=null;function yr(){br=null;var t,e=navigator&&"userAgent"in navigator?navigator.userAgent:"",n=document&&document.title?document.title:"",a=e.indexOf("Electron")>0?1:0,r=function(){var t={session:Tr(),ts:Math.round(Date.now()),count:1,upgrade:null,upload:""},e=Dr("_clsk");if(e){var n=e.split("|");n.length>=5&&t.ts-_r(n[1])<18e5&&(t.session=n[0],t.count=_r(n[2])+1,t.upgrade=_r(n[3]),t.upload=n.length>=6?"".concat("https://").concat(n[5],"/").concat(n[4]):"".concat("https://").concat(n[4]))}return t}(),i=Ir(),u=o.projectId||d(location.host);gr={projectId:u,userId:i.id,sessionId:r.session,pageNum:r.count},o.lean=o.track&&null!==r.upgrade?0===r.upgrade:o.lean,o.upload=o.track&&"string"==typeof o.upload&&r.upload&&r.upload.length>"https://".length?r.upload:o.upload,hr(0,e),hr(3,n),hr(1,b(location.href,!!a)),hr(2,document.referrer),hr(15,function(){var t=Tr();if(o.track&&Mr(window,"sessionStorage")){var e=sessionStorage.getItem("_cltk");t=e||t,sessionStorage.setItem("_cltk",t)}return t}()),hr(16,document.documentElement.lang),hr(17,document.dir),hr(26,"".concat(window.devicePixelRatio)),hr(28,i.dob.toString()),hr(29,i.version.toString()),Y(0,r.ts),Y(1,0),Y(35,a),navigator&&(hr(9,navigator.language),Y(33,navigator.hardwareConcurrency),Y(32,navigator.maxTouchPoints),Y(34,Math.round(navigator.deviceMemory)),(t=navigator.userAgentData)&&t.getHighEntropyValues?t.getHighEntropyValues(["model","platform","platformVersion","uaFullVersion"]).then((function(t){var e;hr(22,t.platform),hr(23,t.platformVersion),null===(e=t.brands)||void 0===e||e.forEach((function(t){hr(24,t.name+"~"+t.version)})),hr(25,t.model),Y(27,t.mobile?1:0)})):hr(22,navigator.platform)),screen&&(Y(14,Math.round(screen.width)),Y(15,Math.round(screen.height)),Y(16,Math.round(screen.colorDepth)));for(var c=0,s=o.cookies;c<s.length;c++){var l=s[c],f=Dr(l);f&&ot(l,f)}Nr(i)}function wr(){br=null,gr=null}function kr(t,e){void 0===e&&(e=!0);var n=o.lean?0:1;gr&&(n||!1===e)?t(gr,!o.lean):mr.push({callback:t,wait:e})}function Er(){return gr?[gr.userId,gr.sessionId,gr.pageNum].join("."):""}function Or(){ei()&&(o.track=!0,Nr(Ir(),1))}function xr(){Cr("_clsk","",0)}function Sr(){var t=Math.round(Date.now()),e=o.upload&&"string"==typeof o.upload?o.upload.replace("https://",""):"",n=o.lean?0:1;!function(t){mr.length>0&&mr.forEach((function(e){!e.callback||e.wait&&!t||e.callback(gr,!o.lean)}))}(n),Cr("_clsk",[gr.sessionId,t,gr.pageNum,n,e].join("|"),1)}function Mr(t,e){try{return!!t[e]}catch(t){return!1}}function Nr(t,e){void 0===e&&(e=null),e=null===e?t.consent:e;var n=Math.ceil((Date.now()+31536e6)/864e5),a=0===t.dob?null===o.dob?0:o.dob:t.dob;(null===t.expiry||Math.abs(n-t.expiry)>=1||t.consent!==e||t.dob!==a)&&Cr("_clck",[gr.userId,2,n.toString(36),e,a].join("|"),365)}function Tr(){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 _r(t,e){return void 0===e&&(e=10),parseInt(t,e)}function Ir(){var t={id:Tr(),version:0,expiry:null,consent:0,dob:0},e=Dr("_clck");if(e&&e.length>0){for(var n=e.split("|"),a=0,r=0,i=document.cookie.split(";");r<i.length;r++){a+="_clck"===i[r].split("=")[0].trim()?1:0}if(1===n.length||a>1){var u="".concat(";").concat("expires=").concat(new Date(0).toUTCString()).concat(";path=/");document.cookie="".concat("_clck","=").concat(u),document.cookie="".concat("_clsk","=").concat(u)}n.length>1&&(t.version=_r(n[1])),n.length>2&&(t.expiry=_r(n[2],36)),n.length>3&&1===_r(n[3])&&(t.consent=1),n.length>4&&_r(n[1])>1&&(t.dob=_r(n[4])),o.track=o.track||1===t.consent,t.id=o.track?n[0]:t.id}return t}function Dr(t){if(Mr(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 Cr(t,e,n){if(o.track&&(navigator&&navigator.cookieEnabled||Mr(document,"cookie"))){var a=new Date;a.setDate(a.getDate()+n);var r=a?"expires="+a.toUTCString():"",i="".concat(t,"=").concat(e).concat(";").concat(r).concat(";path=/");try{if(null===br){for(var u=location.hostname?location.hostname.split("."):[],c=u.length-1;c>=0;c--)if(br=".".concat(u[c]).concat(br||""),c<u.length-1&&(document.cookie="".concat(i).concat(";").concat("domain=").concat(br),Dr(t)===e))return;br=""}}catch(t){br=""}document.cookie=br?"".concat(i).concat(";").concat("domain=").concat(br):i}}var jr,Ar=null;function Lr(){var t=gr;Ar={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 zr(){Ar=null}function Rr(t){return Ar.start=Ar.start+Ar.duration,Ar.duration=s()-Ar.start,Ar.sequence++,Ar.upload=t&&"sendBeacon"in navigator?1:0,Ar.end=t?1:0,[Ar.version,Ar.sequence,Ar.start,Ar.duration,Ar.projectId,Ar.userId,Ar.sessionId,Ar.pageNum,Ar.upload,Ar.end]}function Hr(){jr=[]}function Wr(t){if(jr&&-1===jr.indexOf(t.message)){var e=o.report;if(e&&e.length>0){var n={v:Ar.version,p:Ar.projectId,u:Ar.userId,s:Ar.sessionId,n:Ar.pageNum};t.message&&(n.m=t.message),t.stack&&(n.e=t.stack);var a=new XMLHttpRequest;a.open("POST",e,!0),a.send(JSON.stringify(n)),jr.push(t.message)}}return t}function Yr(t){return function(){var e=performance.now();try{t.apply(this,arguments)}catch(t){throw Wr(t)}var n=performance.now()-e;W(4,n),n>30&&(H(7),Y(6,n))}}var qr=[];function Xr(t,e,n,a){void 0===a&&(a=!1),n=Yr(n);try{t[u("addEventListener")](e,n,a),qr.push({event:e,target:t,listener:n,capture:a})}catch(t){}}function Pr(){for(var t=0,e=qr;t<e.length;t++){var n=e[t];try{n.target[u("removeEventListener")](n.event,n.listener,n.capture)}catch(t){}}qr=[]}var Ur=null,Br=null,Vr=null,Fr=0;function Jr(){return!(Fr++>20)||(Ya(4,0),!1)}function Gr(){Fr=0,Vr!==Kr()&&(mi(),window.setTimeout(Zr,250))}function Zr(){gi(),Y(29,1)}function Kr(){return location.href?location.href.replace(location.hash,""):location.href}var Qr=!1;function $r(){Qr=!0,c=performance.now(),fe(),Pr(),Hr(),Vr=Kr(),Fr=0,Xr(window,"popstate",Gr),null===Ur&&(Ur=history.pushState,history.pushState=function(){Ur.apply(this,arguments),ei()&&Jr()&&Gr()}),null===Br&&(Br=history.replaceState,history.replaceState=function(){Br.apply(this,arguments),ei()&&Jr()&&Gr()})}function ti(){Vr=null,Fr=0,Hr(),Pr(),fe(),c=0,Qr=!1}function ei(){return Qr}function ni(t){if(null===t||Qr)return!1;for(var e in t)e in o&&(o[e]=t[e]);return!0}function ai(){gi(),A("clarity","restart")}var ri=Object.freeze({__proto__:null,start:function(){!function(){kt=[],Y(26,navigator.webdriver?1:0);try{Y(31,window.top==window.self?1:2)}catch(t){Y(31,0)}}(),Xr(window,"error",za),La={},Wa={}},stop:function(){Wa={}}});function ii(){return at(this,void 0,void 0,(function(){var t,e;return rt(this,(function(n){switch(n.label){case 0:return t=s(),ge(e={id:Er(),cost:3}),[4,Gn(document,e,0)];case 1:return n.sent(),[4,Se(5,e,t)];case 2:return n.sent(),me(e),[2]}}))}))}var oi=Object.freeze({__proto__:null,hashText:Kt,start:function(){Oe(),xe(),qe(),Ae=null,Ie=new WeakMap,De={},Ce=[],je=!!window.IntersectionObserver,Xt(),function(){if(Zn=[],ea=[],na=null,aa=0,ra={},null===Qn&&(Qn=CSSStyleSheet.prototype.insertRule,CSSStyleSheet.prototype.insertRule=function(){return ei()&&sa(this.ownerNode),Qn.apply(this,arguments)}),null===$n&&($n=CSSStyleSheet.prototype.deleteRule,CSSStyleSheet.prototype.deleteRule=function(){return ei()&&sa(this.ownerNode),$n.apply(this,arguments)}),null===ta){ta=Element.prototype.attachShadow;try{Element.prototype.attachShadow=function(){return ei()?sa(ta.apply(this,arguments)):ta.apply(this,arguments)}}catch(t){ta=null}}}(),he(ii,1).then((function(){Yr(xe)(),Yr(Re)()}))},stop:function(){qe(),Ie=null,De={},Ce=[],Ae&&(Ae.disconnect(),Ae=null),je=!1,Pt(),function(){for(var t=0,e=Zn;t<e.length;t++){var n=e[t];n&&n.disconnect()}Zn=[],ra={},Kn=[],ea=[],aa=0,na=null}(),Oe()}});var ui,ci=null;function si(){ci=null}function li(t){ci={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){at(this,void 0,void 0,(function(){var e,n;return rt(this,(function(a){return e=s(),n=[e,t],29===t&&(n.push(ci.fetchStart),n.push(ci.connectStart),n.push(ci.connectEnd),n.push(ci.requestStart),n.push(ci.responseStart),n.push(ci.responseEnd),n.push(ci.domInteractive),n.push(ci.domComplete),n.push(ci.loadEventStart),n.push(ci.loadEventEnd),n.push(ci.redirectCount),n.push(ci.size),n.push(ci.type),n.push(ci.protocol),n.push(ci.encodedSize),n.push(ci.decodedSize),si(),Ta(n,!1)),[2]}))}))}(29)}var di=["navigation","resource","longtask","first-input","layout-shift","largest-contentful-paint"];function fi(){try{ui&&ui.disconnect(),ui=new PerformanceObserver(Yr(hi));for(var t=0,e=di;t<e.length;t++){var n=e[t];PerformanceObserver.supportedEntryTypes.indexOf(n)>=0&&("layout-shift"===n&&W(9,0),ui.observe({type:n,buffered:!0}))}}catch(t){Ya(3,1)}}function hi(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":li(a);break;case"resource":var r=a.name;hr(4,pi(r)),r!==o.upload&&r!==o.fallback||Y(28,a.duration);break;case"longtask":H(7);break;case"first-input":e&&Y(10,a.processingStart-a.startTime);break;case"layout-shift":e&&!a.hadRecentInput&&W(9,1e3*a.value);break;case"largest-contentful-paint":e&&Y(8,a.startTime)}}}(t.getEntries())}function pi(t){var e=document.createElement("a");return e.href=t,e.host}var vi=[ri,oi,Wn,Object.freeze({__proto__:null,start:function(){si(),function(){navigator&&"connection"in navigator&&hr(27,navigator.connection.effectiveType),window.PerformanceObserver&&PerformanceObserver.supportedEntryTypes?"complete"!==document.readyState?Xr(window,"load",q.bind(this,fi,0)):fi():Ya(3,0)}()},stop:function(){ui&&ui.disconnect(),ui=null,si()}})];function gi(t){void 0===t&&(t=null),function(){try{return!1===Qr&&"undefined"!=typeof Promise&&window.MutationObserver&&document.createTreeWalker&&"now"in Date&&"now"in performance&&"undefined"!=typeof WeakMap}catch(t){return!1}}()&&(ni(t),$r(),mt(),vi.forEach((function(t){return Yr(t.start)()})),null===t&&ki())}function mi(){ei()&&(vi.slice().reverse().forEach((function(t){return Yr(t.stop)()})),bt(),ti(),void 0!==yi&&(yi[wi]=function(){(yi[wi].q=yi[wi].q||[]).push(arguments),"start"===arguments[0]&&yi[wi].q.unshift(yi[wi].q.pop())&&ki()}))}var bi=Object.freeze({__proto__:null,consent:Or,event:A,hashText:Kt,identify:ut,metadata:kr,pause:function(){ei()&&(A("clarity","pause"),null===le&&(le=new Promise((function(t){de=t}))))},resume:function(){ei()&&(le&&(de(),le=null,null===se&&pe()),A("clarity","resume"))},set:ot,start:gi,stop:mi,upgrade:et,version:l}),yi=window,wi="clarity";function ki(){if(void 0!==yi){if(yi[wi]&&yi[wi].v)return console.warn("Error CL001: Multiple Clarity tags detected.");var t=yi[wi]&&yi[wi].q||[];for(yi[wi]=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return bi[t].apply(bi,e)},yi[wi].v=l;t.length>0;)yi[wi].apply(yi,t.shift())}}ki()}();
1
+ !function(){"use strict";var t=Object.freeze({__proto__:null,get queue(){return Ta},get start(){return Na},get stop(){return _a},get track(){return Ea}}),e=Object.freeze({__proto__:null,get clone(){return Ga},get compute(){return Za},get data(){return Xa},get keys(){return Pa},get reset(){return Ka},get start(){return Fa},get stop(){return $a},get trigger(){return Ja},get update(){return Qa}}),n=Object.freeze({__proto__:null,get check(){return ir},get compute(){return ur},get data(){return qa},get start(){return rr},get stop(){return cr},get trigger(){return or}}),a=Object.freeze({__proto__:null,get compute(){return pr},get data(){return sr},get log(){return hr},get reset(){return vr},get start(){return dr},get stop(){return fr},get updates(){return lr}}),r=Object.freeze({__proto__:null,get callbacks(){return mr},get clear(){return xr},get consent(){return Or},get data(){return gr},get id(){return Er},get metadata(){return kr},get save(){return Sr},get start(){return yr},get stop(){return wr}}),i=Object.freeze({__proto__:null,get data(){return Ar},get envelope(){return Rr},get start(){return Lr},get stop(){return zr}}),o={projectId:null,delay:1e3,lean:!1,track:!0,content:!0,drop:[],mask:[],unmask:[],regions:[],cookies:[],fraud:!0,checksum:[],report:null,upload:null,fallback:null,upgrade:null,action:null,dob:null};function u(t){return window.Zone&&"__symbol__"in window.Zone?window.Zone.__symbol__(t):t}var c=0;function s(t){void 0===t&&(t=null);var e=t&&t.timeStamp>0?t.timeStamp:performance.now();return Math.max(Math.round(e-c),0)}var l="0.7.9";function d(t,e){void 0===e&&(e=null);for(var n,a=5381,r=a,i=0;i<t.length;i+=2){if(a=(a<<5)+a^t.charCodeAt(i),i+1<t.length)r=(r<<5)+r^t.charCodeAt(i+1)}return n=Math.abs(a+11579*r),(e?n%Math.pow(2,e):n).toString(36)}var f=/\S/gi,h=!0,p=null,v=null,g=null;function m(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":case"click":return function(t){var e=-1,n=0,a=!1,r=!1,i=!1,o=null;O();for(var u=0;u<t.length;u++){var c=t.charCodeAt(u);if(a=a||c>=48&&c<=57,r=r||64===c,i=9===c||10===c||13===c||32===c,0===u||u===t.length-1||i){if(a||r){null===o&&(o=t.split(""));var s=t.substring(e+1,i?u:u+1);s=h&&null!==g?s.match(g)?s:k(s,"▪","▫"):w(s),o.splice(e+1-n,s.length,s),n+=s.length-1}i&&(a=!1,r=!1,e=u)}}return o?o.join(""):t}(t);case"input":case"change":return E(t)}return t;case 2:case 3:switch(e){case"*T":case"data-":return a?y(t):w(t);case"src":case"srcset":case"title":case"alt":return 3===n?"":t;case"value":case"click":case"input":case"change":return E(t);case"placeholder":return w(t)}break;case 4:switch(e){case"*T":case"data-":return a?y(t):w(t);case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":return""}break;case 5:switch(e){case"*T":case"data-":return k(t,"▪","▫");case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":case"src":case"srcset":case"alt":case"title":return""}}return t}function b(t,e){if(void 0===e&&(e=!1),e)return"".concat("https://").concat("Electron");var n=o.drop;if(n&&n.length>0&&t&&t.indexOf("?")>0){var a=t.split("?"),r=a[0],i=a[1];return r+"?"+i.split("&").map((function(t){return n.some((function(e){return 0===t.indexOf("".concat(e,"="))}))?"".concat(t.split("=")[0],"=").concat("*na*"):t})).join("&")}return t}function y(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"".concat(r).concat(e.length.toString(36)).concat(i)}return t}function w(t){return t.replace(f,"•")}function k(t,e,n){return O(),t?t.replace(v,e).replace(p,n):t}function E(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 O(){if(h&&null===p)try{p=new RegExp("\\p{N}","gu"),v=new RegExp("\\p{L}","gu"),g=new RegExp("\\p{Sc}","gu")}catch(t){h=!1}}var x=null,S=null,M=!1;function N(){M&&(x={time:s(),event:4,data:{visible:S.visible,docWidth:S.docWidth,docHeight:S.docHeight,screenWidth:S.screenWidth,screenHeight:S.screenHeight,scrollX:S.scrollX,scrollY:S.scrollY,pointerX:S.pointerX,pointerY:S.pointerY,activityTime:S.activityTime}}),S=S||{visible:1,docWidth:0,docHeight:0,screenWidth:0,screenHeight:0,scrollX:0,scrollY:0,pointerX:0,pointerY:0,activityTime:0}}function T(t,e,n){switch(t){case 8:S.docWidth=e,S.docHeight=n;break;case 11:S.screenWidth=e,S.screenHeight=n;break;case 10:S.scrollX=e,S.scrollY=n;break;default:S.pointerX=e,S.pointerY=n}M=!0}function _(t){S.activityTime=t}function I(t,e){S.visible="visible"===e?1:0,S.visible||_(t),M=!0}function D(){M&&ar(4)}var C=Object.freeze({__proto__:null,activity:_,compute:D,reset:N,start:function(){M=!1,N()},get state(){return x},stop:function(){N()},track:T,visibility:I}),j=null;function A(t,e){ei()&&t&&e&&"string"==typeof t&&"string"==typeof e&&t.length<255&&e.length<255&&(j={key:t,value:e},ar(24))}var L,z=null,R=null;function H(t){t in z||(z[t]=0),t in R||(R[t]=0),z[t]++,R[t]++}function W(t,e){null!==e&&(t in z||(z[t]=0),t in R||(R[t]=0),z[t]+=e,R[t]+=e)}function Y(t,e){null!==e&&!1===isNaN(e)&&(t in z||(z[t]=0),(e>z[t]||0===z[t])&&(R[t]=e,z[t]=e))}function q(t,e,n){return window.setTimeout(Yr(t),e,n)}function X(t){return window.clearTimeout(t)}var P=0,U=0,B=null;function V(){B&&X(B),B=q(F,U),P=s()}function F(){var t=s();L={gap:t-P},ar(25),L.gap<3e5?B=q(F,U):Qr&&(A("clarity","suspend"),mi(),["mousemove","touchstart"].forEach((function(t){return Xr(document,t,ai)})),["resize","scroll","pageshow"].forEach((function(t){return Xr(window,t,ai)})))}var J=Object.freeze({__proto__:null,get data(){return L},reset:V,start:function(){U=6e4,P=0},stop:function(){X(B),P=0,U=0}}),G=null;function Z(t,e){if(t in G){var n=G[t],a=n[n.length-1];e-a[0]>100?G[t].push([e,0]):a[1]=e-a[0]}else G[t]=[[e,0]]}function K(){ar(36)}function Q(){G={}}var $=Object.freeze({__proto__:null,compute:K,get data(){return G},reset:Q,start:function(){G={}},stop:function(){G={}},track:Z}),tt=null;function et(t){ei()&&o.lean&&(o.lean=!1,tt={key:t},Sr(),o.upgrade&&o.upgrade(t),ar(3))}var nt=Object.freeze({__proto__:null,get data(){return tt},start:function(){!o.lean&&o.upgrade&&o.upgrade("Config"),tt=null},stop:function(){tt=null},upgrade:et});function at(t,e,n,a){return new(n||(n=Promise))((function(r,i){function o(t){try{c(a.next(t))}catch(t){i(t)}}function u(t){try{c(a.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?r(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(o,u)}c((a=a.apply(t,e||[])).next())}))}function rt(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(u){return function(c){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(o=0)),o;)try{if(n=1,a&&(r=2&u[0]?a.return:u[0]?a.throw||((r=a.return)&&r.call(a),0):a.next)&&!(r=r.call(a,u[1])).done)return r;switch(a=0,r&&(u=[2&u[0],r.value]),u[0]){case 0:case 1:r=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,a=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(!(r=o.trys,(r=r.length>0&&r[r.length-1])||6!==u[0]&&2!==u[0])){o=0;continue}if(3===u[0]&&(!r||u[1]>r[0]&&u[1]<r[3])){o.label=u[1];break}if(6===u[0]&&o.label<r[1]){o.label=r[1],r=u;break}if(r&&o.label<r[2]){o.label=r[2],o.ops.push(u);break}r[2]&&o.ops.pop(),o.trys.pop();continue}u=e.call(t,o)}catch(t){u=[6,t],a=0}finally{n=r=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,c])}}}var it=null;function ot(t,e){ct(t,"string"==typeof e?[e]:e)}function ut(t,e,n,a){return void 0===e&&(e=null),void 0===n&&(n=null),void 0===a&&(a=null),at(this,void 0,void 0,(function(){var r,i;return rt(this,(function(o){switch(o.label){case 0:return i={},[4,dt(t)];case 1:return i.userId=o.sent(),i.userHint=a||((u=t)&&u.length>=5?"".concat(u.substring(0,2)).concat(k(u.substring(2),"*","*")):k(u,"*","*")),ct("userId",[(r=i).userId]),ct("userHint",[r.userHint]),ct("userType",[ft(t)]),e&&(ct("sessionId",[e]),r.sessionId=e),n&&(ct("pageId",[n]),r.pageId=n),[2,r]}var u}))}))}function ct(t,e){if(ei()&&t&&e&&"string"==typeof t&&t.length<255){for(var n=(t in it?it[t]:[]),a=0;a<e.length;a++)"string"==typeof e[a]&&e[a].length<255&&n.push(e[a]);it[t]=n}}function st(){ar(34)}function lt(){it={}}function dt(t){return at(this,void 0,void 0,(function(){var e;return rt(this,(function(n){switch(n.label){case 0:return n.trys.push([0,4,,5]),crypto&&t?[4,crypto.subtle.digest("SHA-256",(new TextEncoder).encode(t))]:[3,2];case 1:return e=n.sent(),[2,Array.prototype.map.call(new Uint8Array(e),(function(t){return("00"+t.toString(16)).slice(-2)})).join("")];case 2:return[2,""];case 3:return[3,5];case 4:return n.sent(),[2,""];case 5:return[2]}}))}))}function ft(t){return t&&t.indexOf("@")>0?"email":"string"}var ht="CompressionStream"in window;function pt(t){return at(this,void 0,void 0,(function(){var e,n;return rt(this,(function(a){switch(a.label){case 0:return a.trys.push([0,3,,4]),ht?(e=new ReadableStream({start:function(e){return at(this,void 0,void 0,(function(){return rt(this,(function(n){return e.enqueue(t),e.close(),[2]}))}))}}).pipeThrough(new TextEncoderStream).pipeThrough(new window.CompressionStream("gzip")),n=Uint8Array.bind,[4,vt(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 vt(t){return at(this,void 0,void 0,(function(){var e,n,a,r,i;return rt(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 gt=[C,a,Object.freeze({__proto__:null,compute:st,get data(){return it},identify:ut,reset:lt,set:ot,start:function(){lt()},stop:function(){lt()}}),n,$,r,i,t,J,nt,e];function mt(){z={},R={},H(5),gt.forEach((function(t){return Yr(t.start)()}))}function bt(){gt.slice().reverse().forEach((function(t){return Yr(t.stop)()})),z={},R={}}function yt(){st(),D(),pr(),ar(0),K(),ur(),Za()}var wt,kt=[];function Et(t,e,n){o.fraud&&null!==t&&n&&n.length>=5&&(wt={id:t,target:e,checksum:d(n,24)},kt.indexOf(wt.checksum)<0&&(kt.push(wt.checksum),Ra(41)))}var Ot="load,active,fixed,visible,focus,show,collaps,animat".split(","),xt={};function St(t,e){var n=t.attributes,a=t.prefix?t.prefix[e]:null,r=0===e?"".concat("~").concat(t.position-1):":nth-of-type(".concat(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="".concat(a).concat(">"),t.tag=0===t.tag.indexOf("svg:")?t.tag.substr("svg:".length):t.tag;var i="".concat(a).concat(t.tag).concat(r),o="id"in n&&n.id.length>0?n.id:null,u="BODY"!==t.tag&&"class"in n&&n.class.length>0?n.class.trim().split(/\s+/).filter((function(t){return Mt(t)})).join("."):null;if(u&&u.length>0)if(0===e){var c="".concat(function(t){for(var e=t.split(">"),n=0;n<e.length;n++){var a=e[n].indexOf("~"),r=e[n].indexOf(".");e[n]=e[n].substring(0,r>0?r:a>0?a:e[n].length)}return e.join(">")}(a)).concat(t.tag).concat(".").concat(u);c in xt||(xt[c]=[]),xt[c].indexOf(t.id)<0&&xt[c].push(t.id),i="".concat(c).concat("~").concat(xt[c].indexOf(t.id))}else i="".concat(a).concat(t.tag,".").concat(u).concat(r);return i=o&&Mt(o)?"".concat(function(t){var e=t.lastIndexOf("*S"),n=t.lastIndexOf("".concat("iframe:").concat("HTML")),a=Math.max(e,n);if(a<0)return"";return t.substring(0,t.indexOf(">",a)+1)}(a)).concat("#").concat(o):i,i}}function Mt(t){if(!t)return!1;if(Ot.some((function(e){return t.toLowerCase().indexOf(e)>=0})))return!1;for(var e=0;e<t.length;e++){var n=t.charCodeAt(e);if(n>=48&&n<=57)return!1}return!0}var Nt=1,Tt=[],_t=[],It=[],Dt={},Ct=[],jt=[],At=[],Lt=[],zt=[],Rt=[],Ht=null,Wt=null,Yt=null,qt=null;function Xt(){Ut(),Bt(document,!0)}function Pt(){Ut()}function Ut(){Nt=1,Tt=[],_t=[],It=[],Dt={},Ct=[],jt=[],At="address,password,contact".split(","),Lt="password,secret,pass,social,ssn,code,hidden".split(","),zt="radio,checkbox,range,button,reset,submit".split(","),Rt="INPUT,SELECT,TEXTAREA".split(","),Ht=new WeakMap,Wt=new WeakMap,Yt=new WeakMap,qt=new WeakMap,xt={}}function Bt(t,e){void 0===e&&(e=!1);try{e&&o.unmask.forEach((function(t){return t.indexOf("!")<0?jt.push(t):Ct.push(t.substr(1))})),"querySelectorAll"in t&&(o.regions.forEach((function(e){return t.querySelectorAll(e[1]).forEach((function(t){return Le(t,"".concat(e[0]))}))})),o.mask.forEach((function(e){return t.querySelectorAll(e).forEach((function(t){return Yt.set(t,3)}))})),o.checksum.forEach((function(e){return t.querySelectorAll(e[1]).forEach((function(t){return qt.set(t,e[0])}))})),jt.forEach((function(e){return t.querySelectorAll(e).forEach((function(t){return Yt.set(t,0)}))})))}catch(t){Ya(5,1,t?t.name:null)}}function Vt(t,e){if(void 0===e&&(e=!1),null===t)return null;var n=Ht.get(t);return!n&&e&&(n=Nt++,Ht.set(t,n)),n||null}function Ft(t){var e=!1;if(t.nodeType===Node.ELEMENT_NODE&&"IFRAME"===t.tagName){var n=t;try{n.contentDocument&&(Wt.set(n.contentDocument,n),e=!0)}catch(t){}}return e}function Jt(t){var e=t.nodeType===Node.DOCUMENT_NODE?t:null;return e&&Wt.has(e)?Wt.get(e):null}function Gt(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 Zt(t){var e=t.parent&&t.parent in _t?_t[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=_t[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={id:t.id,tag:a.tag,prefix:n,position:r,attributes:a.attributes};t.selector=[St(i,0),St(i,1)],t.hash=t.selector.map((function(t){return t?d(t):null})),t.hash.forEach((function(e){return Dt[e]=t.id}))}function Kt(t){var e=Qt(te(t));return null!==e&&null!==e.textContent?e.textContent.substr(0,25):""}function Qt(t){return t in Tt?Tt[t]:null}function $t(t){var e=Vt(t);return e in _t?_t[e]:null}function te(t){return t in Dt?Dt[t]:null}function ee(t){return Vt(t)in Tt}function ne(){for(var t=[],e=0,n=It;e<n.length;e++){var a=n[e];a in _t&&t.push(_t[a])}return It=[],t}function ae(t){for(var e=null;null===e&&t.previousSibling;)e=Vt(t.previousSibling),t=t.previousSibling;return e}function re(t,e,n,a){void 0===n&&(n=!0),void 0===a&&(a=!1);var r=It.indexOf(t);r>=0&&1===e&&a?(It.splice(r,1),It.push(t)):-1===r&&n&&It.push(t)}var ie=Object.freeze({__proto__:null,add:function(t,e,n,a){var r,i=Vt(t,!0),u=e?Vt(e):null,c=ae(t),s=null,l=ze(t)?i:null,d=qt.has(t)?qt.get(t):null,f=o.content?1:3;u>=0&&_t[u]&&((s=_t[u]).children.push(i),l=null===l?s.region:l,d=null===d?s.metadata.fraud:d,f=s.metadata.privacy),n.attributes&&"data-clarity-region"in n.attributes&&(Le(t,n.attributes["data-clarity-region"]),l=i),Tt[i]=t,_t[i]={id:i,parent:u,previous:c,children:[],data:n,selector:null,hash:null,region:l,metadata:{active:!0,suspend:!1,privacy:f,position:null,fraud:d,size:null}},function(t,e,n){var a=e.data,r=e.metadata,i=r.privacy,o=a.attributes||{},u=a.tag.toUpperCase();switch(!0){case Rt.indexOf(u)>=0:var c=o.type,s="";Object.keys(o).forEach((function(t){return s+=o[t].toLowerCase()}));var l=Lt.some((function(t){return s.indexOf(t)>=0}));r.privacy="INPUT"===u&&zt.indexOf(c)>=0?i:l?4:2;break;case"data-clarity-mask"in o:r.privacy=3;break;case"data-clarity-unmask"in o:r.privacy=0;break;case Yt.has(t):r.privacy=Yt.get(t);break;case qt.has(t):r.privacy=2;break;case"*T"===u:var d=n&&n.data?n.data.tag:"",f=n&&n.selector?n.selector[1]:"",h=["STYLE","TITLE","svg:style"];r.privacy=h.includes(d)||Ct.some((function(t){return f.indexOf(t)>=0}))?0:i;break;case 1===i:r.privacy=function(t,e,n){if(t&&e.some((function(e){return t.indexOf(e)>=0})))return 2;return n.privacy}(o.class,At,r)}}(t,_t[i],s),Zt(_t[i]),"IMG"===(r=_t[i]).data.tag&&3===r.metadata.privacy&&(r.metadata.size=[]),re(i,a)},get:$t,getId:Vt,getNode:Qt,getValue:function(t){return t in _t?_t[t]:null},has:ee,hashText:Kt,iframe:Jt,lookup:te,parse:Bt,sameorigin:Ft,start:Xt,stop:Pt,update:function(t,e,n,a){var r=Vt(t),i=e?Vt(e):null,o=ae(t),u=!1,c=!1;if(r in _t){var s=_t[r];if(s.metadata.active=!0,s.previous!==o&&(u=!0,s.previous=o),s.parent!==i){u=!0;var l=s.parent;if(s.parent=i,null!==i&&i>=0){var d=null===o?0:_t[i].children.indexOf(o)+1;_t[i].children.splice(d,0,r),s.region=ze(t)?r:_t[i].region}else!function(t,e){if(t in _t){var n=_t[t];n.metadata.active=!1,n.parent=null,re(t,e)}}(r,a);if(null!==l&&l>=0){var f=_t[l].children.indexOf(r);f>=0&&_t[l].children.splice(f,1)}c=!0}for(var h in n)Gt(s.data,n,h)&&(u=!0,s.data[h]=n[h]);Zt(s),re(r,a,u,c)}},updates:ne}),oe=5e3,ue={},ce=[],se=null,le=null,de=null;function fe(){ue={},ce=[],se=null,le=null}function he(t,e){return void 0===e&&(e=0),at(this,void 0,void 0,(function(){var n,a,r;return rt(this,(function(i){for(n=0,a=ce;n<a.length;n++)if(a[n].task===t)return[2];return r=new Promise((function(n){ce[1===e?"unshift":"push"]({task:t,resolve:n,id:Er()})})),null===se&&null===le&&pe(),[2,r]}))}))}function pe(){var t=ce.shift();t&&(se=t,t.task().then((function(){t.id===Er()&&(t.resolve(),se=null,pe())})).catch((function(e){t.id===Er()&&(e&&Ya(0,1,e.name,e.message,e.stack),se=null,pe())})))}function ve(t){var e=ye(t);return e in ue?performance.now()-ue[e].start>ue[e].yield?0:1:2}function ge(t){ue[ye(t)]={start:performance.now(),calls:0,yield:30}}function me(t){var e=performance.now(),n=ye(t),a=e-ue[n].start;W(t.cost,a),H(5),ue[n].calls>0&&W(4,a)}function be(t){return at(this,void 0,void 0,(function(){var e,n;return rt(this,(function(a){switch(a.label){case 0:return(e=ye(t))in ue?(me(t),n=ue[e],[4,we()]):[3,2];case 1:n.yield=a.sent().timeRemaining(),function(t){var e=ye(t);if(ue&&ue[e]){var n=ue[e].calls,a=ue[e].yield;ge(t),ue[e].calls=n+1,ue[e].yield=a}}(t),a.label=2;case 2:return[2,e in ue?1:2]}}))}))}function ye(t){return"".concat(t.id,".").concat(t.cost)}function we(){return at(this,void 0,void 0,(function(){return rt(this,(function(t){switch(t.label){case 0:return le?[4,le]:[3,2];case 1:t.sent(),t.label=2;case 2:return[2,new Promise((function(t){Ee(t,{timeout:oe})}))]}}))}))}var ke,Ee=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 c=o>e.timeout;t({didTimeout:c,timeRemaining:function(){return c?30:Math.max(0,30-u)}})}},requestAnimationFrame((function(){i.postMessage(performance.now())}))};function Oe(){ke=null}function xe(){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,c=Math.max(n,a,r,i,o,u),s=t?t.clientHeight:null,l=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,l,d,f,h,p);null!==ke&&c===ke.width&&v===ke.height||null===c||null===v||(ke={width:c,height:v},Se(8))}function Se(t,e,n){return void 0===e&&(e=null),void 0===n&&(n=null),at(this,void 0,void 0,(function(){var a,r,i,u,c,l,d,f,h,p,v,g,b,y,w,k,E,O,x,S,M,N;return rt(this,(function(I){switch(I.label){case 0:switch(a=n||s(),r=[a,t],t){case 8:return[3,1];case 7:return[3,2];case 5:case 6:return[3,3]}return[3,10];case 1:return i=ke,r.push(i.width),r.push(i.height),T(t,i.width,i.height),Ta(r),[3,10];case 2:for(u=0,c=_e;u<c.length;u++)l=c[u],(r=[l.time,7]).push(l.data.id),r.push(l.data.interaction),r.push(l.data.visibility),r.push(l.data.name),Ta(r);return qe(),[3,10];case 3:if(2===ve(e))return[3,10];if(!((d=ne()).length>0))return[3,9];f=0,h=d,I.label=4;case 4:return f<h.length?(p=h[f],0!==(v=ve(e))?[3,6]:[4,be(e)]):[3,8];case 5:v=I.sent(),I.label=6;case 6:if(2===v)return[3,8];for(g=p.data,b=p.metadata.active,y=p.metadata.suspend,w=p.metadata.privacy,k=function(t){var e=t.metadata.privacy;return"*T"===t.data.tag&&!(0===e||1===e)}(p),E=0,O=b?["tag","attributes","value"]:["tag"];E<O.length;E++)if(g[x=O[E]])switch(x){case"tag":S=Me(p),M=k?-1:1,r.push(p.id*M),p.parent&&b&&r.push(p.parent),p.previous&&b&&r.push(p.previous),r.push(y?"*M":g[x]),S&&2===S.length&&r.push("".concat("#").concat(Ne(S[0]),".").concat(Ne(S[1])));break;case"attributes":for(N in g[x])void 0!==g[x][N]&&r.push(Te(N,g[x][N],w));break;case"value":Et(p.metadata.fraud,p.id,g[x]),r.push(m(g[x],g.tag,w,k))}I.label=7;case 7:return f++,[3,4];case 8:6===t&&_(a),Ta(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}(r),!o.lean),I.label=9;case 9:return[3,10];case 10:return[2]}}))}))}function Me(t){if(null!==t.metadata.size&&0===t.metadata.size.length){var e=Qt(t.id);if(e)return[Math.floor(100*e.offsetWidth),Math.floor(100*e.offsetHeight)]}return t.metadata.size}function Ne(t){return t.toString(36)}function Te(t,e,n){return"".concat(t,"=").concat(m(e,0===t.indexOf("data-")?"data-":t,n))}var _e=[],Ie=null,De={},Ce=[],je=!1,Ae=null;function Le(t,e){!1===Ie.has(t)&&(Ie.set(t,e),(Ae=null===Ae&&je?new IntersectionObserver(He,{threshold:[0,.2,.4,.6,.8,1]}):Ae)&&t&&t.nodeType===Node.ELEMENT_NODE&&Ae.observe(t))}function ze(t){return Ie&&Ie.has(t)}function Re(){for(var t=[],e=0,n=Ce;e<n.length;e++){var a=n[e],r=Vt(a.node);r in De||(r?(a.data.id=r,De[r]=a.data,_e.push(Ye(a.data))):t.push(a))}Ce=t,_e.length>0&&Se(7)}function He(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(Ie.has(r)&&i.width+i.height>0&&u.width>0&&u.height>0){var c=r?Vt(r):null,s=c in De?De[c]:{id:c,name:Ie.get(r),interaction:16,visibility:0},l=(o?o.width*o.height*1/(u.width*u.height):0)>.05||a.intersectionRatio>.8,d=(l||10==s.visibility)&&Math.abs(i.top)+u.height>i.height;We(r,s,s.interaction,d?13:l?10:0),s.visibility>=13&&Ae&&Ae.unobserve(r)}}_e.length>0&&Se(7)}function We(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 De&&r||!(e.id in De))&&(De[e.id]=e,_e.push(Ye(e))):Ce.push({node:t,data:e})}function Ye(t){return{time:s(),data:{id:t.id,interaction:t.interaction,visibility:t.visibility,name:t.name}}}function qe(){_e=[]}var Xe=[];function Pe(t){var e=da(t);if(e){var n=e.value,a=n&&n.length>=5&&o.fraud?d(n,24):"";Xe.push({time:s(t),event:42,data:{target:da(t),type:e.type,value:n,checksum:a}}),he(ha.bind(this,42))}}function Ue(){Xe=[]}function Be(t){var e={x:0,y:0};if(t&&t.offsetParent)do{var n=t.offsetParent,a=null===n?Jt(t.ownerDocument):null;e.x+=t.offsetLeft,e.y+=t.offsetTop,t=a||n}while(t);return e}var Ve=["input","textarea","radio","button","canvas"],Fe=[];function Je(t){Xr(t,"click",Ge.bind(this,9,t),!0)}function Ge(t,e,n){var a=Jt(e),r=a?a.contentDocument.documentElement:document.documentElement,i="pageX"in n?Math.round(n.pageX):"clientX"in n?Math.round(n.clientX+r.scrollLeft):null,o="pageY"in n?Math.round(n.pageY):"clientY"in n?Math.round(n.clientY+r.scrollTop):null;if(a){var u=Be(a);i=i?i+Math.round(u.x):i,o=o?o+Math.round(u.y):o}var c=da(n),l=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}(c),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}(c);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&&(Fe.push({time:s(n),event:t,data:{target:c,x:i,y:o,eX:f,eY:h,button:n.button,reaction:Ke(c),context:Qe(l),text:Ze(c),link:l?l.href:null,hash:null,trust:n.isTrusted?1:0}}),he(ha.bind(this,t)))}function Ze(t){var e=null;if(t){var n=t.textContent||t.value||t.alt;n&&(e=n.replace(/\s+/g," ").trim().substr(0,25))}return e}function Ke(t){if(t.nodeType===Node.ELEMENT_NODE){var e=t.tagName.toLowerCase();if(Ve.indexOf(e)>=0)return 0}return 1}function Qe(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 $e(){Fe=[]}var tn=[];function en(t,e){tn.push({time:s(e),event:38,data:{target:da(e),action:t}}),he(ha.bind(this,38))}function nn(){tn=[]}var an=null,rn=[];function on(t){var e=da(t),n=$t(e);if(e&&e.type&&n){var a=e.value;switch(e.type){case"radio":case"checkbox":a=e.checked?"true":"false"}var r={target:e,value:a};rn.length>0&&rn[rn.length-1].data.target===r.target&&rn.pop(),rn.push({time:s(t),event:27,data:r}),X(an),an=q(un,1e3,27)}}function un(t){he(ha.bind(this,t))}function cn(){rn=[]}var sn,ln=[],dn=null;function fn(t,e,n){var a=Jt(e),r=a?a.contentDocument.documentElement:document.documentElement,i="pageX"in n?Math.round(n.pageX):"clientX"in n?Math.round(n.clientX+r.scrollLeft):null,o="pageY"in n?Math.round(n.pageY):"clientY"in n?Math.round(n.clientY+r.scrollTop):null;if(a){var u=Be(a);i=i?i+Math.round(u.x):i,o=o?o+Math.round(u.y):o}null!==i&&null!==o&&pn({time:s(n),event:t,data:{target:da(n),x:i,y:o}})}function hn(t,e,n){var a=Jt(e),r=a?a.contentDocument.documentElement:document.documentElement,i=n.changedTouches,o=s(n);if(i)for(var u=0;u<i.length;u++){var c=i[u],l="clientX"in c?Math.round(c.clientX+r.scrollLeft):null,d="clientY"in c?Math.round(c.clientY+r.scrollTop):null;l=l&&a?l+Math.round(a.offsetLeft):l,d=d&&a?d+Math.round(a.offsetTop):d,null!==l&&null!==d&&pn({time:o,event:t,data:{target:da(n),x:l,y:d}})}}function pn(t){switch(t.event){case 12:case 15:case 19:var e=ln.length,n=e>1?ln[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)&&ln.pop(),ln.push(t),X(dn),dn=q(vn,500,t.event);break;default:ln.push(t),vn(t.event)}}function vn(t){he(ha.bind(this,t))}function gn(){ln=[]}function mn(){var t=document.documentElement;sn={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},ha(11)}function bn(){sn=null}var yn=[],wn=null;function kn(t){void 0===t&&(t=null);var e=window,n=document.documentElement,a=t?da(t):n;if(a&&a.nodeType===Node.DOCUMENT_NODE){var r=Jt(a);e=r?r.contentWindow:e,a=n=a.documentElement}var i=a===n&&"pageXOffset"in e?Math.round(e.pageXOffset):Math.round(a.scrollLeft),o=a===n&&"pageYOffset"in e?Math.round(e.pageYOffset):Math.round(a.scrollTop),u={time:s(t),event:10,data:{target:a,x:i,y:o}};if((null!==t||0!==i||0!==o)&&null!==i&&null!==o){var c=yn.length,l=c>1?yn[c-2]:null;l&&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}(l,u)&&yn.pop(),yn.push(u),X(wn),wn=q(En,500,10)}}function En(t){he(ha.bind(this,t))}var On=null,xn=null,Sn=null;function Mn(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=On.start?On.start:null;null!==xn&&null!==On.start&&n!==e.anchorNode&&(X(Sn),Nn(21)),On={start:e.anchorNode,startOffset:e.anchorOffset,end:e.focusNode,endOffset:e.focusOffset},xn=e,X(Sn),Sn=q(Nn,500,21)}}function Nn(t){he(ha.bind(this,t))}function Tn(){xn=null,On={start:0,startOffset:0,end:0,endOffset:0}}var _n,In,Dn=[];function Cn(t){Dn.push({time:s(t),event:39,data:{target:da(t)}}),he(ha.bind(this,39))}function jn(){Dn=[]}function An(t){_n={name:t.type},ha(26,s(t)),mi()}function Ln(){_n=null}function zn(t){void 0===t&&(t=null),In={visible:"visibilityState"in document?document.visibilityState:"default"},ha(28,s(t))}function Rn(){In=null}function Hn(t){!function(t){var e=Jt(t);Xr(e?e.contentWindow:t===document?window:t,"scroll",kn,!0)}(t),t.nodeType===Node.DOCUMENT_NODE&&(Je(t),function(t){Xr(t,"cut",en.bind(this,0),!0),Xr(t,"copy",en.bind(this,1),!0),Xr(t,"paste",en.bind(this,2),!0)}(t),function(t){Xr(t,"mousedown",fn.bind(this,13,t),!0),Xr(t,"mouseup",fn.bind(this,14,t),!0),Xr(t,"mousemove",fn.bind(this,12,t),!0),Xr(t,"wheel",fn.bind(this,15,t),!0),Xr(t,"dblclick",fn.bind(this,16,t),!0),Xr(t,"touchstart",hn.bind(this,17,t),!0),Xr(t,"touchend",hn.bind(this,18,t),!0),Xr(t,"touchmove",hn.bind(this,19,t),!0),Xr(t,"touchcancel",hn.bind(this,20,t),!0)}(t),function(t){Xr(t,"input",on,!0)}(t),function(t){Xr(t,"selectstart",Mn.bind(this,t),!0),Xr(t,"selectionchange",Mn.bind(this,t),!0)}(t),function(t){Xr(t,"change",Pe,!0)}(t),function(t){Xr(t,"submit",Cn,!0)}(t))}var Wn=Object.freeze({__proto__:null,observe:Hn,start:function(){pa=[],ga(),$e(),nn(),gn(),cn(),Xr(window,"resize",mn),mn(),Xr(document,"visibilitychange",zn),zn(),yn=[],kn(),Tn(),Ue(),jn(),Xr(window,"pagehide",An)},stop:function(){pa=[],ga(),$e(),nn(),X(dn),ln.length>0&&vn(ln[ln.length-1].event),X(an),cn(),bn(),Rn(),X(wn),yn=[],Tn(),X(Sn),Ue(),jn(),Ln()}}),Yn=/[^0-9\.]/g;function qn(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":hr(5,t[a]),hr(8,t.creator),hr(18,t.headline);break;case"product":hr(5,t[a]),hr(10,t.name),hr(12,t.sku),t.brand&&hr(6,t.brand.name);break;case"aggregaterating":t.ratingValue&&(Y(11,Xn(t.ratingValue,100)),Y(18,Xn(t.bestRating)),Y(19,Xn(t.worstRating))),Y(12,Xn(t.ratingCount)),Y(17,Xn(t.reviewCount));break;case"person":hr(8,t.name);break;case"offer":hr(7,t.availability),hr(14,t.itemCondition),hr(13,t.priceCurrency),hr(12,t.sku),Y(13,Xn(t.price));break;case"brand":hr(6,t.name)}null!==r&&"object"==typeof r&&qn(r)}}function Xn(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(Yn,""))*e)}return null}var Pn=["title","alt","onload","onfocus","onerror","data-drupal-form-submit-last"],Un=/[\r\n]+/g;function Bn(t,e){var n,a=null;if(2===e&&!1===ee(t))return a;0!==e&&t.nodeType===Node.TEXT_NODE&&t.parentElement&&"STYLE"===t.parentElement.tagName&&(t=t.parentNode);var r=!1===ee(t)?"add":"update",i=t.parentElement?t.parentElement:null,o=t.ownerDocument!==document;switch(t.nodeType){case Node.DOCUMENT_TYPE_NODE:i=o&&t.parentNode?Jt(t.parentNode):i;var u=t,c={tag:(o?"iframe:":"")+"*D",attributes:{name:u.name,publicId:u.publicId,systemId:u.systemId}};ie[r](t,i,c,e);break;case Node.DOCUMENT_NODE:t===document&&Bt(document),Vn(t);break;case Node.DOCUMENT_FRAGMENT_NODE:var s=t;if(s.host)if(Bt(s),"function"===typeof s.constructor&&s.constructor.toString().indexOf("[native code]")>=0){Vn(s);for(var l="",d=0,f=("adoptedStyleSheets"in s?s.adoptedStyleSheets:[]);d<f.length;d++){l+=Jn(f[d])}var h={tag:"*S",attributes:{style:l}};ie[r](t,s.host,h,e)}else ie[r](t,s.host,{tag:"*P",attributes:{}},e);break;case Node.TEXT_NODE:if(i=i||t.parentNode,"update"===r||i&&ee(i)&&"STYLE"!==i.tagName){var p={tag:"*T",value:t.nodeValue};ie[r](t,i,p,e)}break;case Node.ELEMENT_NODE:var v=t,g=v.tagName,m=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;Pn.indexOf(r)<0&&(e[r]=n[a].value)}"INPUT"===t.tagName&&!("value"in e)&&t.value&&(e.value=t.value);return e}(v);switch(i=t.parentElement?t.parentElement:t.parentNode?t.parentNode:null,"http://www.w3.org/2000/svg"===v.namespaceURI&&(g="svg:"+g),g){case"HTML":i=o&&i?Jt(i):null;var b={tag:(o?"iframe:":"")+g,attributes:m};ie[r](t,i,b,e);break;case"SCRIPT":if("type"in m&&"application/ld+json"===m.type)try{qn(JSON.parse(v.text.replace(Un,"")))}catch(t){}break;case"NOSCRIPT":break;case"META":var y="property"in m?"property":"name"in m?"name":null;if(y&&"content"in m){var w=m.content;switch(m[y]){case"og:title":hr(20,w);break;case"og:type":hr(19,w);break;case"generator":hr(21,w)}}break;case"HEAD":var k={tag:g,attributes:m},E=o&&(null===(n=t.ownerDocument)||void 0===n?void 0:n.location)?t.ownerDocument.location:location;k.attributes["*B"]=E.protocol+"//"+E.host+E.pathname,ie[r](t,i,k,e);break;case"BASE":var O=$t(t.parentElement);if(O){var x=document.createElement("a");x.href=m.href,O.data.attributes["*B"]=x.protocol+"//"+x.host+x.pathname}break;case"STYLE":var S={tag:g,attributes:m,value:Fn(v)};ie[r](t,i,S,e);break;case"IFRAME":var M=t,N={tag:g,attributes:m};Ft(M)&&(!function(t){!1===ee(t)&&Xr(t,"load",la.bind(this,t,"childList"),!0)}(M),N.attributes["*O"]="true",M.contentDocument&&M.contentWindow&&"loading"!==M.contentDocument.readyState&&(a=M.contentDocument)),ie[r](t,i,N,e);break;default:var T={tag:g,attributes:m};v.shadowRoot&&(a=v.shadowRoot),ie[r](t,i,T,e)}}return a}function Vn(t){ee(t)||(!function(t){try{var e=u("MutationObserver"),n=e in window?new window[e](Yr(ia)):null;n&&(n.observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),Zn.push(n))}catch(t){Ya(2,0,t?t.name:null)}}(t),Hn(t))}function Fn(t){var e=t.textContent?t.textContent.trim():"",n=t.dataset?Object.keys(t.dataset).length:0;return(0===e.length||n>0)&&(e=Jn(t.sheet)),e}function Jn(t){var e="",n=null;try{n=t?t.cssRules:[]}catch(t){if(Ya(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 Gn(t,e,n){return at(this,void 0,void 0,(function(){var a,r,i,o,u;return rt(this,(function(c){switch(c.label){case 0:a=[t],c.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=ve(e))?[3,3]:[4,be(e)];case 2:o=c.sent(),c.label=3;case 3:return 2===o?[3,4]:((u=Bn(r,n))&&a.push(u),[3,1]);case 4:return[2]}}))}))}var Zn=[],Kn=[],Qn=null,$n=null,ta=null,ea=[],na=null,aa=null,ra={};function ia(t){var e=s();Z(6,e),Kn.push({time:e,mutations:t}),he(oa,1).then((function(){q(xe),Yr(Re)()}))}function oa(){return at(this,void 0,void 0,(function(){var t,e,n,a,r,i,o,u,c,l;return rt(this,(function(d){switch(d.label){case 0:ge(t={id:Er(),cost:3}),d.label=1;case 1:if(!(Kn.length>0))return[3,8];e=Kn.shift(),n=s(),a=0,r=e.mutations,d.label=2;case 2:return a<r.length?(i=r[a],0!==(o=ve(t))?[3,4]:[4,be(t)]):[3,6];case 3:o=d.sent(),d.label=4;case 4:if(2===o)return[3,6];switch(u=i.target,c=function(t,e,n){var a=t.target?$t(t.target.parentNode):null;if(a&&"HTML"!==a.data.tag){var r=s()>aa,i=$t(t.target),o=i&&i.selector?i.selector.join():t.target.nodeName,u=[a.selector?a.selector.join():"",o,t.attributeName,ua(t.addedNodes),ua(t.removedNodes)].join();ra[u]=u in ra?ra[u]:[0,n];var c=ra[u];if(!1===r&&c[0]>=10&&ca(c[2],2,e),c[0]=r?c[1]===n?c[0]:c[0]+1:1,c[1]=n,10===c[0])return c[2]=t.removedNodes,"suspend";if(c[0]>10)return""}return t.type}(i,t,n),c&&u&&u.ownerDocument&&Bt(u.ownerDocument),c&&u&&u.nodeType==Node.DOCUMENT_FRAGMENT_NODE&&u.host&&Bt(u),c){case"attributes":Bn(u,3);break;case"characterData":Bn(u,4);break;case"childList":ca(i.addedNodes,1,t),ca(i.removedNodes,2,t);break;case"suspend":(l=$t(u))&&(l.metadata.suspend=!0)}d.label=5;case 5:return a++,[3,2];case 6:return[4,Se(6,t,e.time)];case 7:return d.sent(),[3,1];case 8:return me(t),[2]}}))}))}function ua(t){for(var e=[],n=0;t&&n<t.length;n++)e.push(t[n].nodeName);return e.join()}function ca(t,e,n){return at(this,void 0,void 0,(function(){var a,r,i;return rt(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]:(Gn(t[r],n,e),[3,5]):[3,6];case 2:return 0!==(i=ve(n))?[3,4]:[4,be(n)];case 3:i=o.sent(),o.label=4;case 4:if(2===i)return[3,6];Bn(t[r],e),o.label=5;case 5:return r++,[3,1];case 6:return[2]}}))}))}function sa(t){return ea.indexOf(t)<0&&ea.push(t),na&&X(na),na=q((function(){!function(){for(var t=0,e=ea;t<e.length;t++){var n=e[t];if(n){var a=n.nodeType===Node.DOCUMENT_FRAGMENT_NODE;if(a&&ee(n))continue;la(n,a?"childList":"characterData")}}ea=[]}()}),33),t}function la(t,e){Yr(ia)([{addedNodes:[t],attributeName:null,attributeNamespace:null,nextSibling:null,oldValue:null,previousSibling:null,removedNodes:[],target:t,type:e}])}function da(t){var e=t.composed&&t.composedPath?t.composedPath():null,n=e&&e.length>0?e[0]:t.target;return aa=s()+3e3,n.nodeType===Node.DOCUMENT_NODE?n.documentElement:n}function fa(t,e,n){void 0===n&&(n=null);var a={id:0,hash:null,privacy:2,node:t};if(t){var r=$t(t);if(null!==r){var i=r.metadata;a.id=r.id,a.hash=r.hash,a.privacy=i.privacy,r.region&&function(t,e){var n=Qt(t),a=t in De?De[t]:{id:t,visibility:0,interaction:16,name:Ie.get(n)},r=16;switch(e){case 9:r=20;break;case 27:r=30}We(n,a,r,a.visibility)}(r.region,e),i.fraud&&Et(i.fraud,r.id,n||r.data.value)}}return a}function ha(t,e){return void 0===e&&(e=null),at(this,void 0,void 0,(function(){var n,a,r,i,o,u,c,l,d,f,h,p,v,g,y,w,k,E,O,x,S,M,N,_,D,C,j,A,L,z,R;return rt(this,(function(H){switch(n=e||s(),a=[n,t],t){case 13:case 14:case 12:case 15:case 16:case 17:case 18:case 19:case 20:for(r=0,i=ln;r<i.length;r++)z=i[r],(o=fa(z.data.target,z.event)).id>0&&((a=[z.time,z.event]).push(o.id),a.push(z.data.x),a.push(z.data.y),Ta(a),T(z.event,z.data.x,z.data.y));gn();break;case 9:for(u=0,c=Fe;u<c.length;u++)z=c[u],l=fa(z.data.target,z.event,z.data.text),a=[z.time,z.event],d=l.hash?l.hash.join("."):"",a.push(l.id),a.push(z.data.x),a.push(z.data.y),a.push(z.data.eX),a.push(z.data.eY),a.push(z.data.button),a.push(z.data.reaction),a.push(z.data.context),a.push(m(z.data.text,"click",l.privacy)),a.push(b(z.data.link)),a.push(d),a.push(z.data.trust),Ta(a),ma(z.time,z.event,d,z.data.x,z.data.y,z.data.reaction,z.data.context);$e();break;case 38:for(f=0,h=tn;f<h.length;f++)z=h[f],a=[z.time,z.event],(j=fa(z.data.target,z.event)).id>0&&(a.push(j.id),a.push(z.data.action),Ta(a));nn();break;case 11:p=sn,a.push(p.width),a.push(p.height),T(t,p.width,p.height),bn(),Ta(a);break;case 26:v=_n,a.push(v.name),Ln(),Ta(a);break;case 27:for(g=0,y=rn;g<y.length;g++)z=y[g],w=fa(z.data.target,z.event,z.data.value),(a=[z.time,z.event]).push(w.id),a.push(m(z.data.value,"input",w.privacy)),Ta(a);cn();break;case 21:(k=On)&&(E=fa(k.start,t),O=fa(k.end,t),a.push(E.id),a.push(k.startOffset),a.push(O.id),a.push(k.endOffset),Tn(),Ta(a));break;case 10:for(x=0,S=yn;x<S.length;x++)z=S[x],(M=fa(z.data.target,z.event)).id>0&&((a=[z.time,z.event]).push(M.id),a.push(z.data.x),a.push(z.data.y),Ta(a),T(z.event,z.data.x,z.data.y));yn=[];break;case 42:for(N=0,_=Xe;N<_.length;N++)z=_[N],a=[z.time,z.event],(j=fa(z.data.target,z.event)).id>0&&((a=[z.time,z.event]).push(j.id),a.push(z.data.type),a.push(m(z.data.value,"change",j.privacy)),a.push(m(z.data.checksum,"checksum",j.privacy)),Ta(a));Ue();break;case 39:for(D=0,C=Dn;D<C.length;D++)z=C[D],a=[z.time,z.event],(j=fa(z.data.target,z.event)).id>0&&(a.push(j.id),Ta(a));jn();break;case 22:for(A=0,L=va;A<L.length;A++)z=L[A],(a=[z.time,z.event]).push(z.data.type),a.push(z.data.hash),a.push(z.data.x),a.push(z.data.y),a.push(z.data.reaction),a.push(z.data.context),Ta(a,!1);ga();break;case 28:R=In,a.push(R.visible),Ta(a),I(n,R.visible),Rn()}return[2]}))}))}var pa=[],va=[];function ga(){va=[]}function ma(t,e,n,a,r,i,o){void 0===i&&(i=1),void 0===o&&(o=0),pa.push({time:t,event:22,data:{type:e,hash:n,x:a,y:r,reaction:i,context:o}}),T(e,a,r)}var ba,ya,wa,ka,Ea,Oa=0,xa=0,Sa=null,Ma=0;function Na(){ka=!0,Oa=0,xa=0,Ma=0,ba=[],ya=[],wa={},Ea=null}function Ta(t,e){if(void 0===e&&(e=!0),ka){var n=s(),a=t.length>1?t[1]:null,r=JSON.stringify(t);switch(a){case 5:Oa+=r.length;case 37:case 6:case 43:xa+=r.length,ba.push(r);break;default:ya.push(r)}H(25);var i=function(){var t=!1===o.lean&&Oa>0?100:Ar.sequence*o.delay;return"string"==typeof o.upload?Math.max(Math.min(t,3e4),100):o.delay}();n-Ma>2*i&&(X(Sa),Sa=null),e&&null===Sa&&(25!==a&&V(),Sa=q(Ia,i),Ma=n,ir(xa))}}function _a(){X(Sa),Ia(!0),Oa=0,xa=0,Ma=0,ba=[],ya=[],wa={},Ea=null,ka=!1}function Ia(t){return void 0===t&&(t=!1),at(this,void 0,void 0,(function(){var e,n,a,r,i,u,c,s;return rt(this,(function(l){switch(l.label){case 0:return Sa=null,(e=!1===o.lean&&xa>0&&(xa<1048576||Ar.sequence>0))&&Y(1,1),Re(),function(){var t=[];va=[];for(var e=Ar.start+Ar.duration,n=Math.max(e-2e3,0),a=0,r=pa;a<r.length;a++){var i=r[a];i.time>=n&&(i.time<=e&&va.push(i),t.push(i))}pa=t,ha(22)}(),yt(),n=!0===t,a=JSON.stringify(Rr(n)),r="[".concat(ya.join(),"]"),i=e?"[".concat(ba.join(),"]"):"",u=function(t){return t.p.length>0?'{"e":'.concat(t.e,',"a":').concat(t.a,',"p":').concat(t.p,"}"):'{"e":'.concat(t.e,',"a":').concat(t.a,"}")}({e:a,a:r,p:i}),n?(s=null,[3,3]):[3,1];case 1:return[4,pt(u)];case 2:s=l.sent(),l.label=3;case 3:return W(2,(c=s)?c.length:u.length),Da(u,c,Ar.sequence,n),ya=[],e&&(ba=[],xa=0,Oa=0),[2]}}))}))}function Da(t,e,n,a){if(void 0===a&&(a=!1),"string"==typeof o.upload){var r=o.upload,i=!1;if(a&&"sendBeacon"in navigator)try{(i=navigator.sendBeacon.bind(navigator)(r,t))&&ja(n)}catch(t){}if(!1===i){n in wa?wa[n].attempts++:wa[n]={data:t,attempts:1};var u=new XMLHttpRequest;u.open("POST",r,!0),u.timeout=15e3,u.ontimeout=function(){Wr(new Error("".concat("Timeout"," : ").concat(r)))},null!==n&&(u.onreadystatechange=function(){Yr(Ca)(u,n)}),u.withCredentials=!0,e?(u.setRequestHeader("Accept","application/x-clarity-gzip"),u.send(e)):u.send(t)}}else if(o.upload){(0,o.upload)(t),ja(n)}}function Ca(t,e){var n=wa[e];t&&4===t.readyState&&n&&((t.status<200||t.status>208)&&n.attempts<=1?t.status>=400&&t.status<500?or(6):(0===t.status&&(o.upload=o.fallback?o.fallback:o.upload),Da(n.data,null,e)):(Ea={sequence:e,attempts:n.attempts,status:t.status},n.attempts>1&&ar(2),200===t.status&&t.responseText&&function(t){for(var e=t&&t.length>0?t.split("\n"):[],n=0,a=e;n<a.length;n++){var r=a[n],i=r&&r.length>0?r.split(/ (.*)/):[""];switch(i[0]){case"END":or(6);break;case"UPGRADE":et("Auto");break;case"ACTION":o.action&&i.length>1&&o.action(i[1]);break;case"EXTRACT":i.length>1&&Ja(i[1])}}}(t.responseText),0===t.status&&(Da(n.data,null,e,!0),or(3)),t.status>=200&&t.status<=208&&ja(e),delete wa[e]))}function ja(t){1===t&&Sr()}var Aa,La={};function za(t){var e=t.error||t;return e.message in La||(La[e.message]=0),La[e.message]++>=5||e&&e.message&&(Aa={message:e.message,line:t.lineno,column:t.colno,stack:e.stack,source:t.filename},Ra(31)),!0}function Ra(t){return at(this,void 0,void 0,(function(){var e;return rt(this,(function(n){switch(e=[s(),t],t){case 31:e.push(Aa.message),e.push(Aa.line),e.push(Aa.column),e.push(Aa.stack),e.push(b(Aa.source)),Ta(e);break;case 33:Ha&&(e.push(Ha.code),e.push(Ha.name),e.push(Ha.message),e.push(Ha.stack),e.push(Ha.severity),Ta(e,!1));break;case 41:wt&&(e.push(wt.id),e.push(wt.target),e.push(wt.checksum),Ta(e,!1))}return[2]}))}))}var Ha,Wa={};function Ya(t,e,n,a,r){void 0===n&&(n=null),void 0===a&&(a=null),void 0===r&&(r=null);var i=n?"".concat(n,"|").concat(a):"";t in Wa&&Wa[t].indexOf(i)>=0||(Ha={code:t,name:n,message:a,stack:r,severity:e},t in Wa?Wa[t].push(i):Wa[t]=[i],Ra(33))}var qa,Xa={},Pa=new Set,Ua={},Ba={},Va={};function Fa(){Ka()}function Ja(t){try{var e=t&&t.length>0?t.split(/ (.*)/):[""],n=parseInt(e[0]),a=e.length>1?JSON.parse(e[1]):{};for(var r in Ua[n]={},Ba[n]={},Va[n]={},a){var i=parseInt(r),o=a[r],u=2;switch(o.startsWith("~")?u=0:o.startsWith("!")&&(u=4),u){case 0:var c=o.substring(1,o.length);Ua[n][i]=tr(c);break;case 2:Ba[n][i]=o;break;case 4:var s=o.substring(1,o.length);Va[n][i]=s}}}catch(t){Ya(8,1,t?t.name:null)}}function Ga(t){return JSON.parse(JSON.stringify(t))}function Za(){try{for(var t in Ua){var e=parseInt(t),n=Ua[e];for(var a in n){var r=parseInt(a),i=(h=er(Ga(n[r])))?JSON.stringify(h).substring(0,1e4):h;i&&Qa(e,r,i)}var o=Ba[e];for(var u in o){var c=parseInt(u),s=document.querySelectorAll(o[c]);if(s)Qa(e,c,Array.from(s).map((function(t){return t.textContent})).join("<SEP>").substring(0,1e4))}var l=Va[e];for(var d in l){var f=parseInt(d);Qa(e,f,Kt(l[f]).trim().substring(0,1e4))}}Pa.size>0&&ar(40)}catch(t){Ya(5,1,t?t.name:null)}var h}function Ka(){Pa.clear()}function Qa(t,e,n){var a,r=!1;t in Xa||(Xa[t]={},r=!0),a=Va[t],0==Object.keys(a).length||e in Xa[t]&&Xa[t][e]==n||(r=!0),Xa[t][e]=n,r&&Pa.add(t)}function $a(){Ka()}function tr(t){for(var e=[],n=t.split(".");n.length>0;){var a=n.shift(),r=a.indexOf("["),i=a.indexOf("{"),o=a.indexOf("}");e.push({name:r>0?a.substring(0,r):i>0?a.substring(0,i):a,type:r>0?1:i>0?2:3,condition:i>0?a.substring(i+1,o):null})}return e}function er(t,e){if(void 0===e&&(e=window),0==t.length)return e;var n,a=t.shift();if(e&&e[a.name]){var r=e[a.name];if(1!==a.type&&nr(r,a.condition))n=er(t,r);else if(Array.isArray(r)){for(var i=[],o=0,u=r;o<u.length;o++){var c=u[o];if(nr(c,a.condition)){var s=er(t,c);s&&i.push(s)}}n=i}return n}return null}function nr(t,e){if(e){var n=e.split(":");return n.length>1?t[n[0]]==n[1]:t[n[0]]}return!0}function ar(t){var e=[s(),t];switch(t){case 4:var n=x;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),Ta(e,!1)),N();break;case 25:e.push(L.gap),Ta(e);break;case 35:e.push(qa.check),Ta(e,!1);break;case 3:e.push(tt.key),Ta(e);break;case 2:e.push(Ea.sequence),e.push(Ea.attempts),e.push(Ea.status),Ta(e,!1);break;case 24:e.push(j.key),e.push(j.value),Ta(e);break;case 34:var a=Object.keys(it);if(a.length>0){for(var r=0,i=a;r<i.length;r++){var o=i[r];e.push(o),e.push(it[o])}lt(),Ta(e,!1)}break;case 0:var u=Object.keys(R);if(u.length>0){for(var c=0,l=u;c<l.length;c++){var d=l[c],f=parseInt(d,10);e.push(f),e.push(Math.round(R[d]))}R={},Ta(e,!1)}break;case 1:var h=Object.keys(lr);if(h.length>0){for(var p=0,v=h;p<v.length;p++){var g=v[p];f=parseInt(g,10);e.push(f),e.push(lr[g])}vr(),Ta(e,!1)}break;case 36:var m=Object.keys(G);if(m.length>0){for(var b=0,y=m;b<y.length;b++){var w=y[b];f=parseInt(w,10);e.push(f),e.push([].concat.apply([],G[w]))}Q(),Ta(e,!1)}break;case 40:Pa.forEach((function(t){e.push(t);var n=[];for(var a in Xa[t]){var r=parseInt(a,10);n.push(r),n.push(Xa[t][a])}e.push(n)})),Ka(),Ta(e,!1)}}function rr(){qa={check:0}}function ir(t){if(0===qa.check){var e=qa.check;e=Ar.sequence>=128?1:e,e=Ar.pageNum>=128?7:e,e=s()>72e5?2:e,(e=t>10485760?2:e)!==qa.check&&or(e)}}function or(t){qa.check=t,xr(),mi()}function ur(){0!==qa.check&&ar(35)}function cr(){qa=null}var sr=null,lr=null;function dr(){sr={},lr={}}function fr(){sr={},lr={}}function hr(t,e){e&&(e="".concat(e),t in sr||(sr[t]=[]),sr[t].indexOf(e)<0&&(sr[t].push(e),t in lr||(lr[t]=[]),lr[t].push(e),sr[t].length>128&&or(5)))}function pr(){ar(1)}function vr(){lr={}}var gr=null,mr=[],br=null;function yr(){br=null;var t,e=navigator&&"userAgent"in navigator?navigator.userAgent:"",n=document&&document.title?document.title:"",a=e.indexOf("Electron")>0?1:0,r=function(){var t={session:Tr(),ts:Math.round(Date.now()),count:1,upgrade:null,upload:""},e=Dr("_clsk");if(e){var n=e.split("|");n.length>=5&&t.ts-_r(n[1])<18e5&&(t.session=n[0],t.count=_r(n[2])+1,t.upgrade=_r(n[3]),t.upload=n.length>=6?"".concat("https://").concat(n[5],"/").concat(n[4]):"".concat("https://").concat(n[4]))}return t}(),i=Ir(),u=o.projectId||d(location.host);gr={projectId:u,userId:i.id,sessionId:r.session,pageNum:r.count},o.lean=o.track&&null!==r.upgrade?0===r.upgrade:o.lean,o.upload=o.track&&"string"==typeof o.upload&&r.upload&&r.upload.length>"https://".length?r.upload:o.upload,hr(0,e),hr(3,n),hr(1,b(location.href,!!a)),hr(2,document.referrer),hr(15,function(){var t=Tr();if(o.track&&Mr(window,"sessionStorage")){var e=sessionStorage.getItem("_cltk");t=e||t,sessionStorage.setItem("_cltk",t)}return t}()),hr(16,document.documentElement.lang),hr(17,document.dir),hr(26,"".concat(window.devicePixelRatio)),hr(28,i.dob.toString()),hr(29,i.version.toString()),Y(0,r.ts),Y(1,0),Y(35,a),navigator&&(hr(9,navigator.language),Y(33,navigator.hardwareConcurrency),Y(32,navigator.maxTouchPoints),Y(34,Math.round(navigator.deviceMemory)),(t=navigator.userAgentData)&&t.getHighEntropyValues?t.getHighEntropyValues(["model","platform","platformVersion","uaFullVersion"]).then((function(t){var e;hr(22,t.platform),hr(23,t.platformVersion),null===(e=t.brands)||void 0===e||e.forEach((function(t){hr(24,t.name+"~"+t.version)})),hr(25,t.model),Y(27,t.mobile?1:0)})):hr(22,navigator.platform)),screen&&(Y(14,Math.round(screen.width)),Y(15,Math.round(screen.height)),Y(16,Math.round(screen.colorDepth)));for(var c=0,s=o.cookies;c<s.length;c++){var l=s[c],f=Dr(l);f&&ot(l,f)}Nr(i)}function wr(){br=null,gr=null}function kr(t,e){void 0===e&&(e=!0);var n=o.lean?0:1;gr&&(n||!1===e)?t(gr,!o.lean):mr.push({callback:t,wait:e})}function Er(){return gr?[gr.userId,gr.sessionId,gr.pageNum].join("."):""}function Or(){ei()&&(o.track=!0,Nr(Ir(),1))}function xr(){Cr("_clsk","",0)}function Sr(){var t=Math.round(Date.now()),e=o.upload&&"string"==typeof o.upload?o.upload.replace("https://",""):"",n=o.lean?0:1;!function(t){mr.length>0&&mr.forEach((function(e){!e.callback||e.wait&&!t||e.callback(gr,!o.lean)}))}(n),Cr("_clsk",[gr.sessionId,t,gr.pageNum,n,e].join("|"),1)}function Mr(t,e){try{return!!t[e]}catch(t){return!1}}function Nr(t,e){void 0===e&&(e=null),e=null===e?t.consent:e;var n=Math.ceil((Date.now()+31536e6)/864e5),a=0===t.dob?null===o.dob?0:o.dob:t.dob;(null===t.expiry||Math.abs(n-t.expiry)>=1||t.consent!==e||t.dob!==a)&&Cr("_clck",[gr.userId,2,n.toString(36),e,a].join("|"),365)}function Tr(){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 _r(t,e){return void 0===e&&(e=10),parseInt(t,e)}function Ir(){var t={id:Tr(),version:0,expiry:null,consent:0,dob:0},e=Dr("_clck");if(e&&e.length>0){for(var n=e.split("|"),a=0,r=0,i=document.cookie.split(";");r<i.length;r++){a+="_clck"===i[r].split("=")[0].trim()?1:0}if(1===n.length||a>1){var u="".concat(";").concat("expires=").concat(new Date(0).toUTCString()).concat(";path=/");document.cookie="".concat("_clck","=").concat(u),document.cookie="".concat("_clsk","=").concat(u)}n.length>1&&(t.version=_r(n[1])),n.length>2&&(t.expiry=_r(n[2],36)),n.length>3&&1===_r(n[3])&&(t.consent=1),n.length>4&&_r(n[1])>1&&(t.dob=_r(n[4])),o.track=o.track||1===t.consent,t.id=o.track?n[0]:t.id}return t}function Dr(t){if(Mr(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 Cr(t,e,n){if(o.track&&(navigator&&navigator.cookieEnabled||Mr(document,"cookie"))){var a=new Date;a.setDate(a.getDate()+n);var r=a?"expires="+a.toUTCString():"",i="".concat(t,"=").concat(e).concat(";").concat(r).concat(";path=/");try{if(null===br){for(var u=location.hostname?location.hostname.split("."):[],c=u.length-1;c>=0;c--)if(br=".".concat(u[c]).concat(br||""),c<u.length-1&&(document.cookie="".concat(i).concat(";").concat("domain=").concat(br),Dr(t)===e))return;br=""}}catch(t){br=""}document.cookie=br?"".concat(i).concat(";").concat("domain=").concat(br):i}}var jr,Ar=null;function Lr(){var t=gr;Ar={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 zr(){Ar=null}function Rr(t){return Ar.start=Ar.start+Ar.duration,Ar.duration=s()-Ar.start,Ar.sequence++,Ar.upload=t&&"sendBeacon"in navigator?1:0,Ar.end=t?1:0,[Ar.version,Ar.sequence,Ar.start,Ar.duration,Ar.projectId,Ar.userId,Ar.sessionId,Ar.pageNum,Ar.upload,Ar.end]}function Hr(){jr=[]}function Wr(t){if(jr&&-1===jr.indexOf(t.message)){var e=o.report;if(e&&e.length>0){var n={v:Ar.version,p:Ar.projectId,u:Ar.userId,s:Ar.sessionId,n:Ar.pageNum};t.message&&(n.m=t.message),t.stack&&(n.e=t.stack);var a=new XMLHttpRequest;a.open("POST",e,!0),a.send(JSON.stringify(n)),jr.push(t.message)}}return t}function Yr(t){return function(){var e=performance.now();try{t.apply(this,arguments)}catch(t){throw Wr(t)}var n=performance.now()-e;W(4,n),n>30&&(H(7),Y(6,n))}}var qr=[];function Xr(t,e,n,a){void 0===a&&(a=!1),n=Yr(n);try{t[u("addEventListener")](e,n,a),qr.push({event:e,target:t,listener:n,capture:a})}catch(t){}}function Pr(){for(var t=0,e=qr;t<e.length;t++){var n=e[t];try{n.target[u("removeEventListener")](n.event,n.listener,n.capture)}catch(t){}}qr=[]}var Ur=null,Br=null,Vr=null,Fr=0;function Jr(){return!(Fr++>20)||(Ya(4,0),!1)}function Gr(){Fr=0,Vr!==Kr()&&(mi(),window.setTimeout(Zr,250))}function Zr(){gi(),Y(29,1)}function Kr(){return location.href?location.href.replace(location.hash,""):location.href}var Qr=!1;function $r(){Qr=!0,c=performance.now(),fe(),Pr(),Hr(),Vr=Kr(),Fr=0,Xr(window,"popstate",Gr),null===Ur&&(Ur=history.pushState,history.pushState=function(){Ur.apply(this,arguments),ei()&&Jr()&&Gr()}),null===Br&&(Br=history.replaceState,history.replaceState=function(){Br.apply(this,arguments),ei()&&Jr()&&Gr()})}function ti(){Vr=null,Fr=0,Hr(),Pr(),fe(),c=0,Qr=!1}function ei(){return Qr}function ni(t){if(null===t||Qr)return!1;for(var e in t)e in o&&(o[e]=t[e]);return!0}function ai(){gi(),A("clarity","restart")}var ri=Object.freeze({__proto__:null,start:function(){!function(){kt=[],Y(26,navigator.webdriver?1:0);try{Y(31,window.top==window.self?1:2)}catch(t){Y(31,0)}}(),Xr(window,"error",za),La={},Wa={}},stop:function(){Wa={}}});function ii(){return at(this,void 0,void 0,(function(){var t,e;return rt(this,(function(n){switch(n.label){case 0:return t=s(),ge(e={id:Er(),cost:3}),[4,Gn(document,e,0)];case 1:return n.sent(),[4,Se(5,e,t)];case 2:return n.sent(),me(e),[2]}}))}))}var oi=Object.freeze({__proto__:null,hashText:Kt,start:function(){Oe(),xe(),qe(),Ae=null,Ie=new WeakMap,De={},Ce=[],je=!!window.IntersectionObserver,Xt(),function(){if(Zn=[],ea=[],na=null,aa=0,ra={},null===Qn&&(Qn=CSSStyleSheet.prototype.insertRule,CSSStyleSheet.prototype.insertRule=function(){return ei()&&sa(this.ownerNode),Qn.apply(this,arguments)}),null===$n&&($n=CSSStyleSheet.prototype.deleteRule,CSSStyleSheet.prototype.deleteRule=function(){return ei()&&sa(this.ownerNode),$n.apply(this,arguments)}),null===ta){ta=Element.prototype.attachShadow;try{Element.prototype.attachShadow=function(){return ei()?sa(ta.apply(this,arguments)):ta.apply(this,arguments)}}catch(t){ta=null}}}(),he(ii,1).then((function(){Yr(xe)(),Yr(Re)()}))},stop:function(){qe(),Ie=null,De={},Ce=[],Ae&&(Ae.disconnect(),Ae=null),je=!1,Pt(),function(){for(var t=0,e=Zn;t<e.length;t++){var n=e[t];n&&n.disconnect()}Zn=[],ra={},Kn=[],ea=[],aa=0,na=null}(),Oe()}});var ui,ci=null;function si(){ci=null}function li(t){ci={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){at(this,void 0,void 0,(function(){var e,n;return rt(this,(function(a){return e=s(),n=[e,t],29===t&&(n.push(ci.fetchStart),n.push(ci.connectStart),n.push(ci.connectEnd),n.push(ci.requestStart),n.push(ci.responseStart),n.push(ci.responseEnd),n.push(ci.domInteractive),n.push(ci.domComplete),n.push(ci.loadEventStart),n.push(ci.loadEventEnd),n.push(ci.redirectCount),n.push(ci.size),n.push(ci.type),n.push(ci.protocol),n.push(ci.encodedSize),n.push(ci.decodedSize),si(),Ta(n)),[2]}))}))}(29)}var di=["navigation","resource","longtask","first-input","layout-shift","largest-contentful-paint"];function fi(){try{ui&&ui.disconnect(),ui=new PerformanceObserver(Yr(hi));for(var t=0,e=di;t<e.length;t++){var n=e[t];PerformanceObserver.supportedEntryTypes.indexOf(n)>=0&&("layout-shift"===n&&W(9,0),ui.observe({type:n,buffered:!0}))}}catch(t){Ya(3,1)}}function hi(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":li(a);break;case"resource":var r=a.name;hr(4,pi(r)),r!==o.upload&&r!==o.fallback||Y(28,a.duration);break;case"longtask":H(7);break;case"first-input":e&&Y(10,a.processingStart-a.startTime);break;case"layout-shift":e&&!a.hadRecentInput&&W(9,1e3*a.value);break;case"largest-contentful-paint":e&&Y(8,a.startTime)}}}(t.getEntries())}function pi(t){var e=document.createElement("a");return e.href=t,e.host}var vi=[ri,oi,Wn,Object.freeze({__proto__:null,start:function(){si(),function(){navigator&&"connection"in navigator&&hr(27,navigator.connection.effectiveType),window.PerformanceObserver&&PerformanceObserver.supportedEntryTypes?"complete"!==document.readyState?Xr(window,"load",q.bind(this,fi,0)):fi():Ya(3,0)}()},stop:function(){ui&&ui.disconnect(),ui=null,si()}})];function gi(t){void 0===t&&(t=null),function(){try{return!1===Qr&&"undefined"!=typeof Promise&&window.MutationObserver&&document.createTreeWalker&&"now"in Date&&"now"in performance&&"undefined"!=typeof WeakMap}catch(t){return!1}}()&&(ni(t),$r(),mt(),vi.forEach((function(t){return Yr(t.start)()})),null===t&&ki())}function mi(){ei()&&(vi.slice().reverse().forEach((function(t){return Yr(t.stop)()})),bt(),ti(),void 0!==yi&&(yi[wi]=function(){(yi[wi].q=yi[wi].q||[]).push(arguments),"start"===arguments[0]&&yi[wi].q.unshift(yi[wi].q.pop())&&ki()}))}var bi=Object.freeze({__proto__:null,consent:Or,event:A,hashText:Kt,identify:ut,metadata:kr,pause:function(){ei()&&(A("clarity","pause"),null===le&&(le=new Promise((function(t){de=t}))))},resume:function(){ei()&&(le&&(de(),le=null,null===se&&pe()),A("clarity","resume"))},set:ot,start:gi,stop:mi,upgrade:et,version:l}),yi=window,wi="clarity";function ki(){if(void 0!==yi){if(yi[wi]&&yi[wi].v)return console.warn("Error CL001: Multiple Clarity tags detected.");var t=yi[wi]&&yi[wi].q||[];for(yi[wi]=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return bi[t].apply(bi,e)},yi[wi].v=l;t.length>0;)yi[wi].apply(yi,t.shift())}}ki()}();
@@ -150,7 +150,7 @@ function stop$D() {
150
150
  startTime = 0;
151
151
  }
152
152
 
153
- var version$1 = "0.7.8";
153
+ var version$1 = "0.7.9";
154
154
 
155
155
  // tslint:disable: no-bitwise
156
156
  function hash (input, precision) {
@@ -4679,7 +4679,7 @@ function encode (type) {
4679
4679
  tokens.push(data.encodedSize);
4680
4680
  tokens.push(data.decodedSize);
4681
4681
  reset();
4682
- queue(tokens, false);
4682
+ queue(tokens);
4683
4683
  break;
4684
4684
  }
4685
4685
  return [2 /*return*/];
@@ -1 +1 @@
1
- !function(){"use strict";var t=Object.freeze({__proto__:null,get queue(){return ht},get start(){return ft},get stop(){return vt},get track(){return ct}}),n=Object.freeze({__proto__:null,get check(){return _t},get compute(){return Et},get data(){return it},get start(){return kt},get stop(){return It},get trigger(){return St}}),e=Object.freeze({__proto__:null,get compute(){return zt},get data(){return Mt},get log(){return jt},get reset(){return qt},get start(){return Ot},get stop(){return Tt},get updates(){return xt}}),r=Object.freeze({__proto__:null,get callbacks(){return At},get clear(){return Bt},get consent(){return Ut},get data(){return Ct},get id(){return Ht},get metadata(){return Dt},get save(){return Vt},get start(){return Rt},get stop(){return Pt}}),o=Object.freeze({__proto__:null,get data(){return Kt},get envelope(){return tn},get start(){return Qt},get stop(){return $t}}),a={projectId:null,delay:1e3,lean:!1,track:!0,content:!0,drop:[],mask:[],unmask:[],regions:[],cookies:[],fraud:!0,checksum:[],report:null,upload:null,fallback:null,upgrade:null,action:null,dob:null};function u(t){return window.Zone&&"__symbol__"in window.Zone?window.Zone.__symbol__(t):t}var c=0;function i(t){void 0===t&&(t=null);var n=t&&t.timeStamp>0?t.timeStamp:performance.now();return Math.max(Math.round(n-c),0)}var s="0.7.8";var l=!0,p=null,d=null;function f(t,n,e){return function(){if(l&&null===p)try{p=new RegExp("\\p{N}","gu"),d=new RegExp("\\p{L}","gu"),new RegExp("\\p{Sc}","gu")}catch(t){l=!1}}(),t?t.replace(d,n).replace(p,e):t}var h=[],v=null;function g(){}var m=[];function y(){}function b(){}var w=Object.freeze({__proto__:null,compute:function(){},data:v,hashText:y,keys:m,log:g,observe:function(){},reset:function(){},start:function(){},state:h,stop:function(){},trigger:b}),k=null;function _(t,n){Mn()&&t&&n&&"string"==typeof t&&"string"==typeof n&&t.length<255&&n.length<255&&(k={key:t,value:n},wt(24))}var S,E=null,I=null;function M(t){t in E||(E[t]=0),t in I||(I[t]=0),E[t]++,I[t]++}function x(t,n){null!==n&&(t in E||(E[t]=0),t in I||(I[t]=0),E[t]+=n,I[t]+=n)}function O(t,n){null!==n&&!1===isNaN(n)&&(t in E||(E[t]=0),(n>E[t]||0===E[t])&&(I[t]=n,E[t]=n))}function T(t,n,e){return window.setTimeout(rn(t),n,e)}function j(t){return window.clearTimeout(t)}var z=0,q=0,C=null;function A(){C&&j(C),C=T(N,q),z=i()}function N(){var t=i();S={gap:t-z},wt(25),S.gap<3e5?C=T(N,q):Sn&&(_("clarity","suspend"),Hn(),["mousemove","touchstart"].forEach((function(t){return an(document,t,On)})),["resize","scroll","pageshow"].forEach((function(t){return an(window,t,On)})))}var R=Object.freeze({__proto__:null,get data(){return S},reset:A,start:function(){q=6e4,z=0},stop:function(){j(C),z=0,q=0}}),P=null;function D(t){Mn()&&a.lean&&(a.lean=!1,P={key:t},Vt(),a.upgrade&&a.upgrade(t),wt(3))}var H=Object.freeze({__proto__:null,get data(){return P},start:function(){!a.lean&&a.upgrade&&a.upgrade("Config"),P=null},stop:function(){P=null},upgrade:D});function U(t,n,e,r){return new(e||(e=Promise))((function(o,a){function u(t){try{i(r.next(t))}catch(t){a(t)}}function c(t){try{i(r.throw(t))}catch(t){a(t)}}function i(t){var n;t.done?o(t.value):(n=t.value,n instanceof e?n:new e((function(t){t(n)}))).then(u,c)}i((r=r.apply(t,n||[])).next())}))}function B(t,n){var e,r,o,a,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function c(c){return function(i){return function(c){if(e)throw new TypeError("Generator is already executing.");for(;a&&(a=0,c[0]&&(u=0)),u;)try{if(e=1,r&&(o=2&c[0]?r.return:c[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;switch(r=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return u.label++,{value:c[1],done:!1};case 5:u.label++,r=c[1],c=[0];continue;case 7:c=u.ops.pop(),u.trys.pop();continue;default:if(!(o=u.trys,(o=o.length>0&&o[o.length-1])||6!==c[0]&&2!==c[0])){u=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]<o[3])){u.label=c[1];break}if(6===c[0]&&u.label<o[1]){u.label=o[1],o=c;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(c);break}o[2]&&u.ops.pop(),u.trys.pop();continue}c=n.call(t,u)}catch(t){c=[6,t],r=0}finally{e=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([c,i])}}}var V=null;function L(t,n){W(t,"string"==typeof n?[n]:n)}function X(t,n,e,r){return void 0===n&&(n=null),void 0===e&&(e=null),void 0===r&&(r=null),U(this,void 0,void 0,(function(){var o,a;return B(this,(function(u){switch(u.label){case 0:return a={},[4,G(t)];case 1:return a.userId=u.sent(),a.userHint=r||((c=t)&&c.length>=5?"".concat(c.substring(0,2)).concat(f(c.substring(2),"*","*")):f(c,"*","*")),W("userId",[(o=a).userId]),W("userHint",[o.userHint]),W("userType",[Y(t)]),n&&(W("sessionId",[n]),o.sessionId=n),e&&(W("pageId",[e]),o.pageId=e),[2,o]}var c}))}))}function W(t,n){if(Mn()&&t&&n&&"string"==typeof t&&t.length<255){for(var e=(t in V?V[t]:[]),r=0;r<n.length;r++)"string"==typeof n[r]&&n[r].length<255&&e.push(n[r]);V[t]=e}}function J(){wt(34)}function Z(){V={}}function G(t){return U(this,void 0,void 0,(function(){var n;return B(this,(function(e){switch(e.label){case 0:return e.trys.push([0,4,,5]),crypto&&t?[4,crypto.subtle.digest("SHA-256",(new TextEncoder).encode(t))]:[3,2];case 1:return n=e.sent(),[2,Array.prototype.map.call(new Uint8Array(n),(function(t){return("00"+t.toString(16)).slice(-2)})).join("")];case 2:return[2,""];case 3:return[3,5];case 4:return e.sent(),[2,""];case 5:return[2]}}))}))}function Y(t){return t&&t.indexOf("@")>0?"email":"string"}var F="CompressionStream"in window;function K(t){return U(this,void 0,void 0,(function(){var n,e;return B(this,(function(r){switch(r.label){case 0:return r.trys.push([0,3,,4]),F?(n=new ReadableStream({start:function(n){return U(this,void 0,void 0,(function(){return B(this,(function(e){return n.enqueue(t),n.close(),[2]}))}))}}).pipeThrough(new TextEncoderStream).pipeThrough(new window.CompressionStream("gzip")),e=Uint8Array.bind,[4,Q(n)]):[3,2];case 1:return[2,new(e.apply(Uint8Array,[void 0,r.sent()]))];case 2:return[3,4];case 3:return r.sent(),[3,4];case 4:return[2,null]}}))}))}function Q(t){return U(this,void 0,void 0,(function(){var n,e,r,o,a;return B(this,(function(u){switch(u.label){case 0:n=t.getReader(),e=[],r=!1,o=[],u.label=1;case 1:return r?[3,3]:[4,n.read()];case 2:return a=u.sent(),r=a.done,o=a.value,r?[2,e]:(e.push.apply(e,o),[3,1]);case 3:return[2,e]}}))}))}var $=[w,e,Object.freeze({__proto__:null,compute:J,get data(){return V},identify:X,reset:Z,set:L,start:function(){Z()},stop:function(){Z()}}),n,w,r,o,t,R,H,w];function tt(){E={},I={},M(5),$.forEach((function(t){return rn(t.start)()}))}function nt(){$.slice().reverse().forEach((function(t){return rn(t.stop)()})),E={},I={}}function et(){J(),zt(),wt(0),Et()}var rt,ot,at,ut,ct,it,st=0,lt=0,pt=null,dt=0;function ft(){ut=!0,st=0,lt=0,dt=0,rt=[],ot=[],at={},ct=null}function ht(t,n){if(void 0===n&&(n=!0),ut){var e=i(),r=t.length>1?t[1]:null,o=JSON.stringify(t);switch(r){case 5:st+=o.length;case 37:case 6:case 43:lt+=o.length,rt.push(o);break;default:ot.push(o)}M(25);var u=function(){var t=!1===a.lean&&st>0?100:Kt.sequence*a.delay;return"string"==typeof a.upload?Math.max(Math.min(t,3e4),100):a.delay}();e-dt>2*u&&(j(pt),pt=null),n&&null===pt&&(25!==r&&A(),pt=T(gt,u),dt=e,_t(lt))}}function vt(){j(pt),gt(!0),st=0,lt=0,dt=0,rt=[],ot=[],at={},ct=null,ut=!1}function gt(t){return void 0===t&&(t=!1),U(this,void 0,void 0,(function(){var n,e,r,o,u,c,i,s;return B(this,(function(l){switch(l.label){case 0:return pt=null,(n=!1===a.lean&&lt>0&&(lt<1048576||Kt.sequence>0))&&O(1,1),et(),e=!0===t,r=JSON.stringify(tn(e)),o="[".concat(ot.join(),"]"),u=n?"[".concat(rt.join(),"]"):"",c=function(t){return t.p.length>0?'{"e":'.concat(t.e,',"a":').concat(t.a,',"p":').concat(t.p,"}"):'{"e":'.concat(t.e,',"a":').concat(t.a,"}")}({e:r,a:o,p:u}),e?(s=null,[3,3]):[3,1];case 1:return[4,K(c)];case 2:s=l.sent(),l.label=3;case 3:return x(2,(i=s)?i.length:c.length),mt(c,i,Kt.sequence,e),ot=[],n&&(rt=[],lt=0,st=0),[2]}}))}))}function mt(t,n,e,r){if(void 0===r&&(r=!1),"string"==typeof a.upload){var o=a.upload,u=!1;if(r&&"sendBeacon"in navigator)try{(u=navigator.sendBeacon.bind(navigator)(o,t))&&bt(e)}catch(t){}if(!1===u){e in at?at[e].attempts++:at[e]={data:t,attempts:1};var c=new XMLHttpRequest;c.open("POST",o,!0),c.timeout=15e3,c.ontimeout=function(){en(new Error("".concat("Timeout"," : ").concat(o)))},null!==e&&(c.onreadystatechange=function(){rn(yt)(c,e)}),c.withCredentials=!0,n?(c.setRequestHeader("Accept","application/x-clarity-gzip"),c.send(n)):c.send(t)}}else if(a.upload){(0,a.upload)(t),bt(e)}}function yt(t,n){var e=at[n];t&&4===t.readyState&&e&&((t.status<200||t.status>208)&&e.attempts<=1?t.status>=400&&t.status<500?St(6):(0===t.status&&(a.upload=a.fallback?a.fallback:a.upload),mt(e.data,null,n)):(ct={sequence:n,attempts:e.attempts,status:t.status},e.attempts>1&&wt(2),200===t.status&&t.responseText&&function(t){for(var n=t&&t.length>0?t.split("\n"):[],e=0,r=n;e<r.length;e++){var o=r[e],u=o&&o.length>0?o.split(/ (.*)/):[""];switch(u[0]){case"END":St(6);break;case"UPGRADE":D("Auto");break;case"ACTION":a.action&&u.length>1&&a.action(u[1]);break;case"EXTRACT":u.length>1&&u[1]}}}(t.responseText),0===t.status&&(mt(e.data,null,n,!0),St(3)),t.status>=200&&t.status<=208&&bt(n),delete at[n]))}function bt(t){1===t&&Vt()}function wt(t){var n=[i(),t];switch(t){case 4:var e=h;e&&((n=[e.time,e.event]).push(e.data.visible),n.push(e.data.docWidth),n.push(e.data.docHeight),n.push(e.data.screenWidth),n.push(e.data.screenHeight),n.push(e.data.scrollX),n.push(e.data.scrollY),n.push(e.data.pointerX),n.push(e.data.pointerY),n.push(e.data.activityTime),ht(n,!1));break;case 25:n.push(S.gap),ht(n);break;case 35:n.push(it.check),ht(n,!1);break;case 3:n.push(P.key),ht(n);break;case 2:n.push(ct.sequence),n.push(ct.attempts),n.push(ct.status),ht(n,!1);break;case 24:n.push(k.key),n.push(k.value),ht(n);break;case 34:var r=Object.keys(V);if(r.length>0){for(var o=0,a=r;o<a.length;o++){var u=a[o];n.push(u),n.push(V[u])}Z(),ht(n,!1)}break;case 0:var c=Object.keys(I);if(c.length>0){for(var s=0,l=c;s<l.length;s++){var p=l[s],d=parseInt(p,10);n.push(d),n.push(Math.round(I[p]))}I={},ht(n,!1)}break;case 1:var f=Object.keys(xt);if(f.length>0){for(var g=0,y=f;g<y.length;g++){var b=y[g];d=parseInt(b,10);n.push(d),n.push(xt[b])}qt(),ht(n,!1)}break;case 36:var w=Object.keys(v);if(w.length>0){for(var _=0,E=w;_<E.length;_++){var M=E[_];d=parseInt(M,10);n.push(d),n.push([].concat.apply([],v[M]))}ht(n,!1)}break;case 40:m.forEach((function(t){n.push(t);var e=[];for(var r in v[t]){var o=parseInt(r,10);e.push(o),e.push(v[t][r])}n.push(e)})),ht(n,!1)}}function kt(){it={check:0}}function _t(t){if(0===it.check){var n=it.check;n=Kt.sequence>=128?1:n,n=Kt.pageNum>=128?7:n,n=i()>72e5?2:n,(n=t>10485760?2:n)!==it.check&&St(n)}}function St(t){it.check=t,Bt(),Hn()}function Et(){0!==it.check&&wt(35)}function It(){it=null}var Mt=null,xt=null;function Ot(){Mt={},xt={}}function Tt(){Mt={},xt={}}function jt(t,n){n&&(n="".concat(n),t in Mt||(Mt[t]=[]),Mt[t].indexOf(n)<0&&(Mt[t].push(n),t in xt||(xt[t]=[]),xt[t].push(n),Mt[t].length>128&&St(5)))}function zt(){wt(1)}function qt(){xt={}}var Ct=null,At=[],Nt=null;function Rt(){Nt=null;var t,n=navigator&&"userAgent"in navigator?navigator.userAgent:"",e=document&&document.title?document.title:"",r=n.indexOf("Electron")>0?1:0,o=function(){var t={session:Wt(),ts:Math.round(Date.now()),count:1,upgrade:null,upload:""},n=Gt("_clsk");if(n){var e=n.split("|");e.length>=5&&t.ts-Jt(e[1])<18e5&&(t.session=e[0],t.count=Jt(e[2])+1,t.upgrade=Jt(e[3]),t.upload=e.length>=6?"".concat("https://").concat(e[5],"/").concat(e[4]):"".concat("https://").concat(e[4]))}return t}(),u=Zt(),c=a.projectId||function(t,n){void 0===n&&(n=null);for(var e,r=5381,o=r,a=0;a<t.length;a+=2)r=(r<<5)+r^t.charCodeAt(a),a+1<t.length&&(o=(o<<5)+o^t.charCodeAt(a+1));return e=Math.abs(r+11579*o),(n?e%Math.pow(2,n):e).toString(36)}(location.host);Ct={projectId:c,userId:u.id,sessionId:o.session,pageNum:o.count},a.lean=a.track&&null!==o.upgrade?0===o.upgrade:a.lean,a.upload=a.track&&"string"==typeof a.upload&&o.upload&&o.upload.length>"https://".length?o.upload:a.upload,jt(0,n),jt(3,e),jt(1,function(t,n){if(void 0===n&&(n=!1),n)return"".concat("https://").concat("Electron");var e=a.drop;if(e&&e.length>0&&t&&t.indexOf("?")>0){var r=t.split("?");return r[0]+"?"+r[1].split("&").map((function(t){return e.some((function(n){return 0===t.indexOf("".concat(n,"="))}))?"".concat(t.split("=")[0],"=").concat("*na*"):t})).join("&")}return t}(location.href,!!r)),jt(2,document.referrer),jt(15,function(){var t=Wt();if(a.track&&Lt(window,"sessionStorage")){var n=sessionStorage.getItem("_cltk");t=n||t,sessionStorage.setItem("_cltk",t)}return t}()),jt(16,document.documentElement.lang),jt(17,document.dir),jt(26,"".concat(window.devicePixelRatio)),jt(28,u.dob.toString()),jt(29,u.version.toString()),O(0,o.ts),O(1,0),O(35,r),navigator&&(jt(9,navigator.language),O(33,navigator.hardwareConcurrency),O(32,navigator.maxTouchPoints),O(34,Math.round(navigator.deviceMemory)),(t=navigator.userAgentData)&&t.getHighEntropyValues?t.getHighEntropyValues(["model","platform","platformVersion","uaFullVersion"]).then((function(t){var n;jt(22,t.platform),jt(23,t.platformVersion),null===(n=t.brands)||void 0===n||n.forEach((function(t){jt(24,t.name+"~"+t.version)})),jt(25,t.model),O(27,t.mobile?1:0)})):jt(22,navigator.platform)),screen&&(O(14,Math.round(screen.width)),O(15,Math.round(screen.height)),O(16,Math.round(screen.colorDepth)));for(var i=0,s=a.cookies;i<s.length;i++){var l=s[i],p=Gt(l);p&&L(l,p)}Xt(u)}function Pt(){Nt=null,Ct=null}function Dt(t,n){void 0===n&&(n=!0);var e=a.lean?0:1;Ct&&(e||!1===n)?t(Ct,!a.lean):At.push({callback:t,wait:n})}function Ht(){return Ct?[Ct.userId,Ct.sessionId,Ct.pageNum].join("."):""}function Ut(){Mn()&&(a.track=!0,Xt(Zt(),1))}function Bt(){Yt("_clsk","",0)}function Vt(){var t=Math.round(Date.now()),n=a.upload&&"string"==typeof a.upload?a.upload.replace("https://",""):"",e=a.lean?0:1;!function(t){At.length>0&&At.forEach((function(n){!n.callback||n.wait&&!t||n.callback(Ct,!a.lean)}))}(e),Yt("_clsk",[Ct.sessionId,t,Ct.pageNum,e,n].join("|"),1)}function Lt(t,n){try{return!!t[n]}catch(t){return!1}}function Xt(t,n){void 0===n&&(n=null),n=null===n?t.consent:n;var e=Math.ceil((Date.now()+31536e6)/864e5),r=0===t.dob?null===a.dob?0:a.dob:t.dob;(null===t.expiry||Math.abs(e-t.expiry)>=1||t.consent!==n||t.dob!==r)&&Yt("_clck",[Ct.userId,2,e.toString(36),n,r].join("|"),365)}function Wt(){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 Jt(t,n){return void 0===n&&(n=10),parseInt(t,n)}function Zt(){var t={id:Wt(),version:0,expiry:null,consent:0,dob:0},n=Gt("_clck");if(n&&n.length>0){for(var e=n.split("|"),r=0,o=0,u=document.cookie.split(";");o<u.length;o++){r+="_clck"===u[o].split("=")[0].trim()?1:0}if(1===e.length||r>1){var c="".concat(";").concat("expires=").concat(new Date(0).toUTCString()).concat(";path=/");document.cookie="".concat("_clck","=").concat(c),document.cookie="".concat("_clsk","=").concat(c)}e.length>1&&(t.version=Jt(e[1])),e.length>2&&(t.expiry=Jt(e[2],36)),e.length>3&&1===Jt(e[3])&&(t.consent=1),e.length>4&&Jt(e[1])>1&&(t.dob=Jt(e[4])),a.track=a.track||1===t.consent,t.id=a.track?e[0]:t.id}return t}function Gt(t){if(Lt(document,"cookie")){var n=document.cookie.split(";");if(n)for(var e=0;e<n.length;e++){var r=n[e].split("=");if(r.length>1&&r[0]&&r[0].trim()===t)return r[1]}}return null}function Yt(t,n,e){if(a.track&&(navigator&&navigator.cookieEnabled||Lt(document,"cookie"))){var r=new Date;r.setDate(r.getDate()+e);var o=r?"expires="+r.toUTCString():"",u="".concat(t,"=").concat(n).concat(";").concat(o).concat(";path=/");try{if(null===Nt){for(var c=location.hostname?location.hostname.split("."):[],i=c.length-1;i>=0;i--)if(Nt=".".concat(c[i]).concat(Nt||""),i<c.length-1&&(document.cookie="".concat(u).concat(";").concat("domain=").concat(Nt),Gt(t)===n))return;Nt=""}}catch(t){Nt=""}document.cookie=Nt?"".concat(u).concat(";").concat("domain=").concat(Nt):u}}var Ft,Kt=null;function Qt(){var t=Ct;Kt={version:s,sequence:0,start:0,duration:0,projectId:t.projectId,userId:t.userId,sessionId:t.sessionId,pageNum:t.pageNum,upload:0,end:0}}function $t(){Kt=null}function tn(t){return Kt.start=Kt.start+Kt.duration,Kt.duration=i()-Kt.start,Kt.sequence++,Kt.upload=t&&"sendBeacon"in navigator?1:0,Kt.end=t?1:0,[Kt.version,Kt.sequence,Kt.start,Kt.duration,Kt.projectId,Kt.userId,Kt.sessionId,Kt.pageNum,Kt.upload,Kt.end]}function nn(){Ft=[]}function en(t){if(Ft&&-1===Ft.indexOf(t.message)){var n=a.report;if(n&&n.length>0){var e={v:Kt.version,p:Kt.projectId,u:Kt.userId,s:Kt.sessionId,n:Kt.pageNum};t.message&&(e.m=t.message),t.stack&&(e.e=t.stack);var r=new XMLHttpRequest;r.open("POST",n,!0),r.send(JSON.stringify(e)),Ft.push(t.message)}}return t}function rn(t){return function(){var n=performance.now();try{t.apply(this,arguments)}catch(t){throw en(t)}var e=performance.now()-n;x(4,e),e>30&&(M(7),O(6,e))}}var on=[];function an(t,n,e,r){void 0===r&&(r=!1),e=rn(e);try{t[u("addEventListener")](n,e,r),on.push({event:n,target:t,listener:e,capture:r})}catch(t){}}function un(){for(var t=0,n=on;t<n.length;t++){var e=n[t];try{e.target[u("removeEventListener")](e.event,e.listener,e.capture)}catch(t){}}on=[]}var cn=null,sn=null,ln=null,pn=0;function dn(){return!(pn++>20)}function fn(){pn=0,ln!==vn()&&(Hn(),window.setTimeout(hn,250))}function hn(){Dn(),O(29,1)}function vn(){return location.href?location.href.replace(location.hash,""):location.href}var gn=[],mn=null,yn=null,bn=null;function wn(){yn&&(bn(),yn=null,null===mn&&_n())}function kn(){gn=[],mn=null,yn=null}function _n(){var t=gn.shift();t&&(mn=t,t.task().then((function(){t.id===Ht()&&(t.resolve(),mn=null,_n())})).catch((function(n){t.id===Ht()&&(n&&(n.name,n.message,n.stack),mn=null,_n())})))}var Sn=!1;function En(){Sn=!0,c=performance.now(),kn(),un(),nn(),ln=vn(),pn=0,an(window,"popstate",fn),null===cn&&(cn=history.pushState,history.pushState=function(){cn.apply(this,arguments),Mn()&&dn()&&fn()}),null===sn&&(sn=history.replaceState,history.replaceState=function(){sn.apply(this,arguments),Mn()&&dn()&&fn()})}function In(){ln=null,pn=0,nn(),un(),kn(),c=0,Sn=!1}function Mn(){return Sn}function xn(t){if(null===t||Sn)return!1;for(var n in t)n in a&&(a[n]=t[n]);return!0}function On(){Dn(),_("clarity","restart")}var Tn,jn=null;function zn(){jn=null}function qn(t){jn={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){U(this,void 0,void 0,(function(){var n,e;return B(this,(function(r){return n=i(),e=[n,t],29===t&&(e.push(jn.fetchStart),e.push(jn.connectStart),e.push(jn.connectEnd),e.push(jn.requestStart),e.push(jn.responseStart),e.push(jn.responseEnd),e.push(jn.domInteractive),e.push(jn.domComplete),e.push(jn.loadEventStart),e.push(jn.loadEventEnd),e.push(jn.redirectCount),e.push(jn.size),e.push(jn.type),e.push(jn.protocol),e.push(jn.encodedSize),e.push(jn.decodedSize),zn(),ht(e,!1)),[2]}))}))}(29)}var Cn=["navigation","resource","longtask","first-input","layout-shift","largest-contentful-paint"];function An(){try{Tn&&Tn.disconnect(),Tn=new PerformanceObserver(rn(Nn));for(var t=0,n=Cn;t<n.length;t++){var e=n[t];PerformanceObserver.supportedEntryTypes.indexOf(e)>=0&&("layout-shift"===e&&x(9,0),Tn.observe({type:e,buffered:!0}))}}catch(t){}}function Nn(t){!function(t){for(var n=(!("visibilityState"in document)||"visible"===document.visibilityState),e=0;e<t.length;e++){var r=t[e];switch(r.entryType){case"navigation":qn(r);break;case"resource":var o=r.name;jt(4,Rn(o)),o!==a.upload&&o!==a.fallback||O(28,r.duration);break;case"longtask":M(7);break;case"first-input":n&&O(10,r.processingStart-r.startTime);break;case"layout-shift":n&&!r.hadRecentInput&&x(9,1e3*r.value);break;case"largest-contentful-paint":n&&O(8,r.startTime)}}}(t.getEntries())}function Rn(t){var n=document.createElement("a");return n.href=t,n.host}var Pn=[w,w,w,Object.freeze({__proto__:null,start:function(){zn(),function(){navigator&&"connection"in navigator&&jt(27,navigator.connection.effectiveType),window.PerformanceObserver&&PerformanceObserver.supportedEntryTypes&&("complete"!==document.readyState?an(window,"load",T.bind(this,An,0)):An())}()},stop:function(){Tn&&Tn.disconnect(),Tn=null,zn()}})];function Dn(t){void 0===t&&(t=null),function(){try{return!1===Sn&&"undefined"!=typeof Promise&&window.MutationObserver&&document.createTreeWalker&&"now"in Date&&"now"in performance&&"undefined"!=typeof WeakMap}catch(t){return!1}}()&&(xn(t),En(),tt(),Pn.forEach((function(t){return rn(t.start)()})),null===t&&Ln())}function Hn(){Mn()&&(Pn.slice().reverse().forEach((function(t){return rn(t.stop)()})),nt(),In(),void 0!==Bn&&(Bn[Vn]=function(){(Bn[Vn].q=Bn[Vn].q||[]).push(arguments),"start"===arguments[0]&&Bn[Vn].q.unshift(Bn[Vn].q.pop())&&Ln()}))}var Un=Object.freeze({__proto__:null,consent:Ut,event:_,hashText:y,identify:X,metadata:Dt,pause:function(){Mn()&&(_("clarity","pause"),null===yn&&(yn=new Promise((function(t){bn=t}))))},resume:function(){Mn()&&(wn(),_("clarity","resume"))},set:L,start:Dn,stop:Hn,upgrade:D,version:s}),Bn=window,Vn="clarity";function Ln(){if(void 0!==Bn){if(Bn[Vn]&&Bn[Vn].v)return console.warn("Error CL001: Multiple Clarity tags detected.");var t=Bn[Vn]&&Bn[Vn].q||[];for(Bn[Vn]=function(t){for(var n=[],e=1;e<arguments.length;e++)n[e-1]=arguments[e];return Un[t].apply(Un,n)},Bn[Vn].v=s;t.length>0;)Bn[Vn].apply(Bn,t.shift())}}Ln()}();
1
+ !function(){"use strict";var t=Object.freeze({__proto__:null,get queue(){return ht},get start(){return ft},get stop(){return vt},get track(){return ct}}),n=Object.freeze({__proto__:null,get check(){return _t},get compute(){return Et},get data(){return it},get start(){return kt},get stop(){return It},get trigger(){return St}}),e=Object.freeze({__proto__:null,get compute(){return zt},get data(){return Mt},get log(){return jt},get reset(){return qt},get start(){return Ot},get stop(){return Tt},get updates(){return xt}}),r=Object.freeze({__proto__:null,get callbacks(){return At},get clear(){return Bt},get consent(){return Ut},get data(){return Ct},get id(){return Ht},get metadata(){return Dt},get save(){return Vt},get start(){return Rt},get stop(){return Pt}}),o=Object.freeze({__proto__:null,get data(){return Kt},get envelope(){return tn},get start(){return Qt},get stop(){return $t}}),a={projectId:null,delay:1e3,lean:!1,track:!0,content:!0,drop:[],mask:[],unmask:[],regions:[],cookies:[],fraud:!0,checksum:[],report:null,upload:null,fallback:null,upgrade:null,action:null,dob:null};function u(t){return window.Zone&&"__symbol__"in window.Zone?window.Zone.__symbol__(t):t}var c=0;function i(t){void 0===t&&(t=null);var n=t&&t.timeStamp>0?t.timeStamp:performance.now();return Math.max(Math.round(n-c),0)}var s="0.7.9";var l=!0,p=null,d=null;function f(t,n,e){return function(){if(l&&null===p)try{p=new RegExp("\\p{N}","gu"),d=new RegExp("\\p{L}","gu"),new RegExp("\\p{Sc}","gu")}catch(t){l=!1}}(),t?t.replace(d,n).replace(p,e):t}var h=[],v=null;function g(){}var m=[];function y(){}function b(){}var w=Object.freeze({__proto__:null,compute:function(){},data:v,hashText:y,keys:m,log:g,observe:function(){},reset:function(){},start:function(){},state:h,stop:function(){},trigger:b}),k=null;function _(t,n){Mn()&&t&&n&&"string"==typeof t&&"string"==typeof n&&t.length<255&&n.length<255&&(k={key:t,value:n},wt(24))}var S,E=null,I=null;function M(t){t in E||(E[t]=0),t in I||(I[t]=0),E[t]++,I[t]++}function x(t,n){null!==n&&(t in E||(E[t]=0),t in I||(I[t]=0),E[t]+=n,I[t]+=n)}function O(t,n){null!==n&&!1===isNaN(n)&&(t in E||(E[t]=0),(n>E[t]||0===E[t])&&(I[t]=n,E[t]=n))}function T(t,n,e){return window.setTimeout(rn(t),n,e)}function j(t){return window.clearTimeout(t)}var z=0,q=0,C=null;function A(){C&&j(C),C=T(N,q),z=i()}function N(){var t=i();S={gap:t-z},wt(25),S.gap<3e5?C=T(N,q):Sn&&(_("clarity","suspend"),Hn(),["mousemove","touchstart"].forEach((function(t){return an(document,t,On)})),["resize","scroll","pageshow"].forEach((function(t){return an(window,t,On)})))}var R=Object.freeze({__proto__:null,get data(){return S},reset:A,start:function(){q=6e4,z=0},stop:function(){j(C),z=0,q=0}}),P=null;function D(t){Mn()&&a.lean&&(a.lean=!1,P={key:t},Vt(),a.upgrade&&a.upgrade(t),wt(3))}var H=Object.freeze({__proto__:null,get data(){return P},start:function(){!a.lean&&a.upgrade&&a.upgrade("Config"),P=null},stop:function(){P=null},upgrade:D});function U(t,n,e,r){return new(e||(e=Promise))((function(o,a){function u(t){try{i(r.next(t))}catch(t){a(t)}}function c(t){try{i(r.throw(t))}catch(t){a(t)}}function i(t){var n;t.done?o(t.value):(n=t.value,n instanceof e?n:new e((function(t){t(n)}))).then(u,c)}i((r=r.apply(t,n||[])).next())}))}function B(t,n){var e,r,o,a,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function c(c){return function(i){return function(c){if(e)throw new TypeError("Generator is already executing.");for(;a&&(a=0,c[0]&&(u=0)),u;)try{if(e=1,r&&(o=2&c[0]?r.return:c[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;switch(r=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return u.label++,{value:c[1],done:!1};case 5:u.label++,r=c[1],c=[0];continue;case 7:c=u.ops.pop(),u.trys.pop();continue;default:if(!(o=u.trys,(o=o.length>0&&o[o.length-1])||6!==c[0]&&2!==c[0])){u=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]<o[3])){u.label=c[1];break}if(6===c[0]&&u.label<o[1]){u.label=o[1],o=c;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(c);break}o[2]&&u.ops.pop(),u.trys.pop();continue}c=n.call(t,u)}catch(t){c=[6,t],r=0}finally{e=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([c,i])}}}var V=null;function L(t,n){W(t,"string"==typeof n?[n]:n)}function X(t,n,e,r){return void 0===n&&(n=null),void 0===e&&(e=null),void 0===r&&(r=null),U(this,void 0,void 0,(function(){var o,a;return B(this,(function(u){switch(u.label){case 0:return a={},[4,G(t)];case 1:return a.userId=u.sent(),a.userHint=r||((c=t)&&c.length>=5?"".concat(c.substring(0,2)).concat(f(c.substring(2),"*","*")):f(c,"*","*")),W("userId",[(o=a).userId]),W("userHint",[o.userHint]),W("userType",[Y(t)]),n&&(W("sessionId",[n]),o.sessionId=n),e&&(W("pageId",[e]),o.pageId=e),[2,o]}var c}))}))}function W(t,n){if(Mn()&&t&&n&&"string"==typeof t&&t.length<255){for(var e=(t in V?V[t]:[]),r=0;r<n.length;r++)"string"==typeof n[r]&&n[r].length<255&&e.push(n[r]);V[t]=e}}function J(){wt(34)}function Z(){V={}}function G(t){return U(this,void 0,void 0,(function(){var n;return B(this,(function(e){switch(e.label){case 0:return e.trys.push([0,4,,5]),crypto&&t?[4,crypto.subtle.digest("SHA-256",(new TextEncoder).encode(t))]:[3,2];case 1:return n=e.sent(),[2,Array.prototype.map.call(new Uint8Array(n),(function(t){return("00"+t.toString(16)).slice(-2)})).join("")];case 2:return[2,""];case 3:return[3,5];case 4:return e.sent(),[2,""];case 5:return[2]}}))}))}function Y(t){return t&&t.indexOf("@")>0?"email":"string"}var F="CompressionStream"in window;function K(t){return U(this,void 0,void 0,(function(){var n,e;return B(this,(function(r){switch(r.label){case 0:return r.trys.push([0,3,,4]),F?(n=new ReadableStream({start:function(n){return U(this,void 0,void 0,(function(){return B(this,(function(e){return n.enqueue(t),n.close(),[2]}))}))}}).pipeThrough(new TextEncoderStream).pipeThrough(new window.CompressionStream("gzip")),e=Uint8Array.bind,[4,Q(n)]):[3,2];case 1:return[2,new(e.apply(Uint8Array,[void 0,r.sent()]))];case 2:return[3,4];case 3:return r.sent(),[3,4];case 4:return[2,null]}}))}))}function Q(t){return U(this,void 0,void 0,(function(){var n,e,r,o,a;return B(this,(function(u){switch(u.label){case 0:n=t.getReader(),e=[],r=!1,o=[],u.label=1;case 1:return r?[3,3]:[4,n.read()];case 2:return a=u.sent(),r=a.done,o=a.value,r?[2,e]:(e.push.apply(e,o),[3,1]);case 3:return[2,e]}}))}))}var $=[w,e,Object.freeze({__proto__:null,compute:J,get data(){return V},identify:X,reset:Z,set:L,start:function(){Z()},stop:function(){Z()}}),n,w,r,o,t,R,H,w];function tt(){E={},I={},M(5),$.forEach((function(t){return rn(t.start)()}))}function nt(){$.slice().reverse().forEach((function(t){return rn(t.stop)()})),E={},I={}}function et(){J(),zt(),wt(0),Et()}var rt,ot,at,ut,ct,it,st=0,lt=0,pt=null,dt=0;function ft(){ut=!0,st=0,lt=0,dt=0,rt=[],ot=[],at={},ct=null}function ht(t,n){if(void 0===n&&(n=!0),ut){var e=i(),r=t.length>1?t[1]:null,o=JSON.stringify(t);switch(r){case 5:st+=o.length;case 37:case 6:case 43:lt+=o.length,rt.push(o);break;default:ot.push(o)}M(25);var u=function(){var t=!1===a.lean&&st>0?100:Kt.sequence*a.delay;return"string"==typeof a.upload?Math.max(Math.min(t,3e4),100):a.delay}();e-dt>2*u&&(j(pt),pt=null),n&&null===pt&&(25!==r&&A(),pt=T(gt,u),dt=e,_t(lt))}}function vt(){j(pt),gt(!0),st=0,lt=0,dt=0,rt=[],ot=[],at={},ct=null,ut=!1}function gt(t){return void 0===t&&(t=!1),U(this,void 0,void 0,(function(){var n,e,r,o,u,c,i,s;return B(this,(function(l){switch(l.label){case 0:return pt=null,(n=!1===a.lean&&lt>0&&(lt<1048576||Kt.sequence>0))&&O(1,1),et(),e=!0===t,r=JSON.stringify(tn(e)),o="[".concat(ot.join(),"]"),u=n?"[".concat(rt.join(),"]"):"",c=function(t){return t.p.length>0?'{"e":'.concat(t.e,',"a":').concat(t.a,',"p":').concat(t.p,"}"):'{"e":'.concat(t.e,',"a":').concat(t.a,"}")}({e:r,a:o,p:u}),e?(s=null,[3,3]):[3,1];case 1:return[4,K(c)];case 2:s=l.sent(),l.label=3;case 3:return x(2,(i=s)?i.length:c.length),mt(c,i,Kt.sequence,e),ot=[],n&&(rt=[],lt=0,st=0),[2]}}))}))}function mt(t,n,e,r){if(void 0===r&&(r=!1),"string"==typeof a.upload){var o=a.upload,u=!1;if(r&&"sendBeacon"in navigator)try{(u=navigator.sendBeacon.bind(navigator)(o,t))&&bt(e)}catch(t){}if(!1===u){e in at?at[e].attempts++:at[e]={data:t,attempts:1};var c=new XMLHttpRequest;c.open("POST",o,!0),c.timeout=15e3,c.ontimeout=function(){en(new Error("".concat("Timeout"," : ").concat(o)))},null!==e&&(c.onreadystatechange=function(){rn(yt)(c,e)}),c.withCredentials=!0,n?(c.setRequestHeader("Accept","application/x-clarity-gzip"),c.send(n)):c.send(t)}}else if(a.upload){(0,a.upload)(t),bt(e)}}function yt(t,n){var e=at[n];t&&4===t.readyState&&e&&((t.status<200||t.status>208)&&e.attempts<=1?t.status>=400&&t.status<500?St(6):(0===t.status&&(a.upload=a.fallback?a.fallback:a.upload),mt(e.data,null,n)):(ct={sequence:n,attempts:e.attempts,status:t.status},e.attempts>1&&wt(2),200===t.status&&t.responseText&&function(t){for(var n=t&&t.length>0?t.split("\n"):[],e=0,r=n;e<r.length;e++){var o=r[e],u=o&&o.length>0?o.split(/ (.*)/):[""];switch(u[0]){case"END":St(6);break;case"UPGRADE":D("Auto");break;case"ACTION":a.action&&u.length>1&&a.action(u[1]);break;case"EXTRACT":u.length>1&&u[1]}}}(t.responseText),0===t.status&&(mt(e.data,null,n,!0),St(3)),t.status>=200&&t.status<=208&&bt(n),delete at[n]))}function bt(t){1===t&&Vt()}function wt(t){var n=[i(),t];switch(t){case 4:var e=h;e&&((n=[e.time,e.event]).push(e.data.visible),n.push(e.data.docWidth),n.push(e.data.docHeight),n.push(e.data.screenWidth),n.push(e.data.screenHeight),n.push(e.data.scrollX),n.push(e.data.scrollY),n.push(e.data.pointerX),n.push(e.data.pointerY),n.push(e.data.activityTime),ht(n,!1));break;case 25:n.push(S.gap),ht(n);break;case 35:n.push(it.check),ht(n,!1);break;case 3:n.push(P.key),ht(n);break;case 2:n.push(ct.sequence),n.push(ct.attempts),n.push(ct.status),ht(n,!1);break;case 24:n.push(k.key),n.push(k.value),ht(n);break;case 34:var r=Object.keys(V);if(r.length>0){for(var o=0,a=r;o<a.length;o++){var u=a[o];n.push(u),n.push(V[u])}Z(),ht(n,!1)}break;case 0:var c=Object.keys(I);if(c.length>0){for(var s=0,l=c;s<l.length;s++){var p=l[s],d=parseInt(p,10);n.push(d),n.push(Math.round(I[p]))}I={},ht(n,!1)}break;case 1:var f=Object.keys(xt);if(f.length>0){for(var g=0,y=f;g<y.length;g++){var b=y[g];d=parseInt(b,10);n.push(d),n.push(xt[b])}qt(),ht(n,!1)}break;case 36:var w=Object.keys(v);if(w.length>0){for(var _=0,E=w;_<E.length;_++){var M=E[_];d=parseInt(M,10);n.push(d),n.push([].concat.apply([],v[M]))}ht(n,!1)}break;case 40:m.forEach((function(t){n.push(t);var e=[];for(var r in v[t]){var o=parseInt(r,10);e.push(o),e.push(v[t][r])}n.push(e)})),ht(n,!1)}}function kt(){it={check:0}}function _t(t){if(0===it.check){var n=it.check;n=Kt.sequence>=128?1:n,n=Kt.pageNum>=128?7:n,n=i()>72e5?2:n,(n=t>10485760?2:n)!==it.check&&St(n)}}function St(t){it.check=t,Bt(),Hn()}function Et(){0!==it.check&&wt(35)}function It(){it=null}var Mt=null,xt=null;function Ot(){Mt={},xt={}}function Tt(){Mt={},xt={}}function jt(t,n){n&&(n="".concat(n),t in Mt||(Mt[t]=[]),Mt[t].indexOf(n)<0&&(Mt[t].push(n),t in xt||(xt[t]=[]),xt[t].push(n),Mt[t].length>128&&St(5)))}function zt(){wt(1)}function qt(){xt={}}var Ct=null,At=[],Nt=null;function Rt(){Nt=null;var t,n=navigator&&"userAgent"in navigator?navigator.userAgent:"",e=document&&document.title?document.title:"",r=n.indexOf("Electron")>0?1:0,o=function(){var t={session:Wt(),ts:Math.round(Date.now()),count:1,upgrade:null,upload:""},n=Gt("_clsk");if(n){var e=n.split("|");e.length>=5&&t.ts-Jt(e[1])<18e5&&(t.session=e[0],t.count=Jt(e[2])+1,t.upgrade=Jt(e[3]),t.upload=e.length>=6?"".concat("https://").concat(e[5],"/").concat(e[4]):"".concat("https://").concat(e[4]))}return t}(),u=Zt(),c=a.projectId||function(t,n){void 0===n&&(n=null);for(var e,r=5381,o=r,a=0;a<t.length;a+=2)r=(r<<5)+r^t.charCodeAt(a),a+1<t.length&&(o=(o<<5)+o^t.charCodeAt(a+1));return e=Math.abs(r+11579*o),(n?e%Math.pow(2,n):e).toString(36)}(location.host);Ct={projectId:c,userId:u.id,sessionId:o.session,pageNum:o.count},a.lean=a.track&&null!==o.upgrade?0===o.upgrade:a.lean,a.upload=a.track&&"string"==typeof a.upload&&o.upload&&o.upload.length>"https://".length?o.upload:a.upload,jt(0,n),jt(3,e),jt(1,function(t,n){if(void 0===n&&(n=!1),n)return"".concat("https://").concat("Electron");var e=a.drop;if(e&&e.length>0&&t&&t.indexOf("?")>0){var r=t.split("?");return r[0]+"?"+r[1].split("&").map((function(t){return e.some((function(n){return 0===t.indexOf("".concat(n,"="))}))?"".concat(t.split("=")[0],"=").concat("*na*"):t})).join("&")}return t}(location.href,!!r)),jt(2,document.referrer),jt(15,function(){var t=Wt();if(a.track&&Lt(window,"sessionStorage")){var n=sessionStorage.getItem("_cltk");t=n||t,sessionStorage.setItem("_cltk",t)}return t}()),jt(16,document.documentElement.lang),jt(17,document.dir),jt(26,"".concat(window.devicePixelRatio)),jt(28,u.dob.toString()),jt(29,u.version.toString()),O(0,o.ts),O(1,0),O(35,r),navigator&&(jt(9,navigator.language),O(33,navigator.hardwareConcurrency),O(32,navigator.maxTouchPoints),O(34,Math.round(navigator.deviceMemory)),(t=navigator.userAgentData)&&t.getHighEntropyValues?t.getHighEntropyValues(["model","platform","platformVersion","uaFullVersion"]).then((function(t){var n;jt(22,t.platform),jt(23,t.platformVersion),null===(n=t.brands)||void 0===n||n.forEach((function(t){jt(24,t.name+"~"+t.version)})),jt(25,t.model),O(27,t.mobile?1:0)})):jt(22,navigator.platform)),screen&&(O(14,Math.round(screen.width)),O(15,Math.round(screen.height)),O(16,Math.round(screen.colorDepth)));for(var i=0,s=a.cookies;i<s.length;i++){var l=s[i],p=Gt(l);p&&L(l,p)}Xt(u)}function Pt(){Nt=null,Ct=null}function Dt(t,n){void 0===n&&(n=!0);var e=a.lean?0:1;Ct&&(e||!1===n)?t(Ct,!a.lean):At.push({callback:t,wait:n})}function Ht(){return Ct?[Ct.userId,Ct.sessionId,Ct.pageNum].join("."):""}function Ut(){Mn()&&(a.track=!0,Xt(Zt(),1))}function Bt(){Yt("_clsk","",0)}function Vt(){var t=Math.round(Date.now()),n=a.upload&&"string"==typeof a.upload?a.upload.replace("https://",""):"",e=a.lean?0:1;!function(t){At.length>0&&At.forEach((function(n){!n.callback||n.wait&&!t||n.callback(Ct,!a.lean)}))}(e),Yt("_clsk",[Ct.sessionId,t,Ct.pageNum,e,n].join("|"),1)}function Lt(t,n){try{return!!t[n]}catch(t){return!1}}function Xt(t,n){void 0===n&&(n=null),n=null===n?t.consent:n;var e=Math.ceil((Date.now()+31536e6)/864e5),r=0===t.dob?null===a.dob?0:a.dob:t.dob;(null===t.expiry||Math.abs(e-t.expiry)>=1||t.consent!==n||t.dob!==r)&&Yt("_clck",[Ct.userId,2,e.toString(36),n,r].join("|"),365)}function Wt(){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 Jt(t,n){return void 0===n&&(n=10),parseInt(t,n)}function Zt(){var t={id:Wt(),version:0,expiry:null,consent:0,dob:0},n=Gt("_clck");if(n&&n.length>0){for(var e=n.split("|"),r=0,o=0,u=document.cookie.split(";");o<u.length;o++){r+="_clck"===u[o].split("=")[0].trim()?1:0}if(1===e.length||r>1){var c="".concat(";").concat("expires=").concat(new Date(0).toUTCString()).concat(";path=/");document.cookie="".concat("_clck","=").concat(c),document.cookie="".concat("_clsk","=").concat(c)}e.length>1&&(t.version=Jt(e[1])),e.length>2&&(t.expiry=Jt(e[2],36)),e.length>3&&1===Jt(e[3])&&(t.consent=1),e.length>4&&Jt(e[1])>1&&(t.dob=Jt(e[4])),a.track=a.track||1===t.consent,t.id=a.track?e[0]:t.id}return t}function Gt(t){if(Lt(document,"cookie")){var n=document.cookie.split(";");if(n)for(var e=0;e<n.length;e++){var r=n[e].split("=");if(r.length>1&&r[0]&&r[0].trim()===t)return r[1]}}return null}function Yt(t,n,e){if(a.track&&(navigator&&navigator.cookieEnabled||Lt(document,"cookie"))){var r=new Date;r.setDate(r.getDate()+e);var o=r?"expires="+r.toUTCString():"",u="".concat(t,"=").concat(n).concat(";").concat(o).concat(";path=/");try{if(null===Nt){for(var c=location.hostname?location.hostname.split("."):[],i=c.length-1;i>=0;i--)if(Nt=".".concat(c[i]).concat(Nt||""),i<c.length-1&&(document.cookie="".concat(u).concat(";").concat("domain=").concat(Nt),Gt(t)===n))return;Nt=""}}catch(t){Nt=""}document.cookie=Nt?"".concat(u).concat(";").concat("domain=").concat(Nt):u}}var Ft,Kt=null;function Qt(){var t=Ct;Kt={version:s,sequence:0,start:0,duration:0,projectId:t.projectId,userId:t.userId,sessionId:t.sessionId,pageNum:t.pageNum,upload:0,end:0}}function $t(){Kt=null}function tn(t){return Kt.start=Kt.start+Kt.duration,Kt.duration=i()-Kt.start,Kt.sequence++,Kt.upload=t&&"sendBeacon"in navigator?1:0,Kt.end=t?1:0,[Kt.version,Kt.sequence,Kt.start,Kt.duration,Kt.projectId,Kt.userId,Kt.sessionId,Kt.pageNum,Kt.upload,Kt.end]}function nn(){Ft=[]}function en(t){if(Ft&&-1===Ft.indexOf(t.message)){var n=a.report;if(n&&n.length>0){var e={v:Kt.version,p:Kt.projectId,u:Kt.userId,s:Kt.sessionId,n:Kt.pageNum};t.message&&(e.m=t.message),t.stack&&(e.e=t.stack);var r=new XMLHttpRequest;r.open("POST",n,!0),r.send(JSON.stringify(e)),Ft.push(t.message)}}return t}function rn(t){return function(){var n=performance.now();try{t.apply(this,arguments)}catch(t){throw en(t)}var e=performance.now()-n;x(4,e),e>30&&(M(7),O(6,e))}}var on=[];function an(t,n,e,r){void 0===r&&(r=!1),e=rn(e);try{t[u("addEventListener")](n,e,r),on.push({event:n,target:t,listener:e,capture:r})}catch(t){}}function un(){for(var t=0,n=on;t<n.length;t++){var e=n[t];try{e.target[u("removeEventListener")](e.event,e.listener,e.capture)}catch(t){}}on=[]}var cn=null,sn=null,ln=null,pn=0;function dn(){return!(pn++>20)}function fn(){pn=0,ln!==vn()&&(Hn(),window.setTimeout(hn,250))}function hn(){Dn(),O(29,1)}function vn(){return location.href?location.href.replace(location.hash,""):location.href}var gn=[],mn=null,yn=null,bn=null;function wn(){yn&&(bn(),yn=null,null===mn&&_n())}function kn(){gn=[],mn=null,yn=null}function _n(){var t=gn.shift();t&&(mn=t,t.task().then((function(){t.id===Ht()&&(t.resolve(),mn=null,_n())})).catch((function(n){t.id===Ht()&&(n&&(n.name,n.message,n.stack),mn=null,_n())})))}var Sn=!1;function En(){Sn=!0,c=performance.now(),kn(),un(),nn(),ln=vn(),pn=0,an(window,"popstate",fn),null===cn&&(cn=history.pushState,history.pushState=function(){cn.apply(this,arguments),Mn()&&dn()&&fn()}),null===sn&&(sn=history.replaceState,history.replaceState=function(){sn.apply(this,arguments),Mn()&&dn()&&fn()})}function In(){ln=null,pn=0,nn(),un(),kn(),c=0,Sn=!1}function Mn(){return Sn}function xn(t){if(null===t||Sn)return!1;for(var n in t)n in a&&(a[n]=t[n]);return!0}function On(){Dn(),_("clarity","restart")}var Tn,jn=null;function zn(){jn=null}function qn(t){jn={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){U(this,void 0,void 0,(function(){var n,e;return B(this,(function(r){return n=i(),e=[n,t],29===t&&(e.push(jn.fetchStart),e.push(jn.connectStart),e.push(jn.connectEnd),e.push(jn.requestStart),e.push(jn.responseStart),e.push(jn.responseEnd),e.push(jn.domInteractive),e.push(jn.domComplete),e.push(jn.loadEventStart),e.push(jn.loadEventEnd),e.push(jn.redirectCount),e.push(jn.size),e.push(jn.type),e.push(jn.protocol),e.push(jn.encodedSize),e.push(jn.decodedSize),zn(),ht(e)),[2]}))}))}(29)}var Cn=["navigation","resource","longtask","first-input","layout-shift","largest-contentful-paint"];function An(){try{Tn&&Tn.disconnect(),Tn=new PerformanceObserver(rn(Nn));for(var t=0,n=Cn;t<n.length;t++){var e=n[t];PerformanceObserver.supportedEntryTypes.indexOf(e)>=0&&("layout-shift"===e&&x(9,0),Tn.observe({type:e,buffered:!0}))}}catch(t){}}function Nn(t){!function(t){for(var n=(!("visibilityState"in document)||"visible"===document.visibilityState),e=0;e<t.length;e++){var r=t[e];switch(r.entryType){case"navigation":qn(r);break;case"resource":var o=r.name;jt(4,Rn(o)),o!==a.upload&&o!==a.fallback||O(28,r.duration);break;case"longtask":M(7);break;case"first-input":n&&O(10,r.processingStart-r.startTime);break;case"layout-shift":n&&!r.hadRecentInput&&x(9,1e3*r.value);break;case"largest-contentful-paint":n&&O(8,r.startTime)}}}(t.getEntries())}function Rn(t){var n=document.createElement("a");return n.href=t,n.host}var Pn=[w,w,w,Object.freeze({__proto__:null,start:function(){zn(),function(){navigator&&"connection"in navigator&&jt(27,navigator.connection.effectiveType),window.PerformanceObserver&&PerformanceObserver.supportedEntryTypes&&("complete"!==document.readyState?an(window,"load",T.bind(this,An,0)):An())}()},stop:function(){Tn&&Tn.disconnect(),Tn=null,zn()}})];function Dn(t){void 0===t&&(t=null),function(){try{return!1===Sn&&"undefined"!=typeof Promise&&window.MutationObserver&&document.createTreeWalker&&"now"in Date&&"now"in performance&&"undefined"!=typeof WeakMap}catch(t){return!1}}()&&(xn(t),En(),tt(),Pn.forEach((function(t){return rn(t.start)()})),null===t&&Ln())}function Hn(){Mn()&&(Pn.slice().reverse().forEach((function(t){return rn(t.stop)()})),nt(),In(),void 0!==Bn&&(Bn[Vn]=function(){(Bn[Vn].q=Bn[Vn].q||[]).push(arguments),"start"===arguments[0]&&Bn[Vn].q.unshift(Bn[Vn].q.pop())&&Ln()}))}var Un=Object.freeze({__proto__:null,consent:Ut,event:_,hashText:y,identify:X,metadata:Dt,pause:function(){Mn()&&(_("clarity","pause"),null===yn&&(yn=new Promise((function(t){bn=t}))))},resume:function(){Mn()&&(wn(),_("clarity","resume"))},set:L,start:Dn,stop:Hn,upgrade:D,version:s}),Bn=window,Vn="clarity";function Ln(){if(void 0!==Bn){if(Bn[Vn]&&Bn[Vn].v)return console.warn("Error CL001: Multiple Clarity tags detected.");var t=Bn[Vn]&&Bn[Vn].q||[];for(Bn[Vn]=function(t){for(var n=[],e=1;e<arguments.length;e++)n[e-1]=arguments[e];return Un[t].apply(Un,n)},Bn[Vn].v=s;t.length>0;)Bn[Vn].apply(Bn,t.shift())}}Ln()}();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clarity-js",
3
- "version": "0.7.8",
3
+ "version": "0.7.9",
4
4
  "description": "An analytics library that uses web page interactions to generate aggregated insights",
5
5
  "author": "Microsoft Corp.",
6
6
  "license": "MIT",
@@ -1,2 +1,2 @@
1
- let version = "0.7.8";
1
+ let version = "0.7.9";
2
2
  export default version;
@@ -14,7 +14,7 @@ import { queue, track } from "./upload";
14
14
 
15
15
  export default function(event: Event): void {
16
16
  let t = time();
17
- let tokens: Token[] = [t, event];
17
+ let tokens: Token[] = [t, event];
18
18
  switch (event) {
19
19
  case Event.Baseline:
20
20
  let b = baseline.state;
@@ -25,7 +25,7 @@ export default async function(type: Event): Promise<void> {
25
25
  tokens.push(navigation.data.encodedSize);
26
26
  tokens.push(navigation.data.decodedSize);
27
27
  navigation.reset();
28
- queue(tokens, false);
28
+ queue(tokens);
29
29
  break;
30
30
  }
31
31
  }