/* clarity-js v0.7.68: https://github.com/microsoft/clarity (License: MIT) */ !function(){"use strict";var t=Object.freeze({__proto__:null,get queue(){return wr},get start(){return br},get stop(){return kr},get track(){return pr}}),e=Object.freeze({__proto__:null,get clone(){return Wr},get compute(){return qr},get data(){return Ar},get keys(){return Rr},get reset(){return Ur},get start(){return zr},get stop(){return Vr},get trigger(){return Hr},get update(){return Fr}}),n=Object.freeze({__proto__:null,get check(){return Qr},get compute(){return ti},get data(){return jr},get start(){return Zr},get stop(){return ei},get trigger(){return $r}}),a=Object.freeze({__proto__:null,get compute(){return ci},get data(){return ni},get log(){return ui},get reset(){return si},get start(){return ii},get stop(){return oi},get updates(){return ai}}),r=Object.freeze({__proto__:null,get callback(){return ki},get callbacks(){return fi},get clear(){return wi},get consent(){return bi},get data(){return di},get electron(){return hi},get id(){return yi},get metadata(){return mi},get save(){return Si},get shortid(){return Ti},get start(){return vi},get stop(){return gi}}),i=Object.freeze({__proto__:null,get data(){return Di},get envelope(){return Ri},get start(){return ji},get stop(){return Ai}}),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,delayDom:!1,throttleDom:!0,conversions:!1,includeSubdomains:!0,throttleMutations:!1,dropMutations:!1,criticalMs:200,discard:[]};function u(t){return window.Zone&&"__symbol__"in window.Zone?window.Zone.__symbol__(t):t}var c=0;function s(t){void 0===t&&(t=null);var e=t&&t.timeStamp>0?t.timeStamp:performance.now(),n=t&&t.view?t.view.performance.timeOrigin:performance.timeOrigin;return Math.max(Math.round(e+n-c),0)}var l="0.7.68";function d(t,e){void 0===e&&(e=null);for(var n,a=5381,r=a,i=0;i=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=p&&null!==m?s.match(m)?s:S(s,"▪","▫"):k(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?w(t):k(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 k(t)}break;case 4:switch(e){case"*T":case"data-":return a?w(t):k(t);case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":return""}break;case 5:switch(e){case"*T":case"data-":return S(t,"▪","▫");case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":case"src":case"srcset":case"alt":case"title":return""}}}return t}function b(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=!1);var a=t;if(e)a="".concat("https://").concat("Electron");else{var r=o.drop;if(r&&r.length>0&&t&&t.indexOf("?")>0){var i=t.split("?"),u=i[0],c=i[1];a=u+"?"+c.split("&").map((function(t){return r.some((function(e){return 0===t.indexOf("".concat(e,"="))}))?"".concat(t.split("=")[0],"=").concat("*na*"):t})).join("&")}}return n&&(a=a.substring(0,h)),a}function w(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 k(t){return t.replace(f,"•")}function S(t,e,n){return O(),t?t.replace(g,e).replace(v,n):t}function E(t){for(var e=5*(Math.floor(t.length/5)+1),n="",a=0;a0&&a%5==0?" ":"•";return n}function O(){if(p&&null===v)try{v=new RegExp("\\p{N}","gu"),g=new RegExp("\\p{L}","gu"),m=new RegExp("\\p{Sc}","gu")}catch(t){p=!1}}var T=null,M=null,N=!1;function x(){N&&(T={time:s(),event:4,data:{visible:M.visible,docWidth:M.docWidth,docHeight:M.docHeight,screenWidth:M.screenWidth,screenHeight:M.screenHeight,scrollX:M.scrollX,scrollY:M.scrollY,pointerX:M.pointerX,pointerY:M.pointerY,activityTime:M.activityTime,scrollTime:M.scrollTime,pointerTime:M.pointerTime,moveX:M.moveX,moveY:M.moveY,moveTime:M.moveTime,downX:M.downX,downY:M.downY,downTime:M.downTime}}),M=M||{visible:1,docWidth:0,docHeight:0,screenWidth:0,screenHeight:0,scrollX:0,scrollY:0,pointerX:0,pointerY:0,activityTime:0,scrollTime:0,pointerTime:0,moveX:0,moveY:0,moveTime:0,downX:0,downY:0,downTime:0}}function _(t,e,n,a){switch(t){case 8:M.docWidth=e,M.docHeight=n;break;case 11:M.screenWidth=e,M.screenHeight=n;break;case 10:M.scrollX=e,M.scrollY=n,M.scrollTime=a;break;case 12:M.moveX=e,M.moveY=n,M.moveTime=a,M.pointerX=e,M.pointerY=n,M.pointerTime=a;break;case 13:M.downX=e,M.downY=n,M.downTime=a,M.pointerX=e,M.pointerY=n,M.pointerTime=a;break;default:M.pointerX=e,M.pointerY=n,M.pointerTime=a}N=!0}function I(t){M.activityTime=t}function C(t,e){M.visible="visible"===e?1:0,M.visible||I(t),N=!0}function D(){N&&Kr(4)}var j=Object.freeze({__proto__:null,activity:I,compute:D,reset:x,start:function(){N=!1,x()},get state(){return T},stop:function(){x()},track:_,visibility:C}),A=null;function R(t,e){$i()&&t&&"string"==typeof t&&t.length<255&&(A=e&&"string"==typeof e&&e.length<255?{key:t,value:e}:{value:t},Kr(24))}var X,Y=null,L=null;function P(t){t in Y||(Y[t]=0),t in L||(L[t]=0),Y[t]++,L[t]++}function z(t,e){null!==e&&(t in Y||(Y[t]=0),t in L||(L[t]=0),Y[t]+=e,L[t]+=e)}function H(t,e){null!==e&&!1===isNaN(e)&&(t in Y||(Y[t]=0),(e>Y[t]||0===Y[t])&&(L[t]=e,Y[t]=e))}function W(t,e,n){return window.setTimeout(Li(t),e,n)}function q(t){return window.clearTimeout(t)}var U=0,F=0,V=null;function B(){V&&q(V),V=W(J,F),U=s()}function J(){var t=s();X={gap:t-U},Kr(25),X.gap<3e5?V=W(J,F):Ki&&(R("clarity","suspend"),Mo(),["mousemove","touchstart"].forEach((function(t){return zi(document,t,to)})),["resize","scroll","pageshow"].forEach((function(t){return zi(window,t,to)})))}var G=Object.freeze({__proto__:null,get data(){return X},reset:B,start:function(){F=6e4,U=0},stop:function(){q(V),U=0,F=0}}),K=null;function Z(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 Q(){Kr(36)}function $(){K={}}var tt=Object.freeze({__proto__:null,compute:Q,get data(){return K},reset:$,start:function(){K={}},stop:function(){K={}},track:Z}),et=null;function nt(t){$i()&&o.lean&&(o.lean=!1,et={key:t},ki(),Si(),o.upgrade&&o.upgrade(t),Kr(3))}var at=Object.freeze({__proto__:null,get data(){return et},start:function(){!o.lean&&o.upgrade&&o.upgrade("Config"),et=null},stop:function(){et=null},upgrade:nt});function rt(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 it(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]=5?"".concat(u.substring(0,2)).concat(S(u.substring(2),"*","*")):S(u,"*","*")),st("userId",[(r=i).userId]),st("userHint",[r.userHint]),st("userType",[ht(t)]),e&&(st("sessionId",[e]),r.sessionId=e),n&&(st("pageId",[n]),r.pageId=n),[2,r]}var u}))}))}function st(t,e){if($i()&&t&&e&&"string"==typeof t&&t.length<255){for(var n=(t in ot?ot[t]:[]),a=0;a0?"email":"string"}var pt="CompressionStream"in window;function vt(t){return rt(this,void 0,void 0,(function(){var e,n;return it(this,(function(a){switch(a.label){case 0:return a.trys.push([0,3,,4]),pt?(e=new ReadableStream({start:function(e){return rt(this,void 0,void 0,(function(){return it(this,(function(n){return e.enqueue(t),e.close(),[2]}))}))}}).pipeThrough(new TextEncoderStream).pipeThrough(new window.CompressionStream("gzip")),n=Uint8Array.bind,[4,gt(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 gt(t){return rt(this,void 0,void 0,(function(){var e,n,a,r,i;return it(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 mt=null;function yt(t){try{if(!mt)return;var e=function(t){try{return JSON.parse(t)}catch(t){return[]}}(t);e.forEach((function(t){mt(t)}))}catch(t){}}var bt=[j,a,Object.freeze({__proto__:null,compute:lt,get data(){return ot},identify:ct,reset:dt,set:ut,start:function(){dt()},stop:function(){dt()}}),n,tt,r,i,t,G,at,e];function wt(){Y={},L={},P(5),bt.forEach((function(t){return Li(t.start)()}))}function kt(){bt.slice().reverse().forEach((function(t){return Li(t.stop)()})),Y={},L={}}function St(){lt(),D(),ci(),Kr(0),Q(),ti(),qr()}var Et,Ot=[];function Tt(t,e,n){o.fraud&&null!==t&&n&&n.length>=5&&(Et={id:t,target:e,checksum:d(n,28)},Ot.indexOf(Et.checksum)<0&&(Ot.push(Et.checksum),_r(41)))}var Mt="load,active,fixed,visible,focus,show,collaps,animat".split(","),Nt={};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 _t(t)})).join("."):null;if(u&&u.length>0)if(0===e){var c="".concat(function(t){for(var e=t.split(">"),n=0;n0?r:a>0?a:e[n].length)}return e.join(">")}(a)).concat(t.tag).concat(".").concat(u);c in Nt||(Nt[c]=[]),Nt[c].indexOf(t.id)<0&&Nt[c].push(t.id),i="".concat(c).concat("~").concat(Nt[c].indexOf(t.id))}else i="".concat(a).concat(t.tag,".").concat(u).concat(r);return i=o&&_t(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 _t(t){if(!t)return!1;if(Mt.some((function(e){return t.toLowerCase().indexOf(e)>=0})))return!1;for(var e=0;e=48&&n<=57)return!1}return!0}var It=1,Ct=null,Dt=[],jt=[],At={},Rt=[],Xt=[],Yt=[],Lt=[],Pt=[],zt=[],Ht=null,Wt=null,qt=null,Ut=null;function Ft(){Bt(),Jt(document,!0)}function Vt(){Bt()}function Bt(){It=1,Dt=[],jt=[],At={},Rt=[],Xt=[],Yt="address,password,contact".split(","),Lt="password,secret,pass,social,ssn,code,hidden".split(","),Pt="radio,checkbox,range,button,reset,submit".split(","),zt="INPUT,SELECT,TEXTAREA".split(","),Ct=new Map,Ht=new WeakMap,Wt=new WeakMap,qt=new WeakMap,Ut=new WeakMap,Nt={}}function Jt(t,e){void 0===e&&(e=!1);try{e&&o.unmask.forEach((function(t){return t.indexOf("!")<0?Xt.push(t):Rt.push(t.substr(1))})),"querySelectorAll"in t&&(o.regions.forEach((function(e){return t.querySelectorAll(e[1]).forEach((function(t){return Ka(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 Ut.set(t,e[0])}))})),Xt.forEach((function(e){return t.querySelectorAll(e).forEach((function(t){return qt.set(t,0)}))})))}catch(t){Dr(5,1,t?t.name:null)}}function Gt(t,e){if(void 0===e&&(e=!1),null===t)return null;var n=Ht.get(t);return!n&&e&&(n=It++,Ht.set(t,n)),n||null}function Kt(t){var e=!1;if(t.nodeType===Node.ELEMENT_NODE&&"IFRAME"===t.tagName){var n=t;try{n.contentDocument&&(Wt.set(n.contentDocument,n),e=!0)}catch(t){}}return e}function Zt(t){var e=t.nodeType===Node.DOCUMENT_NODE?t:null;return e&&Wt.has(e)?Wt.get(e):null}function Qt(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 $t(t){var e=t.parent&&t.parent in Dt?Dt[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=Dt[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 At[e]=t.id}))}function te(t){var e=ee(ae(t));return null!==e&&null!==e.textContent?e.textContent.substr(0,25):""}function ee(t){return Ct.has(t)?Ct.get(t):null}function ne(t){var e=Gt(t);return e in Dt?Dt[e]:null}function ae(t){return t in At?At[t]:null}function re(t){return Ct.has(Gt(t))}function ie(){for(var t=[],e=0,n=jt;e=0&&1===e&&a?(jt.splice(r,1),jt.push(t)):-1===r&&n&&jt.push(t)}var se=Object.freeze({__proto__:null,add:function(t,e,n,a){var r=e?Gt(e):null;if(e&&r||null!=t.host||t.nodeType===Node.DOCUMENT_TYPE_NODE){var i=Gt(t,!0),u=ue(t),c=null,s=Za(t)?i:null,l=Ut.has(t)?Ut.get(t):null,d=o.content?1:3;r>=0&&Dt[r]&&((c=Dt[r]).children.push(i),s=null===s?c.region:s,l=null===l?c.metadata.fraud:l,d=c.metadata.privacy),n.attributes&&"data-clarity-region"in n.attributes&&(Ka(t,n.attributes["data-clarity-region"]),s=i),Ct.set(i,t),Dt[i]={id:i,parent:r,previous:u,children:[],data:n,selector:null,hash:null,region:s,metadata:{active:!0,suspend:!1,privacy:d,position:null,fraud:l,size:null}},function(t,e,n){var a,r=e.data,i=e.metadata,o=i.privacy,u=r.attributes||{},c=r.tag.toUpperCase();switch(!0){case zt.indexOf(c)>=0:var s=u.type,l="",d=["class","style"];Object.keys(u).filter((function(t){return!d.includes(t)})).forEach((function(t){return l+=u[t].toLowerCase()}));var f=Lt.some((function(t){return l.indexOf(t)>=0}));i.privacy="INPUT"===c&&Pt.indexOf(s)>=0?o:f?4:2;break;case"data-clarity-mask"in u:i.privacy=3;break;case"data-clarity-unmask"in u:i.privacy=0;break;case qt.has(t):i.privacy=qt.get(t);break;case Ut.has(t):i.privacy=2;break;case"*T"===c:var h=n&&n.data?n.data.tag:"",p=n&&n.selector?n.selector[1]:"",v=["STYLE","TITLE","svg:style"];i.privacy=v.includes(h)||Rt.some((function(t){return p.indexOf(t)>=0}))?0:o;break;case 1===o:i.privacy=function(t,e,n){if(t&&e.some((function(e){return t.indexOf(e)>=0})))return 2;return n.privacy}(u.class,Yt,i);break;case"IMG"===c:(null===(a=u.src)||void 0===a?void 0:a.startsWith("blob:"))&&(i.privacy=3)}}(t,Dt[i],c),$t(Dt[i]),function(t){if("IMG"===t.data.tag&&3===t.metadata.privacy){var e=ee(t.id);!e||e.complete&&0!==e.naturalWidth||zi(e,"load",(function(){e.setAttribute("data-clarity-loaded","".concat(Ti()))})),t.metadata.size=[]}}(Dt[i]),ce(i,a)}},get:ne,getId:Gt,getNode:ee,getValue:function(t){return t in Dt?Dt[t]:null},has:re,hashText:te,iframe:Zt,lookup:ae,parse:Jt,sameorigin:Kt,start:Ft,stop:Vt,update:function(t,e,n,a){var r=Gt(t),i=e?Gt(e):null,o=ue(t),u=!1,c=!1;if(r in Dt){var s=Dt[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:Dt[i].children.indexOf(o)+1;Dt[i].children.splice(d,0,r),s.region=Za(t)?r:Dt[i].region}else!function(t,e){if(t in Dt){var n=Dt[t];n.metadata.active=!1,n.parent=null,ce(t,e),oe(t)}}(r,a);if(null!==l&&l>=0){var f=Dt[l].children.indexOf(r);f>=0&&Dt[l].children.splice(f,1)}c=!0}for(var h in n)Qt(s.data,n,h)&&(u=!0,s.data[h]=n[h]);$t(s),ce(r,a,u,c)}},updates:ie}),le=5e3,de={},fe=[],he=null,pe=null,ve=null;function ge(){de={},fe=[],he=null,pe=null}function me(t,e){return void 0===e&&(e=0),rt(this,void 0,void 0,(function(){var n,a,r;return it(this,(function(i){for(n=0,a=fe;nde[e].yield?0:1:2}function we(t){de[Ee(t)]={start:performance.now(),calls:0,yield:30}}function ke(t){var e=performance.now(),n=Ee(t),a=e-de[n].start;z(t.cost,a),P(5),de[n].calls>0&&z(4,a)}function Se(t){return rt(this,void 0,void 0,(function(){var e,n;return it(this,(function(a){switch(a.label){case 0:return(e=Ee(t))in de?(ke(t),n=de[e],[4,Oe()]):[3,2];case 1:n.yield=a.sent().timeRemaining(),function(t){var e=Ee(t);if(de&&de[e]){var n=de[e].calls,a=de[e].yield;we(t),de[e].calls=n+1,de[e].yield=a}}(t),a.label=2;case 2:return[2,e in de?1:2]}}))}))}function Ee(t){return"".concat(t.id,".").concat(t.cost)}function Oe(){return rt(this,void 0,void 0,(function(){return it(this,(function(t){switch(t.label){case 0:return pe?[4,pe]:[3,2];case 1:t.sent(),t.label=2;case 2:return[2,new Promise((function(t){Me(t,{timeout:le})}))]}}))}))}var Te,Me=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&&oe.timeout;t({didTimeout:c,timeRemaining:function(){return c?30:Math.max(0,30-u)}})}},requestAnimationFrame((function(){i.postMessage(performance.now())}))};function Ne(){Te=null}function xe(){xe.dn=19;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!==Te&&c===Te.width&&v===Te.height||null===c||null===v||(Te={width:c,height:v},za(8))}var _e=[];function Ie(t){Ie.dn=5;var e=ar(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,28):"";_e.push({time:s(t),event:42,data:{target:ar(t),type:e.type,value:n,checksum:a}}),me(ir.bind(this,42))}}function Ce(){_e=[]}function De(t){var e={x:0,y:0};if(t&&t.offsetParent)do{var n=t.offsetParent,a=null===n?Zt(t.ownerDocument):null;e.x+=t.offsetLeft,e.y+=t.offsetTop,t=a||n}while(t);return e}var je=["input","textarea","radio","button","canvas"],Ae=[];function Re(t){zi(t,"click",Xe.bind(this,9,t),!0)}function Xe(t,e,n){Xe.dn=6;var a=Zt(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=De(a);i=i?i+Math.round(u.x):i,o=o?o+Math.round(u.y):o}var c=ar(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;if(null!==i&&null!==o){var p=function(t){var e=null,n=!1;if(t){var a=t.textContent||String(t.value||"")||t.alt;if(a){var r=a.replace(/\s+/g," ").trim();n=(e=r.substring(0,25)).length===r.length}}return{text:e,isFullText:n?1:0}}(c);Ae.push({time:s(n),event:t,data:{target:c,x:i,y:o,eX:f,eY:h,button:n.button,reaction:Ye(c),context:Le(l),text:p.text,link:l?l.href:null,hash:null,trust:n.isTrusted?1:0,isFullText:p.isFullText}}),me(ir.bind(this,t))}}function Ye(t){if(t.nodeType===Node.ELEMENT_NODE){var e=t.tagName.toLowerCase();if(je.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 Pe(){Ae=[]}var ze=[];function He(t,e){He.dn=7,ze.push({time:s(e),event:38,data:{target:ar(e),action:t}}),me(ir.bind(this,38))}function We(){ze=[]}var qe=null,Ue=[];function Fe(t){Fe.dn=9;var e=ar(t),n=ne(e);if(e&&e.type&&n){var a=e.value,r=e.type;switch(e.type){case"radio":case"checkbox":a=e.checked?"true":"false"}var i={target:e,value:a,type:r};Ue.length>0&&Ue[Ue.length-1].data.target===i.target&&Ue.pop(),Ue.push({time:s(t),event:27,data:i}),q(qe),qe=W(Ve,1e3,27)}}function Ve(t){me(ir.bind(this,t))}function Be(){Ue=[]}var Je,Ge=[],Ke=null,Ze=!1,Qe=0,$e=new Set;function tn(t,e,n){tn.dn=10;var a=Zt(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=De(a);i=i?i+Math.round(u.x):i,o=o?o+Math.round(u.y):o}null!==i&&null!==o&&nn({time:s(n),event:t,data:{target:ar(n),x:i,y:o}})}function en(t,e,n){en.dn=11;var a=Zt(e),r=a?a.contentDocument.documentElement:document.documentElement,i=n.changedTouches,o=s(n);if(i)for(var u=0;u1?Ge[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)&&Ge.pop(),Ge.push(t),q(Ke),Ke=W(an,500,t.event);break;default:Ge.push(t),an(t.event)}}function an(t){me(ir.bind(this,t))}function rn(){Ge=[]}var on=null,un=!1;function cn(){cn.dn=12;var t=document.documentElement;Je={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},un?(q(on),on=W(sn,500,11)):(ir(11),un=!0)}function sn(t){me(ir.bind(this,t))}function ln(){Je=null,q(on)}var dn=[],fn=null,hn=null,pn=null;function vn(t){void 0===t&&(t=null),vn.dn=13;var e=window,n=document.documentElement,a=t?ar(t):n;if(a&&a.nodeType===Node.DOCUMENT_NODE){var r=Zt(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=window.innerWidth,c=window.innerHeight,l=u/3,d=u>c?.15*c:.2*c,f=c-d,h=gn(l,d),p=gn(l,f),v={time:s(t),event:10,data:{target:a,x:i,y:o,top:h,bottom:p}};if(null===t&&0===i&&0===o||null===i||null===o)return fn=h,void(hn=p);var g=dn.length,m=g>1?dn[g-2]:null;m&&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}(m,v)&&dn.pop(),dn.push(v),q(pn),pn=W(mn,500,10)}function gn(t,e){var n,a,r;return"caretPositionFromPoint"in document?r=null===(n=document.caretPositionFromPoint(t,e))||void 0===n?void 0:n.offsetNode:"caretRangeFromPoint"in document&&(r=null===(a=document.caretRangeFromPoint(t,e))||void 0===a?void 0:a.startContainer),r||(r=document.elementFromPoint(t,e)),r&&r.nodeType===Node.TEXT_NODE&&(r=r.parentNode),r}function mn(t){me(ir.bind(this,t))}function yn(){var t,e;if(yn.dn=14,fn){var n=rr(fn,null);ui(31,null===(t=null==n?void 0:n.hash)||void 0===t?void 0:t.join("."))}if(hn){var a=rr(hn,null);ui(32,null===(e=null==a?void 0:a.hash)||void 0===e?void 0:e.join("."))}}var bn=null,wn=null,kn=null;function Sn(t){Sn.dn=15;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=bn.start?bn.start:null;null!==wn&&null!==bn.start&&n!==e.anchorNode&&(q(kn),En(21)),bn={start:e.anchorNode,startOffset:e.anchorOffset,end:e.focusNode,endOffset:e.focusOffset},wn=e,q(kn),kn=W(En,500,21)}}function En(t){me(ir.bind(this,t))}function On(){wn=null,bn={start:0,startOffset:0,end:0,endOffset:0}}var Tn,Mn,Nn=[];function xn(t){xn.dn=16,Nn.push({time:s(t),event:39,data:{target:ar(t)}}),me(ir.bind(this,39))}function _n(){Nn=[]}function In(t){In.dn=17,Tn={name:t.type,persisted:t.persisted?1:0},ir(26,s(t)),Mo()}function Cn(){Tn=null}function Dn(t){void 0===t&&(t=null),Dn.dn=18,Mn={visible:"visibilityState"in document?document.visibilityState:"default"},ir(28,s(t))}function jn(){Mn=null}function An(t){!function(t){var e=Zt(t);zi(e?e.contentWindow:t===document?window:t,"scroll",vn,!0)}(t),t.nodeType===Node.DOCUMENT_NODE&&(Re(t),function(t){zi(t,"cut",He.bind(this,0),!0),zi(t,"copy",He.bind(this,1),!0),zi(t,"paste",He.bind(this,2),!0)}(t),function(t){zi(t,"mousedown",tn.bind(this,13,t),!0),zi(t,"mouseup",tn.bind(this,14,t),!0),zi(t,"mousemove",tn.bind(this,12,t),!0),zi(t,"wheel",tn.bind(this,15,t),!0),zi(t,"dblclick",tn.bind(this,16,t),!0),zi(t,"touchstart",en.bind(this,17,t),!0),zi(t,"touchend",en.bind(this,18,t),!0),zi(t,"touchmove",en.bind(this,19,t),!0),zi(t,"touchcancel",en.bind(this,20,t),!0)}(t),function(t){zi(t,"input",Fe,!0)}(t),function(t){zi(t,"selectstart",Sn.bind(this,t),!0),zi(t,"selectionchange",Sn.bind(this,t),!0)}(t),function(t){zi(t,"change",Ie,!0)}(t),function(t){zi(t,"submit",xn,!0)}(t))}var Rn=Object.freeze({__proto__:null,observe:An,start:function t(){t.dn=8,or=[],cr(),Pe(),We(),rn(),Be(),un=!1,zi(window,"resize",cn),cn(),zi(document,"visibilitychange",Dn),Dn(),dn=[],vn(),On(),Ce(),_n(),zi(window,"pagehide",In)},stop:function(){or=[],cr(),Pe(),We(),q(Ke),Ge.length>0&&an(Ge[Ge.length-1].event),q(qe),Be(),ln(),jn(),q(pn),dn=[],fn=null,hn=null,On(),q(kn),Ce(),_n(),Cn()}});function Xn(t,e,n,a){return rt(this,void 0,void 0,(function(){var r,i,o,u,c;return it(this,(function(s){switch(s.label){case 0:r=[t],s.label=1;case 1:if(!(r.length>0))return[3,4];for(i=r.shift(),o=i.firstChild;o;)r.push(o),o=o.nextSibling;return 0!==(u=be(e))?[3,3]:[4,Se(e)];case 2:u=s.sent(),s.label=3;case 3:return 2===u?[3,4]:((c=la(i,n,a))&&r.push(c),[3,1]);case 4:return[2]}}))}))}var Yn=[],Ln=[],Pn={},zn=null,Hn=null,Wn=null,qn=null,Un=null,Fn=[],Vn=null,Bn=null,Jn=null,Gn={},Kn=null;function Zn(){if(Zn.dn=21,Yn=[],Fn=[],Vn=null,Jn=0,Gn={},Kn=0,null===zn&&(zn=CSSStyleSheet.prototype.insertRule,CSSStyleSheet.prototype.insertRule=function(){return $i()&&aa(this.ownerNode),zn.apply(this,arguments)}),"CSSMediaRule"in window&&null===qn&&(qn=CSSMediaRule.prototype.insertRule,CSSMediaRule.prototype.insertRule=function(){return $i()&&aa(this.parentStyleSheet.ownerNode),qn.apply(this,arguments)}),null===Hn&&(Hn=CSSStyleSheet.prototype.deleteRule,CSSStyleSheet.prototype.deleteRule=function(){return $i()&&aa(this.ownerNode),Hn.apply(this,arguments)}),"CSSMediaRule"in window&&null===Un&&(Un=CSSMediaRule.prototype.deleteRule,CSSMediaRule.prototype.deleteRule=function(){return $i()&&aa(this.parentStyleSheet.ownerNode),Un.apply(this,arguments)}),null===Wn){Wn=Element.prototype.attachShadow;try{Element.prototype.attachShadow=function(){return $i()?aa(Wn.apply(this,arguments)):Wn.apply(this,arguments)}}catch(t){Wn=null}}}function Qn(t){Qn.dn=22;var e=s();Z(6,e),Ln.push({time:e,mutations:t}),me(ta,1).then((function(){W(xe),Li(Qa)()}))}function $n(t,e,n,a){return rt(this,void 0,void 0,(function(){var r,i,u;return it(this,(function(c){switch(c.label){case 0:return 0!==(r=be(t))?[3,2]:[4,Se(t)];case 1:r=c.sent(),c.label=2;case 2:if(2===r)return[2];switch(i=e.target,u=o.throttleDom?function(t,e,n,a){var r=t.target?ne(t.target.parentNode):null;if(r&&"HTML"!==r.data.tag){var i=a>Jn,u=n=10&&na(h[2],2,e,a),h[0]=i||d?h[1]===n?h[0]:h[0]+1:1,h[1]=n,h[0]>=10||d)return h[2]=t.removedNodes,n>a+3e3?t.type:(o.dropMutations||(Pn[f]={mutation:t,timestamp:a}),"throttle")}return t.type}(e,t,n,a):e.type,u&&i&&i.ownerDocument&&Jt(i.ownerDocument),u&&i&&i.nodeType==Node.DOCUMENT_FRAGMENT_NODE&&i.host&&Jt(i),u){case"attributes":la(i,3,a);break;case"characterData":la(i,4,a);break;case"childList":na(e.addedNodes,1,t,a),na(e.removedNodes,2,t,a)}return[2]}}))}))}function ta(){return rt(this,void 0,void 0,(function(){var t,e,n,a,r,i,o,u,c,l,d;return it(this,(function(f){switch(f.label){case 0:we(t={id:yi(),cost:3}),f.label=1;case 1:if(!(Ln.length>0))return[3,7];e=Ln.shift(),n=s(),a=0,r=e.mutations,f.label=2;case 2:return a0&&function(){Bn&&q(Bn);Bn=W((function(){me(ta,1)}),33)}(),0===Object.keys(Pn).length&&o?[4,za(6,t,s())]:[3,13];case 12:f.sent(),f.label=13;case 13:return function(){var t=s();Object.keys(Gn).length>1e4&&(Gn={},P(38));for(var e=0,n=Object.keys(Gn);eGn[a][1]+3e4&&delete Gn[a]}}(),ke(t),[2]}}))}))}function ea(t){for(var e=[],n=0;t&&n=0||r.indexOf("posting")>=0?"article":r){case"article":case"recipe":ui(5,t[a]),ui(8,t.creator),ui(18,t.headline);break;case"product":ui(5,t[a]),ui(10,t.name),ui(12,t.sku),t.brand&&ui(6,t.brand.name);break;case"aggregaterating":t.ratingValue&&(H(11,ua(t.ratingValue,100)),H(18,ua(t.bestRating)),H(19,ua(t.worstRating))),H(12,ua(t.ratingCount)),H(17,ua(t.reviewCount));break;case"offer":ui(7,t.availability),ui(14,t.itemCondition),ui(13,t.priceCurrency),ui(12,t.sku),H(13,ua(t.price));break;case"brand":ui(6,t.name)}null!==r&&"object"==typeof r&&oa(r)}}function ua(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(ia,""))*e)}return null}var ca=["title","alt","onload","onfocus","onerror","data-drupal-form-submit-last","aria-label"],sa=/[\r\n]+/g;function la(t,e,n){var a,r=null;if(2===e&&!1===re(t))return r;0!==e&&t.nodeType===Node.TEXT_NODE&&t.parentElement&&"STYLE"===t.parentElement.tagName&&(t=t.parentNode);var i=!1===re(t)?"add":"update",o=t.parentElement?t.parentElement:null,u=t.ownerDocument!==document;switch(t.nodeType){case Node.DOCUMENT_TYPE_NODE:o=u&&t.parentNode?Zt(t.parentNode):o;var c=t,s={tag:(u?"iframe:":"")+"*D",attributes:{name:c.name?c.name:"HTML",publicId:c.publicId,systemId:c.systemId}};se[i](t,o,s,e);break;case Node.DOCUMENT_NODE:t===document&&Jt(document),Ea(t,n),da(t);break;case Node.DOCUMENT_FRAGMENT_NODE:var l=t;if(l.host){if(Jt(l),"function"===typeof l.constructor&&l.constructor.toString().indexOf("[native code]")>=0){da(l);var d={tag:"*S",attributes:{style:""}};se[i](t,l.host,d,e)}else se[i](t,l.host,{tag:"*P",attributes:{}},e);Ea(t,n)}break;case Node.TEXT_NODE:if(o=o||t.parentNode,"update"===i||o&&re(o)&&"STYLE"!==o.tagName&&"NOSCRIPT"!==o.tagName){var f={tag:"*T",value:t.nodeValue};se[i](t,o,f,e)}break;case Node.ELEMENT_NODE:var h=t,p=h.tagName,v=function(t){var e={},n=t.attributes;if(n&&n.length>0)for(var a=0;a0||t.id.length>0)&&(e=ha(t.sheet)),e}function ha(t){var e="",n=null;try{n=t?t.cssRules:[]}catch(t){if(Dr(1,1,t?t.name:null),t&&"SecurityError"!==t.name)throw t}if(null!==n)for(var a=0;a0))return[3,11];w=0,k=b,Y.label=6;case 6:return w=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),Y.label=11;case 11:return[3,12];case 12:return[2]}}))}))}function Ha(t){if(null!==t.metadata.size&&0===t.metadata.size.length){var e=ee(t.id);if(e)return[Math.floor(100*e.offsetWidth),Math.floor(100*e.offsetHeight)]}return t.metadata.size}function Wa(t){return t.toString(36)}function qa(t,e,n){return"".concat(t,"=").concat(y(e,0===t.indexOf("data-")?"data-":t,n))}var Ua=[],Fa=null,Va={},Ba=[],Ja=!1,Ga=null;function Ka(t,e){!1===Fa.has(t)&&(Fa.set(t,e),(Ga=null===Ga&&Ja?new IntersectionObserver($a,{threshold:[0,.05,.1,.2,.3,.4,.5,.6,.7,.8,.9,1]}):Ga)&&t&&t.nodeType===Node.ELEMENT_NODE&&Ga.observe(t))}function Za(t){return Fa&&Fa.has(t)}function Qa(){Qa.dn=24;for(var t=[],e=0,n=Ba;e0&&za(7)}function $a(t){for(var e=0,n=t;e0&&u.width>0&&u.height>0){var c=r?Gt(r):null,s=c in Va?Va[c]:{id:c,name:Fa.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;tr(r,s,s.interaction,d?13:l?10:0),s.visibility>=13&&Ga&&Ga.unobserve(r)}}Ua.length>0&&za(7)}function tr(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 Va&&r||!(e.id in Va))&&(Va[e.id]=e,Ua.push(er(e))):Ba.push({node:t,state:er(e)})}function er(t){return{time:s(),data:{id:t.id,interaction:t.interaction,visibility:t.visibility,name:t.name}}}function nr(){Ua=[]}function ar(t){var e=t.composed&&t.composedPath?t.composedPath():null,n=e&&e.length>0?e[0]:t.target;return Jn=s()+3e3,Kn=s()+o.criticalMs,n&&n.nodeType===Node.DOCUMENT_NODE?n.documentElement:n}function rr(t,e,n){void 0===n&&(n=null);var a={id:0,hash:null,privacy:2,node:t};if(t){var r=ne(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=ee(t),a=t in Va?Va[t]:{id:t,visibility:0,interaction:16,name:Fa.get(n)},r=16;switch(e){case 9:r=20;break;case 27:r=30}tr(n,a,r,a.visibility)}(r.region,e),i.fraud&&Tt(i.fraud,r.id,n||r.data.value)}}return a}function ir(t,e){return void 0===e&&(e=null),rt(this,void 0,void 0,(function(){var n,a,r,i,o,u,c,l,d,f,h,p,v,g,m,w,k,S,E,O,T,M,N,x,I,D,j,A,R,X,Y,L,P,z,H;return it(this,(function(W){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=Ge;r0&&((a=[z.time,z.event]).push(o.id),a.push(z.data.x),a.push(z.data.y),void 0!==z.data.id&&(a.push(z.data.id),void 0!==z.data.isPrimary&&a.push(z.data.isPrimary.toString())),wr(a),_(z.event,z.data.x,z.data.y,z.time));rn();break;case 9:for(u=0,c=Ae;u0&&(a.push(Y.id),a.push(z.data.action),wr(a));We();break;case 11:p=Je,a.push(p.width),a.push(p.height),_(t,p.width,p.height),ln(),wr(a);break;case 26:v=Tn,a.push(v.name),a.push(v.persisted),Cn(),wr(a);break;case 27:for(g=0,m=Ue;g0&&((a=[z.time,z.event]).push(M.id),a.push(z.data.x),a.push(z.data.y),a.push(I),a.push(D),wr(a),_(z.event,z.data.x,z.data.y,z.time));dn=[],fn=null,hn=null;break;case 42:for(j=0,A=_e;j0&&((a=[z.time,z.event]).push(Y.id),a.push(z.data.type),a.push(y(z.data.value,"change",Y.privacy)),a.push(y(z.data.checksum,"checksum",Y.privacy)),wr(a));Ce();break;case 39:for(R=0,X=Nn;R0&&(a.push(Y.id),wr(a));_n();break;case 22:for(L=0,P=ur;L1?t[1]:null,r=JSON.stringify(t);switch(a){case 5:vr+=r.length;case 37:case 6:case 43:case 45:case 46:gr+=r.length,lr.push(r);break;default:dr.push(r)}P(25);var i=function(){var t=!1===o.lean&&vr>0?100:Di.sequence*o.delay;return"string"==typeof o.upload?Math.max(Math.min(t,3e4),100):o.delay}();n-yr>2*i&&(q(mr),mr=null),e&&null===mr&&(25!==a&&B(),mr=W(Sr,i),yr=n,Qr(gr))}}function kr(){q(mr),Sr(!0),vr=0,gr=0,yr=0,lr=[],dr=[],fr={},pr=null,hr=!1}function Sr(t){return void 0===t&&(t=!1),rt(this,void 0,void 0,(function(){var e,n,a,r,i,u,c,s;return it(this,(function(l){switch(l.label){case 0:return mr=null,(e=!1===o.lean&&gr>0&&(gr<1048576||Di.sequence>0))&&H(1,1),Qa(),function(){var t=[];ur=[];for(var e=Di.start+Di.duration,n=Math.max(e-2e3,0),a=0,r=or;a=n&&(i.time<=e&&ur.push(i),t.push(i))}or=t,ir(22)}(),St(),function(){for(var t=0,e=ka;t0?'{"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,vt(u)];case 2:s=l.sent(),l.label=3;case 3:return z(2,(c=s)?c.length:u.length),Er(u,c,Di.sequence,n),dr=[],e&&(lr=[],gr=0,vr=0),[2]}}))}))}function Er(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))&&Tr(n)}catch(t){}if(!1===i){n in fr?fr[n].attempts++:fr[n]={data:t,attempts:1};var u=new XMLHttpRequest;u.open("POST",r,!0),u.timeout=15e3,u.ontimeout=function(){Yi(new Error("".concat("Timeout"," : ").concat(r)))},null!==n&&(u.onreadystatechange=function(){Li(Or)(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),Tr(n)}}function Or(t,e){var n=fr[e];t&&4===t.readyState&&n&&((t.status<200||t.status>208)&&n.attempts<=1?t.status>=400&&t.status<500?$r(6):(0===t.status&&(o.upload=o.fallback?o.fallback:o.upload),Er(n.data,null,e)):(pr={sequence:e,attempts:n.attempts,status:t.status},n.attempts>1&&Kr(2),200===t.status&&t.responseText&&function(t){for(var e=t&&t.length>0?t.split("\n"):[],n=0,a=e;n0?r.split(/ (.*)/):[""];switch(i[0]){case"END":$r(6);break;case"UPGRADE":nt("Auto");break;case"ACTION":o.action&&i.length>1&&o.action(i[1]);break;case"EXTRACT":i.length>1&&Hr(i[1]);break;case"SIGNAL":i.length>1&&yt(i[1])}}}(t.responseText),0===t.status&&(Er(n.data,null,e,!0),$r(3)),t.status>=200&&t.status<=208&&Tr(e),delete fr[e]))}function Tr(t){1===t&&(Si(),ki())}var Mr,Nr={};function xr(t){xr.dn=4;var e=t.error||t;return e.message in Nr||(Nr[e.message]=0),Nr[e.message]++>=5||e&&e.message&&(Mr={message:e.message,line:t.lineno,column:t.colno,stack:e.stack,source:t.filename},_r(31)),!0}function _r(t){return rt(this,void 0,void 0,(function(){var e;return it(this,(function(n){switch(e=[s(),t],t){case 31:e.push(Mr.message),e.push(Mr.line),e.push(Mr.column),e.push(Mr.stack),e.push(b(Mr.source)),wr(e);break;case 33:Ir&&(e.push(Ir.code),e.push(Ir.name),e.push(Ir.message),e.push(Ir.stack),e.push(Ir.severity),wr(e,!1));break;case 41:Et&&(e.push(Et.id),e.push(Et.target),e.push(Et.checksum),wr(e,!1))}return[2]}))}))}var Ir,Cr={};function Dr(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 Cr&&Cr[t].indexOf(i)>=0||(Ir={code:t,name:n,message:a,stack:r,severity:e},t in Cr?Cr[t].push(i):Cr[t]=[i],_r(33))}var jr,Ar={},Rr=new Set,Xr={},Yr={},Lr={},Pr={};function zr(){Ur()}function Hr(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 Xr[a]={},Yr[a]={},Lr[a]={},Pr[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);Xr[a][u]=Br(l);break;case 2:Yr[a][u]=c;break;case 4:var d=c.substring(1,c.length);Lr[a][u]=d}}}catch(t){Dr(8,1,t?t.name:null)}}function Wr(t){return JSON.parse(JSON.stringify(t))}function qr(){try{for(var t in Xr){var e=parseInt(t);if(""==Pr[e]||document.querySelector(Pr[e])){var n=Xr[e];for(var a in n){var r=parseInt(a),i=(h=Jr(Wr(n[r])))?JSON.stringify(h).substring(0,1e4):h;i&&Fr(e,r,i)}var o=Yr[e];for(var u in o){var c=parseInt(u),s=document.querySelectorAll(o[c]);if(s)Fr(e,c,Array.from(s).map((function(t){return t.textContent})).join("").substring(0,1e4))}var l=Lr[e];for(var d in l){var f=parseInt(d);Fr(e,f,te(l[f]).trim().substring(0,1e4))}}}Rr.size>0&&Kr(40)}catch(t){Dr(5,1,t?t.name:null)}var h}function Ur(){Rr.clear()}function Fr(t,e,n){var a,r=!1;t in Ar||(Ar[t]={},r=!0),a=Lr[t],0==Object.keys(a).length||e in Ar[t]&&Ar[t][e]==n||(r=!0),Ar[t][e]=n,r&&Rr.add(t)}function Vr(){Ur()}function Br(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 Jr(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&&Gr(r,a.condition))n=Jr(t,r);else if(Array.isArray(r)){for(var i=[],o=0,u=r;o1?t[n[0]]==n[1]:t[n[0]]}return!0}function Kr(t){var e=[s(),t];switch(t){case 4:var n=T;n&&((e=[n.time,n.event]).push(n.data.visible),e.push(n.data.docWidth),e.push(n.data.docHeight),e.push(n.data.screenWidth),e.push(n.data.screenHeight),e.push(n.data.scrollX),e.push(n.data.scrollY),e.push(n.data.pointerX),e.push(n.data.pointerY),e.push(n.data.activityTime),e.push(n.data.scrollTime),e.push(n.data.pointerTime),e.push(n.data.moveX),e.push(n.data.moveY),e.push(n.data.moveTime),e.push(n.data.downX),e.push(n.data.downY),e.push(n.data.downTime),wr(e,!1)),x();break;case 25:e.push(X.gap),wr(e);break;case 35:e.push(jr.check),wr(e,!1);break;case 3:e.push(et.key),wr(e);break;case 2:e.push(pr.sequence),e.push(pr.attempts),e.push(pr.status),wr(e,!1);break;case 24:A.key&&e.push(A.key),e.push(A.value),wr(e);break;case 34:var a=Object.keys(ot);if(a.length>0){for(var r=0,i=a;r0){for(var c=0,l=u;c0){for(var p=0,v=h;p0){for(var y=0,b=m;y=128?1:e,e=Di.pageNum>=128?7:e,e=s()>72e5?2:e,(e=t>10485760?2:e)!==jr.check&&$r(e)}}function $r(t){jr.check=t,5!==t&&(wi(),Mo())}function ti(){0!==jr.check&&Kr(35)}function ei(){jr=null}var ni=null,ai=null,ri=!1;function ii(){ni={},ai={},ri=!1}function oi(){ni={},ai={},ri=!1}function ui(t,e){if(e&&(e="".concat(e),t in ni||(ni[t]=[]),ni[t].indexOf(e)<0)){if(ni[t].length>128)return void(ri||(ri=!0,$r(5)));ni[t].push(e),t in ai||(ai[t]=[]),ai[t].push(e)}}function ci(){Kr(1)}function si(){ai={},ri=!1}function li(t){ui(36,t.toString())}var di=null,fi=[],hi=0,pi=null;function vi(){var t,e,n;pi=null;var a=navigator&&"userAgent"in navigator?navigator.userAgent:"",r=null!==(n=null===(e=null===(t=null===Intl||void 0===Intl?void 0:Intl.DateTimeFormat())||void 0===t?void 0:t.resolvedOptions())||void 0===e?void 0:e.timeZone)&&void 0!==n?n:"",i=(new Date).getTimezoneOffset().toString(),u=window.location.ancestorOrigins?Array.from(window.location.ancestorOrigins).toString():"",c=document&&document.title?document.title:"";hi=a.indexOf("Electron")>0?1:0;var s,l=function(){var t={session:Ti(),ts:Math.round(Date.now()),count:1,upgrade:null,upload:""},e=xi("_clsk",!o.includeSubdomains);if(e){var n=e.split("|");n.length>=5&&t.ts-Mi(n[1])<18e5&&(t.session=n[0],t.count=Mi(n[2])+1,t.upgrade=Mi(n[3]),t.upload=n.length>=6?"".concat("https://").concat(n[5],"/").concat(n[4]):"".concat("https://").concat(n[4]))}return t}(),f=Ni(),h=o.projectId||d(location.host);di={projectId:h,userId:f.id,sessionId:l.session,pageNum:l.count},o.lean=o.track&&null!==l.upgrade?0===l.upgrade:o.lean,o.upload=o.track&&"string"==typeof o.upload&&l.upload&&l.upload.length>"https://".length?l.upload:o.upload,ui(0,a),ui(3,c),ui(1,b(location.href,!!hi)),ui(2,document.referrer),ui(15,function(){var t=Ti();if(o.track&&Ei(window,"sessionStorage")){var e=sessionStorage.getItem("_cltk");t=e||t,sessionStorage.setItem("_cltk",t)}return t}()),ui(16,document.documentElement.lang),ui(17,document.dir),ui(26,"".concat(window.devicePixelRatio)),ui(28,f.dob.toString()),ui(29,f.version.toString()),ui(33,u),ui(34,r),ui(35,i),H(0,l.ts),H(1,0),H(35,hi),navigator&&(ui(9,navigator.language),H(33,navigator.hardwareConcurrency),H(32,navigator.maxTouchPoints),H(34,Math.round(navigator.deviceMemory)),(s=navigator.userAgentData)&&s.getHighEntropyValues?s.getHighEntropyValues(["model","platform","platformVersion","uaFullVersion"]).then((function(t){var e;ui(22,t.platform),ui(23,t.platformVersion),null===(e=t.brands)||void 0===e||e.forEach((function(t){ui(24,t.name+"~"+t.version)})),ui(25,t.model),H(27,t.mobile?1:0)})):ui(22,navigator.platform)),screen&&(H(14,Math.round(screen.width)),H(15,Math.round(screen.height)),H(16,Math.round(screen.colorDepth)));for(var p=0,v=o.cookies;p0)for(var e=0;e=1||t.consent!==e||t.dob!==a)&&Ii("_clck",[di.userId,2,n.toString(36),e,a].join("|"),365)}function Ti(){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 Mi(t,e){return void 0===e&&(e=10),parseInt(t,e)}function Ni(){var t={id:Ti(),version:0,expiry:null,consent:0,dob:0},e=xi("_clck",!o.includeSubdomains);if(e&&e.length>0){for(var n=e.split("|"),a=0,r=0,i=document.cookie.split(";");r1){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=Mi(n[1])),n.length>2&&(t.expiry=Mi(n[2],36)),n.length>3&&1===Mi(n[3])&&(t.consent=1),n.length>4&&Mi(n[1])>1&&(t.dob=Mi(n[4])),o.track=o.track||1===t.consent,t.id=o.track?n[0]:t.id}return t}function xi(t,e){var n;if(void 0===e&&(e=!1),Ei(document,"cookie")){var a=document.cookie.split(";");if(a)for(var r=0;r1&&i[0]&&i[0].trim()===t){for(var o=_i(i[1]),u=o[0],c=o[1];u;)u=(n=_i(c))[0],c=n[1];return e?c.endsWith("".concat("~","1"))?c.substring(0,c.length-2):null:c}}}return null}function _i(t){try{var e=decodeURIComponent(t);return[e!=t,e]}catch(t){}return[!1,t]}function Ii(t,e,n){if((o.track||""==e)&&(navigator&&navigator.cookieEnabled||Ei(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===pi){for(var c=location.hostname?location.hostname.split("."):[],s=c.length-1;s>=0;s--)if(pi=".".concat(c[s]).concat(pi||""),s0){var n={v:Di.version,p:Di.projectId,u:Di.userId,s:Di.sessionId,n:Di.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)),Ci.push(t.message)}}return t}function Li(t){return function(){var e=performance.now();try{t.apply(this,arguments)}catch(t){throw Yi(t)}var n=performance.now()-e;z(4,n),n>30&&(P(7),H(6,n),Dr(9,0,"".concat(t.dn||t.name,"-").concat(n)))}}var Pi=[];function zi(t,e,n,a,r){void 0===a&&(a=!1),void 0===r&&(r=!0),n=Li(n);try{t[u("addEventListener")](e,n,{capture:a,passive:r}),Pi.push({event:e,target:t,listener:n,options:{capture:a,passive:r}})}catch(t){}}function Hi(){for(var t=0,e=Pi;t20)||(Dr(4,0),!1)}function Bi(){Bi.dn=1,Fi=0,Ui!==Gi()&&(Mo(),window.setTimeout(Ji,250))}function Ji(){To(),H(29,1)}function Gi(){return location.href?location.href.replace(location.hash,""):location.href}var Ki=!1;function Zi(){Ki=!0,c=performance.now()+performance.timeOrigin,ge(),Hi(),Xi(),Ui=Gi(),Fi=0,zi(window,"popstate",Bi),null===Wi&&(Wi=history.pushState,history.pushState=function(){Wi.apply(this,arguments),$i()&&Vi()&&Bi()}),null===qi&&(qi=history.replaceState,history.replaceState=function(){qi.apply(this,arguments),$i()&&Vi()&&Bi()})}function Qi(){Ui=null,Fi=0,Xi(),Hi(),ge(),c=0,Ki=!1}function $i(){return Ki}function to(){to.dn=2,To(),R("clarity","restart")}var eo=Object.freeze({__proto__:null,start:function t(){t.dn=3,function(){Ot=[],H(26,navigator.webdriver?1:0);try{H(31,window.top==window.self||window.top==window?1:2)}catch(t){H(31,0)}}(),zi(window,"error",xr),Nr={},Cr={}},stop:function(){Cr={}}});function no(){return rt(this,void 0,void 0,(function(){var t,e;return it(this,(function(n){switch(n.label){case 0:return t=s(),we(e={id:yi(),cost:3}),[4,Xn(document,e,0,t)];case 1:return n.sent(),Ea(document,t),[4,za(5,e,t)];case 2:return n.sent(),ke(e),[2]}}))}))}var ao=Object.freeze({__proto__:null,hashText:te,start:function t(){t.dn=20,Ne(),xe(),nr(),Ga=null,Fa=new WeakMap,Va={},Ba=[],Ja=!!window.IntersectionObserver,Ft(),o.delayDom?zi(window,"load",(function(){Zn()})):Zn(),me(no,1).then((function(){Li(xe)(),Li(Qa)(),Li(yn)()})),window.CSSStyleSheet&&CSSStyleSheet.prototype&&(null===ga&&(ga=CSSStyleSheet.prototype.replace,CSSStyleSheet.prototype.replace=function(){return $i()&&(H(36,1),Sa.indexOf(this[ya])>-1&&Ta(s(),this[ya],1,arguments[0])),ga.apply(this,arguments)}),null===ma&&(ma=CSSStyleSheet.prototype.replaceSync,CSSStyleSheet.prototype.replaceSync=function(){return $i()&&(H(36,1),Sa.indexOf(this[ya])>-1&&Ta(s(),this[ya],2,arguments[0])),ma.apply(this,arguments)})),function(){if(window.Animation&&window.Animation.prototype&&window.KeyframeEffect&&window.KeyframeEffect.prototype&&window.KeyframeEffect.prototype.getKeyframes&&window.KeyframeEffect.prototype.getTiming&&(Xa(),La(xa,"play"),La(_a,"pause"),La(Ia,"commitStyles"),La(Ca,"cancel"),La(Da,"finish"),null===Na&&(Na=Element.prototype.animate,Element.prototype.animate=function(){var t=Na.apply(this,arguments);return Pa(t,"play"),t}),document.getAnimations))for(var t=0,e=document.getAnimations();t(null==e?void 0:e.latency)){if(n)t.duration>n.latency&&(n.latency=t.duration);else{var a={id:t.interactionId,latency:t.duration};po.set(a.id,a),ho.push(a)}ho.sort((function(t,e){return e.latency-t.latency})),ho.length>10&&ho.splice(10).forEach((function(t){return po.delete(t.id)}))}}},bo=["navigation","resource","longtask","first-input","layout-shift","largest-contentful-paint","event"];function wo(){wo.dn=26;try{uo&&uo.disconnect(),uo=new PerformanceObserver(Li(ko));for(var t=0,e=bo;t=0&&("layout-shift"===n&&z(9,0),uo.observe({type:n,buffered:!0}))}}catch(t){Dr(3,1)}}function ko(t){ko.dn=27,function(t){for(var e=(!("visibilityState"in document)||"visible"===document.visibilityState),n=0;n0;)xo[_o].apply(xo,t.shift())}}Io()}();