clarity-js 0.7.19 → 0.7.21
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 +1163 -1273
- package/build/clarity.min.js +1 -1
- package/build/clarity.module.js +1163 -1273
- package/build/clarity.performance.js +1 -1
- package/package.json +1 -1
- package/rollup.config.ts +3 -3
- package/src/core/version.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(){"use strict";var t=Object.freeze({__proto__:null,get queue(){return Ja},get start(){return Fa},get stop(){return Ka},get track(){return Xa}}),e=Object.freeze({__proto__:null,get clone(){return gr},get compute(){return mr},get data(){return cr},get keys(){return sr},get reset(){return br},get start(){return pr},get stop(){return wr},get trigger(){return vr},get update(){return yr}}),n=Object.freeze({__proto__:null,get check(){return Nr},get compute(){return Mr},get data(){return ur},get start(){return xr},get stop(){return _r},get trigger(){return Tr}}),a=Object.freeze({__proto__:null,get compute(){return Rr},get data(){return Ir},get log(){return Ar},get reset(){return Lr},get start(){return Dr},get stop(){return jr},get updates(){return Cr}}),r=Object.freeze({__proto__:null,get callbacks(){return Hr},get clear(){return Vr},get consent(){return Br},get data(){return zr},get electron(){return Yr},get id(){return Ur},get metadata(){return Pr},get save(){return Fr},get shortid(){return Gr},get start(){return Wr},get stop(){return Xr}}),i=Object.freeze({__proto__:null,get data(){return ai},get envelope(){return oi},get start(){return ri},get stop(){return ii}}),o={projectId:null,delay:1e3,lean:!1,track:!0,content:!0,drop:[],mask:[],unmask:[],regions:[],cookies:[],fraud:!0,checksum:[],report:null,upload:null,fallback:null,upgrade:null,action:null,dob:null};function u(t){return window.Zone&&"__symbol__"in window.Zone?window.Zone.__symbol__(t):t}var c=0;function s(t){void 0===t&&(t=null);var e=t&&t.timeStamp>0?t.timeStamp:performance.now();return Math.max(Math.round(e-c),0)}var l="0.7.19";function d(t,e){void 0===e&&(e=null);for(var n,a=5381,r=a,i=0;i<t.length;i+=2){if(a=(a<<5)+a^t.charCodeAt(i),i+1<t.length)r=(r<<5)+r^t.charCodeAt(i+1)}return n=Math.abs(a+11579*r),(e?n%Math.pow(2,e):n).toString(36)}var f=/\S/gi,h=!0,p=null,v=null,g=null;function m(t,e,n,a){if(void 0===a&&(a=!1),t)switch(n){case 0:return t;case 1:switch(e){case"*T":case"value":case"placeholder":case"click":return function(t){var e=-1,n=0,a=!1,r=!1,i=!1,o=null;S();for(var u=0;u<t.length;u++){var c=t.charCodeAt(u);if(a=a||c>=48&&c<=57,r=r||64===c,i=9===c||10===c||13===c||32===c,0===u||u===t.length-1||i){if(a||r){null===o&&(o=t.split(""));var s=t.substring(e+1,i?u:u+1);s=h&&null!==g?s.match(g)?s:k(s,"▪","▫"):w(s),o.splice(e+1-n,s.length,s),n+=s.length-1}i&&(a=!1,r=!1,e=u)}}return o?o.join(""):t}(t);case"input":case"change":return E(t)}return t;case 2:case 3:switch(e){case"*T":case"data-":return a?y(t):w(t);case"src":case"srcset":case"title":case"alt":return 3===n?"":t;case"value":case"click":case"input":case"change":return E(t);case"placeholder":return w(t)}break;case 4:switch(e){case"*T":case"data-":return a?y(t):w(t);case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":return""}break;case 5:switch(e){case"*T":case"data-":return k(t,"▪","▫");case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":case"src":case"srcset":case"alt":case"title":return""}}return t}function b(t,e){if(void 0===e&&(e=!1),e)return"".concat("https://").concat("Electron");var n=o.drop;if(n&&n.length>0&&t&&t.indexOf("?")>0){var a=t.split("?"),r=a[0],i=a[1];return r+"?"+i.split("&").map((function(t){return n.some((function(e){return 0===t.indexOf("".concat(e,"="))}))?"".concat(t.split("=")[0],"=").concat("*na*"):t})).join("&")}return t}function y(t){var e=t.trim();if(e.length>0){var n=e[0],a=t.indexOf(n),r=t.substr(0,a),i=t.substr(a+e.length);return"".concat(r).concat(e.length.toString(36)).concat(i)}return t}function w(t){return t.replace(f,"•")}function k(t,e,n){return S(),t?t.replace(v,e).replace(p,n):t}function E(t){for(var e=5*(Math.floor(t.length/5)+1),n="",a=0;a<e;a++)n+=a>0&&a%5==0?" ":"•";return n}function S(){if(h&&null===p)try{p=new RegExp("\\p{N}","gu"),v=new RegExp("\\p{L}","gu"),g=new RegExp("\\p{Sc}","gu")}catch(t){h=!1}}var O=null,x=null,N=!1;function T(){N&&(O={time:s(),event:4,data:{visible:x.visible,docWidth:x.docWidth,docHeight:x.docHeight,screenWidth:x.screenWidth,screenHeight:x.screenHeight,scrollX:x.scrollX,scrollY:x.scrollY,pointerX:x.pointerX,pointerY:x.pointerY,activityTime:x.activityTime}}),x=x||{visible:1,docWidth:0,docHeight:0,screenWidth:0,screenHeight:0,scrollX:0,scrollY:0,pointerX:0,pointerY:0,activityTime:0}}function M(t,e,n){switch(t){case 8:x.docWidth=e,x.docHeight=n;break;case 11:x.screenWidth=e,x.screenHeight=n;break;case 10:x.scrollX=e,x.scrollY=n;break;default:x.pointerX=e,x.pointerY=n}N=!0}function _(t){x.activityTime=t}function I(t,e){x.visible="visible"===e?1:0,x.visible||_(t),N=!0}function C(){N&&Or(4)}var D=Object.freeze({__proto__:null,activity:_,compute:C,reset:T,start:function(){N=!1,T()},get state(){return O},stop:function(){T()},track:M,visibility:I}),j=null;function A(t,e){Oi()&&t&&"string"==typeof t&&t.length<255&&(j=e&&"string"==typeof e&&e.length<255?{key:t,value:e}:{value:t},Or(24))}var R,L=null,z=null;function H(t){t in L||(L[t]=0),t in z||(z[t]=0),L[t]++,z[t]++}function Y(t,e){null!==e&&(t in L||(L[t]=0),t in z||(z[t]=0),L[t]+=e,z[t]+=e)}function q(t,e){null!==e&&!1===isNaN(e)&&(t in L||(L[t]=0),(e>L[t]||0===L[t])&&(z[t]=e,L[t]=e))}function W(t,e,n){return window.setTimeout(si(t),e,n)}function X(t){return window.clearTimeout(t)}var P=0,U=0,B=null;function V(){B&&X(B),B=W(F,U),P=s()}function F(){var t=s();R={gap:t-P},Or(25),R.gap<3e5?B=W(F,U):ki&&(A("clarity","suspend"),qi(),["mousemove","touchstart"].forEach((function(t){return di(document,t,Ni)})),["resize","scroll","pageshow"].forEach((function(t){return di(window,t,Ni)})))}var J=Object.freeze({__proto__:null,get data(){return R},reset:V,start:function(){U=6e4,P=0},stop:function(){X(B),P=0,U=0}}),K=null;function G(t,e){if(t in K){var n=K[t],a=n[n.length-1];e-a[0]>100?K[t].push([e,0]):a[1]=e-a[0]}else K[t]=[[e,0]]}function Z(){Or(36)}function Q(){K={}}var $=Object.freeze({__proto__:null,compute:Z,get data(){return K},reset:Q,start:function(){K={}},stop:function(){K={}},track:G}),tt=null;function et(t){Oi()&&o.lean&&(o.lean=!1,tt={key:t},Fr(),o.upgrade&&o.upgrade(t),Or(3))}var nt=Object.freeze({__proto__:null,get data(){return tt},start:function(){!o.lean&&o.upgrade&&o.upgrade("Config"),tt=null},stop:function(){tt=null},upgrade:et});function at(t,e,n,a){return new(n||(n=Promise))((function(r,i){function o(t){try{c(a.next(t))}catch(t){i(t)}}function u(t){try{c(a.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?r(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(o,u)}c((a=a.apply(t,e||[])).next())}))}function rt(t,e){var n,a,r,i,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(u){return function(c){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(o=0)),o;)try{if(n=1,a&&(r=2&u[0]?a.return:u[0]?a.throw||((r=a.return)&&r.call(a),0):a.next)&&!(r=r.call(a,u[1])).done)return r;switch(a=0,r&&(u=[2&u[0],r.value]),u[0]){case 0:case 1:r=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,a=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(!(r=o.trys,(r=r.length>0&&r[r.length-1])||6!==u[0]&&2!==u[0])){o=0;continue}if(3===u[0]&&(!r||u[1]>r[0]&&u[1]<r[3])){o.label=u[1];break}if(6===u[0]&&o.label<r[1]){o.label=r[1],r=u;break}if(r&&o.label<r[2]){o.label=r[2],o.ops.push(u);break}r[2]&&o.ops.pop(),o.trys.pop();continue}u=e.call(t,o)}catch(t){u=[6,t],a=0}finally{n=r=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,c])}}}var it=null;function ot(t,e){ct(t,"string"==typeof e?[e]:e)}function ut(t,e,n,a){return void 0===e&&(e=null),void 0===n&&(n=null),void 0===a&&(a=null),at(this,void 0,void 0,(function(){var r,i;return rt(this,(function(o){switch(o.label){case 0:return i={},[4,dt(t)];case 1:return i.userId=o.sent(),i.userHint=a||((u=t)&&u.length>=5?"".concat(u.substring(0,2)).concat(k(u.substring(2),"*","*")):k(u,"*","*")),ct("userId",[(r=i).userId]),ct("userHint",[r.userHint]),ct("userType",[ft(t)]),e&&(ct("sessionId",[e]),r.sessionId=e),n&&(ct("pageId",[n]),r.pageId=n),[2,r]}var u}))}))}function ct(t,e){if(Oi()&&t&&e&&"string"==typeof t&&t.length<255){for(var n=(t in it?it[t]:[]),a=0;a<e.length;a++)"string"==typeof e[a]&&e[a].length<255&&n.push(e[a]);it[t]=n}}function st(){Or(34)}function lt(){it={}}function dt(t){return at(this,void 0,void 0,(function(){var e;return rt(this,(function(n){switch(n.label){case 0:return n.trys.push([0,4,,5]),crypto&&t?[4,crypto.subtle.digest("SHA-256",(new TextEncoder).encode(t))]:[3,2];case 1:return e=n.sent(),[2,Array.prototype.map.call(new Uint8Array(e),(function(t){return("00"+t.toString(16)).slice(-2)})).join("")];case 2:return[2,""];case 3:return[3,5];case 4:return n.sent(),[2,""];case 5:return[2]}}))}))}function ft(t){return t&&t.indexOf("@")>0?"email":"string"}var ht="CompressionStream"in window;function pt(t){return at(this,void 0,void 0,(function(){var e,n;return rt(this,(function(a){switch(a.label){case 0:return a.trys.push([0,3,,4]),ht?(e=new ReadableStream({start:function(e){return at(this,void 0,void 0,(function(){return rt(this,(function(n){return e.enqueue(t),e.close(),[2]}))}))}}).pipeThrough(new TextEncoderStream).pipeThrough(new window.CompressionStream("gzip")),n=Uint8Array.bind,[4,vt(e)]):[3,2];case 1:return[2,new(n.apply(Uint8Array,[void 0,a.sent()]))];case 2:return[3,4];case 3:return a.sent(),[3,4];case 4:return[2,null]}}))}))}function vt(t){return at(this,void 0,void 0,(function(){var e,n,a,r,i;return rt(this,(function(o){switch(o.label){case 0:e=t.getReader(),n=[],a=!1,r=[],o.label=1;case 1:return a?[3,3]:[4,e.read()];case 2:return i=o.sent(),a=i.done,r=i.value,a?[2,n]:(n.push.apply(n,r),[3,1]);case 3:return[2,n]}}))}))}var gt=[D,a,Object.freeze({__proto__:null,compute:st,get data(){return it},identify:ut,reset:lt,set:ot,start:function(){lt()},stop:function(){lt()}}),n,$,r,i,t,J,nt,e];function mt(){L={},z={},H(5),gt.forEach((function(t){return si(t.start)()}))}function bt(){gt.slice().reverse().forEach((function(t){return si(t.stop)()})),L={},z={}}function yt(){st(),C(),Rr(),Or(0),Z(),Mr(),mr()}var wt,kt=[];function Et(t,e,n){o.fraud&&null!==t&&n&&n.length>=5&&(wt={id:t,target:e,checksum:d(n,24)},kt.indexOf(wt.checksum)<0&&(kt.push(wt.checksum),ar(41)))}var St="load,active,fixed,visible,focus,show,collaps,animat".split(","),Ot={};function xt(t,e){var n=t.attributes,a=t.prefix?t.prefix[e]:null,r=0===e?"".concat("~").concat(t.position-1):":nth-of-type(".concat(t.position,")");switch(t.tag){case"STYLE":case"TITLE":case"LINK":case"META":case"*T":case"*D":return"";case"HTML":return"HTML";default:if(null===a)return"";a="".concat(a).concat(">"),t.tag=0===t.tag.indexOf("svg:")?t.tag.substr("svg:".length):t.tag;var i="".concat(a).concat(t.tag).concat(r),o="id"in n&&n.id.length>0?n.id:null,u="BODY"!==t.tag&&"class"in n&&n.class.length>0?n.class.trim().split(/\s+/).filter((function(t){return Nt(t)})).join("."):null;if(u&&u.length>0)if(0===e){var c="".concat(function(t){for(var e=t.split(">"),n=0;n<e.length;n++){var a=e[n].indexOf("~"),r=e[n].indexOf(".");e[n]=e[n].substring(0,r>0?r:a>0?a:e[n].length)}return e.join(">")}(a)).concat(t.tag).concat(".").concat(u);c in Ot||(Ot[c]=[]),Ot[c].indexOf(t.id)<0&&Ot[c].push(t.id),i="".concat(c).concat("~").concat(Ot[c].indexOf(t.id))}else i="".concat(a).concat(t.tag,".").concat(u).concat(r);return i=o&&Nt(o)?"".concat(function(t){var e=t.lastIndexOf("*S"),n=t.lastIndexOf("".concat("iframe:").concat("HTML")),a=Math.max(e,n);if(a<0)return"";return t.substring(0,t.indexOf(">",a)+1)}(a)).concat("#").concat(o):i,i}}function Nt(t){if(!t)return!1;if(St.some((function(e){return t.toLowerCase().indexOf(e)>=0})))return!1;for(var e=0;e<t.length;e++){var n=t.charCodeAt(e);if(n>=48&&n<=57)return!1}return!0}var Tt=1,Mt=null,_t=[],It=[],Ct={},Dt=[],jt=[],At=[],Rt=[],Lt=[],zt=[],Ht=null,Yt=null,qt=null,Wt=null;function Xt(){Ut(),Bt(document,!0)}function Pt(){Ut()}function Ut(){Tt=1,_t=[],It=[],Ct={},Dt=[],jt=[],At="address,password,contact".split(","),Rt="password,secret,pass,social,ssn,code,hidden".split(","),Lt="radio,checkbox,range,button,reset,submit".split(","),zt="INPUT,SELECT,TEXTAREA".split(","),Mt=new Map,Ht=new WeakMap,Yt=new WeakMap,qt=new WeakMap,Wt=new WeakMap,Ot={}}function Bt(t,e){void 0===e&&(e=!1);try{e&&o.unmask.forEach((function(t){return t.indexOf("!")<0?jt.push(t):Dt.push(t.substr(1))})),"querySelectorAll"in t&&(o.regions.forEach((function(e){return t.querySelectorAll(e[1]).forEach((function(t){return Oa(t,"".concat(e[0]))}))})),o.mask.forEach((function(e){return t.querySelectorAll(e).forEach((function(t){return qt.set(t,3)}))})),o.checksum.forEach((function(e){return t.querySelectorAll(e[1]).forEach((function(t){return Wt.set(t,e[0])}))})),jt.forEach((function(e){return t.querySelectorAll(e).forEach((function(t){return qt.set(t,0)}))})))}catch(t){or(5,1,t?t.name:null)}}function Vt(t,e){if(void 0===e&&(e=!1),null===t)return null;var n=Ht.get(t);return!n&&e&&(n=Tt++,Ht.set(t,n)),n||null}function Ft(t){var e=!1;if(t.nodeType===Node.ELEMENT_NODE&&"IFRAME"===t.tagName){var n=t;try{n.contentDocument&&(Yt.set(n.contentDocument,n),e=!0)}catch(t){}}return e}function Jt(t){var e=t.nodeType===Node.DOCUMENT_NODE?t:null;return e&&Yt.has(e)?Yt.get(e):null}function Kt(t,e,n){if("object"==typeof t[n]&&"object"==typeof e[n]){for(var a in t[n])if(t[n][a]!==e[n][a])return!0;for(var a in e[n])if(e[n][a]!==t[n][a])return!0;return!1}return t[n]!==e[n]}function Gt(t){var e=t.parent&&t.parent in _t?_t[t.parent]:null,n=e?e.selector:null,a=t.data,r=function(t,e){e.metadata.position=1;for(var n=t?t.children.indexOf(e.id):-1;n-- >0;){var a=_t[t.children[n]];if(e.data.tag===a.data.tag){e.metadata.position=a.metadata.position+1;break}}return e.metadata.position}(e,t),i={id:t.id,tag:a.tag,prefix:n,position:r,attributes:a.attributes};t.selector=[xt(i,0),xt(i,1)],t.hash=t.selector.map((function(t){return t?d(t):null})),t.hash.forEach((function(e){return Ct[e]=t.id}))}function Zt(t){var e=Qt(te(t));return null!==e&&null!==e.textContent?e.textContent.substr(0,25):""}function Qt(t){return Mt.has(t)?Mt.get(t):null}function $t(t){var e=Vt(t);return e in _t?_t[e]:null}function te(t){return t in Ct?Ct[t]:null}function ee(t){return Mt.has(Vt(t))}function ne(){for(var t=[],e=0,n=It;e<n.length;e++){var a=n[e];a in _t&&t.push(_t[a])}return It=[],t}function ae(t){Mt.delete(t);var e=t in _t?_t[t]:null;if(e&&e.children)for(var n=0,a=e.children;n<a.length;n++){ae(a[n])}}function re(t){for(var e=null;null===e&&t.previousSibling;)e=Vt(t.previousSibling),t=t.previousSibling;return e}function ie(t,e,n,a){void 0===n&&(n=!0),void 0===a&&(a=!1);var r=It.indexOf(t);r>=0&&1===e&&a?(It.splice(r,1),It.push(t)):-1===r&&n&&It.push(t)}var oe=Object.freeze({__proto__:null,add:function(t,e,n,a){var r,i=Vt(t,!0),u=e?Vt(e):null,c=re(t),s=null,l=xa(t)?i:null,d=Wt.has(t)?Wt.get(t):null,f=o.content?1:3;u>=0&&_t[u]&&((s=_t[u]).children.push(i),l=null===l?s.region:l,d=null===d?s.metadata.fraud:d,f=s.metadata.privacy),n.attributes&&"data-clarity-region"in n.attributes&&(Oa(t,n.attributes["data-clarity-region"]),l=i),Mt.set(i,t),_t[i]={id:i,parent:u,previous:c,children:[],data:n,selector:null,hash:null,region:l,metadata:{active:!0,suspend:!1,privacy:f,position:null,fraud:d,size:null}},function(t,e,n){var a=e.data,r=e.metadata,i=r.privacy,o=a.attributes||{},u=a.tag.toUpperCase();switch(!0){case zt.indexOf(u)>=0:var c=o.type,s="";Object.keys(o).forEach((function(t){return s+=o[t].toLowerCase()}));var l=Rt.some((function(t){return s.indexOf(t)>=0}));r.privacy="INPUT"===u&&Lt.indexOf(c)>=0?i:l?4:2;break;case"data-clarity-mask"in o:r.privacy=3;break;case"data-clarity-unmask"in o:r.privacy=0;break;case qt.has(t):r.privacy=qt.get(t);break;case Wt.has(t):r.privacy=2;break;case"*T"===u:var d=n&&n.data?n.data.tag:"",f=n&&n.selector?n.selector[1]:"",h=["STYLE","TITLE","svg:style"];r.privacy=h.includes(d)||Dt.some((function(t){return f.indexOf(t)>=0}))?0:i;break;case 1===i:r.privacy=function(t,e,n){if(t&&e.some((function(e){return t.indexOf(e)>=0})))return 2;return n.privacy}(o.class,At,r)}}(t,_t[i],s),Gt(_t[i]),"IMG"===(r=_t[i]).data.tag&&3===r.metadata.privacy&&(r.metadata.size=[]),ie(i,a)},get:$t,getId:Vt,getNode:Qt,getValue:function(t){return t in _t?_t[t]:null},has:ee,hashText:Zt,iframe:Jt,lookup:te,parse:Bt,sameorigin:Ft,start:Xt,stop:Pt,update:function(t,e,n,a){var r=Vt(t),i=e?Vt(e):null,o=re(t),u=!1,c=!1;if(r in _t){var s=_t[r];if(s.metadata.active=!0,s.previous!==o&&(u=!0,s.previous=o),s.parent!==i){u=!0;var l=s.parent;if(s.parent=i,null!==i&&i>=0){var d=null===o?0:_t[i].children.indexOf(o)+1;_t[i].children.splice(d,0,r),s.region=xa(t)?r:_t[i].region}else!function(t,e){if(t in _t){var n=_t[t];n.metadata.active=!1,n.parent=null,ie(t,e),ae(t)}}(r,a);if(null!==l&&l>=0){var f=_t[l].children.indexOf(r);f>=0&&_t[l].children.splice(f,1)}c=!0}for(var h in n)Kt(s.data,n,h)&&(u=!0,s.data[h]=n[h]);Gt(s),ie(r,a,u,c)}},updates:ne}),ue=5e3,ce={},se=[],le=null,de=null,fe=null;function he(){ce={},se=[],le=null,de=null}function pe(t,e){return void 0===e&&(e=0),at(this,void 0,void 0,(function(){var n,a,r;return rt(this,(function(i){for(n=0,a=se;n<a.length;n++)if(a[n].task===t)return[2];return r=new Promise((function(n){se[1===e?"unshift":"push"]({task:t,resolve:n,id:Ur()})})),null===le&&null===de&&ve(),[2,r]}))}))}function ve(){var t=se.shift();t&&(le=t,t.task().then((function(){t.id===Ur()&&(t.resolve(),le=null,ve())})).catch((function(e){t.id===Ur()&&(e&&or(0,1,e.name,e.message,e.stack),le=null,ve())})))}function ge(t){var e=we(t);return e in ce?performance.now()-ce[e].start>ce[e].yield?0:1:2}function me(t){ce[we(t)]={start:performance.now(),calls:0,yield:30}}function be(t){var e=performance.now(),n=we(t),a=e-ce[n].start;Y(t.cost,a),H(5),ce[n].calls>0&&Y(4,a)}function ye(t){return at(this,void 0,void 0,(function(){var e,n;return rt(this,(function(a){switch(a.label){case 0:return(e=we(t))in ce?(be(t),n=ce[e],[4,ke()]):[3,2];case 1:n.yield=a.sent().timeRemaining(),function(t){var e=we(t);if(ce&&ce[e]){var n=ce[e].calls,a=ce[e].yield;me(t),ce[e].calls=n+1,ce[e].yield=a}}(t),a.label=2;case 2:return[2,e in ce?1:2]}}))}))}function we(t){return"".concat(t.id,".").concat(t.cost)}function ke(){return at(this,void 0,void 0,(function(){return rt(this,(function(t){switch(t.label){case 0:return de?[4,de]:[3,2];case 1:t.sent(),t.label=2;case 2:return[2,new Promise((function(t){Se(t,{timeout:ue})}))]}}))}))}var Ee,Se=window.requestIdleCallback||function(t,e){var n=performance.now(),a=new MessageChannel,r=a.port1,i=a.port2;r.onmessage=function(a){var r=performance.now(),o=r-n,u=r-a.data;if(u>30&&o<e.timeout)requestAnimationFrame((function(){i.postMessage(r)}));else{var c=o>e.timeout;t({didTimeout:c,timeRemaining:function(){return c?30:Math.max(0,30-u)}})}},requestAnimationFrame((function(){i.postMessage(performance.now())}))};function Oe(){Ee=null}function xe(){var t=document.body,e=document.documentElement,n=t?t.clientWidth:null,a=t?t.scrollWidth:null,r=t?t.offsetWidth:null,i=e?e.clientWidth:null,o=e?e.scrollWidth:null,u=e?e.offsetWidth:null,c=Math.max(n,a,r,i,o,u),s=t?t.clientHeight:null,l=t?t.scrollHeight:null,d=t?t.offsetHeight:null,f=e?e.clientHeight:null,h=e?e.scrollHeight:null,p=e?e.offsetHeight:null,v=Math.max(s,l,d,f,h,p);null!==Ee&&c===Ee.width&&v===Ee.height||null===c||null===v||(Ee={width:c,height:v},pa(8))}var Ne=[];function Te(t){var e=Ca(t);if(e){var n=e.value,a=n&&n.length>=5&&o.fraud&&-1==="password,secret,pass,social,ssn,code,hidden".indexOf(e.type)?d(n,24):"";Ne.push({time:s(t),event:42,data:{target:Ca(t),type:e.type,value:n,checksum:a}}),pe(ja.bind(this,42))}}function Me(){Ne=[]}function _e(t){var e={x:0,y:0};if(t&&t.offsetParent)do{var n=t.offsetParent,a=null===n?Jt(t.ownerDocument):null;e.x+=t.offsetLeft,e.y+=t.offsetTop,t=a||n}while(t);return e}var Ie=["input","textarea","radio","button","canvas"],Ce=[];function De(t){di(t,"click",je.bind(this,9,t),!0)}function je(t,e,n){var a=Jt(e),r=a?a.contentDocument.documentElement:document.documentElement,i="pageX"in n?Math.round(n.pageX):"clientX"in n?Math.round(n.clientX+r.scrollLeft):null,o="pageY"in n?Math.round(n.pageY):"clientY"in n?Math.round(n.clientY+r.scrollTop):null;if(a){var u=_e(a);i=i?i+Math.round(u.x):i,o=o?o+Math.round(u.y):o}var c=Ca(n),l=function(t){for(;t&&t!==document;){if(t.nodeType===Node.ELEMENT_NODE){var e=t;if("A"===e.tagName)return e}t=t.parentNode}return null}(c),d=function(t){var e=null,n=document.documentElement;if("function"==typeof t.getBoundingClientRect){var a=t.getBoundingClientRect();a&&a.width>0&&a.height>0&&(e={x:Math.floor(a.left+("pageXOffset"in window?window.pageXOffset:n.scrollLeft)),y:Math.floor(a.top+("pageYOffset"in window?window.pageYOffset:n.scrollTop)),w:Math.floor(a.width),h:Math.floor(a.height)})}return e}(c);0===n.detail&&d&&(i=Math.round(d.x+d.w/2),o=Math.round(d.y+d.h/2));var f=d?Math.max(Math.floor((i-d.x)/d.w*32767),0):0,h=d?Math.max(Math.floor((o-d.y)/d.h*32767),0):0;null!==i&&null!==o&&(Ce.push({time:s(n),event:t,data:{target:c,x:i,y:o,eX:f,eY:h,button:n.button,reaction:Re(c),context:Le(l),text:Ae(c),link:l?l.href:null,hash:null,trust:n.isTrusted?1:0}}),pe(ja.bind(this,t)))}function Ae(t){var e=null;if(t){var n=t.textContent||t.value||t.alt;n&&(e=n.replace(/\s+/g," ").trim().substr(0,25))}return e}function Re(t){if(t.nodeType===Node.ELEMENT_NODE){var e=t.tagName.toLowerCase();if(Ie.indexOf(e)>=0)return 0}return 1}function Le(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 ze(){Ce=[]}var He=[];function Ye(t,e){He.push({time:s(e),event:38,data:{target:Ca(e),action:t}}),pe(ja.bind(this,38))}function qe(){He=[]}var We=null,Xe=[];function Pe(t){var e=Ca(t),n=$t(e);if(e&&e.type&&n){var a=e.value;switch(e.type){case"radio":case"checkbox":a=e.checked?"true":"false"}var r={target:e,value:a};Xe.length>0&&Xe[Xe.length-1].data.target===r.target&&Xe.pop(),Xe.push({time:s(t),event:27,data:r}),X(We),We=W(Ue,1e3,27)}}function Ue(t){pe(ja.bind(this,t))}function Be(){Xe=[]}var Ve,Fe=[],Je=null;function Ke(t,e,n){var a=Jt(e),r=a?a.contentDocument.documentElement:document.documentElement,i="pageX"in n?Math.round(n.pageX):"clientX"in n?Math.round(n.clientX+r.scrollLeft):null,o="pageY"in n?Math.round(n.pageY):"clientY"in n?Math.round(n.clientY+r.scrollTop):null;if(a){var u=_e(a);i=i?i+Math.round(u.x):i,o=o?o+Math.round(u.y):o}null!==i&&null!==o&&Ze({time:s(n),event:t,data:{target:Ca(n),x:i,y:o}})}function Ge(t,e,n){var a=Jt(e),r=a?a.contentDocument.documentElement:document.documentElement,i=n.changedTouches,o=s(n);if(i)for(var u=0;u<i.length;u++){var c=i[u],l="clientX"in c?Math.round(c.clientX+r.scrollLeft):null,d="clientY"in c?Math.round(c.clientY+r.scrollTop):null;l=l&&a?l+Math.round(a.offsetLeft):l,d=d&&a?d+Math.round(a.offsetTop):d,null!==l&&null!==d&&Ze({time:o,event:t,data:{target:Ca(n),x:l,y:d}})}}function Ze(t){switch(t.event){case 12:case 15:case 19:var e=Fe.length,n=e>1?Fe[e-2]:null;n&&function(t,e){var n=t.data.x-e.data.x,a=t.data.y-e.data.y,r=Math.sqrt(n*n+a*a),i=e.time-t.time,o=e.data.target===t.data.target;return e.event===t.event&&o&&r<20&&i<25}(n,t)&&Fe.pop(),Fe.push(t),X(Je),Je=W(Qe,500,t.event);break;default:Fe.push(t),Qe(t.event)}}function Qe(t){pe(ja.bind(this,t))}function $e(){Fe=[]}function tn(){var t=document.documentElement;Ve={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},ja(11)}function en(){Ve=null}var nn=[],an=null;function rn(t){void 0===t&&(t=null);var e=window,n=document.documentElement,a=t?Ca(t):n;if(a&&a.nodeType===Node.DOCUMENT_NODE){var r=Jt(a);e=r?r.contentWindow:e,a=n=a.documentElement}var i=a===n&&"pageXOffset"in e?Math.round(e.pageXOffset):Math.round(a.scrollLeft),o=a===n&&"pageYOffset"in e?Math.round(e.pageYOffset):Math.round(a.scrollTop),u={time:s(t),event:10,data:{target:a,x:i,y:o}};if((null!==t||0!==i||0!==o)&&null!==i&&null!==o){var c=nn.length,l=c>1?nn[c-2]:null;l&&function(t,e){var n=t.data.x-e.data.x,a=t.data.y-e.data.y;return n*n+a*a<400&&e.time-t.time<25}(l,u)&&nn.pop(),nn.push(u),X(an),an=W(on,500,10)}}function on(t){pe(ja.bind(this,t))}var un=null,cn=null,sn=null;function ln(t){var e=(t.nodeType===Node.DOCUMENT_NODE?t:document).getSelection();if(null!==e&&!(null===e.anchorNode&&null===e.focusNode||e.anchorNode===e.focusNode&&e.anchorOffset===e.focusOffset)){var n=un.start?un.start:null;null!==cn&&null!==un.start&&n!==e.anchorNode&&(X(sn),dn(21)),un={start:e.anchorNode,startOffset:e.anchorOffset,end:e.focusNode,endOffset:e.focusOffset},cn=e,X(sn),sn=W(dn,500,21)}}function dn(t){pe(ja.bind(this,t))}function fn(){cn=null,un={start:0,startOffset:0,end:0,endOffset:0}}var hn,pn,vn=[];function gn(t){vn.push({time:s(t),event:39,data:{target:Ca(t)}}),pe(ja.bind(this,39))}function mn(){vn=[]}function bn(t){hn={name:t.type},ja(26,s(t)),qi()}function yn(){hn=null}function wn(t){void 0===t&&(t=null),pn={visible:"visibilityState"in document?document.visibilityState:"default"},ja(28,s(t))}function kn(){pn=null}function En(t){!function(t){var e=Jt(t);di(e?e.contentWindow:t===document?window:t,"scroll",rn,!0)}(t),t.nodeType===Node.DOCUMENT_NODE&&(De(t),function(t){di(t,"cut",Ye.bind(this,0),!0),di(t,"copy",Ye.bind(this,1),!0),di(t,"paste",Ye.bind(this,2),!0)}(t),function(t){di(t,"mousedown",Ke.bind(this,13,t),!0),di(t,"mouseup",Ke.bind(this,14,t),!0),di(t,"mousemove",Ke.bind(this,12,t),!0),di(t,"wheel",Ke.bind(this,15,t),!0),di(t,"dblclick",Ke.bind(this,16,t),!0),di(t,"touchstart",Ge.bind(this,17,t),!0),di(t,"touchend",Ge.bind(this,18,t),!0),di(t,"touchmove",Ge.bind(this,19,t),!0),di(t,"touchcancel",Ge.bind(this,20,t),!0)}(t),function(t){di(t,"input",Pe,!0)}(t),function(t){di(t,"selectstart",ln.bind(this,t),!0),di(t,"selectionchange",ln.bind(this,t),!0)}(t),function(t){di(t,"change",Te,!0)}(t),function(t){di(t,"submit",gn,!0)}(t))}var Sn=Object.freeze({__proto__:null,observe:En,start:function(){Aa=[],La(),ze(),qe(),$e(),Be(),di(window,"resize",tn),tn(),di(document,"visibilitychange",wn),wn(),nn=[],rn(),fn(),Me(),mn(),di(window,"pagehide",bn)},stop:function(){Aa=[],La(),ze(),qe(),X(Je),Fe.length>0&&Qe(Fe[Fe.length-1].event),X(We),Be(),en(),kn(),X(an),nn=[],fn(),X(sn),Me(),mn(),yn()}});function On(t,e,n){return at(this,void 0,void 0,(function(){var a,r,i,o,u;return rt(this,(function(c){switch(c.label){case 0:a=[t],c.label=1;case 1:if(!(a.length>0))return[3,4];for(r=a.shift(),i=r.firstChild;i;)a.push(i),i=i.nextSibling;return 0!==(o=ge(e))?[3,3]:[4,ye(e)];case 2:o=c.sent(),c.label=3;case 3:return 2===o?[3,4]:((u=Bn(r,n))&&a.push(u),[3,1]);case 4:return[2]}}))}))}var xn=[],Nn=[],Tn=null,Mn=null,_n=null,In=[],Cn=null,Dn=null,jn={};function An(t){var e=s();G(6,e),Nn.push({time:e,mutations:t}),pe(Rn,1).then((function(){W(xe),si(Na)()}))}function Rn(){return at(this,void 0,void 0,(function(){var t,e,n,a,r,i,o,u,c,l;return rt(this,(function(d){switch(d.label){case 0:me(t={id:Ur(),cost:3}),d.label=1;case 1:if(!(Nn.length>0))return[3,8];e=Nn.shift(),n=s(),a=0,r=e.mutations,d.label=2;case 2:return a<r.length?(i=r[a],0!==(o=ge(t))?[3,4]:[4,ye(t)]):[3,6];case 3:o=d.sent(),d.label=4;case 4:if(2===o)return[3,6];switch(u=i.target,c=function(t,e,n){var a=t.target?$t(t.target.parentNode):null;if(a&&"HTML"!==a.data.tag){var r=s()>Dn,i=$t(t.target),o=i&&i.selector?i.selector.join():t.target.nodeName,u=[a.selector?a.selector.join():"",o,t.attributeName,Ln(t.addedNodes),Ln(t.removedNodes)].join();jn[u]=u in jn?jn[u]:[0,n];var c=jn[u];if(!1===r&&c[0]>=10&&zn(c[2],2,e),c[0]=r?c[1]===n?c[0]:c[0]+1:1,c[1]=n,10===c[0])return c[2]=t.removedNodes,"suspend";if(c[0]>10)return""}return t.type}(i,t,n),c&&u&&u.ownerDocument&&Bt(u.ownerDocument),c&&u&&u.nodeType==Node.DOCUMENT_FRAGMENT_NODE&&u.host&&Bt(u),c){case"attributes":Bn(u,3);break;case"characterData":Bn(u,4);break;case"childList":zn(i.addedNodes,1,t),zn(i.removedNodes,2,t);break;case"suspend":(l=$t(u))&&(l.metadata.suspend=!0)}d.label=5;case 5:return a++,[3,2];case 6:return[4,pa(6,t,e.time)];case 7:return d.sent(),[3,1];case 8:return be(t),[2]}}))}))}function Ln(t){for(var e=[],n=0;t&&n<t.length;n++)e.push(t[n].nodeName);return e.join()}function zn(t,e,n){return at(this,void 0,void 0,(function(){var a,r,i;return rt(this,(function(o){switch(o.label){case 0:a=t?t.length:0,r=0,o.label=1;case 1:return r<a?1!==e?[3,2]:(On(t[r],n,e),[3,5]):[3,6];case 2:return 0!==(i=ge(n))?[3,4]:[4,ye(n)];case 3:i=o.sent(),o.label=4;case 4:if(2===i)return[3,6];Bn(t[r],e),o.label=5;case 5:return r++,[3,1];case 6:return[2]}}))}))}function Hn(t){return In.indexOf(t)<0&&In.push(t),Cn&&X(Cn),Cn=W((function(){!function(){for(var t=0,e=In;t<e.length;t++){var n=e[t];if(n){var a=n.nodeType===Node.DOCUMENT_FRAGMENT_NODE;if(a&&ee(n))continue;Yn(n,a?"childList":"characterData")}}In=[]}()}),33),t}function Yn(t,e){si(An)([{addedNodes:[t],attributeName:null,attributeNamespace:null,nextSibling:null,oldValue:null,previousSibling:null,removedNodes:[],target:t,type:e}])}var qn=/[^0-9\.]/g;function Wn(t){for(var e=0,n=Object.keys(t);e<n.length;e++){var a=n[e],r=t[a];if("@type"===a&&"string"==typeof r)switch(r=(r=r.toLowerCase()).indexOf("article")>=0||r.indexOf("posting")>=0?"article":r){case"article":case"recipe":Ar(5,t[a]),Ar(8,t.creator),Ar(18,t.headline);break;case"product":Ar(5,t[a]),Ar(10,t.name),Ar(12,t.sku),t.brand&&Ar(6,t.brand.name);break;case"aggregaterating":t.ratingValue&&(q(11,Xn(t.ratingValue,100)),q(18,Xn(t.bestRating)),q(19,Xn(t.worstRating))),q(12,Xn(t.ratingCount)),q(17,Xn(t.reviewCount));break;case"person":Ar(8,t.name);break;case"offer":Ar(7,t.availability),Ar(14,t.itemCondition),Ar(13,t.priceCurrency),Ar(12,t.sku),q(13,Xn(t.price));break;case"brand":Ar(6,t.name)}null!==r&&"object"==typeof r&&Wn(r)}}function Xn(t,e){if(void 0===e&&(e=1),null!==t)switch(typeof t){case"number":return Math.round(t*e);case"string":return Math.round(parseFloat(t.replace(qn,""))*e)}return null}var Pn=["title","alt","onload","onfocus","onerror","data-drupal-form-submit-last"],Un=/[\r\n]+/g;function Bn(t,e){var n,a=null;if(2===e&&!1===ee(t))return a;0!==e&&t.nodeType===Node.TEXT_NODE&&t.parentElement&&"STYLE"===t.parentElement.tagName&&(t=t.parentNode);var r=!1===ee(t)?"add":"update",i=t.parentElement?t.parentElement:null,o=t.ownerDocument!==document;switch(t.nodeType){case Node.DOCUMENT_TYPE_NODE:i=o&&t.parentNode?Jt(t.parentNode):i;var u=t,c={tag:(o?"iframe:":"")+"*D",attributes:{name:u.name,publicId:u.publicId,systemId:u.systemId}};oe[r](t,i,c,e);break;case Node.DOCUMENT_NODE:t===document&&Bt(document),ta(t),Vn(t);break;case Node.DOCUMENT_FRAGMENT_NODE:var s=t;if(s.host){if(Bt(s),"function"===typeof s.constructor&&s.constructor.toString().indexOf("[native code]")>=0){Vn(s);var l={tag:"*S",attributes:{style:""}};oe[r](t,s.host,l,e)}else oe[r](t,s.host,{tag:"*P",attributes:{}},e);ta(t)}break;case Node.TEXT_NODE:if(i=i||t.parentNode,"update"===r||i&&ee(i)&&"STYLE"!==i.tagName){var d={tag:"*T",value:t.nodeValue};oe[r](t,i,d,e)}break;case Node.ELEMENT_NODE:var f=t,h=f.tagName,p=function(t){var e={},n=t.attributes;if(n&&n.length>0)for(var a=0;a<n.length;a++){var r=n[a].name;Pn.indexOf(r)<0&&(e[r]=n[a].value)}"INPUT"===t.tagName&&!("value"in e)&&t.value&&(e.value=t.value);return e}(f);switch(i=t.parentElement?t.parentElement:t.parentNode?t.parentNode:null,"http://www.w3.org/2000/svg"===f.namespaceURI&&(h="svg:"+h),h){case"HTML":i=o&&i?Jt(i):null;var v={tag:(o?"iframe:":"")+h,attributes:p};oe[r](t,i,v,e);break;case"SCRIPT":if("type"in p&&"application/ld+json"===p.type)try{Wn(JSON.parse(f.text.replace(Un,"")))}catch(t){}break;case"NOSCRIPT":break;case"META":var g="property"in p?"property":"name"in p?"name":null;if(g&&"content"in p){var m=p.content;switch(p[g]){case"og:title":Ar(20,m);break;case"og:type":Ar(19,m);break;case"generator":Ar(21,m)}}break;case"HEAD":var b={tag:h,attributes:p},y=o&&(null===(n=t.ownerDocument)||void 0===n?void 0:n.location)?t.ownerDocument.location:location;b.attributes["*B"]=y.protocol+"//"+y.host+y.pathname,oe[r](t,i,b,e);break;case"BASE":var w=$t(t.parentElement);if(w){var k=document.createElement("a");k.href=p.href,w.data.attributes["*B"]=k.protocol+"//"+k.host+k.pathname}break;case"STYLE":var E={tag:h,attributes:p,value:Fn(f)};oe[r](t,i,E,e);break;case"IFRAME":var S=t,O={tag:h,attributes:p};Ft(S)&&(!function(t){!1===ee(t)&&di(t,"load",Yn.bind(this,t,"childList"),!0)}(S),O.attributes["*O"]="true",S.contentDocument&&S.contentWindow&&"loading"!==S.contentDocument.readyState&&(a=S.contentDocument)),oe[r](t,i,O,e);break;case"LINK":if(Yr&&"stylesheet"===p.rel){for(var x in Object.keys(document.styleSheets)){var N=document.styleSheets[x];if(N.ownerNode==f){var T={tag:"STYLE",attributes:p,value:Jn(N)};oe[r](t,i,T,e);break}}break}var M={tag:h,attributes:p};oe[r](t,i,M,e);break;default:var _={tag:h,attributes:p};f.shadowRoot&&(a=f.shadowRoot),oe[r](t,i,_,e)}}return a}function Vn(t){ee(t)||(!function(t){try{var e=u("MutationObserver"),n=e in window?new window[e](si(An)):null;n&&(n.observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),xn.push(n))}catch(t){or(2,0,t?t.name:null)}}(t),En(t))}function Fn(t){var e=t.textContent?t.textContent.trim():"",n=t.dataset?Object.keys(t.dataset).length:0;return(0===e.length||n>0)&&(e=Jn(t.sheet)),e}function Jn(t){var e="",n=null;try{n=t?t.cssRules:[]}catch(t){if(or(1,1,t?t.name:null),t&&"SecurityError"!==t.name)throw t}if(null!==n)for(var a=0;a<n.length;a++)e+=n[a].cssText;return e}var Kn=[],Gn=null,Zn=null,Qn="claritySheetId",$n={};function ta(t){if(null==t?void 0:t.adoptedStyleSheets){for(var e=[],n=0,a=t.adoptedStyleSheets;n<a.length;n++){var r=a[n];r[Qn]||(r[Qn]=Gr(),na(s(),r[Qn],0),na(s(),r[Qn],2,Jn(r))),e.push(r[Qn])}var i=Vt(t,!0);$n[i]||($n[i]=[]),function(t,e){if(t.length!==e.length)return!1;return t.every((function(t,n){return t===e[n]}))}(e,$n[i])||(!function(t,e,n,a){Kn.push({time:t,event:45,data:{id:e,operation:n,newIds:a}}),pa(45)}(s(),t==document?-1:Vt(t),3,e),$n[i]=e)}}function ea(){Kn=[]}function na(t,e,n,a){Kn.push({time:t,event:46,data:{id:e,operation:n,cssRules:a}}),pa(46)}var aa=[],ra=null,ia=null,oa=null,ua=null,ca="clarityAnimationId",sa="clarityOperationCount",la=20;function da(){aa=[]}function fa(t,e,n,a,r,i,o){aa.push({time:t,event:44,data:{id:e,operation:n,keyFrames:a,timing:r,targetId:i,timeline:o}}),pa(44)}function ha(t,e){null===t&&(t=Animation.prototype[e],Animation.prototype[e]=function(){if(Oi()){var n=this.effect,a=Vt(this.effect.target);if(null!==a&&n.getKeyframes&&n.getTiming){if(!this[ca]){this[ca]=Gr(),this[sa]=0;var r=n.getKeyframes(),i=n.getTiming();fa(s(),this[ca],0,JSON.stringify(r),JSON.stringify(i),a)}if(this[sa]++<la){var o=null;switch(e){case"play":o=1;break;case"pause":o=2;break;case"cancel":o=3;break;case"finish":o=4}o&&fa(s(),this[ca],o)}}}return t.apply(this,arguments)})}function pa(t,e,n){return void 0===e&&(e=null),void 0===n&&(n=null),at(this,void 0,void 0,(function(){var a,r,i,u,c,l,d,f,h,p,v,g,b,y,w,k,E,S,O,x,N,T,I,C,D,j,A,R,L;return rt(this,(function(z){switch(z.label){case 0:switch(a=n||s(),r=[a,t],t){case 8:return[3,1];case 7:return[3,2];case 45:return[3,3];case 46:return[3,4];case 44:return[3,5];case 5:case 6:return[3,6]}return[3,13];case 1:return i=Ee,r.push(i.width),r.push(i.height),M(t,i.width,i.height),Ja(r),[3,13];case 2:for(u=0,c=ba;u<c.length;u++)l=c[u],(r=[l.time,7]).push(l.data.id),r.push(l.data.interaction),r.push(l.data.visibility),r.push(l.data.name),Ja(r);return Ia(),[3,13];case 3:for(d=0,f=Kn;d<f.length;d++)b=f[d],(r=[b.time,b.event]).push(b.data.id),r.push(b.data.operation),r.push(b.data.newIds),Ja(r);return ea(),[3,13];case 4:for(h=0,p=Kn;h<p.length;h++)b=p[h],(r=[b.time,b.event]).push(b.data.id),r.push(b.data.operation),r.push(b.data.cssRules),Ja(r);ea(),z.label=5;case 5:for(v=0,g=aa;v<g.length;v++)b=g[v],(r=[b.time,b.event]).push(b.data.id),r.push(b.data.operation),r.push(b.data.keyFrames),r.push(b.data.timing),r.push(b.data.timeline),r.push(b.data.targetId),Ja(r);return da(),[3,13];case 6:if(2===ge(e))return[3,13];if(!((y=ne()).length>0))return[3,12];w=0,k=y,z.label=7;case 7:return w<k.length?(E=k[w],0!==(S=ge(e))?[3,9]:[4,ye(e)]):[3,11];case 8:S=z.sent(),z.label=9;case 9:if(2===S)return[3,11];for(O=E.data,x=E.metadata.active,N=E.metadata.suspend,T=E.metadata.privacy,I=function(t){var e=t.metadata.privacy;return"*T"===t.data.tag&&!(0===e||1===e)}(E),C=0,D=x?["tag","attributes","value"]:["tag"];C<D.length;C++)if(O[j=D[C]])switch(j){case"tag":A=va(E),R=I?-1:1,r.push(E.id*R),E.parent&&x&&r.push(E.parent),E.previous&&x&&r.push(E.previous),r.push(N?"*M":O[j]),A&&2===A.length&&r.push("".concat("#").concat(ga(A[0]),".").concat(ga(A[1])));break;case"attributes":for(L in O[j])void 0!==O[j][L]&&r.push(ma(L,O[j][L],T));break;case"value":Et(E.metadata.fraud,E.id,O[j]),r.push(m(O[j],O.tag,T,I))}z.label=10;case 10:return w++,[3,7];case 11:6===t&&_(a),Ja(function(t){for(var e=[],n={},a=0,r=null,i=0;i<t.length;i++)if("string"==typeof t[i]){var o=t[i],u=n[o]||-1;u>=0?r?r.push(u):(r=[u],e.push(r),a++):(r=null,e.push(o),n[o]=a++)}else r=null,e.push(t[i]),a++;return e}(r),!o.lean),z.label=12;case 12:return[3,13];case 13:return[2]}}))}))}function va(t){if(null!==t.metadata.size&&0===t.metadata.size.length){var e=Qt(t.id);if(e)return[Math.floor(100*e.offsetWidth),Math.floor(100*e.offsetHeight)]}return t.metadata.size}function ga(t){return t.toString(36)}function ma(t,e,n){return"".concat(t,"=").concat(m(e,0===t.indexOf("data-")?"data-":t,n))}var ba=[],ya=null,wa={},ka=[],Ea=!1,Sa=null;function Oa(t,e){!1===ya.has(t)&&(ya.set(t,e),(Sa=null===Sa&&Ea?new IntersectionObserver(Ta,{threshold:[0,.2,.4,.6,.8,1]}):Sa)&&t&&t.nodeType===Node.ELEMENT_NODE&&Sa.observe(t))}function xa(t){return ya&&ya.has(t)}function Na(){for(var t=[],e=0,n=ka;e<n.length;e++){var a=n[e],r=Vt(a.node);r in wa||(r?(a.data.id=r,wa[r]=a.data,ba.push(_a(a.data))):t.push(a))}ka=t,ba.length>0&&pa(7)}function Ta(t){for(var e=0,n=t;e<n.length;e++){var a=n[e],r=a.target,i=a.boundingClientRect,o=a.intersectionRect,u=a.rootBounds;if(ya.has(r)&&i.width+i.height>0&&u.width>0&&u.height>0){var c=r?Vt(r):null,s=c in wa?wa[c]:{id:c,name:ya.get(r),interaction:16,visibility:0},l=(o?o.width*o.height*1/(u.width*u.height):0)>.05||a.intersectionRatio>.8,d=(l||10==s.visibility)&&Math.abs(i.top)+u.height>i.height;Ma(r,s,s.interaction,d?13:l?10:0),s.visibility>=13&&Sa&&Sa.unobserve(r)}}ba.length>0&&pa(7)}function Ma(t,e,n,a){var r=n>e.interaction||a>e.visibility;e.interaction=n>e.interaction?n:e.interaction,e.visibility=a>e.visibility?a:e.visibility,e.id?(e.id in wa&&r||!(e.id in wa))&&(wa[e.id]=e,ba.push(_a(e))):ka.push({node:t,data:e})}function _a(t){return{time:s(),data:{id:t.id,interaction:t.interaction,visibility:t.visibility,name:t.name}}}function Ia(){ba=[]}function Ca(t){var e=t.composed&&t.composedPath?t.composedPath():null,n=e&&e.length>0?e[0]:t.target;return Dn=s()+3e3,n.nodeType===Node.DOCUMENT_NODE?n.documentElement:n}function Da(t,e,n){void 0===n&&(n=null);var a={id:0,hash:null,privacy:2,node:t};if(t){var r=$t(t);if(null!==r){var i=r.metadata;a.id=r.id,a.hash=r.hash,a.privacy=i.privacy,r.region&&function(t,e){var n=Qt(t),a=t in wa?wa[t]:{id:t,visibility:0,interaction:16,name:ya.get(n)},r=16;switch(e){case 9:r=20;break;case 27:r=30}Ma(n,a,r,a.visibility)}(r.region,e),i.fraud&&Et(i.fraud,r.id,n||r.data.value)}}return a}function ja(t,e){return void 0===e&&(e=null),at(this,void 0,void 0,(function(){var n,a,r,i,o,u,c,l,d,f,h,p,v,g,y,w,k,E,S,O,x,N,T,_,C,D,j,A,R,L,z;return rt(this,(function(H){switch(n=e||s(),a=[n,t],t){case 13:case 14:case 12:case 15:case 16:case 17:case 18:case 19:case 20:for(r=0,i=Fe;r<i.length;r++)L=i[r],(o=Da(L.data.target,L.event)).id>0&&((a=[L.time,L.event]).push(o.id),a.push(L.data.x),a.push(L.data.y),Ja(a),M(L.event,L.data.x,L.data.y));$e();break;case 9:for(u=0,c=Ce;u<c.length;u++)L=c[u],l=Da(L.data.target,L.event,L.data.text),a=[L.time,L.event],d=l.hash?l.hash.join("."):"",a.push(l.id),a.push(L.data.x),a.push(L.data.y),a.push(L.data.eX),a.push(L.data.eY),a.push(L.data.button),a.push(L.data.reaction),a.push(L.data.context),a.push(m(L.data.text,"click",l.privacy)),a.push(b(L.data.link)),a.push(d),a.push(L.data.trust),Ja(a),za(L.time,L.event,d,L.data.x,L.data.y,L.data.reaction,L.data.context);ze();break;case 38:for(f=0,h=He;f<h.length;f++)L=h[f],a=[L.time,L.event],(j=Da(L.data.target,L.event)).id>0&&(a.push(j.id),a.push(L.data.action),Ja(a));qe();break;case 11:p=Ve,a.push(p.width),a.push(p.height),M(t,p.width,p.height),en(),Ja(a);break;case 26:v=hn,a.push(v.name),yn(),Ja(a);break;case 27:for(g=0,y=Xe;g<y.length;g++)L=y[g],w=Da(L.data.target,L.event,L.data.value),(a=[L.time,L.event]).push(w.id),a.push(m(L.data.value,"input",w.privacy)),Ja(a);Be();break;case 21:(k=un)&&(E=Da(k.start,t),S=Da(k.end,t),a.push(E.id),a.push(k.startOffset),a.push(S.id),a.push(k.endOffset),fn(),Ja(a));break;case 10:for(O=0,x=nn;O<x.length;O++)L=x[O],(N=Da(L.data.target,L.event)).id>0&&((a=[L.time,L.event]).push(N.id),a.push(L.data.x),a.push(L.data.y),Ja(a),M(L.event,L.data.x,L.data.y));nn=[];break;case 42:for(T=0,_=Ne;T<_.length;T++)L=_[T],a=[L.time,L.event],(j=Da(L.data.target,L.event)).id>0&&((a=[L.time,L.event]).push(j.id),a.push(L.data.type),a.push(m(L.data.value,"change",j.privacy)),a.push(m(L.data.checksum,"checksum",j.privacy)),Ja(a));Me();break;case 39:for(C=0,D=vn;C<D.length;C++)L=D[C],a=[L.time,L.event],(j=Da(L.data.target,L.event)).id>0&&(a.push(j.id),Ja(a));mn();break;case 22:for(A=0,R=Ra;A<R.length;A++)L=R[A],(a=[L.time,L.event]).push(L.data.type),a.push(L.data.hash),a.push(L.data.x),a.push(L.data.y),a.push(L.data.reaction),a.push(L.data.context),Ja(a,!1);La();break;case 28:z=pn,a.push(z.visible),Ja(a),I(n,z.visible),kn()}return[2]}))}))}var Aa=[],Ra=[];function La(){Ra=[]}function za(t,e,n,a,r,i,o){void 0===i&&(i=1),void 0===o&&(o=0),Aa.push({time:t,event:22,data:{type:e,hash:n,x:a,y:r,reaction:i,context:o}}),M(e,a,r)}var Ha,Ya,qa,Wa,Xa,Pa=0,Ua=0,Ba=null,Va=0;function Fa(){Wa=!0,Pa=0,Ua=0,Va=0,Ha=[],Ya=[],qa={},Xa=null}function Ja(t,e){if(void 0===e&&(e=!0),Wa){var n=s(),a=t.length>1?t[1]:null,r=JSON.stringify(t);switch(a){case 5:Pa+=r.length;case 37:case 6:case 43:case 45:case 46:Ua+=r.length,Ha.push(r);break;default:Ya.push(r)}H(25);var i=function(){var t=!1===o.lean&&Pa>0?100:ai.sequence*o.delay;return"string"==typeof o.upload?Math.max(Math.min(t,3e4),100):o.delay}();n-Va>2*i&&(X(Ba),Ba=null),e&&null===Ba&&(25!==a&&V(),Ba=W(Ga,i),Va=n,Nr(Ua))}}function Ka(){X(Ba),Ga(!0),Pa=0,Ua=0,Va=0,Ha=[],Ya=[],qa={},Xa=null,Wa=!1}function Ga(t){return void 0===t&&(t=!1),at(this,void 0,void 0,(function(){var e,n,a,r,i,u,c,s;return rt(this,(function(l){switch(l.label){case 0:return Ba=null,(e=!1===o.lean&&Ua>0&&(Ua<1048576||ai.sequence>0))&&q(1,1),Na(),function(){var t=[];Ra=[];for(var e=ai.start+ai.duration,n=Math.max(e-2e3,0),a=0,r=Aa;a<r.length;a++){var i=r[a];i.time>=n&&(i.time<=e&&Ra.push(i),t.push(i))}Aa=t,ja(22)}(),yt(),ta(document),Object.keys($n).forEach((function(t){return ta(Qt(parseInt(t,10)))})),n=!0===t,a=JSON.stringify(oi(n)),r="[".concat(Ya.join(),"]"),i=e?"[".concat(Ha.join(),"]"):"",u=function(t){return t.p.length>0?'{"e":'.concat(t.e,',"a":').concat(t.a,',"p":').concat(t.p,"}"):'{"e":'.concat(t.e,',"a":').concat(t.a,"}")}({e:a,a:r,p:i}),n?(s=null,[3,3]):[3,1];case 1:return[4,pt(u)];case 2:s=l.sent(),l.label=3;case 3:return Y(2,(c=s)?c.length:u.length),Za(u,c,ai.sequence,n),Ya=[],e&&(Ha=[],Ua=0,Pa=0),[2]}}))}))}function Za(t,e,n,a){if(void 0===a&&(a=!1),"string"==typeof o.upload){var r=o.upload,i=!1;if(a&&"sendBeacon"in navigator)try{(i=navigator.sendBeacon.bind(navigator)(r,t))&&$a(n)}catch(t){}if(!1===i){n in qa?qa[n].attempts++:qa[n]={data:t,attempts:1};var u=new XMLHttpRequest;u.open("POST",r,!0),u.timeout=15e3,u.ontimeout=function(){ci(new Error("".concat("Timeout"," : ").concat(r)))},null!==n&&(u.onreadystatechange=function(){si(Qa)(u,n)}),u.withCredentials=!0,e?(u.setRequestHeader("Accept","application/x-clarity-gzip"),u.send(e)):u.send(t)}}else if(o.upload){(0,o.upload)(t),$a(n)}}function Qa(t,e){var n=qa[e];t&&4===t.readyState&&n&&((t.status<200||t.status>208)&&n.attempts<=1?t.status>=400&&t.status<500?Tr(6):(0===t.status&&(o.upload=o.fallback?o.fallback:o.upload),Za(n.data,null,e)):(Xa={sequence:e,attempts:n.attempts,status:t.status},n.attempts>1&&Or(2),200===t.status&&t.responseText&&function(t){for(var e=t&&t.length>0?t.split("\n"):[],n=0,a=e;n<a.length;n++){var r=a[n],i=r&&r.length>0?r.split(/ (.*)/):[""];switch(i[0]){case"END":Tr(6);break;case"UPGRADE":et("Auto");break;case"ACTION":o.action&&i.length>1&&o.action(i[1]);break;case"EXTRACT":i.length>1&&vr(i[1])}}}(t.responseText),0===t.status&&(Za(n.data,null,e,!0),Tr(3)),t.status>=200&&t.status<=208&&$a(e),delete qa[e]))}function $a(t){1===t&&Fr()}var tr,er={};function nr(t){var e=t.error||t;return e.message in er||(er[e.message]=0),er[e.message]++>=5||e&&e.message&&(tr={message:e.message,line:t.lineno,column:t.colno,stack:e.stack,source:t.filename},ar(31)),!0}function ar(t){return at(this,void 0,void 0,(function(){var e;return rt(this,(function(n){switch(e=[s(),t],t){case 31:e.push(tr.message),e.push(tr.line),e.push(tr.column),e.push(tr.stack),e.push(b(tr.source)),Ja(e);break;case 33:rr&&(e.push(rr.code),e.push(rr.name),e.push(rr.message),e.push(rr.stack),e.push(rr.severity),Ja(e,!1));break;case 41:wt&&(e.push(wt.id),e.push(wt.target),e.push(wt.checksum),Ja(e,!1))}return[2]}))}))}var rr,ir={};function or(t,e,n,a,r){void 0===n&&(n=null),void 0===a&&(a=null),void 0===r&&(r=null);var i=n?"".concat(n,"|").concat(a):"";t in ir&&ir[t].indexOf(i)>=0||(rr={code:t,name:n,message:a,stack:r,severity:e},t in ir?ir[t].push(i):ir[t]=[i],ar(33))}var ur,cr={},sr=new Set,lr={},dr={},fr={},hr={};function pr(){br()}function vr(t){try{var e=t&&t.length>0?t.split(/ (.*)/):[""],n=e[0].split(/\|(.*)/),a=parseInt(n[0]),r=n.length>1?n[1]:"",i=e.length>1?JSON.parse(e[1]):{};for(var o in lr[a]={},dr[a]={},fr[a]={},hr[a]=r,i){var u=parseInt(o),c=i[o],s=2;switch(c.startsWith("~")?s=0:c.startsWith("!")&&(s=4),s){case 0:var l=c.substring(1,c.length);lr[a][u]=kr(l);break;case 2:dr[a][u]=c;break;case 4:var d=c.substring(1,c.length);fr[a][u]=d}}}catch(t){or(8,1,t?t.name:null)}}function gr(t){return JSON.parse(JSON.stringify(t))}function mr(){try{for(var t in lr){var e=parseInt(t);if(""==hr[e]||document.querySelector(hr[e])){var n=lr[e];for(var a in n){var r=parseInt(a),i=(h=Er(gr(n[r])))?JSON.stringify(h).substring(0,1e4):h;i&&yr(e,r,i)}var o=dr[e];for(var u in o){var c=parseInt(u),s=document.querySelectorAll(o[c]);if(s)yr(e,c,Array.from(s).map((function(t){return t.textContent})).join("<SEP>").substring(0,1e4))}var l=fr[e];for(var d in l){var f=parseInt(d);yr(e,f,Zt(l[f]).trim().substring(0,1e4))}}}sr.size>0&&Or(40)}catch(t){or(5,1,t?t.name:null)}var h}function br(){sr.clear()}function yr(t,e,n){var a,r=!1;t in cr||(cr[t]={},r=!0),a=fr[t],0==Object.keys(a).length||e in cr[t]&&cr[t][e]==n||(r=!0),cr[t][e]=n,r&&sr.add(t)}function wr(){br()}function kr(t){for(var e=[],n=t.split(".");n.length>0;){var a=n.shift(),r=a.indexOf("["),i=a.indexOf("{"),o=a.indexOf("}");e.push({name:r>0?a.substring(0,r):i>0?a.substring(0,i):a,type:r>0?1:i>0?2:3,condition:i>0?a.substring(i+1,o):null})}return e}function Er(t,e){if(void 0===e&&(e=window),0==t.length)return e;var n,a=t.shift();if(e&&e[a.name]){var r=e[a.name];if(1!==a.type&&Sr(r,a.condition))n=Er(t,r);else if(Array.isArray(r)){for(var i=[],o=0,u=r;o<u.length;o++){var c=u[o];if(Sr(c,a.condition)){var s=Er(t,c);s&&i.push(s)}}n=i}return n}return null}function Sr(t,e){if(e){var n=e.split(":");return n.length>1?t[n[0]]==n[1]:t[n[0]]}return!0}function Or(t){var e=[s(),t];switch(t){case 4:var n=O;n&&((e=[n.time,n.event]).push(n.data.visible),e.push(n.data.docWidth),e.push(n.data.docHeight),e.push(n.data.screenWidth),e.push(n.data.screenHeight),e.push(n.data.scrollX),e.push(n.data.scrollY),e.push(n.data.pointerX),e.push(n.data.pointerY),e.push(n.data.activityTime),Ja(e,!1)),T();break;case 25:e.push(R.gap),Ja(e);break;case 35:e.push(ur.check),Ja(e,!1);break;case 3:e.push(tt.key),Ja(e);break;case 2:e.push(Xa.sequence),e.push(Xa.attempts),e.push(Xa.status),Ja(e,!1);break;case 24:j.key&&e.push(j.key),e.push(j.value),Ja(e);break;case 34:var a=Object.keys(it);if(a.length>0){for(var r=0,i=a;r<i.length;r++){var o=i[r];e.push(o),e.push(it[o])}lt(),Ja(e,!1)}break;case 0:var u=Object.keys(z);if(u.length>0){for(var c=0,l=u;c<l.length;c++){var d=l[c],f=parseInt(d,10);e.push(f),e.push(Math.round(z[d]))}z={},Ja(e,!1)}break;case 1:var h=Object.keys(Cr);if(h.length>0){for(var p=0,v=h;p<v.length;p++){var g=v[p];f=parseInt(g,10);e.push(f),e.push(Cr[g])}Lr(),Ja(e,!1)}break;case 36:var m=Object.keys(K);if(m.length>0){for(var b=0,y=m;b<y.length;b++){var w=y[b];f=parseInt(w,10);e.push(f),e.push([].concat.apply([],K[w]))}Q(),Ja(e,!1)}break;case 40:sr.forEach((function(t){e.push(t);var n=[];for(var a in cr[t]){var r=parseInt(a,10);n.push(r),n.push(cr[t][a])}e.push(n)})),br(),Ja(e,!1)}}function xr(){ur={check:0}}function Nr(t){if(0===ur.check){var e=ur.check;e=ai.sequence>=128?1:e,e=ai.pageNum>=128?7:e,e=s()>72e5?2:e,(e=t>10485760?2:e)!==ur.check&&Tr(e)}}function Tr(t){ur.check=t,Vr(),qi()}function Mr(){0!==ur.check&&Or(35)}function _r(){ur=null}var Ir=null,Cr=null;function Dr(){Ir={},Cr={}}function jr(){Ir={},Cr={}}function Ar(t,e){e&&(e="".concat(e),t in Ir||(Ir[t]=[]),Ir[t].indexOf(e)<0&&(Ir[t].push(e),t in Cr||(Cr[t]=[]),Cr[t].push(e),Ir[t].length>128&&Tr(5)))}function Rr(){Or(1)}function Lr(){Cr={}}var zr=null,Hr=[],Yr=0,qr=null;function Wr(){qr=null;var t=navigator&&"userAgent"in navigator?navigator.userAgent:"",e=document&&document.title?document.title:"";Yr=t.indexOf("Electron")>0?1:0;var n,a=function(){var t={session:Gr(),ts:Math.round(Date.now()),count:1,upgrade:null,upload:""},e=$r("_clsk");if(e){var n=e.split("|");n.length>=5&&t.ts-Zr(n[1])<18e5&&(t.session=n[0],t.count=Zr(n[2])+1,t.upgrade=Zr(n[3]),t.upload=n.length>=6?"".concat("https://").concat(n[5],"/").concat(n[4]):"".concat("https://").concat(n[4]))}return t}(),r=Qr(),i=o.projectId||d(location.host);zr={projectId:i,userId:r.id,sessionId:a.session,pageNum:a.count},o.lean=o.track&&null!==a.upgrade?0===a.upgrade:o.lean,o.upload=o.track&&"string"==typeof o.upload&&a.upload&&a.upload.length>"https://".length?a.upload:o.upload,Ar(0,t),Ar(3,e),Ar(1,b(location.href,!!Yr)),Ar(2,document.referrer),Ar(15,function(){var t=Gr();if(o.track&&Jr(window,"sessionStorage")){var e=sessionStorage.getItem("_cltk");t=e||t,sessionStorage.setItem("_cltk",t)}return t}()),Ar(16,document.documentElement.lang),Ar(17,document.dir),Ar(26,"".concat(window.devicePixelRatio)),Ar(28,r.dob.toString()),Ar(29,r.version.toString()),q(0,a.ts),q(1,0),q(35,Yr),navigator&&(Ar(9,navigator.language),q(33,navigator.hardwareConcurrency),q(32,navigator.maxTouchPoints),q(34,Math.round(navigator.deviceMemory)),(n=navigator.userAgentData)&&n.getHighEntropyValues?n.getHighEntropyValues(["model","platform","platformVersion","uaFullVersion"]).then((function(t){var e;Ar(22,t.platform),Ar(23,t.platformVersion),null===(e=t.brands)||void 0===e||e.forEach((function(t){Ar(24,t.name+"~"+t.version)})),Ar(25,t.model),q(27,t.mobile?1:0)})):Ar(22,navigator.platform)),screen&&(q(14,Math.round(screen.width)),q(15,Math.round(screen.height)),q(16,Math.round(screen.colorDepth)));for(var u=0,c=o.cookies;u<c.length;u++){var s=c[u],l=$r(s);l&&ot(s,l)}Kr(r)}function Xr(){qr=null,zr=null}function Pr(t,e){void 0===e&&(e=!0);var n=o.lean?0:1;zr&&(n||!1===e)?t(zr,!o.lean):Hr.push({callback:t,wait:e})}function Ur(){return zr?[zr.userId,zr.sessionId,zr.pageNum].join("."):""}function Br(t){if(void 0===t&&(t=!0),!t)return ei("_clsk","",0),ei("_clck","",0),qi(),void window.setTimeout(Yi,250);Oi()&&(o.track=!0,Kr(Qr(),1))}function Vr(){ei("_clsk","",0)}function Fr(){var t=Math.round(Date.now()),e=o.upload&&"string"==typeof o.upload?o.upload.replace("https://",""):"",n=o.lean?0:1;!function(t){Hr.length>0&&Hr.forEach((function(e){!e.callback||e.wait&&!t||e.callback(zr,!o.lean)}))}(n),ei("_clsk",[zr.sessionId,t,zr.pageNum,n,e].join("|"),1)}function Jr(t,e){try{return!!t[e]}catch(t){return!1}}function Kr(t,e){void 0===e&&(e=null),e=null===e?t.consent:e;var n=Math.ceil((Date.now()+31536e6)/864e5),a=0===t.dob?null===o.dob?0:o.dob:t.dob;(null===t.expiry||Math.abs(n-t.expiry)>=1||t.consent!==e||t.dob!==a)&&ei("_clck",[zr.userId,2,n.toString(36),e,a].join("|"),365)}function Gr(){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 Zr(t,e){return void 0===e&&(e=10),parseInt(t,e)}function Qr(){var t={id:Gr(),version:0,expiry:null,consent:0,dob:0},e=$r("_clck");if(e&&e.length>0){for(var n=e.split("|"),a=0,r=0,i=document.cookie.split(";");r<i.length;r++){a+="_clck"===i[r].split("=")[0].trim()?1:0}if(1===n.length||a>1){var u="".concat(";").concat("expires=").concat(new Date(0).toUTCString()).concat(";path=/");document.cookie="".concat("_clck","=").concat(u),document.cookie="".concat("_clsk","=").concat(u)}n.length>1&&(t.version=Zr(n[1])),n.length>2&&(t.expiry=Zr(n[2],36)),n.length>3&&1===Zr(n[3])&&(t.consent=1),n.length>4&&Zr(n[1])>1&&(t.dob=Zr(n[4])),o.track=o.track||1===t.consent,t.id=o.track?n[0]:t.id}return t}function $r(t){var e;if(Jr(document,"cookie")){var n=document.cookie.split(";");if(n)for(var a=0;a<n.length;a++){var r=n[a].split("=");if(r.length>1&&r[0]&&r[0].trim()===t){for(var i=ti(r[1]),o=i[0],u=i[1];o;)o=(e=ti(u))[0],u=e[1];return u}}}return null}function ti(t){try{var e=decodeURIComponent(t);return[e!=t,e]}catch(t){}return[!1,t]}function ei(t,e,n){if(o.track&&(navigator&&navigator.cookieEnabled||Jr(document,"cookie"))){var a=function(t){return encodeURIComponent(t)}(e),r=new Date;r.setDate(r.getDate()+n);var i=r?"expires="+r.toUTCString():"",u="".concat(t,"=").concat(a).concat(";").concat(i).concat(";path=/");try{if(null===qr){for(var c=location.hostname?location.hostname.split("."):[],s=c.length-1;s>=0;s--)if(qr=".".concat(c[s]).concat(qr||""),s<c.length-1&&(document.cookie="".concat(u).concat(";").concat("domain=").concat(qr),$r(t)===e))return;qr=""}}catch(t){qr=""}document.cookie=qr?"".concat(u).concat(";").concat("domain=").concat(qr):u}}var ni,ai=null;function ri(){var t=zr;ai={version:l,sequence:0,start:0,duration:0,projectId:t.projectId,userId:t.userId,sessionId:t.sessionId,pageNum:t.pageNum,upload:0,end:0}}function ii(){ai=null}function oi(t){return ai.start=ai.start+ai.duration,ai.duration=s()-ai.start,ai.sequence++,ai.upload=t&&"sendBeacon"in navigator?1:0,ai.end=t?1:0,[ai.version,ai.sequence,ai.start,ai.duration,ai.projectId,ai.userId,ai.sessionId,ai.pageNum,ai.upload,ai.end]}function ui(){ni=[]}function ci(t){if(ni&&-1===ni.indexOf(t.message)){var e=o.report;if(e&&e.length>0){var n={v:ai.version,p:ai.projectId,u:ai.userId,s:ai.sessionId,n:ai.pageNum};t.message&&(n.m=t.message),t.stack&&(n.e=t.stack);var a=new XMLHttpRequest;a.open("POST",e,!0),a.send(JSON.stringify(n)),ni.push(t.message)}}return t}function si(t){return function(){var e=performance.now();try{t.apply(this,arguments)}catch(t){throw ci(t)}var n=performance.now()-e;Y(4,n),n>30&&(H(7),q(6,n))}}var li=[];function di(t,e,n,a){void 0===a&&(a=!1),n=si(n);try{t[u("addEventListener")](e,n,a),li.push({event:e,target:t,listener:n,capture:a})}catch(t){}}function fi(){for(var t=0,e=li;t<e.length;t++){var n=e[t];try{n.target[u("removeEventListener")](n.event,n.listener,n.capture)}catch(t){}}li=[]}var hi=null,pi=null,vi=null,gi=0;function mi(){return!(gi++>20)||(or(4,0),!1)}function bi(){gi=0,vi!==wi()&&(qi(),window.setTimeout(yi,250))}function yi(){Yi(),q(29,1)}function wi(){return location.href?location.href.replace(location.hash,""):location.href}var ki=!1;function Ei(){ki=!0,c=performance.now(),he(),fi(),ui(),vi=wi(),gi=0,di(window,"popstate",bi),null===hi&&(hi=history.pushState,history.pushState=function(){hi.apply(this,arguments),Oi()&&mi()&&bi()}),null===pi&&(pi=history.replaceState,history.replaceState=function(){pi.apply(this,arguments),Oi()&&mi()&&bi()})}function Si(){vi=null,gi=0,ui(),fi(),he(),c=0,ki=!1}function Oi(){return ki}function xi(t){if(null===t||ki)return!1;for(var e in t)e in o&&(o[e]=t[e]);return!0}function Ni(){Yi(),A("clarity","restart")}var Ti=Object.freeze({__proto__:null,start:function(){!function(){kt=[],q(26,navigator.webdriver?1:0);try{q(31,window.top==window.self?1:2)}catch(t){q(31,0)}}(),di(window,"error",nr),er={},ir={}},stop:function(){ir={}}});function Mi(){return at(this,void 0,void 0,(function(){var t,e;return rt(this,(function(n){switch(n.label){case 0:return t=s(),me(e={id:Ur(),cost:3}),[4,On(document,e,0)];case 1:return n.sent(),ta(document),[4,pa(5,e,t)];case 2:return n.sent(),be(e),[2]}}))}))}var _i=Object.freeze({__proto__:null,hashText:Zt,start:function(){Oe(),xe(),Ia(),Sa=null,ya=new WeakMap,wa={},ka=[],Ea=!!window.IntersectionObserver,Xt(),function(){if(xn=[],In=[],Cn=null,Dn=0,jn={},null===Tn&&(Tn=CSSStyleSheet.prototype.insertRule,CSSStyleSheet.prototype.insertRule=function(){return Oi()&&Hn(this.ownerNode),Tn.apply(this,arguments)}),null===Mn&&(Mn=CSSStyleSheet.prototype.deleteRule,CSSStyleSheet.prototype.deleteRule=function(){return Oi()&&Hn(this.ownerNode),Mn.apply(this,arguments)}),null===_n){_n=Element.prototype.attachShadow;try{Element.prototype.attachShadow=function(){return Oi()?Hn(_n.apply(this,arguments)):_n.apply(this,arguments)}}catch(t){_n=null}}}(),pe(Mi,1).then((function(){si(xe)(),si(Na)()})),ea(),null===Gn&&(Gn=CSSStyleSheet.prototype.replace,CSSStyleSheet.prototype.replace=function(){return Oi()&&(this[Qn]||(this[Qn]=Gr(),na(s(),this[Qn],0)),na(s(),this[Qn],1,arguments[0])),Gn.apply(this,arguments)}),null===Zn&&(Zn=CSSStyleSheet.prototype.replaceSync,CSSStyleSheet.prototype.replaceSync=function(){return Oi()&&(this[Qn]||(this[Qn]=Gr(),na(s(),this[Qn],0)),na(s(),this[Qn],2,arguments[0])),Zn.apply(this,arguments)}),window.Animation&&window.KeyframeEffect&&window.KeyframeEffect.prototype.getKeyframes&&window.KeyframeEffect.prototype.getTiming&&(da(),ha(ra,"play"),ha(ia,"pause"),ha(oa,"cancel"),ha(ua,"finish"))},stop:function(){Ia(),ya=null,wa={},ka=[],Sa&&(Sa.disconnect(),Sa=null),Ea=!1,Pt(),function(){for(var t=0,e=xn;t<e.length;t++){var n=e[t];n&&n.disconnect()}xn=[],jn={},Nn=[],In=[],Dn=0,Cn=null}(),Oe(),$n={},ea(),da()}});var Ii,Ci=null;function Di(){Ci=null}function ji(t){Ci={fetchStart:Math.round(t.fetchStart),connectStart:Math.round(t.connectStart),connectEnd:Math.round(t.connectEnd),requestStart:Math.round(t.requestStart),responseStart:Math.round(t.responseStart),responseEnd:Math.round(t.responseEnd),domInteractive:Math.round(t.domInteractive),domComplete:Math.round(t.domComplete),loadEventStart:Math.round(t.loadEventStart),loadEventEnd:Math.round(t.loadEventEnd),redirectCount:Math.round(t.redirectCount),size:t.transferSize?t.transferSize:0,type:t.type,protocol:t.nextHopProtocol,encodedSize:t.encodedBodySize?t.encodedBodySize:0,decodedSize:t.decodedBodySize?t.decodedBodySize:0},function(t){at(this,void 0,void 0,(function(){var e,n;return rt(this,(function(a){return e=s(),n=[e,t],29===t&&(n.push(Ci.fetchStart),n.push(Ci.connectStart),n.push(Ci.connectEnd),n.push(Ci.requestStart),n.push(Ci.responseStart),n.push(Ci.responseEnd),n.push(Ci.domInteractive),n.push(Ci.domComplete),n.push(Ci.loadEventStart),n.push(Ci.loadEventEnd),n.push(Ci.redirectCount),n.push(Ci.size),n.push(Ci.type),n.push(Ci.protocol),n.push(Ci.encodedSize),n.push(Ci.decodedSize),Di(),Ja(n)),[2]}))}))}(29)}var Ai=["navigation","resource","longtask","first-input","layout-shift","largest-contentful-paint"];function Ri(){try{Ii&&Ii.disconnect(),Ii=new PerformanceObserver(si(Li));for(var t=0,e=Ai;t<e.length;t++){var n=e[t];PerformanceObserver.supportedEntryTypes.indexOf(n)>=0&&("layout-shift"===n&&Y(9,0),Ii.observe({type:n,buffered:!0}))}}catch(t){or(3,1)}}function Li(t){!function(t){for(var e=(!("visibilityState"in document)||"visible"===document.visibilityState),n=0;n<t.length;n++){var a=t[n];switch(a.entryType){case"navigation":ji(a);break;case"resource":var r=a.name;Ar(4,zi(r)),r!==o.upload&&r!==o.fallback||q(28,a.duration);break;case"longtask":H(7);break;case"first-input":e&&q(10,a.processingStart-a.startTime);break;case"layout-shift":e&&!a.hadRecentInput&&Y(9,1e3*a.value);break;case"largest-contentful-paint":e&&q(8,a.startTime)}}}(t.getEntries())}function zi(t){var e=document.createElement("a");return e.href=t,e.host}var Hi=[Ti,_i,Sn,Object.freeze({__proto__:null,start:function(){Di(),function(){navigator&&"connection"in navigator&&Ar(27,navigator.connection.effectiveType),window.PerformanceObserver&&PerformanceObserver.supportedEntryTypes?"complete"!==document.readyState?di(window,"load",W.bind(this,Ri,0)):Ri():or(3,0)}()},stop:function(){Ii&&Ii.disconnect(),Ii=null,Di()}})];function Yi(t){void 0===t&&(t=null),function(){try{return!1===ki&&"undefined"!=typeof Promise&&window.MutationObserver&&document.createTreeWalker&&"now"in Date&&"now"in performance&&"undefined"!=typeof WeakMap}catch(t){return!1}}()&&(xi(t),Ei(),mt(),Hi.forEach((function(t){return si(t.start)()})),null===t&&Ui())}function qi(){Oi()&&(Hi.slice().reverse().forEach((function(t){return si(t.stop)()})),bt(),Si(),void 0!==Xi&&(Xi[Pi]=function(){(Xi[Pi].q=Xi[Pi].q||[]).push(arguments),"start"===arguments[0]&&Xi[Pi].q.unshift(Xi[Pi].q.pop())&&Ui()}))}var Wi=Object.freeze({__proto__:null,consent:Br,event:A,hashText:Zt,identify:ut,metadata:Pr,pause:function(){Oi()&&(A("clarity","pause"),null===de&&(de=new Promise((function(t){fe=t}))))},resume:function(){Oi()&&(de&&(fe(),de=null,null===le&&ve()),A("clarity","resume"))},set:ot,start:Yi,stop:qi,upgrade:et,version:l}),Xi=window,Pi="clarity";function Ui(){if(void 0!==Xi){if(Xi[Pi]&&Xi[Pi].v)return console.warn("Error CL001: Multiple Clarity tags detected.");var t=Xi[Pi]&&Xi[Pi].q||[];for(Xi[Pi]=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return Wi[t].apply(Wi,e)},Xi[Pi].v=l;t.length>0;)Xi[Pi].apply(Xi,t.shift())}}Ui()}();
|
|
1
|
+
!function(){"use strict";var t=Object.freeze({__proto__:null,get queue(){return Ja},get start(){return Fa},get stop(){return Ka},get track(){return Xa}}),e=Object.freeze({__proto__:null,get clone(){return gr},get compute(){return mr},get data(){return cr},get keys(){return sr},get reset(){return br},get start(){return pr},get stop(){return wr},get trigger(){return vr},get update(){return yr}}),n=Object.freeze({__proto__:null,get check(){return Nr},get compute(){return Mr},get data(){return ur},get start(){return xr},get stop(){return _r},get trigger(){return Tr}}),a=Object.freeze({__proto__:null,get compute(){return Rr},get data(){return Ir},get log(){return Ar},get reset(){return Lr},get start(){return Dr},get stop(){return jr},get updates(){return Cr}}),r=Object.freeze({__proto__:null,get callbacks(){return Hr},get clear(){return Vr},get consent(){return Br},get data(){return zr},get electron(){return Yr},get id(){return Ur},get metadata(){return Pr},get save(){return Fr},get shortid(){return Gr},get start(){return Wr},get stop(){return Xr}}),i=Object.freeze({__proto__:null,get data(){return ai},get envelope(){return oi},get start(){return ri},get stop(){return ii}}),o={projectId:null,delay:1e3,lean:!1,track:!0,content:!0,drop:[],mask:[],unmask:[],regions:[],cookies:[],fraud:!0,checksum:[],report:null,upload:null,fallback:null,upgrade:null,action:null,dob:null};function u(t){return window.Zone&&"__symbol__"in window.Zone?window.Zone.__symbol__(t):t}var c=0;function s(t){void 0===t&&(t=null);var e=t&&t.timeStamp>0?t.timeStamp:performance.now();return Math.max(Math.round(e-c),0)}var l="0.7.21";function d(t,e){void 0===e&&(e=null);for(var n,a=5381,r=a,i=0;i<t.length;i+=2){if(a=(a<<5)+a^t.charCodeAt(i),i+1<t.length)r=(r<<5)+r^t.charCodeAt(i+1)}return n=Math.abs(a+11579*r),(e?n%Math.pow(2,e):n).toString(36)}var f=/\S/gi,h=!0,p=null,v=null,g=null;function m(t,e,n,a){if(void 0===a&&(a=!1),t)switch(n){case 0:return t;case 1:switch(e){case"*T":case"value":case"placeholder":case"click":return function(t){var e=-1,n=0,a=!1,r=!1,i=!1,o=null;S();for(var u=0;u<t.length;u++){var c=t.charCodeAt(u);if(a=a||c>=48&&c<=57,r=r||64===c,i=9===c||10===c||13===c||32===c,0===u||u===t.length-1||i){if(a||r){null===o&&(o=t.split(""));var s=t.substring(e+1,i?u:u+1);s=h&&null!==g?s.match(g)?s:k(s,"▪","▫"):w(s),o.splice(e+1-n,s.length,s),n+=s.length-1}i&&(a=!1,r=!1,e=u)}}return o?o.join(""):t}(t);case"input":case"change":return E(t)}return t;case 2:case 3:switch(e){case"*T":case"data-":return a?y(t):w(t);case"src":case"srcset":case"title":case"alt":return 3===n?"":t;case"value":case"click":case"input":case"change":return E(t);case"placeholder":return w(t)}break;case 4:switch(e){case"*T":case"data-":return a?y(t):w(t);case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":return""}break;case 5:switch(e){case"*T":case"data-":return k(t,"▪","▫");case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":case"src":case"srcset":case"alt":case"title":return""}}return t}function b(t,e){if(void 0===e&&(e=!1),e)return"".concat("https://").concat("Electron");var n=o.drop;if(n&&n.length>0&&t&&t.indexOf("?")>0){var a=t.split("?"),r=a[0],i=a[1];return r+"?"+i.split("&").map((function(t){return n.some((function(e){return 0===t.indexOf("".concat(e,"="))}))?"".concat(t.split("=")[0],"=").concat("*na*"):t})).join("&")}return t}function y(t){var e=t.trim();if(e.length>0){var n=e[0],a=t.indexOf(n),r=t.substr(0,a),i=t.substr(a+e.length);return"".concat(r).concat(e.length.toString(36)).concat(i)}return t}function w(t){return t.replace(f,"•")}function k(t,e,n){return S(),t?t.replace(v,e).replace(p,n):t}function E(t){for(var e=5*(Math.floor(t.length/5)+1),n="",a=0;a<e;a++)n+=a>0&&a%5==0?" ":"•";return n}function S(){if(h&&null===p)try{p=new RegExp("\\p{N}","gu"),v=new RegExp("\\p{L}","gu"),g=new RegExp("\\p{Sc}","gu")}catch(t){h=!1}}var O=null,x=null,N=!1;function T(){N&&(O={time:s(),event:4,data:{visible:x.visible,docWidth:x.docWidth,docHeight:x.docHeight,screenWidth:x.screenWidth,screenHeight:x.screenHeight,scrollX:x.scrollX,scrollY:x.scrollY,pointerX:x.pointerX,pointerY:x.pointerY,activityTime:x.activityTime}}),x=x||{visible:1,docWidth:0,docHeight:0,screenWidth:0,screenHeight:0,scrollX:0,scrollY:0,pointerX:0,pointerY:0,activityTime:0}}function M(t,e,n){switch(t){case 8:x.docWidth=e,x.docHeight=n;break;case 11:x.screenWidth=e,x.screenHeight=n;break;case 10:x.scrollX=e,x.scrollY=n;break;default:x.pointerX=e,x.pointerY=n}N=!0}function _(t){x.activityTime=t}function I(t,e){x.visible="visible"===e?1:0,x.visible||_(t),N=!0}function C(){N&&Or(4)}var D=Object.freeze({__proto__:null,activity:_,compute:C,reset:T,start:function(){N=!1,T()},get state(){return O},stop:function(){T()},track:M,visibility:I}),j=null;function A(t,e){Oi()&&t&&"string"==typeof t&&t.length<255&&(j=e&&"string"==typeof e&&e.length<255?{key:t,value:e}:{value:t},Or(24))}var R,L=null,z=null;function H(t){t in L||(L[t]=0),t in z||(z[t]=0),L[t]++,z[t]++}function Y(t,e){null!==e&&(t in L||(L[t]=0),t in z||(z[t]=0),L[t]+=e,z[t]+=e)}function q(t,e){null!==e&&!1===isNaN(e)&&(t in L||(L[t]=0),(e>L[t]||0===L[t])&&(z[t]=e,L[t]=e))}function W(t,e,n){return window.setTimeout(si(t),e,n)}function X(t){return window.clearTimeout(t)}var P=0,U=0,B=null;function V(){B&&X(B),B=W(F,U),P=s()}function F(){var t=s();R={gap:t-P},Or(25),R.gap<3e5?B=W(F,U):ki&&(A("clarity","suspend"),qi(),["mousemove","touchstart"].forEach((function(t){return di(document,t,Ni)})),["resize","scroll","pageshow"].forEach((function(t){return di(window,t,Ni)})))}var J=Object.freeze({__proto__:null,get data(){return R},reset:V,start:function(){U=6e4,P=0},stop:function(){X(B),P=0,U=0}}),K=null;function G(t,e){if(t in K){var n=K[t],a=n[n.length-1];e-a[0]>100?K[t].push([e,0]):a[1]=e-a[0]}else K[t]=[[e,0]]}function Z(){Or(36)}function Q(){K={}}var $=Object.freeze({__proto__:null,compute:Z,get data(){return K},reset:Q,start:function(){K={}},stop:function(){K={}},track:G}),tt=null;function et(t){Oi()&&o.lean&&(o.lean=!1,tt={key:t},Fr(),o.upgrade&&o.upgrade(t),Or(3))}var nt=Object.freeze({__proto__:null,get data(){return tt},start:function(){!o.lean&&o.upgrade&&o.upgrade("Config"),tt=null},stop:function(){tt=null},upgrade:et});function at(t,e,n,a){return new(n||(n=Promise))((function(r,i){function o(t){try{c(a.next(t))}catch(t){i(t)}}function u(t){try{c(a.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?r(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(o,u)}c((a=a.apply(t,e||[])).next())}))}function rt(t,e){var n,a,r,i,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(u){return function(c){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(o=0)),o;)try{if(n=1,a&&(r=2&u[0]?a.return:u[0]?a.throw||((r=a.return)&&r.call(a),0):a.next)&&!(r=r.call(a,u[1])).done)return r;switch(a=0,r&&(u=[2&u[0],r.value]),u[0]){case 0:case 1:r=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,a=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(!(r=o.trys,(r=r.length>0&&r[r.length-1])||6!==u[0]&&2!==u[0])){o=0;continue}if(3===u[0]&&(!r||u[1]>r[0]&&u[1]<r[3])){o.label=u[1];break}if(6===u[0]&&o.label<r[1]){o.label=r[1],r=u;break}if(r&&o.label<r[2]){o.label=r[2],o.ops.push(u);break}r[2]&&o.ops.pop(),o.trys.pop();continue}u=e.call(t,o)}catch(t){u=[6,t],a=0}finally{n=r=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,c])}}}var it=null;function ot(t,e){ct(t,"string"==typeof e?[e]:e)}function ut(t,e,n,a){return void 0===e&&(e=null),void 0===n&&(n=null),void 0===a&&(a=null),at(this,void 0,void 0,(function(){var r,i;return rt(this,(function(o){switch(o.label){case 0:return i={},[4,dt(t)];case 1:return i.userId=o.sent(),i.userHint=a||((u=t)&&u.length>=5?"".concat(u.substring(0,2)).concat(k(u.substring(2),"*","*")):k(u,"*","*")),ct("userId",[(r=i).userId]),ct("userHint",[r.userHint]),ct("userType",[ft(t)]),e&&(ct("sessionId",[e]),r.sessionId=e),n&&(ct("pageId",[n]),r.pageId=n),[2,r]}var u}))}))}function ct(t,e){if(Oi()&&t&&e&&"string"==typeof t&&t.length<255){for(var n=(t in it?it[t]:[]),a=0;a<e.length;a++)"string"==typeof e[a]&&e[a].length<255&&n.push(e[a]);it[t]=n}}function st(){Or(34)}function lt(){it={}}function dt(t){return at(this,void 0,void 0,(function(){var e;return rt(this,(function(n){switch(n.label){case 0:return n.trys.push([0,4,,5]),crypto&&t?[4,crypto.subtle.digest("SHA-256",(new TextEncoder).encode(t))]:[3,2];case 1:return e=n.sent(),[2,Array.prototype.map.call(new Uint8Array(e),(function(t){return("00"+t.toString(16)).slice(-2)})).join("")];case 2:return[2,""];case 3:return[3,5];case 4:return n.sent(),[2,""];case 5:return[2]}}))}))}function ft(t){return t&&t.indexOf("@")>0?"email":"string"}var ht="CompressionStream"in window;function pt(t){return at(this,void 0,void 0,(function(){var e,n;return rt(this,(function(a){switch(a.label){case 0:return a.trys.push([0,3,,4]),ht?(e=new ReadableStream({start:function(e){return at(this,void 0,void 0,(function(){return rt(this,(function(n){return e.enqueue(t),e.close(),[2]}))}))}}).pipeThrough(new TextEncoderStream).pipeThrough(new window.CompressionStream("gzip")),n=Uint8Array.bind,[4,vt(e)]):[3,2];case 1:return[2,new(n.apply(Uint8Array,[void 0,a.sent()]))];case 2:return[3,4];case 3:return a.sent(),[3,4];case 4:return[2,null]}}))}))}function vt(t){return at(this,void 0,void 0,(function(){var e,n,a,r,i;return rt(this,(function(o){switch(o.label){case 0:e=t.getReader(),n=[],a=!1,r=[],o.label=1;case 1:return a?[3,3]:[4,e.read()];case 2:return i=o.sent(),a=i.done,r=i.value,a?[2,n]:(n.push.apply(n,r),[3,1]);case 3:return[2,n]}}))}))}var gt=[D,a,Object.freeze({__proto__:null,compute:st,get data(){return it},identify:ut,reset:lt,set:ot,start:function(){lt()},stop:function(){lt()}}),n,$,r,i,t,J,nt,e];function mt(){L={},z={},H(5),gt.forEach((function(t){return si(t.start)()}))}function bt(){gt.slice().reverse().forEach((function(t){return si(t.stop)()})),L={},z={}}function yt(){st(),C(),Rr(),Or(0),Z(),Mr(),mr()}var wt,kt=[];function Et(t,e,n){o.fraud&&null!==t&&n&&n.length>=5&&(wt={id:t,target:e,checksum:d(n,24)},kt.indexOf(wt.checksum)<0&&(kt.push(wt.checksum),ar(41)))}var St="load,active,fixed,visible,focus,show,collaps,animat".split(","),Ot={};function xt(t,e){var n=t.attributes,a=t.prefix?t.prefix[e]:null,r=0===e?"".concat("~").concat(t.position-1):":nth-of-type(".concat(t.position,")");switch(t.tag){case"STYLE":case"TITLE":case"LINK":case"META":case"*T":case"*D":return"";case"HTML":return"HTML";default:if(null===a)return"";a="".concat(a).concat(">"),t.tag=0===t.tag.indexOf("svg:")?t.tag.substr("svg:".length):t.tag;var i="".concat(a).concat(t.tag).concat(r),o="id"in n&&n.id.length>0?n.id:null,u="BODY"!==t.tag&&"class"in n&&n.class.length>0?n.class.trim().split(/\s+/).filter((function(t){return Nt(t)})).join("."):null;if(u&&u.length>0)if(0===e){var c="".concat(function(t){for(var e=t.split(">"),n=0;n<e.length;n++){var a=e[n].indexOf("~"),r=e[n].indexOf(".");e[n]=e[n].substring(0,r>0?r:a>0?a:e[n].length)}return e.join(">")}(a)).concat(t.tag).concat(".").concat(u);c in Ot||(Ot[c]=[]),Ot[c].indexOf(t.id)<0&&Ot[c].push(t.id),i="".concat(c).concat("~").concat(Ot[c].indexOf(t.id))}else i="".concat(a).concat(t.tag,".").concat(u).concat(r);return i=o&&Nt(o)?"".concat(function(t){var e=t.lastIndexOf("*S"),n=t.lastIndexOf("".concat("iframe:").concat("HTML")),a=Math.max(e,n);if(a<0)return"";return t.substring(0,t.indexOf(">",a)+1)}(a)).concat("#").concat(o):i,i}}function Nt(t){if(!t)return!1;if(St.some((function(e){return t.toLowerCase().indexOf(e)>=0})))return!1;for(var e=0;e<t.length;e++){var n=t.charCodeAt(e);if(n>=48&&n<=57)return!1}return!0}var Tt=1,Mt=null,_t=[],It=[],Ct={},Dt=[],jt=[],At=[],Rt=[],Lt=[],zt=[],Ht=null,Yt=null,qt=null,Wt=null;function Xt(){Ut(),Bt(document,!0)}function Pt(){Ut()}function Ut(){Tt=1,_t=[],It=[],Ct={},Dt=[],jt=[],At="address,password,contact".split(","),Rt="password,secret,pass,social,ssn,code,hidden".split(","),Lt="radio,checkbox,range,button,reset,submit".split(","),zt="INPUT,SELECT,TEXTAREA".split(","),Mt=new Map,Ht=new WeakMap,Yt=new WeakMap,qt=new WeakMap,Wt=new WeakMap,Ot={}}function Bt(t,e){void 0===e&&(e=!1);try{e&&o.unmask.forEach((function(t){return t.indexOf("!")<0?jt.push(t):Dt.push(t.substr(1))})),"querySelectorAll"in t&&(o.regions.forEach((function(e){return t.querySelectorAll(e[1]).forEach((function(t){return Oa(t,"".concat(e[0]))}))})),o.mask.forEach((function(e){return t.querySelectorAll(e).forEach((function(t){return qt.set(t,3)}))})),o.checksum.forEach((function(e){return t.querySelectorAll(e[1]).forEach((function(t){return Wt.set(t,e[0])}))})),jt.forEach((function(e){return t.querySelectorAll(e).forEach((function(t){return qt.set(t,0)}))})))}catch(t){or(5,1,t?t.name:null)}}function Vt(t,e){if(void 0===e&&(e=!1),null===t)return null;var n=Ht.get(t);return!n&&e&&(n=Tt++,Ht.set(t,n)),n||null}function Ft(t){var e=!1;if(t.nodeType===Node.ELEMENT_NODE&&"IFRAME"===t.tagName){var n=t;try{n.contentDocument&&(Yt.set(n.contentDocument,n),e=!0)}catch(t){}}return e}function Jt(t){var e=t.nodeType===Node.DOCUMENT_NODE?t:null;return e&&Yt.has(e)?Yt.get(e):null}function Kt(t,e,n){if("object"==typeof t[n]&&"object"==typeof e[n]){for(var a in t[n])if(t[n][a]!==e[n][a])return!0;for(var a in e[n])if(e[n][a]!==t[n][a])return!0;return!1}return t[n]!==e[n]}function Gt(t){var e=t.parent&&t.parent in _t?_t[t.parent]:null,n=e?e.selector:null,a=t.data,r=function(t,e){e.metadata.position=1;for(var n=t?t.children.indexOf(e.id):-1;n-- >0;){var a=_t[t.children[n]];if(e.data.tag===a.data.tag){e.metadata.position=a.metadata.position+1;break}}return e.metadata.position}(e,t),i={id:t.id,tag:a.tag,prefix:n,position:r,attributes:a.attributes};t.selector=[xt(i,0),xt(i,1)],t.hash=t.selector.map((function(t){return t?d(t):null})),t.hash.forEach((function(e){return Ct[e]=t.id}))}function Zt(t){var e=Qt(te(t));return null!==e&&null!==e.textContent?e.textContent.substr(0,25):""}function Qt(t){return Mt.has(t)?Mt.get(t):null}function $t(t){var e=Vt(t);return e in _t?_t[e]:null}function te(t){return t in Ct?Ct[t]:null}function ee(t){return Mt.has(Vt(t))}function ne(){for(var t=[],e=0,n=It;e<n.length;e++){var a=n[e];a in _t&&t.push(_t[a])}return It=[],t}function ae(t){Mt.delete(t);var e=t in _t?_t[t]:null;if(e&&e.children)for(var n=0,a=e.children;n<a.length;n++){ae(a[n])}}function re(t){for(var e=null;null===e&&t.previousSibling;)e=Vt(t.previousSibling),t=t.previousSibling;return e}function ie(t,e,n,a){void 0===n&&(n=!0),void 0===a&&(a=!1);var r=It.indexOf(t);r>=0&&1===e&&a?(It.splice(r,1),It.push(t)):-1===r&&n&&It.push(t)}var oe=Object.freeze({__proto__:null,add:function(t,e,n,a){var r,i=Vt(t,!0),u=e?Vt(e):null,c=re(t),s=null,l=xa(t)?i:null,d=Wt.has(t)?Wt.get(t):null,f=o.content?1:3;u>=0&&_t[u]&&((s=_t[u]).children.push(i),l=null===l?s.region:l,d=null===d?s.metadata.fraud:d,f=s.metadata.privacy),n.attributes&&"data-clarity-region"in n.attributes&&(Oa(t,n.attributes["data-clarity-region"]),l=i),Mt.set(i,t),_t[i]={id:i,parent:u,previous:c,children:[],data:n,selector:null,hash:null,region:l,metadata:{active:!0,suspend:!1,privacy:f,position:null,fraud:d,size:null}},function(t,e,n){var a=e.data,r=e.metadata,i=r.privacy,o=a.attributes||{},u=a.tag.toUpperCase();switch(!0){case zt.indexOf(u)>=0:var c=o.type,s="";Object.keys(o).forEach((function(t){return s+=o[t].toLowerCase()}));var l=Rt.some((function(t){return s.indexOf(t)>=0}));r.privacy="INPUT"===u&&Lt.indexOf(c)>=0?i:l?4:2;break;case"data-clarity-mask"in o:r.privacy=3;break;case"data-clarity-unmask"in o:r.privacy=0;break;case qt.has(t):r.privacy=qt.get(t);break;case Wt.has(t):r.privacy=2;break;case"*T"===u:var d=n&&n.data?n.data.tag:"",f=n&&n.selector?n.selector[1]:"",h=["STYLE","TITLE","svg:style"];r.privacy=h.includes(d)||Dt.some((function(t){return f.indexOf(t)>=0}))?0:i;break;case 1===i:r.privacy=function(t,e,n){if(t&&e.some((function(e){return t.indexOf(e)>=0})))return 2;return n.privacy}(o.class,At,r)}}(t,_t[i],s),Gt(_t[i]),"IMG"===(r=_t[i]).data.tag&&3===r.metadata.privacy&&(r.metadata.size=[]),ie(i,a)},get:$t,getId:Vt,getNode:Qt,getValue:function(t){return t in _t?_t[t]:null},has:ee,hashText:Zt,iframe:Jt,lookup:te,parse:Bt,sameorigin:Ft,start:Xt,stop:Pt,update:function(t,e,n,a){var r=Vt(t),i=e?Vt(e):null,o=re(t),u=!1,c=!1;if(r in _t){var s=_t[r];if(s.metadata.active=!0,s.previous!==o&&(u=!0,s.previous=o),s.parent!==i){u=!0;var l=s.parent;if(s.parent=i,null!==i&&i>=0){var d=null===o?0:_t[i].children.indexOf(o)+1;_t[i].children.splice(d,0,r),s.region=xa(t)?r:_t[i].region}else!function(t,e){if(t in _t){var n=_t[t];n.metadata.active=!1,n.parent=null,ie(t,e),ae(t)}}(r,a);if(null!==l&&l>=0){var f=_t[l].children.indexOf(r);f>=0&&_t[l].children.splice(f,1)}c=!0}for(var h in n)Kt(s.data,n,h)&&(u=!0,s.data[h]=n[h]);Gt(s),ie(r,a,u,c)}},updates:ne}),ue=5e3,ce={},se=[],le=null,de=null,fe=null;function he(){ce={},se=[],le=null,de=null}function pe(t,e){return void 0===e&&(e=0),at(this,void 0,void 0,(function(){var n,a,r;return rt(this,(function(i){for(n=0,a=se;n<a.length;n++)if(a[n].task===t)return[2];return r=new Promise((function(n){se[1===e?"unshift":"push"]({task:t,resolve:n,id:Ur()})})),null===le&&null===de&&ve(),[2,r]}))}))}function ve(){var t=se.shift();t&&(le=t,t.task().then((function(){t.id===Ur()&&(t.resolve(),le=null,ve())})).catch((function(e){t.id===Ur()&&(e&&or(0,1,e.name,e.message,e.stack),le=null,ve())})))}function ge(t){var e=we(t);return e in ce?performance.now()-ce[e].start>ce[e].yield?0:1:2}function me(t){ce[we(t)]={start:performance.now(),calls:0,yield:30}}function be(t){var e=performance.now(),n=we(t),a=e-ce[n].start;Y(t.cost,a),H(5),ce[n].calls>0&&Y(4,a)}function ye(t){return at(this,void 0,void 0,(function(){var e,n;return rt(this,(function(a){switch(a.label){case 0:return(e=we(t))in ce?(be(t),n=ce[e],[4,ke()]):[3,2];case 1:n.yield=a.sent().timeRemaining(),function(t){var e=we(t);if(ce&&ce[e]){var n=ce[e].calls,a=ce[e].yield;me(t),ce[e].calls=n+1,ce[e].yield=a}}(t),a.label=2;case 2:return[2,e in ce?1:2]}}))}))}function we(t){return"".concat(t.id,".").concat(t.cost)}function ke(){return at(this,void 0,void 0,(function(){return rt(this,(function(t){switch(t.label){case 0:return de?[4,de]:[3,2];case 1:t.sent(),t.label=2;case 2:return[2,new Promise((function(t){Se(t,{timeout:ue})}))]}}))}))}var Ee,Se=window.requestIdleCallback||function(t,e){var n=performance.now(),a=new MessageChannel,r=a.port1,i=a.port2;r.onmessage=function(a){var r=performance.now(),o=r-n,u=r-a.data;if(u>30&&o<e.timeout)requestAnimationFrame((function(){i.postMessage(r)}));else{var c=o>e.timeout;t({didTimeout:c,timeRemaining:function(){return c?30:Math.max(0,30-u)}})}},requestAnimationFrame((function(){i.postMessage(performance.now())}))};function Oe(){Ee=null}function xe(){var t=document.body,e=document.documentElement,n=t?t.clientWidth:null,a=t?t.scrollWidth:null,r=t?t.offsetWidth:null,i=e?e.clientWidth:null,o=e?e.scrollWidth:null,u=e?e.offsetWidth:null,c=Math.max(n,a,r,i,o,u),s=t?t.clientHeight:null,l=t?t.scrollHeight:null,d=t?t.offsetHeight:null,f=e?e.clientHeight:null,h=e?e.scrollHeight:null,p=e?e.offsetHeight:null,v=Math.max(s,l,d,f,h,p);null!==Ee&&c===Ee.width&&v===Ee.height||null===c||null===v||(Ee={width:c,height:v},pa(8))}var Ne=[];function Te(t){var e=Ca(t);if(e){var n=e.value,a=n&&n.length>=5&&o.fraud&&-1==="password,secret,pass,social,ssn,code,hidden".indexOf(e.type)?d(n,24):"";Ne.push({time:s(t),event:42,data:{target:Ca(t),type:e.type,value:n,checksum:a}}),pe(ja.bind(this,42))}}function Me(){Ne=[]}function _e(t){var e={x:0,y:0};if(t&&t.offsetParent)do{var n=t.offsetParent,a=null===n?Jt(t.ownerDocument):null;e.x+=t.offsetLeft,e.y+=t.offsetTop,t=a||n}while(t);return e}var Ie=["input","textarea","radio","button","canvas"],Ce=[];function De(t){di(t,"click",je.bind(this,9,t),!0)}function je(t,e,n){var a=Jt(e),r=a?a.contentDocument.documentElement:document.documentElement,i="pageX"in n?Math.round(n.pageX):"clientX"in n?Math.round(n.clientX+r.scrollLeft):null,o="pageY"in n?Math.round(n.pageY):"clientY"in n?Math.round(n.clientY+r.scrollTop):null;if(a){var u=_e(a);i=i?i+Math.round(u.x):i,o=o?o+Math.round(u.y):o}var c=Ca(n),l=function(t){for(;t&&t!==document;){if(t.nodeType===Node.ELEMENT_NODE){var e=t;if("A"===e.tagName)return e}t=t.parentNode}return null}(c),d=function(t){var e=null,n=document.documentElement;if("function"==typeof t.getBoundingClientRect){var a=t.getBoundingClientRect();a&&a.width>0&&a.height>0&&(e={x:Math.floor(a.left+("pageXOffset"in window?window.pageXOffset:n.scrollLeft)),y:Math.floor(a.top+("pageYOffset"in window?window.pageYOffset:n.scrollTop)),w:Math.floor(a.width),h:Math.floor(a.height)})}return e}(c);0===n.detail&&d&&(i=Math.round(d.x+d.w/2),o=Math.round(d.y+d.h/2));var f=d?Math.max(Math.floor((i-d.x)/d.w*32767),0):0,h=d?Math.max(Math.floor((o-d.y)/d.h*32767),0):0;null!==i&&null!==o&&(Ce.push({time:s(n),event:t,data:{target:c,x:i,y:o,eX:f,eY:h,button:n.button,reaction:Re(c),context:Le(l),text:Ae(c),link:l?l.href:null,hash:null,trust:n.isTrusted?1:0}}),pe(ja.bind(this,t)))}function Ae(t){var e=null;if(t){var n=t.textContent||t.value||t.alt;n&&(e=n.replace(/\s+/g," ").trim().substr(0,25))}return e}function Re(t){if(t.nodeType===Node.ELEMENT_NODE){var e=t.tagName.toLowerCase();if(Ie.indexOf(e)>=0)return 0}return 1}function Le(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 ze(){Ce=[]}var He=[];function Ye(t,e){He.push({time:s(e),event:38,data:{target:Ca(e),action:t}}),pe(ja.bind(this,38))}function qe(){He=[]}var We=null,Xe=[];function Pe(t){var e=Ca(t),n=$t(e);if(e&&e.type&&n){var a=e.value;switch(e.type){case"radio":case"checkbox":a=e.checked?"true":"false"}var r={target:e,value:a};Xe.length>0&&Xe[Xe.length-1].data.target===r.target&&Xe.pop(),Xe.push({time:s(t),event:27,data:r}),X(We),We=W(Ue,1e3,27)}}function Ue(t){pe(ja.bind(this,t))}function Be(){Xe=[]}var Ve,Fe=[],Je=null;function Ke(t,e,n){var a=Jt(e),r=a?a.contentDocument.documentElement:document.documentElement,i="pageX"in n?Math.round(n.pageX):"clientX"in n?Math.round(n.clientX+r.scrollLeft):null,o="pageY"in n?Math.round(n.pageY):"clientY"in n?Math.round(n.clientY+r.scrollTop):null;if(a){var u=_e(a);i=i?i+Math.round(u.x):i,o=o?o+Math.round(u.y):o}null!==i&&null!==o&&Ze({time:s(n),event:t,data:{target:Ca(n),x:i,y:o}})}function Ge(t,e,n){var a=Jt(e),r=a?a.contentDocument.documentElement:document.documentElement,i=n.changedTouches,o=s(n);if(i)for(var u=0;u<i.length;u++){var c=i[u],l="clientX"in c?Math.round(c.clientX+r.scrollLeft):null,d="clientY"in c?Math.round(c.clientY+r.scrollTop):null;l=l&&a?l+Math.round(a.offsetLeft):l,d=d&&a?d+Math.round(a.offsetTop):d,null!==l&&null!==d&&Ze({time:o,event:t,data:{target:Ca(n),x:l,y:d}})}}function Ze(t){switch(t.event){case 12:case 15:case 19:var e=Fe.length,n=e>1?Fe[e-2]:null;n&&function(t,e){var n=t.data.x-e.data.x,a=t.data.y-e.data.y,r=Math.sqrt(n*n+a*a),i=e.time-t.time,o=e.data.target===t.data.target;return e.event===t.event&&o&&r<20&&i<25}(n,t)&&Fe.pop(),Fe.push(t),X(Je),Je=W(Qe,500,t.event);break;default:Fe.push(t),Qe(t.event)}}function Qe(t){pe(ja.bind(this,t))}function $e(){Fe=[]}function tn(){var t=document.documentElement;Ve={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},ja(11)}function en(){Ve=null}var nn=[],an=null;function rn(t){void 0===t&&(t=null);var e=window,n=document.documentElement,a=t?Ca(t):n;if(a&&a.nodeType===Node.DOCUMENT_NODE){var r=Jt(a);e=r?r.contentWindow:e,a=n=a.documentElement}var i=a===n&&"pageXOffset"in e?Math.round(e.pageXOffset):Math.round(a.scrollLeft),o=a===n&&"pageYOffset"in e?Math.round(e.pageYOffset):Math.round(a.scrollTop),u={time:s(t),event:10,data:{target:a,x:i,y:o}};if((null!==t||0!==i||0!==o)&&null!==i&&null!==o){var c=nn.length,l=c>1?nn[c-2]:null;l&&function(t,e){var n=t.data.x-e.data.x,a=t.data.y-e.data.y;return n*n+a*a<400&&e.time-t.time<25}(l,u)&&nn.pop(),nn.push(u),X(an),an=W(on,500,10)}}function on(t){pe(ja.bind(this,t))}var un=null,cn=null,sn=null;function ln(t){var e=(t.nodeType===Node.DOCUMENT_NODE?t:document).getSelection();if(null!==e&&!(null===e.anchorNode&&null===e.focusNode||e.anchorNode===e.focusNode&&e.anchorOffset===e.focusOffset)){var n=un.start?un.start:null;null!==cn&&null!==un.start&&n!==e.anchorNode&&(X(sn),dn(21)),un={start:e.anchorNode,startOffset:e.anchorOffset,end:e.focusNode,endOffset:e.focusOffset},cn=e,X(sn),sn=W(dn,500,21)}}function dn(t){pe(ja.bind(this,t))}function fn(){cn=null,un={start:0,startOffset:0,end:0,endOffset:0}}var hn,pn,vn=[];function gn(t){vn.push({time:s(t),event:39,data:{target:Ca(t)}}),pe(ja.bind(this,39))}function mn(){vn=[]}function bn(t){hn={name:t.type},ja(26,s(t)),qi()}function yn(){hn=null}function wn(t){void 0===t&&(t=null),pn={visible:"visibilityState"in document?document.visibilityState:"default"},ja(28,s(t))}function kn(){pn=null}function En(t){!function(t){var e=Jt(t);di(e?e.contentWindow:t===document?window:t,"scroll",rn,!0)}(t),t.nodeType===Node.DOCUMENT_NODE&&(De(t),function(t){di(t,"cut",Ye.bind(this,0),!0),di(t,"copy",Ye.bind(this,1),!0),di(t,"paste",Ye.bind(this,2),!0)}(t),function(t){di(t,"mousedown",Ke.bind(this,13,t),!0),di(t,"mouseup",Ke.bind(this,14,t),!0),di(t,"mousemove",Ke.bind(this,12,t),!0),di(t,"wheel",Ke.bind(this,15,t),!0),di(t,"dblclick",Ke.bind(this,16,t),!0),di(t,"touchstart",Ge.bind(this,17,t),!0),di(t,"touchend",Ge.bind(this,18,t),!0),di(t,"touchmove",Ge.bind(this,19,t),!0),di(t,"touchcancel",Ge.bind(this,20,t),!0)}(t),function(t){di(t,"input",Pe,!0)}(t),function(t){di(t,"selectstart",ln.bind(this,t),!0),di(t,"selectionchange",ln.bind(this,t),!0)}(t),function(t){di(t,"change",Te,!0)}(t),function(t){di(t,"submit",gn,!0)}(t))}var Sn=Object.freeze({__proto__:null,observe:En,start:function(){Aa=[],La(),ze(),qe(),$e(),Be(),di(window,"resize",tn),tn(),di(document,"visibilitychange",wn),wn(),nn=[],rn(),fn(),Me(),mn(),di(window,"pagehide",bn)},stop:function(){Aa=[],La(),ze(),qe(),X(Je),Fe.length>0&&Qe(Fe[Fe.length-1].event),X(We),Be(),en(),kn(),X(an),nn=[],fn(),X(sn),Me(),mn(),yn()}});function On(t,e,n){return at(this,void 0,void 0,(function(){var a,r,i,o,u;return rt(this,(function(c){switch(c.label){case 0:a=[t],c.label=1;case 1:if(!(a.length>0))return[3,4];for(r=a.shift(),i=r.firstChild;i;)a.push(i),i=i.nextSibling;return 0!==(o=ge(e))?[3,3]:[4,ye(e)];case 2:o=c.sent(),c.label=3;case 3:return 2===o?[3,4]:((u=Bn(r,n))&&a.push(u),[3,1]);case 4:return[2]}}))}))}var xn=[],Nn=[],Tn=null,Mn=null,_n=null,In=[],Cn=null,Dn=null,jn={};function An(t){var e=s();G(6,e),Nn.push({time:e,mutations:t}),pe(Rn,1).then((function(){W(xe),si(Na)()}))}function Rn(){return at(this,void 0,void 0,(function(){var t,e,n,a,r,i,o,u,c,l;return rt(this,(function(d){switch(d.label){case 0:me(t={id:Ur(),cost:3}),d.label=1;case 1:if(!(Nn.length>0))return[3,8];e=Nn.shift(),n=s(),a=0,r=e.mutations,d.label=2;case 2:return a<r.length?(i=r[a],0!==(o=ge(t))?[3,4]:[4,ye(t)]):[3,6];case 3:o=d.sent(),d.label=4;case 4:if(2===o)return[3,6];switch(u=i.target,c=function(t,e,n){var a=t.target?$t(t.target.parentNode):null;if(a&&"HTML"!==a.data.tag){var r=s()>Dn,i=$t(t.target),o=i&&i.selector?i.selector.join():t.target.nodeName,u=[a.selector?a.selector.join():"",o,t.attributeName,Ln(t.addedNodes),Ln(t.removedNodes)].join();jn[u]=u in jn?jn[u]:[0,n];var c=jn[u];if(!1===r&&c[0]>=10&&zn(c[2],2,e),c[0]=r?c[1]===n?c[0]:c[0]+1:1,c[1]=n,10===c[0])return c[2]=t.removedNodes,"suspend";if(c[0]>10)return""}return t.type}(i,t,n),c&&u&&u.ownerDocument&&Bt(u.ownerDocument),c&&u&&u.nodeType==Node.DOCUMENT_FRAGMENT_NODE&&u.host&&Bt(u),c){case"attributes":Bn(u,3);break;case"characterData":Bn(u,4);break;case"childList":zn(i.addedNodes,1,t),zn(i.removedNodes,2,t);break;case"suspend":(l=$t(u))&&(l.metadata.suspend=!0)}d.label=5;case 5:return a++,[3,2];case 6:return[4,pa(6,t,e.time)];case 7:return d.sent(),[3,1];case 8:return be(t),[2]}}))}))}function Ln(t){for(var e=[],n=0;t&&n<t.length;n++)e.push(t[n].nodeName);return e.join()}function zn(t,e,n){return at(this,void 0,void 0,(function(){var a,r,i;return rt(this,(function(o){switch(o.label){case 0:a=t?t.length:0,r=0,o.label=1;case 1:return r<a?1!==e?[3,2]:(On(t[r],n,e),[3,5]):[3,6];case 2:return 0!==(i=ge(n))?[3,4]:[4,ye(n)];case 3:i=o.sent(),o.label=4;case 4:if(2===i)return[3,6];Bn(t[r],e),o.label=5;case 5:return r++,[3,1];case 6:return[2]}}))}))}function Hn(t){return In.indexOf(t)<0&&In.push(t),Cn&&X(Cn),Cn=W((function(){!function(){for(var t=0,e=In;t<e.length;t++){var n=e[t];if(n){var a=n.nodeType===Node.DOCUMENT_FRAGMENT_NODE;if(a&&ee(n))continue;Yn(n,a?"childList":"characterData")}}In=[]}()}),33),t}function Yn(t,e){si(An)([{addedNodes:[t],attributeName:null,attributeNamespace:null,nextSibling:null,oldValue:null,previousSibling:null,removedNodes:[],target:t,type:e}])}var qn=/[^0-9\.]/g;function Wn(t){for(var e=0,n=Object.keys(t);e<n.length;e++){var a=n[e],r=t[a];if("@type"===a&&"string"==typeof r)switch(r=(r=r.toLowerCase()).indexOf("article")>=0||r.indexOf("posting")>=0?"article":r){case"article":case"recipe":Ar(5,t[a]),Ar(8,t.creator),Ar(18,t.headline);break;case"product":Ar(5,t[a]),Ar(10,t.name),Ar(12,t.sku),t.brand&&Ar(6,t.brand.name);break;case"aggregaterating":t.ratingValue&&(q(11,Xn(t.ratingValue,100)),q(18,Xn(t.bestRating)),q(19,Xn(t.worstRating))),q(12,Xn(t.ratingCount)),q(17,Xn(t.reviewCount));break;case"person":Ar(8,t.name);break;case"offer":Ar(7,t.availability),Ar(14,t.itemCondition),Ar(13,t.priceCurrency),Ar(12,t.sku),q(13,Xn(t.price));break;case"brand":Ar(6,t.name)}null!==r&&"object"==typeof r&&Wn(r)}}function Xn(t,e){if(void 0===e&&(e=1),null!==t)switch(typeof t){case"number":return Math.round(t*e);case"string":return Math.round(parseFloat(t.replace(qn,""))*e)}return null}var Pn=["title","alt","onload","onfocus","onerror","data-drupal-form-submit-last"],Un=/[\r\n]+/g;function Bn(t,e){var n,a=null;if(2===e&&!1===ee(t))return a;0!==e&&t.nodeType===Node.TEXT_NODE&&t.parentElement&&"STYLE"===t.parentElement.tagName&&(t=t.parentNode);var r=!1===ee(t)?"add":"update",i=t.parentElement?t.parentElement:null,o=t.ownerDocument!==document;switch(t.nodeType){case Node.DOCUMENT_TYPE_NODE:i=o&&t.parentNode?Jt(t.parentNode):i;var u=t,c={tag:(o?"iframe:":"")+"*D",attributes:{name:u.name,publicId:u.publicId,systemId:u.systemId}};oe[r](t,i,c,e);break;case Node.DOCUMENT_NODE:t===document&&Bt(document),ta(t),Vn(t);break;case Node.DOCUMENT_FRAGMENT_NODE:var s=t;if(s.host){if(Bt(s),"function"===typeof s.constructor&&s.constructor.toString().indexOf("[native code]")>=0){Vn(s);var l={tag:"*S",attributes:{style:""}};oe[r](t,s.host,l,e)}else oe[r](t,s.host,{tag:"*P",attributes:{}},e);ta(t)}break;case Node.TEXT_NODE:if(i=i||t.parentNode,"update"===r||i&&ee(i)&&"STYLE"!==i.tagName){var d={tag:"*T",value:t.nodeValue};oe[r](t,i,d,e)}break;case Node.ELEMENT_NODE:var f=t,h=f.tagName,p=function(t){var e={},n=t.attributes;if(n&&n.length>0)for(var a=0;a<n.length;a++){var r=n[a].name;Pn.indexOf(r)<0&&(e[r]=n[a].value)}"INPUT"===t.tagName&&!("value"in e)&&t.value&&(e.value=t.value);return e}(f);switch(i=t.parentElement?t.parentElement:t.parentNode?t.parentNode:null,"http://www.w3.org/2000/svg"===f.namespaceURI&&(h="svg:"+h),h){case"HTML":i=o&&i?Jt(i):null;var v={tag:(o?"iframe:":"")+h,attributes:p};oe[r](t,i,v,e);break;case"SCRIPT":if("type"in p&&"application/ld+json"===p.type)try{Wn(JSON.parse(f.text.replace(Un,"")))}catch(t){}break;case"NOSCRIPT":break;case"META":var g="property"in p?"property":"name"in p?"name":null;if(g&&"content"in p){var m=p.content;switch(p[g]){case"og:title":Ar(20,m);break;case"og:type":Ar(19,m);break;case"generator":Ar(21,m)}}break;case"HEAD":var b={tag:h,attributes:p},y=o&&(null===(n=t.ownerDocument)||void 0===n?void 0:n.location)?t.ownerDocument.location:location;b.attributes["*B"]=y.protocol+"//"+y.host+y.pathname,oe[r](t,i,b,e);break;case"BASE":var w=$t(t.parentElement);if(w){var k=document.createElement("a");k.href=p.href,w.data.attributes["*B"]=k.protocol+"//"+k.host+k.pathname}break;case"STYLE":var E={tag:h,attributes:p,value:Fn(f)};oe[r](t,i,E,e);break;case"IFRAME":var S=t,O={tag:h,attributes:p};Ft(S)&&(!function(t){!1===ee(t)&&di(t,"load",Yn.bind(this,t,"childList"),!0)}(S),O.attributes["*O"]="true",S.contentDocument&&S.contentWindow&&"loading"!==S.contentDocument.readyState&&(a=S.contentDocument)),oe[r](t,i,O,e);break;case"LINK":if(Yr&&"stylesheet"===p.rel){for(var x in Object.keys(document.styleSheets)){var N=document.styleSheets[x];if(N.ownerNode==f){var T={tag:"STYLE",attributes:p,value:Jn(N)};oe[r](t,i,T,e);break}}break}var M={tag:h,attributes:p};oe[r](t,i,M,e);break;default:var _={tag:h,attributes:p};f.shadowRoot&&(a=f.shadowRoot),oe[r](t,i,_,e)}}return a}function Vn(t){ee(t)||(!function(t){try{var e=u("MutationObserver"),n=e in window?new window[e](si(An)):null;n&&(n.observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),xn.push(n))}catch(t){or(2,0,t?t.name:null)}}(t),En(t))}function Fn(t){var e=t.textContent?t.textContent.trim():"",n=t.dataset?Object.keys(t.dataset).length:0;return(0===e.length||n>0)&&(e=Jn(t.sheet)),e}function Jn(t){var e="",n=null;try{n=t?t.cssRules:[]}catch(t){if(or(1,1,t?t.name:null),t&&"SecurityError"!==t.name)throw t}if(null!==n)for(var a=0;a<n.length;a++)e+=n[a].cssText;return e}var Kn=[],Gn=null,Zn=null,Qn="claritySheetId",$n={};function ta(t){if(null==t?void 0:t.adoptedStyleSheets){for(var e=[],n=0,a=t.adoptedStyleSheets;n<a.length;n++){var r=a[n];r[Qn]||(r[Qn]=Gr(),na(s(),r[Qn],0),na(s(),r[Qn],2,Jn(r))),e.push(r[Qn])}var i=Vt(t,!0);$n[i]||($n[i]=[]),function(t,e){if(t.length!==e.length)return!1;return t.every((function(t,n){return t===e[n]}))}(e,$n[i])||(!function(t,e,n,a){Kn.push({time:t,event:45,data:{id:e,operation:n,newIds:a}}),pa(45)}(s(),t==document?-1:Vt(t),3,e),$n[i]=e)}}function ea(){Kn=[]}function na(t,e,n,a){Kn.push({time:t,event:46,data:{id:e,operation:n,cssRules:a}}),pa(46)}var aa=[],ra=null,ia=null,oa=null,ua=null,ca="clarityAnimationId",sa="clarityOperationCount",la=20;function da(){aa=[]}function fa(t,e,n,a,r,i,o){aa.push({time:t,event:44,data:{id:e,operation:n,keyFrames:a,timing:r,targetId:i,timeline:o}}),pa(44)}function ha(t,e){null===t&&(t=Animation.prototype[e],Animation.prototype[e]=function(){if(Oi()){var n=this.effect,a=Vt(this.effect.target);if(null!==a&&n.getKeyframes&&n.getTiming){if(!this[ca]){this[ca]=Gr(),this[sa]=0;var r=n.getKeyframes(),i=n.getTiming();fa(s(),this[ca],0,JSON.stringify(r),JSON.stringify(i),a)}if(this[sa]++<la){var o=null;switch(e){case"play":o=1;break;case"pause":o=2;break;case"cancel":o=3;break;case"finish":o=4}o&&fa(s(),this[ca],o)}}}return t.apply(this,arguments)})}function pa(t,e,n){return void 0===e&&(e=null),void 0===n&&(n=null),at(this,void 0,void 0,(function(){var a,r,i,u,c,l,d,f,h,p,v,g,b,y,w,k,E,S,O,x,N,T,I,C,D,j,A,R,L;return rt(this,(function(z){switch(z.label){case 0:switch(a=n||s(),r=[a,t],t){case 8:return[3,1];case 7:return[3,2];case 45:return[3,3];case 46:return[3,4];case 44:return[3,5];case 5:case 6:return[3,6]}return[3,13];case 1:return i=Ee,r.push(i.width),r.push(i.height),M(t,i.width,i.height),Ja(r),[3,13];case 2:for(u=0,c=ba;u<c.length;u++)l=c[u],(r=[l.time,7]).push(l.data.id),r.push(l.data.interaction),r.push(l.data.visibility),r.push(l.data.name),Ja(r);return Ia(),[3,13];case 3:for(d=0,f=Kn;d<f.length;d++)b=f[d],(r=[b.time,b.event]).push(b.data.id),r.push(b.data.operation),r.push(b.data.newIds),Ja(r);return ea(),[3,13];case 4:for(h=0,p=Kn;h<p.length;h++)b=p[h],(r=[b.time,b.event]).push(b.data.id),r.push(b.data.operation),r.push(b.data.cssRules),Ja(r);ea(),z.label=5;case 5:for(v=0,g=aa;v<g.length;v++)b=g[v],(r=[b.time,b.event]).push(b.data.id),r.push(b.data.operation),r.push(b.data.keyFrames),r.push(b.data.timing),r.push(b.data.timeline),r.push(b.data.targetId),Ja(r);return da(),[3,13];case 6:if(2===ge(e))return[3,13];if(!((y=ne()).length>0))return[3,12];w=0,k=y,z.label=7;case 7:return w<k.length?(E=k[w],0!==(S=ge(e))?[3,9]:[4,ye(e)]):[3,11];case 8:S=z.sent(),z.label=9;case 9:if(2===S)return[3,11];for(O=E.data,x=E.metadata.active,N=E.metadata.suspend,T=E.metadata.privacy,I=function(t){var e=t.metadata.privacy;return"*T"===t.data.tag&&!(0===e||1===e)}(E),C=0,D=x?["tag","attributes","value"]:["tag"];C<D.length;C++)if(O[j=D[C]])switch(j){case"tag":A=va(E),R=I?-1:1,r.push(E.id*R),E.parent&&x&&r.push(E.parent),E.previous&&x&&r.push(E.previous),r.push(N?"*M":O[j]),A&&2===A.length&&r.push("".concat("#").concat(ga(A[0]),".").concat(ga(A[1])));break;case"attributes":for(L in O[j])void 0!==O[j][L]&&r.push(ma(L,O[j][L],T));break;case"value":Et(E.metadata.fraud,E.id,O[j]),r.push(m(O[j],O.tag,T,I))}z.label=10;case 10:return w++,[3,7];case 11:6===t&&_(a),Ja(function(t){for(var e=[],n={},a=0,r=null,i=0;i<t.length;i++)if("string"==typeof t[i]){var o=t[i],u=n[o]||-1;u>=0?r?r.push(u):(r=[u],e.push(r),a++):(r=null,e.push(o),n[o]=a++)}else r=null,e.push(t[i]),a++;return e}(r),!o.lean),z.label=12;case 12:return[3,13];case 13:return[2]}}))}))}function va(t){if(null!==t.metadata.size&&0===t.metadata.size.length){var e=Qt(t.id);if(e)return[Math.floor(100*e.offsetWidth),Math.floor(100*e.offsetHeight)]}return t.metadata.size}function ga(t){return t.toString(36)}function ma(t,e,n){return"".concat(t,"=").concat(m(e,0===t.indexOf("data-")?"data-":t,n))}var ba=[],ya=null,wa={},ka=[],Ea=!1,Sa=null;function Oa(t,e){!1===ya.has(t)&&(ya.set(t,e),(Sa=null===Sa&&Ea?new IntersectionObserver(Ta,{threshold:[0,.2,.4,.6,.8,1]}):Sa)&&t&&t.nodeType===Node.ELEMENT_NODE&&Sa.observe(t))}function xa(t){return ya&&ya.has(t)}function Na(){for(var t=[],e=0,n=ka;e<n.length;e++){var a=n[e],r=Vt(a.node);r in wa||(r?(a.data.id=r,wa[r]=a.data,ba.push(_a(a.data))):t.push(a))}ka=t,ba.length>0&&pa(7)}function Ta(t){for(var e=0,n=t;e<n.length;e++){var a=n[e],r=a.target,i=a.boundingClientRect,o=a.intersectionRect,u=a.rootBounds;if(ya.has(r)&&i.width+i.height>0&&u.width>0&&u.height>0){var c=r?Vt(r):null,s=c in wa?wa[c]:{id:c,name:ya.get(r),interaction:16,visibility:0},l=(o?o.width*o.height*1/(u.width*u.height):0)>.05||a.intersectionRatio>.8,d=(l||10==s.visibility)&&Math.abs(i.top)+u.height>i.height;Ma(r,s,s.interaction,d?13:l?10:0),s.visibility>=13&&Sa&&Sa.unobserve(r)}}ba.length>0&&pa(7)}function Ma(t,e,n,a){var r=n>e.interaction||a>e.visibility;e.interaction=n>e.interaction?n:e.interaction,e.visibility=a>e.visibility?a:e.visibility,e.id?(e.id in wa&&r||!(e.id in wa))&&(wa[e.id]=e,ba.push(_a(e))):ka.push({node:t,data:e})}function _a(t){return{time:s(),data:{id:t.id,interaction:t.interaction,visibility:t.visibility,name:t.name}}}function Ia(){ba=[]}function Ca(t){var e=t.composed&&t.composedPath?t.composedPath():null,n=e&&e.length>0?e[0]:t.target;return Dn=s()+3e3,n.nodeType===Node.DOCUMENT_NODE?n.documentElement:n}function Da(t,e,n){void 0===n&&(n=null);var a={id:0,hash:null,privacy:2,node:t};if(t){var r=$t(t);if(null!==r){var i=r.metadata;a.id=r.id,a.hash=r.hash,a.privacy=i.privacy,r.region&&function(t,e){var n=Qt(t),a=t in wa?wa[t]:{id:t,visibility:0,interaction:16,name:ya.get(n)},r=16;switch(e){case 9:r=20;break;case 27:r=30}Ma(n,a,r,a.visibility)}(r.region,e),i.fraud&&Et(i.fraud,r.id,n||r.data.value)}}return a}function ja(t,e){return void 0===e&&(e=null),at(this,void 0,void 0,(function(){var n,a,r,i,o,u,c,l,d,f,h,p,v,g,y,w,k,E,S,O,x,N,T,_,C,D,j,A,R,L,z;return rt(this,(function(H){switch(n=e||s(),a=[n,t],t){case 13:case 14:case 12:case 15:case 16:case 17:case 18:case 19:case 20:for(r=0,i=Fe;r<i.length;r++)L=i[r],(o=Da(L.data.target,L.event)).id>0&&((a=[L.time,L.event]).push(o.id),a.push(L.data.x),a.push(L.data.y),Ja(a),M(L.event,L.data.x,L.data.y));$e();break;case 9:for(u=0,c=Ce;u<c.length;u++)L=c[u],l=Da(L.data.target,L.event,L.data.text),a=[L.time,L.event],d=l.hash?l.hash.join("."):"",a.push(l.id),a.push(L.data.x),a.push(L.data.y),a.push(L.data.eX),a.push(L.data.eY),a.push(L.data.button),a.push(L.data.reaction),a.push(L.data.context),a.push(m(L.data.text,"click",l.privacy)),a.push(b(L.data.link)),a.push(d),a.push(L.data.trust),Ja(a),za(L.time,L.event,d,L.data.x,L.data.y,L.data.reaction,L.data.context);ze();break;case 38:for(f=0,h=He;f<h.length;f++)L=h[f],a=[L.time,L.event],(j=Da(L.data.target,L.event)).id>0&&(a.push(j.id),a.push(L.data.action),Ja(a));qe();break;case 11:p=Ve,a.push(p.width),a.push(p.height),M(t,p.width,p.height),en(),Ja(a);break;case 26:v=hn,a.push(v.name),yn(),Ja(a);break;case 27:for(g=0,y=Xe;g<y.length;g++)L=y[g],w=Da(L.data.target,L.event,L.data.value),(a=[L.time,L.event]).push(w.id),a.push(m(L.data.value,"input",w.privacy)),Ja(a);Be();break;case 21:(k=un)&&(E=Da(k.start,t),S=Da(k.end,t),a.push(E.id),a.push(k.startOffset),a.push(S.id),a.push(k.endOffset),fn(),Ja(a));break;case 10:for(O=0,x=nn;O<x.length;O++)L=x[O],(N=Da(L.data.target,L.event)).id>0&&((a=[L.time,L.event]).push(N.id),a.push(L.data.x),a.push(L.data.y),Ja(a),M(L.event,L.data.x,L.data.y));nn=[];break;case 42:for(T=0,_=Ne;T<_.length;T++)L=_[T],a=[L.time,L.event],(j=Da(L.data.target,L.event)).id>0&&((a=[L.time,L.event]).push(j.id),a.push(L.data.type),a.push(m(L.data.value,"change",j.privacy)),a.push(m(L.data.checksum,"checksum",j.privacy)),Ja(a));Me();break;case 39:for(C=0,D=vn;C<D.length;C++)L=D[C],a=[L.time,L.event],(j=Da(L.data.target,L.event)).id>0&&(a.push(j.id),Ja(a));mn();break;case 22:for(A=0,R=Ra;A<R.length;A++)L=R[A],(a=[L.time,L.event]).push(L.data.type),a.push(L.data.hash),a.push(L.data.x),a.push(L.data.y),a.push(L.data.reaction),a.push(L.data.context),Ja(a,!1);La();break;case 28:z=pn,a.push(z.visible),Ja(a),I(n,z.visible),kn()}return[2]}))}))}var Aa=[],Ra=[];function La(){Ra=[]}function za(t,e,n,a,r,i,o){void 0===i&&(i=1),void 0===o&&(o=0),Aa.push({time:t,event:22,data:{type:e,hash:n,x:a,y:r,reaction:i,context:o}}),M(e,a,r)}var Ha,Ya,qa,Wa,Xa,Pa=0,Ua=0,Ba=null,Va=0;function Fa(){Wa=!0,Pa=0,Ua=0,Va=0,Ha=[],Ya=[],qa={},Xa=null}function Ja(t,e){if(void 0===e&&(e=!0),Wa){var n=s(),a=t.length>1?t[1]:null,r=JSON.stringify(t);switch(a){case 5:Pa+=r.length;case 37:case 6:case 43:case 45:case 46:Ua+=r.length,Ha.push(r);break;default:Ya.push(r)}H(25);var i=function(){var t=!1===o.lean&&Pa>0?100:ai.sequence*o.delay;return"string"==typeof o.upload?Math.max(Math.min(t,3e4),100):o.delay}();n-Va>2*i&&(X(Ba),Ba=null),e&&null===Ba&&(25!==a&&V(),Ba=W(Ga,i),Va=n,Nr(Ua))}}function Ka(){X(Ba),Ga(!0),Pa=0,Ua=0,Va=0,Ha=[],Ya=[],qa={},Xa=null,Wa=!1}function Ga(t){return void 0===t&&(t=!1),at(this,void 0,void 0,(function(){var e,n,a,r,i,u,c,s;return rt(this,(function(l){switch(l.label){case 0:return Ba=null,(e=!1===o.lean&&Ua>0&&(Ua<1048576||ai.sequence>0))&&q(1,1),Na(),function(){var t=[];Ra=[];for(var e=ai.start+ai.duration,n=Math.max(e-2e3,0),a=0,r=Aa;a<r.length;a++){var i=r[a];i.time>=n&&(i.time<=e&&Ra.push(i),t.push(i))}Aa=t,ja(22)}(),yt(),ta(document),Object.keys($n).forEach((function(t){return ta(Qt(parseInt(t,10)))})),n=!0===t,a=JSON.stringify(oi(n)),r="[".concat(Ya.join(),"]"),i=e?"[".concat(Ha.join(),"]"):"",u=function(t){return t.p.length>0?'{"e":'.concat(t.e,',"a":').concat(t.a,',"p":').concat(t.p,"}"):'{"e":'.concat(t.e,',"a":').concat(t.a,"}")}({e:a,a:r,p:i}),n?(s=null,[3,3]):[3,1];case 1:return[4,pt(u)];case 2:s=l.sent(),l.label=3;case 3:return Y(2,(c=s)?c.length:u.length),Za(u,c,ai.sequence,n),Ya=[],e&&(Ha=[],Ua=0,Pa=0),[2]}}))}))}function Za(t,e,n,a){if(void 0===a&&(a=!1),"string"==typeof o.upload){var r=o.upload,i=!1;if(a&&"sendBeacon"in navigator)try{(i=navigator.sendBeacon.bind(navigator)(r,t))&&$a(n)}catch(t){}if(!1===i){n in qa?qa[n].attempts++:qa[n]={data:t,attempts:1};var u=new XMLHttpRequest;u.open("POST",r,!0),u.timeout=15e3,u.ontimeout=function(){ci(new Error("".concat("Timeout"," : ").concat(r)))},null!==n&&(u.onreadystatechange=function(){si(Qa)(u,n)}),u.withCredentials=!0,e?(u.setRequestHeader("Accept","application/x-clarity-gzip"),u.send(e)):u.send(t)}}else if(o.upload){(0,o.upload)(t),$a(n)}}function Qa(t,e){var n=qa[e];t&&4===t.readyState&&n&&((t.status<200||t.status>208)&&n.attempts<=1?t.status>=400&&t.status<500?Tr(6):(0===t.status&&(o.upload=o.fallback?o.fallback:o.upload),Za(n.data,null,e)):(Xa={sequence:e,attempts:n.attempts,status:t.status},n.attempts>1&&Or(2),200===t.status&&t.responseText&&function(t){for(var e=t&&t.length>0?t.split("\n"):[],n=0,a=e;n<a.length;n++){var r=a[n],i=r&&r.length>0?r.split(/ (.*)/):[""];switch(i[0]){case"END":Tr(6);break;case"UPGRADE":et("Auto");break;case"ACTION":o.action&&i.length>1&&o.action(i[1]);break;case"EXTRACT":i.length>1&&vr(i[1])}}}(t.responseText),0===t.status&&(Za(n.data,null,e,!0),Tr(3)),t.status>=200&&t.status<=208&&$a(e),delete qa[e]))}function $a(t){1===t&&Fr()}var tr,er={};function nr(t){var e=t.error||t;return e.message in er||(er[e.message]=0),er[e.message]++>=5||e&&e.message&&(tr={message:e.message,line:t.lineno,column:t.colno,stack:e.stack,source:t.filename},ar(31)),!0}function ar(t){return at(this,void 0,void 0,(function(){var e;return rt(this,(function(n){switch(e=[s(),t],t){case 31:e.push(tr.message),e.push(tr.line),e.push(tr.column),e.push(tr.stack),e.push(b(tr.source)),Ja(e);break;case 33:rr&&(e.push(rr.code),e.push(rr.name),e.push(rr.message),e.push(rr.stack),e.push(rr.severity),Ja(e,!1));break;case 41:wt&&(e.push(wt.id),e.push(wt.target),e.push(wt.checksum),Ja(e,!1))}return[2]}))}))}var rr,ir={};function or(t,e,n,a,r){void 0===n&&(n=null),void 0===a&&(a=null),void 0===r&&(r=null);var i=n?"".concat(n,"|").concat(a):"";t in ir&&ir[t].indexOf(i)>=0||(rr={code:t,name:n,message:a,stack:r,severity:e},t in ir?ir[t].push(i):ir[t]=[i],ar(33))}var ur,cr={},sr=new Set,lr={},dr={},fr={},hr={};function pr(){br()}function vr(t){try{var e=t&&t.length>0?t.split(/ (.*)/):[""],n=e[0].split(/\|(.*)/),a=parseInt(n[0]),r=n.length>1?n[1]:"",i=e.length>1?JSON.parse(e[1]):{};for(var o in lr[a]={},dr[a]={},fr[a]={},hr[a]=r,i){var u=parseInt(o),c=i[o],s=2;switch(c.startsWith("~")?s=0:c.startsWith("!")&&(s=4),s){case 0:var l=c.substring(1,c.length);lr[a][u]=kr(l);break;case 2:dr[a][u]=c;break;case 4:var d=c.substring(1,c.length);fr[a][u]=d}}}catch(t){or(8,1,t?t.name:null)}}function gr(t){return JSON.parse(JSON.stringify(t))}function mr(){try{for(var t in lr){var e=parseInt(t);if(""==hr[e]||document.querySelector(hr[e])){var n=lr[e];for(var a in n){var r=parseInt(a),i=(h=Er(gr(n[r])))?JSON.stringify(h).substring(0,1e4):h;i&&yr(e,r,i)}var o=dr[e];for(var u in o){var c=parseInt(u),s=document.querySelectorAll(o[c]);if(s)yr(e,c,Array.from(s).map((function(t){return t.textContent})).join("<SEP>").substring(0,1e4))}var l=fr[e];for(var d in l){var f=parseInt(d);yr(e,f,Zt(l[f]).trim().substring(0,1e4))}}}sr.size>0&&Or(40)}catch(t){or(5,1,t?t.name:null)}var h}function br(){sr.clear()}function yr(t,e,n){var a,r=!1;t in cr||(cr[t]={},r=!0),a=fr[t],0==Object.keys(a).length||e in cr[t]&&cr[t][e]==n||(r=!0),cr[t][e]=n,r&&sr.add(t)}function wr(){br()}function kr(t){for(var e=[],n=t.split(".");n.length>0;){var a=n.shift(),r=a.indexOf("["),i=a.indexOf("{"),o=a.indexOf("}");e.push({name:r>0?a.substring(0,r):i>0?a.substring(0,i):a,type:r>0?1:i>0?2:3,condition:i>0?a.substring(i+1,o):null})}return e}function Er(t,e){if(void 0===e&&(e=window),0==t.length)return e;var n,a=t.shift();if(e&&e[a.name]){var r=e[a.name];if(1!==a.type&&Sr(r,a.condition))n=Er(t,r);else if(Array.isArray(r)){for(var i=[],o=0,u=r;o<u.length;o++){var c=u[o];if(Sr(c,a.condition)){var s=Er(t,c);s&&i.push(s)}}n=i}return n}return null}function Sr(t,e){if(e){var n=e.split(":");return n.length>1?t[n[0]]==n[1]:t[n[0]]}return!0}function Or(t){var e=[s(),t];switch(t){case 4:var n=O;n&&((e=[n.time,n.event]).push(n.data.visible),e.push(n.data.docWidth),e.push(n.data.docHeight),e.push(n.data.screenWidth),e.push(n.data.screenHeight),e.push(n.data.scrollX),e.push(n.data.scrollY),e.push(n.data.pointerX),e.push(n.data.pointerY),e.push(n.data.activityTime),Ja(e,!1)),T();break;case 25:e.push(R.gap),Ja(e);break;case 35:e.push(ur.check),Ja(e,!1);break;case 3:e.push(tt.key),Ja(e);break;case 2:e.push(Xa.sequence),e.push(Xa.attempts),e.push(Xa.status),Ja(e,!1);break;case 24:j.key&&e.push(j.key),e.push(j.value),Ja(e);break;case 34:var a=Object.keys(it);if(a.length>0){for(var r=0,i=a;r<i.length;r++){var o=i[r];e.push(o),e.push(it[o])}lt(),Ja(e,!1)}break;case 0:var u=Object.keys(z);if(u.length>0){for(var c=0,l=u;c<l.length;c++){var d=l[c],f=parseInt(d,10);e.push(f),e.push(Math.round(z[d]))}z={},Ja(e,!1)}break;case 1:var h=Object.keys(Cr);if(h.length>0){for(var p=0,v=h;p<v.length;p++){var g=v[p];f=parseInt(g,10);e.push(f),e.push(Cr[g])}Lr(),Ja(e,!1)}break;case 36:var m=Object.keys(K);if(m.length>0){for(var b=0,y=m;b<y.length;b++){var w=y[b];f=parseInt(w,10);e.push(f),e.push([].concat.apply([],K[w]))}Q(),Ja(e,!1)}break;case 40:sr.forEach((function(t){e.push(t);var n=[];for(var a in cr[t]){var r=parseInt(a,10);n.push(r),n.push(cr[t][a])}e.push(n)})),br(),Ja(e,!1)}}function xr(){ur={check:0}}function Nr(t){if(0===ur.check){var e=ur.check;e=ai.sequence>=128?1:e,e=ai.pageNum>=128?7:e,e=s()>72e5?2:e,(e=t>10485760?2:e)!==ur.check&&Tr(e)}}function Tr(t){ur.check=t,Vr(),qi()}function Mr(){0!==ur.check&&Or(35)}function _r(){ur=null}var Ir=null,Cr=null;function Dr(){Ir={},Cr={}}function jr(){Ir={},Cr={}}function Ar(t,e){e&&(e="".concat(e),t in Ir||(Ir[t]=[]),Ir[t].indexOf(e)<0&&(Ir[t].push(e),t in Cr||(Cr[t]=[]),Cr[t].push(e),Ir[t].length>128&&Tr(5)))}function Rr(){Or(1)}function Lr(){Cr={}}var zr=null,Hr=[],Yr=0,qr=null;function Wr(){qr=null;var t=navigator&&"userAgent"in navigator?navigator.userAgent:"",e=document&&document.title?document.title:"";Yr=t.indexOf("Electron")>0?1:0;var n,a=function(){var t={session:Gr(),ts:Math.round(Date.now()),count:1,upgrade:null,upload:""},e=$r("_clsk");if(e){var n=e.split("|");n.length>=5&&t.ts-Zr(n[1])<18e5&&(t.session=n[0],t.count=Zr(n[2])+1,t.upgrade=Zr(n[3]),t.upload=n.length>=6?"".concat("https://").concat(n[5],"/").concat(n[4]):"".concat("https://").concat(n[4]))}return t}(),r=Qr(),i=o.projectId||d(location.host);zr={projectId:i,userId:r.id,sessionId:a.session,pageNum:a.count},o.lean=o.track&&null!==a.upgrade?0===a.upgrade:o.lean,o.upload=o.track&&"string"==typeof o.upload&&a.upload&&a.upload.length>"https://".length?a.upload:o.upload,Ar(0,t),Ar(3,e),Ar(1,b(location.href,!!Yr)),Ar(2,document.referrer),Ar(15,function(){var t=Gr();if(o.track&&Jr(window,"sessionStorage")){var e=sessionStorage.getItem("_cltk");t=e||t,sessionStorage.setItem("_cltk",t)}return t}()),Ar(16,document.documentElement.lang),Ar(17,document.dir),Ar(26,"".concat(window.devicePixelRatio)),Ar(28,r.dob.toString()),Ar(29,r.version.toString()),q(0,a.ts),q(1,0),q(35,Yr),navigator&&(Ar(9,navigator.language),q(33,navigator.hardwareConcurrency),q(32,navigator.maxTouchPoints),q(34,Math.round(navigator.deviceMemory)),(n=navigator.userAgentData)&&n.getHighEntropyValues?n.getHighEntropyValues(["model","platform","platformVersion","uaFullVersion"]).then((function(t){var e;Ar(22,t.platform),Ar(23,t.platformVersion),null===(e=t.brands)||void 0===e||e.forEach((function(t){Ar(24,t.name+"~"+t.version)})),Ar(25,t.model),q(27,t.mobile?1:0)})):Ar(22,navigator.platform)),screen&&(q(14,Math.round(screen.width)),q(15,Math.round(screen.height)),q(16,Math.round(screen.colorDepth)));for(var u=0,c=o.cookies;u<c.length;u++){var s=c[u],l=$r(s);l&&ot(s,l)}Kr(r)}function Xr(){qr=null,zr=null}function Pr(t,e){void 0===e&&(e=!0);var n=o.lean?0:1;zr&&(n||!1===e)?t(zr,!o.lean):Hr.push({callback:t,wait:e})}function Ur(){return zr?[zr.userId,zr.sessionId,zr.pageNum].join("."):""}function Br(t){if(void 0===t&&(t=!0),!t)return ei("_clsk","",0),ei("_clck","",0),qi(),void window.setTimeout(Yi,250);Oi()&&(o.track=!0,Kr(Qr(),1))}function Vr(){ei("_clsk","",0)}function Fr(){var t=Math.round(Date.now()),e=o.upload&&"string"==typeof o.upload?o.upload.replace("https://",""):"",n=o.lean?0:1;!function(t){Hr.length>0&&Hr.forEach((function(e){!e.callback||e.wait&&!t||e.callback(zr,!o.lean)}))}(n),ei("_clsk",[zr.sessionId,t,zr.pageNum,n,e].join("|"),1)}function Jr(t,e){try{return!!t[e]}catch(t){return!1}}function Kr(t,e){void 0===e&&(e=null),e=null===e?t.consent:e;var n=Math.ceil((Date.now()+31536e6)/864e5),a=0===t.dob?null===o.dob?0:o.dob:t.dob;(null===t.expiry||Math.abs(n-t.expiry)>=1||t.consent!==e||t.dob!==a)&&ei("_clck",[zr.userId,2,n.toString(36),e,a].join("|"),365)}function Gr(){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 Zr(t,e){return void 0===e&&(e=10),parseInt(t,e)}function Qr(){var t={id:Gr(),version:0,expiry:null,consent:0,dob:0},e=$r("_clck");if(e&&e.length>0){for(var n=e.split("|"),a=0,r=0,i=document.cookie.split(";");r<i.length;r++){a+="_clck"===i[r].split("=")[0].trim()?1:0}if(1===n.length||a>1){var u="".concat(";").concat("expires=").concat(new Date(0).toUTCString()).concat(";path=/");document.cookie="".concat("_clck","=").concat(u),document.cookie="".concat("_clsk","=").concat(u)}n.length>1&&(t.version=Zr(n[1])),n.length>2&&(t.expiry=Zr(n[2],36)),n.length>3&&1===Zr(n[3])&&(t.consent=1),n.length>4&&Zr(n[1])>1&&(t.dob=Zr(n[4])),o.track=o.track||1===t.consent,t.id=o.track?n[0]:t.id}return t}function $r(t){var e;if(Jr(document,"cookie")){var n=document.cookie.split(";");if(n)for(var a=0;a<n.length;a++){var r=n[a].split("=");if(r.length>1&&r[0]&&r[0].trim()===t){for(var i=ti(r[1]),o=i[0],u=i[1];o;)o=(e=ti(u))[0],u=e[1];return u}}}return null}function ti(t){try{var e=decodeURIComponent(t);return[e!=t,e]}catch(t){}return[!1,t]}function ei(t,e,n){if(o.track&&(navigator&&navigator.cookieEnabled||Jr(document,"cookie"))){var a=function(t){return encodeURIComponent(t)}(e),r=new Date;r.setDate(r.getDate()+n);var i=r?"expires="+r.toUTCString():"",u="".concat(t,"=").concat(a).concat(";").concat(i).concat(";path=/");try{if(null===qr){for(var c=location.hostname?location.hostname.split("."):[],s=c.length-1;s>=0;s--)if(qr=".".concat(c[s]).concat(qr||""),s<c.length-1&&(document.cookie="".concat(u).concat(";").concat("domain=").concat(qr),$r(t)===e))return;qr=""}}catch(t){qr=""}document.cookie=qr?"".concat(u).concat(";").concat("domain=").concat(qr):u}}var ni,ai=null;function ri(){var t=zr;ai={version:l,sequence:0,start:0,duration:0,projectId:t.projectId,userId:t.userId,sessionId:t.sessionId,pageNum:t.pageNum,upload:0,end:0}}function ii(){ai=null}function oi(t){return ai.start=ai.start+ai.duration,ai.duration=s()-ai.start,ai.sequence++,ai.upload=t&&"sendBeacon"in navigator?1:0,ai.end=t?1:0,[ai.version,ai.sequence,ai.start,ai.duration,ai.projectId,ai.userId,ai.sessionId,ai.pageNum,ai.upload,ai.end]}function ui(){ni=[]}function ci(t){if(ni&&-1===ni.indexOf(t.message)){var e=o.report;if(e&&e.length>0){var n={v:ai.version,p:ai.projectId,u:ai.userId,s:ai.sessionId,n:ai.pageNum};t.message&&(n.m=t.message),t.stack&&(n.e=t.stack);var a=new XMLHttpRequest;a.open("POST",e,!0),a.send(JSON.stringify(n)),ni.push(t.message)}}return t}function si(t){return function(){var e=performance.now();try{t.apply(this,arguments)}catch(t){throw ci(t)}var n=performance.now()-e;Y(4,n),n>30&&(H(7),q(6,n))}}var li=[];function di(t,e,n,a){void 0===a&&(a=!1),n=si(n);try{t[u("addEventListener")](e,n,a),li.push({event:e,target:t,listener:n,capture:a})}catch(t){}}function fi(){for(var t=0,e=li;t<e.length;t++){var n=e[t];try{n.target[u("removeEventListener")](n.event,n.listener,n.capture)}catch(t){}}li=[]}var hi=null,pi=null,vi=null,gi=0;function mi(){return!(gi++>20)||(or(4,0),!1)}function bi(){gi=0,vi!==wi()&&(qi(),window.setTimeout(yi,250))}function yi(){Yi(),q(29,1)}function wi(){return location.href?location.href.replace(location.hash,""):location.href}var ki=!1;function Ei(){ki=!0,c=performance.now(),he(),fi(),ui(),vi=wi(),gi=0,di(window,"popstate",bi),null===hi&&(hi=history.pushState,history.pushState=function(){hi.apply(this,arguments),Oi()&&mi()&&bi()}),null===pi&&(pi=history.replaceState,history.replaceState=function(){pi.apply(this,arguments),Oi()&&mi()&&bi()})}function Si(){vi=null,gi=0,ui(),fi(),he(),c=0,ki=!1}function Oi(){return ki}function xi(t){if(null===t||ki)return!1;for(var e in t)e in o&&(o[e]=t[e]);return!0}function Ni(){Yi(),A("clarity","restart")}var Ti=Object.freeze({__proto__:null,start:function(){!function(){kt=[],q(26,navigator.webdriver?1:0);try{q(31,window.top==window.self?1:2)}catch(t){q(31,0)}}(),di(window,"error",nr),er={},ir={}},stop:function(){ir={}}});function Mi(){return at(this,void 0,void 0,(function(){var t,e;return rt(this,(function(n){switch(n.label){case 0:return t=s(),me(e={id:Ur(),cost:3}),[4,On(document,e,0)];case 1:return n.sent(),ta(document),[4,pa(5,e,t)];case 2:return n.sent(),be(e),[2]}}))}))}var _i=Object.freeze({__proto__:null,hashText:Zt,start:function(){Oe(),xe(),Ia(),Sa=null,ya=new WeakMap,wa={},ka=[],Ea=!!window.IntersectionObserver,Xt(),function(){if(xn=[],In=[],Cn=null,Dn=0,jn={},null===Tn&&(Tn=CSSStyleSheet.prototype.insertRule,CSSStyleSheet.prototype.insertRule=function(){return Oi()&&Hn(this.ownerNode),Tn.apply(this,arguments)}),null===Mn&&(Mn=CSSStyleSheet.prototype.deleteRule,CSSStyleSheet.prototype.deleteRule=function(){return Oi()&&Hn(this.ownerNode),Mn.apply(this,arguments)}),null===_n){_n=Element.prototype.attachShadow;try{Element.prototype.attachShadow=function(){return Oi()?Hn(_n.apply(this,arguments)):_n.apply(this,arguments)}}catch(t){_n=null}}}(),pe(Mi,1).then((function(){si(xe)(),si(Na)()})),ea(),null===Gn&&(Gn=CSSStyleSheet.prototype.replace,CSSStyleSheet.prototype.replace=function(){return Oi()&&(this[Qn]||(this[Qn]=Gr(),na(s(),this[Qn],0)),na(s(),this[Qn],1,arguments[0])),Gn.apply(this,arguments)}),null===Zn&&(Zn=CSSStyleSheet.prototype.replaceSync,CSSStyleSheet.prototype.replaceSync=function(){return Oi()&&(this[Qn]||(this[Qn]=Gr(),na(s(),this[Qn],0)),na(s(),this[Qn],2,arguments[0])),Zn.apply(this,arguments)}),window.Animation&&window.KeyframeEffect&&window.KeyframeEffect.prototype.getKeyframes&&window.KeyframeEffect.prototype.getTiming&&(da(),ha(ra,"play"),ha(ia,"pause"),ha(oa,"cancel"),ha(ua,"finish"))},stop:function(){Ia(),ya=null,wa={},ka=[],Sa&&(Sa.disconnect(),Sa=null),Ea=!1,Pt(),function(){for(var t=0,e=xn;t<e.length;t++){var n=e[t];n&&n.disconnect()}xn=[],jn={},Nn=[],In=[],Dn=0,Cn=null}(),Oe(),$n={},ea(),da()}});var Ii,Ci=null;function Di(){Ci=null}function ji(t){Ci={fetchStart:Math.round(t.fetchStart),connectStart:Math.round(t.connectStart),connectEnd:Math.round(t.connectEnd),requestStart:Math.round(t.requestStart),responseStart:Math.round(t.responseStart),responseEnd:Math.round(t.responseEnd),domInteractive:Math.round(t.domInteractive),domComplete:Math.round(t.domComplete),loadEventStart:Math.round(t.loadEventStart),loadEventEnd:Math.round(t.loadEventEnd),redirectCount:Math.round(t.redirectCount),size:t.transferSize?t.transferSize:0,type:t.type,protocol:t.nextHopProtocol,encodedSize:t.encodedBodySize?t.encodedBodySize:0,decodedSize:t.decodedBodySize?t.decodedBodySize:0},function(t){at(this,void 0,void 0,(function(){var e,n;return rt(this,(function(a){return e=s(),n=[e,t],29===t&&(n.push(Ci.fetchStart),n.push(Ci.connectStart),n.push(Ci.connectEnd),n.push(Ci.requestStart),n.push(Ci.responseStart),n.push(Ci.responseEnd),n.push(Ci.domInteractive),n.push(Ci.domComplete),n.push(Ci.loadEventStart),n.push(Ci.loadEventEnd),n.push(Ci.redirectCount),n.push(Ci.size),n.push(Ci.type),n.push(Ci.protocol),n.push(Ci.encodedSize),n.push(Ci.decodedSize),Di(),Ja(n)),[2]}))}))}(29)}var Ai=["navigation","resource","longtask","first-input","layout-shift","largest-contentful-paint"];function Ri(){try{Ii&&Ii.disconnect(),Ii=new PerformanceObserver(si(Li));for(var t=0,e=Ai;t<e.length;t++){var n=e[t];PerformanceObserver.supportedEntryTypes.indexOf(n)>=0&&("layout-shift"===n&&Y(9,0),Ii.observe({type:n,buffered:!0}))}}catch(t){or(3,1)}}function Li(t){!function(t){for(var e=(!("visibilityState"in document)||"visible"===document.visibilityState),n=0;n<t.length;n++){var a=t[n];switch(a.entryType){case"navigation":ji(a);break;case"resource":var r=a.name;Ar(4,zi(r)),r!==o.upload&&r!==o.fallback||q(28,a.duration);break;case"longtask":H(7);break;case"first-input":e&&q(10,a.processingStart-a.startTime);break;case"layout-shift":e&&!a.hadRecentInput&&Y(9,1e3*a.value);break;case"largest-contentful-paint":e&&q(8,a.startTime)}}}(t.getEntries())}function zi(t){var e=document.createElement("a");return e.href=t,e.host}var Hi=[Ti,_i,Sn,Object.freeze({__proto__:null,start:function(){Di(),function(){navigator&&"connection"in navigator&&Ar(27,navigator.connection.effectiveType),window.PerformanceObserver&&PerformanceObserver.supportedEntryTypes?"complete"!==document.readyState?di(window,"load",W.bind(this,Ri,0)):Ri():or(3,0)}()},stop:function(){Ii&&Ii.disconnect(),Ii=null,Di()}})];function Yi(t){void 0===t&&(t=null),function(){try{return!1===ki&&"undefined"!=typeof Promise&&window.MutationObserver&&document.createTreeWalker&&"now"in Date&&"now"in performance&&"undefined"!=typeof WeakMap}catch(t){return!1}}()&&(xi(t),Ei(),mt(),Hi.forEach((function(t){return si(t.start)()})),null===t&&Ui())}function qi(){Oi()&&(Hi.slice().reverse().forEach((function(t){return si(t.stop)()})),bt(),Si(),void 0!==Xi&&(Xi[Pi]=function(){(Xi[Pi].q=Xi[Pi].q||[]).push(arguments),"start"===arguments[0]&&Xi[Pi].q.unshift(Xi[Pi].q.pop())&&Ui()}))}var Wi=Object.freeze({__proto__:null,consent:Br,event:A,hashText:Zt,identify:ut,metadata:Pr,pause:function(){Oi()&&(A("clarity","pause"),null===de&&(de=new Promise((function(t){fe=t}))))},resume:function(){Oi()&&(de&&(fe(),de=null,null===le&&ve()),A("clarity","resume"))},set:ot,start:Yi,stop:qi,upgrade:et,version:l}),Xi=window,Pi="clarity";function Ui(){if(void 0!==Xi){if(Xi[Pi]&&Xi[Pi].v)return console.warn("Error CL001: Multiple Clarity tags detected.");var t=Xi[Pi]&&Xi[Pi].q||[];for(Xi[Pi]=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return Wi[t].apply(Wi,e)},Xi[Pi].v=l;t.length>0;)Xi[Pi].apply(Xi,t.shift())}}Ui()}();
|
package/build/clarity.insight.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(){"use strict";var t=Object.freeze({__proto__:null,get queue(){return He},get start(){return je},get stop(){return Ce},get track(){return Te}}),e=Object.freeze({__proto__:null,get clone(){return tn},get compute(){return en},get data(){return Je},get keys(){return Be},get reset(){return nn},get start(){return Qe},get stop(){return an},get trigger(){return $e},get update(){return rn}}),n=Object.freeze({__proto__:null,get check(){return dn},get compute(){return fn},get data(){return Ve},get start(){return ln},get stop(){return pn},get trigger(){return hn}}),r=Object.freeze({__proto__:null,get compute(){return wn},get data(){return vn},get log(){return bn},get reset(){return kn},get start(){return mn},get stop(){return yn},get updates(){return gn}}),a=Object.freeze({__proto__:null,get callbacks(){return xn},get clear(){return jn},get consent(){return Sn},get data(){return _n},get electron(){return On},get id(){return In},get metadata(){return Nn},get save(){return Hn},get shortid(){return Dn},get start(){return Tn},get stop(){return Mn}}),o=Object.freeze({__proto__:null,get data(){return Pn},get envelope(){return Vn},get start(){return Ln},get stop(){return Un}}),i={projectId:null,delay:1e3,lean:!1,track:!0,content:!0,drop:[],mask:[],unmask:[],regions:[],cookies:[],fraud:!0,checksum:[],report:null,upload:null,fallback:null,upgrade:null,action:null,dob:null};function u(t){return window.Zone&&"__symbol__"in window.Zone?window.Zone.__symbol__(t):t}var c=0;function s(t){void 0===t&&(t=null);var e=t&&t.timeStamp>0?t.timeStamp:performance.now();return Math.max(Math.round(e-c),0)}var l="0.7.19";var d=/\S/gi,h=!0,f=null,p=null,v=null;function g(t,e,n,r){if(void 0===r&&(r=!1),t)switch(n){case 0:return t;case 1:switch(e){case"*T":case"value":case"placeholder":case"click":return function(t){var e=-1,n=0,r=!1,a=!1,o=!1,i=null;_();for(var u=0;u<t.length;u++){var c=t.charCodeAt(u);if(r=r||c>=48&&c<=57,a=a||64===c,o=9===c||10===c||13===c||32===c,0===u||u===t.length-1||o){if(r||a){null===i&&(i=t.split(""));var s=t.substring(e+1,o?u:u+1);s=h&&null!==v?s.match(v)?s:w(s,"▪","▫"):b(s),i.splice(e+1-n,s.length,s),n+=s.length-1}o&&(r=!1,a=!1,e=u)}}return i?i.join(""):t}(t);case"input":case"change":return k(t)}return t;case 2:case 3:switch(e){case"*T":case"data-":return r?y(t):b(t);case"src":case"srcset":case"title":case"alt":return 3===n?"":t;case"value":case"click":case"input":case"change":return k(t);case"placeholder":return b(t)}break;case 4:switch(e){case"*T":case"data-":return r?y(t):b(t);case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":return""}break;case 5:switch(e){case"*T":case"data-":return w(t,"▪","▫");case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":case"src":case"srcset":case"alt":case"title":return""}}return t}function m(t,e){if(void 0===e&&(e=!1),e)return"".concat("https://").concat("Electron");var n=i.drop;if(n&&n.length>0&&t&&t.indexOf("?")>0){var r=t.split("?"),a=r[0],o=r[1];return a+"?"+o.split("&").map((function(t){return n.some((function(e){return 0===t.indexOf("".concat(e,"="))}))?"".concat(t.split("=")[0],"=").concat("*na*"):t})).join("&")}return t}function y(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 b(t){return t.replace(d,"•")}function w(t,e,n){return _(),t?t.replace(p,e).replace(f,n):t}function k(t){for(var e=5*(Math.floor(t.length/5)+1),n="",r=0;r<e;r++)n+=r>0&&r%5==0?" ":"•";return n}function _(){if(h&&null===f)try{f=new RegExp("\\p{N}","gu"),p=new RegExp("\\p{L}","gu"),v=new RegExp("\\p{Sc}","gu")}catch(t){h=!1}}var x=null,O=null,E=!1;function T(){E&&(x={time:s(),event:4,data:{visible:O.visible,docWidth:O.docWidth,docHeight:O.docHeight,screenWidth:O.screenWidth,screenHeight:O.screenHeight,scrollX:O.scrollX,scrollY:O.scrollY,pointerX:O.pointerX,pointerY:O.pointerY,activityTime:O.activityTime}}),O=O||{visible:1,docWidth:0,docHeight:0,screenWidth:0,screenHeight:0,scrollX:0,scrollY:0,pointerX:0,pointerY:0,activityTime:0}}function M(t,e,n){switch(t){case 8:O.docWidth=e,O.docHeight=n;break;case 11:O.screenWidth=e,O.screenHeight=n;break;case 10:O.scrollX=e,O.scrollY=n;break;default:O.pointerX=e,O.pointerY=n}E=!0}function N(t){O.activityTime=t}function I(t,e){O.visible="visible"===e?1:0,O.visible||N(t),E=!0}function S(){E&&sn(4)}var j=Object.freeze({__proto__:null,activity:N,compute:S,reset:T,start:function(){E=!1,T()},get state(){return x},stop:function(){T()},track:M,visibility:I}),H=null;function C(t,e){sr()&&t&&"string"==typeof t&&t.length<255&&(H=e&&"string"==typeof e&&e.length<255?{key:t,value:e}:{value:t},sn(24))}var A,D=null,W=null;function X(t){t in D||(D[t]=0),t in W||(W[t]=0),D[t]++,W[t]++}function z(t,e){null!==e&&(t in D||(D[t]=0),t in W||(W[t]=0),D[t]+=e,W[t]+=e)}function Y(t,e){null!==e&&!1===isNaN(e)&&(t in D||(D[t]=0),(e>D[t]||0===D[t])&&(W[t]=e,D[t]=e))}function q(t,e,n){return window.setTimeout(Zn(t),e,n)}function R(t){return window.clearTimeout(t)}var P=0,L=0,U=null;function V(){U&&R(U),U=q(J,L),P=s()}function J(){var t=s();A={gap:t-P},sn(25),A.gap<3e5?U=q(J,L):ir&&(C("clarity","suspend"),pr(),["mousemove","touchstart"].forEach((function(t){return Fn(document,t,dr)})),["resize","scroll","pageshow"].forEach((function(t){return Fn(window,t,dr)})))}var B=Object.freeze({__proto__:null,get data(){return A},reset:V,start:function(){L=6e4,P=0},stop:function(){R(U),P=0,L=0}}),Z=null;function G(){sn(36)}function F(){Z={}}var K=Object.freeze({__proto__:null,compute:G,get data(){return Z},reset:F,start:function(){Z={}},stop:function(){Z={}},track:function(t,e){if(t in Z){var n=Z[t],r=n[n.length-1];e-r[0]>100?Z[t].push([e,0]):r[1]=e-r[0]}else Z[t]=[[e,0]]}}),Q=null;function $(t){sr()&&i.lean&&(i.lean=!1,Q={key:t},Hn(),i.upgrade&&i.upgrade(t),sn(3))}var tt=Object.freeze({__proto__:null,get data(){return Q},start:function(){!i.lean&&i.upgrade&&i.upgrade("Config"),Q=null},stop:function(){Q=null},upgrade:$});function et(t,e,n,r){return new(n||(n=Promise))((function(a,o){function i(t){try{c(r.next(t))}catch(t){o(t)}}function u(t){try{c(r.throw(t))}catch(t){o(t)}}function c(t){var e;t.done?a(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(i,u)}c((r=r.apply(t,e||[])).next())}))}function nt(t,e){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(u){return function(c){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,u[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&u[0]?r.return:u[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,u[1])).done)return a;switch(r=0,a&&(u=[2&u[0],a.value]),u[0]){case 0:case 1:a=u;break;case 4:return i.label++,{value:u[1],done:!1};case 5:i.label++,r=u[1],u=[0];continue;case 7:u=i.ops.pop(),i.trys.pop();continue;default:if(!(a=i.trys,(a=a.length>0&&a[a.length-1])||6!==u[0]&&2!==u[0])){i=0;continue}if(3===u[0]&&(!a||u[1]>a[0]&&u[1]<a[3])){i.label=u[1];break}if(6===u[0]&&i.label<a[1]){i.label=a[1],a=u;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(u);break}a[2]&&i.ops.pop(),i.trys.pop();continue}u=e.call(t,i)}catch(t){u=[6,t],r=0}finally{n=a=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,c])}}}var rt=null;function at(t,e){it(t,"string"==typeof e?[e]:e)}function ot(t,e,n,r){return void 0===e&&(e=null),void 0===n&&(n=null),void 0===r&&(r=null),et(this,void 0,void 0,(function(){var a,o;return nt(this,(function(i){switch(i.label){case 0:return o={},[4,st(t)];case 1:return o.userId=i.sent(),o.userHint=r||((u=t)&&u.length>=5?"".concat(u.substring(0,2)).concat(w(u.substring(2),"*","*")):w(u,"*","*")),it("userId",[(a=o).userId]),it("userHint",[a.userHint]),it("userType",[lt(t)]),e&&(it("sessionId",[e]),a.sessionId=e),n&&(it("pageId",[n]),a.pageId=n),[2,a]}var u}))}))}function it(t,e){if(sr()&&t&&e&&"string"==typeof t&&t.length<255){for(var n=(t in rt?rt[t]:[]),r=0;r<e.length;r++)"string"==typeof e[r]&&e[r].length<255&&n.push(e[r]);rt[t]=n}}function ut(){sn(34)}function ct(){rt={}}function st(t){return et(this,void 0,void 0,(function(){var e;return nt(this,(function(n){switch(n.label){case 0:return n.trys.push([0,4,,5]),crypto&&t?[4,crypto.subtle.digest("SHA-256",(new TextEncoder).encode(t))]:[3,2];case 1:return e=n.sent(),[2,Array.prototype.map.call(new Uint8Array(e),(function(t){return("00"+t.toString(16)).slice(-2)})).join("")];case 2:return[2,""];case 3:return[3,5];case 4:return n.sent(),[2,""];case 5:return[2]}}))}))}function lt(t){return t&&t.indexOf("@")>0?"email":"string"}var dt="CompressionStream"in window;function ht(t){return et(this,void 0,void 0,(function(){var e,n;return nt(this,(function(r){switch(r.label){case 0:return r.trys.push([0,3,,4]),dt?(e=new ReadableStream({start:function(e){return et(this,void 0,void 0,(function(){return nt(this,(function(n){return e.enqueue(t),e.close(),[2]}))}))}}).pipeThrough(new TextEncoderStream).pipeThrough(new window.CompressionStream("gzip")),n=Uint8Array.bind,[4,ft(e)]):[3,2];case 1:return[2,new(n.apply(Uint8Array,[void 0,r.sent()]))];case 2:return[3,4];case 3:return r.sent(),[3,4];case 4:return[2,null]}}))}))}function ft(t){return et(this,void 0,void 0,(function(){var e,n,r,a,o;return nt(this,(function(i){switch(i.label){case 0:e=t.getReader(),n=[],r=!1,a=[],i.label=1;case 1:return r?[3,3]:[4,e.read()];case 2:return o=i.sent(),r=o.done,a=o.value,r?[2,n]:(n.push.apply(n,a),[3,1]);case 3:return[2,n]}}))}))}var pt,vt=[j,r,Object.freeze({__proto__:null,compute:ut,get data(){return rt},identify:ot,reset:ct,set:at,start:function(){ct()},stop:function(){ct()}}),n,K,a,o,t,B,tt,e];function gt(){D={},W={},X(5),vt.forEach((function(t){return Zn(t.start)()}))}function mt(){vt.slice().reverse().forEach((function(t){return Zn(t.stop)()})),D={},W={}}function yt(){ut(),S(),wn(),sn(0),G(),fn(),en()}function bt(t){return et(this,void 0,void 0,(function(){var e,n,r,a,o,i,u,c,l,d,h,f,p;return nt(this,(function(v){switch(e=s(),n=[e,t],t){case 8:r=pt,n.push(r.width),n.push(r.height),M(t,r.width,r.height),He(n);break;case 43:if((a=oe).length>0){for(o=0,i=a;o<i.length;o++)for(u=i[o],c=u.metadata.privacy,l=u.data,d=0,h=["tag","attributes","value"];d<h.length;d++)if(l[f=h[d]])switch(f){case"tag":n.push(u.id),u.parent&&n.push(u.parent),u.previous&&n.push(u.previous),n.push(l[f]);break;case"attributes":for(p in l[f])void 0!==l[f][p]&&n.push(wt(p,l[f][p],c));break;case"value":n.push(g(l[f],l.tag,c))}He(function(t){for(var e=[],n={},r=0,a=null,o=0;o<t.length;o++)if("string"==typeof t[o]){var i=t[o],u=n[i]||-1;u>=0?a?a.push(u):(a=[u],e.push(a),r++):(a=null,e.push(i),n[i]=r++)}else a=null,e.push(t[o]),r++;return e}(n),!0)}}return[2]}))}))}function wt(t,e,n){return"".concat(t,"=").concat(g(e,0===t.indexOf("data-")?"data-":t,n))}function kt(){pt=null}function _t(){var t,e,n,r,a,o,i,u,c,s,l,d,h,f,p,v;kt(),t=document.body,e=document.documentElement,n=t?t.clientWidth:null,r=t?t.scrollWidth:null,a=t?t.offsetWidth:null,o=e?e.clientWidth:null,i=e?e.scrollWidth:null,u=e?e.offsetWidth:null,c=Math.max(n,r,a,o,i,u),s=t?t.clientHeight:null,l=t?t.scrollHeight:null,d=t?t.offsetHeight:null,h=e?e.clientHeight:null,f=e?e.scrollHeight:null,p=e?e.offsetHeight:null,v=Math.max(s,l,d,h,f,p),null!==pt&&c===pt.width&&v===pt.height||null===c||null===v||(pt={width:c,height:v},bt(8))}var xt=[],Ot=null;var Et=Object.freeze({__proto__:null,checkDocumentStyles:function(t){},compute:function(){},data:Ot,log:function(){},observe:function(){},reset:function(){},start:function(){},state:xt,stop:function(){}}),Tt=[],Mt=null,Nt=null,It=null;function St(){Tt=[],Mt=null,Nt=null}function jt(t,e){return void 0===e&&(e=0),et(this,void 0,void 0,(function(){var n,r,a;return nt(this,(function(o){for(n=0,r=Tt;n<r.length;n++)if(r[n].task===t)return[2];return a=new Promise((function(n){Tt[1===e?"unshift":"push"]({task:t,resolve:n,id:In()})})),null===Mt&&null===Nt&&Ht(),[2,a]}))}))}function Ht(){var t=Tt.shift();t&&(Mt=t,t.task().then((function(){t.id===In()&&(t.resolve(),Mt=null,Ht())})).catch((function(e){t.id===In()&&(e&&Ue(0,1,e.name,e.message,e.stack),Mt=null,Ht())})))}var Ct,At=["input","textarea","radio","button","canvas"],Dt=[];function Wt(t){Fn(t,"click",Xt.bind(this,9,t),!0)}function Xt(t,e,n){var r=document.documentElement,a="pageX"in n?Math.round(n.pageX):"clientX"in n?Math.round(n.clientX+r.scrollLeft):null,o="pageY"in n?Math.round(n.pageY):"clientY"in n?Math.round(n.clientY+r.scrollTop):null,i=le(n),u=function(t){for(;t&&t!==document;){if(t.nodeType===Node.ELEMENT_NODE){var e=t;if("A"===e.tagName)return e}t=t.parentNode}return null}(i),c=function(t){var e=null,n=document.documentElement;if("function"==typeof t.getBoundingClientRect){var r=t.getBoundingClientRect();r&&r.width>0&&r.height>0&&(e={x:Math.floor(r.left+("pageXOffset"in window?window.pageXOffset:n.scrollLeft)),y:Math.floor(r.top+("pageYOffset"in window?window.pageYOffset:n.scrollTop)),w:Math.floor(r.width),h:Math.floor(r.height)})}return e}(i);0===n.detail&&c&&(a=Math.round(c.x+c.w/2),o=Math.round(c.y+c.h/2));var l=c?Math.max(Math.floor((a-c.x)/c.w*32767),0):0,d=c?Math.max(Math.floor((o-c.y)/c.h*32767),0):0;null!==a&&null!==o&&(Dt.push({time:s(n),event:t,data:{target:i,x:a,y:o,eX:l,eY:d,button:n.button,reaction:Yt(i),context:qt(u),text:zt(i),link:u?u.href:null,hash:null,trust:n.isTrusted?1:0}}),jt(me.bind(this,t)))}function zt(t){var e=null;if(t){var n=t.textContent||t.value||t.alt;n&&(e=n.replace(/\s+/g," ").trim().substr(0,25))}return e}function Yt(t){if(t.nodeType===Node.ELEMENT_NODE){var e=t.tagName.toLowerCase();if(At.indexOf(e)>=0)return 0}return 1}function qt(t){if(t&&t.hasAttribute("target"))switch(t.getAttribute("target")){case"_blank":return 1;case"_parent":return 2;case"_top":return 3}return 0}function Rt(){Dt=[]}function Pt(){var t=document.documentElement;Ct={width:t&&"clientWidth"in t?Math.min(t.clientWidth,window.innerWidth):window.innerWidth,height:t&&"clientHeight"in t?Math.min(t.clientHeight,window.innerHeight):window.innerHeight},me(11)}function Lt(){Ct=null}var Ut=[],Vt=null;function Jt(t){void 0===t&&(t=null);var e=window,n=document.documentElement,r=t?le(t):n;if(r&&r.nodeType===Node.DOCUMENT_NODE){r=n=r.documentElement}var a=r===n&&"pageXOffset"in e?Math.round(e.pageXOffset):Math.round(r.scrollLeft),o=r===n&&"pageYOffset"in e?Math.round(e.pageYOffset):Math.round(r.scrollTop),i={time:s(t),event:10,data:{target:r,x:a,y:o}};if((null!==t||0!==a||0!==o)&&null!==a&&null!==o){var u=Ut.length,c=u>1?Ut[u-2]:null;c&&function(t,e){var n=t.data.x-e.data.x,r=t.data.y-e.data.y;return n*n+r*r<400&&e.time-t.time<25}(c,i)&&Ut.pop(),Ut.push(i),R(Vt),Vt=q(Bt,500,10)}}function Bt(t){jt(me.bind(this,t))}var Zt,Gt,Ft=[];function Kt(t){Ft.push({time:s(t),event:39,data:{target:le(t)}}),jt(me.bind(this,39))}function Qt(){Ft=[]}function $t(t){Zt={name:t.type},me(26,s(t)),pr()}function te(){Zt=null}function ee(t){void 0===t&&(t=null),Gt={visible:"visibilityState"in document?document.visibilityState:"default"},me(28,s(t))}function ne(){Gt=null}function re(t){!function(t){Fn(t===document?window:t,"scroll",Jt,!0)}(t),t.nodeType===Node.DOCUMENT_NODE&&(Wt(t),function(t){Fn(t,"submit",Kt,!0)}(t))}var ae=Object.freeze({__proto__:null,observe:re,start:function(){ye=[],we(),Rt(),Fn(window,"resize",Pt),Pt(),Fn(document,"visibilitychange",ee),ee(),Ut=[],Jt(),Qt(),Fn(window,"pagehide",$t)},stop:function(){ye=[],we(),Rt(),Lt(),ne(),R(Vt),Ut=[],Qt(),te()}}),oe=[],ie=1,ue=null;function ce(){return!1}function se(){}function le(t){var e=t.composed&&t.composedPath?t.composedPath():null,n=e&&e.length>0?e[0]:t.target;return n.nodeType===Node.DOCUMENT_NODE?n.documentElement:n}function de(t){var e={id:0,hash:null,privacy:5,node:t};return t&&(e.id=ue.has(t)?ue.get(t):pe(t)),e}function he(){ue=new WeakMap}function fe(t){var e={},n=t.attributes;if(n&&n.length>0)for(var r=0;r<n.length;r++)e[n[r].name]=n[r].value;return e}function pe(t){return null===t?null:ue.has(t)?ue.get(t):(ue.set(t,ie),ie++)}function ve(t,e,n){if(t&&n&&n.tag){var r=pe(t),a=e?ue.get(e):null,o=t.previousSibling?ue.get(t.previousSibling):null;oe.push({id:r,parent:a,previous:o,children:[],data:n,selector:null,hash:null,region:null,metadata:{active:!0,suspend:!1,privacy:5,position:null,fraud:null,size:null}})}}var ge=Object.freeze({__proto__:null,compute:function(){},hashText:se,iframe:ce,metadata:de,offset:function(){return{x:0,y:0}},snapshot:function(){oe=[],function(t){var e=[t];for(;e.length>0;){for(var n=null,r=null,a=null,o=e.shift(),i=o.firstChild,u=o.parentElement?o.parentElement:o.parentNode?o.parentNode:null;i;)e.push(i),i=i.nextSibling;switch(o.nodeType){case Node.DOCUMENT_TYPE_NODE:var c=o;r="*D",n={name:c.name,publicId:c.publicId,systemId:c.systemId};break;case Node.TEXT_NODE:a=o.nodeValue,r=ue.get(u)?"*T":r;break;case Node.ELEMENT_NODE:var s=o;n=fe(s),r=["NOSCRIPT","SCRIPT","STYLE"].indexOf(s.tagName)<0?s.tagName:r}ve(o,u,{tag:r,attributes:n,value:a})}}(document),bt(43)},start:function(){he(),_t(),pe(document.documentElement),re(document)},stop:function(){he(),kt()},target:le,get values(){return oe}});function me(t,e){return void 0===e&&(e=null),et(this,void 0,void 0,(function(){var n,r,a,o,i,u,c,l,d,h,f,p,v,y,b,w,k,_,x,O,E,T,N,S,j,H,C,A,D,W,X;return nt(this,(function(z){switch(n=e||s(),r=[n,t],t){case 13:case 14:case 12:case 15:case 16:case 17:case 18:case 19:case 20:for(a=0,o=xt;a<o.length;a++)W=o[a],(i=de(W.data.target,W.event)).id>0&&((r=[W.time,W.event]).push(i.id),r.push(W.data.x),r.push(W.data.y),He(r),M(W.event,W.data.x,W.data.y));break;case 9:for(u=0,c=Dt;u<c.length;u++)W=c[u],l=de(W.data.target,W.event,W.data.text),r=[W.time,W.event],d=l.hash?l.hash.join("."):"",r.push(l.id),r.push(W.data.x),r.push(W.data.y),r.push(W.data.eX),r.push(W.data.eY),r.push(W.data.button),r.push(W.data.reaction),r.push(W.data.context),r.push(g(W.data.text,"click",l.privacy)),r.push(m(W.data.link)),r.push(d),r.push(W.data.trust),He(r),ke(W.time,W.event,d,W.data.x,W.data.y,W.data.reaction,W.data.context);Rt();break;case 38:for(h=0,f=xt;h<f.length;h++)W=f[h],r=[W.time,W.event],(C=de(W.data.target,W.event)).id>0&&(r.push(C.id),r.push(W.data.action),He(r));break;case 11:p=Ct,r.push(p.width),r.push(p.height),M(t,p.width,p.height),Lt(),He(r);break;case 26:v=Zt,r.push(v.name),te(),He(r);break;case 27:for(y=0,b=xt;y<b.length;y++)W=b[y],w=de(W.data.target,W.event,W.data.value),(r=[W.time,W.event]).push(w.id),r.push(g(W.data.value,"input",w.privacy)),He(r);break;case 21:(k=Ot)&&(_=de(k.start),x=de(k.end),r.push(_.id),r.push(k.startOffset),r.push(x.id),r.push(k.endOffset),He(r));break;case 10:for(O=0,E=Ut;O<E.length;O++)W=E[O],(T=de(W.data.target,W.event)).id>0&&((r=[W.time,W.event]).push(T.id),r.push(W.data.x),r.push(W.data.y),He(r),M(W.event,W.data.x,W.data.y));Ut=[];break;case 42:for(N=0,S=xt;N<S.length;N++)W=S[N],r=[W.time,W.event],(C=de(W.data.target,W.event)).id>0&&((r=[W.time,W.event]).push(C.id),r.push(W.data.type),r.push(g(W.data.value,"change",C.privacy)),r.push(g(W.data.checksum,"checksum",C.privacy)),He(r));break;case 39:for(j=0,H=Ft;j<H.length;j++)W=H[j],r=[W.time,W.event],(C=de(W.data.target,W.event)).id>0&&(r.push(C.id),He(r));Qt();break;case 22:for(A=0,D=be;A<D.length;A++)W=D[A],(r=[W.time,W.event]).push(W.data.type),r.push(W.data.hash),r.push(W.data.x),r.push(W.data.y),r.push(W.data.reaction),r.push(W.data.context),He(r,!1);we();break;case 28:X=Gt,r.push(X.visible),He(r),I(n,X.visible),ne()}return[2]}))}))}var ye=[],be=[];function we(){be=[]}function ke(t,e,n,r,a,o,i){void 0===o&&(o=1),void 0===i&&(i=0),ye.push({time:t,event:22,data:{type:e,hash:n,x:r,y:a,reaction:o,context:i}}),M(e,r,a)}var _e,xe,Oe,Ee,Te,Me=0,Ne=0,Ie=null,Se=0;function je(){Ee=!0,Me=0,Ne=0,Se=0,_e=[],xe=[],Oe={},Te=null}function He(t,e){if(void 0===e&&(e=!0),Ee){var n=s(),r=t.length>1?t[1]:null,a=JSON.stringify(t);switch(r){case 5:Me+=a.length;case 37:case 6:case 43:case 45:case 46:Ne+=a.length,_e.push(a);break;default:xe.push(a)}X(25);var o=function(){var t=!1===i.lean&&Me>0?100:Pn.sequence*i.delay;return"string"==typeof i.upload?Math.max(Math.min(t,3e4),100):i.delay}();n-Se>2*o&&(R(Ie),Ie=null),e&&null===Ie&&(25!==r&&V(),Ie=q(Ae,o),Se=n,dn(Ne))}}function Ce(){R(Ie),Ae(!0),Me=0,Ne=0,Se=0,_e=[],xe=[],Oe={},Te=null,Ee=!1}function Ae(t){return void 0===t&&(t=!1),et(this,void 0,void 0,(function(){var e,n,r,a,o,u,c,s;return nt(this,(function(l){switch(l.label){case 0:return Ie=null,(e=!1===i.lean&&Ne>0&&(Ne<1048576||Pn.sequence>0))&&Y(1,1),function(){var t=[];be=[];for(var e=Pn.start+Pn.duration,n=Math.max(e-2e3,0),r=0,a=ye;r<a.length;r++){var o=a[r];o.time>=n&&(o.time<=e&&be.push(o),t.push(o))}ye=t,me(22)}(),yt(),n=!0===t,r=JSON.stringify(Vn(n)),a="[".concat(xe.join(),"]"),o=e?"[".concat(_e.join(),"]"):"",u=function(t){return t.p.length>0?'{"e":'.concat(t.e,',"a":').concat(t.a,',"p":').concat(t.p,"}"):'{"e":'.concat(t.e,',"a":').concat(t.a,"}")}({e:r,a:a,p:o}),n?(s=null,[3,3]):[3,1];case 1:return[4,ht(u)];case 2:s=l.sent(),l.label=3;case 3:return z(2,(c=s)?c.length:u.length),De(u,c,Pn.sequence,n),xe=[],e&&(_e=[],Ne=0,Me=0),[2]}}))}))}function De(t,e,n,r){if(void 0===r&&(r=!1),"string"==typeof i.upload){var a=i.upload,o=!1;if(r&&"sendBeacon"in navigator)try{(o=navigator.sendBeacon.bind(navigator)(a,t))&&Xe(n)}catch(t){}if(!1===o){n in Oe?Oe[n].attempts++:Oe[n]={data:t,attempts:1};var u=new XMLHttpRequest;u.open("POST",a,!0),u.timeout=15e3,u.ontimeout=function(){Bn(new Error("".concat("Timeout"," : ").concat(a)))},null!==n&&(u.onreadystatechange=function(){Zn(We)(u,n)}),u.withCredentials=!0,e?(u.setRequestHeader("Accept","application/x-clarity-gzip"),u.send(e)):u.send(t)}}else if(i.upload){(0,i.upload)(t),Xe(n)}}function We(t,e){var n=Oe[e];t&&4===t.readyState&&n&&((t.status<200||t.status>208)&&n.attempts<=1?t.status>=400&&t.status<500?hn(6):(0===t.status&&(i.upload=i.fallback?i.fallback:i.upload),De(n.data,null,e)):(Te={sequence:e,attempts:n.attempts,status:t.status},n.attempts>1&&sn(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":hn(6);break;case"UPGRADE":$("Auto");break;case"ACTION":i.action&&o.length>1&&i.action(o[1]);break;case"EXTRACT":o.length>1&&$e(o[1])}}}(t.responseText),0===t.status&&(De(n.data,null,e,!0),hn(3)),t.status>=200&&t.status<=208&&Xe(e),delete Oe[e]))}function Xe(t){1===t&&Hn()}var ze,Ye={};function qe(t){var e=t.error||t;return e.message in Ye||(Ye[e.message]=0),Ye[e.message]++>=5||e&&e.message&&(ze={message:e.message,line:t.lineno,column:t.colno,stack:e.stack,source:t.filename},Re(31)),!0}function Re(t){return et(this,void 0,void 0,(function(){var e;return nt(this,(function(n){switch(e=[s(),t],t){case 31:e.push(ze.message),e.push(ze.line),e.push(ze.column),e.push(ze.stack),e.push(m(ze.source)),He(e);break;case 33:Pe&&(e.push(Pe.code),e.push(Pe.name),e.push(Pe.message),e.push(Pe.stack),e.push(Pe.severity),He(e,!1))}return[2]}))}))}var Pe,Le={};function Ue(t,e,n,r,a){void 0===n&&(n=null),void 0===r&&(r=null),void 0===a&&(a=null);var o=n?"".concat(n,"|").concat(r):"";t in Le&&Le[t].indexOf(o)>=0||(Pe={code:t,name:n,message:r,stack:a,severity:e},t in Le?Le[t].push(o):Le[t]=[o],Re(33))}var Ve,Je={},Be=new Set,Ze={},Ge={},Fe={},Ke={};function Qe(){nn()}function $e(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 Ze[r]={},Ge[r]={},Fe[r]={},Ke[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.substring(1,c.length);Ze[r][u]=on(l);break;case 2:Ge[r][u]=c;break;case 4:var d=c.substring(1,c.length);Fe[r][u]=d}}}catch(t){Ue(8,1,t?t.name:null)}}function tn(t){return JSON.parse(JSON.stringify(t))}function en(){try{for(var t in Ze){var e=parseInt(t);if(""==Ke[e]||document.querySelector(Ke[e])){var n=Ze[e];for(var r in n){var a=parseInt(r),o=(f=un(tn(n[a])))?JSON.stringify(f).substring(0,1e4):f;o&&rn(e,a,o)}var i=Ge[e];for(var u in i){var c=parseInt(u),s=document.querySelectorAll(i[c]);if(s)rn(e,c,Array.from(s).map((function(t){return t.textContent})).join("<SEP>").substring(0,1e4))}var l=Fe[e];for(var d in l){var h=parseInt(d);rn(e,h,(void l[h]).trim().substring(0,1e4))}}}Be.size>0&&sn(40)}catch(t){Ue(5,1,t?t.name:null)}var f}function nn(){Be.clear()}function rn(t,e,n){var r,a=!1;t in Je||(Je[t]={},a=!0),r=Fe[t],0==Object.keys(r).length||e in Je[t]&&Je[t][e]==n||(a=!0),Je[t][e]=n,a&&Be.add(t)}function an(){nn()}function on(t){for(var e=[],n=t.split(".");n.length>0;){var r=n.shift(),a=r.indexOf("["),o=r.indexOf("{"),i=r.indexOf("}");e.push({name:a>0?r.substring(0,a):o>0?r.substring(0,o):r,type:a>0?1:o>0?2:3,condition:o>0?r.substring(o+1,i):null})}return e}function un(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&&cn(a,r.condition))n=un(t,a);else if(Array.isArray(a)){for(var o=[],i=0,u=a;i<u.length;i++){var c=u[i];if(cn(c,r.condition)){var s=un(t,c);s&&o.push(s)}}n=o}return n}return null}function cn(t,e){if(e){var n=e.split(":");return n.length>1?t[n[0]]==n[1]:t[n[0]]}return!0}function sn(t){var e=[s(),t];switch(t){case 4:var n=x;n&&((e=[n.time,n.event]).push(n.data.visible),e.push(n.data.docWidth),e.push(n.data.docHeight),e.push(n.data.screenWidth),e.push(n.data.screenHeight),e.push(n.data.scrollX),e.push(n.data.scrollY),e.push(n.data.pointerX),e.push(n.data.pointerY),e.push(n.data.activityTime),He(e,!1)),T();break;case 25:e.push(A.gap),He(e);break;case 35:e.push(Ve.check),He(e,!1);break;case 3:e.push(Q.key),He(e);break;case 2:e.push(Te.sequence),e.push(Te.attempts),e.push(Te.status),He(e,!1);break;case 24:H.key&&e.push(H.key),e.push(H.value),He(e);break;case 34:var r=Object.keys(rt);if(r.length>0){for(var a=0,o=r;a<o.length;a++){var i=o[a];e.push(i),e.push(rt[i])}ct(),He(e,!1)}break;case 0:var u=Object.keys(W);if(u.length>0){for(var c=0,l=u;c<l.length;c++){var d=l[c],h=parseInt(d,10);e.push(h),e.push(Math.round(W[d]))}W={},He(e,!1)}break;case 1:var f=Object.keys(gn);if(f.length>0){for(var p=0,v=f;p<v.length;p++){var g=v[p];h=parseInt(g,10);e.push(h),e.push(gn[g])}kn(),He(e,!1)}break;case 36:var m=Object.keys(Z);if(m.length>0){for(var y=0,b=m;y<b.length;y++){var w=b[y];h=parseInt(w,10);e.push(h),e.push([].concat.apply([],Z[w]))}F(),He(e,!1)}break;case 40:Be.forEach((function(t){e.push(t);var n=[];for(var r in Je[t]){var a=parseInt(r,10);n.push(a),n.push(Je[t][r])}e.push(n)})),nn(),He(e,!1)}}function ln(){Ve={check:0}}function dn(t){if(0===Ve.check){var e=Ve.check;e=Pn.sequence>=128?1:e,e=Pn.pageNum>=128?7:e,e=s()>72e5?2:e,(e=t>10485760?2:e)!==Ve.check&&hn(e)}}function hn(t){Ve.check=t,jn(),pr()}function fn(){0!==Ve.check&&sn(35)}function pn(){Ve=null}var vn=null,gn=null;function mn(){vn={},gn={}}function yn(){vn={},gn={}}function bn(t,e){e&&(e="".concat(e),t in vn||(vn[t]=[]),vn[t].indexOf(e)<0&&(vn[t].push(e),t in gn||(gn[t]=[]),gn[t].push(e),vn[t].length>128&&hn(5)))}function wn(){sn(1)}function kn(){gn={}}var _n=null,xn=[],On=0,En=null;function Tn(){En=null;var t=navigator&&"userAgent"in navigator?navigator.userAgent:"",e=document&&document.title?document.title:"";On=t.indexOf("Electron")>0?1:0;var n,r=function(){var t={session:Dn(),ts:Math.round(Date.now()),count:1,upgrade:null,upload:""},e=zn("_clsk");if(e){var n=e.split("|");n.length>=5&&t.ts-Wn(n[1])<18e5&&(t.session=n[0],t.count=Wn(n[2])+1,t.upgrade=Wn(n[3]),t.upload=n.length>=6?"".concat("https://").concat(n[5],"/").concat(n[4]):"".concat("https://").concat(n[4]))}return t}(),a=Xn(),o=i.projectId||function(t,e){void 0===e&&(e=null);for(var n,r=5381,a=r,o=0;o<t.length;o+=2)r=(r<<5)+r^t.charCodeAt(o),o+1<t.length&&(a=(a<<5)+a^t.charCodeAt(o+1));return n=Math.abs(r+11579*a),(e?n%Math.pow(2,e):n).toString(36)}(location.host);_n={projectId:o,userId:a.id,sessionId:r.session,pageNum:r.count},i.lean=i.track&&null!==r.upgrade?0===r.upgrade:i.lean,i.upload=i.track&&"string"==typeof i.upload&&r.upload&&r.upload.length>"https://".length?r.upload:i.upload,bn(0,t),bn(3,e),bn(1,m(location.href,!!On)),bn(2,document.referrer),bn(15,function(){var t=Dn();if(i.track&&Cn(window,"sessionStorage")){var e=sessionStorage.getItem("_cltk");t=e||t,sessionStorage.setItem("_cltk",t)}return t}()),bn(16,document.documentElement.lang),bn(17,document.dir),bn(26,"".concat(window.devicePixelRatio)),bn(28,a.dob.toString()),bn(29,a.version.toString()),Y(0,r.ts),Y(1,0),Y(35,On),navigator&&(bn(9,navigator.language),Y(33,navigator.hardwareConcurrency),Y(32,navigator.maxTouchPoints),Y(34,Math.round(navigator.deviceMemory)),(n=navigator.userAgentData)&&n.getHighEntropyValues?n.getHighEntropyValues(["model","platform","platformVersion","uaFullVersion"]).then((function(t){var e;bn(22,t.platform),bn(23,t.platformVersion),null===(e=t.brands)||void 0===e||e.forEach((function(t){bn(24,t.name+"~"+t.version)})),bn(25,t.model),Y(27,t.mobile?1:0)})):bn(22,navigator.platform)),screen&&(Y(14,Math.round(screen.width)),Y(15,Math.round(screen.height)),Y(16,Math.round(screen.colorDepth)));for(var u=0,c=i.cookies;u<c.length;u++){var s=c[u],l=zn(s);l&&at(s,l)}An(a)}function Mn(){En=null,_n=null}function Nn(t,e){void 0===e&&(e=!0);var n=i.lean?0:1;_n&&(n||!1===e)?t(_n,!i.lean):xn.push({callback:t,wait:e})}function In(){return _n?[_n.userId,_n.sessionId,_n.pageNum].join("."):""}function Sn(t){if(void 0===t&&(t=!0),!t)return qn("_clsk","",0),qn("_clck","",0),pr(),void window.setTimeout(fr,250);sr()&&(i.track=!0,An(Xn(),1))}function jn(){qn("_clsk","",0)}function Hn(){var t=Math.round(Date.now()),e=i.upload&&"string"==typeof i.upload?i.upload.replace("https://",""):"",n=i.lean?0:1;!function(t){xn.length>0&&xn.forEach((function(e){!e.callback||e.wait&&!t||e.callback(_n,!i.lean)}))}(n),qn("_clsk",[_n.sessionId,t,_n.pageNum,n,e].join("|"),1)}function Cn(t,e){try{return!!t[e]}catch(t){return!1}}function An(t,e){void 0===e&&(e=null),e=null===e?t.consent:e;var n=Math.ceil((Date.now()+31536e6)/864e5),r=0===t.dob?null===i.dob?0:i.dob:t.dob;(null===t.expiry||Math.abs(n-t.expiry)>=1||t.consent!==e||t.dob!==r)&&qn("_clck",[_n.userId,2,n.toString(36),e,r].join("|"),365)}function Dn(){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 Wn(t,e){return void 0===e&&(e=10),parseInt(t,e)}function Xn(){var t={id:Dn(),version:0,expiry:null,consent:0,dob:0},e=zn("_clck");if(e&&e.length>0){for(var n=e.split("|"),r=0,a=0,o=document.cookie.split(";");a<o.length;a++){r+="_clck"===o[a].split("=")[0].trim()?1:0}if(1===n.length||r>1){var u="".concat(";").concat("expires=").concat(new Date(0).toUTCString()).concat(";path=/");document.cookie="".concat("_clck","=").concat(u),document.cookie="".concat("_clsk","=").concat(u)}n.length>1&&(t.version=Wn(n[1])),n.length>2&&(t.expiry=Wn(n[2],36)),n.length>3&&1===Wn(n[3])&&(t.consent=1),n.length>4&&Wn(n[1])>1&&(t.dob=Wn(n[4])),i.track=i.track||1===t.consent,t.id=i.track?n[0]:t.id}return t}function zn(t){var e;if(Cn(document,"cookie")){var n=document.cookie.split(";");if(n)for(var r=0;r<n.length;r++){var a=n[r].split("=");if(a.length>1&&a[0]&&a[0].trim()===t){for(var o=Yn(a[1]),i=o[0],u=o[1];i;)i=(e=Yn(u))[0],u=e[1];return u}}}return null}function Yn(t){try{var e=decodeURIComponent(t);return[e!=t,e]}catch(t){}return[!1,t]}function qn(t,e,n){if(i.track&&(navigator&&navigator.cookieEnabled||Cn(document,"cookie"))){var r=function(t){return encodeURIComponent(t)}(e),a=new Date;a.setDate(a.getDate()+n);var o=a?"expires="+a.toUTCString():"",u="".concat(t,"=").concat(r).concat(";").concat(o).concat(";path=/");try{if(null===En){for(var c=location.hostname?location.hostname.split("."):[],s=c.length-1;s>=0;s--)if(En=".".concat(c[s]).concat(En||""),s<c.length-1&&(document.cookie="".concat(u).concat(";").concat("domain=").concat(En),zn(t)===e))return;En=""}}catch(t){En=""}document.cookie=En?"".concat(u).concat(";").concat("domain=").concat(En):u}}var Rn,Pn=null;function Ln(){var t=_n;Pn={version:l,sequence:0,start:0,duration:0,projectId:t.projectId,userId:t.userId,sessionId:t.sessionId,pageNum:t.pageNum,upload:0,end:0}}function Un(){Pn=null}function Vn(t){return Pn.start=Pn.start+Pn.duration,Pn.duration=s()-Pn.start,Pn.sequence++,Pn.upload=t&&"sendBeacon"in navigator?1:0,Pn.end=t?1:0,[Pn.version,Pn.sequence,Pn.start,Pn.duration,Pn.projectId,Pn.userId,Pn.sessionId,Pn.pageNum,Pn.upload,Pn.end]}function Jn(){Rn=[]}function Bn(t){if(Rn&&-1===Rn.indexOf(t.message)){var e=i.report;if(e&&e.length>0){var n={v:Pn.version,p:Pn.projectId,u:Pn.userId,s:Pn.sessionId,n:Pn.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)),Rn.push(t.message)}}return t}function Zn(t){return function(){var e=performance.now();try{t.apply(this,arguments)}catch(t){throw Bn(t)}var n=performance.now()-e;z(4,n),n>30&&(X(7),Y(6,n))}}var Gn=[];function Fn(t,e,n,r){void 0===r&&(r=!1),n=Zn(n);try{t[u("addEventListener")](e,n,r),Gn.push({event:e,target:t,listener:n,capture:r})}catch(t){}}function Kn(){for(var t=0,e=Gn;t<e.length;t++){var n=e[t];try{n.target[u("removeEventListener")](n.event,n.listener,n.capture)}catch(t){}}Gn=[]}var Qn=null,$n=null,tr=null,er=0;function nr(){return!(er++>20)||(Ue(4,0),!1)}function rr(){er=0,tr!==or()&&(pr(),window.setTimeout(ar,250))}function ar(){fr(),Y(29,1)}function or(){return location.href?location.href.replace(location.hash,""):location.href}var ir=!1;function ur(){ir=!0,c=performance.now(),St(),Kn(),Jn(),tr=or(),er=0,Fn(window,"popstate",rr),null===Qn&&(Qn=history.pushState,history.pushState=function(){Qn.apply(this,arguments),sr()&&nr()&&rr()}),null===$n&&($n=history.replaceState,history.replaceState=function(){$n.apply(this,arguments),sr()&&nr()&&rr()})}function cr(){tr=null,er=0,Jn(),Kn(),St(),c=0,ir=!1}function sr(){return ir}function lr(t){if(null===t||ir)return!1;for(var e in t)e in i&&(i[e]=t[e]);return!0}function dr(){fr(),C("clarity","restart")}var hr=[Object.freeze({__proto__:null,start:function(){!function(){Y(26,navigator.webdriver?1:0);try{Y(31,window.top==window.self?1:2)}catch(t){Y(31,0)}}(),Fn(window,"error",qe),Ye={},Le={}},stop:function(){Le={}}}),ge,ae,Et];function fr(t){void 0===t&&(t=null),function(){try{return!1===ir&&"undefined"!=typeof Promise&&window.MutationObserver&&document.createTreeWalker&&"now"in Date&&"now"in performance&&"undefined"!=typeof WeakMap}catch(t){return!1}}()&&(lr(t),ur(),gt(),hr.forEach((function(t){return Zn(t.start)()})),null===t&&yr())}function pr(){sr()&&(hr.slice().reverse().forEach((function(t){return Zn(t.stop)()})),mt(),cr(),void 0!==gr&&(gr[mr]=function(){(gr[mr].q=gr[mr].q||[]).push(arguments),"start"===arguments[0]&&gr[mr].q.unshift(gr[mr].q.pop())&&yr()}))}var vr=Object.freeze({__proto__:null,consent:Sn,event:C,hashText:se,identify:ot,metadata:Nn,pause:function(){sr()&&(C("clarity","pause"),null===Nt&&(Nt=new Promise((function(t){It=t}))))},resume:function(){sr()&&(Nt&&(It(),Nt=null,null===Mt&&Ht()),C("clarity","resume"))},set:at,start:fr,stop:pr,upgrade:$,version:l}),gr=window,mr="clarity";function yr(){if(void 0!==gr){if(gr[mr]&&gr[mr].v)return console.warn("Error CL001: Multiple Clarity tags detected.");var t=gr[mr]&&gr[mr].q||[];for(gr[mr]=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return vr[t].apply(vr,e)},gr[mr].v=l;t.length>0;)gr[mr].apply(gr,t.shift())}}yr()}();
|
|
1
|
+
!function(){"use strict";var t=Object.freeze({__proto__:null,get queue(){return He},get start(){return je},get stop(){return Ce},get track(){return Te}}),e=Object.freeze({__proto__:null,get clone(){return tn},get compute(){return en},get data(){return Je},get keys(){return Be},get reset(){return nn},get start(){return Qe},get stop(){return an},get trigger(){return $e},get update(){return rn}}),n=Object.freeze({__proto__:null,get check(){return dn},get compute(){return fn},get data(){return Ve},get start(){return ln},get stop(){return pn},get trigger(){return hn}}),r=Object.freeze({__proto__:null,get compute(){return wn},get data(){return vn},get log(){return bn},get reset(){return kn},get start(){return mn},get stop(){return yn},get updates(){return gn}}),a=Object.freeze({__proto__:null,get callbacks(){return xn},get clear(){return jn},get consent(){return Sn},get data(){return _n},get electron(){return On},get id(){return In},get metadata(){return Nn},get save(){return Hn},get shortid(){return Dn},get start(){return Tn},get stop(){return Mn}}),o=Object.freeze({__proto__:null,get data(){return Pn},get envelope(){return Vn},get start(){return Ln},get stop(){return Un}}),i={projectId:null,delay:1e3,lean:!1,track:!0,content:!0,drop:[],mask:[],unmask:[],regions:[],cookies:[],fraud:!0,checksum:[],report:null,upload:null,fallback:null,upgrade:null,action:null,dob:null};function u(t){return window.Zone&&"__symbol__"in window.Zone?window.Zone.__symbol__(t):t}var c=0;function s(t){void 0===t&&(t=null);var e=t&&t.timeStamp>0?t.timeStamp:performance.now();return Math.max(Math.round(e-c),0)}var l="0.7.21";var d=/\S/gi,h=!0,f=null,p=null,v=null;function g(t,e,n,r){if(void 0===r&&(r=!1),t)switch(n){case 0:return t;case 1:switch(e){case"*T":case"value":case"placeholder":case"click":return function(t){var e=-1,n=0,r=!1,a=!1,o=!1,i=null;_();for(var u=0;u<t.length;u++){var c=t.charCodeAt(u);if(r=r||c>=48&&c<=57,a=a||64===c,o=9===c||10===c||13===c||32===c,0===u||u===t.length-1||o){if(r||a){null===i&&(i=t.split(""));var s=t.substring(e+1,o?u:u+1);s=h&&null!==v?s.match(v)?s:w(s,"▪","▫"):b(s),i.splice(e+1-n,s.length,s),n+=s.length-1}o&&(r=!1,a=!1,e=u)}}return i?i.join(""):t}(t);case"input":case"change":return k(t)}return t;case 2:case 3:switch(e){case"*T":case"data-":return r?y(t):b(t);case"src":case"srcset":case"title":case"alt":return 3===n?"":t;case"value":case"click":case"input":case"change":return k(t);case"placeholder":return b(t)}break;case 4:switch(e){case"*T":case"data-":return r?y(t):b(t);case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":return""}break;case 5:switch(e){case"*T":case"data-":return w(t,"▪","▫");case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":case"src":case"srcset":case"alt":case"title":return""}}return t}function m(t,e){if(void 0===e&&(e=!1),e)return"".concat("https://").concat("Electron");var n=i.drop;if(n&&n.length>0&&t&&t.indexOf("?")>0){var r=t.split("?"),a=r[0],o=r[1];return a+"?"+o.split("&").map((function(t){return n.some((function(e){return 0===t.indexOf("".concat(e,"="))}))?"".concat(t.split("=")[0],"=").concat("*na*"):t})).join("&")}return t}function y(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 b(t){return t.replace(d,"•")}function w(t,e,n){return _(),t?t.replace(p,e).replace(f,n):t}function k(t){for(var e=5*(Math.floor(t.length/5)+1),n="",r=0;r<e;r++)n+=r>0&&r%5==0?" ":"•";return n}function _(){if(h&&null===f)try{f=new RegExp("\\p{N}","gu"),p=new RegExp("\\p{L}","gu"),v=new RegExp("\\p{Sc}","gu")}catch(t){h=!1}}var x=null,O=null,E=!1;function T(){E&&(x={time:s(),event:4,data:{visible:O.visible,docWidth:O.docWidth,docHeight:O.docHeight,screenWidth:O.screenWidth,screenHeight:O.screenHeight,scrollX:O.scrollX,scrollY:O.scrollY,pointerX:O.pointerX,pointerY:O.pointerY,activityTime:O.activityTime}}),O=O||{visible:1,docWidth:0,docHeight:0,screenWidth:0,screenHeight:0,scrollX:0,scrollY:0,pointerX:0,pointerY:0,activityTime:0}}function M(t,e,n){switch(t){case 8:O.docWidth=e,O.docHeight=n;break;case 11:O.screenWidth=e,O.screenHeight=n;break;case 10:O.scrollX=e,O.scrollY=n;break;default:O.pointerX=e,O.pointerY=n}E=!0}function N(t){O.activityTime=t}function I(t,e){O.visible="visible"===e?1:0,O.visible||N(t),E=!0}function S(){E&&sn(4)}var j=Object.freeze({__proto__:null,activity:N,compute:S,reset:T,start:function(){E=!1,T()},get state(){return x},stop:function(){T()},track:M,visibility:I}),H=null;function C(t,e){sr()&&t&&"string"==typeof t&&t.length<255&&(H=e&&"string"==typeof e&&e.length<255?{key:t,value:e}:{value:t},sn(24))}var A,D=null,W=null;function X(t){t in D||(D[t]=0),t in W||(W[t]=0),D[t]++,W[t]++}function z(t,e){null!==e&&(t in D||(D[t]=0),t in W||(W[t]=0),D[t]+=e,W[t]+=e)}function Y(t,e){null!==e&&!1===isNaN(e)&&(t in D||(D[t]=0),(e>D[t]||0===D[t])&&(W[t]=e,D[t]=e))}function q(t,e,n){return window.setTimeout(Zn(t),e,n)}function R(t){return window.clearTimeout(t)}var P=0,L=0,U=null;function V(){U&&R(U),U=q(J,L),P=s()}function J(){var t=s();A={gap:t-P},sn(25),A.gap<3e5?U=q(J,L):ir&&(C("clarity","suspend"),pr(),["mousemove","touchstart"].forEach((function(t){return Fn(document,t,dr)})),["resize","scroll","pageshow"].forEach((function(t){return Fn(window,t,dr)})))}var B=Object.freeze({__proto__:null,get data(){return A},reset:V,start:function(){L=6e4,P=0},stop:function(){R(U),P=0,L=0}}),Z=null;function G(){sn(36)}function F(){Z={}}var K=Object.freeze({__proto__:null,compute:G,get data(){return Z},reset:F,start:function(){Z={}},stop:function(){Z={}},track:function(t,e){if(t in Z){var n=Z[t],r=n[n.length-1];e-r[0]>100?Z[t].push([e,0]):r[1]=e-r[0]}else Z[t]=[[e,0]]}}),Q=null;function $(t){sr()&&i.lean&&(i.lean=!1,Q={key:t},Hn(),i.upgrade&&i.upgrade(t),sn(3))}var tt=Object.freeze({__proto__:null,get data(){return Q},start:function(){!i.lean&&i.upgrade&&i.upgrade("Config"),Q=null},stop:function(){Q=null},upgrade:$});function et(t,e,n,r){return new(n||(n=Promise))((function(a,o){function i(t){try{c(r.next(t))}catch(t){o(t)}}function u(t){try{c(r.throw(t))}catch(t){o(t)}}function c(t){var e;t.done?a(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(i,u)}c((r=r.apply(t,e||[])).next())}))}function nt(t,e){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(u){return function(c){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,u[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&u[0]?r.return:u[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,u[1])).done)return a;switch(r=0,a&&(u=[2&u[0],a.value]),u[0]){case 0:case 1:a=u;break;case 4:return i.label++,{value:u[1],done:!1};case 5:i.label++,r=u[1],u=[0];continue;case 7:u=i.ops.pop(),i.trys.pop();continue;default:if(!(a=i.trys,(a=a.length>0&&a[a.length-1])||6!==u[0]&&2!==u[0])){i=0;continue}if(3===u[0]&&(!a||u[1]>a[0]&&u[1]<a[3])){i.label=u[1];break}if(6===u[0]&&i.label<a[1]){i.label=a[1],a=u;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(u);break}a[2]&&i.ops.pop(),i.trys.pop();continue}u=e.call(t,i)}catch(t){u=[6,t],r=0}finally{n=a=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,c])}}}var rt=null;function at(t,e){it(t,"string"==typeof e?[e]:e)}function ot(t,e,n,r){return void 0===e&&(e=null),void 0===n&&(n=null),void 0===r&&(r=null),et(this,void 0,void 0,(function(){var a,o;return nt(this,(function(i){switch(i.label){case 0:return o={},[4,st(t)];case 1:return o.userId=i.sent(),o.userHint=r||((u=t)&&u.length>=5?"".concat(u.substring(0,2)).concat(w(u.substring(2),"*","*")):w(u,"*","*")),it("userId",[(a=o).userId]),it("userHint",[a.userHint]),it("userType",[lt(t)]),e&&(it("sessionId",[e]),a.sessionId=e),n&&(it("pageId",[n]),a.pageId=n),[2,a]}var u}))}))}function it(t,e){if(sr()&&t&&e&&"string"==typeof t&&t.length<255){for(var n=(t in rt?rt[t]:[]),r=0;r<e.length;r++)"string"==typeof e[r]&&e[r].length<255&&n.push(e[r]);rt[t]=n}}function ut(){sn(34)}function ct(){rt={}}function st(t){return et(this,void 0,void 0,(function(){var e;return nt(this,(function(n){switch(n.label){case 0:return n.trys.push([0,4,,5]),crypto&&t?[4,crypto.subtle.digest("SHA-256",(new TextEncoder).encode(t))]:[3,2];case 1:return e=n.sent(),[2,Array.prototype.map.call(new Uint8Array(e),(function(t){return("00"+t.toString(16)).slice(-2)})).join("")];case 2:return[2,""];case 3:return[3,5];case 4:return n.sent(),[2,""];case 5:return[2]}}))}))}function lt(t){return t&&t.indexOf("@")>0?"email":"string"}var dt="CompressionStream"in window;function ht(t){return et(this,void 0,void 0,(function(){var e,n;return nt(this,(function(r){switch(r.label){case 0:return r.trys.push([0,3,,4]),dt?(e=new ReadableStream({start:function(e){return et(this,void 0,void 0,(function(){return nt(this,(function(n){return e.enqueue(t),e.close(),[2]}))}))}}).pipeThrough(new TextEncoderStream).pipeThrough(new window.CompressionStream("gzip")),n=Uint8Array.bind,[4,ft(e)]):[3,2];case 1:return[2,new(n.apply(Uint8Array,[void 0,r.sent()]))];case 2:return[3,4];case 3:return r.sent(),[3,4];case 4:return[2,null]}}))}))}function ft(t){return et(this,void 0,void 0,(function(){var e,n,r,a,o;return nt(this,(function(i){switch(i.label){case 0:e=t.getReader(),n=[],r=!1,a=[],i.label=1;case 1:return r?[3,3]:[4,e.read()];case 2:return o=i.sent(),r=o.done,a=o.value,r?[2,n]:(n.push.apply(n,a),[3,1]);case 3:return[2,n]}}))}))}var pt,vt=[j,r,Object.freeze({__proto__:null,compute:ut,get data(){return rt},identify:ot,reset:ct,set:at,start:function(){ct()},stop:function(){ct()}}),n,K,a,o,t,B,tt,e];function gt(){D={},W={},X(5),vt.forEach((function(t){return Zn(t.start)()}))}function mt(){vt.slice().reverse().forEach((function(t){return Zn(t.stop)()})),D={},W={}}function yt(){ut(),S(),wn(),sn(0),G(),fn(),en()}function bt(t){return et(this,void 0,void 0,(function(){var e,n,r,a,o,i,u,c,l,d,h,f,p;return nt(this,(function(v){switch(e=s(),n=[e,t],t){case 8:r=pt,n.push(r.width),n.push(r.height),M(t,r.width,r.height),He(n);break;case 43:if((a=oe).length>0){for(o=0,i=a;o<i.length;o++)for(u=i[o],c=u.metadata.privacy,l=u.data,d=0,h=["tag","attributes","value"];d<h.length;d++)if(l[f=h[d]])switch(f){case"tag":n.push(u.id),u.parent&&n.push(u.parent),u.previous&&n.push(u.previous),n.push(l[f]);break;case"attributes":for(p in l[f])void 0!==l[f][p]&&n.push(wt(p,l[f][p],c));break;case"value":n.push(g(l[f],l.tag,c))}He(function(t){for(var e=[],n={},r=0,a=null,o=0;o<t.length;o++)if("string"==typeof t[o]){var i=t[o],u=n[i]||-1;u>=0?a?a.push(u):(a=[u],e.push(a),r++):(a=null,e.push(i),n[i]=r++)}else a=null,e.push(t[o]),r++;return e}(n),!0)}}return[2]}))}))}function wt(t,e,n){return"".concat(t,"=").concat(g(e,0===t.indexOf("data-")?"data-":t,n))}function kt(){pt=null}function _t(){var t,e,n,r,a,o,i,u,c,s,l,d,h,f,p,v;kt(),t=document.body,e=document.documentElement,n=t?t.clientWidth:null,r=t?t.scrollWidth:null,a=t?t.offsetWidth:null,o=e?e.clientWidth:null,i=e?e.scrollWidth:null,u=e?e.offsetWidth:null,c=Math.max(n,r,a,o,i,u),s=t?t.clientHeight:null,l=t?t.scrollHeight:null,d=t?t.offsetHeight:null,h=e?e.clientHeight:null,f=e?e.scrollHeight:null,p=e?e.offsetHeight:null,v=Math.max(s,l,d,h,f,p),null!==pt&&c===pt.width&&v===pt.height||null===c||null===v||(pt={width:c,height:v},bt(8))}var xt=[],Ot=null;var Et=Object.freeze({__proto__:null,checkDocumentStyles:function(t){},compute:function(){},data:Ot,log:function(){},observe:function(){},reset:function(){},start:function(){},state:xt,stop:function(){}}),Tt=[],Mt=null,Nt=null,It=null;function St(){Tt=[],Mt=null,Nt=null}function jt(t,e){return void 0===e&&(e=0),et(this,void 0,void 0,(function(){var n,r,a;return nt(this,(function(o){for(n=0,r=Tt;n<r.length;n++)if(r[n].task===t)return[2];return a=new Promise((function(n){Tt[1===e?"unshift":"push"]({task:t,resolve:n,id:In()})})),null===Mt&&null===Nt&&Ht(),[2,a]}))}))}function Ht(){var t=Tt.shift();t&&(Mt=t,t.task().then((function(){t.id===In()&&(t.resolve(),Mt=null,Ht())})).catch((function(e){t.id===In()&&(e&&Ue(0,1,e.name,e.message,e.stack),Mt=null,Ht())})))}var Ct,At=["input","textarea","radio","button","canvas"],Dt=[];function Wt(t){Fn(t,"click",Xt.bind(this,9,t),!0)}function Xt(t,e,n){var r=document.documentElement,a="pageX"in n?Math.round(n.pageX):"clientX"in n?Math.round(n.clientX+r.scrollLeft):null,o="pageY"in n?Math.round(n.pageY):"clientY"in n?Math.round(n.clientY+r.scrollTop):null,i=le(n),u=function(t){for(;t&&t!==document;){if(t.nodeType===Node.ELEMENT_NODE){var e=t;if("A"===e.tagName)return e}t=t.parentNode}return null}(i),c=function(t){var e=null,n=document.documentElement;if("function"==typeof t.getBoundingClientRect){var r=t.getBoundingClientRect();r&&r.width>0&&r.height>0&&(e={x:Math.floor(r.left+("pageXOffset"in window?window.pageXOffset:n.scrollLeft)),y:Math.floor(r.top+("pageYOffset"in window?window.pageYOffset:n.scrollTop)),w:Math.floor(r.width),h:Math.floor(r.height)})}return e}(i);0===n.detail&&c&&(a=Math.round(c.x+c.w/2),o=Math.round(c.y+c.h/2));var l=c?Math.max(Math.floor((a-c.x)/c.w*32767),0):0,d=c?Math.max(Math.floor((o-c.y)/c.h*32767),0):0;null!==a&&null!==o&&(Dt.push({time:s(n),event:t,data:{target:i,x:a,y:o,eX:l,eY:d,button:n.button,reaction:Yt(i),context:qt(u),text:zt(i),link:u?u.href:null,hash:null,trust:n.isTrusted?1:0}}),jt(me.bind(this,t)))}function zt(t){var e=null;if(t){var n=t.textContent||t.value||t.alt;n&&(e=n.replace(/\s+/g," ").trim().substr(0,25))}return e}function Yt(t){if(t.nodeType===Node.ELEMENT_NODE){var e=t.tagName.toLowerCase();if(At.indexOf(e)>=0)return 0}return 1}function qt(t){if(t&&t.hasAttribute("target"))switch(t.getAttribute("target")){case"_blank":return 1;case"_parent":return 2;case"_top":return 3}return 0}function Rt(){Dt=[]}function Pt(){var t=document.documentElement;Ct={width:t&&"clientWidth"in t?Math.min(t.clientWidth,window.innerWidth):window.innerWidth,height:t&&"clientHeight"in t?Math.min(t.clientHeight,window.innerHeight):window.innerHeight},me(11)}function Lt(){Ct=null}var Ut=[],Vt=null;function Jt(t){void 0===t&&(t=null);var e=window,n=document.documentElement,r=t?le(t):n;if(r&&r.nodeType===Node.DOCUMENT_NODE){r=n=r.documentElement}var a=r===n&&"pageXOffset"in e?Math.round(e.pageXOffset):Math.round(r.scrollLeft),o=r===n&&"pageYOffset"in e?Math.round(e.pageYOffset):Math.round(r.scrollTop),i={time:s(t),event:10,data:{target:r,x:a,y:o}};if((null!==t||0!==a||0!==o)&&null!==a&&null!==o){var u=Ut.length,c=u>1?Ut[u-2]:null;c&&function(t,e){var n=t.data.x-e.data.x,r=t.data.y-e.data.y;return n*n+r*r<400&&e.time-t.time<25}(c,i)&&Ut.pop(),Ut.push(i),R(Vt),Vt=q(Bt,500,10)}}function Bt(t){jt(me.bind(this,t))}var Zt,Gt,Ft=[];function Kt(t){Ft.push({time:s(t),event:39,data:{target:le(t)}}),jt(me.bind(this,39))}function Qt(){Ft=[]}function $t(t){Zt={name:t.type},me(26,s(t)),pr()}function te(){Zt=null}function ee(t){void 0===t&&(t=null),Gt={visible:"visibilityState"in document?document.visibilityState:"default"},me(28,s(t))}function ne(){Gt=null}function re(t){!function(t){Fn(t===document?window:t,"scroll",Jt,!0)}(t),t.nodeType===Node.DOCUMENT_NODE&&(Wt(t),function(t){Fn(t,"submit",Kt,!0)}(t))}var ae=Object.freeze({__proto__:null,observe:re,start:function(){ye=[],we(),Rt(),Fn(window,"resize",Pt),Pt(),Fn(document,"visibilitychange",ee),ee(),Ut=[],Jt(),Qt(),Fn(window,"pagehide",$t)},stop:function(){ye=[],we(),Rt(),Lt(),ne(),R(Vt),Ut=[],Qt(),te()}}),oe=[],ie=1,ue=null;function ce(){return!1}function se(){}function le(t){var e=t.composed&&t.composedPath?t.composedPath():null,n=e&&e.length>0?e[0]:t.target;return n.nodeType===Node.DOCUMENT_NODE?n.documentElement:n}function de(t){var e={id:0,hash:null,privacy:5,node:t};return t&&(e.id=ue.has(t)?ue.get(t):pe(t)),e}function he(){ue=new WeakMap}function fe(t){var e={},n=t.attributes;if(n&&n.length>0)for(var r=0;r<n.length;r++)e[n[r].name]=n[r].value;return e}function pe(t){return null===t?null:ue.has(t)?ue.get(t):(ue.set(t,ie),ie++)}function ve(t,e,n){if(t&&n&&n.tag){var r=pe(t),a=e?ue.get(e):null,o=t.previousSibling?ue.get(t.previousSibling):null;oe.push({id:r,parent:a,previous:o,children:[],data:n,selector:null,hash:null,region:null,metadata:{active:!0,suspend:!1,privacy:5,position:null,fraud:null,size:null}})}}var ge=Object.freeze({__proto__:null,compute:function(){},hashText:se,iframe:ce,metadata:de,offset:function(){return{x:0,y:0}},snapshot:function(){oe=[],function(t){var e=[t];for(;e.length>0;){for(var n=null,r=null,a=null,o=e.shift(),i=o.firstChild,u=o.parentElement?o.parentElement:o.parentNode?o.parentNode:null;i;)e.push(i),i=i.nextSibling;switch(o.nodeType){case Node.DOCUMENT_TYPE_NODE:var c=o;r="*D",n={name:c.name,publicId:c.publicId,systemId:c.systemId};break;case Node.TEXT_NODE:a=o.nodeValue,r=ue.get(u)?"*T":r;break;case Node.ELEMENT_NODE:var s=o;n=fe(s),r=["NOSCRIPT","SCRIPT","STYLE"].indexOf(s.tagName)<0?s.tagName:r}ve(o,u,{tag:r,attributes:n,value:a})}}(document),bt(43)},start:function(){he(),_t(),pe(document.documentElement),re(document)},stop:function(){he(),kt()},target:le,get values(){return oe}});function me(t,e){return void 0===e&&(e=null),et(this,void 0,void 0,(function(){var n,r,a,o,i,u,c,l,d,h,f,p,v,y,b,w,k,_,x,O,E,T,N,S,j,H,C,A,D,W,X;return nt(this,(function(z){switch(n=e||s(),r=[n,t],t){case 13:case 14:case 12:case 15:case 16:case 17:case 18:case 19:case 20:for(a=0,o=xt;a<o.length;a++)W=o[a],(i=de(W.data.target,W.event)).id>0&&((r=[W.time,W.event]).push(i.id),r.push(W.data.x),r.push(W.data.y),He(r),M(W.event,W.data.x,W.data.y));break;case 9:for(u=0,c=Dt;u<c.length;u++)W=c[u],l=de(W.data.target,W.event,W.data.text),r=[W.time,W.event],d=l.hash?l.hash.join("."):"",r.push(l.id),r.push(W.data.x),r.push(W.data.y),r.push(W.data.eX),r.push(W.data.eY),r.push(W.data.button),r.push(W.data.reaction),r.push(W.data.context),r.push(g(W.data.text,"click",l.privacy)),r.push(m(W.data.link)),r.push(d),r.push(W.data.trust),He(r),ke(W.time,W.event,d,W.data.x,W.data.y,W.data.reaction,W.data.context);Rt();break;case 38:for(h=0,f=xt;h<f.length;h++)W=f[h],r=[W.time,W.event],(C=de(W.data.target,W.event)).id>0&&(r.push(C.id),r.push(W.data.action),He(r));break;case 11:p=Ct,r.push(p.width),r.push(p.height),M(t,p.width,p.height),Lt(),He(r);break;case 26:v=Zt,r.push(v.name),te(),He(r);break;case 27:for(y=0,b=xt;y<b.length;y++)W=b[y],w=de(W.data.target,W.event,W.data.value),(r=[W.time,W.event]).push(w.id),r.push(g(W.data.value,"input",w.privacy)),He(r);break;case 21:(k=Ot)&&(_=de(k.start),x=de(k.end),r.push(_.id),r.push(k.startOffset),r.push(x.id),r.push(k.endOffset),He(r));break;case 10:for(O=0,E=Ut;O<E.length;O++)W=E[O],(T=de(W.data.target,W.event)).id>0&&((r=[W.time,W.event]).push(T.id),r.push(W.data.x),r.push(W.data.y),He(r),M(W.event,W.data.x,W.data.y));Ut=[];break;case 42:for(N=0,S=xt;N<S.length;N++)W=S[N],r=[W.time,W.event],(C=de(W.data.target,W.event)).id>0&&((r=[W.time,W.event]).push(C.id),r.push(W.data.type),r.push(g(W.data.value,"change",C.privacy)),r.push(g(W.data.checksum,"checksum",C.privacy)),He(r));break;case 39:for(j=0,H=Ft;j<H.length;j++)W=H[j],r=[W.time,W.event],(C=de(W.data.target,W.event)).id>0&&(r.push(C.id),He(r));Qt();break;case 22:for(A=0,D=be;A<D.length;A++)W=D[A],(r=[W.time,W.event]).push(W.data.type),r.push(W.data.hash),r.push(W.data.x),r.push(W.data.y),r.push(W.data.reaction),r.push(W.data.context),He(r,!1);we();break;case 28:X=Gt,r.push(X.visible),He(r),I(n,X.visible),ne()}return[2]}))}))}var ye=[],be=[];function we(){be=[]}function ke(t,e,n,r,a,o,i){void 0===o&&(o=1),void 0===i&&(i=0),ye.push({time:t,event:22,data:{type:e,hash:n,x:r,y:a,reaction:o,context:i}}),M(e,r,a)}var _e,xe,Oe,Ee,Te,Me=0,Ne=0,Ie=null,Se=0;function je(){Ee=!0,Me=0,Ne=0,Se=0,_e=[],xe=[],Oe={},Te=null}function He(t,e){if(void 0===e&&(e=!0),Ee){var n=s(),r=t.length>1?t[1]:null,a=JSON.stringify(t);switch(r){case 5:Me+=a.length;case 37:case 6:case 43:case 45:case 46:Ne+=a.length,_e.push(a);break;default:xe.push(a)}X(25);var o=function(){var t=!1===i.lean&&Me>0?100:Pn.sequence*i.delay;return"string"==typeof i.upload?Math.max(Math.min(t,3e4),100):i.delay}();n-Se>2*o&&(R(Ie),Ie=null),e&&null===Ie&&(25!==r&&V(),Ie=q(Ae,o),Se=n,dn(Ne))}}function Ce(){R(Ie),Ae(!0),Me=0,Ne=0,Se=0,_e=[],xe=[],Oe={},Te=null,Ee=!1}function Ae(t){return void 0===t&&(t=!1),et(this,void 0,void 0,(function(){var e,n,r,a,o,u,c,s;return nt(this,(function(l){switch(l.label){case 0:return Ie=null,(e=!1===i.lean&&Ne>0&&(Ne<1048576||Pn.sequence>0))&&Y(1,1),function(){var t=[];be=[];for(var e=Pn.start+Pn.duration,n=Math.max(e-2e3,0),r=0,a=ye;r<a.length;r++){var o=a[r];o.time>=n&&(o.time<=e&&be.push(o),t.push(o))}ye=t,me(22)}(),yt(),n=!0===t,r=JSON.stringify(Vn(n)),a="[".concat(xe.join(),"]"),o=e?"[".concat(_e.join(),"]"):"",u=function(t){return t.p.length>0?'{"e":'.concat(t.e,',"a":').concat(t.a,',"p":').concat(t.p,"}"):'{"e":'.concat(t.e,',"a":').concat(t.a,"}")}({e:r,a:a,p:o}),n?(s=null,[3,3]):[3,1];case 1:return[4,ht(u)];case 2:s=l.sent(),l.label=3;case 3:return z(2,(c=s)?c.length:u.length),De(u,c,Pn.sequence,n),xe=[],e&&(_e=[],Ne=0,Me=0),[2]}}))}))}function De(t,e,n,r){if(void 0===r&&(r=!1),"string"==typeof i.upload){var a=i.upload,o=!1;if(r&&"sendBeacon"in navigator)try{(o=navigator.sendBeacon.bind(navigator)(a,t))&&Xe(n)}catch(t){}if(!1===o){n in Oe?Oe[n].attempts++:Oe[n]={data:t,attempts:1};var u=new XMLHttpRequest;u.open("POST",a,!0),u.timeout=15e3,u.ontimeout=function(){Bn(new Error("".concat("Timeout"," : ").concat(a)))},null!==n&&(u.onreadystatechange=function(){Zn(We)(u,n)}),u.withCredentials=!0,e?(u.setRequestHeader("Accept","application/x-clarity-gzip"),u.send(e)):u.send(t)}}else if(i.upload){(0,i.upload)(t),Xe(n)}}function We(t,e){var n=Oe[e];t&&4===t.readyState&&n&&((t.status<200||t.status>208)&&n.attempts<=1?t.status>=400&&t.status<500?hn(6):(0===t.status&&(i.upload=i.fallback?i.fallback:i.upload),De(n.data,null,e)):(Te={sequence:e,attempts:n.attempts,status:t.status},n.attempts>1&&sn(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":hn(6);break;case"UPGRADE":$("Auto");break;case"ACTION":i.action&&o.length>1&&i.action(o[1]);break;case"EXTRACT":o.length>1&&$e(o[1])}}}(t.responseText),0===t.status&&(De(n.data,null,e,!0),hn(3)),t.status>=200&&t.status<=208&&Xe(e),delete Oe[e]))}function Xe(t){1===t&&Hn()}var ze,Ye={};function qe(t){var e=t.error||t;return e.message in Ye||(Ye[e.message]=0),Ye[e.message]++>=5||e&&e.message&&(ze={message:e.message,line:t.lineno,column:t.colno,stack:e.stack,source:t.filename},Re(31)),!0}function Re(t){return et(this,void 0,void 0,(function(){var e;return nt(this,(function(n){switch(e=[s(),t],t){case 31:e.push(ze.message),e.push(ze.line),e.push(ze.column),e.push(ze.stack),e.push(m(ze.source)),He(e);break;case 33:Pe&&(e.push(Pe.code),e.push(Pe.name),e.push(Pe.message),e.push(Pe.stack),e.push(Pe.severity),He(e,!1))}return[2]}))}))}var Pe,Le={};function Ue(t,e,n,r,a){void 0===n&&(n=null),void 0===r&&(r=null),void 0===a&&(a=null);var o=n?"".concat(n,"|").concat(r):"";t in Le&&Le[t].indexOf(o)>=0||(Pe={code:t,name:n,message:r,stack:a,severity:e},t in Le?Le[t].push(o):Le[t]=[o],Re(33))}var Ve,Je={},Be=new Set,Ze={},Ge={},Fe={},Ke={};function Qe(){nn()}function $e(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 Ze[r]={},Ge[r]={},Fe[r]={},Ke[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.substring(1,c.length);Ze[r][u]=on(l);break;case 2:Ge[r][u]=c;break;case 4:var d=c.substring(1,c.length);Fe[r][u]=d}}}catch(t){Ue(8,1,t?t.name:null)}}function tn(t){return JSON.parse(JSON.stringify(t))}function en(){try{for(var t in Ze){var e=parseInt(t);if(""==Ke[e]||document.querySelector(Ke[e])){var n=Ze[e];for(var r in n){var a=parseInt(r),o=(f=un(tn(n[a])))?JSON.stringify(f).substring(0,1e4):f;o&&rn(e,a,o)}var i=Ge[e];for(var u in i){var c=parseInt(u),s=document.querySelectorAll(i[c]);if(s)rn(e,c,Array.from(s).map((function(t){return t.textContent})).join("<SEP>").substring(0,1e4))}var l=Fe[e];for(var d in l){var h=parseInt(d);rn(e,h,(void l[h]).trim().substring(0,1e4))}}}Be.size>0&&sn(40)}catch(t){Ue(5,1,t?t.name:null)}var f}function nn(){Be.clear()}function rn(t,e,n){var r,a=!1;t in Je||(Je[t]={},a=!0),r=Fe[t],0==Object.keys(r).length||e in Je[t]&&Je[t][e]==n||(a=!0),Je[t][e]=n,a&&Be.add(t)}function an(){nn()}function on(t){for(var e=[],n=t.split(".");n.length>0;){var r=n.shift(),a=r.indexOf("["),o=r.indexOf("{"),i=r.indexOf("}");e.push({name:a>0?r.substring(0,a):o>0?r.substring(0,o):r,type:a>0?1:o>0?2:3,condition:o>0?r.substring(o+1,i):null})}return e}function un(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&&cn(a,r.condition))n=un(t,a);else if(Array.isArray(a)){for(var o=[],i=0,u=a;i<u.length;i++){var c=u[i];if(cn(c,r.condition)){var s=un(t,c);s&&o.push(s)}}n=o}return n}return null}function cn(t,e){if(e){var n=e.split(":");return n.length>1?t[n[0]]==n[1]:t[n[0]]}return!0}function sn(t){var e=[s(),t];switch(t){case 4:var n=x;n&&((e=[n.time,n.event]).push(n.data.visible),e.push(n.data.docWidth),e.push(n.data.docHeight),e.push(n.data.screenWidth),e.push(n.data.screenHeight),e.push(n.data.scrollX),e.push(n.data.scrollY),e.push(n.data.pointerX),e.push(n.data.pointerY),e.push(n.data.activityTime),He(e,!1)),T();break;case 25:e.push(A.gap),He(e);break;case 35:e.push(Ve.check),He(e,!1);break;case 3:e.push(Q.key),He(e);break;case 2:e.push(Te.sequence),e.push(Te.attempts),e.push(Te.status),He(e,!1);break;case 24:H.key&&e.push(H.key),e.push(H.value),He(e);break;case 34:var r=Object.keys(rt);if(r.length>0){for(var a=0,o=r;a<o.length;a++){var i=o[a];e.push(i),e.push(rt[i])}ct(),He(e,!1)}break;case 0:var u=Object.keys(W);if(u.length>0){for(var c=0,l=u;c<l.length;c++){var d=l[c],h=parseInt(d,10);e.push(h),e.push(Math.round(W[d]))}W={},He(e,!1)}break;case 1:var f=Object.keys(gn);if(f.length>0){for(var p=0,v=f;p<v.length;p++){var g=v[p];h=parseInt(g,10);e.push(h),e.push(gn[g])}kn(),He(e,!1)}break;case 36:var m=Object.keys(Z);if(m.length>0){for(var y=0,b=m;y<b.length;y++){var w=b[y];h=parseInt(w,10);e.push(h),e.push([].concat.apply([],Z[w]))}F(),He(e,!1)}break;case 40:Be.forEach((function(t){e.push(t);var n=[];for(var r in Je[t]){var a=parseInt(r,10);n.push(a),n.push(Je[t][r])}e.push(n)})),nn(),He(e,!1)}}function ln(){Ve={check:0}}function dn(t){if(0===Ve.check){var e=Ve.check;e=Pn.sequence>=128?1:e,e=Pn.pageNum>=128?7:e,e=s()>72e5?2:e,(e=t>10485760?2:e)!==Ve.check&&hn(e)}}function hn(t){Ve.check=t,jn(),pr()}function fn(){0!==Ve.check&&sn(35)}function pn(){Ve=null}var vn=null,gn=null;function mn(){vn={},gn={}}function yn(){vn={},gn={}}function bn(t,e){e&&(e="".concat(e),t in vn||(vn[t]=[]),vn[t].indexOf(e)<0&&(vn[t].push(e),t in gn||(gn[t]=[]),gn[t].push(e),vn[t].length>128&&hn(5)))}function wn(){sn(1)}function kn(){gn={}}var _n=null,xn=[],On=0,En=null;function Tn(){En=null;var t=navigator&&"userAgent"in navigator?navigator.userAgent:"",e=document&&document.title?document.title:"";On=t.indexOf("Electron")>0?1:0;var n,r=function(){var t={session:Dn(),ts:Math.round(Date.now()),count:1,upgrade:null,upload:""},e=zn("_clsk");if(e){var n=e.split("|");n.length>=5&&t.ts-Wn(n[1])<18e5&&(t.session=n[0],t.count=Wn(n[2])+1,t.upgrade=Wn(n[3]),t.upload=n.length>=6?"".concat("https://").concat(n[5],"/").concat(n[4]):"".concat("https://").concat(n[4]))}return t}(),a=Xn(),o=i.projectId||function(t,e){void 0===e&&(e=null);for(var n,r=5381,a=r,o=0;o<t.length;o+=2)r=(r<<5)+r^t.charCodeAt(o),o+1<t.length&&(a=(a<<5)+a^t.charCodeAt(o+1));return n=Math.abs(r+11579*a),(e?n%Math.pow(2,e):n).toString(36)}(location.host);_n={projectId:o,userId:a.id,sessionId:r.session,pageNum:r.count},i.lean=i.track&&null!==r.upgrade?0===r.upgrade:i.lean,i.upload=i.track&&"string"==typeof i.upload&&r.upload&&r.upload.length>"https://".length?r.upload:i.upload,bn(0,t),bn(3,e),bn(1,m(location.href,!!On)),bn(2,document.referrer),bn(15,function(){var t=Dn();if(i.track&&Cn(window,"sessionStorage")){var e=sessionStorage.getItem("_cltk");t=e||t,sessionStorage.setItem("_cltk",t)}return t}()),bn(16,document.documentElement.lang),bn(17,document.dir),bn(26,"".concat(window.devicePixelRatio)),bn(28,a.dob.toString()),bn(29,a.version.toString()),Y(0,r.ts),Y(1,0),Y(35,On),navigator&&(bn(9,navigator.language),Y(33,navigator.hardwareConcurrency),Y(32,navigator.maxTouchPoints),Y(34,Math.round(navigator.deviceMemory)),(n=navigator.userAgentData)&&n.getHighEntropyValues?n.getHighEntropyValues(["model","platform","platformVersion","uaFullVersion"]).then((function(t){var e;bn(22,t.platform),bn(23,t.platformVersion),null===(e=t.brands)||void 0===e||e.forEach((function(t){bn(24,t.name+"~"+t.version)})),bn(25,t.model),Y(27,t.mobile?1:0)})):bn(22,navigator.platform)),screen&&(Y(14,Math.round(screen.width)),Y(15,Math.round(screen.height)),Y(16,Math.round(screen.colorDepth)));for(var u=0,c=i.cookies;u<c.length;u++){var s=c[u],l=zn(s);l&&at(s,l)}An(a)}function Mn(){En=null,_n=null}function Nn(t,e){void 0===e&&(e=!0);var n=i.lean?0:1;_n&&(n||!1===e)?t(_n,!i.lean):xn.push({callback:t,wait:e})}function In(){return _n?[_n.userId,_n.sessionId,_n.pageNum].join("."):""}function Sn(t){if(void 0===t&&(t=!0),!t)return qn("_clsk","",0),qn("_clck","",0),pr(),void window.setTimeout(fr,250);sr()&&(i.track=!0,An(Xn(),1))}function jn(){qn("_clsk","",0)}function Hn(){var t=Math.round(Date.now()),e=i.upload&&"string"==typeof i.upload?i.upload.replace("https://",""):"",n=i.lean?0:1;!function(t){xn.length>0&&xn.forEach((function(e){!e.callback||e.wait&&!t||e.callback(_n,!i.lean)}))}(n),qn("_clsk",[_n.sessionId,t,_n.pageNum,n,e].join("|"),1)}function Cn(t,e){try{return!!t[e]}catch(t){return!1}}function An(t,e){void 0===e&&(e=null),e=null===e?t.consent:e;var n=Math.ceil((Date.now()+31536e6)/864e5),r=0===t.dob?null===i.dob?0:i.dob:t.dob;(null===t.expiry||Math.abs(n-t.expiry)>=1||t.consent!==e||t.dob!==r)&&qn("_clck",[_n.userId,2,n.toString(36),e,r].join("|"),365)}function Dn(){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 Wn(t,e){return void 0===e&&(e=10),parseInt(t,e)}function Xn(){var t={id:Dn(),version:0,expiry:null,consent:0,dob:0},e=zn("_clck");if(e&&e.length>0){for(var n=e.split("|"),r=0,a=0,o=document.cookie.split(";");a<o.length;a++){r+="_clck"===o[a].split("=")[0].trim()?1:0}if(1===n.length||r>1){var u="".concat(";").concat("expires=").concat(new Date(0).toUTCString()).concat(";path=/");document.cookie="".concat("_clck","=").concat(u),document.cookie="".concat("_clsk","=").concat(u)}n.length>1&&(t.version=Wn(n[1])),n.length>2&&(t.expiry=Wn(n[2],36)),n.length>3&&1===Wn(n[3])&&(t.consent=1),n.length>4&&Wn(n[1])>1&&(t.dob=Wn(n[4])),i.track=i.track||1===t.consent,t.id=i.track?n[0]:t.id}return t}function zn(t){var e;if(Cn(document,"cookie")){var n=document.cookie.split(";");if(n)for(var r=0;r<n.length;r++){var a=n[r].split("=");if(a.length>1&&a[0]&&a[0].trim()===t){for(var o=Yn(a[1]),i=o[0],u=o[1];i;)i=(e=Yn(u))[0],u=e[1];return u}}}return null}function Yn(t){try{var e=decodeURIComponent(t);return[e!=t,e]}catch(t){}return[!1,t]}function qn(t,e,n){if(i.track&&(navigator&&navigator.cookieEnabled||Cn(document,"cookie"))){var r=function(t){return encodeURIComponent(t)}(e),a=new Date;a.setDate(a.getDate()+n);var o=a?"expires="+a.toUTCString():"",u="".concat(t,"=").concat(r).concat(";").concat(o).concat(";path=/");try{if(null===En){for(var c=location.hostname?location.hostname.split("."):[],s=c.length-1;s>=0;s--)if(En=".".concat(c[s]).concat(En||""),s<c.length-1&&(document.cookie="".concat(u).concat(";").concat("domain=").concat(En),zn(t)===e))return;En=""}}catch(t){En=""}document.cookie=En?"".concat(u).concat(";").concat("domain=").concat(En):u}}var Rn,Pn=null;function Ln(){var t=_n;Pn={version:l,sequence:0,start:0,duration:0,projectId:t.projectId,userId:t.userId,sessionId:t.sessionId,pageNum:t.pageNum,upload:0,end:0}}function Un(){Pn=null}function Vn(t){return Pn.start=Pn.start+Pn.duration,Pn.duration=s()-Pn.start,Pn.sequence++,Pn.upload=t&&"sendBeacon"in navigator?1:0,Pn.end=t?1:0,[Pn.version,Pn.sequence,Pn.start,Pn.duration,Pn.projectId,Pn.userId,Pn.sessionId,Pn.pageNum,Pn.upload,Pn.end]}function Jn(){Rn=[]}function Bn(t){if(Rn&&-1===Rn.indexOf(t.message)){var e=i.report;if(e&&e.length>0){var n={v:Pn.version,p:Pn.projectId,u:Pn.userId,s:Pn.sessionId,n:Pn.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)),Rn.push(t.message)}}return t}function Zn(t){return function(){var e=performance.now();try{t.apply(this,arguments)}catch(t){throw Bn(t)}var n=performance.now()-e;z(4,n),n>30&&(X(7),Y(6,n))}}var Gn=[];function Fn(t,e,n,r){void 0===r&&(r=!1),n=Zn(n);try{t[u("addEventListener")](e,n,r),Gn.push({event:e,target:t,listener:n,capture:r})}catch(t){}}function Kn(){for(var t=0,e=Gn;t<e.length;t++){var n=e[t];try{n.target[u("removeEventListener")](n.event,n.listener,n.capture)}catch(t){}}Gn=[]}var Qn=null,$n=null,tr=null,er=0;function nr(){return!(er++>20)||(Ue(4,0),!1)}function rr(){er=0,tr!==or()&&(pr(),window.setTimeout(ar,250))}function ar(){fr(),Y(29,1)}function or(){return location.href?location.href.replace(location.hash,""):location.href}var ir=!1;function ur(){ir=!0,c=performance.now(),St(),Kn(),Jn(),tr=or(),er=0,Fn(window,"popstate",rr),null===Qn&&(Qn=history.pushState,history.pushState=function(){Qn.apply(this,arguments),sr()&&nr()&&rr()}),null===$n&&($n=history.replaceState,history.replaceState=function(){$n.apply(this,arguments),sr()&&nr()&&rr()})}function cr(){tr=null,er=0,Jn(),Kn(),St(),c=0,ir=!1}function sr(){return ir}function lr(t){if(null===t||ir)return!1;for(var e in t)e in i&&(i[e]=t[e]);return!0}function dr(){fr(),C("clarity","restart")}var hr=[Object.freeze({__proto__:null,start:function(){!function(){Y(26,navigator.webdriver?1:0);try{Y(31,window.top==window.self?1:2)}catch(t){Y(31,0)}}(),Fn(window,"error",qe),Ye={},Le={}},stop:function(){Le={}}}),ge,ae,Et];function fr(t){void 0===t&&(t=null),function(){try{return!1===ir&&"undefined"!=typeof Promise&&window.MutationObserver&&document.createTreeWalker&&"now"in Date&&"now"in performance&&"undefined"!=typeof WeakMap}catch(t){return!1}}()&&(lr(t),ur(),gt(),hr.forEach((function(t){return Zn(t.start)()})),null===t&&yr())}function pr(){sr()&&(hr.slice().reverse().forEach((function(t){return Zn(t.stop)()})),mt(),cr(),void 0!==gr&&(gr[mr]=function(){(gr[mr].q=gr[mr].q||[]).push(arguments),"start"===arguments[0]&&gr[mr].q.unshift(gr[mr].q.pop())&&yr()}))}var vr=Object.freeze({__proto__:null,consent:Sn,event:C,hashText:se,identify:ot,metadata:Nn,pause:function(){sr()&&(C("clarity","pause"),null===Nt&&(Nt=new Promise((function(t){It=t}))))},resume:function(){sr()&&(Nt&&(It(),Nt=null,null===Mt&&Ht()),C("clarity","resume"))},set:at,start:fr,stop:pr,upgrade:$,version:l}),gr=window,mr="clarity";function yr(){if(void 0!==gr){if(gr[mr]&&gr[mr].v)return console.warn("Error CL001: Multiple Clarity tags detected.");var t=gr[mr]&&gr[mr].q||[];for(gr[mr]=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return vr[t].apply(vr,e)},gr[mr].v=l;t.length>0;)gr[mr].apply(gr,t.shift())}}yr()}();
|