clarity-js 0.8.17 → 0.8.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/clarity.extended.js +1 -1
- package/build/clarity.insight.js +1 -1
- package/build/clarity.js +61 -54
- package/build/clarity.min.js +1 -1
- package/build/clarity.module.js +61 -54
- package/build/clarity.performance.js +1 -1
- package/package.json +1 -1
- package/src/core/version.ts +1 -1
- package/src/data/encode.ts +1 -1
- package/src/data/upload.ts +52 -46
- package/src/interaction/timeline.ts +5 -1
- package/src/layout/encode.ts +2 -2
package/build/clarity.insight.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(){"use strict";var t=Object.freeze({__proto__:null,get queue(){return Ke},get start(){return Ge},get stop(){return Qe},get track(){return Le}}),e=Object.freeze({__proto__:null,get data(){return xn},get start(){return On},get stop(){return Mn},get upgrade(){return En}}),n=Object.freeze({__proto__:null,get check(){return Xn},get compute(){return Yn},get data(){return Tn},get start(){return In},get stop(){return jn},get trigger(){return Pn}}),r=Object.freeze({__proto__:null,get compute(){return qn},get data(){return An},get log(){return zn},get reset(){return Rn},get start(){return Hn},get stop(){return Wn},get updates(){return Cn}}),a=Object.freeze({__proto__:null,get callback(){return ar},get callbacks(){return Un},get clear(){return rr},get consent(){return $n},get consentv2(){return tr},get data(){return Ln},get electron(){return Fn},get id(){return Qn},get metadata(){return Kn},get save(){return ir},get shortid(){return cr},get start(){return Zn},get stop(){return Gn}}),i=Object.freeze({__proto__:null,get data(){return vr},get envelope(){return wr},get start(){return gr},get stop(){return mr}}),o={projectId:null,delay:1e3,lean:!1,lite:!1,track:!0,content:!0,drop:[],mask:[],unmask:[],regions:[],cookies:[],fraud:!0,checksum:[],report:null,upload:null,fallback:null,upgrade:null,action:null,dob:null,delayDom:!1,throttleDom:!0,conversions:!1,includeSubdomains:!0};function u(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(),n=t&&t.view?t.view.performance.timeOrigin:performance.timeOrigin;return Math.max(Math.round(e+n-c),0)}var l="0.8.17";function d(t,e){void 0===e&&(e=null);for(var n,r=5381,a=r,i=0;i<t.length;i+=2){if(r=(r<<5)+r^t.charCodeAt(i),i+1<t.length)a=(a<<5)+a^t.charCodeAt(i+1)}return n=Math.abs(r+11579*a),(e?n%Math.pow(2,e):n).toString(36)}var p=/\S/gi,h=255,f=!0,v=null,g=null,m=null;function w(t,e,n,r,a){if(void 0===r&&(r=!1),t){if("input"==e&&("checkbox"===a||"radio"===a))return 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,i=!1,o=null;S();for(var u=0;u<t.length;u++){var c=t.charCodeAt(u);if(r=r||c>=48&&c<=57,a=a||64===c,i=9===c||10===c||13===c||32===c,0===u||u===t.length-1||i){if(r||a){null===o&&(o=t.split(""));var s=t.substring(e+1,i?u:u+1);s=f&&null!==m?s.match(m)?s:_(s,"▪","▫"):k(s),o.splice(e+1-n,s.length,s),n+=s.length-1}i&&(r=!1,a=!1,e=u)}}return o?o.join(""):t}(t);case"input":case"change":return T(t)}return t;case 2:case 3:switch(e){case"*T":case"data-":return r?b(t):k(t);case"src":case"srcset":case"title":case"alt":return 3===n?"src"===e&&(null==t?void 0:t.startsWith("blob:"))?"blob:":"":t;case"value":case"click":case"input":case"change":return T(t);case"placeholder":return k(t)}break;case 4:switch(e){case"*T":case"data-":return r?b(t):k(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 _(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 y(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=!1);var r=t;if(e)r="".concat("https://").concat("Electron");else{var a=o.drop;if(a&&a.length>0&&t&&t.indexOf("?")>0){var i=t.split("?"),u=i[0],c=i[1];r=u+"?"+c.split("&").map((function(t){return a.some((function(e){return 0===t.indexOf("".concat(e,"="))}))?"".concat(t.split("=")[0],"=").concat("*na*"):t})).join("&")}}return n&&(r=r.substring(0,h)),r}function b(t){var e=t.trim();if(e.length>0){var n=e[0],r=t.indexOf(n),a=t.substr(0,r),i=t.substr(r+e.length);return"".concat(a).concat(e.length.toString(36)).concat(i)}return t}function k(t){return t.replace(p,"•")}function _(t,e,n){return S(),t?t.replace(g,e).replace(v,n):t}function T(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 S(){if(f&&null===v)try{v=new RegExp("\\p{N}","gu"),g=new RegExp("\\p{L}","gu"),m=new RegExp("\\p{Sc}","gu")}catch(t){f=!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,scrollTime:O.scrollTime,pointerTime:O.pointerTime,moveX:O.moveX,moveY:O.moveY,moveTime:O.moveTime,downX:O.downX,downY:O.downY,downTime:O.downTime,upX:O.upX,upY:O.upY,upTime:O.upTime,pointerPrevX:O.pointerPrevX,pointerPrevY:O.pointerPrevY,pointerPrevTime:O.pointerPrevTime}}),O=O||{visible:1,docWidth:0,docHeight:0,screenWidth:0,screenHeight:0,scrollX:0,scrollY:0,pointerX:0,pointerY:0,activityTime:0,scrollTime:0,pointerTime:void 0,moveX:void 0,moveY:void 0,moveTime:void 0,downX:void 0,downY:void 0,downTime:void 0,upX:void 0,upY:void 0,upTime:void 0,pointerPrevX:void 0,pointerPrevY:void 0,pointerPrevTime:void 0}}function N(t,e,n,r){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,O.scrollTime=r;break;case 12:O.moveX=e,O.moveY=n,O.moveTime=r,O.pointerPrevX=O.pointerX,O.pointerPrevY=O.pointerY,O.pointerPrevTime=O.pointerTime,O.pointerX=e,O.pointerY=n,O.pointerTime=r;break;case 13:O.downX=e,O.downY=n,O.downTime=r,O.pointerPrevX=O.pointerX,O.pointerPrevY=O.pointerY,O.pointerPrevTime=O.pointerTime,O.pointerX=e,O.pointerY=n,O.pointerTime=r;break;case 14:O.upX=e,O.upY=n,O.upTime=r,O.pointerPrevX=O.pointerX,O.pointerPrevY=O.pointerY,O.pointerPrevTime=O.pointerTime,O.pointerX=e,O.pointerY=n,O.pointerTime=r;break;default:O.pointerPrevX=O.pointerX,O.pointerPrevY=O.pointerY,O.pointerPrevTime=O.pointerTime,O.pointerX=e,O.pointerY=n,O.pointerTime=r}E=!0}function I(t){O.activityTime=t}function X(t,e){O.visible="visible"===e?1:0,O.visible||I(t),E=!0}function P(){E&&Nn(4)}var Y=Object.freeze({__proto__:null,activity:I,compute:P,reset:M,start:function(){E=!1,M()},get state(){return x},stop:function(){M()},track:N,visibility:X}),j=null,A=!0;function C(){D(2)}function D(t){zn(36,t.toString())}var H=null;function W(t,e){Cr()&&t&&"string"==typeof t&&t.length<255&&(H=e&&"string"==typeof e&&e.length<255?{key:t,value:e}:{value:t},Nn(24))}var z,q=null,R=null;function L(t){t in q||(q[t]=0),t in R||(R[t]=0),q[t]++,R[t]++}function U(t,e){null!==e&&(t in q||(q[t]=0),t in R||(R[t]=0),q[t]+=e,R[t]+=e)}function F(t,e){null!==e&&!1===isNaN(e)&&(t in q||(q[t]=0),(e>q[t]||0===q[t])&&(R[t]=e,q[t]=e))}function V(t,e,n){return window.setTimeout(kr(t),e,n)}function J(t){return window.clearTimeout(t)}var B=0,Z=0,G=null;function K(){G&&J(G),G=V(Q,Z),B=s()}function Q(){var t=s();z={gap:t-B},Nn(25),z.gap<3e5?G=V(Q,Z):Yr&&(W("clarity","suspend"),qr(),["mousemove","touchstart"].forEach((function(t){return Tr(document,t,Dr)})),["resize","scroll","pageshow"].forEach((function(t){return Tr(window,t,Dr)})))}var $=Object.freeze({__proto__:null,get data(){return z},reset:K,start:function(){Z=6e4,B=0},stop:function(){J(G),B=0,Z=0}}),tt=null;function et(){Nn(36)}function nt(){tt={}}var rt=Object.freeze({__proto__:null,compute:et,get data(){return tt},reset:nt,start:function(){tt={}},stop:function(){tt={}},track:function(t,e){if(t in tt){var n=tt[t],r=n[n.length-1];e-r[0]>100?tt[t].push([e,0]):r[1]=e-r[0]}else tt[t]=[[e,0]]}});function at(t,e,n,r){return new(n||(n=Promise))((function(a,i){function o(t){try{c(r.next(t))}catch(t){i(t)}}function u(t){try{c(r.throw(t))}catch(t){i(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(o,u)}c((r=r.apply(t,e||[])).next())}))}function it(t,e){var n,r,a,i,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(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,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 o.label++,{value:u[1],done:!1};case 5:o.label++,r=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(!(a=o.trys,(a=a.length>0&&a[a.length-1])||6!==u[0]&&2!==u[0])){o=0;continue}if(3===u[0]&&(!a||u[1]>a[0]&&u[1]<a[3])){o.label=u[1];break}if(6===u[0]&&o.label<a[1]){o.label=a[1],a=u;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(u);break}a[2]&&o.ops.pop(),o.trys.pop();continue}u=e.call(t,o)}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 ot="CompressionStream"in window;function ut(t){return at(this,void 0,void 0,(function(){var e,n;return it(this,(function(r){switch(r.label){case 0:return r.trys.push([0,3,,4]),ot?(e=new ReadableStream({start:function(e){return at(this,void 0,void 0,(function(){return it(this,(function(n){return e.enqueue(t),e.close(),[2]}))}))}}).pipeThrough(new TextEncoderStream).pipeThrough(new window.CompressionStream("gzip")),n=Uint8Array.bind,[4,ct(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 ct(t){return at(this,void 0,void 0,(function(){var e,n,r,a,i;return it(this,(function(o){switch(o.label){case 0:e=t.getReader(),n=[],r=!1,a=[],o.label=1;case 1:return r?[3,3]:[4,e.read()];case 2:return i=o.sent(),r=i.done,a=i.value,r?[2,n]:(n.push.apply(n,a),[3,1]);case 3:return[2,n]}}))}))}var st=null;function lt(t,e){pt(t,"string"==typeof e?[e]:e)}function dt(t,e,n,r){return void 0===e&&(e=null),void 0===n&&(n=null),void 0===r&&(r=null),at(this,void 0,void 0,(function(){var a,i;return it(this,(function(o){switch(o.label){case 0:return i={},[4,vt(t)];case 1:return i.userId=o.sent(),i.userHint=r||((u=t)&&u.length>=5?"".concat(u.substring(0,2)).concat(_(u.substring(2),"*","*")):_(u,"*","*")),pt("userId",[(a=i).userId]),pt("userHint",[a.userHint]),pt("userType",[gt(t)]),e&&(pt("sessionId",[e]),a.sessionId=e),n&&(pt("pageId",[n]),a.pageId=n),[2,a]}var u}))}))}function pt(t,e){if(Cr()&&t&&e&&"string"==typeof t&&t.length<255){for(var n=(t in st?st[t]:[]),r=0;r<e.length;r++)"string"==typeof e[r]&&e[r].length<255&&n.push(e[r]);st[t]=n}}function ht(){Nn(34)}function ft(){st={}}function vt(t){return at(this,void 0,void 0,(function(){var e;return it(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 gt(t){return t&&t.indexOf("@")>0?"email":"string"}var mt=Object.freeze({__proto__:null,compute:ht,get data(){return st},identify:dt,reset:ft,set:lt,start:function(){ft()},stop:function(){ft()}});var wt,yt={};function bt(t){bt.dn=4;var e=t.error||t;return e.message in yt||(yt[e.message]=0),yt[e.message]++>=5||e&&e.message&&(wt={message:e.message,line:t.lineno,column:t.colno,stack:e.stack,source:t.filename},kt(31)),!0}function kt(t){return at(this,void 0,void 0,(function(){var e;return it(this,(function(n){switch(e=[s(),t],t){case 31:e.push(wt.message),e.push(wt.line),e.push(wt.column),e.push(wt.stack),e.push(y(wt.source)),Ke(e);break;case 33:_t&&(e.push(_t.code),e.push(_t.name),e.push(_t.message),e.push(_t.stack),e.push(_t.severity),Ke(e,!1))}return[2]}))}))}var _t,Tt={};function St(t,e,n,r,a){void 0===n&&(n=null),void 0===r&&(r=null),void 0===a&&(a=null);var i=n?"".concat(n,"|").concat(r):"";t in Tt&&Tt[t].indexOf(i)>=0||(_t={code:t,name:n,message:r,stack:a,severity:e},t in Tt?Tt[t].push(i):Tt[t]=[i],kt(33))}var xt={},Ot=new Set,Et={},Mt={},Nt={},It={};function Xt(t){try{var e=t&&t.length>0?t.split(/ (.*)/):[""],n=e[0].split(/\|(.*)/),r=parseInt(n[0]),a=n.length>1?n[1]:"",i=e.length>1?JSON.parse(e[1]):{};for(var o in Et[r]={},Mt[r]={},Nt[r]={},It[r]=a,i){var u=parseInt(o),c=i[o],s=2;switch(c.startsWith("~")?s=0:c.startsWith("!")&&(s=4),s){case 0:var l=c.slice(1);Et[r][u]=Ct(l);break;case 2:Mt[r][u]=c;break;case 4:var d=c.slice(1);Nt[r][u]=d}}}catch(t){St(8,1,t?t.name:null)}}function Pt(t){return JSON.parse(JSON.stringify(t))}function Yt(){try{for(var t in Et){var e=parseInt(t);if(""==It[e]||document.querySelector(It[e])){var n=Et[e];for(var r in n){var a=parseInt(r),i=(m=Dt(Pt(n[a])))?JSON.stringify(m).slice(0,1e4):m;i&&At(e,a,i)}var o=Mt[e];for(var u in o){var c=!1,s=parseInt(u),l=o[s];l.startsWith("@")&&(c=!0,l=l.slice(1));var p=document.querySelectorAll(l);if(p){var h=Array.from(p).map((function(t){return t.textContent})).join("<SEP>");At(e,s,(c?d(h).trim():h).slice(0,1e4))}}var f=Nt[e];for(var v in f){var g=parseInt(v);At(e,g,(void f[g]).trim().slice(0,1e4))}}}Ot.size>0&&Nn(40)}catch(t){St(5,1,t?t.name:null)}var m}function jt(){Ot.clear()}function At(t,e,n){var r,a=!1;t in xt||(xt[t]={},a=!0),r=Nt[t],0==Object.keys(r).length||e in xt[t]&&xt[t][e]==n||(a=!0),xt[t][e]=n,a&&Ot.add(t)}function Ct(t){for(var e=[],n=t.split(".");n.length>0;){var r=n.shift(),a=r.indexOf("["),i=r.indexOf("{"),o=r.indexOf("}");e.push({name:a>0?r.slice(0,a):i>0?r.slice(0,i):r,type:a>0?1:i>0?2:3,condition:i>0?r.slice(i+1,o):null})}return e}function Dt(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&&Ht(a,r.condition))n=Dt(t,a);else if(Array.isArray(a)){for(var i=[],o=0,u=a;o<u.length;o++){var c=u[o];if(Ht(c,r.condition)){var s=Dt(t,c);s&&i.push(s)}}n=i}return n}return null}function Ht(t,e){if(e){var n=e.split(":");return n.length>1?t[n[0]]==n[1]:t[n[0]]}return!0}var Wt=null;function zt(t){try{if(!Wt)return;var e=function(t){try{return JSON.parse(t)}catch(t){return[]}}(t);e.forEach((function(t){Wt(t)}))}catch(t){}}var qt=[Y,r,mt,n,rt,a,i,t,$,e,Object.freeze({__proto__:null,clone:Pt,compute:Yt,data:xt,keys:Ot,reset:jt,start:function(){jt()},stop:function(){jt()},trigger:Xt,update:At})];function Rt(){q={},R={},L(5),qt.forEach((function(t){return kr(t.start)()}))}function Lt(){qt.slice().reverse().forEach((function(t){return kr(t.stop)()})),q={},R={}}function Ut(){ht(),P(),qn(),Nn(0),et(),Yn(),Yt(),A&&(Nn(47),A=!1)}var Ft=[],Vt=null;var Jt=Object.freeze({__proto__:null,checkDocumentStyles:function(t){},compute:function(){},data:Vt,log:function(){},observe:function(){},reset:function(){},sheetAdoptionState:[],sheetUpdateState:[],start:function(){},state:Ft,stop:function(){}}),Bt=[],Zt=null,Gt=null,Kt=null;function Qt(){Bt=[],Zt=null,Gt=null}function $t(t,e){return void 0===e&&(e=0),at(this,void 0,void 0,(function(){var n,r,a;return it(this,(function(i){for(n=0,r=Bt;n<r.length;n++)if(r[n].task===t)return[2];return a=new Promise((function(n){Bt[1===e?"unshift":"push"]({task:t,resolve:n,id:Qn()})})),null===Zt&&null===Gt&&te(),[2,a]}))}))}function te(){var t=Bt.shift();t&&(Zt=t,t.task().then((function(){t.id===Qn()&&(t.resolve(),Zt=null,te())})).catch((function(e){t.id===Qn()&&(e&&St(0,1,e.name,e.message,e.stack),Zt=null,te())})))}var ee,ne=["input","textarea","radio","button","canvas","select"],re=[];function ae(t){Tr(t,"click",ie.bind(this,9,t),!0)}function ie(t,e,n){ie.dn=6;var r=document.documentElement,a="pageX"in n?Math.round(n.pageX):"clientX"in n?Math.round(n.clientX+r.scrollLeft):null,i="pageY"in n?Math.round(n.pageY):"clientY"in n?Math.round(n.clientY+r.scrollTop):null,o=mn(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}(o),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}(o);0===n.detail&&c&&(a=Math.round(c.x+c.w/2),i=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((i-c.y)/c.h*32767),0):0;if(null!==a&&null!==i){var p=function(t){var e=null,n=!1;if(t){var r=t.textContent||String(t.value||"")||t.alt;if(r){var a=r.replace(/\s+/g," ").trim();n=(e=a.substring(0,25)).length===a.length}}return{text:e,isFullText:n?1:0}}(o);re.push({time:s(n),event:t,data:{target:o,x:a,y:i,eX:l,eY:d,button:n.button,reaction:oe(o),context:ue(u),text:p.text,link:u?u.href:null,hash:null,trust:n.isTrusted?1:0,isFullText:p.isFullText}}),$t(je.bind(this,t))}}function oe(t){if(t.nodeType===Node.ELEMENT_NODE){var e=t.tagName.toLowerCase();if(ne.indexOf(e)>=0)return 0}return 1}function ue(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 ce(){re=[]}var se=null,le=!1;function de(){de.dn=12;var t=document.documentElement;ee={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},le?(J(se),se=V(pe,500,11)):(je(11),le=!0)}function pe(t){$t(je.bind(this,t))}function he(){ee=null,J(se)}var fe=[],ve=null;function ge(t){void 0===t&&(t=null),ge.dn=13;var e=window,n=document.documentElement,r=t?mn(t):n;if(r){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),i=r===n&&"pageYOffset"in e?Math.round(e.pageYOffset):Math.round(r.scrollTop),o=window.innerWidth,u=window.innerHeight,c=o/3,l=o>u?.15*u:.2*u,d=u-l,p=Te(c,l),h=Te(c,d),f={time:s(t),event:10,data:{target:r,x:a,y:i,top:p,bottom:h}};if((null!==t||0!==a||0!==i)&&null!==a&&null!==i){var v=fe.length,g=v>1?fe[v-2]:null;g&&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<50}(g,f)&&fe.pop(),fe.push(f),J(ve),ve=V(Se,500,10)}}}var me,we,ye,be,ke,_e=(me=ge,we=25,ye=0,be=null,ke=null,function(){for(var t=this,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=performance.now(),a=r-ye;if(0!==ye&&a<we){if(ke=e,be)return;be=setTimeout((function(){ye=performance.now(),me.apply(t,ke),ke=null,be=null}),we-a)}else ye=r,me.apply(this,e)});function Te(t,e){var n,r,a;return"caretPositionFromPoint"in document?a=null===(n=document.caretPositionFromPoint(t,e))||void 0===n?void 0:n.offsetNode:"caretRangeFromPoint"in document&&(a=null===(r=document.caretRangeFromPoint(t,e))||void 0===r?void 0:r.startContainer),a||(a=document.elementFromPoint(t,e)),a&&a.nodeType===Node.TEXT_NODE&&(a=a.parentNode),a}function Se(t){$t(je.bind(this,t))}var xe,Oe,Ee=[];function Me(t){Me.dn=16,Ee.push({time:s(t),event:39,data:{target:mn(t)}}),$t(je.bind(this,39))}function Ne(){Ee=[]}function Ie(t){Ie.dn=17,xe={name:t.type,persisted:t.persisted?1:0},je(26,s(t)),qr()}function Xe(){xe=null}function Pe(t){void 0===t&&(t=null),Pe.dn=18,Oe={visible:"visibilityState"in document?document.visibilityState:"default"},je(28,s(t))}function Ye(){Oe=null}function je(t,e){return void 0===e&&(e=null),at(this,void 0,void 0,(function(){var n,r,a,i,o,u,c,l,d,p,h,f,v,g,m,b,k,_,T,S,x,O,E,M,I,P,Y,j,A,C,D,H,W,z,q;return it(this,(function(R){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,i=Ft;a<i.length;a++)z=i[a],(o=wn(z.data.target,z.event)).id>0&&((r=[z.time,z.event]).push(o.id),r.push(z.data.x),r.push(z.data.y),void 0!==z.data.id&&(r.push(z.data.id),void 0!==z.data.isPrimary&&r.push(z.data.isPrimary.toString())),Ke(r),(void 0===z.data.isPrimary||z.data.isPrimary)&&N(z.event,z.data.x,z.data.y,z.time));break;case 9:for(u=0,c=re;u<c.length;u++)z=c[u],l=wn(z.data.target,z.event,z.data.text),r=[z.time,z.event],d=l.hash?l.hash.join("."):"",r.push(l.id),r.push(z.data.x),r.push(z.data.y),r.push(z.data.eX),r.push(z.data.eY),r.push(z.data.button),r.push(z.data.reaction),r.push(z.data.context),r.push(w(z.data.text,"click",l.privacy)),r.push(y(z.data.link)),r.push(d),r.push(z.data.trust),r.push(z.data.isFullText),Ke(r),He(z.time,z.event,d,z.data.x,z.data.y,z.data.reaction,z.data.context);ce();break;case 38:for(p=0,h=Ft;p<h.length;p++)z=h[p],r=[z.time,z.event],(D=wn(z.data.target,z.event)).id>0&&(r.push(D.id),r.push(z.data.action),Ke(r));break;case 11:f=ee,r.push(f.width),r.push(f.height),N(t,f.width,f.height),he(),Ke(r);break;case 26:v=xe,r.push(v.name),r.push(v.persisted),Xe(),Ke(r);break;case 27:for(g=0,m=Ft;g<m.length;g++)z=m[g],b=wn(z.data.target,z.event,z.data.value),(r=[z.time,z.event]).push(b.id),r.push(w(z.data.value,"input",b.privacy,!1,z.data.type)),Ke(r);break;case 21:(k=Vt)&&(_=wn(k.start),T=wn(k.end),r.push(_.id),r.push(k.startOffset),r.push(T.id),r.push(k.endOffset),Ke(r));break;case 10:for(S=0,x=fe;S<x.length;S++)z=x[S],O=wn(z.data.target,z.event),E=wn(z.data.top,z.event),M=wn(z.data.bottom,z.event),I=(null==E?void 0:E.hash)?E.hash.join("."):"",P=(null==M?void 0:M.hash)?M.hash.join("."):"",O.id>0&&((r=[z.time,z.event]).push(O.id),r.push(z.data.x),r.push(z.data.y),r.push(I),r.push(P),Ke(r),N(z.event,z.data.x,z.data.y,z.time));fe=[];break;case 42:for(Y=0,j=Ft;Y<j.length;Y++)z=j[Y],r=[z.time,z.event],(D=wn(z.data.target,z.event)).id>0&&((r=[z.time,z.event]).push(D.id),r.push(z.data.type),r.push(w(z.data.value,"change",D.privacy)),r.push(w(z.data.checksum,"checksum",D.privacy)),Ke(r));break;case 39:for(A=0,C=Ee;A<C.length;A++)z=C[A],r=[z.time,z.event],(D=wn(z.data.target,z.event)).id>0&&(r.push(D.id),Ke(r));Ne();break;case 22:for(H=0,W=Ce;H<W.length;H++)z=W[H],(r=[z.time,z.event]).push(z.data.type),r.push(z.data.hash),r.push(z.data.x),r.push(z.data.y),r.push(z.data.reaction),r.push(z.data.context),Ke(r,!1);De();break;case 28:q=Oe,r.push(q.visible),Ke(r),X(n,q.visible),Ye()}return[2]}))}))}var Ae=[],Ce=[];function De(){Ce=[]}function He(t,e,n,r,a,i,o){void 0===i&&(i=1),void 0===o&&(o=0),Ae.push({time:t,event:22,data:{type:e,hash:n,x:r,y:a,reaction:i,context:o}}),N(e,r,a,t)}var We,ze,qe,Re,Le,Ue,Fe=0,Ve=0,Je=null,Be=0,Ze=!1;function Ge(){Re=!0,Fe=0,Ve=0,Ze=!1,Be=0,We=[],ze=[],qe={},Le=null}function Ke(t,e){if(void 0===e&&(e=!0),Re){var n=s(),r=t.length>1?t[1]:null,a=JSON.stringify(t);switch(o.lean?!Ze&&Ve+a.length>10485760&&(St(10,0),Ze=!0):Ze=!1,r){case 5:if(Ze)break;Fe+=a.length;case 37:case 6:case 43:case 45:case 46:if(Ze)break;Ve+=a.length,We.push(a);break;default:ze.push(a)}L(25);var i=function(){var t=!1===o.lean&&Fe>0?100:vr.sequence*o.delay;return"string"==typeof o.upload?Math.max(Math.min(t,3e4),100):o.delay}();n-Be>2*i&&(J(Je),Je=null),e&&null===Je&&(25!==r&&K(),Je=V($e,i),Be=n,Xn(Ve))}}function Qe(){J(Je),$e(!0),Fe=0,Ve=0,Ze=!1,Be=0,We=[],ze=[],qe={},Le=null,Re=!1}function $e(t){return void 0===t&&(t=!1),at(this,void 0,void 0,(function(){var e,n,r,a,i,u,c,s;return it(this,(function(l){switch(l.label){case 0:return Je=null,(e=!1===o.lean&&Ve>0&&(Ve<1048576||vr.sequence>0))&&F(1,1),function(){var t=[];Ce=[];for(var e=vr.start+vr.duration,n=Math.max(e-2e3,0),r=0,a=Ae;r<a.length;r++){var i=a[r];i.time>=n&&(i.time<=e&&Ce.push(i),t.push(i))}Ae=t,je(22)}(),Ut(),n=!0===t,vr?(r=JSON.stringify(wr(n)),a="[".concat(ze.join(),"]"),i=e?"[".concat(We.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:i}),n?(s=null,[3,3]):[3,1]):[2];case 1:return[4,ut(u)];case 2:s=l.sent(),l.label=3;case 3:return U(2,(c=s)?c.length:u.length),tn(u,c,vr.sequence,n),ze=[],e&&(We=[],Ve=0,Fe=0,Ze=!1),[2]}}))}))}function tn(t,e,n,r){if(void 0===r&&(r=!1),"string"==typeof o.upload){var a=o.upload,i=!1;if(r&&"sendBeacon"in navigator)try{(i=navigator.sendBeacon.bind(navigator)(a,t))&&nn(n)}catch(t){}if(!1===i){n in qe?qe[n].attempts++:qe[n]={data:t,attempts:1};var u=new XMLHttpRequest;u.open("POST",a,!0),u.timeout=15e3,u.ontimeout=function(){br(new Error("".concat("Timeout"," : ").concat(a)))},null!==n&&(u.onreadystatechange=function(){kr(en)(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),nn(n)}}function en(t,e){var n=qe[e];t&&4===t.readyState&&n&&((t.status<200||t.status>208)&&n.attempts<=1?t.status>=400&&t.status<500?Pn(6):(0===t.status&&(o.upload=o.fallback?o.fallback:o.upload),tn(n.data,null,e)):(Le={sequence:e,attempts:n.attempts,status:t.status},n.attempts>1&&Nn(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],i=a&&a.length>0?a.split(/ (.*)/):[""];switch(i[0]){case"END":Pn(6);break;case"UPGRADE":En("Auto");break;case"ACTION":o.action&&i.length>1&&o.action(i[1]);break;case"EXTRACT":i.length>1&&Xt(i[1]);break;case"SIGNAL":i.length>1&&zt(i[1])}}}(t.responseText),0===t.status&&(tn(n.data,null,e,!0),Pn(3)),t.status>=200&&t.status<=208&&nn(e),delete qe[e]))}function nn(t){1===t&&(ir(),ar())}function rn(t){return at(this,void 0,void 0,(function(){var e,n,r,a,i,o,u,c,l,d,p,h,f;return it(this,(function(v){switch(e=s(),n=[e,t],t){case 8:r=Ue,n.push(r.width),n.push(r.height),N(t,r.width,r.height),Ke(n);break;case 43:if((a=dn).length>0){for(i=0,o=a;i<o.length;i++)for(u=o[i],c=u.metadata.privacy,l=u.data,d=0,p=["tag","attributes","value"];d<p.length;d++)if(l[h=p[d]])switch(h){case"tag":n.push(u.id),u.parent&&n.push(u.parent),u.previous&&n.push(u.previous),n.push(l[h]);break;case"attributes":for(f in l[h])void 0!==l[h][f]&&n.push(an(f,l[h][f],c));break;case"value":n.push(w(l[h],l.tag,c))}Ke(function(t){for(var e=[],n={},r=0,a=null,i=0;i<t.length;i++)if("string"==typeof t[i]){var o=t[i],u=n[o]||-1;u>=0?a?a.push(u):(a=[u],e.push(a),r++):(a=null,e.push(o),n[o]=r++)}else a=null,e.push(t[i]),r++;return e}(n),!0)}}return[2]}))}))}function an(t,e,n){return"".concat(t,"=").concat(w(e,0===t.indexOf("data-")?"data-":t,n))}function on(){Ue=null}function un(){on(),cn()}function cn(){cn.dn=19;var t=document.body,e=document.documentElement,n=t?t.clientWidth:null,r=t?t.scrollWidth:null,a=t?t.offsetWidth:null,i=e?e.clientWidth:null,o=e?e.scrollWidth:null,u=e?e.offsetWidth:null,c=Math.max(n,r,a,i,o,u),s=t?t.clientHeight:null,l=t?t.scrollHeight:null,d=t?t.offsetHeight:null,p=e?e.clientHeight:null,h=e?e.scrollHeight:null,f=e?e.offsetHeight:null,v=Math.max(s,l,d,p,h,f);null!==Ue&&c===Ue.width&&v===Ue.height||null===c||null===v||(Ue={width:c,height:v},rn(8))}function sn(t){!function(t){Tr(t===document?window:t,"scroll",_e,!0)}(t),t.nodeType===Node.DOCUMENT_NODE&&(ae(t),function(t){Tr(t,"submit",Me,!0)}(t))}var ln=Object.freeze({__proto__:null,observe:sn,start:function t(){t.dn=8,Ae=[],De(),ce(),le=!1,Tr(window,"resize",de),de(),Tr(document,"visibilitychange",Pe),Pe(),fe=[],ge(),Ne(),Tr(window,"pagehide",Ie)},stop:function(){Ae=[],De(),ce(),he(),Ye(),J(ve),fe=[],Ne(),Xe()}}),dn=[],pn=1,hn=null;function fn(){yn(),un(),kn(document.documentElement),sn(document)}function vn(){return!1}function gn(){}function mn(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 wn(t){var e={id:0,hash:null,privacy:o.conversions?1:5};return t&&(e.id=hn.has(t)?hn.get(t):kn(t)),e}function yn(){hn=new WeakMap}function bn(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 kn(t){return null===t?null:hn.has(t)?hn.get(t):(hn.set(t,pn),pn++)}function _n(t,e,n){if(t&&n&&n.tag){var r=kn(t),a=e?hn.get(e):null,i=t.previousSibling?hn.get(t.previousSibling):null;dn.push({id:r,parent:a,previous:i,children:[],data:n,selector:null,hash:null,region:null,metadata:{active:!0,suspend:!1,privacy:5,position:null,fraud:null,size:null}})}}var Tn,Sn=Object.freeze({__proto__:null,compute:function(){},get:function(t){return null},hashText:gn,iframe:vn,metadata:wn,offset:function(){return{x:0,y:0}},snapshot:function(){dn=[],function(t){var e=[t];for(;e.length>0;){for(var n=null,r=null,a=null,i=e.shift(),o=i.firstChild,u=i.parentElement?i.parentElement:i.parentNode?i.parentNode:null;o;)e.push(o),o=o.nextSibling;switch(i.nodeType){case Node.DOCUMENT_TYPE_NODE:var c=i;r="*D",n={name:c.name,publicId:c.publicId,systemId:c.systemId};break;case Node.TEXT_NODE:a=i.nodeValue,r=hn.get(u)?"*T":r;break;case Node.ELEMENT_NODE:var s=i;n=bn(s),r=["NOSCRIPT","SCRIPT","STYLE"].indexOf(s.tagName)<0?s.tagName:r}_n(i,u,{tag:r,attributes:n,value:a})}}(document),rn(43)},start:fn,stop:function(){yn(),on()},target:mn,get values(){return dn}}),xn=null;function On(){!o.lean&&o.upgrade&&o.upgrade("Config"),xn=null}function En(t){Cr()&&o.lean&&(o.lean=!1,xn={key:t},ar(),ir(),o.upgrade&&o.upgrade(t),Nn(3),o.lite&&fn())}function Mn(){xn=null}function Nn(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),e.push(n.data.scrollTime),e.push(n.data.pointerTime),e.push(n.data.moveX),e.push(n.data.moveY),e.push(n.data.moveTime),e.push(n.data.downX),e.push(n.data.downY),e.push(n.data.downTime),e.push(n.data.upX),e.push(n.data.upY),e.push(n.data.upTime),e.push(n.data.pointerPrevX),e.push(n.data.pointerPrevY),e.push(n.data.pointerPrevTime),Ke(e,!1)),M();break;case 25:e.push(z.gap),Ke(e);break;case 35:e.push(Tn.check),Ke(e,!1);break;case 3:e.push(xn.key),Ke(e);break;case 2:e.push(Le.sequence),e.push(Le.attempts),e.push(Le.status),Ke(e,!1);break;case 24:H.key&&e.push(H.key),e.push(H.value),Ke(e);break;case 34:var r=Object.keys(st);if(r.length>0){for(var a=0,i=r;a<i.length;a++){var o=i[a];e.push(o),e.push(st[o])}ft(),Ke(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],p=parseInt(d,10);e.push(p),e.push(Math.round(R[d]))}R={},Ke(e,!1)}break;case 1:var h=Object.keys(Cn);if(h.length>0){for(var f=0,v=h;f<v.length;f++){var g=v[f];p=parseInt(g,10);e.push(p),e.push(Cn[g])}Rn(),Ke(e,!1)}break;case 36:var m=Object.keys(tt);if(m.length>0){for(var w=0,y=m;w<y.length;w++){var b=y[w];p=parseInt(b,10);e.push(p),e.push([].concat.apply([],tt[b]))}nt(),Ke(e,!1)}break;case 40:Ot.forEach((function(t){e.push(t);var n=[];for(var r in xt[t]){var a=parseInt(r,10);n.push(a),n.push(xt[t][r])}e.push(n)})),jt(),Ke(e,!1);case 47:e.push(j.source),e.push(j.ad_Storage),e.push(j.analytics_Storage),Ke(e)}}function In(){Tn={check:0}}function Xn(t){if(0===Tn.check){var e=Tn.check;e=vr.sequence>=128?1:e,e=vr.pageNum>=128?7:e,e=s()>72e5?2:e,(e=t>10485760?2:e)!==Tn.check&&Pn(e)}}function Pn(t){Tn.check=t,5!==t&&(rr(),qr())}function Yn(){0!==Tn.check&&Nn(35)}function jn(){Tn=null}var An=null,Cn=null,Dn=!1;function Hn(){An={},Cn={},Dn=!1}function Wn(){An={},Cn={},Dn=!1}function zn(t,e){if(e&&(e="".concat(e),t in An||(An[t]=[]),An[t].indexOf(e)<0)){if(An[t].length>128)return void(Dn||(Dn=!0,Pn(5)));An[t].push(e),t in Cn||(Cn[t]=[]),Cn[t].push(e)}}function qn(){Nn(1)}function Rn(){Cn={},Dn=!1}var Ln=null,Un=[],Fn=0,Vn=null,Jn=null,Bn={ad_Storage:"denied",analytics_Storage:"denied"};function Zn(){var t,e,n;Vn=null;var r=navigator&&"userAgent"in navigator?navigator.userAgent:"",a=null!==(n=null===(e=null===(t=null===Intl||void 0===Intl?void 0:Intl.DateTimeFormat())||void 0===t?void 0:t.resolvedOptions())||void 0===e?void 0:e.timeZone)&&void 0!==n?n:"",i=(new Date).getTimezoneOffset().toString(),u=window.location.ancestorOrigins?Array.from(window.location.ancestorOrigins).toString():"",c=document&&document.title?document.title:"";Fn=r.indexOf("Electron")>0?1:0;var s=function(){var t={session:cr(),ts:Math.round(Date.now()),count:1,upgrade:null,upload:""},e=dr("_clsk",!o.includeSubdomains);if(e){var n=e.includes("^")?e.split("^"):e.split("|");n.length>=5&&t.ts-sr(n[1])<18e5&&(t.session=n[0],t.count=sr(n[2])+1,t.upgrade=sr(n[3]),t.upload=n.length>=6?"".concat("https://").concat(n[5],"/").concat(n[4]):"".concat("https://").concat(n[4]))}return t}(),l=lr(),p=o.projectId||d(location.host);Ln={projectId:p,userId:l.id,sessionId:s.session,pageNum:s.count},o.lean=o.track&&null!==s.upgrade?0===s.upgrade:o.lean,o.upload=o.track&&"string"==typeof o.upload&&s.upload&&s.upload.length>"https://".length?s.upload:o.upload,zn(0,r),zn(3,c),zn(1,y(location.href,!!Fn)),zn(2,document.referrer),zn(15,function(){var t=cr();if(o.track&&or(window,"sessionStorage")){var e=sessionStorage.getItem("_cltk");t=e||t,sessionStorage.setItem("_cltk",t)}return t}()),zn(16,document.documentElement.lang),zn(17,document.dir),zn(26,"".concat(window.devicePixelRatio)),zn(28,l.dob.toString()),zn(29,l.version.toString()),zn(33,u),zn(34,a),zn(35,i),F(0,s.ts),F(1,0),F(35,Fn);var h,f=null===window||void 0===window?void 0:window.Zone;f&&"__symbol__"in f&&F(39,1),navigator&&(zn(9,navigator.language),F(33,navigator.hardwareConcurrency),F(32,navigator.maxTouchPoints),F(34,Math.round(navigator.deviceMemory)),(h=navigator.userAgentData)&&h.getHighEntropyValues?h.getHighEntropyValues(["model","platform","platformVersion","uaFullVersion"]).then((function(t){var e;zn(22,t.platform),zn(23,t.platformVersion),null===(e=t.brands)||void 0===e||e.forEach((function(t){zn(24,t.name+"~"+t.version)})),zn(25,t.model),F(27,t.mobile?1:0)})):zn(22,navigator.platform)),screen&&(F(14,Math.round(screen.width)),F(15,Math.round(screen.height)),F(16,Math.round(screen.colorDepth)));for(var v=0,g=o.cookies;v<g.length;v++){var m=g[v],w=dr(m);w&<(m,w)}!function(t){D(t.analytics_Storage?1:0),j=t}(er(Jn={ad_Storage:o.track?"granted":"denied",analytics_Storage:o.track?"granted":"denied"},0)),ur(l)}function Gn(){Vn=null,Ln=null,Jn=null,Un.forEach((function(t){t.called=!1}))}function Kn(t,e,n,r){void 0===e&&(e=!0),void 0===n&&(n=!1),void 0===r&&(r=!1);var a=o.lean?0:1,i=!1;Ln&&(a||!1===e)&&(t(Ln,!o.lean,r?Jn:void 0),i=!0),!n&&i||Un.push({callback:t,wait:e,recall:n,called:i,consentInfo:r})}function Qn(){return Ln?[Ln.userId,Ln.sessionId,Ln.pageNum].join("."):""}function $n(t){void 0===t&&(t=!0),t?(tr({ad_Storage:"granted",analytics_Storage:"granted"}),C()):tr()}function tr(t,e){void 0===t&&(t=Bn),void 0===e&&(e=1),Jn={ad_Storage:nr(t.ad_Storage),analytics_Storage:nr(t.analytics_Storage)},ar(!0);var n=er(Jn,e);if(!n.analytics_Storage)return o.track=!1,hr("_clsk","",-Number.MAX_VALUE),hr("_clck","",-Number.MAX_VALUE),qr(),void window.setTimeout(zr,250);Cr()&&(o.track=!0,ur(lr(),1),ir(),function(t){j=t,Nn(47)}(n),C())}function er(t,e){return{source:e,ad_Storage:"granted"===t.ad_Storage?1:0,analytics_Storage:"granted"===t.analytics_Storage?1:0}}function nr(t){return"string"==typeof t?t.toLowerCase():"denied"}function rr(){hr("_clsk","",0)}function ar(t){void 0===t&&(t=!1),function(t,e){void 0===e&&(e=!1);if(Un.length>0)for(var n=0;n<Un.length;n++){var r=Un[n];r.callback&&(!r.called&&!e||r.consentInfo&&e)&&(!r.wait||t)&&(r.callback(Ln,!o.lean,r.consentInfo?Jn:void 0),r.called=!0,r.recall||(Un.splice(n,1),n--))}}(o.lean?0:1,t)}function ir(){if(Ln&&o.track){var t=Math.round(Date.now()),e=o.upload&&"string"==typeof o.upload?o.upload.replace("https://",""):"",n=o.lean?0:1;hr("_clsk",[Ln.sessionId,t,Ln.pageNum,n,e].join("|"),1)}}function or(t,e){try{return!!t[e]}catch(t){return!1}}function ur(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===o.dob?0:o.dob:t.dob;(null===t.expiry||Math.abs(n-t.expiry)>=1||t.consent!==e||t.dob!==r)&&hr("_clck",[Ln.userId,2,n.toString(36),e,r].join("|"),365)}function cr(){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 sr(t,e){return void 0===e&&(e=10),parseInt(t,e)}function lr(){var t={id:cr(),version:0,expiry:null,consent:0,dob:0},e=dr("_clck",!o.includeSubdomains);if(e&&e.length>0){var n=e.includes("^")?e.split("^"):e.split("|");n.length>1&&(t.version=sr(n[1])),n.length>2&&(t.expiry=sr(n[2],36)),n.length>3&&1===sr(n[3])&&(t.consent=1),n.length>4&&sr(n[1])>1&&(t.dob=sr(n[4])),o.track=o.track||1===t.consent,t.id=o.track?n[0]:t.id}return t}function dr(t,e){var n;if(void 0===e&&(e=!1),or(document,"cookie")){var r=document.cookie.split(";");if(r)for(var a=0;a<r.length;a++){var i=r[a].split("=");if(i.length>1&&i[0]&&i[0].trim()===t){for(var o=pr(i[1]),u=o[0],c=o[1];u;)u=(n=pr(c))[0],c=n[1];return e?c.endsWith("".concat("~","1"))?c.substring(0,c.length-2):null:c}}}return null}function pr(t){try{var e=decodeURIComponent(t);return[e!=t,e]}catch(t){}return[!1,t]}function hr(t,e,n){if((o.track||""==e)&&(navigator&&navigator.cookieEnabled||or(document,"cookie"))){var r=function(t){return encodeURIComponent(t)}(e),a=new Date;a.setDate(a.getDate()+n);var i=a?"expires="+a.toUTCString():"",u="".concat(t,"=").concat(r).concat(";").concat(i).concat(";path=/");try{if(null===Vn){for(var c=location.hostname?location.hostname.split("."):[],s=c.length-1;s>=0;s--)if(Vn=".".concat(c[s]).concat(Vn||""),s<c.length-1&&(document.cookie="".concat(u).concat(";").concat("domain=").concat(Vn),dr(t)===e))return;Vn=""}}catch(t){Vn=""}document.cookie=Vn?"".concat(u).concat(";").concat("domain=").concat(Vn):u}}var fr,vr=null;function gr(){var t=Ln;vr={version:l,sequence:0,start:0,duration:0,projectId:t.projectId,userId:t.userId,sessionId:t.sessionId,pageNum:t.pageNum,upload:0,end:0,applicationPlatform:0,url:""}}function mr(){vr=null}function wr(t){return vr.start=vr.start+vr.duration,vr.duration=s()-vr.start,vr.sequence++,vr.upload=t&&"sendBeacon"in navigator?1:0,vr.end=t?1:0,vr.applicationPlatform=0,vr.url=y(location.href,!1,!0),[vr.version,vr.sequence,vr.start,vr.duration,vr.projectId,vr.userId,vr.sessionId,vr.pageNum,vr.upload,vr.end,vr.applicationPlatform,vr.url]}function yr(){fr=[]}function br(t){if(fr&&-1===fr.indexOf(t.message)){var e=o.report;if(e&&e.length>0&&vr){var n={v:vr.version,p:vr.projectId,u:vr.userId,s:vr.sessionId,n:vr.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)),fr.push(t.message)}}return t}function kr(t){return function(){var e=performance.now();try{t.apply(this,arguments)}catch(t){throw br(t)}var n=performance.now()-e;U(4,n),n>30&&(L(7),F(6,n),St(9,0,"".concat(t.dn||t.name,"-").concat(n)))}}var _r=new Map;function Tr(t,e,n,r,a){void 0===r&&(r=!1),void 0===a&&(a=!0),n=kr(n);try{t[u("addEventListener")](e,n,{capture:r,passive:a}),function(t){return _r.has(t)}(t)||_r.set(t,[]),_r.get(t).push({event:e,listener:n,options:{capture:r,passive:a}})}catch(t){}}function Sr(){_r.forEach((function(t,e){!function(t,e){t.forEach((function(t){try{e[u("removeEventListener")](t.event,t.listener,{capture:t.options.capture,passive:t.options.passive})}catch(t){}})),_r.delete(e)}(t,e)})),_r=new Map}var xr=null,Or=null,Er=null,Mr=0;function Nr(){return!(Mr++>20)||(St(4,0),!1)}function Ir(){Ir.dn=1,Mr=0,Er!==Pr()&&(qr(),window.setTimeout(Xr,250))}function Xr(){zr(),F(29,1)}function Pr(){return location.href?location.href.replace(location.hash,""):location.href}var Yr=!1;function jr(){Yr=!0,c=performance.now()+performance.timeOrigin,Qt(),Sr(),yr(),Er=Pr(),Mr=0,Tr(window,"popstate",Ir),null===xr&&(xr=history.pushState,history.pushState=function(){xr.apply(this,arguments),Cr()&&Nr()&&Ir()}),null===Or&&(Or=history.replaceState,history.replaceState=function(){Or.apply(this,arguments),Cr()&&Nr()&&Ir()})}function Ar(){Er=null,Mr=0,yr(),Sr(),Qt(),c=0,Yr=!1}function Cr(){return Yr}function Dr(){Dr.dn=2,zr(),W("clarity","restart")}var Hr=Object.freeze({__proto__:null,start:function t(){t.dn=3,function(){F(26,navigator.webdriver?1:0);try{F(31,window.top==window.self||window.top==window?1:2)}catch(t){F(31,0)}}(),Tr(window,"error",bt),yt={},Tt={}},stop:function(){Tt={}}}),Wr=[Hr,Sn,ln,Jt];function zr(t){void 0===t&&(t=null),function(){try{var t=navigator&&"globalPrivacyControl"in navigator&&1==navigator.globalPrivacyControl;return!1===Yr&&"undefined"!=typeof Promise&&window.MutationObserver&&document.createTreeWalker&&"now"in Date&&"now"in performance&&"undefined"!=typeof WeakMap&&!t}catch(t){return!1}}()&&(!function(t){if(null===t||Yr)return!1;for(var e in t)e in o&&(o[e]=t[e])}(t),jr(),Rt(),Wr.forEach((function(t){return kr(t.start)()})),null===t&&Fr())}function qr(){Cr()&&(Wr.slice().reverse().forEach((function(t){return kr(t.stop)()})),Lt(),Ar(),void 0!==Lr&&(Lr[Ur]=function(){(Lr[Ur].q=Lr[Ur].q||[]).push(arguments),"start"===arguments[0]&&Lr[Ur].q.unshift(Lr[Ur].q.pop())&&Fr()}))}var Rr=Object.freeze({__proto__:null,consent:$n,consentv2:tr,event:W,hashText:gn,identify:dt,metadata:Kn,pause:function(){Cr()&&(W("clarity","pause"),null===Gt&&(Gt=new Promise((function(t){Kt=t}))))},resume:function(){Cr()&&(Gt&&(Kt(),Gt=null,null===Zt&&te()),W("clarity","resume"))},set:lt,signal:function(t){Wt=t},start:zr,stop:qr,upgrade:En,version:l}),Lr=window,Ur="clarity";function Fr(){if(void 0!==Lr){if(Lr[Ur]&&Lr[Ur].v)return console.warn("Error CL001: Multiple Clarity tags detected.");var t=Lr[Ur]&&Lr[Ur].q||[];for(Lr[Ur]=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return Rr[t].apply(Rr,e)},Lr[Ur].v=l;t.length>0;)Lr[Ur].apply(Lr,t.shift())}}Fr()}();
|
|
1
|
+
!function(){"use strict";var t=Object.freeze({__proto__:null,get queue(){return Ke},get start(){return Ge},get stop(){return Qe},get track(){return Le}}),e=Object.freeze({__proto__:null,get data(){return xn},get start(){return On},get stop(){return Mn},get upgrade(){return En}}),n=Object.freeze({__proto__:null,get check(){return Xn},get compute(){return Yn},get data(){return Tn},get start(){return In},get stop(){return jn},get trigger(){return Pn}}),r=Object.freeze({__proto__:null,get compute(){return qn},get data(){return An},get log(){return zn},get reset(){return Rn},get start(){return Hn},get stop(){return Wn},get updates(){return Cn}}),a=Object.freeze({__proto__:null,get callback(){return ar},get callbacks(){return Un},get clear(){return rr},get consent(){return $n},get consentv2(){return tr},get data(){return Ln},get electron(){return Fn},get id(){return Qn},get metadata(){return Kn},get save(){return ir},get shortid(){return cr},get start(){return Zn},get stop(){return Gn}}),i=Object.freeze({__proto__:null,get data(){return vr},get envelope(){return wr},get start(){return gr},get stop(){return mr}}),o={projectId:null,delay:1e3,lean:!1,lite:!1,track:!0,content:!0,drop:[],mask:[],unmask:[],regions:[],cookies:[],fraud:!0,checksum:[],report:null,upload:null,fallback:null,upgrade:null,action:null,dob:null,delayDom:!1,throttleDom:!0,conversions:!1,includeSubdomains:!0};function u(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(),n=t&&t.view?t.view.performance.timeOrigin:performance.timeOrigin;return Math.max(Math.round(e+n-c),0)}var l="0.8.18";function d(t,e){void 0===e&&(e=null);for(var n,r=5381,a=r,i=0;i<t.length;i+=2){if(r=(r<<5)+r^t.charCodeAt(i),i+1<t.length)a=(a<<5)+a^t.charCodeAt(i+1)}return n=Math.abs(r+11579*a),(e?n%Math.pow(2,e):n).toString(36)}var p=/\S/gi,f=255,h=!0,v=null,g=null,m=null;function w(t,e,n,r,a){if(void 0===r&&(r=!1),t){if("input"==e&&("checkbox"===a||"radio"===a))return 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,i=!1,o=null;S();for(var u=0;u<t.length;u++){var c=t.charCodeAt(u);if(r=r||c>=48&&c<=57,a=a||64===c,i=9===c||10===c||13===c||32===c,0===u||u===t.length-1||i){if(r||a){null===o&&(o=t.split(""));var s=t.substring(e+1,i?u:u+1);s=h&&null!==m?s.match(m)?s:_(s,"▪","▫"):k(s),o.splice(e+1-n,s.length,s),n+=s.length-1}i&&(r=!1,a=!1,e=u)}}return o?o.join(""):t}(t);case"input":case"change":return T(t)}return t;case 2:case 3:switch(e){case"*T":case"data-":return r?b(t):k(t);case"src":case"srcset":case"title":case"alt":return 3===n?"src"===e&&(null==t?void 0:t.startsWith("blob:"))?"blob:":"":t;case"value":case"click":case"input":case"change":return T(t);case"placeholder":return k(t)}break;case 4:switch(e){case"*T":case"data-":return r?b(t):k(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 _(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 y(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=!1);var r=t;if(e)r="".concat("https://").concat("Electron");else{var a=o.drop;if(a&&a.length>0&&t&&t.indexOf("?")>0){var i=t.split("?"),u=i[0],c=i[1];r=u+"?"+c.split("&").map((function(t){return a.some((function(e){return 0===t.indexOf("".concat(e,"="))}))?"".concat(t.split("=")[0],"=").concat("*na*"):t})).join("&")}}return n&&(r=r.substring(0,f)),r}function b(t){var e=t.trim();if(e.length>0){var n=e[0],r=t.indexOf(n),a=t.substr(0,r),i=t.substr(r+e.length);return"".concat(a).concat(e.length.toString(36)).concat(i)}return t}function k(t){return t.replace(p,"•")}function _(t,e,n){return S(),t?t.replace(g,e).replace(v,n):t}function T(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 S(){if(h&&null===v)try{v=new RegExp("\\p{N}","gu"),g=new RegExp("\\p{L}","gu"),m=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,scrollTime:O.scrollTime,pointerTime:O.pointerTime,moveX:O.moveX,moveY:O.moveY,moveTime:O.moveTime,downX:O.downX,downY:O.downY,downTime:O.downTime,upX:O.upX,upY:O.upY,upTime:O.upTime,pointerPrevX:O.pointerPrevX,pointerPrevY:O.pointerPrevY,pointerPrevTime:O.pointerPrevTime}}),O=O||{visible:1,docWidth:0,docHeight:0,screenWidth:0,screenHeight:0,scrollX:0,scrollY:0,pointerX:0,pointerY:0,activityTime:0,scrollTime:0,pointerTime:void 0,moveX:void 0,moveY:void 0,moveTime:void 0,downX:void 0,downY:void 0,downTime:void 0,upX:void 0,upY:void 0,upTime:void 0,pointerPrevX:void 0,pointerPrevY:void 0,pointerPrevTime:void 0}}function N(t,e,n,r){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,O.scrollTime=r;break;case 12:O.moveX=e,O.moveY=n,O.moveTime=r,O.pointerPrevX=O.pointerX,O.pointerPrevY=O.pointerY,O.pointerPrevTime=O.pointerTime,O.pointerX=e,O.pointerY=n,O.pointerTime=r;break;case 13:O.downX=e,O.downY=n,O.downTime=r,O.pointerPrevX=O.pointerX,O.pointerPrevY=O.pointerY,O.pointerPrevTime=O.pointerTime,O.pointerX=e,O.pointerY=n,O.pointerTime=r;break;case 14:O.upX=e,O.upY=n,O.upTime=r,O.pointerPrevX=O.pointerX,O.pointerPrevY=O.pointerY,O.pointerPrevTime=O.pointerTime,O.pointerX=e,O.pointerY=n,O.pointerTime=r;break;default:O.pointerPrevX=O.pointerX,O.pointerPrevY=O.pointerY,O.pointerPrevTime=O.pointerTime,O.pointerX=e,O.pointerY=n,O.pointerTime=r}E=!0}function I(t){O.activityTime=t}function X(t,e){O.visible="visible"===e?1:0,O.visible||I(t),E=!0}function P(){E&&Nn(4)}var Y=Object.freeze({__proto__:null,activity:I,compute:P,reset:M,start:function(){E=!1,M()},get state(){return x},stop:function(){M()},track:N,visibility:X}),j=null,A=!0;function C(){D(2)}function D(t){zn(36,t.toString())}var H=null;function W(t,e){Cr()&&t&&"string"==typeof t&&t.length<255&&(H=e&&"string"==typeof e&&e.length<255?{key:t,value:e}:{value:t},Nn(24))}var z,q=null,R=null;function L(t){t in q||(q[t]=0),t in R||(R[t]=0),q[t]++,R[t]++}function U(t,e){null!==e&&(t in q||(q[t]=0),t in R||(R[t]=0),q[t]+=e,R[t]+=e)}function F(t,e){null!==e&&!1===isNaN(e)&&(t in q||(q[t]=0),(e>q[t]||0===q[t])&&(R[t]=e,q[t]=e))}function V(t,e,n){return window.setTimeout(kr(t),e,n)}function J(t){return window.clearTimeout(t)}var B=0,Z=0,G=null;function K(){G&&J(G),G=V(Q,Z),B=s()}function Q(){var t=s();z={gap:t-B},Nn(25),z.gap<3e5?G=V(Q,Z):Yr&&(W("clarity","suspend"),qr(),["mousemove","touchstart"].forEach((function(t){return Tr(document,t,Dr)})),["resize","scroll","pageshow"].forEach((function(t){return Tr(window,t,Dr)})))}var $=Object.freeze({__proto__:null,get data(){return z},reset:K,start:function(){Z=6e4,B=0},stop:function(){J(G),B=0,Z=0}}),tt=null;function et(){Nn(36)}function nt(){tt={}}var rt=Object.freeze({__proto__:null,compute:et,get data(){return tt},reset:nt,start:function(){tt={}},stop:function(){tt={}},track:function(t,e){if(t in tt){var n=tt[t],r=n[n.length-1];e-r[0]>100?tt[t].push([e,0]):r[1]=e-r[0]}else tt[t]=[[e,0]]}});function at(t,e,n,r){return new(n||(n=Promise))((function(a,i){function o(t){try{c(r.next(t))}catch(t){i(t)}}function u(t){try{c(r.throw(t))}catch(t){i(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(o,u)}c((r=r.apply(t,e||[])).next())}))}function it(t,e){var n,r,a,i,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(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,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 o.label++,{value:u[1],done:!1};case 5:o.label++,r=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(!(a=o.trys,(a=a.length>0&&a[a.length-1])||6!==u[0]&&2!==u[0])){o=0;continue}if(3===u[0]&&(!a||u[1]>a[0]&&u[1]<a[3])){o.label=u[1];break}if(6===u[0]&&o.label<a[1]){o.label=a[1],a=u;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(u);break}a[2]&&o.ops.pop(),o.trys.pop();continue}u=e.call(t,o)}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 ot="CompressionStream"in window;function ut(t){return at(this,void 0,void 0,(function(){var e,n;return it(this,(function(r){switch(r.label){case 0:return r.trys.push([0,3,,4]),ot?(e=new ReadableStream({start:function(e){return at(this,void 0,void 0,(function(){return it(this,(function(n){return e.enqueue(t),e.close(),[2]}))}))}}).pipeThrough(new TextEncoderStream).pipeThrough(new window.CompressionStream("gzip")),n=Uint8Array.bind,[4,ct(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 ct(t){return at(this,void 0,void 0,(function(){var e,n,r,a,i;return it(this,(function(o){switch(o.label){case 0:e=t.getReader(),n=[],r=!1,a=[],o.label=1;case 1:return r?[3,3]:[4,e.read()];case 2:return i=o.sent(),r=i.done,a=i.value,r?[2,n]:(n.push.apply(n,a),[3,1]);case 3:return[2,n]}}))}))}var st=null;function lt(t,e){pt(t,"string"==typeof e?[e]:e)}function dt(t,e,n,r){return void 0===e&&(e=null),void 0===n&&(n=null),void 0===r&&(r=null),at(this,void 0,void 0,(function(){var a,i;return it(this,(function(o){switch(o.label){case 0:return i={},[4,vt(t)];case 1:return i.userId=o.sent(),i.userHint=r||((u=t)&&u.length>=5?"".concat(u.substring(0,2)).concat(_(u.substring(2),"*","*")):_(u,"*","*")),pt("userId",[(a=i).userId]),pt("userHint",[a.userHint]),pt("userType",[gt(t)]),e&&(pt("sessionId",[e]),a.sessionId=e),n&&(pt("pageId",[n]),a.pageId=n),[2,a]}var u}))}))}function pt(t,e){if(Cr()&&t&&e&&"string"==typeof t&&t.length<255){for(var n=(t in st?st[t]:[]),r=0;r<e.length;r++)"string"==typeof e[r]&&e[r].length<255&&n.push(e[r]);st[t]=n}}function ft(){Nn(34)}function ht(){st={}}function vt(t){return at(this,void 0,void 0,(function(){var e;return it(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 gt(t){return t&&t.indexOf("@")>0?"email":"string"}var mt=Object.freeze({__proto__:null,compute:ft,get data(){return st},identify:dt,reset:ht,set:lt,start:function(){ht()},stop:function(){ht()}});var wt,yt={};function bt(t){bt.dn=4;var e=t.error||t;return e.message in yt||(yt[e.message]=0),yt[e.message]++>=5||e&&e.message&&(wt={message:e.message,line:t.lineno,column:t.colno,stack:e.stack,source:t.filename},kt(31)),!0}function kt(t){return at(this,void 0,void 0,(function(){var e;return it(this,(function(n){switch(e=[s(),t],t){case 31:e.push(wt.message),e.push(wt.line),e.push(wt.column),e.push(wt.stack),e.push(y(wt.source)),Ke(e);break;case 33:_t&&(e.push(_t.code),e.push(_t.name),e.push(_t.message),e.push(_t.stack),e.push(_t.severity),Ke(e,!1))}return[2]}))}))}var _t,Tt={};function St(t,e,n,r,a){void 0===n&&(n=null),void 0===r&&(r=null),void 0===a&&(a=null);var i=n?"".concat(n,"|").concat(r):"";t in Tt&&Tt[t].indexOf(i)>=0||(_t={code:t,name:n,message:r,stack:a,severity:e},t in Tt?Tt[t].push(i):Tt[t]=[i],kt(33))}var xt={},Ot=new Set,Et={},Mt={},Nt={},It={};function Xt(t){try{var e=t&&t.length>0?t.split(/ (.*)/):[""],n=e[0].split(/\|(.*)/),r=parseInt(n[0]),a=n.length>1?n[1]:"",i=e.length>1?JSON.parse(e[1]):{};for(var o in Et[r]={},Mt[r]={},Nt[r]={},It[r]=a,i){var u=parseInt(o),c=i[o],s=2;switch(c.startsWith("~")?s=0:c.startsWith("!")&&(s=4),s){case 0:var l=c.slice(1);Et[r][u]=Ct(l);break;case 2:Mt[r][u]=c;break;case 4:var d=c.slice(1);Nt[r][u]=d}}}catch(t){St(8,1,t?t.name:null)}}function Pt(t){return JSON.parse(JSON.stringify(t))}function Yt(){try{for(var t in Et){var e=parseInt(t);if(""==It[e]||document.querySelector(It[e])){var n=Et[e];for(var r in n){var a=parseInt(r),i=(m=Dt(Pt(n[a])))?JSON.stringify(m).slice(0,1e4):m;i&&At(e,a,i)}var o=Mt[e];for(var u in o){var c=!1,s=parseInt(u),l=o[s];l.startsWith("@")&&(c=!0,l=l.slice(1));var p=document.querySelectorAll(l);if(p){var f=Array.from(p).map((function(t){return t.textContent})).join("<SEP>");At(e,s,(c?d(f).trim():f).slice(0,1e4))}}var h=Nt[e];for(var v in h){var g=parseInt(v);At(e,g,(void h[g]).trim().slice(0,1e4))}}}Ot.size>0&&Nn(40)}catch(t){St(5,1,t?t.name:null)}var m}function jt(){Ot.clear()}function At(t,e,n){var r,a=!1;t in xt||(xt[t]={},a=!0),r=Nt[t],0==Object.keys(r).length||e in xt[t]&&xt[t][e]==n||(a=!0),xt[t][e]=n,a&&Ot.add(t)}function Ct(t){for(var e=[],n=t.split(".");n.length>0;){var r=n.shift(),a=r.indexOf("["),i=r.indexOf("{"),o=r.indexOf("}");e.push({name:a>0?r.slice(0,a):i>0?r.slice(0,i):r,type:a>0?1:i>0?2:3,condition:i>0?r.slice(i+1,o):null})}return e}function Dt(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&&Ht(a,r.condition))n=Dt(t,a);else if(Array.isArray(a)){for(var i=[],o=0,u=a;o<u.length;o++){var c=u[o];if(Ht(c,r.condition)){var s=Dt(t,c);s&&i.push(s)}}n=i}return n}return null}function Ht(t,e){if(e){var n=e.split(":");return n.length>1?t[n[0]]==n[1]:t[n[0]]}return!0}var Wt=null;function zt(t){try{if(!Wt)return;var e=function(t){try{return JSON.parse(t)}catch(t){return[]}}(t);e.forEach((function(t){Wt(t)}))}catch(t){}}var qt=[Y,r,mt,n,rt,a,i,t,$,e,Object.freeze({__proto__:null,clone:Pt,compute:Yt,data:xt,keys:Ot,reset:jt,start:function(){jt()},stop:function(){jt()},trigger:Xt,update:At})];function Rt(){q={},R={},L(5),qt.forEach((function(t){return kr(t.start)()}))}function Lt(){qt.slice().reverse().forEach((function(t){return kr(t.stop)()})),q={},R={}}function Ut(){ft(),P(),qn(),Nn(0),et(),Yn(),Yt(),A&&(Nn(47),A=!1)}var Ft=[],Vt=null;var Jt=Object.freeze({__proto__:null,checkDocumentStyles:function(t){},compute:function(){},data:Vt,log:function(){},observe:function(){},reset:function(){},sheetAdoptionState:[],sheetUpdateState:[],start:function(){},state:Ft,stop:function(){}}),Bt=[],Zt=null,Gt=null,Kt=null;function Qt(){Bt=[],Zt=null,Gt=null}function $t(t,e){return void 0===e&&(e=0),at(this,void 0,void 0,(function(){var n,r,a;return it(this,(function(i){for(n=0,r=Bt;n<r.length;n++)if(r[n].task===t)return[2];return a=new Promise((function(n){Bt[1===e?"unshift":"push"]({task:t,resolve:n,id:Qn()})})),null===Zt&&null===Gt&&te(),[2,a]}))}))}function te(){var t=Bt.shift();t&&(Zt=t,t.task().then((function(){t.id===Qn()&&(t.resolve(),Zt=null,te())})).catch((function(e){t.id===Qn()&&(e&&St(0,1,e.name,e.message,e.stack),Zt=null,te())})))}var ee,ne=["input","textarea","radio","button","canvas","select"],re=[];function ae(t){Tr(t,"click",ie.bind(this,9,t),!0)}function ie(t,e,n){ie.dn=6;var r=document.documentElement,a="pageX"in n?Math.round(n.pageX):"clientX"in n?Math.round(n.clientX+r.scrollLeft):null,i="pageY"in n?Math.round(n.pageY):"clientY"in n?Math.round(n.clientY+r.scrollTop):null,o=mn(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}(o),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}(o);0===n.detail&&c&&(a=Math.round(c.x+c.w/2),i=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((i-c.y)/c.h*32767),0):0;if(null!==a&&null!==i){var p=function(t){var e=null,n=!1;if(t){var r=t.textContent||String(t.value||"")||t.alt;if(r){var a=r.replace(/\s+/g," ").trim();n=(e=a.substring(0,25)).length===a.length}}return{text:e,isFullText:n?1:0}}(o);re.push({time:s(n),event:t,data:{target:o,x:a,y:i,eX:l,eY:d,button:n.button,reaction:oe(o),context:ue(u),text:p.text,link:u?u.href:null,hash:null,trust:n.isTrusted?1:0,isFullText:p.isFullText}}),$t(je.bind(this,t))}}function oe(t){if(t.nodeType===Node.ELEMENT_NODE){var e=t.tagName.toLowerCase();if(ne.indexOf(e)>=0)return 0}return 1}function ue(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 ce(){re=[]}var se=null,le=!1;function de(){de.dn=12;var t=document.documentElement;ee={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},le?(J(se),se=V(pe,500,11)):(je(11),le=!0)}function pe(t){$t(je.bind(this,t))}function fe(){ee=null,J(se)}var he=[],ve=null;function ge(t){void 0===t&&(t=null),ge.dn=13;var e=window,n=document.documentElement,r=t?mn(t):n;if(r){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),i=r===n&&"pageYOffset"in e?Math.round(e.pageYOffset):Math.round(r.scrollTop),o=window.innerWidth,u=window.innerHeight,c=o/3,l=o>u?.15*u:.2*u,d=u-l,p=Te(c,l),f=Te(c,d),h={time:s(t),event:10,data:{target:r,x:a,y:i,top:p,bottom:f}};if((null!==t||0!==a||0!==i)&&null!==a&&null!==i){var v=he.length,g=v>1?he[v-2]:null;g&&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<50}(g,h)&&he.pop(),he.push(h),J(ve),ve=V(Se,500,10)}}}var me,we,ye,be,ke,_e=(me=ge,we=25,ye=0,be=null,ke=null,function(){for(var t=this,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=performance.now(),a=r-ye;if(0!==ye&&a<we){if(ke=e,be)return;be=setTimeout((function(){ye=performance.now(),me.apply(t,ke),ke=null,be=null}),we-a)}else ye=r,me.apply(this,e)});function Te(t,e){var n,r,a;return"caretPositionFromPoint"in document?a=null===(n=document.caretPositionFromPoint(t,e))||void 0===n?void 0:n.offsetNode:"caretRangeFromPoint"in document&&(a=null===(r=document.caretRangeFromPoint(t,e))||void 0===r?void 0:r.startContainer),a||(a=document.elementFromPoint(t,e)),a&&a.nodeType===Node.TEXT_NODE&&(a=a.parentNode),a}function Se(t){$t(je.bind(this,t))}var xe,Oe,Ee=[];function Me(t){Me.dn=16,Ee.push({time:s(t),event:39,data:{target:mn(t)}}),$t(je.bind(this,39))}function Ne(){Ee=[]}function Ie(t){Ie.dn=17,xe={name:t.type,persisted:t.persisted?1:0},je(26,s(t)),qr()}function Xe(){xe=null}function Pe(t){void 0===t&&(t=null),Pe.dn=18,Oe={visible:"visibilityState"in document?document.visibilityState:"default"},je(28,s(t))}function Ye(){Oe=null}function je(t,e){return void 0===e&&(e=null),at(this,void 0,void 0,(function(){var n,r,a,i,o,u,c,l,d,p,f,h,v,g,m,b,k,_,T,S,x,O,E,M,I,P,Y,j,A,C,D,H,W,z,q;return it(this,(function(R){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,i=Ft;a<i.length;a++)z=i[a],(o=wn(z.data.target,z.event)).id>0&&((r=[z.time,z.event]).push(o.id),r.push(z.data.x),r.push(z.data.y),void 0!==z.data.id&&(r.push(z.data.id),void 0!==z.data.isPrimary&&r.push(z.data.isPrimary.toString())),Ke(r),(void 0===z.data.isPrimary||z.data.isPrimary)&&N(z.event,z.data.x,z.data.y,z.time));break;case 9:for(u=0,c=re;u<c.length;u++)z=c[u],l=wn(z.data.target,z.event,z.data.text),r=[z.time,z.event],d=l.hash?l.hash.join("."):"",r.push(l.id),r.push(z.data.x),r.push(z.data.y),r.push(z.data.eX),r.push(z.data.eY),r.push(z.data.button),r.push(z.data.reaction),r.push(z.data.context),r.push(w(z.data.text,"click",l.privacy)),r.push(y(z.data.link)),r.push(d),r.push(z.data.trust),r.push(z.data.isFullText),Ke(r),He(z.time,z.event,d,z.data.x,z.data.y,z.data.reaction,z.data.context);ce();break;case 38:for(p=0,f=Ft;p<f.length;p++)z=f[p],r=[z.time,z.event],(D=wn(z.data.target,z.event)).id>0&&(r.push(D.id),r.push(z.data.action),Ke(r));break;case 11:h=ee,r.push(h.width),r.push(h.height),N(t,h.width,h.height),fe(),Ke(r);break;case 26:v=xe,r.push(v.name),r.push(v.persisted),Xe(),Ke(r);break;case 27:for(g=0,m=Ft;g<m.length;g++)z=m[g],b=wn(z.data.target,z.event,z.data.value),(r=[z.time,z.event]).push(b.id),r.push(w(z.data.value,"input",b.privacy,!1,z.data.type)),Ke(r);break;case 21:(k=Vt)&&(_=wn(k.start),T=wn(k.end),r.push(_.id),r.push(k.startOffset),r.push(T.id),r.push(k.endOffset),Ke(r));break;case 10:for(S=0,x=he;S<x.length;S++)z=x[S],O=wn(z.data.target,z.event),E=wn(z.data.top,z.event),M=wn(z.data.bottom,z.event),I=(null==E?void 0:E.hash)?E.hash.join("."):"",P=(null==M?void 0:M.hash)?M.hash.join("."):"",O.id>0&&((r=[z.time,z.event]).push(O.id),r.push(z.data.x),r.push(z.data.y),r.push(I),r.push(P),Ke(r),N(z.event,z.data.x,z.data.y,z.time));he=[];break;case 42:for(Y=0,j=Ft;Y<j.length;Y++)z=j[Y],r=[z.time,z.event],(D=wn(z.data.target,z.event)).id>0&&((r=[z.time,z.event]).push(D.id),r.push(z.data.type),r.push(w(z.data.value,"change",D.privacy)),r.push(w(z.data.checksum,"checksum",D.privacy)),Ke(r));break;case 39:for(A=0,C=Ee;A<C.length;A++)z=C[A],r=[z.time,z.event],(D=wn(z.data.target,z.event)).id>0&&(r.push(D.id),Ke(r));Ne();break;case 22:for(H=0,W=Ce;H<W.length;H++)z=W[H],(r=[z.time,z.event]).push(z.data.type),r.push(z.data.hash),r.push(z.data.x),r.push(z.data.y),r.push(z.data.reaction),r.push(z.data.context),Ke(r,!1);De();break;case 28:q=Oe,r.push(q.visible),Ke(r),X(n,q.visible),Ye()}return[2]}))}))}var Ae=[],Ce=[];function De(){Ce=[]}function He(t,e,n,r,a,i,o){void 0===i&&(i=1),void 0===o&&(o=0),Ae.push({time:t,event:22,data:{type:e,hash:n,x:r,y:a,reaction:i,context:o}}),N(e,r,a,t)}var We,ze,qe,Re,Le,Ue,Fe=0,Ve=0,Je=null,Be=0,Ze=!1;function Ge(){Re=!0,Fe=0,Ve=0,Ze=!1,Be=0,We=[],ze=[],qe={},Le=null}function Ke(t,e){if(void 0===e&&(e=!0),Re){var n=s(),r=t.length>1?t[1]:null,a=JSON.stringify(t);switch(o.lean?!Ze&&Ve+a.length>10485760&&(St(10,0),Ze=!0):Ze=!1,r){case 5:if(Ze)break;Fe+=a.length;case 37:case 6:case 43:case 45:case 46:if(Ze)break;Ve+=a.length,We.push(a);break;default:ze.push(a)}L(25);var i=function(){var t=!1===o.lean&&Fe>0?100:vr.sequence*o.delay;return"string"==typeof o.upload?Math.max(Math.min(t,3e4),100):o.delay}();n-Be>2*i&&(J(Je),Je=null),e&&null===Je&&(25!==r&&K(),Je=V($e,i),Be=n,Xn(Ve))}}function Qe(){J(Je),$e(!0),Fe=0,Ve=0,Ze=!1,Be=0,We=[],ze=[],qe={},Le=null,Re=!1}function $e(t){return void 0===t&&(t=!1),at(this,void 0,void 0,(function(){var e,n,r,a,i,u,c,s;return it(this,(function(l){switch(l.label){case 0:return Re?(Je=null,(e=!1===o.lean&&Ve>0&&(Ve<1048576||vr.sequence>0))&&F(1,1),function(){if(vr){var t=[];Ce=[];for(var e=(vr.start||0)+(vr.duration||0),n=Math.max(e-2e3,0),r=0,a=Ae;r<a.length;r++){var i=a[r];i.time>=n&&(i.time<=e&&Ce.push(i),t.push(i))}Ae=t,je(22)}}(),Ut(),n=!0===t,vr?(r=JSON.stringify(wr(n)),a="[".concat(ze.join(),"]"),i=e?"[".concat(We.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:i}),n?(s=null,[3,3]):[3,1]):[2]):[2];case 1:return[4,ut(u)];case 2:s=l.sent(),l.label=3;case 3:return U(2,(c=s)?c.length:u.length),tn(u,c,vr.sequence,n),ze=[],e&&(We=[],Ve=0,Fe=0,Ze=!1),[2]}}))}))}function tn(t,e,n,r){if(void 0===r&&(r=!1),"string"==typeof o.upload){var a=o.upload,i=!1;if(r&&"sendBeacon"in navigator)try{(i=navigator.sendBeacon.bind(navigator)(a,t))&&nn(n)}catch(t){}if(!1===i){n in qe?qe[n].attempts++:qe[n]={data:t,attempts:1};var u=new XMLHttpRequest;u.open("POST",a,!0),u.timeout=15e3,u.ontimeout=function(){br(new Error("".concat("Timeout"," : ").concat(a)))},null!==n&&(u.onreadystatechange=function(){kr(en)(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),nn(n)}}function en(t,e){var n=qe[e];t&&4===t.readyState&&n&&((t.status<200||t.status>208)&&n.attempts<=1?t.status>=400&&t.status<500?Pn(6):(0===t.status&&(o.upload=o.fallback?o.fallback:o.upload),tn(n.data,null,e)):(Le={sequence:e,attempts:n.attempts,status:t.status},n.attempts>1&&Nn(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],i=a&&a.length>0?a.split(/ (.*)/):[""];switch(i[0]){case"END":Pn(6);break;case"UPGRADE":En("Auto");break;case"ACTION":o.action&&i.length>1&&o.action(i[1]);break;case"EXTRACT":i.length>1&&Xt(i[1]);break;case"SIGNAL":i.length>1&&zt(i[1])}}}(t.responseText),0===t.status&&(tn(n.data,null,e,!0),Pn(3)),t.status>=200&&t.status<=208&&nn(e),delete qe[e]))}function nn(t){1===t&&(ir(),ar())}function rn(t){return at(this,void 0,void 0,(function(){var e,n,r,a,i,o,u,c,l,d,p,f,h;return it(this,(function(v){switch(e=s(),n=[e,t],t){case 8:r=Ue,n.push(r.width),n.push(r.height),N(t,r.width,r.height),Ke(n);break;case 43:if((a=dn).length>0){for(i=0,o=a;i<o.length;i++)for(u=o[i],c=u.metadata.privacy,l=u.data,d=0,p=["tag","attributes","value"];d<p.length;d++)if(l[f=p[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(h in l[f])void 0!==l[f][h]&&n.push(an(h,l[f][h],c));break;case"value":n.push(w(l[f],l.tag,c))}Ke(function(t){for(var e=[],n={},r=0,a=null,i=0;i<t.length;i++)if("string"==typeof t[i]){var o=t[i],u=n[o]||-1;u>=0?a?a.push(u):(a=[u],e.push(a),r++):(a=null,e.push(o),n[o]=r++)}else a=null,e.push(t[i]),r++;return e}(n),!0)}}return[2]}))}))}function an(t,e,n){return"".concat(t,"=").concat(w(e,0===t.indexOf("data-")?"data-":t,n))}function on(){Ue=null}function un(){on(),cn()}function cn(){cn.dn=19;var t=document.body,e=document.documentElement,n=t?t.clientWidth:null,r=t?t.scrollWidth:null,a=t?t.offsetWidth:null,i=e?e.clientWidth:null,o=e?e.scrollWidth:null,u=e?e.offsetWidth:null,c=Math.max(n,r,a,i,o,u),s=t?t.clientHeight:null,l=t?t.scrollHeight:null,d=t?t.offsetHeight:null,p=e?e.clientHeight:null,f=e?e.scrollHeight:null,h=e?e.offsetHeight:null,v=Math.max(s,l,d,p,f,h);null!==Ue&&c===Ue.width&&v===Ue.height||null===c||null===v||(Ue={width:c,height:v},rn(8))}function sn(t){!function(t){Tr(t===document?window:t,"scroll",_e,!0)}(t),t.nodeType===Node.DOCUMENT_NODE&&(ae(t),function(t){Tr(t,"submit",Me,!0)}(t))}var ln=Object.freeze({__proto__:null,observe:sn,start:function t(){t.dn=8,Ae=[],De(),ce(),le=!1,Tr(window,"resize",de),de(),Tr(document,"visibilitychange",Pe),Pe(),he=[],ge(),Ne(),Tr(window,"pagehide",Ie)},stop:function(){Ae=[],De(),ce(),fe(),Ye(),J(ve),he=[],Ne(),Xe()}}),dn=[],pn=1,fn=null;function hn(){yn(),un(),kn(document.documentElement),sn(document)}function vn(){return!1}function gn(){}function mn(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 wn(t){var e={id:0,hash:null,privacy:o.conversions?1:5};return t&&(e.id=fn.has(t)?fn.get(t):kn(t)),e}function yn(){fn=new WeakMap}function bn(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 kn(t){return null===t?null:fn.has(t)?fn.get(t):(fn.set(t,pn),pn++)}function _n(t,e,n){if(t&&n&&n.tag){var r=kn(t),a=e?fn.get(e):null,i=t.previousSibling?fn.get(t.previousSibling):null;dn.push({id:r,parent:a,previous:i,children:[],data:n,selector:null,hash:null,region:null,metadata:{active:!0,suspend:!1,privacy:5,position:null,fraud:null,size:null}})}}var Tn,Sn=Object.freeze({__proto__:null,compute:function(){},get:function(t){return null},hashText:gn,iframe:vn,metadata:wn,offset:function(){return{x:0,y:0}},snapshot:function(){dn=[],function(t){var e=[t];for(;e.length>0;){for(var n=null,r=null,a=null,i=e.shift(),o=i.firstChild,u=i.parentElement?i.parentElement:i.parentNode?i.parentNode:null;o;)e.push(o),o=o.nextSibling;switch(i.nodeType){case Node.DOCUMENT_TYPE_NODE:var c=i;r="*D",n={name:c.name,publicId:c.publicId,systemId:c.systemId};break;case Node.TEXT_NODE:a=i.nodeValue,r=fn.get(u)?"*T":r;break;case Node.ELEMENT_NODE:var s=i;n=bn(s),r=["NOSCRIPT","SCRIPT","STYLE"].indexOf(s.tagName)<0?s.tagName:r}_n(i,u,{tag:r,attributes:n,value:a})}}(document),rn(43)},start:hn,stop:function(){yn(),on()},target:mn,get values(){return dn}}),xn=null;function On(){!o.lean&&o.upgrade&&o.upgrade("Config"),xn=null}function En(t){Cr()&&o.lean&&(o.lean=!1,xn={key:t},ar(),ir(),o.upgrade&&o.upgrade(t),Nn(3),o.lite&&hn())}function Mn(){xn=null}function Nn(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),e.push(n.data.scrollTime),e.push(n.data.pointerTime),e.push(n.data.moveX),e.push(n.data.moveY),e.push(n.data.moveTime),e.push(n.data.downX),e.push(n.data.downY),e.push(n.data.downTime),e.push(n.data.upX),e.push(n.data.upY),e.push(n.data.upTime),e.push(n.data.pointerPrevX),e.push(n.data.pointerPrevY),e.push(n.data.pointerPrevTime),Ke(e,!1)),M();break;case 25:e.push(z.gap),Ke(e);break;case 35:e.push(Tn.check),Ke(e,!1);break;case 3:e.push(xn.key),Ke(e);break;case 2:e.push(Le.sequence),e.push(Le.attempts),e.push(Le.status),Ke(e,!1);break;case 24:H.key&&e.push(H.key),e.push(H.value),Ke(e);break;case 34:var r=Object.keys(st);if(r.length>0){for(var a=0,i=r;a<i.length;a++){var o=i[a];e.push(o),e.push(st[o])}ht(),Ke(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],p=parseInt(d,10);e.push(p),e.push(Math.round(R[d]))}R={},Ke(e,!1)}break;case 1:var f=Object.keys(Cn);if(f.length>0){for(var h=0,v=f;h<v.length;h++){var g=v[h];p=parseInt(g,10);e.push(p),e.push(Cn[g])}Rn(),Ke(e,!1)}break;case 36:var m=Object.keys(tt);if(m.length>0){for(var w=0,y=m;w<y.length;w++){var b=y[w];p=parseInt(b,10);e.push(p),e.push([].concat.apply([],tt[b]))}nt(),Ke(e,!1)}break;case 40:Ot.forEach((function(t){e.push(t);var n=[];for(var r in xt[t]){var a=parseInt(r,10);n.push(a),n.push(xt[t][r])}e.push(n)})),jt(),Ke(e,!1);case 47:e.push(j.source),e.push(j.ad_Storage),e.push(j.analytics_Storage),Ke(e,!1)}}function In(){Tn={check:0}}function Xn(t){if(0===Tn.check){var e=Tn.check;e=vr.sequence>=128?1:e,e=vr.pageNum>=128?7:e,e=s()>72e5?2:e,(e=t>10485760?2:e)!==Tn.check&&Pn(e)}}function Pn(t){Tn.check=t,5!==t&&(rr(),qr())}function Yn(){0!==Tn.check&&Nn(35)}function jn(){Tn=null}var An=null,Cn=null,Dn=!1;function Hn(){An={},Cn={},Dn=!1}function Wn(){An={},Cn={},Dn=!1}function zn(t,e){if(e&&(e="".concat(e),t in An||(An[t]=[]),An[t].indexOf(e)<0)){if(An[t].length>128)return void(Dn||(Dn=!0,Pn(5)));An[t].push(e),t in Cn||(Cn[t]=[]),Cn[t].push(e)}}function qn(){Nn(1)}function Rn(){Cn={},Dn=!1}var Ln=null,Un=[],Fn=0,Vn=null,Jn=null,Bn={ad_Storage:"denied",analytics_Storage:"denied"};function Zn(){var t,e,n;Vn=null;var r=navigator&&"userAgent"in navigator?navigator.userAgent:"",a=null!==(n=null===(e=null===(t=null===Intl||void 0===Intl?void 0:Intl.DateTimeFormat())||void 0===t?void 0:t.resolvedOptions())||void 0===e?void 0:e.timeZone)&&void 0!==n?n:"",i=(new Date).getTimezoneOffset().toString(),u=window.location.ancestorOrigins?Array.from(window.location.ancestorOrigins).toString():"",c=document&&document.title?document.title:"";Fn=r.indexOf("Electron")>0?1:0;var s=function(){var t={session:cr(),ts:Math.round(Date.now()),count:1,upgrade:null,upload:""},e=dr("_clsk",!o.includeSubdomains);if(e){var n=e.includes("^")?e.split("^"):e.split("|");n.length>=5&&t.ts-sr(n[1])<18e5&&(t.session=n[0],t.count=sr(n[2])+1,t.upgrade=sr(n[3]),t.upload=n.length>=6?"".concat("https://").concat(n[5],"/").concat(n[4]):"".concat("https://").concat(n[4]))}return t}(),l=lr(),p=o.projectId||d(location.host);Ln={projectId:p,userId:l.id,sessionId:s.session,pageNum:s.count},o.lean=o.track&&null!==s.upgrade?0===s.upgrade:o.lean,o.upload=o.track&&"string"==typeof o.upload&&s.upload&&s.upload.length>"https://".length?s.upload:o.upload,zn(0,r),zn(3,c),zn(1,y(location.href,!!Fn)),zn(2,document.referrer),zn(15,function(){var t=cr();if(o.track&&or(window,"sessionStorage")){var e=sessionStorage.getItem("_cltk");t=e||t,sessionStorage.setItem("_cltk",t)}return t}()),zn(16,document.documentElement.lang),zn(17,document.dir),zn(26,"".concat(window.devicePixelRatio)),zn(28,l.dob.toString()),zn(29,l.version.toString()),zn(33,u),zn(34,a),zn(35,i),F(0,s.ts),F(1,0),F(35,Fn);var f,h=null===window||void 0===window?void 0:window.Zone;h&&"__symbol__"in h&&F(39,1),navigator&&(zn(9,navigator.language),F(33,navigator.hardwareConcurrency),F(32,navigator.maxTouchPoints),F(34,Math.round(navigator.deviceMemory)),(f=navigator.userAgentData)&&f.getHighEntropyValues?f.getHighEntropyValues(["model","platform","platformVersion","uaFullVersion"]).then((function(t){var e;zn(22,t.platform),zn(23,t.platformVersion),null===(e=t.brands)||void 0===e||e.forEach((function(t){zn(24,t.name+"~"+t.version)})),zn(25,t.model),F(27,t.mobile?1:0)})):zn(22,navigator.platform)),screen&&(F(14,Math.round(screen.width)),F(15,Math.round(screen.height)),F(16,Math.round(screen.colorDepth)));for(var v=0,g=o.cookies;v<g.length;v++){var m=g[v],w=dr(m);w&<(m,w)}!function(t){D(t.analytics_Storage?1:0),j=t}(er(Jn={ad_Storage:o.track?"granted":"denied",analytics_Storage:o.track?"granted":"denied"},0)),ur(l)}function Gn(){Vn=null,Ln=null,Jn=null,Un.forEach((function(t){t.called=!1}))}function Kn(t,e,n,r){void 0===e&&(e=!0),void 0===n&&(n=!1),void 0===r&&(r=!1);var a=o.lean?0:1,i=!1;Ln&&(a||!1===e)&&(t(Ln,!o.lean,r?Jn:void 0),i=!0),!n&&i||Un.push({callback:t,wait:e,recall:n,called:i,consentInfo:r})}function Qn(){return Ln?[Ln.userId,Ln.sessionId,Ln.pageNum].join("."):""}function $n(t){void 0===t&&(t=!0),t?(tr({ad_Storage:"granted",analytics_Storage:"granted"}),C()):tr()}function tr(t,e){void 0===t&&(t=Bn),void 0===e&&(e=1),Jn={ad_Storage:nr(t.ad_Storage),analytics_Storage:nr(t.analytics_Storage)},ar(!0);var n=er(Jn,e);if(!n.analytics_Storage)return o.track=!1,fr("_clsk","",-Number.MAX_VALUE),fr("_clck","",-Number.MAX_VALUE),qr(),void window.setTimeout(zr,250);Cr()&&(o.track=!0,ur(lr(),1),ir(),function(t){j=t,Nn(47)}(n),C())}function er(t,e){return{source:e,ad_Storage:"granted"===t.ad_Storage?1:0,analytics_Storage:"granted"===t.analytics_Storage?1:0}}function nr(t){return"string"==typeof t?t.toLowerCase():"denied"}function rr(){fr("_clsk","",0)}function ar(t){void 0===t&&(t=!1),function(t,e){void 0===e&&(e=!1);if(Un.length>0)for(var n=0;n<Un.length;n++){var r=Un[n];r.callback&&(!r.called&&!e||r.consentInfo&&e)&&(!r.wait||t)&&(r.callback(Ln,!o.lean,r.consentInfo?Jn:void 0),r.called=!0,r.recall||(Un.splice(n,1),n--))}}(o.lean?0:1,t)}function ir(){if(Ln&&o.track){var t=Math.round(Date.now()),e=o.upload&&"string"==typeof o.upload?o.upload.replace("https://",""):"",n=o.lean?0:1;fr("_clsk",[Ln.sessionId,t,Ln.pageNum,n,e].join("|"),1)}}function or(t,e){try{return!!t[e]}catch(t){return!1}}function ur(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===o.dob?0:o.dob:t.dob;(null===t.expiry||Math.abs(n-t.expiry)>=1||t.consent!==e||t.dob!==r)&&fr("_clck",[Ln.userId,2,n.toString(36),e,r].join("|"),365)}function cr(){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 sr(t,e){return void 0===e&&(e=10),parseInt(t,e)}function lr(){var t={id:cr(),version:0,expiry:null,consent:0,dob:0},e=dr("_clck",!o.includeSubdomains);if(e&&e.length>0){var n=e.includes("^")?e.split("^"):e.split("|");n.length>1&&(t.version=sr(n[1])),n.length>2&&(t.expiry=sr(n[2],36)),n.length>3&&1===sr(n[3])&&(t.consent=1),n.length>4&&sr(n[1])>1&&(t.dob=sr(n[4])),o.track=o.track||1===t.consent,t.id=o.track?n[0]:t.id}return t}function dr(t,e){var n;if(void 0===e&&(e=!1),or(document,"cookie")){var r=document.cookie.split(";");if(r)for(var a=0;a<r.length;a++){var i=r[a].split("=");if(i.length>1&&i[0]&&i[0].trim()===t){for(var o=pr(i[1]),u=o[0],c=o[1];u;)u=(n=pr(c))[0],c=n[1];return e?c.endsWith("".concat("~","1"))?c.substring(0,c.length-2):null:c}}}return null}function pr(t){try{var e=decodeURIComponent(t);return[e!=t,e]}catch(t){}return[!1,t]}function fr(t,e,n){if((o.track||""==e)&&(navigator&&navigator.cookieEnabled||or(document,"cookie"))){var r=function(t){return encodeURIComponent(t)}(e),a=new Date;a.setDate(a.getDate()+n);var i=a?"expires="+a.toUTCString():"",u="".concat(t,"=").concat(r).concat(";").concat(i).concat(";path=/");try{if(null===Vn){for(var c=location.hostname?location.hostname.split("."):[],s=c.length-1;s>=0;s--)if(Vn=".".concat(c[s]).concat(Vn||""),s<c.length-1&&(document.cookie="".concat(u).concat(";").concat("domain=").concat(Vn),dr(t)===e))return;Vn=""}}catch(t){Vn=""}document.cookie=Vn?"".concat(u).concat(";").concat("domain=").concat(Vn):u}}var hr,vr=null;function gr(){var t=Ln;vr={version:l,sequence:0,start:0,duration:0,projectId:t.projectId,userId:t.userId,sessionId:t.sessionId,pageNum:t.pageNum,upload:0,end:0,applicationPlatform:0,url:""}}function mr(){vr=null}function wr(t){return vr.start=vr.start+vr.duration,vr.duration=s()-vr.start,vr.sequence++,vr.upload=t&&"sendBeacon"in navigator?1:0,vr.end=t?1:0,vr.applicationPlatform=0,vr.url=y(location.href,!1,!0),[vr.version,vr.sequence,vr.start,vr.duration,vr.projectId,vr.userId,vr.sessionId,vr.pageNum,vr.upload,vr.end,vr.applicationPlatform,vr.url]}function yr(){hr=[]}function br(t){if(hr&&-1===hr.indexOf(t.message)){var e=o.report;if(e&&e.length>0&&vr){var n={v:vr.version,p:vr.projectId,u:vr.userId,s:vr.sessionId,n:vr.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)),hr.push(t.message)}}return t}function kr(t){return function(){var e=performance.now();try{t.apply(this,arguments)}catch(t){throw br(t)}var n=performance.now()-e;U(4,n),n>30&&(L(7),F(6,n),St(9,0,"".concat(t.dn||t.name,"-").concat(n)))}}var _r=new Map;function Tr(t,e,n,r,a){void 0===r&&(r=!1),void 0===a&&(a=!0),n=kr(n);try{t[u("addEventListener")](e,n,{capture:r,passive:a}),function(t){return _r.has(t)}(t)||_r.set(t,[]),_r.get(t).push({event:e,listener:n,options:{capture:r,passive:a}})}catch(t){}}function Sr(){_r.forEach((function(t,e){!function(t,e){t.forEach((function(t){try{e[u("removeEventListener")](t.event,t.listener,{capture:t.options.capture,passive:t.options.passive})}catch(t){}})),_r.delete(e)}(t,e)})),_r=new Map}var xr=null,Or=null,Er=null,Mr=0;function Nr(){return!(Mr++>20)||(St(4,0),!1)}function Ir(){Ir.dn=1,Mr=0,Er!==Pr()&&(qr(),window.setTimeout(Xr,250))}function Xr(){zr(),F(29,1)}function Pr(){return location.href?location.href.replace(location.hash,""):location.href}var Yr=!1;function jr(){Yr=!0,c=performance.now()+performance.timeOrigin,Qt(),Sr(),yr(),Er=Pr(),Mr=0,Tr(window,"popstate",Ir),null===xr&&(xr=history.pushState,history.pushState=function(){xr.apply(this,arguments),Cr()&&Nr()&&Ir()}),null===Or&&(Or=history.replaceState,history.replaceState=function(){Or.apply(this,arguments),Cr()&&Nr()&&Ir()})}function Ar(){Er=null,Mr=0,yr(),Sr(),Qt(),c=0,Yr=!1}function Cr(){return Yr}function Dr(){Dr.dn=2,zr(),W("clarity","restart")}var Hr=Object.freeze({__proto__:null,start:function t(){t.dn=3,function(){F(26,navigator.webdriver?1:0);try{F(31,window.top==window.self||window.top==window?1:2)}catch(t){F(31,0)}}(),Tr(window,"error",bt),yt={},Tt={}},stop:function(){Tt={}}}),Wr=[Hr,Sn,ln,Jt];function zr(t){void 0===t&&(t=null),function(){try{var t=navigator&&"globalPrivacyControl"in navigator&&1==navigator.globalPrivacyControl;return!1===Yr&&"undefined"!=typeof Promise&&window.MutationObserver&&document.createTreeWalker&&"now"in Date&&"now"in performance&&"undefined"!=typeof WeakMap&&!t}catch(t){return!1}}()&&(!function(t){if(null===t||Yr)return!1;for(var e in t)e in o&&(o[e]=t[e])}(t),jr(),Rt(),Wr.forEach((function(t){return kr(t.start)()})),null===t&&Fr())}function qr(){Cr()&&(Wr.slice().reverse().forEach((function(t){return kr(t.stop)()})),Lt(),Ar(),void 0!==Lr&&(Lr[Ur]=function(){(Lr[Ur].q=Lr[Ur].q||[]).push(arguments),"start"===arguments[0]&&Lr[Ur].q.unshift(Lr[Ur].q.pop())&&Fr()}))}var Rr=Object.freeze({__proto__:null,consent:$n,consentv2:tr,event:W,hashText:gn,identify:dt,metadata:Kn,pause:function(){Cr()&&(W("clarity","pause"),null===Gt&&(Gt=new Promise((function(t){Kt=t}))))},resume:function(){Cr()&&(Gt&&(Kt(),Gt=null,null===Zt&&te()),W("clarity","resume"))},set:lt,signal:function(t){Wt=t},start:zr,stop:qr,upgrade:En,version:l}),Lr=window,Ur="clarity";function Fr(){if(void 0!==Lr){if(Lr[Ur]&&Lr[Ur].v)return console.warn("Error CL001: Multiple Clarity tags detected.");var t=Lr[Ur]&&Lr[Ur].q||[];for(Lr[Ur]=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return Rr[t].apply(Rr,e)},Lr[Ur].v=l;t.length>0;)Lr[Ur].apply(Lr,t.shift())}}Fr()}();
|
package/build/clarity.js
CHANGED
|
@@ -183,7 +183,7 @@ function stop$F() {
|
|
|
183
183
|
startTime = 0;
|
|
184
184
|
}
|
|
185
185
|
|
|
186
|
-
var version$1 = "0.8.
|
|
186
|
+
var version$1 = "0.8.18";
|
|
187
187
|
|
|
188
188
|
// tslint:disable: no-bitwise
|
|
189
189
|
function hash (input, precision) {
|
|
@@ -2276,7 +2276,7 @@ function encode$4 (type, timer, ts) {
|
|
|
2276
2276
|
tokens.push(r.data.interaction);
|
|
2277
2277
|
tokens.push(r.data.visibility);
|
|
2278
2278
|
tokens.push(r.data.name);
|
|
2279
|
-
queue(tokens);
|
|
2279
|
+
queue(tokens, false);
|
|
2280
2280
|
}
|
|
2281
2281
|
reset$6();
|
|
2282
2282
|
return [3 /*break*/, 12];
|
|
@@ -2295,7 +2295,7 @@ function encode$4 (type, timer, ts) {
|
|
|
2295
2295
|
tokens.push(entry.data.id);
|
|
2296
2296
|
tokens.push(entry.data.operation);
|
|
2297
2297
|
tokens.push(entry.data.cssRules);
|
|
2298
|
-
queue(tokens);
|
|
2298
|
+
queue(tokens, false);
|
|
2299
2299
|
}
|
|
2300
2300
|
reset$b();
|
|
2301
2301
|
return [3 /*break*/, 12];
|
|
@@ -4138,9 +4138,12 @@ function track$2(time, event, hash, x, y, reaction, context) {
|
|
|
4138
4138
|
track$8(event, x, y, time);
|
|
4139
4139
|
}
|
|
4140
4140
|
function compute$4() {
|
|
4141
|
+
if (!data$1) {
|
|
4142
|
+
return;
|
|
4143
|
+
}
|
|
4141
4144
|
var temp = [];
|
|
4142
4145
|
updates$1 = [];
|
|
4143
|
-
var max = data$1.start + data$1.duration;
|
|
4146
|
+
var max = (data$1.start || 0) + (data$1.duration || 0);
|
|
4144
4147
|
var min = Math.max(max - 2000 /* Setting.TimelineSpan */, 0);
|
|
4145
4148
|
for (var _i = 0, state_1 = state$1; _i < state_1.length; _i++) {
|
|
4146
4149
|
var s = state_1[_i];
|
|
@@ -4182,59 +4185,60 @@ function start$g() {
|
|
|
4182
4185
|
}
|
|
4183
4186
|
function queue(tokens, transmit) {
|
|
4184
4187
|
if (transmit === void 0) { transmit = true; }
|
|
4185
|
-
if (active$1) {
|
|
4186
|
-
|
|
4187
|
-
|
|
4188
|
-
|
|
4189
|
-
|
|
4190
|
-
|
|
4191
|
-
|
|
4192
|
-
|
|
4193
|
-
|
|
4194
|
-
|
|
4195
|
-
|
|
4196
|
-
|
|
4197
|
-
|
|
4198
|
-
|
|
4199
|
-
|
|
4200
|
-
|
|
4201
|
-
discoverBytes += event_1.length;
|
|
4202
|
-
case 37 /* Event.Box */:
|
|
4203
|
-
case 6 /* Event.Mutation */:
|
|
4204
|
-
case 43 /* Event.Snapshot */:
|
|
4205
|
-
case 45 /* Event.StyleSheetAdoption */:
|
|
4206
|
-
case 46 /* Event.StyleSheetUpdate */:
|
|
4207
|
-
if (leanLimit) {
|
|
4208
|
-
break;
|
|
4209
|
-
}
|
|
4210
|
-
playbackBytes += event_1.length;
|
|
4211
|
-
playback.push(event_1);
|
|
4188
|
+
if (!active$1) {
|
|
4189
|
+
return;
|
|
4190
|
+
}
|
|
4191
|
+
var now = time();
|
|
4192
|
+
var type = tokens.length > 1 ? tokens[1] : null;
|
|
4193
|
+
var event = JSON.stringify(tokens);
|
|
4194
|
+
if (!config$2.lean) {
|
|
4195
|
+
leanLimit = false;
|
|
4196
|
+
}
|
|
4197
|
+
else if (!leanLimit && playbackBytes + event.length > 10485760 /* Setting.PlaybackBytesLimit */) {
|
|
4198
|
+
log$1(10 /* Code.LeanLimit */, 0 /* Severity.Info */);
|
|
4199
|
+
leanLimit = true;
|
|
4200
|
+
}
|
|
4201
|
+
switch (type) {
|
|
4202
|
+
case 5 /* Event.Discover */:
|
|
4203
|
+
if (leanLimit) {
|
|
4212
4204
|
break;
|
|
4213
|
-
|
|
4214
|
-
|
|
4205
|
+
}
|
|
4206
|
+
discoverBytes += event.length;
|
|
4207
|
+
case 37 /* Event.Box */:
|
|
4208
|
+
case 6 /* Event.Mutation */:
|
|
4209
|
+
case 43 /* Event.Snapshot */:
|
|
4210
|
+
case 45 /* Event.StyleSheetAdoption */:
|
|
4211
|
+
case 46 /* Event.StyleSheetUpdate */:
|
|
4212
|
+
if (leanLimit) {
|
|
4215
4213
|
break;
|
|
4216
|
-
}
|
|
4217
|
-
// Increment event count metric
|
|
4218
|
-
count$1(25 /* Metric.EventCount */);
|
|
4219
|
-
// Following two checks are precautionary and act as a fail safe mechanism to get out of unexpected situations.
|
|
4220
|
-
// Check 1: If for any reason the upload hasn't happened after waiting for 2x the config.delay time,
|
|
4221
|
-
// reset the timer. This allows Clarity to attempt an upload again.
|
|
4222
|
-
var gap = delay();
|
|
4223
|
-
if (now - queuedTime > (gap * 2)) {
|
|
4224
|
-
clearTimeout(timeout);
|
|
4225
|
-
timeout = null;
|
|
4226
|
-
}
|
|
4227
|
-
// Transmit Check: When transmit is set to true (default), it indicates that we should schedule an upload
|
|
4228
|
-
// However, in certain scenarios - like metric calculation - which are triggered as part of an existing upload
|
|
4229
|
-
// We enrich the data going out with the existing upload. In these cases, call to upload comes with 'transmit' set to false.
|
|
4230
|
-
if (transmit && timeout === null) {
|
|
4231
|
-
if (type !== 25 /* Event.Ping */) {
|
|
4232
|
-
reset$q();
|
|
4233
4214
|
}
|
|
4234
|
-
|
|
4235
|
-
|
|
4236
|
-
|
|
4215
|
+
playbackBytes += event.length;
|
|
4216
|
+
playback.push(event);
|
|
4217
|
+
break;
|
|
4218
|
+
default:
|
|
4219
|
+
analysis.push(event);
|
|
4220
|
+
break;
|
|
4221
|
+
}
|
|
4222
|
+
// Increment event count metric
|
|
4223
|
+
count$1(25 /* Metric.EventCount */);
|
|
4224
|
+
// Following two checks are precautionary and act as a fail safe mechanism to get out of unexpected situations.
|
|
4225
|
+
// Check 1: If for any reason the upload hasn't happened after waiting for 2x the config.delay time,
|
|
4226
|
+
// reset the timer. This allows Clarity to attempt an upload again.
|
|
4227
|
+
var gap = delay();
|
|
4228
|
+
if (now - queuedTime > (gap * 2)) {
|
|
4229
|
+
clearTimeout(timeout);
|
|
4230
|
+
timeout = null;
|
|
4231
|
+
}
|
|
4232
|
+
// Transmit Check: When transmit is set to true (default), it indicates that we should schedule an upload
|
|
4233
|
+
// However, in certain scenarios - like metric calculation - which are triggered as part of an existing upload
|
|
4234
|
+
// We enrich the data going out with the existing upload. In these cases, call to upload comes with 'transmit' set to false.
|
|
4235
|
+
if (transmit && timeout === null) {
|
|
4236
|
+
if (type !== 25 /* Event.Ping */) {
|
|
4237
|
+
reset$q();
|
|
4237
4238
|
}
|
|
4239
|
+
timeout = setTimeout$1(upload, gap);
|
|
4240
|
+
queuedTime = now;
|
|
4241
|
+
check$2(playbackBytes);
|
|
4238
4242
|
}
|
|
4239
4243
|
}
|
|
4240
4244
|
function stop$e() {
|
|
@@ -4257,6 +4261,9 @@ function upload(final) {
|
|
|
4257
4261
|
return __generator(this, function (_b) {
|
|
4258
4262
|
switch (_b.label) {
|
|
4259
4263
|
case 0:
|
|
4264
|
+
if (!active$1) {
|
|
4265
|
+
return [2 /*return*/];
|
|
4266
|
+
}
|
|
4260
4267
|
timeout = null;
|
|
4261
4268
|
sendPlaybackBytes = config$2.lean === false && playbackBytes > 0 && (playbackBytes < 1048576 /* Setting.MaxFirstPayloadBytes */ || data$1.sequence > 0);
|
|
4262
4269
|
if (sendPlaybackBytes) {
|
|
@@ -4952,7 +4959,7 @@ function encode$1 (event) {
|
|
|
4952
4959
|
tokens.push(data$k.source);
|
|
4953
4960
|
tokens.push(data$k.ad_Storage);
|
|
4954
4961
|
tokens.push(data$k.analytics_Storage);
|
|
4955
|
-
queue(tokens);
|
|
4962
|
+
queue(tokens, false);
|
|
4956
4963
|
break;
|
|
4957
4964
|
}
|
|
4958
4965
|
}
|