clarity-js 0.8.47-beta → 0.8.47
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 +43 -67
- package/build/clarity.min.js +1 -1
- package/build/clarity.module.js +43 -67
- package/build/clarity.performance.js +1 -1
- package/package.json +3 -3
- package/src/core/version.ts +1 -1
- package/src/interaction/index.ts +0 -3
- package/types/data.d.ts +0 -1
- package/src/interaction/pageshow.ts +0 -35
package/build/clarity.insight.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(){"use strict";var t=Object.freeze({__proto__:null,get queue(){return ln},get start(){return sn},get stop(){return dn},get track(){return tn}}),e=Object.freeze({__proto__:null,get data(){return Wn},get start(){return zn},get stop(){return Ln},get upgrade(){return qn}}),n=Object.freeze({__proto__:null,get check(){return Fn},get compute(){return Jn},get data(){return Dn},get start(){return Un},get stop(){return Bn},get trigger(){return Vn}}),r=Object.freeze({__proto__:null,get compute(){return er},get data(){return Zn},get log(){return tr},get reset(){return nr},get start(){return Qn},get stop(){return $n},get updates(){return Gn}}),a=Object.freeze({__proto__:null,get compute(){return pr},get config(){return cr},get consent(){return sr},get data(){return rr},get start(){return or},get stop(){return ir},get trackConsentv2(){return dr}}),o=Object.freeze({__proto__:null,get callback(){return Er},get callbacks(){return hr},get clear(){return xr},get consent(){return kr},get consentv2(){return Tr},get data(){return fr},get electron(){return vr},get id(){return _r},get metadata(){return br},get save(){return Mr},get shortid(){return Ir},get start(){return wr},get stop(){return yr}}),i=Object.freeze({__proto__:null,get data(){return jr},get envelope(){return Dr},get start(){return Cr},get stop(){return Ar}}),u={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 c(t){return window.Zone&&"__symbol__"in window.Zone?window.Zone.__symbol__(t):t}var s=0;function l(){return performance.now()+performance.timeOrigin}function d(t){void 0===t&&(t=null);var e=0===s?l():s,n=t&&t.timeStamp>0?t.timeStamp:performance.now(),r=t&&t.view?t.view.performance.timeOrigin:performance.timeOrigin;return Math.max(Math.round(n+r-e),0)}var p="0.8.47-beta";function f(t,e){void 0===e&&(e=null);for(var n,r=5381,a=r,o=0;o<t.length;o+=2){if(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)}var h=/\S/gi,v=255,g=!0,m=null,w=null,y=null;function b(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,o=!1,i=null;x();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=g&&null!==y?s.match(y)?s:S(s,"▪","▫"):T(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 O(t)}return t;case 2:case 3:switch(e){case"*T":case"data-":return r?k(t):T(t);case"src":case"srcset":case"title":case"alt":case"href":case"xlink:href":return 3===n?"src"===e&&(null==t?void 0:t.startsWith("blob:"))?"blob:":"":t;case"value":case"click":case"input":case"change":return O(t);case"placeholder":return T(t)}break;case 4:switch(e){case"*T":case"data-":return r?k(t):T(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 S(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 _(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=u.drop;if(a&&a.length>0&&t&&t.indexOf("?")>0){var o=t.split("?"),i=o[0],c=o[1];r=i+"?"+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,v)),r}function k(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 T(t){return t.replace(h,"•")}function S(t,e,n){return x(),t?t.replace(w,e).replace(m,n):t}function O(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 x(){if(g&&null===m)try{m=new RegExp("\\p{N}","gu"),w=new RegExp("\\p{L}","gu"),y=new RegExp("\\p{Sc}","gu")}catch(t){g=!1}}var E=null,M=null,N=!1;function I(){N&&(E={time:d(),event:4,data:{visible:M.visible,docWidth:M.docWidth,docHeight:M.docHeight,screenWidth:M.screenWidth,screenHeight:M.screenHeight,scrollX:M.scrollX,scrollY:M.scrollY,pointerX:M.pointerX,pointerY:M.pointerY,activityTime:M.activityTime,scrollTime:M.scrollTime,pointerTime:M.pointerTime,moveX:M.moveX,moveY:M.moveY,moveTime:M.moveTime,downX:M.downX,downY:M.downY,downTime:M.downTime,upX:M.upX,upY:M.upY,upTime:M.upTime,pointerPrevX:M.pointerPrevX,pointerPrevY:M.pointerPrevY,pointerPrevTime:M.pointerPrevTime,modules:M.modules}}),M=M||{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,modules:null}}function P(t,e,n,r){switch(t){case 8:M.docWidth=e,M.docHeight=n;break;case 11:M.screenWidth=e,M.screenHeight=n;break;case 10:M.scrollX=e,M.scrollY=n,M.scrollTime=r;break;case 12:M.moveX=e,M.moveY=n,M.moveTime=r,M.pointerPrevX=M.pointerX,M.pointerPrevY=M.pointerY,M.pointerPrevTime=M.pointerTime,M.pointerX=e,M.pointerY=n,M.pointerTime=r;break;case 13:M.downX=e,M.downY=n,M.downTime=r,M.pointerPrevX=M.pointerX,M.pointerPrevY=M.pointerY,M.pointerPrevTime=M.pointerTime,M.pointerX=e,M.pointerY=n,M.pointerTime=r;break;case 14:M.upX=e,M.upY=n,M.upTime=r,M.pointerPrevX=M.pointerX,M.pointerPrevY=M.pointerY,M.pointerPrevTime=M.pointerTime,M.pointerX=e,M.pointerY=n,M.pointerTime=r;break;default:M.pointerPrevX=M.pointerX,M.pointerPrevY=M.pointerY,M.pointerPrevTime=M.pointerTime,M.pointerX=e,M.pointerY=n,M.pointerTime=r}N=!0}function X(t){M.activityTime=t}function Y(t,e){M.visible=e,M.visible||X(t),N=!0}function j(t){M.modules=Array.from(t),N=!0}function C(){N&&Rn(4)}var A=Object.freeze({__proto__:null,activity:X,compute:C,dynamic:j,reset:I,start:function(){N=!1,I()},get state(){return E},stop:function(){I()},track:P,visibility:Y}),D=null;function H(t,e){ea()&&t&&"string"==typeof t&&t.length<255&&(D=e&&"string"==typeof e&&e.length<255?{key:t,value:e}:{value:t},Rn(24))}var W,z=null,q=null;function L(t){t in z||(z[t]=0),t in q||(q[t]=0),z[t]++,q[t]++}function R(t,e){null!==e&&(t in z||(z[t]=0),t in q||(q[t]=0),z[t]+=e,q[t]+=e)}function U(t,e){null!==e&&!1===isNaN(e)&&(t in z||(z[t]=0),(e>z[t]||0===z[t])&&(q[t]=e,z[t]=e))}function F(t,e,n){return window.setTimeout(zr(t),e,n)}function V(t){return window.clearTimeout(t)}var J=0,B=0,Z=null;function G(){Z&&V(Z),Z=F(K,B),J=d()}function K(){var t=d();W={gap:t-J},Rn(25),W.gap<3e5?Z=F(K,B):Qr&&(H("clarity","suspend"),oa(),["mousemove","touchstart"].forEach((function(t){return Lr(document,t,na)})),["resize","scroll","pageshow"].forEach((function(t){return Lr(window,t,na)})))}var Q=Object.freeze({__proto__:null,get data(){return W},reset:G,start:function(){B=6e4,J=0},stop:function(){V(Z),J=0,B=0}}),$=null;function tt(){Rn(36)}function et(){$={}}var nt=Object.freeze({__proto__:null,compute:tt,get data(){return $},reset:et,start:function(){$={}},stop:function(){$={}},track:function(t,e){if(t in $){var n=$[t],r=n[n.length-1];e-r[0]>100?$[t].push([e,0]):r[1]=e-r[0]}else $[t]=[[e,0]]}});function rt(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 at(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 ot="CompressionStream"in window;function it(t){return rt(this,void 0,void 0,(function(){var e,n;return at(this,(function(r){switch(r.label){case 0:return r.trys.push([0,3,,4]),ot?(e=new ReadableStream({start:function(e){return rt(this,void 0,void 0,(function(){return at(this,(function(n){return e.enqueue(t),e.close(),[2]}))}))}}).pipeThrough(new TextEncoderStream).pipeThrough(new window.CompressionStream("gzip")),n=Uint8Array.bind,[4,ut(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 ut(t){return rt(this,void 0,void 0,(function(){var e,n,r,a,o;return at(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 ct=null;function st(t,e){dt(t,"string"==typeof e?[e]:e)}function lt(t,e,n,r){return void 0===e&&(e=null),void 0===n&&(n=null),void 0===r&&(r=null),rt(this,void 0,void 0,(function(){var a,o;return at(this,(function(i){switch(i.label){case 0:return o={},[4,ht(t)];case 1:return o.userId=i.sent(),o.userHint=r||((u=t)&&u.length>=5?"".concat(u.substring(0,2)).concat(S(u.substring(2),"*","*")):S(u,"*","*")),dt("userId",[(a=o).userId]),dt("userHint",[a.userHint]),dt("userType",[vt(t)]),e&&(dt("sessionId",[e]),a.sessionId=e),n&&(dt("pageId",[n]),a.pageId=n),[2,a]}var u}))}))}function dt(t,e){if(ea()&&t&&e&&"string"==typeof t&&t.length<255){for(var n=(t in ct?ct[t]:[]),r=0;r<e.length;r++)"string"==typeof e[r]&&e[r].length<255&&n.push(e[r]);ct[t]=n}}function pt(){Rn(34)}function ft(){ct={}}function ht(t){return rt(this,void 0,void 0,(function(){var e;return at(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 vt(t){return t&&t.indexOf("@")>0?"email":"string"}var gt=Object.freeze({__proto__:null,compute:pt,get data(){return ct},identify:lt,reset:ft,set:st,start:function(){ft()},stop:function(){ft()}});var mt,wt={};function yt(t){var e=t.error||t;return e.message in wt||(wt[e.message]=0),wt[e.message]++>=5||e&&e.message&&(mt={message:e.message,line:t.lineno,column:t.colno,stack:e.stack,source:t.filename},bt(31)),!0}function bt(t){return rt(this,void 0,void 0,(function(){var e;return at(this,(function(n){switch(e=[d(),t],t){case 31:e.push(mt.message),e.push(mt.line),e.push(mt.column),e.push(mt.stack),e.push(_(mt.source)),ln(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),ln(e,!1))}return[2]}))}))}var _t,kt={};function Tt(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 kt&&kt[t].indexOf(o)>=0||(_t={code:t,name:n,message:r,stack:a,severity:e},t in kt?kt[t].push(o):kt[t]=[o],bt(33))}var St={},Ot=new Set,xt={},Et={},Mt={},Nt={};function It(t){try{var e=t&&t.length>0?t.split(/ (.*)/):[""],n=e[0].split(/\|(.*)/),r=parseInt(n[0]),a=n.length>1?n[1]:"",o=e.length>1?JSON.parse(e[1]):{};for(var i in xt[r]={},Et[r]={},Mt[r]={},Nt[r]=a,o){var u=parseInt(i),c=o[i],s=2;switch(c.startsWith("~")?s=0:c.startsWith("!")&&(s=4),s){case 0:var l=c.slice(1);xt[r][u]=Ct(l);break;case 2:Et[r][u]=c;break;case 4:var d=c.slice(1);Mt[r][u]=d}}}catch(t){Tt(8,1,t?t.name:null)}}function Pt(t){return JSON.parse(JSON.stringify(t))}function Xt(){try{for(var t in xt){var e=parseInt(t);if(""==Nt[e]||document.querySelector(Nt[e])){var n=xt[e];for(var r in n){var a=parseInt(r),o=(m=At(Pt(n[a])))?JSON.stringify(m).slice(0,1e4):m;o&&jt(e,a,o)}var i=Et[e];for(var u in i){var c=!1,s=parseInt(u),l=i[s];l.startsWith("@")&&(c=!0,l=l.slice(1));var d=document.querySelectorAll(l);if(d){var p=Array.from(d).map((function(t){return t.textContent})).join("<SEP>");jt(e,s,(c?f(p).trim():p).slice(0,1e4))}}var h=Mt[e];for(var v in h){var g=parseInt(v);jt(e,g,(void h[g]).trim().slice(0,1e4))}}}Ot.size>0&&Rn(40)}catch(t){Tt(5,1,t?t.name:null)}var m}function Yt(){Ot.clear()}function jt(t,e,n){var r,a=!1;t in St||(St[t]={},a=!0),r=Mt[t],0==Object.keys(r).length||e in St[t]&&St[t][e]==n||(a=!0),St[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("["),o=r.indexOf("{"),i=r.indexOf("}");e.push({name:a>0?r.slice(0,a):o>0?r.slice(0,o):r,type:a>0?1:o>0?2:3,condition:o>0?r.slice(o+1,i):null})}return e}function At(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&&Dt(a,r.condition))n=At(t,a);else if(Array.isArray(a)){for(var o=[],i=0,u=a;i<u.length;i++){var c=u[i];if(Dt(c,r.condition)){var s=At(t,c);s&&o.push(s)}}n=o}return n}return null}function Dt(t,e){if(e){var n=e.split(":");return n.length>1?t[n[0]]==n[1]:t[n[0]]}return!0}var Ht=Object.freeze({__proto__:null,clone:Pt,compute:Xt,data:St,keys:Ot,reset:Yt,start:function(){Yt()},stop:function(){Yt()},trigger:It,update:jt});function Wt(t,e){try{return!!t[e]}catch(t){return!1}}function zt(t){try{var e=decodeURIComponent(t);return[e!=t,e]}catch(t){}return[!1,t]}var qt=null,Lt="^";function Rt(t,e){var n;if(void 0===e&&(e=!1),Wt(document,"cookie")){var r=document.cookie.split(";");if(r)for(var a=0;a<r.length;a++){var o=r[a].split("=");if(o.length>1&&o[0]&&o[0].trim()===t){for(var i=zt(o[1]),u=i[0],c=i[1];u;)u=(n=zt(c))[0],c=n[1];return e?c.endsWith("".concat("~","1"))?c.substring(0,c.length-2):null:c}}}return null}function Ut(t,e,n){if((u.track||""==e)&&(navigator&&navigator.cookieEnabled||Wt(document,"cookie"))){var r=function(t){return encodeURIComponent(t)}(e),a=new Date;a.setDate(a.getDate()+n);var o=a?"expires="+a.toUTCString():"",i="".concat(t,"=").concat(r).concat(";").concat(o).concat(";path=/");try{if(null===qt){for(var c=location.hostname?location.hostname.split("."):[],s=c.length-1;s>=0;s--)if(qt=".".concat(c[s]).concat(qt||""),s<c.length-1&&(document.cookie="".concat(i).concat(";").concat("domain=").concat(qt),Rt(t)===e))return;qt=""}}catch(t){qt=""}document.cookie=qt?"".concat(i).concat(";").concat("domain=").concat(qt):i}}var Ft=null;function Vt(t){try{if(!Ft)return;var e=function(t){try{return JSON.parse(t)}catch(t){return[]}}(t);e.forEach((function(t){Ft(t)}))}catch(t){}}var Jt=[A,r,gt,n,nt,Object.freeze({__proto__:null,COOKIE_SEP:Lt,getCookie:Rt,setCookie:Ut,start:function(){qt=null},stop:function(){qt=null}}),a,o,i,t,Q,e,Ht];function Bt(){z={},q={},L(5),Jt.forEach((function(t){return zr(t.start)()}))}function Zt(){Jt.slice().reverse().forEach((function(t){return zr(t.stop)()})),z={},q={}}function Gt(){pt(),C(),er(),Rn(0),tt(),Jn(),Xt(),pr()}var Kt=[],Qt=null;var $t=Object.freeze({__proto__:null,checkDocumentStyles:function(t){},compute:function(){},data:Qt,log:function(){},observe:function(){},reset:function(){},sheetAdoptionState:[],sheetUpdateState:[],start:function(){},state:Kt,stop:function(){}}),te=[],ee=null,ne=null,re=null;function ae(){te=[],ee=null,ne=null}function oe(t,e){return void 0===e&&(e=0),rt(this,void 0,void 0,(function(){var n,r,a;return at(this,(function(o){for(n=0,r=te;n<r.length;n++)if(r[n].task===t)return[2];return a=new Promise((function(n){te[1===e?"unshift":"push"]({task:t,resolve:n,id:_r()})})),null===ee&&null===ne&&ie(),[2,a]}))}))}function ie(){var t=te.shift();t&&(ee=t,t.task().then((function(){t.id===_r()&&(t.resolve(),ee=null,ie())})).catch((function(e){t.id===_r()&&(e&&Tt(0,1,e.name,e.message,e.stack),ee=null,ie())})))}var ue,ce=["input","textarea","radio","button","canvas","select"],se=[];function le(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=In(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 s=c?Math.max(Math.floor((a-c.x)/c.w*32767),0):0,l=c?Math.max(Math.floor((o-c.y)/c.h*32767),0):0;if(null!==a&&null!==o){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}}(i);se.push({time:d(n),event:t,data:{target:i,x:a,y:o,eX:s,eY:l,button:n.button,reaction:de(i),context:fe(u),text:p.text,link:u?u.href:null,hash:null,trust:n.isTrusted?1:0,isFullText:p.isFullText,w:c?c.w:0,h:c?c.h:0,tag:pe(i,"tagName").substring(0,10),class:pe(i,"className").substring(0,50),id:pe(i,"id").substring(0,25)}}),oe(ze.bind(this,t))}}function de(t){var e=pe(t,"tagName");return ce.indexOf(e)>=0?0:1}function pe(t,e){if(t.nodeType===Node.ELEMENT_NODE){var n=null==t?void 0:t[e];return"string"==typeof n?null==n?void 0:n.toLowerCase():""}return""}function fe(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 he(){se=[]}function ve(t,e){var n=0,r=null,a=null;function o(){for(var o=this,i=[],u=0;u<arguments.length;u++)i[u]=arguments[u];var c=performance.now(),s=c-n;if(0!==n&&s<e){if(a=i,r)return;r=setTimeout((function(){n=performance.now(),t.apply(o,a),a=null,r=null}),e-s)}else n=c,t.apply(this,i)}return o.cleanup=function(){r&&(clearTimeout(r),r=null,a=null)},o}var ge=null,me=!1,we=ve(ye,500);function ye(){var t=document.documentElement;ue={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?(V(ge),ge=F(be,500,11)):(ze(11),me=!0)}function be(t){oe(ze.bind(this,t))}function _e(){ue=null,V(ge),we.cleanup()}var ke=[],Te=null;function Se(t){void 0===t&&(t=null);var e=window,n=document.documentElement,r=t?In(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),o=r===n&&"pageYOffset"in e?Math.round(e.pageYOffset):Math.round(r.scrollTop),i=window.innerWidth,u=window.innerHeight,c=i/3,s=i>u?.15*u:.2*u,l=u-s,p=xe(c,s),f=xe(c,l),h={time:d(t),event:10,data:{target:r,x:a,y:o,top:p,bottom:f}};if((null!==t||0!==a||0!==o)&&null!==a&&null!==o){var v=ke.length,g=v>1?ke[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)&&ke.pop(),ke.push(h),V(Te),Te=F(Ee,500,10)}}}var Oe=ve(Se,25);function xe(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 Ee(t){oe(ze.bind(this,t))}var Me,Ne,Ie,Pe=[];function Xe(t){Pe.push({time:d(t),event:39,data:{target:In(t)}}),oe(ze.bind(this,39))}function Ye(){Pe=[]}function je(t){Me={name:t.type,persisted:t.persisted?1:0},ze(26,d(t)),oa()}function Ce(){Me=null}function Ae(t){if(void 0===t&&(t=null),"visibilityState"in document){var e="visible"===document.visibilityState?1:0;Ne={visible:e},ze(28,d(t))}}function De(){Ne=null}function He(){Ie=null}function We(t){Ie={focused:t},ze(50)}function ze(t,e){return void 0===e&&(e=null),rt(this,void 0,void 0,(function(){var n,r,a,o,i,u,c,s,l,p,f,h,v,g,m,w,y,k,T,S,O,x,E,M,N,I,X,j,C,A,D,H,W,z,q,L;return at(this,(function(R){switch(n=e||d(),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=Kt;a<o.length;a++)z=o[a],(i=Pn(z.data.target,z.event)).id>0&&((r=[z.time,z.event]).push(i.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())),ln(r),(void 0===z.data.isPrimary||z.data.isPrimary)&&P(z.event,z.data.x,z.data.y,z.time));break;case 9:case 48:for(u=0,c=se;u<c.length;u++)z=c[u],s=Pn(z.data.target,z.event,z.data.text),r=[z.time,z.event],l=s.hash?s.hash.join("."):"",r.push(s.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(b(z.data.text,"click",s.privacy)),r.push(_(z.data.link)),r.push(l),r.push(z.data.trust),r.push(z.data.isFullText),r.push(z.data.w),r.push(z.data.h),r.push(z.data.tag),r.push(z.data.class),r.push(z.data.id),ln(r),Ue(z.time,z.event,l,z.data.x,z.data.y,z.data.reaction,z.data.context);he();break;case 38:for(p=0,f=Kt;p<f.length;p++)z=f[p],r=[z.time,z.event],(D=Pn(z.data.target,z.event)).id>0&&(r.push(D.id),r.push(z.data.action),ln(r));break;case 11:h=ue,r.push(h.width),r.push(h.height),P(t,h.width,h.height),_e(),ln(r);break;case 26:v=Me,r.push(v.name),r.push(v.persisted),Ce(),ln(r);break;case 27:for(g=0,m=Kt;g<m.length;g++)z=m[g],w=Pn(z.data.target,z.event,z.data.value),(r=[z.time,z.event]).push(w.id),r.push(b(z.data.value,"input",w.privacy,!1,z.data.type)),r.push(z.data.trust),ln(r);break;case 21:(y=Qt)&&(k=Pn(y.start),T=Pn(y.end),r.push(k.id),r.push(y.startOffset),r.push(T.id),r.push(y.endOffset),ln(r));break;case 10:for(S=0,O=ke;S<O.length;S++)z=O[S],x=Pn(z.data.target,z.event),E=Pn(z.data.top,z.event),M=Pn(z.data.bottom,z.event),N=(null==E?void 0:E.hash)?E.hash.join("."):"",I=(null==M?void 0:M.hash)?M.hash.join("."):"",x.id>0&&((r=[z.time,z.event]).push(x.id),r.push(z.data.x),r.push(z.data.y),r.push(N),r.push(I),ln(r),P(z.event,z.data.x,z.data.y,z.time));ke=[];break;case 42:for(X=0,j=Kt;X<j.length;X++)z=j[X],r=[z.time,z.event],(D=Pn(z.data.target,z.event)).id>0&&((r=[z.time,z.event]).push(D.id),r.push(z.data.type),r.push(b(z.data.value,"change",D.privacy)),r.push(b(z.data.checksum,"checksum",D.privacy)),ln(r));break;case 39:for(C=0,A=Pe;C<A.length;C++)z=A[C],r=[z.time,z.event],(D=Pn(z.data.target,z.event)).id>0&&(r.push(D.id),ln(r));Ye();break;case 22:for(H=0,W=Le;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),ln(r,!1);Re();break;case 28:q=Ne,r.push(q.visible),ln(r),Y(n,q.visible),De();break;case 50:L=Ie,r.push(L.focused),ln(r,!1),He()}return[2]}))}))}var qe=[],Le=[];function Re(){Le=[]}function Ue(t,e,n,r,a,o,i){void 0===o&&(o=1),void 0===i&&(i=0),qe.push({time:t,event:22,data:{type:e,hash:n,x:r,y:a,reaction:o,context:i}}),P(e,r,a,t)}var Fe=[],Ve=!1,Je=null;function Be(t){Ve&&"function"==typeof t&&Fe.push(t)}function Ze(t){if(Ve){var e=t?t.split(" "):[""],n=e.length>1?parseInt(e[1],10):null;n&&Je.has(n)||function(t,e){try{var n=document.createElement("script");n.src=t,n.async=!0,n.onload=function(){e&&(Je.add(e),j(Je))},n.onerror=function(){Wr(new Error("".concat("MODULE",": ").concat(t)))},document.head.appendChild(n)}catch(t){}}(e[0],n)}}var Ge,Ke,Qe,$e,tn,en,nn=Object.freeze({__proto__:null,event:Ze,register:Be,start:function(){Ve=!0,Je=new Set},stop:function(){Fe.reverse().forEach((function(t){try{t()}catch(t){}})),Fe=[],Ve=!1}}),rn=0,an=0,on=null,un=0,cn=!1;function sn(){$e=!0,rn=0,an=0,cn=!1,un=0,Ge=[],Ke=[],Qe={},tn=null}function ln(t,e){if(void 0===e&&(e=!0),$e){var n=d(),r=t.length>1?t[1]:null,a=JSON.stringify(t);switch(u.lean?!cn&&an+a.length>10485760&&(Tt(10,0),cn=!0):cn=!1,r){case 5:if(cn)break;rn+=a.length;case 37:case 6:case 43:case 45:case 46:case 44:case 51:if(cn)break;an+=a.length,Ge.push(a);break;default:Ke.push(a)}L(25);var o=function(){var t=!1===u.lean&&rn>0?100:jr.sequence*u.delay;return"string"==typeof u.upload?Math.max(Math.min(t,3e4),100):u.delay}();n-un>2*o&&(V(on),on=null),e&&null===on&&(25!==r&&G(),on=F(pn,o),un=n,Fn(an))}}function dn(){V(on),pn(!0),rn=0,an=0,cn=!1,un=0,Ge=[],Ke=[],Qe={},tn=null,$e=!1}function pn(t){return void 0===t&&(t=!1),rt(this,void 0,void 0,(function(){var e,n,r,a,o,i,c,s;return at(this,(function(l){switch(l.label){case 0:return $e?(on=null,(e=!1===u.lean&&an>0&&(an<1048576||jr.sequence>0))&&U(1,1),function(){if(jr){var t=[];Le=[];for(var e=(jr.start||0)+(jr.duration||0),n=Math.max(e-2e3,0),r=0,a=qe;r<a.length;r++){var o=a[r];o.time>=n&&(o.time<=e&&Le.push(o),t.push(o))}qe=t,ze(22)}}(),Gt(),n=!0===t,jr?(r=JSON.stringify(Dr(n)),a="[".concat(Ke.join(),"]"),o=e?"[".concat(Ge.join(),"]"):"",n&&o.length>0&&r.length+a.length+o.length>65536&&(o=""),i=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]):[2]):[2];case 1:return[4,it(i)];case 2:s=l.sent(),l.label=3;case 3:return R(2,(c=s)?c.length:i.length),fn(i,c,jr.sequence,n),Ke=[],e&&(Ge=[],an=0,rn=0,cn=!1),[2]}}))}))}function fn(t,e,n,r){if(void 0===r&&(r=!1),"string"==typeof u.upload){var a=u.upload,o=!1;if(r&&navigator&&navigator.sendBeacon)try{(o=navigator.sendBeacon.bind(navigator)(a,t))&&vn(n)}catch(t){}if(!1===o){n in Qe?Qe[n].attempts++:Qe[n]={data:t,attempts:1};var i=new XMLHttpRequest;i.open("POST",a,!0),i.timeout=15e3,i.ontimeout=function(){Wr(new Error("".concat("Timeout"," : ").concat(a)))},null!==n&&(i.onreadystatechange=function(){zr(hn)(i,n)}),i.withCredentials=!0,e?(i.setRequestHeader("Accept","application/x-clarity-gzip"),i.send(e)):i.send(t)}}else if(u.upload){(0,u.upload)(t),vn(n)}}function hn(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?Vn(6):(0===t.status&&(u.upload=u.fallback?u.fallback:u.upload),tn={sequence:e,attempts:n.attempts,status:t.status},Rn(2),fn(n.data,null,e)):(tn={sequence:e,attempts:n.attempts,status:t.status},n.attempts>1&&Rn(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":Vn(6);break;case"UPGRADE":qn("Auto");break;case"ACTION":u.action&&o.length>1&&u.action(o[1]);break;case"EXTRACT":o.length>1&&It(o[1]);break;case"SIGNAL":o.length>1&&Vt(o[1]);break;case"MODULE":o.length>1&&Ze(o[1]);break;case"SNAPSHOT":u.lean=!1,Xn()}}}(t.responseText),0===t.status&&(fn(n.data,null,e,!0),Vn(3)),t.status>=200&&t.status<=208&&vn(e),delete Qe[e]))}function vn(t){1===t&&(Mr(),Er())}function gn(t){return rt(this,void 0,void 0,(function(){var e,n,r,a,o,i,u,c,s,l,p,f,h;return at(this,(function(v){switch(e=d(),n=[e,t],t){case 8:r=en,n.push(r.width),n.push(r.height),P(t,r.width,r.height),ln(n);break;case 43:if((a=Sn).length>0){for(o=0,i=a;o<i.length;o++)for(u=i[o],c=u.metadata.privacy,s=u.data,l=0,p=["tag","attributes","value"];l<p.length;l++)if(s[f=p[l]])switch(f){case"tag":n.push(u.id),u.parent&&n.push(u.parent),u.previous&&n.push(u.previous),n.push(s[f]);break;case"attributes":for(h in s[f])void 0!==s[f][h]&&n.push(mn(h,s[f][h],c));break;case"value":n.push(b(s[f],s.tag,c))}ln(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 mn(t,e,n){return"".concat(t,"=").concat(b(e,0===t.indexOf("data-")?"data-":t,n))}function wn(){en=null}function yn(){var t,e,n,r,a,o,i,u,c,s,l,d,p,f,h,v;wn(),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,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!==en&&c===en.width&&v===en.height||null===c||null===v||(en={width:c,height:v},gn(8))}var bn=!1;function _n(t){t&&t.persisted&&(aa(),Tt(11,0))}function kn(t){!function(t){Lr(t===document?window:t,"scroll",Oe,!0)}(t),t.nodeType===Node.DOCUMENT_NODE&&(function(t){Lr(t,"click",le.bind(this,9,t),!0),Lr(t,"contextmenu",le.bind(this,48,t),!0)}(t),function(t){Lr(t,"submit",Xe,!0)}(t))}var Tn=Object.freeze({__proto__:null,observe:kn,start:function(){qe=[],Re(),he(),me=!1,Lr(window,"resize",we),ye(),Lr(document,"visibilitychange",Ae),Ae(),Lr(window,"focus",(function(){return We(1)})),Lr(window,"blur",(function(){return We(0)})),function(){if(!bn)try{window[c("addEventListener")]("pageshow",zr(_n),{capture:!1,passive:!0}),bn=!0}catch(t){}}(),ke=[],Se(),Ye(),Lr(window,"pagehide",je)},stop:function(){qe=[],Re(),he(),_e(),De(),He(),V(Te),Oe.cleanup(),ke=[],Ye(),Ce()}}),Sn=[],On=1,xn=null;function En(){Yn(),yn(),Cn(document.documentElement),kn(document)}function Mn(){return!1}function Nn(){}function In(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 Pn(t){var e={id:0,hash:null,privacy:u.conversions?1:5};return t&&(e.id=xn.has(t)?xn.get(t):Cn(t)),e}function Xn(){Sn=[],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=xn.get(u)?"*T":r;break;case Node.ELEMENT_NODE:var s=o;n=jn(s),r=["NOSCRIPT","SCRIPT","STYLE"].indexOf(s.tagName)<0?s.tagName:r}An(o,u,{tag:r,attributes:n,value:a})}}(document),gn(43)}function Yn(){xn=new WeakMap}function jn(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 Cn(t){return null===t?null:xn.has(t)?xn.get(t):(xn.set(t,On),On++)}function An(t,e,n){if(t&&n&&n.tag){var r=Cn(t),a=e?xn.get(e):null,o=t.previousSibling?xn.get(t.previousSibling):null;Sn.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 Dn,Hn=Object.freeze({__proto__:null,compute:function(){},get:function(t){return null},hashText:Nn,iframe:Mn,metadata:Pn,offset:function(){return{x:0,y:0}},snapshot:Xn,start:En,stop:function(){Yn(),wn()},target:In,get values(){return Sn}}),Wn=null;function zn(){!u.lean&&u.upgrade&&u.upgrade("Config"),Wn=null}function qn(t){ea()&&u.lean&&(u.lean=!1,Wn={key:t},Er(),Mr(),u.upgrade&&u.upgrade(t),Rn(3),u.lite&&En())}function Ln(){Wn=null}function Rn(t){var e=[d(),t];switch(t){case 4:var n=E;n&&n.data&&((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),e.push(n.data.modules),ln(e,!1)),I();break;case 25:e.push(W.gap),ln(e);break;case 35:e.push(Dn.check),ln(e,!1);break;case 3:e.push(Wn.key),ln(e);break;case 2:e.push(tn.sequence),e.push(tn.attempts),e.push(tn.status),ln(e,!1);break;case 24:D.key&&e.push(D.key),e.push(D.value),ln(e);break;case 34:var r=Object.keys(ct);if(r.length>0){for(var a=0,o=r;a<o.length;a++){var i=o[a];e.push(i),e.push(ct[i])}ft(),ln(e,!1)}break;case 0:var u=Object.keys(q);if(u.length>0){for(var c=0,s=u;c<s.length;c++){var l=s[c],p=parseInt(l,10);e.push(p),e.push(Math.round(q[l]))}q={},ln(e,!1)}break;case 1:var f=Object.keys(Gn);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(Gn[g])}nr(),ln(e,!1)}break;case 36:var m=Object.keys($);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([],$[b]))}et(),ln(e,!1)}break;case 40:Ot.forEach((function(t){e.push(t);var n=[];for(var r in St[t]){var a=parseInt(r,10);n.push(a),n.push(St[t][r])}e.push(n)})),Yt(),ln(e,!1);break;case 47:e.push(rr.source),e.push(rr.ad_Storage),e.push(rr.analytics_Storage),ln(e,!1)}}function Un(){Dn={check:0}}function Fn(t){if(0===Dn.check){var e=Dn.check;e=jr.sequence>=128?1:e,e=jr.pageNum>=128?7:e,e=d()>72e5?2:e,(e=t>10485760?2:e)!==Dn.check&&Vn(e)}}function Vn(t){Dn.check=t,5!==t&&(xr(),oa())}function Jn(){0!==Dn.check&&Rn(35)}function Bn(){Dn=null}var Zn=null,Gn=null,Kn=!1;function Qn(){Zn={},Gn={},Kn=!1}function $n(){Zn={},Gn={},Kn=!1}function tr(t,e){if(e&&(e="".concat(e),t in Zn||(Zn[t]=[]),Zn[t].indexOf(e)<0)){if(Zn[t].length>128)return void(Kn||(Kn=!0,Vn(5)));Zn[t].push(e),t in Gn||(Gn[t]=[]),Gn[t].push(e)}}function er(){Rn(1)}function nr(){Gn={},Kn=!1}var rr=null,ar=!0;function or(){var t,e=null===(t=window.google_tag_data)||void 0===t?void 0:t.ics;ar=!0,(null==e?void 0:e.addListener)&&e.addListener(["ad_storage","analytics_storage"],ur)}function ir(){ar=!0}function ur(){var t,e=null===(t=window.google_tag_data)||void 0===t?void 0:t.ics;if(null==e?void 0:e.getConsentState){var n=e.getConsentState("analytics_storage");Tr(function(t){var e={source:2,ad_Storage:1===t.ad_Storage?"granted":"denied",analytics_Storage:1===t.analytics_Storage?"granted":"denied"};return e}({ad_Storage:e.getConsentState("ad_storage"),analytics_Storage:n}))}}function cr(t){lr(t.analytics_Storage?1:0),rr=t}function sr(){lr(2)}function lr(t){tr(36,t.toString())}function dr(t){rr=t,Rn(47)}function pr(){var t;if(ar&&(Rn(47),ar=!1,!u.track)){var e=null===(t=window.google_tag_data)||void 0===t?void 0:t.ics;(null==e?void 0:e.usedUpdate)&&ur()}}var fr=null,hr=[],vr=0,gr=null,mr={source:7,ad_Storage:"denied",analytics_Storage:"denied"};function wr(){var t,e,n,r=navigator&&"userAgent"in navigator?navigator.userAgent:"",a=null!==(n="undefined"!=typeof Intl&&(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:"",o=(new Date).getTimezoneOffset().toString(),i=window.location.ancestorOrigins?Array.from(window.location.ancestorOrigins).toString():"",c=document&&document.title?document.title:"";vr=r.indexOf("Electron")>0?1:0;var s=function(){var t={session:Ir(),ts:Math.round(Date.now()),count:1,upgrade:null,upload:""},e=Rt("_clsk",!u.includeSubdomains);if(e){var n=e.includes("^")?e.split("^"):e.split("|");n.length>=5&&t.ts-Pr(n[1])<18e5&&(t.session=n[0],t.count=Pr(n[2])+1,t.upgrade=Pr(n[3]),t.upload=n.length>=6?"".concat("https://").concat(n[5],"/").concat(n[4]):"".concat("https://").concat(n[4]))}return t}(),l=Xr(),d=u.projectId||f(location.host);fr={projectId:d,userId:l.id,sessionId:s.session,pageNum:s.count},u.lean=u.track&&null!==s.upgrade?0===s.upgrade:u.lean,u.upload=u.track&&"string"==typeof u.upload&&s.upload&&s.upload.length>"https://".length?s.upload:u.upload,tr(0,r),tr(3,c),tr(1,_(location.href,!!vr)),tr(2,document.referrer),tr(15,function(){var t=Ir();if(u.track&&Wt(window,"sessionStorage")){var e=sessionStorage.getItem("_cltk");t=e||t,sessionStorage.setItem("_cltk",t)}return t}()),tr(16,document.documentElement.lang),tr(17,document.dir),tr(26,"".concat(window.devicePixelRatio)),tr(28,l.dob.toString()),tr(29,l.version.toString()),tr(33,i),tr(34,a),tr(35,o),U(0,s.ts),U(1,0),U(35,vr);var p,h=null===window||void 0===window?void 0:window.Zone;h&&"__symbol__"in h&&U(39,1),navigator&&(tr(9,navigator.language),U(33,navigator.hardwareConcurrency),U(32,navigator.maxTouchPoints),U(34,Math.round(navigator.deviceMemory)),(p=navigator.userAgentData)&&p.getHighEntropyValues?p.getHighEntropyValues(["model","platform","platformVersion","uaFullVersion"]).then((function(t){var e;tr(22,t.platform),tr(23,t.platformVersion),null===(e=t.brands)||void 0===e||e.forEach((function(t){tr(24,t.name+"~"+t.version)})),tr(25,t.model),U(27,t.mobile?1:0)})):tr(22,navigator.platform)),screen&&(U(14,Math.round(screen.width)),U(15,Math.round(screen.height)),U(16,Math.round(screen.colorDepth)));for(var v=0,g=u.cookies;v<g.length;v++){var m=g[v],w=Rt(m);w&&st(m,w)}null===gr&&(gr={source:l.consent?6:0,ad_Storage:u.track?"granted":"denied",analytics_Storage:u.track?"granted":"denied"}),cr(Sr(gr)),Nr(l)}function yr(){fr=null,hr.forEach((function(t){t.called=!1}))}function br(t,e,n,r){void 0===e&&(e=!0),void 0===n&&(n=!1),void 0===r&&(r=!1);var a=u.lean?0:1,o=!1;fr&&(a||!1===e)&&(t(fr,!u.lean,r?gr:void 0),o=!0),!n&&o||hr.push({callback:t,wait:e,recall:n,called:o,consentInfo:r})}function _r(){return fr?[fr.userId,fr.sessionId,fr.pageNum].join("."):""}function kr(t){void 0===t&&(t=!0),t?(Tr({source:4,ad_Storage:"granted",analytics_Storage:"granted"}),sr()):Tr({source:4,ad_Storage:"denied",analytics_Storage:"denied"})}function Tr(t,e){var n;void 0===t&&(t=mr),void 0===e&&(e=5);var r={source:null!==(n=t.source)&&void 0!==n?n:e,ad_Storage:Or(t.ad_Storage,null==gr?void 0:gr.ad_Storage),analytics_Storage:Or(t.analytics_Storage,null==gr?void 0:gr.analytics_Storage)};if(gr&&r.ad_Storage===gr.ad_Storage&&r.analytics_Storage===gr.analytics_Storage)return gr.source=r.source,dr(Sr(gr)),void sr();gr=r,Er(!0);var a=Sr(gr);if(!a.analytics_Storage&&u.track)return u.track=!1,xr(!0),oa(),void window.setTimeout(aa,250);ea()&&a.analytics_Storage&&(u.track=!0,Nr(Xr(),1),Mr()),dr(a),sr()}function Sr(t){var e;return{source:null!==(e=t.source)&&void 0!==e?e:0,ad_Storage:"granted"===t.ad_Storage?1:0,analytics_Storage:"granted"===t.analytics_Storage?1:0}}function Or(t,e){return void 0===e&&(e="denied"),"string"==typeof t?t.toLowerCase():e}function xr(t){void 0===t&&(t=!1),Ut("_clsk","",-Number.MAX_VALUE),t&&Ut("_clck","",-Number.MAX_VALUE)}function Er(t){void 0===t&&(t=!1),function(t,e){void 0===e&&(e=!1);if(hr.length>0)for(var n=0;n<hr.length;n++){var r=hr[n];r.callback&&(!r.called&&!e||r.consentInfo&&e)&&(!r.wait||t)&&(r.callback(fr,!u.lean,r.consentInfo?gr:void 0),r.called=!0,r.recall||(hr.splice(n,1),n--))}}(u.lean?0:1,t)}function Mr(){if(fr&&u.track){var t=Math.round(Date.now()),e=u.upload&&"string"==typeof u.upload?u.upload.replace("https://",""):"",n=u.lean?0:1;Ut("_clsk",[fr.sessionId,t,fr.pageNum,n,e].join(Lt),1)}}function Nr(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===u.dob?0:u.dob:t.dob;(null===t.expiry||Math.abs(n-t.expiry)>=1||t.consent!==e||t.dob!==r)&&Ut("_clck",[fr.userId,2,n.toString(36),e,r].join(Lt),365)}function Ir(){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 Pr(t,e){return void 0===e&&(e=10),parseInt(t,e)}function Xr(){var t={id:Ir(),version:0,expiry:null,consent:0,dob:0},e=Rt("_clck",!u.includeSubdomains);if(e&&e.length>0){var n=e.includes("^")?e.split("^"):e.split("|");n.length>1&&(t.version=Pr(n[1])),n.length>2&&(t.expiry=Pr(n[2],36)),n.length>3&&1===Pr(n[3])&&(t.consent=1),n.length>4&&Pr(n[1])>1&&(t.dob=Pr(n[4])),u.track=u.track||1===t.consent,t.id=u.track?n[0]:t.id}return t}var Yr,jr=null;function Cr(){var t=fr;jr={version:p,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 Ar(){jr=null}function Dr(t){return jr.start=jr.start+jr.duration,jr.duration=d()-jr.start,jr.sequence++,jr.upload=t&&"sendBeacon"in navigator?1:0,jr.end=t?1:0,jr.applicationPlatform=0,jr.url=_(location.href,!1,!0),[jr.version,jr.sequence,jr.start,jr.duration,jr.projectId,jr.userId,jr.sessionId,jr.pageNum,jr.upload,jr.end,jr.applicationPlatform,jr.url]}function Hr(){Yr=[]}function Wr(t){if(Yr&&-1===Yr.indexOf(t.message)){var e=u.report;if(e&&e.length>0&&jr){var n={v:jr.version,p:jr.projectId,u:jr.userId,s:jr.sessionId,n:jr.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)),Yr.push(t.message)}}return t}function zr(t){return function(){var e=performance.now();try{t.apply(this,arguments)}catch(t){throw Wr(t)}var n=performance.now()-e;R(4,n),n>30&&(L(7),U(6,n),t.dn&&Tt(9,0,"".concat(t.dn,"-").concat(n)))}}var qr=new Map;function Lr(t,e,n,r,a){void 0===r&&(r=!1),void 0===a&&(a=!0),n=zr(n);try{t[c("addEventListener")](e,n,{capture:r,passive:a}),function(t){return qr.has(t)}(t)||qr.set(t,[]),qr.get(t).push({event:e,listener:n,options:{capture:r,passive:a}})}catch(t){}}function Rr(){qr.forEach((function(t,e){!function(t,e){t.forEach((function(t){try{e[c("removeEventListener")](t.event,t.listener,{capture:t.options.capture,passive:t.options.passive})}catch(t){}})),qr.delete(e)}(t,e)})),qr=new Map}var Ur=null,Fr=null,Vr=null,Jr=0;function Br(){return!(Jr++>20)||(Tt(4,0),!1)}function Zr(){Jr=0,Vr!==Kr()&&(oa(),window.setTimeout(Gr,250))}function Gr(){aa(),U(29,1)}function Kr(){return location.href?location.href.replace(location.hash,""):location.href}var Qr=!1;function $r(){Qr=!0,s=l(),ae(),Rr(),Hr(),Vr=Kr(),Jr=0,Lr(window,"popstate",Zr),null===Ur&&(Ur=history.pushState,history.pushState=function(){Ur.apply(this,arguments),ea()&&Br()&&Zr()}),null===Fr&&(Fr=history.replaceState,history.replaceState=function(){Fr.apply(this,arguments),ea()&&Br()&&Zr()})}function ta(){Vr=null,Jr=0,Hr(),Rr(),ae(),s=0,Qr=!1}function ea(){return Qr}function na(){aa(),H("clarity","restart")}var ra=[Object.freeze({__proto__:null,start:function(){!function(){U(26,navigator.webdriver?1:0);try{U(31,window.top==window.self||window.top==window?1:2)}catch(t){U(31,0)}}(),Lr(window,"error",yt),wt={},kt={}},stop:function(){kt={}}}),Hn,Tn,$t,nn];function aa(t){void 0===t&&(t=null),function(){try{var t=navigator&&"globalPrivacyControl"in navigator&&1==navigator.globalPrivacyControl;return!1===Qr&&"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||Qr)return!1;for(var e in t)e in u&&(u[e]=t[e])}(t),$r(),Bt(),ra.forEach((function(t){return zr(t.start)()})),null===t&&sa())}function oa(){ea()&&(ra.slice().reverse().forEach((function(t){return zr(t.stop)()})),Zt(),ta(),void 0!==ua&&(ua[ca]=function(){(ua[ca].q=ua[ca].q||[]).push(arguments),"start"===arguments[0]&&ua[ca].q.unshift(ua[ca].q.pop())&&sa()}))}var ia=Object.freeze({__proto__:null,consent:kr,consentv2:Tr,dlog:tr,event:H,hashText:Nn,identify:lt,maxMetric:U,measure:zr,metadata:br,pause:function(){ea()&&(H("clarity","pause"),null===ne&&(ne=new Promise((function(t){re=t}))))},queue:ln,register:Be,resume:function(){ea()&&(ne&&(re(),ne=null,null===ee&&ie()),H("clarity","resume"))},schedule:oe,set:st,signal:function(t){Ft=t},start:aa,stop:oa,time:d,upgrade:qn,version:p}),ua=window,ca="clarity";function sa(){if(void 0!==ua){if(ua[ca]&&ua[ca].v)return console.warn("Error CL001: Multiple Clarity tags detected.");var t=ua[ca]&&ua[ca].q||[];for(ua[ca]=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return ia[t].apply(ia,e)},ua[ca].v=p;t.length>0;)ua[ca].apply(ua,t.shift())}}sa()}();
|
|
1
|
+
!function(){"use strict";var t=Object.freeze({__proto__:null,get queue(){return ln},get start(){return sn},get stop(){return dn},get track(){return tn}}),e=Object.freeze({__proto__:null,get data(){return Dn},get start(){return Hn},get stop(){return zn},get upgrade(){return Wn}}),n=Object.freeze({__proto__:null,get check(){return Rn},get compute(){return Fn},get data(){return Cn},get start(){return Ln},get stop(){return Vn},get trigger(){return Un}}),r=Object.freeze({__proto__:null,get compute(){return $n},get data(){return Jn},get log(){return Qn},get reset(){return tr},get start(){return Gn},get stop(){return Kn},get updates(){return Bn}}),a=Object.freeze({__proto__:null,get compute(){return lr},get config(){return ir},get consent(){return ur},get data(){return er},get start(){return rr},get stop(){return ar},get trackConsentv2(){return sr}}),o=Object.freeze({__proto__:null,get callback(){return Or},get callbacks(){return pr},get clear(){return Sr},get consent(){return br},get consentv2(){return _r},get data(){return dr},get electron(){return fr},get id(){return yr},get metadata(){return wr},get save(){return xr},get shortid(){return Mr},get start(){return gr},get stop(){return mr}}),i=Object.freeze({__proto__:null,get data(){return Xr},get envelope(){return Cr},get start(){return Yr},get stop(){return jr}}),u={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 c(t){return window.Zone&&"__symbol__"in window.Zone?window.Zone.__symbol__(t):t}var s=0;function l(){return performance.now()+performance.timeOrigin}function d(t){void 0===t&&(t=null);var e=0===s?l():s,n=t&&t.timeStamp>0?t.timeStamp:performance.now(),r=t&&t.view?t.view.performance.timeOrigin:performance.timeOrigin;return Math.max(Math.round(n+r-e),0)}var p="0.8.47";function f(t,e){void 0===e&&(e=null);for(var n,r=5381,a=r,o=0;o<t.length;o+=2){if(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)}var h=/\S/gi,v=255,g=!0,m=null,w=null,y=null;function b(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,o=!1,i=null;x();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=g&&null!==y?s.match(y)?s:S(s,"▪","▫"):T(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 O(t)}return t;case 2:case 3:switch(e){case"*T":case"data-":return r?k(t):T(t);case"src":case"srcset":case"title":case"alt":case"href":case"xlink:href":return 3===n?"src"===e&&(null==t?void 0:t.startsWith("blob:"))?"blob:":"":t;case"value":case"click":case"input":case"change":return O(t);case"placeholder":return T(t)}break;case 4:switch(e){case"*T":case"data-":return r?k(t):T(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 S(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 _(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=u.drop;if(a&&a.length>0&&t&&t.indexOf("?")>0){var o=t.split("?"),i=o[0],c=o[1];r=i+"?"+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,v)),r}function k(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 T(t){return t.replace(h,"•")}function S(t,e,n){return x(),t?t.replace(w,e).replace(m,n):t}function O(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 x(){if(g&&null===m)try{m=new RegExp("\\p{N}","gu"),w=new RegExp("\\p{L}","gu"),y=new RegExp("\\p{Sc}","gu")}catch(t){g=!1}}var E=null,M=null,N=!1;function I(){N&&(E={time:d(),event:4,data:{visible:M.visible,docWidth:M.docWidth,docHeight:M.docHeight,screenWidth:M.screenWidth,screenHeight:M.screenHeight,scrollX:M.scrollX,scrollY:M.scrollY,pointerX:M.pointerX,pointerY:M.pointerY,activityTime:M.activityTime,scrollTime:M.scrollTime,pointerTime:M.pointerTime,moveX:M.moveX,moveY:M.moveY,moveTime:M.moveTime,downX:M.downX,downY:M.downY,downTime:M.downTime,upX:M.upX,upY:M.upY,upTime:M.upTime,pointerPrevX:M.pointerPrevX,pointerPrevY:M.pointerPrevY,pointerPrevTime:M.pointerPrevTime,modules:M.modules}}),M=M||{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,modules:null}}function P(t,e,n,r){switch(t){case 8:M.docWidth=e,M.docHeight=n;break;case 11:M.screenWidth=e,M.screenHeight=n;break;case 10:M.scrollX=e,M.scrollY=n,M.scrollTime=r;break;case 12:M.moveX=e,M.moveY=n,M.moveTime=r,M.pointerPrevX=M.pointerX,M.pointerPrevY=M.pointerY,M.pointerPrevTime=M.pointerTime,M.pointerX=e,M.pointerY=n,M.pointerTime=r;break;case 13:M.downX=e,M.downY=n,M.downTime=r,M.pointerPrevX=M.pointerX,M.pointerPrevY=M.pointerY,M.pointerPrevTime=M.pointerTime,M.pointerX=e,M.pointerY=n,M.pointerTime=r;break;case 14:M.upX=e,M.upY=n,M.upTime=r,M.pointerPrevX=M.pointerX,M.pointerPrevY=M.pointerY,M.pointerPrevTime=M.pointerTime,M.pointerX=e,M.pointerY=n,M.pointerTime=r;break;default:M.pointerPrevX=M.pointerX,M.pointerPrevY=M.pointerY,M.pointerPrevTime=M.pointerTime,M.pointerX=e,M.pointerY=n,M.pointerTime=r}N=!0}function X(t){M.activityTime=t}function Y(t,e){M.visible=e,M.visible||X(t),N=!0}function j(t){M.modules=Array.from(t),N=!0}function C(){N&&qn(4)}var A=Object.freeze({__proto__:null,activity:X,compute:C,dynamic:j,reset:I,start:function(){N=!1,I()},get state(){return E},stop:function(){I()},track:P,visibility:Y}),D=null;function H(t,e){$r()&&t&&"string"==typeof t&&t.length<255&&(D=e&&"string"==typeof e&&e.length<255?{key:t,value:e}:{value:t},qn(24))}var W,z=null,q=null;function L(t){t in z||(z[t]=0),t in q||(q[t]=0),z[t]++,q[t]++}function R(t,e){null!==e&&(t in z||(z[t]=0),t in q||(q[t]=0),z[t]+=e,q[t]+=e)}function U(t,e){null!==e&&!1===isNaN(e)&&(t in z||(z[t]=0),(e>z[t]||0===z[t])&&(q[t]=e,z[t]=e))}function F(t,e,n){return window.setTimeout(Hr(t),e,n)}function V(t){return window.clearTimeout(t)}var J=0,B=0,Z=null;function G(){Z&&V(Z),Z=F(K,B),J=d()}function K(){var t=d();W={gap:t-J},qn(25),W.gap<3e5?Z=F(K,B):Gr&&(H("clarity","suspend"),ra(),["mousemove","touchstart"].forEach((function(t){return zr(document,t,ta)})),["resize","scroll","pageshow"].forEach((function(t){return zr(window,t,ta)})))}var Q=Object.freeze({__proto__:null,get data(){return W},reset:G,start:function(){B=6e4,J=0},stop:function(){V(Z),J=0,B=0}}),$=null;function tt(){qn(36)}function et(){$={}}var nt=Object.freeze({__proto__:null,compute:tt,get data(){return $},reset:et,start:function(){$={}},stop:function(){$={}},track:function(t,e){if(t in $){var n=$[t],r=n[n.length-1];e-r[0]>100?$[t].push([e,0]):r[1]=e-r[0]}else $[t]=[[e,0]]}});function rt(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 at(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 ot="CompressionStream"in window;function it(t){return rt(this,void 0,void 0,(function(){var e,n;return at(this,(function(r){switch(r.label){case 0:return r.trys.push([0,3,,4]),ot?(e=new ReadableStream({start:function(e){return rt(this,void 0,void 0,(function(){return at(this,(function(n){return e.enqueue(t),e.close(),[2]}))}))}}).pipeThrough(new TextEncoderStream).pipeThrough(new window.CompressionStream("gzip")),n=Uint8Array.bind,[4,ut(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 ut(t){return rt(this,void 0,void 0,(function(){var e,n,r,a,o;return at(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 ct=null;function st(t,e){dt(t,"string"==typeof e?[e]:e)}function lt(t,e,n,r){return void 0===e&&(e=null),void 0===n&&(n=null),void 0===r&&(r=null),rt(this,void 0,void 0,(function(){var a,o;return at(this,(function(i){switch(i.label){case 0:return o={},[4,ht(t)];case 1:return o.userId=i.sent(),o.userHint=r||((u=t)&&u.length>=5?"".concat(u.substring(0,2)).concat(S(u.substring(2),"*","*")):S(u,"*","*")),dt("userId",[(a=o).userId]),dt("userHint",[a.userHint]),dt("userType",[vt(t)]),e&&(dt("sessionId",[e]),a.sessionId=e),n&&(dt("pageId",[n]),a.pageId=n),[2,a]}var u}))}))}function dt(t,e){if($r()&&t&&e&&"string"==typeof t&&t.length<255){for(var n=(t in ct?ct[t]:[]),r=0;r<e.length;r++)"string"==typeof e[r]&&e[r].length<255&&n.push(e[r]);ct[t]=n}}function pt(){qn(34)}function ft(){ct={}}function ht(t){return rt(this,void 0,void 0,(function(){var e;return at(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 vt(t){return t&&t.indexOf("@")>0?"email":"string"}var gt=Object.freeze({__proto__:null,compute:pt,get data(){return ct},identify:lt,reset:ft,set:st,start:function(){ft()},stop:function(){ft()}});var mt,wt={};function yt(t){var e=t.error||t;return e.message in wt||(wt[e.message]=0),wt[e.message]++>=5||e&&e.message&&(mt={message:e.message,line:t.lineno,column:t.colno,stack:e.stack,source:t.filename},bt(31)),!0}function bt(t){return rt(this,void 0,void 0,(function(){var e;return at(this,(function(n){switch(e=[d(),t],t){case 31:e.push(mt.message),e.push(mt.line),e.push(mt.column),e.push(mt.stack),e.push(_(mt.source)),ln(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),ln(e,!1))}return[2]}))}))}var _t,kt={};function Tt(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 kt&&kt[t].indexOf(o)>=0||(_t={code:t,name:n,message:r,stack:a,severity:e},t in kt?kt[t].push(o):kt[t]=[o],bt(33))}var St={},Ot=new Set,xt={},Et={},Mt={},Nt={};function It(t){try{var e=t&&t.length>0?t.split(/ (.*)/):[""],n=e[0].split(/\|(.*)/),r=parseInt(n[0]),a=n.length>1?n[1]:"",o=e.length>1?JSON.parse(e[1]):{};for(var i in xt[r]={},Et[r]={},Mt[r]={},Nt[r]=a,o){var u=parseInt(i),c=o[i],s=2;switch(c.startsWith("~")?s=0:c.startsWith("!")&&(s=4),s){case 0:var l=c.slice(1);xt[r][u]=Ct(l);break;case 2:Et[r][u]=c;break;case 4:var d=c.slice(1);Mt[r][u]=d}}}catch(t){Tt(8,1,t?t.name:null)}}function Pt(t){return JSON.parse(JSON.stringify(t))}function Xt(){try{for(var t in xt){var e=parseInt(t);if(""==Nt[e]||document.querySelector(Nt[e])){var n=xt[e];for(var r in n){var a=parseInt(r),o=(m=At(Pt(n[a])))?JSON.stringify(m).slice(0,1e4):m;o&&jt(e,a,o)}var i=Et[e];for(var u in i){var c=!1,s=parseInt(u),l=i[s];l.startsWith("@")&&(c=!0,l=l.slice(1));var d=document.querySelectorAll(l);if(d){var p=Array.from(d).map((function(t){return t.textContent})).join("<SEP>");jt(e,s,(c?f(p).trim():p).slice(0,1e4))}}var h=Mt[e];for(var v in h){var g=parseInt(v);jt(e,g,(void h[g]).trim().slice(0,1e4))}}}Ot.size>0&&qn(40)}catch(t){Tt(5,1,t?t.name:null)}var m}function Yt(){Ot.clear()}function jt(t,e,n){var r,a=!1;t in St||(St[t]={},a=!0),r=Mt[t],0==Object.keys(r).length||e in St[t]&&St[t][e]==n||(a=!0),St[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("["),o=r.indexOf("{"),i=r.indexOf("}");e.push({name:a>0?r.slice(0,a):o>0?r.slice(0,o):r,type:a>0?1:o>0?2:3,condition:o>0?r.slice(o+1,i):null})}return e}function At(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&&Dt(a,r.condition))n=At(t,a);else if(Array.isArray(a)){for(var o=[],i=0,u=a;i<u.length;i++){var c=u[i];if(Dt(c,r.condition)){var s=At(t,c);s&&o.push(s)}}n=o}return n}return null}function Dt(t,e){if(e){var n=e.split(":");return n.length>1?t[n[0]]==n[1]:t[n[0]]}return!0}var Ht=Object.freeze({__proto__:null,clone:Pt,compute:Xt,data:St,keys:Ot,reset:Yt,start:function(){Yt()},stop:function(){Yt()},trigger:It,update:jt});function Wt(t,e){try{return!!t[e]}catch(t){return!1}}function zt(t){try{var e=decodeURIComponent(t);return[e!=t,e]}catch(t){}return[!1,t]}var qt=null,Lt="^";function Rt(t,e){var n;if(void 0===e&&(e=!1),Wt(document,"cookie")){var r=document.cookie.split(";");if(r)for(var a=0;a<r.length;a++){var o=r[a].split("=");if(o.length>1&&o[0]&&o[0].trim()===t){for(var i=zt(o[1]),u=i[0],c=i[1];u;)u=(n=zt(c))[0],c=n[1];return e?c.endsWith("".concat("~","1"))?c.substring(0,c.length-2):null:c}}}return null}function Ut(t,e,n){if((u.track||""==e)&&(navigator&&navigator.cookieEnabled||Wt(document,"cookie"))){var r=function(t){return encodeURIComponent(t)}(e),a=new Date;a.setDate(a.getDate()+n);var o=a?"expires="+a.toUTCString():"",i="".concat(t,"=").concat(r).concat(";").concat(o).concat(";path=/");try{if(null===qt){for(var c=location.hostname?location.hostname.split("."):[],s=c.length-1;s>=0;s--)if(qt=".".concat(c[s]).concat(qt||""),s<c.length-1&&(document.cookie="".concat(i).concat(";").concat("domain=").concat(qt),Rt(t)===e))return;qt=""}}catch(t){qt=""}document.cookie=qt?"".concat(i).concat(";").concat("domain=").concat(qt):i}}var Ft=null;function Vt(t){try{if(!Ft)return;var e=function(t){try{return JSON.parse(t)}catch(t){return[]}}(t);e.forEach((function(t){Ft(t)}))}catch(t){}}var Jt=[A,r,gt,n,nt,Object.freeze({__proto__:null,COOKIE_SEP:Lt,getCookie:Rt,setCookie:Ut,start:function(){qt=null},stop:function(){qt=null}}),a,o,i,t,Q,e,Ht];function Bt(){z={},q={},L(5),Jt.forEach((function(t){return Hr(t.start)()}))}function Zt(){Jt.slice().reverse().forEach((function(t){return Hr(t.stop)()})),z={},q={}}function Gt(){pt(),C(),$n(),qn(0),tt(),Fn(),Xt(),lr()}var Kt=[],Qt=null;var $t=Object.freeze({__proto__:null,checkDocumentStyles:function(t){},compute:function(){},data:Qt,log:function(){},observe:function(){},reset:function(){},sheetAdoptionState:[],sheetUpdateState:[],start:function(){},state:Kt,stop:function(){}}),te=[],ee=null,ne=null,re=null;function ae(){te=[],ee=null,ne=null}function oe(t,e){return void 0===e&&(e=0),rt(this,void 0,void 0,(function(){var n,r,a;return at(this,(function(o){for(n=0,r=te;n<r.length;n++)if(r[n].task===t)return[2];return a=new Promise((function(n){te[1===e?"unshift":"push"]({task:t,resolve:n,id:yr()})})),null===ee&&null===ne&&ie(),[2,a]}))}))}function ie(){var t=te.shift();t&&(ee=t,t.task().then((function(){t.id===yr()&&(t.resolve(),ee=null,ie())})).catch((function(e){t.id===yr()&&(e&&Tt(0,1,e.name,e.message,e.stack),ee=null,ie())})))}var ue,ce=["input","textarea","radio","button","canvas","select"],se=[];function le(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=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}(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 s=c?Math.max(Math.floor((a-c.x)/c.w*32767),0):0,l=c?Math.max(Math.floor((o-c.y)/c.h*32767),0):0;if(null!==a&&null!==o){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}}(i);se.push({time:d(n),event:t,data:{target:i,x:a,y:o,eX:s,eY:l,button:n.button,reaction:de(i),context:fe(u),text:p.text,link:u?u.href:null,hash:null,trust:n.isTrusted?1:0,isFullText:p.isFullText,w:c?c.w:0,h:c?c.h:0,tag:pe(i,"tagName").substring(0,10),class:pe(i,"className").substring(0,50),id:pe(i,"id").substring(0,25)}}),oe(ze.bind(this,t))}}function de(t){var e=pe(t,"tagName");return ce.indexOf(e)>=0?0:1}function pe(t,e){if(t.nodeType===Node.ELEMENT_NODE){var n=null==t?void 0:t[e];return"string"==typeof n?null==n?void 0:n.toLowerCase():""}return""}function fe(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 he(){se=[]}function ve(t,e){var n=0,r=null,a=null;function o(){for(var o=this,i=[],u=0;u<arguments.length;u++)i[u]=arguments[u];var c=performance.now(),s=c-n;if(0!==n&&s<e){if(a=i,r)return;r=setTimeout((function(){n=performance.now(),t.apply(o,a),a=null,r=null}),e-s)}else n=c,t.apply(this,i)}return o.cleanup=function(){r&&(clearTimeout(r),r=null,a=null)},o}var ge=null,me=!1,we=ve(ye,500);function ye(){var t=document.documentElement;ue={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?(V(ge),ge=F(be,500,11)):(ze(11),me=!0)}function be(t){oe(ze.bind(this,t))}function _e(){ue=null,V(ge),we.cleanup()}var ke=[],Te=null;function Se(t){void 0===t&&(t=null);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),o=r===n&&"pageYOffset"in e?Math.round(e.pageYOffset):Math.round(r.scrollTop),i=window.innerWidth,u=window.innerHeight,c=i/3,s=i>u?.15*u:.2*u,l=u-s,p=xe(c,s),f=xe(c,l),h={time:d(t),event:10,data:{target:r,x:a,y:o,top:p,bottom:f}};if((null!==t||0!==a||0!==o)&&null!==a&&null!==o){var v=ke.length,g=v>1?ke[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)&&ke.pop(),ke.push(h),V(Te),Te=F(Ee,500,10)}}}var Oe=ve(Se,25);function xe(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 Ee(t){oe(ze.bind(this,t))}var Me,Ne,Ie,Pe=[];function Xe(t){Pe.push({time:d(t),event:39,data:{target:Mn(t)}}),oe(ze.bind(this,39))}function Ye(){Pe=[]}function je(t){Me={name:t.type,persisted:t.persisted?1:0},ze(26,d(t)),ra()}function Ce(){Me=null}function Ae(t){if(void 0===t&&(t=null),"visibilityState"in document){var e="visible"===document.visibilityState?1:0;Ne={visible:e},ze(28,d(t))}}function De(){Ne=null}function He(){Ie=null}function We(t){Ie={focused:t},ze(50)}function ze(t,e){return void 0===e&&(e=null),rt(this,void 0,void 0,(function(){var n,r,a,o,i,u,c,s,l,p,f,h,v,g,m,w,y,k,T,S,O,x,E,M,N,I,X,j,C,A,D,H,W,z,q,L;return at(this,(function(R){switch(n=e||d(),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=Kt;a<o.length;a++)z=o[a],(i=Nn(z.data.target,z.event)).id>0&&((r=[z.time,z.event]).push(i.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())),ln(r),(void 0===z.data.isPrimary||z.data.isPrimary)&&P(z.event,z.data.x,z.data.y,z.time));break;case 9:case 48:for(u=0,c=se;u<c.length;u++)z=c[u],s=Nn(z.data.target,z.event,z.data.text),r=[z.time,z.event],l=s.hash?s.hash.join("."):"",r.push(s.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(b(z.data.text,"click",s.privacy)),r.push(_(z.data.link)),r.push(l),r.push(z.data.trust),r.push(z.data.isFullText),r.push(z.data.w),r.push(z.data.h),r.push(z.data.tag),r.push(z.data.class),r.push(z.data.id),ln(r),Ue(z.time,z.event,l,z.data.x,z.data.y,z.data.reaction,z.data.context);he();break;case 38:for(p=0,f=Kt;p<f.length;p++)z=f[p],r=[z.time,z.event],(D=Nn(z.data.target,z.event)).id>0&&(r.push(D.id),r.push(z.data.action),ln(r));break;case 11:h=ue,r.push(h.width),r.push(h.height),P(t,h.width,h.height),_e(),ln(r);break;case 26:v=Me,r.push(v.name),r.push(v.persisted),Ce(),ln(r);break;case 27:for(g=0,m=Kt;g<m.length;g++)z=m[g],w=Nn(z.data.target,z.event,z.data.value),(r=[z.time,z.event]).push(w.id),r.push(b(z.data.value,"input",w.privacy,!1,z.data.type)),r.push(z.data.trust),ln(r);break;case 21:(y=Qt)&&(k=Nn(y.start),T=Nn(y.end),r.push(k.id),r.push(y.startOffset),r.push(T.id),r.push(y.endOffset),ln(r));break;case 10:for(S=0,O=ke;S<O.length;S++)z=O[S],x=Nn(z.data.target,z.event),E=Nn(z.data.top,z.event),M=Nn(z.data.bottom,z.event),N=(null==E?void 0:E.hash)?E.hash.join("."):"",I=(null==M?void 0:M.hash)?M.hash.join("."):"",x.id>0&&((r=[z.time,z.event]).push(x.id),r.push(z.data.x),r.push(z.data.y),r.push(N),r.push(I),ln(r),P(z.event,z.data.x,z.data.y,z.time));ke=[];break;case 42:for(X=0,j=Kt;X<j.length;X++)z=j[X],r=[z.time,z.event],(D=Nn(z.data.target,z.event)).id>0&&((r=[z.time,z.event]).push(D.id),r.push(z.data.type),r.push(b(z.data.value,"change",D.privacy)),r.push(b(z.data.checksum,"checksum",D.privacy)),ln(r));break;case 39:for(C=0,A=Pe;C<A.length;C++)z=A[C],r=[z.time,z.event],(D=Nn(z.data.target,z.event)).id>0&&(r.push(D.id),ln(r));Ye();break;case 22:for(H=0,W=Le;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),ln(r,!1);Re();break;case 28:q=Ne,r.push(q.visible),ln(r),Y(n,q.visible),De();break;case 50:L=Ie,r.push(L.focused),ln(r,!1),He()}return[2]}))}))}var qe=[],Le=[];function Re(){Le=[]}function Ue(t,e,n,r,a,o,i){void 0===o&&(o=1),void 0===i&&(i=0),qe.push({time:t,event:22,data:{type:e,hash:n,x:r,y:a,reaction:o,context:i}}),P(e,r,a,t)}var Fe=[],Ve=!1,Je=null;function Be(t){Ve&&"function"==typeof t&&Fe.push(t)}function Ze(t){if(Ve){var e=t?t.split(" "):[""],n=e.length>1?parseInt(e[1],10):null;n&&Je.has(n)||function(t,e){try{var n=document.createElement("script");n.src=t,n.async=!0,n.onload=function(){e&&(Je.add(e),j(Je))},n.onerror=function(){Dr(new Error("".concat("MODULE",": ").concat(t)))},document.head.appendChild(n)}catch(t){}}(e[0],n)}}var Ge,Ke,Qe,$e,tn,en,nn=Object.freeze({__proto__:null,event:Ze,register:Be,start:function(){Ve=!0,Je=new Set},stop:function(){Fe.reverse().forEach((function(t){try{t()}catch(t){}})),Fe=[],Ve=!1}}),rn=0,an=0,on=null,un=0,cn=!1;function sn(){$e=!0,rn=0,an=0,cn=!1,un=0,Ge=[],Ke=[],Qe={},tn=null}function ln(t,e){if(void 0===e&&(e=!0),$e){var n=d(),r=t.length>1?t[1]:null,a=JSON.stringify(t);switch(u.lean?!cn&&an+a.length>10485760&&(Tt(10,0),cn=!0):cn=!1,r){case 5:if(cn)break;rn+=a.length;case 37:case 6:case 43:case 45:case 46:case 44:case 51:if(cn)break;an+=a.length,Ge.push(a);break;default:Ke.push(a)}L(25);var o=function(){var t=!1===u.lean&&rn>0?100:Xr.sequence*u.delay;return"string"==typeof u.upload?Math.max(Math.min(t,3e4),100):u.delay}();n-un>2*o&&(V(on),on=null),e&&null===on&&(25!==r&&G(),on=F(pn,o),un=n,Rn(an))}}function dn(){V(on),pn(!0),rn=0,an=0,cn=!1,un=0,Ge=[],Ke=[],Qe={},tn=null,$e=!1}function pn(t){return void 0===t&&(t=!1),rt(this,void 0,void 0,(function(){var e,n,r,a,o,i,c,s;return at(this,(function(l){switch(l.label){case 0:return $e?(on=null,(e=!1===u.lean&&an>0&&(an<1048576||Xr.sequence>0))&&U(1,1),function(){if(Xr){var t=[];Le=[];for(var e=(Xr.start||0)+(Xr.duration||0),n=Math.max(e-2e3,0),r=0,a=qe;r<a.length;r++){var o=a[r];o.time>=n&&(o.time<=e&&Le.push(o),t.push(o))}qe=t,ze(22)}}(),Gt(),n=!0===t,Xr?(r=JSON.stringify(Cr(n)),a="[".concat(Ke.join(),"]"),o=e?"[".concat(Ge.join(),"]"):"",n&&o.length>0&&r.length+a.length+o.length>65536&&(o=""),i=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]):[2]):[2];case 1:return[4,it(i)];case 2:s=l.sent(),l.label=3;case 3:return R(2,(c=s)?c.length:i.length),fn(i,c,Xr.sequence,n),Ke=[],e&&(Ge=[],an=0,rn=0,cn=!1),[2]}}))}))}function fn(t,e,n,r){if(void 0===r&&(r=!1),"string"==typeof u.upload){var a=u.upload,o=!1;if(r&&navigator&&navigator.sendBeacon)try{(o=navigator.sendBeacon.bind(navigator)(a,t))&&vn(n)}catch(t){}if(!1===o){n in Qe?Qe[n].attempts++:Qe[n]={data:t,attempts:1};var i=new XMLHttpRequest;i.open("POST",a,!0),i.timeout=15e3,i.ontimeout=function(){Dr(new Error("".concat("Timeout"," : ").concat(a)))},null!==n&&(i.onreadystatechange=function(){Hr(hn)(i,n)}),i.withCredentials=!0,e?(i.setRequestHeader("Accept","application/x-clarity-gzip"),i.send(e)):i.send(t)}}else if(u.upload){(0,u.upload)(t),vn(n)}}function hn(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?Un(6):(0===t.status&&(u.upload=u.fallback?u.fallback:u.upload),tn={sequence:e,attempts:n.attempts,status:t.status},qn(2),fn(n.data,null,e)):(tn={sequence:e,attempts:n.attempts,status:t.status},n.attempts>1&&qn(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":Un(6);break;case"UPGRADE":Wn("Auto");break;case"ACTION":u.action&&o.length>1&&u.action(o[1]);break;case"EXTRACT":o.length>1&&It(o[1]);break;case"SIGNAL":o.length>1&&Vt(o[1]);break;case"MODULE":o.length>1&&Ze(o[1]);break;case"SNAPSHOT":u.lean=!1,In()}}}(t.responseText),0===t.status&&(fn(n.data,null,e,!0),Un(3)),t.status>=200&&t.status<=208&&vn(e),delete Qe[e]))}function vn(t){1===t&&(xr(),Or())}function gn(t){return rt(this,void 0,void 0,(function(){var e,n,r,a,o,i,u,c,s,l,p,f,h;return at(this,(function(v){switch(e=d(),n=[e,t],t){case 8:r=en,n.push(r.width),n.push(r.height),P(t,r.width,r.height),ln(n);break;case 43:if((a=kn).length>0){for(o=0,i=a;o<i.length;o++)for(u=i[o],c=u.metadata.privacy,s=u.data,l=0,p=["tag","attributes","value"];l<p.length;l++)if(s[f=p[l]])switch(f){case"tag":n.push(u.id),u.parent&&n.push(u.parent),u.previous&&n.push(u.previous),n.push(s[f]);break;case"attributes":for(h in s[f])void 0!==s[f][h]&&n.push(mn(h,s[f][h],c));break;case"value":n.push(b(s[f],s.tag,c))}ln(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 mn(t,e,n){return"".concat(t,"=").concat(b(e,0===t.indexOf("data-")?"data-":t,n))}function wn(){en=null}function yn(){var t,e,n,r,a,o,i,u,c,s,l,d,p,f,h,v;wn(),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,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!==en&&c===en.width&&v===en.height||null===c||null===v||(en={width:c,height:v},gn(8))}function bn(t){!function(t){zr(t===document?window:t,"scroll",Oe,!0)}(t),t.nodeType===Node.DOCUMENT_NODE&&(function(t){zr(t,"click",le.bind(this,9,t),!0),zr(t,"contextmenu",le.bind(this,48,t),!0)}(t),function(t){zr(t,"submit",Xe,!0)}(t))}var _n=Object.freeze({__proto__:null,observe:bn,start:function(){qe=[],Re(),he(),me=!1,zr(window,"resize",we),ye(),zr(document,"visibilitychange",Ae),Ae(),zr(window,"focus",(function(){return We(1)})),zr(window,"blur",(function(){return We(0)})),ke=[],Se(),Ye(),zr(window,"pagehide",je)},stop:function(){qe=[],Re(),he(),_e(),De(),He(),V(Te),Oe.cleanup(),ke=[],Ye(),Ce()}}),kn=[],Tn=1,Sn=null;function On(){Pn(),yn(),Yn(document.documentElement),bn(document)}function xn(){return!1}function En(){}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 Nn(t){var e={id:0,hash:null,privacy:u.conversions?1:5};return t&&(e.id=Sn.has(t)?Sn.get(t):Yn(t)),e}function In(){kn=[],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=Sn.get(u)?"*T":r;break;case Node.ELEMENT_NODE:var s=o;n=Xn(s),r=["NOSCRIPT","SCRIPT","STYLE"].indexOf(s.tagName)<0?s.tagName:r}jn(o,u,{tag:r,attributes:n,value:a})}}(document),gn(43)}function Pn(){Sn=new WeakMap}function Xn(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 Yn(t){return null===t?null:Sn.has(t)?Sn.get(t):(Sn.set(t,Tn),Tn++)}function jn(t,e,n){if(t&&n&&n.tag){var r=Yn(t),a=e?Sn.get(e):null,o=t.previousSibling?Sn.get(t.previousSibling):null;kn.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 Cn,An=Object.freeze({__proto__:null,compute:function(){},get:function(t){return null},hashText:En,iframe:xn,metadata:Nn,offset:function(){return{x:0,y:0}},snapshot:In,start:On,stop:function(){Pn(),wn()},target:Mn,get values(){return kn}}),Dn=null;function Hn(){!u.lean&&u.upgrade&&u.upgrade("Config"),Dn=null}function Wn(t){$r()&&u.lean&&(u.lean=!1,Dn={key:t},Or(),xr(),u.upgrade&&u.upgrade(t),qn(3),u.lite&&On())}function zn(){Dn=null}function qn(t){var e=[d(),t];switch(t){case 4:var n=E;n&&n.data&&((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),e.push(n.data.modules),ln(e,!1)),I();break;case 25:e.push(W.gap),ln(e);break;case 35:e.push(Cn.check),ln(e,!1);break;case 3:e.push(Dn.key),ln(e);break;case 2:e.push(tn.sequence),e.push(tn.attempts),e.push(tn.status),ln(e,!1);break;case 24:D.key&&e.push(D.key),e.push(D.value),ln(e);break;case 34:var r=Object.keys(ct);if(r.length>0){for(var a=0,o=r;a<o.length;a++){var i=o[a];e.push(i),e.push(ct[i])}ft(),ln(e,!1)}break;case 0:var u=Object.keys(q);if(u.length>0){for(var c=0,s=u;c<s.length;c++){var l=s[c],p=parseInt(l,10);e.push(p),e.push(Math.round(q[l]))}q={},ln(e,!1)}break;case 1:var f=Object.keys(Bn);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(Bn[g])}tr(),ln(e,!1)}break;case 36:var m=Object.keys($);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([],$[b]))}et(),ln(e,!1)}break;case 40:Ot.forEach((function(t){e.push(t);var n=[];for(var r in St[t]){var a=parseInt(r,10);n.push(a),n.push(St[t][r])}e.push(n)})),Yt(),ln(e,!1);break;case 47:e.push(er.source),e.push(er.ad_Storage),e.push(er.analytics_Storage),ln(e,!1)}}function Ln(){Cn={check:0}}function Rn(t){if(0===Cn.check){var e=Cn.check;e=Xr.sequence>=128?1:e,e=Xr.pageNum>=128?7:e,e=d()>72e5?2:e,(e=t>10485760?2:e)!==Cn.check&&Un(e)}}function Un(t){Cn.check=t,5!==t&&(Sr(),ra())}function Fn(){0!==Cn.check&&qn(35)}function Vn(){Cn=null}var Jn=null,Bn=null,Zn=!1;function Gn(){Jn={},Bn={},Zn=!1}function Kn(){Jn={},Bn={},Zn=!1}function Qn(t,e){if(e&&(e="".concat(e),t in Jn||(Jn[t]=[]),Jn[t].indexOf(e)<0)){if(Jn[t].length>128)return void(Zn||(Zn=!0,Un(5)));Jn[t].push(e),t in Bn||(Bn[t]=[]),Bn[t].push(e)}}function $n(){qn(1)}function tr(){Bn={},Zn=!1}var er=null,nr=!0;function rr(){var t,e=null===(t=window.google_tag_data)||void 0===t?void 0:t.ics;nr=!0,(null==e?void 0:e.addListener)&&e.addListener(["ad_storage","analytics_storage"],or)}function ar(){nr=!0}function or(){var t,e=null===(t=window.google_tag_data)||void 0===t?void 0:t.ics;if(null==e?void 0:e.getConsentState){var n=e.getConsentState("analytics_storage");_r(function(t){var e={source:2,ad_Storage:1===t.ad_Storage?"granted":"denied",analytics_Storage:1===t.analytics_Storage?"granted":"denied"};return e}({ad_Storage:e.getConsentState("ad_storage"),analytics_Storage:n}))}}function ir(t){cr(t.analytics_Storage?1:0),er=t}function ur(){cr(2)}function cr(t){Qn(36,t.toString())}function sr(t){er=t,qn(47)}function lr(){var t;if(nr&&(qn(47),nr=!1,!u.track)){var e=null===(t=window.google_tag_data)||void 0===t?void 0:t.ics;(null==e?void 0:e.usedUpdate)&&or()}}var dr=null,pr=[],fr=0,hr=null,vr={source:7,ad_Storage:"denied",analytics_Storage:"denied"};function gr(){var t,e,n,r=navigator&&"userAgent"in navigator?navigator.userAgent:"",a=null!==(n="undefined"!=typeof Intl&&(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:"",o=(new Date).getTimezoneOffset().toString(),i=window.location.ancestorOrigins?Array.from(window.location.ancestorOrigins).toString():"",c=document&&document.title?document.title:"";fr=r.indexOf("Electron")>0?1:0;var s=function(){var t={session:Mr(),ts:Math.round(Date.now()),count:1,upgrade:null,upload:""},e=Rt("_clsk",!u.includeSubdomains);if(e){var n=e.includes("^")?e.split("^"):e.split("|");n.length>=5&&t.ts-Nr(n[1])<18e5&&(t.session=n[0],t.count=Nr(n[2])+1,t.upgrade=Nr(n[3]),t.upload=n.length>=6?"".concat("https://").concat(n[5],"/").concat(n[4]):"".concat("https://").concat(n[4]))}return t}(),l=Ir(),d=u.projectId||f(location.host);dr={projectId:d,userId:l.id,sessionId:s.session,pageNum:s.count},u.lean=u.track&&null!==s.upgrade?0===s.upgrade:u.lean,u.upload=u.track&&"string"==typeof u.upload&&s.upload&&s.upload.length>"https://".length?s.upload:u.upload,Qn(0,r),Qn(3,c),Qn(1,_(location.href,!!fr)),Qn(2,document.referrer),Qn(15,function(){var t=Mr();if(u.track&&Wt(window,"sessionStorage")){var e=sessionStorage.getItem("_cltk");t=e||t,sessionStorage.setItem("_cltk",t)}return t}()),Qn(16,document.documentElement.lang),Qn(17,document.dir),Qn(26,"".concat(window.devicePixelRatio)),Qn(28,l.dob.toString()),Qn(29,l.version.toString()),Qn(33,i),Qn(34,a),Qn(35,o),U(0,s.ts),U(1,0),U(35,fr);var p,h=null===window||void 0===window?void 0:window.Zone;h&&"__symbol__"in h&&U(39,1),navigator&&(Qn(9,navigator.language),U(33,navigator.hardwareConcurrency),U(32,navigator.maxTouchPoints),U(34,Math.round(navigator.deviceMemory)),(p=navigator.userAgentData)&&p.getHighEntropyValues?p.getHighEntropyValues(["model","platform","platformVersion","uaFullVersion"]).then((function(t){var e;Qn(22,t.platform),Qn(23,t.platformVersion),null===(e=t.brands)||void 0===e||e.forEach((function(t){Qn(24,t.name+"~"+t.version)})),Qn(25,t.model),U(27,t.mobile?1:0)})):Qn(22,navigator.platform)),screen&&(U(14,Math.round(screen.width)),U(15,Math.round(screen.height)),U(16,Math.round(screen.colorDepth)));for(var v=0,g=u.cookies;v<g.length;v++){var m=g[v],w=Rt(m);w&&st(m,w)}null===hr&&(hr={source:l.consent?6:0,ad_Storage:u.track?"granted":"denied",analytics_Storage:u.track?"granted":"denied"}),ir(kr(hr)),Er(l)}function mr(){dr=null,pr.forEach((function(t){t.called=!1}))}function wr(t,e,n,r){void 0===e&&(e=!0),void 0===n&&(n=!1),void 0===r&&(r=!1);var a=u.lean?0:1,o=!1;dr&&(a||!1===e)&&(t(dr,!u.lean,r?hr:void 0),o=!0),!n&&o||pr.push({callback:t,wait:e,recall:n,called:o,consentInfo:r})}function yr(){return dr?[dr.userId,dr.sessionId,dr.pageNum].join("."):""}function br(t){void 0===t&&(t=!0),t?(_r({source:4,ad_Storage:"granted",analytics_Storage:"granted"}),ur()):_r({source:4,ad_Storage:"denied",analytics_Storage:"denied"})}function _r(t,e){var n;void 0===t&&(t=vr),void 0===e&&(e=5);var r={source:null!==(n=t.source)&&void 0!==n?n:e,ad_Storage:Tr(t.ad_Storage,null==hr?void 0:hr.ad_Storage),analytics_Storage:Tr(t.analytics_Storage,null==hr?void 0:hr.analytics_Storage)};if(hr&&r.ad_Storage===hr.ad_Storage&&r.analytics_Storage===hr.analytics_Storage)return hr.source=r.source,sr(kr(hr)),void ur();hr=r,Or(!0);var a=kr(hr);if(!a.analytics_Storage&&u.track)return u.track=!1,Sr(!0),ra(),void window.setTimeout(na,250);$r()&&a.analytics_Storage&&(u.track=!0,Er(Ir(),1),xr()),sr(a),ur()}function kr(t){var e;return{source:null!==(e=t.source)&&void 0!==e?e:0,ad_Storage:"granted"===t.ad_Storage?1:0,analytics_Storage:"granted"===t.analytics_Storage?1:0}}function Tr(t,e){return void 0===e&&(e="denied"),"string"==typeof t?t.toLowerCase():e}function Sr(t){void 0===t&&(t=!1),Ut("_clsk","",-Number.MAX_VALUE),t&&Ut("_clck","",-Number.MAX_VALUE)}function Or(t){void 0===t&&(t=!1),function(t,e){void 0===e&&(e=!1);if(pr.length>0)for(var n=0;n<pr.length;n++){var r=pr[n];r.callback&&(!r.called&&!e||r.consentInfo&&e)&&(!r.wait||t)&&(r.callback(dr,!u.lean,r.consentInfo?hr:void 0),r.called=!0,r.recall||(pr.splice(n,1),n--))}}(u.lean?0:1,t)}function xr(){if(dr&&u.track){var t=Math.round(Date.now()),e=u.upload&&"string"==typeof u.upload?u.upload.replace("https://",""):"",n=u.lean?0:1;Ut("_clsk",[dr.sessionId,t,dr.pageNum,n,e].join(Lt),1)}}function Er(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===u.dob?0:u.dob:t.dob;(null===t.expiry||Math.abs(n-t.expiry)>=1||t.consent!==e||t.dob!==r)&&Ut("_clck",[dr.userId,2,n.toString(36),e,r].join(Lt),365)}function Mr(){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 Nr(t,e){return void 0===e&&(e=10),parseInt(t,e)}function Ir(){var t={id:Mr(),version:0,expiry:null,consent:0,dob:0},e=Rt("_clck",!u.includeSubdomains);if(e&&e.length>0){var n=e.includes("^")?e.split("^"):e.split("|");n.length>1&&(t.version=Nr(n[1])),n.length>2&&(t.expiry=Nr(n[2],36)),n.length>3&&1===Nr(n[3])&&(t.consent=1),n.length>4&&Nr(n[1])>1&&(t.dob=Nr(n[4])),u.track=u.track||1===t.consent,t.id=u.track?n[0]:t.id}return t}var Pr,Xr=null;function Yr(){var t=dr;Xr={version:p,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 jr(){Xr=null}function Cr(t){return Xr.start=Xr.start+Xr.duration,Xr.duration=d()-Xr.start,Xr.sequence++,Xr.upload=t&&"sendBeacon"in navigator?1:0,Xr.end=t?1:0,Xr.applicationPlatform=0,Xr.url=_(location.href,!1,!0),[Xr.version,Xr.sequence,Xr.start,Xr.duration,Xr.projectId,Xr.userId,Xr.sessionId,Xr.pageNum,Xr.upload,Xr.end,Xr.applicationPlatform,Xr.url]}function Ar(){Pr=[]}function Dr(t){if(Pr&&-1===Pr.indexOf(t.message)){var e=u.report;if(e&&e.length>0&&Xr){var n={v:Xr.version,p:Xr.projectId,u:Xr.userId,s:Xr.sessionId,n:Xr.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)),Pr.push(t.message)}}return t}function Hr(t){return function(){var e=performance.now();try{t.apply(this,arguments)}catch(t){throw Dr(t)}var n=performance.now()-e;R(4,n),n>30&&(L(7),U(6,n),t.dn&&Tt(9,0,"".concat(t.dn,"-").concat(n)))}}var Wr=new Map;function zr(t,e,n,r,a){void 0===r&&(r=!1),void 0===a&&(a=!0),n=Hr(n);try{t[c("addEventListener")](e,n,{capture:r,passive:a}),function(t){return Wr.has(t)}(t)||Wr.set(t,[]),Wr.get(t).push({event:e,listener:n,options:{capture:r,passive:a}})}catch(t){}}function qr(){Wr.forEach((function(t,e){!function(t,e){t.forEach((function(t){try{e[c("removeEventListener")](t.event,t.listener,{capture:t.options.capture,passive:t.options.passive})}catch(t){}})),Wr.delete(e)}(t,e)})),Wr=new Map}var Lr=null,Rr=null,Ur=null,Fr=0;function Vr(){return!(Fr++>20)||(Tt(4,0),!1)}function Jr(){Fr=0,Ur!==Zr()&&(ra(),window.setTimeout(Br,250))}function Br(){na(),U(29,1)}function Zr(){return location.href?location.href.replace(location.hash,""):location.href}var Gr=!1;function Kr(){Gr=!0,s=l(),ae(),qr(),Ar(),Ur=Zr(),Fr=0,zr(window,"popstate",Jr),null===Lr&&(Lr=history.pushState,history.pushState=function(){Lr.apply(this,arguments),$r()&&Vr()&&Jr()}),null===Rr&&(Rr=history.replaceState,history.replaceState=function(){Rr.apply(this,arguments),$r()&&Vr()&&Jr()})}function Qr(){Ur=null,Fr=0,Ar(),qr(),ae(),s=0,Gr=!1}function $r(){return Gr}function ta(){na(),H("clarity","restart")}var ea=[Object.freeze({__proto__:null,start:function(){!function(){U(26,navigator.webdriver?1:0);try{U(31,window.top==window.self||window.top==window?1:2)}catch(t){U(31,0)}}(),zr(window,"error",yt),wt={},kt={}},stop:function(){kt={}}}),An,_n,$t,nn];function na(t){void 0===t&&(t=null),function(){try{var t=navigator&&"globalPrivacyControl"in navigator&&1==navigator.globalPrivacyControl;return!1===Gr&&"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||Gr)return!1;for(var e in t)e in u&&(u[e]=t[e])}(t),Kr(),Bt(),ea.forEach((function(t){return Hr(t.start)()})),null===t&&ua())}function ra(){$r()&&(ea.slice().reverse().forEach((function(t){return Hr(t.stop)()})),Zt(),Qr(),void 0!==oa&&(oa[ia]=function(){(oa[ia].q=oa[ia].q||[]).push(arguments),"start"===arguments[0]&&oa[ia].q.unshift(oa[ia].q.pop())&&ua()}))}var aa=Object.freeze({__proto__:null,consent:br,consentv2:_r,dlog:Qn,event:H,hashText:En,identify:lt,maxMetric:U,measure:Hr,metadata:wr,pause:function(){$r()&&(H("clarity","pause"),null===ne&&(ne=new Promise((function(t){re=t}))))},queue:ln,register:Be,resume:function(){$r()&&(ne&&(re(),ne=null,null===ee&&ie()),H("clarity","resume"))},schedule:oe,set:st,signal:function(t){Ft=t},start:na,stop:ra,time:d,upgrade:Wn,version:p}),oa=window,ia="clarity";function ua(){if(void 0!==oa){if(oa[ia]&&oa[ia].v)return console.warn("Error CL001: Multiple Clarity tags detected.");var t=oa[ia]&&oa[ia].q||[];for(oa[ia]=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return aa[t].apply(aa,e)},oa[ia].v=p;t.length>0;)oa[ia].apply(oa,t.shift())}}ua()}();
|
package/build/clarity.js
CHANGED
|
@@ -186,7 +186,7 @@ var startTime = 0;
|
|
|
186
186
|
function computeStartTime() {
|
|
187
187
|
return performance.now() + performance.timeOrigin;
|
|
188
188
|
}
|
|
189
|
-
function start$
|
|
189
|
+
function start$N() {
|
|
190
190
|
startTime = computeStartTime();
|
|
191
191
|
}
|
|
192
192
|
// event.timestamp is number of milliseconds elapsed since the document was loaded
|
|
@@ -206,7 +206,7 @@ function stop$K() {
|
|
|
206
206
|
startTime = 0;
|
|
207
207
|
}
|
|
208
208
|
|
|
209
|
-
var version$1 = "0.8.47
|
|
209
|
+
var version$1 = "0.8.47";
|
|
210
210
|
|
|
211
211
|
// tslint:disable: no-bitwise
|
|
212
212
|
function hash (input, precision) {
|
|
@@ -429,7 +429,7 @@ function redact$1(value) {
|
|
|
429
429
|
var state$b = null;
|
|
430
430
|
var buffer = null;
|
|
431
431
|
var update$2 = false;
|
|
432
|
-
function start$
|
|
432
|
+
function start$M() {
|
|
433
433
|
update$2 = false;
|
|
434
434
|
reset$u();
|
|
435
435
|
}
|
|
@@ -582,7 +582,7 @@ var baseline = /*#__PURE__*/Object.freeze({
|
|
|
582
582
|
compute: compute$g,
|
|
583
583
|
dynamic: dynamic$1,
|
|
584
584
|
reset: reset$u,
|
|
585
|
-
start: start$
|
|
585
|
+
start: start$M,
|
|
586
586
|
get state () { return state$b; },
|
|
587
587
|
stop: stop$J,
|
|
588
588
|
track: track$8,
|
|
@@ -609,7 +609,7 @@ function event$1(a, b) {
|
|
|
609
609
|
|
|
610
610
|
var data$k = null;
|
|
611
611
|
var updates$3 = null;
|
|
612
|
-
function start$
|
|
612
|
+
function start$L() {
|
|
613
613
|
data$k = {};
|
|
614
614
|
updates$3 = {};
|
|
615
615
|
count$1(5 /* Metric.InvokeCount */);
|
|
@@ -670,7 +670,7 @@ var data$j;
|
|
|
670
670
|
var last = 0;
|
|
671
671
|
var interval = 0;
|
|
672
672
|
var timeout$7 = null;
|
|
673
|
-
function start$
|
|
673
|
+
function start$K() {
|
|
674
674
|
interval = 60000 /* Setting.PingInterval */;
|
|
675
675
|
last = 0;
|
|
676
676
|
}
|
|
@@ -702,12 +702,12 @@ var ping$1 = /*#__PURE__*/Object.freeze({
|
|
|
702
702
|
__proto__: null,
|
|
703
703
|
get data () { return data$j; },
|
|
704
704
|
reset: reset$s,
|
|
705
|
-
start: start$
|
|
705
|
+
start: start$K,
|
|
706
706
|
stop: stop$H
|
|
707
707
|
});
|
|
708
708
|
|
|
709
709
|
var data$i = null;
|
|
710
|
-
function start$
|
|
710
|
+
function start$J() {
|
|
711
711
|
data$i = {};
|
|
712
712
|
}
|
|
713
713
|
function stop$G() {
|
|
@@ -742,7 +742,7 @@ var summary = /*#__PURE__*/Object.freeze({
|
|
|
742
742
|
compute: compute$e,
|
|
743
743
|
get data () { return data$i; },
|
|
744
744
|
reset: reset$r,
|
|
745
|
-
start: start$
|
|
745
|
+
start: start$J,
|
|
746
746
|
stop: stop$G,
|
|
747
747
|
track: track$7
|
|
748
748
|
});
|
|
@@ -861,7 +861,7 @@ function read(stream) {
|
|
|
861
861
|
}
|
|
862
862
|
|
|
863
863
|
var data$h = null;
|
|
864
|
-
function start$
|
|
864
|
+
function start$I() {
|
|
865
865
|
reset$q();
|
|
866
866
|
}
|
|
867
867
|
function set(variable, value) {
|
|
@@ -963,7 +963,7 @@ var variable = /*#__PURE__*/Object.freeze({
|
|
|
963
963
|
identify: identify,
|
|
964
964
|
reset: reset$q,
|
|
965
965
|
set: set,
|
|
966
|
-
start: start$
|
|
966
|
+
start: start$I,
|
|
967
967
|
stop: stop$F
|
|
968
968
|
});
|
|
969
969
|
|
|
@@ -973,7 +973,7 @@ var variables = {};
|
|
|
973
973
|
var selectors = {};
|
|
974
974
|
var hashes = {};
|
|
975
975
|
var validation = {};
|
|
976
|
-
function start$
|
|
976
|
+
function start$H() {
|
|
977
977
|
reset$p();
|
|
978
978
|
}
|
|
979
979
|
// Input string is of the following form:
|
|
@@ -1162,7 +1162,7 @@ var extract = /*#__PURE__*/Object.freeze({
|
|
|
1162
1162
|
data: data$g,
|
|
1163
1163
|
keys: keys,
|
|
1164
1164
|
reset: reset$p,
|
|
1165
|
-
start: start$
|
|
1165
|
+
start: start$H,
|
|
1166
1166
|
stop: stop$E,
|
|
1167
1167
|
trigger: trigger$2,
|
|
1168
1168
|
update: update$1
|
|
@@ -1191,7 +1191,7 @@ function decodeCookieValue(value) {
|
|
|
1191
1191
|
|
|
1192
1192
|
var rootDomain = null;
|
|
1193
1193
|
var COOKIE_SEP = "^" /* Constant.Caret */;
|
|
1194
|
-
function start$
|
|
1194
|
+
function start$G() {
|
|
1195
1195
|
rootDomain = null;
|
|
1196
1196
|
}
|
|
1197
1197
|
function stop$D() {
|
|
@@ -1276,7 +1276,7 @@ var cookie = /*#__PURE__*/Object.freeze({
|
|
|
1276
1276
|
COOKIE_SEP: COOKIE_SEP,
|
|
1277
1277
|
getCookie: getCookie,
|
|
1278
1278
|
setCookie: setCookie,
|
|
1279
|
-
start: start$
|
|
1279
|
+
start: start$G,
|
|
1280
1280
|
stop: stop$D
|
|
1281
1281
|
});
|
|
1282
1282
|
|
|
@@ -1309,9 +1309,9 @@ function signalsEvent(signalsPayload) {
|
|
|
1309
1309
|
}
|
|
1310
1310
|
|
|
1311
1311
|
var modules$2 = [baseline, dimension, variable, limit, summary, cookie, consent$2, metadata$1, envelope$1, upload$1, ping$1, upgrade$1, extract];
|
|
1312
|
-
function start$
|
|
1312
|
+
function start$F() {
|
|
1313
1313
|
// Metric needs to be initialized before we can start measuring. so metric is not wrapped in measure
|
|
1314
|
-
start$
|
|
1314
|
+
start$L();
|
|
1315
1315
|
modules$2.forEach(function (x) { return measure(x.start)(); });
|
|
1316
1316
|
}
|
|
1317
1317
|
function stop$C() {
|
|
@@ -1335,7 +1335,7 @@ function compute$b() {
|
|
|
1335
1335
|
|
|
1336
1336
|
var history$5 = [];
|
|
1337
1337
|
var data$f;
|
|
1338
|
-
function start$
|
|
1338
|
+
function start$E() {
|
|
1339
1339
|
history$5 = [];
|
|
1340
1340
|
max(26 /* Metric.Automation */, navigator.webdriver ? 1 /* BooleanFlag.True */ : 0 /* BooleanFlag.False */);
|
|
1341
1341
|
try {
|
|
@@ -1359,7 +1359,7 @@ function check$5(id, target, input) {
|
|
|
1359
1359
|
}
|
|
1360
1360
|
|
|
1361
1361
|
var state$a = [];
|
|
1362
|
-
function start$
|
|
1362
|
+
function start$D() {
|
|
1363
1363
|
reset$o();
|
|
1364
1364
|
}
|
|
1365
1365
|
function observe$c(root) {
|
|
@@ -1399,14 +1399,14 @@ function offset(element) {
|
|
|
1399
1399
|
|
|
1400
1400
|
var UserInputTags = ["input", "textarea", "radio", "button", "canvas", "select"];
|
|
1401
1401
|
var state$9 = [];
|
|
1402
|
-
function start$
|
|
1402
|
+
function start$C() {
|
|
1403
1403
|
reset$n();
|
|
1404
1404
|
}
|
|
1405
1405
|
function observe$b(root) {
|
|
1406
|
-
bind(root, "click", handler$
|
|
1407
|
-
bind(root, "contextmenu", handler$
|
|
1406
|
+
bind(root, "click", handler$3.bind(this, 9 /* Event.Click */, root), true);
|
|
1407
|
+
bind(root, "contextmenu", handler$3.bind(this, 48 /* Event.ContextMenu */, root), true);
|
|
1408
1408
|
}
|
|
1409
|
-
function handler$
|
|
1409
|
+
function handler$3(event, root, evt) {
|
|
1410
1410
|
var frame = iframe(root);
|
|
1411
1411
|
var d = frame && frame.contentDocument ? frame.contentDocument.documentElement : document.documentElement;
|
|
1412
1412
|
var x = "pageX" in evt ? Math.round(evt.pageX) : ("clientX" in evt ? Math.round(evt["clientX"] + d.scrollLeft) : null);
|
|
@@ -1545,7 +1545,7 @@ function stop$A() {
|
|
|
1545
1545
|
}
|
|
1546
1546
|
|
|
1547
1547
|
var state$8 = [];
|
|
1548
|
-
function start$
|
|
1548
|
+
function start$B() {
|
|
1549
1549
|
reset$m();
|
|
1550
1550
|
}
|
|
1551
1551
|
function observe$a(root) {
|
|
@@ -1566,7 +1566,7 @@ function stop$z() {
|
|
|
1566
1566
|
|
|
1567
1567
|
var timeout$6 = null;
|
|
1568
1568
|
var state$7 = [];
|
|
1569
|
-
function start$
|
|
1569
|
+
function start$A() {
|
|
1570
1570
|
reset$l();
|
|
1571
1571
|
}
|
|
1572
1572
|
function observe$9(root) {
|
|
@@ -1610,7 +1610,7 @@ var timeout$5 = null;
|
|
|
1610
1610
|
var hasPrimaryTouch = false;
|
|
1611
1611
|
var primaryTouchId = 0;
|
|
1612
1612
|
var activeTouchPointIds = new Set();
|
|
1613
|
-
function start$
|
|
1613
|
+
function start$z() {
|
|
1614
1614
|
reset$k();
|
|
1615
1615
|
}
|
|
1616
1616
|
function observe$8(root) {
|
|
@@ -1637,7 +1637,7 @@ function mouse(event, root, evt) {
|
|
|
1637
1637
|
}
|
|
1638
1638
|
// Check for null values before processing this event
|
|
1639
1639
|
if (x !== null && y !== null) {
|
|
1640
|
-
handler$
|
|
1640
|
+
handler$2({ time: time(evt), event: event, data: { target: target(evt), x: x, y: y } });
|
|
1641
1641
|
}
|
|
1642
1642
|
}
|
|
1643
1643
|
function touch(event, root, evt) {
|
|
@@ -1672,7 +1672,7 @@ function touch(event, root, evt) {
|
|
|
1672
1672
|
var isPrimary = hasPrimaryTouch && primaryTouchId === id;
|
|
1673
1673
|
// Check for null values before processing this event
|
|
1674
1674
|
if (x !== null && y !== null) {
|
|
1675
|
-
handler$
|
|
1675
|
+
handler$2({ time: t, event: event, data: { target: target(evt), x: x, y: y, id: id, isPrimary: isPrimary } });
|
|
1676
1676
|
}
|
|
1677
1677
|
// Reset primary touch point id once touch event ends
|
|
1678
1678
|
if (event === 20 /* Event.TouchCancel */ || event === 18 /* Event.TouchEnd */) {
|
|
@@ -1683,7 +1683,7 @@ function touch(event, root, evt) {
|
|
|
1683
1683
|
}
|
|
1684
1684
|
}
|
|
1685
1685
|
}
|
|
1686
|
-
function handler$
|
|
1686
|
+
function handler$2(current) {
|
|
1687
1687
|
switch (current.event) {
|
|
1688
1688
|
case 12 /* Event.MouseMove */:
|
|
1689
1689
|
case 15 /* Event.MouseWheel */:
|
|
@@ -1778,7 +1778,7 @@ var data$e;
|
|
|
1778
1778
|
var timeout$4 = null;
|
|
1779
1779
|
var initialStateLogged = false;
|
|
1780
1780
|
var throttledRecompute$1 = throttle(recompute$5, 500 /* Setting.LookAhead */);
|
|
1781
|
-
function start$
|
|
1781
|
+
function start$y() {
|
|
1782
1782
|
initialStateLogged = false;
|
|
1783
1783
|
bind(window, "resize", throttledRecompute$1);
|
|
1784
1784
|
recompute$5();
|
|
@@ -1816,7 +1816,7 @@ var state$5 = [];
|
|
|
1816
1816
|
var initialTop = null;
|
|
1817
1817
|
var initialBottom = null;
|
|
1818
1818
|
var timeout$3 = null;
|
|
1819
|
-
function start$
|
|
1819
|
+
function start$x() {
|
|
1820
1820
|
state$5 = [];
|
|
1821
1821
|
recompute$4();
|
|
1822
1822
|
}
|
|
@@ -1923,7 +1923,7 @@ function stop$v() {
|
|
|
1923
1923
|
var data$d = null;
|
|
1924
1924
|
var previous = null;
|
|
1925
1925
|
var timeout$2 = null;
|
|
1926
|
-
function start$
|
|
1926
|
+
function start$w() {
|
|
1927
1927
|
reset$h();
|
|
1928
1928
|
}
|
|
1929
1929
|
function observe$6(root) {
|
|
@@ -1973,7 +1973,7 @@ function stop$u() {
|
|
|
1973
1973
|
}
|
|
1974
1974
|
|
|
1975
1975
|
var state$4 = [];
|
|
1976
|
-
function start$
|
|
1976
|
+
function start$v() {
|
|
1977
1977
|
reset$g();
|
|
1978
1978
|
}
|
|
1979
1979
|
function observe$5(root) {
|
|
@@ -1991,7 +1991,7 @@ function stop$t() {
|
|
|
1991
1991
|
}
|
|
1992
1992
|
|
|
1993
1993
|
var data$c;
|
|
1994
|
-
function start$
|
|
1994
|
+
function start$u() {
|
|
1995
1995
|
bind(window, "pagehide", recompute$1);
|
|
1996
1996
|
}
|
|
1997
1997
|
function recompute$1(evt) {
|
|
@@ -2007,7 +2007,7 @@ function stop$s() {
|
|
|
2007
2007
|
}
|
|
2008
2008
|
|
|
2009
2009
|
var data$b;
|
|
2010
|
-
function start$
|
|
2010
|
+
function start$t() {
|
|
2011
2011
|
bind(document, "visibilitychange", recompute);
|
|
2012
2012
|
recompute();
|
|
2013
2013
|
}
|
|
@@ -2027,7 +2027,7 @@ function stop$r() {
|
|
|
2027
2027
|
}
|
|
2028
2028
|
|
|
2029
2029
|
var data$a;
|
|
2030
|
-
function start$
|
|
2030
|
+
function start$s() {
|
|
2031
2031
|
bind(window, "focus", function () { return compute$9(1 /* BooleanFlag.True */); });
|
|
2032
2032
|
bind(window, "blur", function () { return compute$9(0 /* BooleanFlag.False */); });
|
|
2033
2033
|
}
|
|
@@ -2042,44 +2042,20 @@ function compute$9(focus) {
|
|
|
2042
2042
|
encode$4(50 /* Event.Focus */);
|
|
2043
2043
|
}
|
|
2044
2044
|
|
|
2045
|
-
var bound = false;
|
|
2046
|
-
function start$s() {
|
|
2047
|
-
// Only bind once - this listener must persist even when Clarity stops
|
|
2048
|
-
// to detect when the page is restored from bfcache
|
|
2049
|
-
if (!bound) {
|
|
2050
|
-
try {
|
|
2051
|
-
window[api("addEventListener" /* Constant.AddEventListener */)]("pageshow", measure(handler$2), { capture: false, passive: true });
|
|
2052
|
-
bound = true;
|
|
2053
|
-
}
|
|
2054
|
-
catch (_a) {
|
|
2055
|
-
/* do nothing */
|
|
2056
|
-
}
|
|
2057
|
-
}
|
|
2058
|
-
}
|
|
2059
|
-
function handler$2(evt) {
|
|
2060
|
-
// The persisted property indicates if the page was loaded from bfcache
|
|
2061
|
-
if (evt && evt.persisted) {
|
|
2062
|
-
// Restart Clarity since it was stopped when the page entered bfcache
|
|
2063
|
-
start();
|
|
2064
|
-
log$1(11 /* Code.BFCache */, 0 /* Severity.Info */);
|
|
2065
|
-
}
|
|
2066
|
-
}
|
|
2067
|
-
|
|
2068
2045
|
function start$r() {
|
|
2069
2046
|
start$j();
|
|
2070
|
-
start$D();
|
|
2071
2047
|
start$C();
|
|
2072
|
-
start$A();
|
|
2073
2048
|
start$B();
|
|
2074
2049
|
start$z();
|
|
2075
|
-
start$
|
|
2050
|
+
start$A();
|
|
2051
|
+
start$y();
|
|
2076
2052
|
start$t();
|
|
2077
2053
|
start$s();
|
|
2078
|
-
start$y();
|
|
2079
2054
|
start$x();
|
|
2080
|
-
start$E();
|
|
2081
2055
|
start$w();
|
|
2056
|
+
start$D();
|
|
2082
2057
|
start$v();
|
|
2058
|
+
start$u();
|
|
2083
2059
|
}
|
|
2084
2060
|
function stop$p() {
|
|
2085
2061
|
stop$h();
|
|
@@ -6055,7 +6031,7 @@ function stop$6() {
|
|
|
6055
6031
|
var status = false;
|
|
6056
6032
|
function start$5() {
|
|
6057
6033
|
status = true;
|
|
6058
|
-
start$
|
|
6034
|
+
start$N();
|
|
6059
6035
|
reset$4();
|
|
6060
6036
|
reset$1();
|
|
6061
6037
|
reset$2();
|
|
@@ -6122,7 +6098,7 @@ function restart() {
|
|
|
6122
6098
|
}
|
|
6123
6099
|
|
|
6124
6100
|
function start$4() {
|
|
6125
|
-
start$
|
|
6101
|
+
start$E();
|
|
6126
6102
|
start$g();
|
|
6127
6103
|
start$f();
|
|
6128
6104
|
}
|
|
@@ -6464,7 +6440,7 @@ function start(config$1) {
|
|
|
6464
6440
|
if (check()) {
|
|
6465
6441
|
config(config$1);
|
|
6466
6442
|
start$5();
|
|
6467
|
-
start$
|
|
6443
|
+
start$F();
|
|
6468
6444
|
modules.forEach(function (x) { return measure(x.start)(); });
|
|
6469
6445
|
// If it's an internal call to start, without explicit configuration,
|
|
6470
6446
|
// re-process any newly accumulated items in the queue
|