clarity-js 0.7.60 → 0.7.61
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 +28 -10
- package/build/clarity.min.js +1 -1
- package/build/clarity.module.js +28 -10
- package/build/clarity.performance.js +1 -1
- package/package.json +1 -1
- package/src/core/scrub.ts +18 -10
- package/src/data/envelope.ts +10 -3
- package/src/data/upload.ts +2 -2
- package/types/data.d.ts +6 -1
package/build/clarity.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
var data$k = require('@clarity-types/data');
|
|
4
|
+
|
|
3
5
|
var upload$1 = /*#__PURE__*/Object.freeze({
|
|
4
6
|
__proto__: null,
|
|
5
7
|
get queue () { return queue; },
|
|
@@ -190,6 +192,7 @@ function hash (input, precision) {
|
|
|
190
192
|
}
|
|
191
193
|
|
|
192
194
|
var catchallRegex = /\S/gi;
|
|
195
|
+
var maxUrlLength = 255;
|
|
193
196
|
var unicodeRegex = true;
|
|
194
197
|
var digitRegex = null;
|
|
195
198
|
var letterRegex = null;
|
|
@@ -271,19 +274,26 @@ function text$1(value, hint, privacy, mangle, type) {
|
|
|
271
274
|
}
|
|
272
275
|
return value;
|
|
273
276
|
}
|
|
274
|
-
function url$1(input, electron) {
|
|
277
|
+
function url$1(input, electron, truncate) {
|
|
275
278
|
if (electron === void 0) { electron = false; }
|
|
279
|
+
if (truncate === void 0) { truncate = false; }
|
|
280
|
+
var result = input;
|
|
276
281
|
// Replace the URL for Electron apps so we don't send back file:/// URL
|
|
277
282
|
if (electron) {
|
|
278
|
-
|
|
283
|
+
result = "".concat("https://" /* Data.Constant.HTTPS */).concat("Electron" /* Data.Constant.Electron */);
|
|
279
284
|
}
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
+
else {
|
|
286
|
+
var drop_1 = config$2.drop;
|
|
287
|
+
if (drop_1 && drop_1.length > 0 && input && input.indexOf("?") > 0) {
|
|
288
|
+
var _a = input.split("?"), path = _a[0], query = _a[1];
|
|
289
|
+
var swap_1 = "*na*" /* Data.Constant.Dropped */;
|
|
290
|
+
result = path + "?" + query.split("&").map(function (p) { return drop_1.some(function (x) { return p.indexOf("".concat(x, "=")) === 0; }) ? "".concat(p.split("=")[0], "=").concat(swap_1) : p; }).join("&");
|
|
291
|
+
}
|
|
285
292
|
}
|
|
286
|
-
|
|
293
|
+
if (truncate) {
|
|
294
|
+
result = result.substring(0, maxUrlLength);
|
|
295
|
+
}
|
|
296
|
+
return result;
|
|
287
297
|
}
|
|
288
298
|
function mangleText(value) {
|
|
289
299
|
var trimmed = value.trim();
|
|
@@ -673,6 +683,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
673
683
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
674
684
|
PERFORMANCE OF THIS SOFTWARE.
|
|
675
685
|
***************************************************************************** */
|
|
686
|
+
/* global Reflect, Promise */
|
|
687
|
+
|
|
676
688
|
|
|
677
689
|
function __awaiter(thisArg, _arguments, P, generator) {
|
|
678
690
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
@@ -5057,7 +5069,9 @@ function start$8() {
|
|
|
5057
5069
|
sessionId: m.sessionId,
|
|
5058
5070
|
pageNum: m.pageNum,
|
|
5059
5071
|
upload: 0 /* Upload.Async */,
|
|
5060
|
-
end: 0 /* BooleanFlag.False
|
|
5072
|
+
end: 0 /* BooleanFlag.False */,
|
|
5073
|
+
applicationPlatform: data$k.WebApp,
|
|
5074
|
+
url: ''
|
|
5061
5075
|
};
|
|
5062
5076
|
}
|
|
5063
5077
|
function stop$7() {
|
|
@@ -5069,6 +5083,8 @@ function envelope(last) {
|
|
|
5069
5083
|
data$1.sequence++;
|
|
5070
5084
|
data$1.upload = last && "sendBeacon" in navigator ? 1 /* Upload.Beacon */ : 0 /* Upload.Async */;
|
|
5071
5085
|
data$1.end = last ? 1 /* BooleanFlag.True */ : 0 /* BooleanFlag.False */;
|
|
5086
|
+
data$1.applicationPlatform = data$k.WebApp;
|
|
5087
|
+
data$1.url = url$1(location.href, false, true);
|
|
5072
5088
|
return [
|
|
5073
5089
|
data$1.version,
|
|
5074
5090
|
data$1.sequence,
|
|
@@ -5079,7 +5095,9 @@ function envelope(last) {
|
|
|
5079
5095
|
data$1.sessionId,
|
|
5080
5096
|
data$1.pageNum,
|
|
5081
5097
|
data$1.upload,
|
|
5082
|
-
data$1.end
|
|
5098
|
+
data$1.end,
|
|
5099
|
+
data$1.applicationPlatform,
|
|
5100
|
+
data$1.url
|
|
5083
5101
|
];
|
|
5084
5102
|
}
|
|
5085
5103
|
|
package/build/clarity.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(){"use strict";var t=Object.freeze({__proto__:null,get queue(){return br},get start(){return yr},get stop(){return wr},get track(){return hr}}),e=Object.freeze({__proto__:null,get clone(){return Xr},get compute(){return Yr},get data(){return jr},get keys(){return Ar},get reset(){return qr},get start(){return Hr},get stop(){return Fr},get trigger(){return Wr},get update(){return Ur}}),n=Object.freeze({__proto__:null,get check(){return Zr},get compute(){return $r},get data(){return Dr},get start(){return Kr},get stop(){return ti},get trigger(){return Qr}}),a=Object.freeze({__proto__:null,get compute(){return ui},get data(){return ei},get log(){return oi},get reset(){return ci},get start(){return ri},get stop(){return ii},get updates(){return ni}}),r=Object.freeze({__proto__:null,get callback(){return wi},get callbacks(){return di},get clear(){return bi},get consent(){return yi},get data(){return li},get electron(){return fi},get id(){return mi},get metadata(){return gi},get save(){return ki},get shortid(){return Oi},get start(){return pi},get stop(){return vi}}),i=Object.freeze({__proto__:null,get data(){return Ci},get envelope(){return Ai},get start(){return Di},get stop(){return ji}}),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,longTask:30,includeSubdomains:!0};function u(t){return window.Zone&&"__symbol__"in window.Zone?window.Zone.__symbol__(t):t}var c=0;function s(t){void 0===t&&(t=null);var e=t&&t.timeStamp>0?t.timeStamp:performance.now(),n=t&&t.view?t.view.performance.timeOrigin:performance.timeOrigin;return Math.max(Math.round(e+n-c),0)}var l="0.7.58";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,r){if(void 0===a&&(a=!1),t){if("input"==e&&("checkbox"===r||"radio"===r))return t;switch(n){case 0:return t;case 1:switch(e){case"*T":case"value":case"placeholder":case"click":return function(t){var e=-1,n=0,a=!1,r=!1,i=!1,o=null;E();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 S(t)}return t;case 2:case 3:switch(e){case"*T":case"data-":return a?b(t):w(t);case"src":case"srcset":case"title":case"alt":return 3===n?"":t;case"value":case"click":case"input":case"change":return S(t);case"placeholder":return w(t)}break;case 4:switch(e){case"*T":case"data-":return a?b(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 y(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 b(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 E(),t?t.replace(v,e).replace(p,n):t}function S(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 E(){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,T=null,N=!1;function M(){N&&(O={time:s(),event:4,data:{visible:T.visible,docWidth:T.docWidth,docHeight:T.docHeight,screenWidth:T.screenWidth,screenHeight:T.screenHeight,scrollX:T.scrollX,scrollY:T.scrollY,pointerX:T.pointerX,pointerY:T.pointerY,activityTime:T.activityTime,scrollTime:T.scrollTime}}),T=T||{visible:1,docWidth:0,docHeight:0,screenWidth:0,screenHeight:0,scrollX:0,scrollY:0,pointerX:0,pointerY:0,activityTime:0,scrollTime:0}}function x(t,e,n,a){switch(t){case 8:T.docWidth=e,T.docHeight=n;break;case 11:T.screenWidth=e,T.screenHeight=n;break;case 10:T.scrollX=e,T.scrollY=n,T.scrollTime=a;break;default:T.pointerX=e,T.pointerY=n}N=!0}function _(t){T.activityTime=t}function I(t,e){T.visible="visible"===e?1:0,T.visible||_(t),N=!0}function C(){N&&Gr(4)}var D=Object.freeze({__proto__:null,activity:_,compute:C,reset:M,start:function(){N=!1,M()},get state(){return O},stop:function(){M()},track:x,visibility:I}),j=null;function A(t,e){Qi()&&t&&"string"==typeof t&&t.length<255&&(j=e&&"string"==typeof e&&e.length<255?{key:t,value:e}:{value:t},Gr(24))}var R,L=null,P=null;function z(t){t in L||(L[t]=0),t in P||(P[t]=0),L[t]++,P[t]++}function H(t,e){null!==e&&(t in L||(L[t]=0),t in P||(P[t]=0),L[t]+=e,P[t]+=e)}function W(t,e){null!==e&&!1===isNaN(e)&&(t in L||(L[t]=0),(e>L[t]||0===L[t])&&(P[t]=e,L[t]=e))}function X(t,e,n){return window.setTimeout(Pi(t),e,n)}function Y(t){return window.clearTimeout(t)}var q=0,U=0,F=null;function V(){F&&Y(F),F=X(B,U),q=s()}function B(){var t=s();R={gap:t-q},Gr(25),R.gap<3e5?F=X(B,U):Gi&&(A("clarity","suspend"),Mo(),["mousemove","touchstart"].forEach((function(t){return Hi(document,t,$i)})),["resize","scroll","pageshow"].forEach((function(t){return Hi(window,t,$i)})))}var J=Object.freeze({__proto__:null,get data(){return R},reset:V,start:function(){U=6e4,q=0},stop:function(){Y(F),q=0,U=0}}),G=null;function K(t,e){if(t in G){var n=G[t],a=n[n.length-1];e-a[0]>100?G[t].push([e,0]):a[1]=e-a[0]}else G[t]=[[e,0]]}function Z(){Gr(36)}function Q(){G={}}var $=Object.freeze({__proto__:null,compute:Z,get data(){return G},reset:Q,start:function(){G={}},stop:function(){G={}},track:K}),tt=null;function et(t){Qi()&&o.lean&&(o.lean=!1,tt={key:t},wi(),ki(),o.upgrade&&o.upgrade(t),Gr(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(Qi()&&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(){Gr(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=null;function mt(t){try{if(!gt)return;var e=function(t){try{return JSON.parse(t)}catch(t){return[]}}(t);e.forEach((function(t){gt(t)}))}catch(t){}}var yt=[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 bt(){L={},P={},z(5),yt.forEach((function(t){return Pi(t.start)()}))}function wt(){yt.slice().reverse().forEach((function(t){return Pi(t.stop)()})),L={},P={}}function kt(){st(),C(),ui(),Gr(0),Z(),$r(),Yr()}var St,Et=[];function Ot(t,e,n){o.fraud&&null!==t&&n&&n.length>=5&&(St={id:t,target:e,checksum:d(n,28)},Et.indexOf(St.checksum)<0&&(Et.push(St.checksum),xr(41)))}var Tt="load,active,fixed,visible,focus,show,collaps,animat".split(","),Nt={};function Mt(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 xt(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 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&&xt(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 xt(t){if(!t)return!1;if(Tt.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 _t=1,It=null,Ct=[],Dt=[],jt={},At=[],Rt=[],Lt=[],Pt=[],zt=[],Ht=[],Wt=null,Xt=null,Yt=null,qt=null;function Ut(){Vt(),Bt(document,!0)}function Ft(){Vt()}function Vt(){_t=1,Ct=[],Dt=[],jt={},At=[],Rt=[],Lt="address,password,contact".split(","),Pt="password,secret,pass,social,ssn,code,hidden".split(","),zt="radio,checkbox,range,button,reset,submit".split(","),Ht="INPUT,SELECT,TEXTAREA".split(","),It=new Map,Wt=new WeakMap,Xt=new WeakMap,Yt=new WeakMap,qt=new WeakMap,Nt={}}function Bt(t,e){void 0===e&&(e=!1);try{e&&o.unmask.forEach((function(t){return t.indexOf("!")<0?Rt.push(t):At.push(t.substr(1))})),"querySelectorAll"in t&&(o.regions.forEach((function(e){return t.querySelectorAll(e[1]).forEach((function(t){return Ga(t,"".concat(e[0]))}))})),o.mask.forEach((function(e){return t.querySelectorAll(e).forEach((function(t){return Yt.set(t,3)}))})),o.checksum.forEach((function(e){return t.querySelectorAll(e[1]).forEach((function(t){return qt.set(t,e[0])}))})),Rt.forEach((function(e){return t.querySelectorAll(e).forEach((function(t){return Yt.set(t,0)}))})))}catch(t){Cr(5,1,t?t.name:null)}}function Jt(t,e){if(void 0===e&&(e=!1),null===t)return null;var n=Wt.get(t);return!n&&e&&(n=_t++,Wt.set(t,n)),n||null}function Gt(t){var e=!1;if(t.nodeType===Node.ELEMENT_NODE&&"IFRAME"===t.tagName){var n=t;try{n.contentDocument&&(Xt.set(n.contentDocument,n),e=!0)}catch(t){}}return e}function Kt(t){var e=t.nodeType===Node.DOCUMENT_NODE?t:null;return e&&Xt.has(e)?Xt.get(e):null}function Zt(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 Qt(t){var e=t.parent&&t.parent in Ct?Ct[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=Ct[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=[Mt(i,0),Mt(i,1)],t.hash=t.selector.map((function(t){return t?d(t):null})),t.hash.forEach((function(e){return jt[e]=t.id}))}function $t(t){var e=te(ne(t));return null!==e&&null!==e.textContent?e.textContent.substr(0,25):""}function te(t){return It.has(t)?It.get(t):null}function ee(t){var e=Jt(t);return e in Ct?Ct[e]:null}function ne(t){return t in jt?jt[t]:null}function ae(t){return It.has(Jt(t))}function re(){for(var t=[],e=0,n=Dt;e<n.length;e++){var a=n[e];a in Ct&&t.push(Ct[a])}return Dt=[],t}function ie(t){if(It.get(t).nodeType!==Node.DOCUMENT_FRAGMENT_NODE){It.delete(t);var e=t in Ct?Ct[t]:null;if(e&&e.children)for(var n=0,a=e.children;n<a.length;n++){ie(a[n])}}}function oe(t){for(var e=null;null===e&&t.previousSibling;)e=Jt(t.previousSibling),t=t.previousSibling;return e}function ue(t,e,n,a){void 0===n&&(n=!0),void 0===a&&(a=!1);var r=Dt.indexOf(t);r>=0&&1===e&&a?(Dt.splice(r,1),Dt.push(t)):-1===r&&n&&Dt.push(t)}var ce=Object.freeze({__proto__:null,add:function(t,e,n,a){var r=Jt(t,!0),i=e?Jt(e):null,u=oe(t),c=null,s=Ka(t)?r:null,l=qt.has(t)?qt.get(t):null,d=o.content?1:3;i>=0&&Ct[i]&&((c=Ct[i]).children.push(r),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&&(Ga(t,n.attributes["data-clarity-region"]),s=r),It.set(r,t),Ct[r]={id:r,parent:i,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 Ht.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=Pt.some((function(t){return l.indexOf(t)>=0}));i.privacy="INPUT"===c&&zt.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 Yt.has(t):i.privacy=Yt.get(t);break;case qt.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)||At.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,Lt,i);break;case"IMG"===c:(null===(a=u.src)||void 0===a?void 0:a.startsWith("blob:"))&&(i.privacy=3)}}(t,Ct[r],c),Qt(Ct[r]),function(t){if("IMG"===t.data.tag&&3===t.metadata.privacy){var e=te(t.id);!e||e.complete&&0!==e.naturalWidth||Hi(e,"load",(function(){e.setAttribute("data-clarity-loaded","".concat(Oi()))})),t.metadata.size=[]}}(Ct[r]),ue(r,a)},get:ee,getId:Jt,getNode:te,getValue:function(t){return t in Ct?Ct[t]:null},has:ae,hashText:$t,iframe:Kt,lookup:ne,parse:Bt,sameorigin:Gt,start:Ut,stop:Ft,update:function(t,e,n,a){var r=Jt(t),i=e?Jt(e):null,o=oe(t),u=!1,c=!1;if(r in Ct){var s=Ct[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:Ct[i].children.indexOf(o)+1;Ct[i].children.splice(d,0,r),s.region=Ka(t)?r:Ct[i].region}else!function(t,e){if(t in Ct){var n=Ct[t];n.metadata.active=!1,n.parent=null,ue(t,e),ie(t)}}(r,a);if(null!==l&&l>=0){var f=Ct[l].children.indexOf(r);f>=0&&Ct[l].children.splice(f,1)}c=!0}for(var h in n)Zt(s.data,n,h)&&(u=!0,s.data[h]=n[h]);Qt(s),ue(r,a,u,c)}},updates:re}),se=5e3,le={},de=[],fe=null,he=null,pe=null;function ve(){le={},de=[],fe=null,he=null}function ge(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=de;n<a.length;n++)if(a[n].task===t)return[2];return r=new Promise((function(n){de[1===e?"unshift":"push"]({task:t,resolve:n,id:mi()})})),null===fe&&null===he&&me(),[2,r]}))}))}function me(){var t=de.shift();t&&(fe=t,t.task().then((function(){t.id===mi()&&(t.resolve(),fe=null,me())})).catch((function(e){t.id===mi()&&(e&&Cr(0,1,e.name,e.message,e.stack),fe=null,me())})))}function ye(t){var e=Se(t);return e in le?performance.now()-le[e].start>le[e].yield?0:1:2}function be(t){le[Se(t)]={start:performance.now(),calls:0,yield:o.longTask}}function we(t){var e=performance.now(),n=Se(t),a=e-le[n].start;H(t.cost,a),z(5),le[n].calls>0&&H(4,a)}function ke(t){return at(this,void 0,void 0,(function(){var e,n;return rt(this,(function(a){switch(a.label){case 0:return(e=Se(t))in le?(we(t),n=le[e],[4,Ee()]):[3,2];case 1:n.yield=a.sent().timeRemaining(),function(t){var e=Se(t);if(le&&le[e]){var n=le[e].calls,a=le[e].yield;be(t),le[e].calls=n+1,le[e].yield=a}}(t),a.label=2;case 2:return[2,e in le?1:2]}}))}))}function Se(t){return"".concat(t.id,".").concat(t.cost)}function Ee(){return at(this,void 0,void 0,(function(){return rt(this,(function(t){switch(t.label){case 0:return he?[4,he]:[3,2];case 1:t.sent(),t.label=2;case 2:return[2,new Promise((function(t){Te(t,{timeout:se})}))]}}))}))}var Oe,Te=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(),u=r-n,c=r-a.data;if(c>o.longTask&&u<e.timeout)requestAnimationFrame((function(){i.postMessage(r)}));else{var s=u>e.timeout;t({didTimeout:s,timeRemaining:function(){return s?o.longTask:Math.max(0,o.longTask-c)}})}},requestAnimationFrame((function(){i.postMessage(performance.now())}))};function Ne(){Oe=null}function Me(){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!==Oe&&c===Oe.width&&v===Oe.height||null===c||null===v||(Oe={width:c,height:v},Ha(8))}Me.dn=19;var xe=[];function _e(t){var e=nr(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):"";xe.push({time:s(t),event:42,data:{target:nr(t),type:e.type,value:n,checksum:a}}),ge(rr.bind(this,42))}}function Ie(){xe=[]}function Ce(t){var e={x:0,y:0};if(t&&t.offsetParent)do{var n=t.offsetParent,a=null===n?Kt(t.ownerDocument):null;e.x+=t.offsetLeft,e.y+=t.offsetTop,t=a||n}while(t);return e}_e.dn=5;var De=["input","textarea","radio","button","canvas"],je=[];function Ae(t,e,n){var a=Kt(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=Ce(a);i=i?i+Math.round(u.x):i,o=o?o+Math.round(u.y):o}var c=nr(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&&(je.push({time:s(n),event:t,data:{target:c,x:i,y:o,eX:f,eY:h,button:n.button,reaction:Le(c),context:Pe(l),text:Re(c),link:l?l.href:null,hash:null,trust:n.isTrusted?1:0}}),ge(rr.bind(this,t)))}function Re(t){var e=null;if(t){var n=t.textContent||String(t.value||"")||t.alt;n&&(e=n.replace(/\s+/g," ").trim().substr(0,25))}return e}function Le(t){if(t.nodeType===Node.ELEMENT_NODE){var e=t.tagName.toLowerCase();if(De.indexOf(e)>=0)return 0}return 1}function Pe(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(){je=[]}Ae.dn=6;var He=[];function We(t,e){He.push({time:s(e),event:38,data:{target:nr(e),action:t}}),ge(rr.bind(this,38))}function Xe(){He=[]}We.dn=7;var Ye=null,qe=[];function Ue(t){var e=nr(t),n=ee(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};qe.length>0&&qe[qe.length-1].data.target===i.target&&qe.pop(),qe.push({time:s(t),event:27,data:i}),Y(Ye),Ye=X(Fe,1e3,27)}}function Fe(t){ge(rr.bind(this,t))}function Ve(){qe=[]}Ue.dn=9;var Be,Je=[],Ge=null,Ke=!1,Ze=0,Qe=new Set;function $e(t,e,n){var a=Kt(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=Ce(a);i=i?i+Math.round(u.x):i,o=o?o+Math.round(u.y):o}null!==i&&null!==o&&en({time:s(n),event:t,data:{target:nr(n),x:i,y:o}})}function tn(t,e,n){var a=Kt(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;var f="identifier"in c?c.identifier:void 0;switch(t){case 17:0===Qe.size&&(Ke=!0,Ze=f),Qe.add(f);break;case 18:case 20:Qe.delete(f)}var h=Ke&&Ze===f;null!==l&&null!==d&&en({time:o,event:t,data:{target:nr(n),x:l,y:d,id:f,isPrimary:h}}),20!==t&&18!==t||Ze===f&&(Ke=!1)}}function en(t){switch(t.event){case 12:case 15:case 19:var e=Je.length,n=e>1?Je[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)&&Je.pop(),Je.push(t),Y(Ge),Ge=X(nn,500,t.event);break;default:Je.push(t),nn(t.event)}}function nn(t){ge(rr.bind(this,t))}function an(){Je=[]}$e.dn=10,tn.dn=11;var rn=null,on=!1;function un(){var t=document.documentElement;Be={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},on?(Y(rn),rn=X(cn,500,11)):(rr(11),on=!0)}function cn(t){ge(rr.bind(this,t))}function sn(){Be=null,Y(rn)}un.dn=12;var ln=[],dn=null,fn=null,hn=null;function pn(t){void 0===t&&(t=null);var e=window,n=document.documentElement,a=t?nr(t):n;if(a&&a.nodeType===Node.DOCUMENT_NODE){var r=Kt(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=vn(l,d),p=vn(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 dn=h,void(fn=p);var g=ln.length,m=g>1?ln[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)&&ln.pop(),ln.push(v),Y(hn),hn=X(gn,500,10)}function vn(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 gn(t){ge(rr.bind(this,t))}function mn(){var t,e;if(dn){var n=ar(dn,null);oi(31,null===(t=null==n?void 0:n.hash)||void 0===t?void 0:t.join("."))}if(fn){var a=ar(fn,null);oi(32,null===(e=null==a?void 0:a.hash)||void 0===e?void 0:e.join("."))}}pn.dn=13,mn.dn=14;var yn=null,bn=null,wn=null;function kn(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=yn.start?yn.start:null;null!==bn&&null!==yn.start&&n!==e.anchorNode&&(Y(wn),Sn(21)),yn={start:e.anchorNode,startOffset:e.anchorOffset,end:e.focusNode,endOffset:e.focusOffset},bn=e,Y(wn),wn=X(Sn,500,21)}}function Sn(t){ge(rr.bind(this,t))}function En(){bn=null,yn={start:0,startOffset:0,end:0,endOffset:0}}kn.dn=15;var On,Tn,Nn=[];function Mn(t){Nn.push({time:s(t),event:39,data:{target:nr(t)}}),ge(rr.bind(this,39))}function xn(){Nn=[]}function _n(t){On={name:t.type},rr(26,s(t)),Mo()}function In(){On=null}function Cn(t){void 0===t&&(t=null),Tn={visible:"visibilityState"in document?document.visibilityState:"default"},rr(28,s(t))}function Dn(){Tn=null}function jn(){ir=[],ur(),ze(),Xe(),an(),Ve(),on=!1,Hi(window,"resize",un),un(),Hi(document,"visibilitychange",Cn),Cn(),ln=[],pn(),En(),Ie(),xn(),Hi(window,"pagehide",_n)}function An(t){!function(t){var e=Kt(t);Hi(e?e.contentWindow:t===document?window:t,"scroll",pn,!0)}(t),t.nodeType===Node.DOCUMENT_NODE&&(function(t){Hi(t,"click",Ae.bind(this,9,t),!0)}(t),function(t){Hi(t,"cut",We.bind(this,0),!0),Hi(t,"copy",We.bind(this,1),!0),Hi(t,"paste",We.bind(this,2),!0)}(t),function(t){Hi(t,"mousedown",$e.bind(this,13,t),!0),Hi(t,"mouseup",$e.bind(this,14,t),!0),Hi(t,"mousemove",$e.bind(this,12,t),!0),Hi(t,"wheel",$e.bind(this,15,t),!0),Hi(t,"dblclick",$e.bind(this,16,t),!0),Hi(t,"touchstart",tn.bind(this,17,t),!0),Hi(t,"touchend",tn.bind(this,18,t),!0),Hi(t,"touchmove",tn.bind(this,19,t),!0),Hi(t,"touchcancel",tn.bind(this,20,t),!0)}(t),function(t){Hi(t,"input",Ue,!0)}(t),function(t){Hi(t,"selectstart",kn.bind(this,t),!0),Hi(t,"selectionchange",kn.bind(this,t),!0)}(t),function(t){Hi(t,"change",_e,!0)}(t),function(t){Hi(t,"submit",Mn,!0)}(t))}Mn.dn=16,_n.dn=17,Cn.dn=18,jn.dn=8;var Rn=Object.freeze({__proto__:null,observe:An,start:jn,stop:function(){ir=[],ur(),ze(),Xe(),Y(Ge),Je.length>0&&nn(Je[Je.length-1].event),Y(Ye),Ve(),sn(),Dn(),Y(hn),ln=[],dn=null,fn=null,En(),Y(wn),Ie(),xn(),In()}});function Ln(t,e,n,a){return at(this,void 0,void 0,(function(){var r,i,o,u,c;return rt(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=ye(e))?[3,3]:[4,ke(e)];case 2:u=s.sent(),s.label=3;case 3:return 2===u?[3,4]:((c=sa(i,n,a))&&r.push(c),[3,1]);case 4:return[2]}}))}))}var Pn=[],zn=[],Hn={},Wn=null,Xn=null,Yn=null,qn=null,Un=null,Fn=[],Vn=null,Bn=null,Jn=null,Gn={};function Kn(){if(Pn=[],Fn=[],Vn=null,Jn=0,Gn={},null===Wn&&(Wn=CSSStyleSheet.prototype.insertRule,CSSStyleSheet.prototype.insertRule=function(){return Qi()&&na(this.ownerNode),Wn.apply(this,arguments)}),"CSSMediaRule"in window&&null===qn&&(qn=CSSMediaRule.prototype.insertRule,CSSMediaRule.prototype.insertRule=function(){return Qi()&&na(this.parentStyleSheet.ownerNode),qn.apply(this,arguments)}),null===Xn&&(Xn=CSSStyleSheet.prototype.deleteRule,CSSStyleSheet.prototype.deleteRule=function(){return Qi()&&na(this.ownerNode),Xn.apply(this,arguments)}),"CSSMediaRule"in window&&null===Un&&(Un=CSSMediaRule.prototype.deleteRule,CSSMediaRule.prototype.deleteRule=function(){return Qi()&&na(this.parentStyleSheet.ownerNode),Un.apply(this,arguments)}),null===Yn){Yn=Element.prototype.attachShadow;try{Element.prototype.attachShadow=function(){return Qi()?na(Yn.apply(this,arguments)):Yn.apply(this,arguments)}}catch(t){Yn=null}}}function Zn(t){var e=s();K(6,e),zn.push({time:e,mutations:t}),ge($n,1).then((function(){X(Me),Pi(Za)()}))}function Qn(t,e,n,a){return at(this,void 0,void 0,(function(){var r,i,u;return rt(this,(function(c){switch(c.label){case 0:return 0!==(r=ye(t))?[3,2]:[4,ke(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?ee(t.target.parentNode):null;if(r&&"HTML"!==r.data.tag){var i=a>Jn,o=ee(t.target),u=o&&o.selector?o.selector.join():t.target.nodeName,c=[r.selector?r.selector.join():"",u,t.attributeName,ta(t.addedNodes),ta(t.removedNodes)].join();Gn[c]=c in Gn?Gn[c]:[0,n];var s=Gn[c];if(!1===i&&s[0]>=10&&ea(s[2],2,e,a),s[0]=i?s[1]===n?s[0]:s[0]+1:1,s[1]=n,s[0]>=10)return s[2]=t.removedNodes,n>a+3e3?t.type:(Hn[c]={mutation:t,timestamp:a},"throttle")}return t.type}(e,t,n,a):e.type,u&&i&&i.ownerDocument&&Bt(i.ownerDocument),u&&i&&i.nodeType==Node.DOCUMENT_FRAGMENT_NODE&&i.host&&Bt(i),u){case"attributes":sa(i,3,a);break;case"characterData":sa(i,4,a);break;case"childList":ea(e.addedNodes,1,t,a),ea(e.removedNodes,2,t,a)}return[2]}}))}))}function $n(){return at(this,void 0,void 0,(function(){var t,e,n,a,r,i,o,u,c,l,d;return rt(this,(function(f){switch(f.label){case 0:be(t={id:mi(),cost:3}),f.label=1;case 1:if(!(zn.length>0))return[3,3];for(e=zn.shift(),n=s(),a=0,r=e.mutations;a<r.length;a++)i=r[a],Qn(t,i,n,e.time);return[4,Ha(6,t,e.time)];case 2:return f.sent(),[3,1];case 3:for(o=!1,u=0,c=Object.keys(Hn);u<c.length;u++)l=c[u],d=Hn[l],delete Hn[l],Qn(t,d.mutation,s(),d.timestamp),o=!0;return Object.keys(Hn).length>0&&function(){Bn&&Y(Bn);Bn=X((function(){ge($n,1)}),33)}(),0===Object.keys(Hn).length&&o?[4,Ha(6,t,s())]:[3,5];case 4:f.sent(),f.label=5;case 5:return function(){var t=s();Object.keys(Gn).length>1e4&&(Gn={},z(38));for(var e=0,n=Object.keys(Gn);e<n.length;e++){var a=n[e];t>Gn[a][1]+3e4&&delete Gn[a]}}(),we(t),[2]}}))}))}function ta(t){for(var e=[],n=0;t&&n<t.length;n++)e.push(t[n].nodeName);return e.join()}function ea(t,e,n,a){return at(this,void 0,void 0,(function(){var r,i,o;return rt(this,(function(u){switch(u.label){case 0:r=t?t.length:0,i=0,u.label=1;case 1:return i<r?1!==e?[3,2]:(Ln(t[i],n,e,a),[3,5]):[3,6];case 2:return 0!==(o=ye(n))?[3,4]:[4,ke(n)];case 3:o=u.sent(),u.label=4;case 4:if(2===o)return[3,6];sa(t[i],e,a),u.label=5;case 5:return i++,[3,1];case 6:return[2]}}))}))}function na(t){return Fn.indexOf(t)<0&&Fn.push(t),Vn&&Y(Vn),Vn=X((function(){!function(){for(var t=0,e=Fn;t<e.length;t++){var n=e[t];if(n){var a=n.nodeType===Node.DOCUMENT_FRAGMENT_NODE;if(a&&ae(n))continue;aa(n,a?"childList":"characterData")}}Fn=[]}()}),33),t}function aa(t,e){Pi(Zn)([{addedNodes:[t],attributeName:null,attributeNamespace:null,nextSibling:null,oldValue:null,previousSibling:null,removedNodes:[],target:t,type:e}])}Kn.dn=21,Zn.dn=22,aa.dn=23;var ra=/[^0-9\.]/g;function ia(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":oi(5,t[a]),oi(8,t.creator),oi(18,t.headline);break;case"product":oi(5,t[a]),oi(10,t.name),oi(12,t.sku),t.brand&&oi(6,t.brand.name);break;case"aggregaterating":t.ratingValue&&(W(11,oa(t.ratingValue,100)),W(18,oa(t.bestRating)),W(19,oa(t.worstRating))),W(12,oa(t.ratingCount)),W(17,oa(t.reviewCount));break;case"offer":oi(7,t.availability),oi(14,t.itemCondition),oi(13,t.priceCurrency),oi(12,t.sku),W(13,oa(t.price));break;case"brand":oi(6,t.name)}null!==r&&"object"==typeof r&&ia(r)}}function oa(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(ra,""))*e)}return null}var ua=["title","alt","onload","onfocus","onerror","data-drupal-form-submit-last","aria-label"],ca=/[\r\n]+/g;function sa(t,e,n){var a,r=null;if(2===e&&!1===ae(t))return r;0!==e&&t.nodeType===Node.TEXT_NODE&&t.parentElement&&"STYLE"===t.parentElement.tagName&&(t=t.parentNode);var i=!1===ae(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?Kt(t.parentNode):o;var c=t,s={tag:(u?"iframe:":"")+"*D",attributes:{name:c.name?c.name:"HTML",publicId:c.publicId,systemId:c.systemId}};ce[i](t,o,s,e);break;case Node.DOCUMENT_NODE:t===document&&Bt(document),Sa(t,n),la(t);break;case Node.DOCUMENT_FRAGMENT_NODE:var l=t;if(l.host){if(Bt(l),"function"===typeof l.constructor&&l.constructor.toString().indexOf("[native code]")>=0){la(l);var d={tag:"*S",attributes:{style:""}};ce[i](t,l.host,d,e)}else ce[i](t,l.host,{tag:"*P",attributes:{}},e);Sa(t,n)}break;case Node.TEXT_NODE:if(o=o||t.parentNode,"update"===i||o&&ae(o)&&"STYLE"!==o.tagName&&"NOSCRIPT"!==o.tagName){var f={tag:"*T",value:t.nodeValue};ce[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;a<n.length;a++){var r=n[a].name;ua.indexOf(r)<0&&(e[r]=n[a].value)}"INPUT"===t.tagName&&!("value"in e)&&t.value&&(e.value=t.value);return e}(h);switch(o=t.parentElement?t.parentElement:t.parentNode?t.parentNode:null,"http://www.w3.org/2000/svg"===h.namespaceURI&&(p="svg:"+p),p){case"HTML":o=u&&o?Kt(o):o;var g={tag:(u?"iframe:":"")+p,attributes:v};ce[i](t,o,g,e);break;case"SCRIPT":if("type"in v&&"application/ld+json"===v.type)try{ia(JSON.parse(h.text.replace(ca,"")))}catch(t){}break;case"NOSCRIPT":var m={tag:p,attributes:{},value:""};ce[i](t,o,m,e);break;case"META":var y="property"in v?"property":"name"in v?"name":null;if(y&&"content"in v){var b=v.content;switch(v[y]){case"og:title":oi(20,b);break;case"og:type":oi(19,b);break;case"generator":oi(21,b)}}break;case"HEAD":var w={tag:p,attributes:v},k=u&&(null===(a=t.ownerDocument)||void 0===a?void 0:a.location)?t.ownerDocument.location:location;w.attributes["*B"]=k.protocol+"//"+k.host+k.pathname,ce[i](t,o,w,e);break;case"BASE":var S=ee(t.parentElement);if(S){var E=document.createElement("a");E.href=v.href,S.data.attributes["*B"]=E.protocol+"//"+E.host+E.pathname}break;case"STYLE":var O={tag:p,attributes:v,value:da(h)};ce[i](t,o,O,e);break;case"IFRAME":var T=t,N={tag:p,attributes:v};Gt(T)&&(!function(t){!1===ae(t)&&Hi(t,"load",aa.bind(this,t,"childList"),!0)}(T),N.attributes["*O"]="true",T.contentDocument&&T.contentWindow&&"loading"!==T.contentDocument.readyState&&(r=T.contentDocument)),ce[i](t,o,N,e);break;case"LINK":if(fi&&"stylesheet"===v.rel){for(var M in Object.keys(document.styleSheets)){var x=document.styleSheets[M];if(x.ownerNode==h){var _={tag:"STYLE",attributes:v,value:fa(x)};ce[i](t,o,_,e);break}}break}var I={tag:p,attributes:v};ce[i](t,o,I,e);break;case"VIDEO":case"AUDIO":case"SOURCE":"src"in v&&v.src.startsWith("data:")&&(v.src="");var C={tag:p,attributes:v};ce[i](t,o,C,e);break;default:var D={tag:p,attributes:v};h.shadowRoot&&(r=h.shadowRoot),ce[i](t,o,D,e)}}return r}function la(t){ae(t)||(!function(t){try{var e=u("MutationObserver"),n=e in window?new window[e](Pi(Zn)):null;n&&(n.observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),Pn.push(n))}catch(t){Cr(2,0,t?t.name:null)}}(t),An(t))}function da(t){var e=t.textContent?t.textContent.trim():"",n=t.dataset?Object.keys(t.dataset).length:0;return(0===e.length||n>0||t.id.length>0)&&(e=fa(t.sheet)),e}function fa(t){var e="",n=null;try{n=t?t.cssRules:[]}catch(t){if(Cr(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 ha=[],pa=[],va=null,ga=null,ma="claritySheetId",ya="claritySheetNum",ba={},wa={},ka=[];function Sa(t,e){if(-1===ka.indexOf(t)&&ka.push(t),e=e||s(),null==t?void 0:t.adoptedStyleSheets){W(36,1);for(var n=[],a=0,r=t.adoptedStyleSheets;a<r.length;a++){var i=r[a],o=li.pageNum;i[ya]!==o&&(i[ya]=o,i[ma]=Oi(),Oa(e,i[ma],0),Oa(e,i[ma],2,fa(i))),n.push(i[ma])}var u=Jt(t,!0);ba[u]||(ba[u]=[]),function(t,e){if(t.length!==e.length)return!1;return t.every((function(t,n){return t===e[n]}))}(n,ba[u])||(!function(t,e,n,a){pa.push({time:t,event:45,data:{id:e,operation:n,newIds:a}}),Ha(45)}(e,t==document?-1:Jt(t),3,n),ba[u]=n,wa[u]=e)}}function Ea(){pa=[],ha=[]}function Oa(t,e,n,a){ha.push({time:t,event:46,data:{id:e,operation:n,cssRules:a}}),Ha(46)}var Ta=[],Na=null,Ma=null,xa=null,_a=null,Ia=null,Ca=null,Da="clarityAnimationId",ja="clarityOperationCount",Aa=20;function Ra(){Ta=[]}function La(t,e,n,a,r,i,o){Ta.push({time:t,event:44,data:{id:e,operation:n,keyFrames:a,timing:r,targetId:i,timeline:o}}),Ha(44)}function Pa(t,e){null===t&&(t=Animation.prototype[e],Animation.prototype[e]=function(){return za(this,e),t.apply(this,arguments)})}function za(t,e){if(Qi()){var n=t.effect,a=Jt(n.target);if(null!==a&&n.getKeyframes&&n.getTiming){if(!t[Da]){t[Da]=Oi(),t[ja]=0;var r=n.getKeyframes(),i=n.getTiming();La(s(),t[Da],0,JSON.stringify(r),JSON.stringify(i),a)}if(t[ja]++<Aa){var o=null;switch(e){case"play":o=1;break;case"pause":o=2;break;case"cancel":o=3;break;case"finish":o=4;break;case"commitStyles":o=5}o&&La(s(),t[Da],o)}}}}function Ha(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,y,b,w,k,S,E,O,T,N,M,I,C,D,j,A,R,L;return rt(this,(function(P){switch(P.label){case 0:switch(a=n||s(),r=[a,t],t){case 8:return[3,1];case 7:return[3,2];case 45:case 46:return[3,3];case 44:return[3,4];case 5:case 6:return[3,5]}return[3,12];case 1:return i=Oe,r.push(i.width),r.push(i.height),x(t,i.width,i.height),br(r),[3,12];case 2:for(u=0,c=qa;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),br(r);return er(),[3,12];case 3:for(d=0,f=pa;d<f.length;d++)y=f[d],(r=[y.time,y.event]).push(y.data.id),r.push(y.data.operation),r.push(y.data.newIds),br(r);for(h=0,p=ha;h<p.length;h++)y=p[h],(r=[y.time,y.event]).push(y.data.id),r.push(y.data.operation),r.push(y.data.cssRules),br(r);return Ea(),[3,12];case 4:for(v=0,g=Ta;v<g.length;v++)y=g[v],(r=[y.time,y.event]).push(y.data.id),r.push(y.data.operation),r.push(y.data.keyFrames),r.push(y.data.timing),r.push(y.data.timeline),r.push(y.data.targetId),br(r);return Ra(),[3,12];case 5:if(2===ye(e))return[3,12];if(!((b=re()).length>0))return[3,11];w=0,k=b,P.label=6;case 6:return w<k.length?(S=k[w],0!==(E=ye(e))?[3,8]:[4,ke(e)]):[3,10];case 7:E=P.sent(),P.label=8;case 8:if(2===E)return[3,10];for(O=S.data,T=S.metadata.active,N=S.metadata.suspend,M=S.metadata.privacy,I=function(t){var e=t.metadata.privacy;return"*T"===t.data.tag&&!(0===e||1===e)}(S),C=0,D=T?["tag","attributes","value"]:["tag"];C<D.length;C++)if(O[j=D[C]])switch(j){case"tag":A=Wa(S),R=I?-1:1,r.push(S.id*R),S.parent&&T&&(r.push(S.parent),S.previous&&r.push(S.previous)),r.push(N?"*M":O[j]),A&&2===A.length&&r.push("".concat("#").concat(Xa(A[0]),".").concat(Xa(A[1])));break;case"attributes":for(L in O[j])void 0!==O[j][L]&&r.push(Ya(L,O[j][L],M));break;case"value":Ot(S.metadata.fraud,S.id,O[j]),r.push(m(O[j],O.tag,M,I))}P.label=9;case 9:return w++,[3,6];case 10:6===t&&_(a),br(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),P.label=11;case 11:return[3,12];case 12:return[2]}}))}))}function Wa(t){if(null!==t.metadata.size&&0===t.metadata.size.length){var e=te(t.id);if(e)return[Math.floor(100*e.offsetWidth),Math.floor(100*e.offsetHeight)]}return t.metadata.size}function Xa(t){return t.toString(36)}function Ya(t,e,n){return"".concat(t,"=").concat(m(e,0===t.indexOf("data-")?"data-":t,n))}var qa=[],Ua=null,Fa={},Va=[],Ba=!1,Ja=null;function Ga(t,e){!1===Ua.has(t)&&(Ua.set(t,e),(Ja=null===Ja&&Ba?new IntersectionObserver(Qa,{threshold:[0,.05,.1,.2,.3,.4,.5,.6,.7,.8,.9,1]}):Ja)&&t&&t.nodeType===Node.ELEMENT_NODE&&Ja.observe(t))}function Ka(t){return Ua&&Ua.has(t)}function Za(){for(var t=[],e=0,n=Va;e<n.length;e++){var a=n[e],r=Jt(a.node);r?(a.state.data.id=r,Fa[r]=a.state.data,qa.push(a.state)):t.push(a)}Va=t,qa.length>0&&Ha(7)}function Qa(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(Ua.has(r)&&i.width+i.height>0&&u.width>0&&u.height>0){var c=r?Jt(r):null,s=c in Fa?Fa[c]:{id:c,name:Ua.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;$a(r,s,s.interaction,d?13:l?10:0),s.visibility>=13&&Ja&&Ja.unobserve(r)}}qa.length>0&&Ha(7)}function $a(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 Fa&&r||!(e.id in Fa))&&(Fa[e.id]=e,qa.push(tr(e))):Va.push({node:t,state:tr(e)})}function tr(t){return{time:s(),data:{id:t.id,interaction:t.interaction,visibility:t.visibility,name:t.name}}}function er(){qa=[]}function nr(t){var e=t.composed&&t.composedPath?t.composedPath():null,n=e&&e.length>0?e[0]:t.target;return Jn=s()+3e3,n&&n.nodeType===Node.DOCUMENT_NODE?n.documentElement:n}function ar(t,e,n){void 0===n&&(n=null);var a={id:0,hash:null,privacy:2,node:t};if(t){var r=ee(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=te(t),a=t in Fa?Fa[t]:{id:t,visibility:0,interaction:16,name:Ua.get(n)},r=16;switch(e){case 9:r=20;break;case 27:r=30}$a(n,a,r,a.visibility)}(r.region,e),i.fraud&&Ot(i.fraud,r.id,n||r.data.value)}}return a}function rr(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,b,w,k,S,E,O,T,N,M,_,C,D,j,A,R,L,P,z,H,W,X;return rt(this,(function(Y){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=Je;r<i.length;r++)W=i[r],(o=ar(W.data.target,W.event)).id>0&&((a=[W.time,W.event]).push(o.id),a.push(W.data.x),a.push(W.data.y),void 0!==W.data.id&&(a.push(W.data.id),void 0!==W.data.isPrimary&&a.push(W.data.isPrimary.toString())),br(a),x(W.event,W.data.x,W.data.y));an();break;case 9:for(u=0,c=je;u<c.length;u++)W=c[u],l=ar(W.data.target,W.event,W.data.text),a=[W.time,W.event],d=l.hash?l.hash.join("."):"",a.push(l.id),a.push(W.data.x),a.push(W.data.y),a.push(W.data.eX),a.push(W.data.eY),a.push(W.data.button),a.push(W.data.reaction),a.push(W.data.context),a.push(m(W.data.text,"click",l.privacy)),a.push(y(W.data.link)),a.push(d),a.push(W.data.trust),br(a),cr(W.time,W.event,d,W.data.x,W.data.y,W.data.reaction,W.data.context);ze();break;case 38:for(f=0,h=He;f<h.length;f++)W=h[f],a=[W.time,W.event],(P=ar(W.data.target,W.event)).id>0&&(a.push(P.id),a.push(W.data.action),br(a));Xe();break;case 11:p=Be,a.push(p.width),a.push(p.height),x(t,p.width,p.height),sn(),br(a);break;case 26:v=On,a.push(v.name),In(),br(a);break;case 27:for(g=0,b=qe;g<b.length;g++)W=b[g],w=ar(W.data.target,W.event,W.data.value),(a=[W.time,W.event]).push(w.id),a.push(m(W.data.value,"input",w.privacy,!1,W.data.type)),br(a);Ve();break;case 21:(k=yn)&&(S=ar(k.start,t),E=ar(k.end,t),a.push(S.id),a.push(k.startOffset),a.push(E.id),a.push(k.endOffset),En(),br(a));break;case 10:for(O=0,T=ln;O<T.length;O++)W=T[O],N=ar(W.data.target,W.event),M=ar(W.data.top,W.event),_=ar(W.data.bottom,W.event),C=(null==M?void 0:M.hash)?M.hash.join("."):"",D=(null==_?void 0:_.hash)?_.hash.join("."):"",N.id>0&&((a=[W.time,W.event]).push(N.id),a.push(W.data.x),a.push(W.data.y),a.push(C),a.push(D),br(a),x(W.event,W.data.x,W.data.y,W.time));ln=[],dn=null,fn=null;break;case 42:for(j=0,A=xe;j<A.length;j++)W=A[j],a=[W.time,W.event],(P=ar(W.data.target,W.event)).id>0&&((a=[W.time,W.event]).push(P.id),a.push(W.data.type),a.push(m(W.data.value,"change",P.privacy)),a.push(m(W.data.checksum,"checksum",P.privacy)),br(a));Ie();break;case 39:for(R=0,L=Nn;R<L.length;R++)W=L[R],a=[W.time,W.event],(P=ar(W.data.target,W.event)).id>0&&(a.push(P.id),br(a));xn();break;case 22:for(z=0,H=or;z<H.length;z++)W=H[z],(a=[W.time,W.event]).push(W.data.type),a.push(W.data.hash),a.push(W.data.x),a.push(W.data.y),a.push(W.data.reaction),a.push(W.data.context),br(a,!1);ur();break;case 28:X=Tn,a.push(X.visible),br(a),I(n,X.visible),Dn()}return[2]}))}))}Za.dn=24;var ir=[],or=[];function ur(){or=[]}function cr(t,e,n,a,r,i,o){void 0===i&&(i=1),void 0===o&&(o=0),ir.push({time:t,event:22,data:{type:e,hash:n,x:a,y:r,reaction:i,context:o}}),x(e,a,r)}var sr,lr,dr,fr,hr,pr=0,vr=0,gr=null,mr=0;function yr(){fr=!0,pr=0,vr=0,mr=0,sr=[],lr=[],dr={},hr=null}function br(t,e){if(void 0===e&&(e=!0),fr){var n=s(),a=t.length>1?t[1]:null,r=JSON.stringify(t);switch(a){case 5:pr+=r.length;case 37:case 6:case 43:case 45:case 46:vr+=r.length,sr.push(r);break;default:lr.push(r)}z(25);var i=function(){var t=!1===o.lean&&pr>0?100:Ci.sequence*o.delay;return"string"==typeof o.upload?Math.max(Math.min(t,3e4),100):o.delay}();n-mr>2*i&&(Y(gr),gr=null),e&&null===gr&&(25!==a&&V(),gr=X(kr,i),mr=n,Zr(vr))}}function wr(){Y(gr),kr(!0),pr=0,vr=0,mr=0,sr=[],lr=[],dr={},hr=null,fr=!1}function kr(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 gr=null,(e=!1===o.lean&&vr>0&&(vr<1048576||Ci.sequence>0))&&W(1,1),Za(),function(){var t=[];or=[];for(var e=Ci.start+Ci.duration,n=Math.max(e-2e3,0),a=0,r=ir;a<r.length;a++){var i=r[a];i.time>=n&&(i.time<=e&&or.push(i),t.push(i))}ir=t,rr(22)}(),kt(),function(){for(var t=0,e=ka;t<e.length;t++){var n=e[t],a=n==document?-1:Jt(n),r=a in wa?wa[a]:null;Sa(document,r)}}(),n=!0===t,a=JSON.stringify(Ai(n)),r="[".concat(lr.join(),"]"),i=e?"[".concat(sr.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 H(2,(c=s)?c.length:u.length),Sr(u,c,Ci.sequence,n),lr=[],e&&(sr=[],vr=0,pr=0),[2]}}))}))}function Sr(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))&&Or(n)}catch(t){}if(!1===i){n in dr?dr[n].attempts++:dr[n]={data:t,attempts:1};var u=new XMLHttpRequest;u.open("POST",r,!0),u.timeout=15e3,u.ontimeout=function(){Li(new Error("".concat("Timeout"," : ").concat(r)))},null!==n&&(u.onreadystatechange=function(){Pi(Er)(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),Or(n)}}function Er(t,e){var n=dr[e];t&&4===t.readyState&&n&&((t.status<200||t.status>208)&&n.attempts<=1?t.status>=400&&t.status<500?Qr(6):(0===t.status&&(o.upload=o.fallback?o.fallback:o.upload),Sr(n.data,null,e)):(hr={sequence:e,attempts:n.attempts,status:t.status},n.attempts>1&&Gr(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":Qr(6);break;case"UPGRADE":et("Auto");break;case"ACTION":o.action&&i.length>1&&o.action(i[1]);break;case"EXTRACT":i.length>1&&Wr(i[1]);break;case"SIGNAL":i.length>1&&mt(i[1])}}}(t.responseText),0===t.status&&(Sr(n.data,null,e,!0),Qr(3)),t.status>=200&&t.status<=208&&Or(e),delete dr[e]))}function Or(t){1===t&&(ki(),wi())}var Tr,Nr={};function Mr(t){var e=t.error||t;return e.message in Nr||(Nr[e.message]=0),Nr[e.message]++>=5||e&&e.message&&(Tr={message:e.message,line:t.lineno,column:t.colno,stack:e.stack,source:t.filename},xr(31)),!0}function xr(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(y(Tr.source)),br(e);break;case 33:_r&&(e.push(_r.code),e.push(_r.name),e.push(_r.message),e.push(_r.stack),e.push(_r.severity),br(e,!1));break;case 41:St&&(e.push(St.id),e.push(St.target),e.push(St.checksum),br(e,!1))}return[2]}))}))}Mr.dn=4;var _r,Ir={};function Cr(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||(_r={code:t,name:n,message:a,stack:r,severity:e},t in Ir?Ir[t].push(i):Ir[t]=[i],xr(33))}var Dr,jr={},Ar=new Set,Rr={},Lr={},Pr={},zr={};function Hr(){qr()}function Wr(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 Rr[a]={},Lr[a]={},Pr[a]={},zr[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);Rr[a][u]=Vr(l);break;case 2:Lr[a][u]=c;break;case 4:var d=c.substring(1,c.length);Pr[a][u]=d}}}catch(t){Cr(8,1,t?t.name:null)}}function Xr(t){return JSON.parse(JSON.stringify(t))}function Yr(){try{for(var t in Rr){var e=parseInt(t);if(""==zr[e]||document.querySelector(zr[e])){var n=Rr[e];for(var a in n){var r=parseInt(a),i=(h=Br(Xr(n[r])))?JSON.stringify(h).substring(0,1e4):h;i&&Ur(e,r,i)}var o=Lr[e];for(var u in o){var c=parseInt(u),s=document.querySelectorAll(o[c]);if(s)Ur(e,c,Array.from(s).map((function(t){return t.textContent})).join("<SEP>").substring(0,1e4))}var l=Pr[e];for(var d in l){var f=parseInt(d);Ur(e,f,$t(l[f]).trim().substring(0,1e4))}}}Ar.size>0&&Gr(40)}catch(t){Cr(5,1,t?t.name:null)}var h}function qr(){Ar.clear()}function Ur(t,e,n){var a,r=!1;t in jr||(jr[t]={},r=!0),a=Pr[t],0==Object.keys(a).length||e in jr[t]&&jr[t][e]==n||(r=!0),jr[t][e]=n,r&&Ar.add(t)}function Fr(){qr()}function Vr(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 Br(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&&Jr(r,a.condition))n=Br(t,r);else if(Array.isArray(r)){for(var i=[],o=0,u=r;o<u.length;o++){var c=u[o];if(Jr(c,a.condition)){var s=Br(t,c);s&&i.push(s)}}n=i}return n}return null}function Jr(t,e){if(e){var n=e.split(":");return n.length>1?t[n[0]]==n[1]:t[n[0]]}return!0}function Gr(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),e.push(n.data.scrollTime),br(e,!1)),M();break;case 25:e.push(R.gap),br(e);break;case 35:e.push(Dr.check),br(e,!1);break;case 3:e.push(tt.key),br(e);break;case 2:e.push(hr.sequence),e.push(hr.attempts),e.push(hr.status),br(e,!1);break;case 24:j.key&&e.push(j.key),e.push(j.value),br(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(),br(e,!1)}break;case 0:var u=Object.keys(P);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(P[d]))}P={},br(e,!1)}break;case 1:var h=Object.keys(ni);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(ni[g])}ci(),br(e,!1)}break;case 36:var m=Object.keys(G);if(m.length>0){for(var y=0,b=m;y<b.length;y++){var w=b[y];f=parseInt(w,10);e.push(f),e.push([].concat.apply([],G[w]))}Q(),br(e,!1)}break;case 40:Ar.forEach((function(t){e.push(t);var n=[];for(var a in jr[t]){var r=parseInt(a,10);n.push(r),n.push(jr[t][a])}e.push(n)})),qr(),br(e,!1)}}function Kr(){Dr={check:0}}function Zr(t){if(0===Dr.check){var e=Dr.check;e=Ci.sequence>=128?1:e,e=Ci.pageNum>=128?7:e,e=s()>72e5?2:e,(e=t>10485760?2:e)!==Dr.check&&Qr(e)}}function Qr(t){Dr.check=t,5!==t&&(bi(),Mo())}function $r(){0!==Dr.check&&Gr(35)}function ti(){Dr=null}var ei=null,ni=null,ai=!1;function ri(){ei={},ni={},ai=!1}function ii(){ei={},ni={},ai=!1}function oi(t,e){if(e&&(e="".concat(e),t in ei||(ei[t]=[]),ei[t].indexOf(e)<0)){if(ei[t].length>128)return void(ai||(ai=!0,Qr(5)));ei[t].push(e),t in ni||(ni[t]=[]),ni[t].push(e)}}function ui(){Gr(1)}function ci(){ni={},ai=!1}function si(t){oi(36,t.toString())}var li=null,di=[],fi=0,hi=null;function pi(){var t,e,n;hi=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:"";fi=a.indexOf("Electron")>0?1:0;var s,l=function(){var t={session:Oi(),ts:Math.round(Date.now()),count:1,upgrade:null,upload:""},e=Mi("_clsk",!o.includeSubdomains);if(e){var n=e.split("|");n.length>=5&&t.ts-Ti(n[1])<18e5&&(t.session=n[0],t.count=Ti(n[2])+1,t.upgrade=Ti(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);li={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,oi(0,a),oi(3,c),oi(1,y(location.href,!!fi)),oi(2,document.referrer),oi(15,function(){var t=Oi();if(o.track&&Si(window,"sessionStorage")){var e=sessionStorage.getItem("_cltk");t=e||t,sessionStorage.setItem("_cltk",t)}return t}()),oi(16,document.documentElement.lang),oi(17,document.dir),oi(26,"".concat(window.devicePixelRatio)),oi(28,f.dob.toString()),oi(29,f.version.toString()),oi(33,u),oi(34,r),oi(35,i),W(0,l.ts),W(1,0),W(35,fi),navigator&&(oi(9,navigator.language),W(33,navigator.hardwareConcurrency),W(32,navigator.maxTouchPoints),W(34,Math.round(navigator.deviceMemory)),(s=navigator.userAgentData)&&s.getHighEntropyValues?s.getHighEntropyValues(["model","platform","platformVersion","uaFullVersion"]).then((function(t){var e;oi(22,t.platform),oi(23,t.platformVersion),null===(e=t.brands)||void 0===e||e.forEach((function(t){oi(24,t.name+"~"+t.version)})),oi(25,t.model),W(27,t.mobile?1:0)})):oi(22,navigator.platform)),screen&&(W(14,Math.round(screen.width)),W(15,Math.round(screen.height)),W(16,Math.round(screen.colorDepth)));for(var p=0,v=o.cookies;p<v.length;p++){var g=v[p],m=Mi(g);m&&ot(g,m)}!function(t){si(t?1:0)}(o.track),Ei(f)}function vi(){hi=null,li=null,di.forEach((function(t){t.called=!1}))}function gi(t,e,n){void 0===e&&(e=!0),void 0===n&&(n=!1);var a=o.lean?0:1,r=!1;li&&(a||!1===e)&&(t(li,!o.lean),r=!0),!n&&r||di.push({callback:t,wait:e,recall:n,called:r})}function mi(){return li?[li.userId,li.sessionId,li.pageNum].join("."):""}function yi(t){if(void 0===t&&(t=!0),!t)return o.track=!1,_i("_clsk","",-Number.MAX_VALUE),_i("_clck","",-Number.MAX_VALUE),Mo(),void window.setTimeout(No,250);Qi()&&(o.track=!0,Ei(Ni(),1),ki(),si(2))}function bi(){_i("_clsk","",0)}function wi(){!function(t){if(di.length>0)for(var e=0;e<di.length;e++){var n=di[e];!n.callback||n.called||n.wait&&!t||(n.callback(li,!o.lean),n.called=!0,n.recall||(di.splice(e,1),e--))}}(o.lean?0:1)}function ki(){if(li){var t=Math.round(Date.now()),e=o.upload&&"string"==typeof o.upload?o.upload.replace("https://",""):"",n=o.lean?0:1;_i("_clsk",[li.sessionId,t,li.pageNum,n,e].join("|"),1)}}function Si(t,e){try{return!!t[e]}catch(t){return!1}}function Ei(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)&&_i("_clck",[li.userId,2,n.toString(36),e,a].join("|"),365)}function Oi(){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 Ti(t,e){return void 0===e&&(e=10),parseInt(t,e)}function Ni(){var t={id:Oi(),version:0,expiry:null,consent:0,dob:0},e=Mi("_clck",!o.includeSubdomains);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=Ti(n[1])),n.length>2&&(t.expiry=Ti(n[2],36)),n.length>3&&1===Ti(n[3])&&(t.consent=1),n.length>4&&Ti(n[1])>1&&(t.dob=Ti(n[4])),o.track=o.track||1===t.consent,t.id=o.track?n[0]:t.id}return t}function Mi(t,e){var n;if(void 0===e&&(e=!1),Si(document,"cookie")){var a=document.cookie.split(";");if(a)for(var r=0;r<a.length;r++){var i=a[r].split("=");if(i.length>1&&i[0]&&i[0].trim()===t){for(var o=xi(i[1]),u=o[0],c=o[1];u;)u=(n=xi(c))[0],c=n[1];return e?c.endsWith("".concat("~","1"))?c.substring(0,c.length-2):null:c}}}return null}function xi(t){try{var e=decodeURIComponent(t);return[e!=t,e]}catch(t){}return[!1,t]}function _i(t,e,n){if((o.track||""==e)&&(navigator&&navigator.cookieEnabled||Si(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===hi){for(var c=location.hostname?location.hostname.split("."):[],s=c.length-1;s>=0;s--)if(hi=".".concat(c[s]).concat(hi||""),s<c.length-1&&(document.cookie="".concat(u).concat(";").concat("domain=").concat(hi),Mi(t)===e))return;hi=""}}catch(t){hi=""}document.cookie=hi?"".concat(u).concat(";").concat("domain=").concat(hi):u}}var Ii,Ci=null;function Di(){var t=li;Ci={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 ji(){Ci=null}function Ai(t){return Ci.start=Ci.start+Ci.duration,Ci.duration=s()-Ci.start,Ci.sequence++,Ci.upload=t&&"sendBeacon"in navigator?1:0,Ci.end=t?1:0,[Ci.version,Ci.sequence,Ci.start,Ci.duration,Ci.projectId,Ci.userId,Ci.sessionId,Ci.pageNum,Ci.upload,Ci.end]}function Ri(){Ii=[]}function Li(t){if(Ii&&-1===Ii.indexOf(t.message)){var e=o.report;if(e&&e.length>0){var n={v:Ci.version,p:Ci.projectId,u:Ci.userId,s:Ci.sessionId,n:Ci.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)),Ii.push(t.message)}}return t}function Pi(t){return function(){var e=performance.now();try{t.apply(this,arguments)}catch(t){throw Li(t)}var n=performance.now()-e;H(4,n),n>o.longTask&&(z(7),W(6,n),Cr(9,0,"".concat(t.dn||t.name,"-").concat(n)))}}var zi=[];function Hi(t,e,n,a){void 0===a&&(a=!1),n=Pi(n);try{t[u("addEventListener")](e,n,a),zi.push({event:e,target:t,listener:n,capture:a})}catch(t){}}function Wi(){for(var t=0,e=zi;t<e.length;t++){var n=e[t];try{n.target[u("removeEventListener")](n.event,n.listener,n.capture)}catch(t){}}zi=[]}var Xi=null,Yi=null,qi=null,Ui=0;function Fi(){return!(Ui++>20)||(Cr(4,0),!1)}function Vi(){Ui=0,qi!==Ji()&&(Mo(),window.setTimeout(Bi,250))}function Bi(){No(),W(29,1)}function Ji(){return location.href?location.href.replace(location.hash,""):location.href}Vi.dn=1;var Gi=!1;function Ki(){Gi=!0,c=performance.now()+performance.timeOrigin,ve(),Wi(),Ri(),qi=Ji(),Ui=0,Hi(window,"popstate",Vi),null===Xi&&(Xi=history.pushState,history.pushState=function(){Xi.apply(this,arguments),Qi()&&Fi()&&Vi()}),null===Yi&&(Yi=history.replaceState,history.replaceState=function(){Yi.apply(this,arguments),Qi()&&Fi()&&Vi()})}function Zi(){qi=null,Ui=0,Ri(),Wi(),ve(),c=0,Gi=!1}function Qi(){return Gi}function $i(){No(),A("clarity","restart")}function to(){!function(){Et=[],W(26,navigator.webdriver?1:0);try{W(31,window.top==window.self||window.top==window?1:2)}catch(t){W(31,0)}}(),Hi(window,"error",Mr),Nr={},Ir={}}$i.dn=2,to.dn=3;var eo=Object.freeze({__proto__:null,start:to,stop:function(){Ir={}}});function no(){return at(this,void 0,void 0,(function(){var t,e;return rt(this,(function(n){switch(n.label){case 0:return t=s(),be(e={id:mi(),cost:3}),[4,Ln(document,e,0,t)];case 1:return n.sent(),Sa(document,t),[4,Ha(5,e,t)];case 2:return n.sent(),we(e),[2]}}))}))}function ao(){Ne(),Me(),er(),Ja=null,Ua=new WeakMap,Fa={},Va=[],Ba=!!window.IntersectionObserver,Ut(),o.delayDom?Hi(window,"load",(function(){Kn()})):Kn(),ge(no,1).then((function(){Pi(Me)(),Pi(Za)(),Pi(mn)()})),window.CSSStyleSheet&&CSSStyleSheet.prototype&&(null===va&&(va=CSSStyleSheet.prototype.replace,CSSStyleSheet.prototype.replace=function(){return Qi()&&(W(36,1),this[ya]===li.pageNum&&Oa(s(),this[ma],1,arguments[0])),va.apply(this,arguments)}),null===ga&&(ga=CSSStyleSheet.prototype.replaceSync,CSSStyleSheet.prototype.replaceSync=function(){return Qi()&&(W(36,1),this[ya]===li.pageNum&&Oa(s(),this[ma],2,arguments[0])),ga.apply(this,arguments)})),function(){if(window.Animation&&window.Animation.prototype&&window.KeyframeEffect&&window.KeyframeEffect.prototype&&window.KeyframeEffect.prototype.getKeyframes&&window.KeyframeEffect.prototype.getTiming&&(Ra(),Pa(Ma,"play"),Pa(xa,"pause"),Pa(_a,"commitStyles"),Pa(Ia,"cancel"),Pa(Ca,"finish"),null===Na&&(Na=Element.prototype.animate,Element.prototype.animate=function(){var t=Na.apply(this,arguments);return za(t,"play"),t}),document.getAnimations))for(var t=0,e=document.getAnimations();t<e.length;t++){var n=e[t];"finished"===n.playState?za(n,"finish"):"paused"===n.playState||"idle"===n.playState?za(n,"pause"):"running"===n.playState&&za(n,"play")}}()}ao.dn=20;var ro=Object.freeze({__proto__:null,hashText:$t,start:ao,stop:function(){er(),Ua=null,Fa={},Va=[],Ja&&(Ja.disconnect(),Ja=null),Ba=!1,Ft(),function(){for(var t=0,e=Pn;t<e.length;t++){var n=e[t];n&&n.disconnect()}Pn=[],Gn={},zn=[],Hn=[],Fn=[],Jn=0,Vn=null}(),Ne(),ba={},wa={},ka=[],Ea(),Ra()}});var io=null;function oo(){io=null}function uo(t){io={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(io.fetchStart),n.push(io.connectStart),n.push(io.connectEnd),n.push(io.requestStart),n.push(io.responseStart),n.push(io.responseEnd),n.push(io.domInteractive),n.push(io.domComplete),n.push(io.loadEventStart),n.push(io.loadEventEnd),n.push(io.redirectCount),n.push(io.size),n.push(io.type),n.push(io.protocol),n.push(io.encodedSize),n.push(io.decodedSize),oo(),br(n)),[2]}))}))}(29)}var co,so=0,lo=1/0,fo=0,ho=0,po=[],vo=new Map,go=function(){return so||0},mo=function(){if(!po.length)return-1;var t=Math.min(po.length-1,Math.floor((go()-ho)/50));return po[t].latency},yo=function(){ho=go(),po.length=0,vo.clear()},bo=function(t){if(t.interactionId&&!(t.duration<40)){!function(t){"interactionCount"in performance?so=performance.interactionCount:t.interactionId&&(lo=Math.min(lo,t.interactionId),fo=Math.max(fo,t.interactionId),so=fo?(fo-lo)/7+1:0)}(t);var e=po[po.length-1],n=vo.get(t.interactionId);if(n||po.length<10||t.duration>(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};vo.set(a.id,a),po.push(a)}po.sort((function(t,e){return e.latency-t.latency})),po.length>10&&po.splice(10).forEach((function(t){return vo.delete(t.id)}))}}},wo=["navigation","resource","longtask","first-input","layout-shift","largest-contentful-paint","event"];function ko(){try{co&&co.disconnect(),co=new PerformanceObserver(Pi(So));for(var t=0,e=wo;t<e.length;t++){var n=e[t];PerformanceObserver.supportedEntryTypes.indexOf(n)>=0&&("layout-shift"===n&&H(9,0),co.observe({type:n,buffered:!0}))}}catch(t){Cr(3,1)}}function So(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":uo(a);break;case"resource":var r=a.name;oi(4,Eo(r)),r!==o.upload&&r!==o.fallback||W(28,a.duration);break;case"longtask":z(7);break;case"first-input":e&&W(10,a.processingStart-a.startTime);break;case"event":e&&"PerformanceEventTiming"in window&&"interactionId"in PerformanceEventTiming.prototype&&(bo(a),oi(37,mo().toString()));break;case"layout-shift":e&&!a.hadRecentInput&&H(9,1e3*a.value);break;case"largest-contentful-paint":e&&W(8,a.startTime)}}}(t.getEntries())}function Eo(t){var e=document.createElement("a");return e.href=t,e.host}function Oo(){oo(),function(){navigator&&"connection"in navigator&&oi(27,navigator.connection.effectiveType),window.PerformanceObserver&&PerformanceObserver.supportedEntryTypes?"complete"!==document.readyState?Hi(window,"load",X.bind(this,ko,0)):ko():Cr(3,0)}()}ko.dn=26,So.dn=27,Oo.dn=25;var To=[eo,ro,Rn,Object.freeze({__proto__:null,start:Oo,stop:function(){co&&co.disconnect(),co=null,yo(),oo()}})];function No(t){void 0===t&&(t=null),function(){try{var t=navigator&&"globalPrivacyControl"in navigator&&1==navigator.globalPrivacyControl;return!1===Gi&&"undefined"!=typeof Promise&&window.MutationObserver&&document.createTreeWalker&&"now"in Date&&"now"in performance&&"undefined"!=typeof WeakMap&&!t}catch(t){return!1}}()&&(!function(t){if(null===t||Gi)return!1;for(var e in t)e in o&&(o[e]=t[e])}(t),Ki(),bt(),To.forEach((function(t){return Pi(t.start)()})),null===t&&Co())}function Mo(){Qi()&&(To.slice().reverse().forEach((function(t){return Pi(t.stop)()})),wt(),Zi(),void 0!==_o&&(_o[Io]=function(){(_o[Io].q=_o[Io].q||[]).push(arguments),"start"===arguments[0]&&_o[Io].q.unshift(_o[Io].q.pop())&&Co()}))}var xo=Object.freeze({__proto__:null,consent:yi,event:A,hashText:$t,identify:ut,metadata:gi,pause:function(){Qi()&&(A("clarity","pause"),null===he&&(he=new Promise((function(t){pe=t}))))},resume:function(){Qi()&&(he&&(pe(),he=null,null===fe&&me()),A("clarity","resume"))},set:ot,signal:function(t){gt=t},start:No,stop:Mo,upgrade:et,version:l}),_o=window,Io="clarity";function Co(){if(void 0!==_o){if(_o[Io]&&_o[Io].v)return console.warn("Error CL001: Multiple Clarity tags detected.");var t=_o[Io]&&_o[Io].q||[];for(_o[Io]=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return xo[t].apply(xo,e)},_o[Io].v=l;t.length>0;)_o[Io].apply(_o,t.shift())}}Co()}();
|
|
1
|
+
!function(t){"use strict";var e=Object.freeze({__proto__:null,get queue(){return kr},get start(){return wr},get stop(){return Sr},get track(){return vr}}),n=Object.freeze({__proto__:null,get clone(){return qr},get compute(){return Ur},get data(){return Rr},get keys(){return Lr},get reset(){return Fr},get start(){return Xr},get stop(){return Br},get trigger(){return Yr},get update(){return Vr}}),a=Object.freeze({__proto__:null,get check(){return Qr},get compute(){return ei},get data(){return Ar},get start(){return $r},get stop(){return ni},get trigger(){return ti}}),r=Object.freeze({__proto__:null,get compute(){return si},get data(){return ai},get log(){return ci},get reset(){return li},get start(){return oi},get stop(){return ui},get updates(){return ri}}),i=Object.freeze({__proto__:null,get callback(){return Si},get callbacks(){return hi},get clear(){return ki},get consent(){return wi},get data(){return fi},get electron(){return pi},get id(){return bi},get metadata(){return yi},get save(){return Ei},get shortid(){return Ni},get start(){return gi},get stop(){return mi}}),o=Object.freeze({__proto__:null,get data(){return ji},get envelope(){return Li},get start(){return Ai},get stop(){return Ri}}),u={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,longTask:30,includeSubdomains:!0};function c(t){return window.Zone&&"__symbol__"in window.Zone?window.Zone.__symbol__(t):t}var s=0;function l(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-s),0)}var d="0.7.58";function f(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 h=/\S/gi,p=255,v=!0,g=null,m=null,y=null;function b(t,e,n,a,r){if(void 0===a&&(a=!1),t){if("input"==e&&("checkbox"===r||"radio"===r))return t;switch(n){case 0:return t;case 1:switch(e){case"*T":case"value":case"placeholder":case"click":return function(t){var e=-1,n=0,a=!1,r=!1,i=!1,o=null;T();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=v&&null!==y?s.match(y)?s:E(s,"▪","▫"):S(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 O(t)}return t;case 2:case 3:switch(e){case"*T":case"data-":return a?k(t):S(t);case"src":case"srcset":case"title":case"alt":return 3===n?"":t;case"value":case"click":case"input":case"change":return O(t);case"placeholder":return S(t)}break;case 4:switch(e){case"*T":case"data-":return a?k(t):S(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 E(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 w(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=u.drop;if(r&&r.length>0&&t&&t.indexOf("?")>0){var i=t.split("?"),o=i[0],c=i[1];a=o+"?"+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,p)),a}function k(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 S(t){return t.replace(h,"•")}function E(t,e,n){return T(),t?t.replace(m,e).replace(g,n):t}function O(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 T(){if(v&&null===g)try{g=new RegExp("\\p{N}","gu"),m=new RegExp("\\p{L}","gu"),y=new RegExp("\\p{Sc}","gu")}catch(t){v=!1}}var N=null,M=null,x=!1;function _(){x&&(N={time:l(),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}}),M=M||{visible:1,docWidth:0,docHeight:0,screenWidth:0,screenHeight:0,scrollX:0,scrollY:0,pointerX:0,pointerY:0,activityTime:0,scrollTime:0}}function I(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;default:M.pointerX=e,M.pointerY=n}x=!0}function C(t){M.activityTime=t}function D(t,e){M.visible="visible"===e?1:0,M.visible||C(t),x=!0}function j(){x&&Zr(4)}var A=Object.freeze({__proto__:null,activity:C,compute:j,reset:_,start:function(){x=!1,_()},get state(){return N},stop:function(){_()},track:I,visibility:D}),R=null;function L(t,e){to()&&t&&"string"==typeof t&&t.length<255&&(R=e&&"string"==typeof e&&e.length<255?{key:t,value:e}:{value:t},Zr(24))}var P,z=null,W=null;function H(t){t in z||(z[t]=0),t in W||(W[t]=0),z[t]++,W[t]++}function X(t,e){null!==e&&(t in z||(z[t]=0),t in W||(W[t]=0),z[t]+=e,W[t]+=e)}function Y(t,e){null!==e&&!1===isNaN(e)&&(t in z||(z[t]=0),(e>z[t]||0===z[t])&&(W[t]=e,z[t]=e))}function q(t,e,n){return window.setTimeout(Wi(t),e,n)}function U(t){return window.clearTimeout(t)}var F=0,V=0,B=null;function J(){B&&U(B),B=q(G,V),F=l()}function G(){var t=l();P={gap:t-F},Zr(25),P.gap<3e5?B=q(G,V):Zi&&(L("clarity","suspend"),_o(),["mousemove","touchstart"].forEach((function(t){return Xi(document,t,eo)})),["resize","scroll","pageshow"].forEach((function(t){return Xi(window,t,eo)})))}var K=Object.freeze({__proto__:null,get data(){return P},reset:J,start:function(){V=6e4,F=0},stop:function(){U(B),F=0,V=0}}),Z=null;function $(t,e){if(t in Z){var n=Z[t],a=n[n.length-1];e-a[0]>100?Z[t].push([e,0]):a[1]=e-a[0]}else Z[t]=[[e,0]]}function Q(){Zr(36)}function tt(){Z={}}var et=Object.freeze({__proto__:null,compute:Q,get data(){return Z},reset:tt,start:function(){Z={}},stop:function(){Z={}},track:$}),nt=null;function at(t){to()&&u.lean&&(u.lean=!1,nt={key:t},Si(),Ei(),u.upgrade&&u.upgrade(t),Zr(3))}var rt=Object.freeze({__proto__:null,get data(){return nt},start:function(){!u.lean&&u.upgrade&&u.upgrade("Config"),nt=null},stop:function(){nt=null},upgrade:at});function it(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 ot(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 ut=null;function ct(t,e){lt(t,"string"==typeof e?[e]:e)}function st(t,e,n,a){return void 0===e&&(e=null),void 0===n&&(n=null),void 0===a&&(a=null),it(this,void 0,void 0,(function(){var r,i;return ot(this,(function(o){switch(o.label){case 0:return i={},[4,ht(t)];case 1:return i.userId=o.sent(),i.userHint=a||((u=t)&&u.length>=5?"".concat(u.substring(0,2)).concat(E(u.substring(2),"*","*")):E(u,"*","*")),lt("userId",[(r=i).userId]),lt("userHint",[r.userHint]),lt("userType",[pt(t)]),e&&(lt("sessionId",[e]),r.sessionId=e),n&&(lt("pageId",[n]),r.pageId=n),[2,r]}var u}))}))}function lt(t,e){if(to()&&t&&e&&"string"==typeof t&&t.length<255){for(var n=(t in ut?ut[t]:[]),a=0;a<e.length;a++)"string"==typeof e[a]&&e[a].length<255&&n.push(e[a]);ut[t]=n}}function dt(){Zr(34)}function ft(){ut={}}function ht(t){return it(this,void 0,void 0,(function(){var e;return ot(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 pt(t){return t&&t.indexOf("@")>0?"email":"string"}var vt="CompressionStream"in window;function gt(t){return it(this,void 0,void 0,(function(){var e,n;return ot(this,(function(a){switch(a.label){case 0:return a.trys.push([0,3,,4]),vt?(e=new ReadableStream({start:function(e){return it(this,void 0,void 0,(function(){return ot(this,(function(n){return e.enqueue(t),e.close(),[2]}))}))}}).pipeThrough(new TextEncoderStream).pipeThrough(new window.CompressionStream("gzip")),n=Uint8Array.bind,[4,mt(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 mt(t){return it(this,void 0,void 0,(function(){var e,n,a,r,i;return ot(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 yt=null;function bt(t){try{if(!yt)return;var e=function(t){try{return JSON.parse(t)}catch(t){return[]}}(t);e.forEach((function(t){yt(t)}))}catch(t){}}var wt=[A,r,Object.freeze({__proto__:null,compute:dt,get data(){return ut},identify:st,reset:ft,set:ct,start:function(){ft()},stop:function(){ft()}}),a,et,i,o,e,K,rt,n];function kt(){z={},W={},H(5),wt.forEach((function(t){return Wi(t.start)()}))}function St(){wt.slice().reverse().forEach((function(t){return Wi(t.stop)()})),z={},W={}}function Et(){dt(),j(),si(),Zr(0),Q(),ei(),Ur()}var Ot,Tt=[];function Nt(t,e,n){u.fraud&&null!==t&&n&&n.length>=5&&(Ot={id:t,target:e,checksum:f(n,28)},Tt.indexOf(Ot.checksum)<0&&(Tt.push(Ot.checksum),Ir(41)))}var Mt="load,active,fixed,visible,focus,show,collaps,animat".split(","),xt={};function _t(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 It(t)})).join("."):null;if(u&&u.length>0)if(0===e){var c="".concat(function(t){for(var e=t.split(">"),n=0;n<e.length;n++){var a=e[n].indexOf("~"),r=e[n].indexOf(".");e[n]=e[n].substring(0,r>0?r:a>0?a:e[n].length)}return e.join(">")}(a)).concat(t.tag).concat(".").concat(u);c in xt||(xt[c]=[]),xt[c].indexOf(t.id)<0&&xt[c].push(t.id),i="".concat(c).concat("~").concat(xt[c].indexOf(t.id))}else i="".concat(a).concat(t.tag,".").concat(u).concat(r);return i=o&&It(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 It(t){if(!t)return!1;if(Mt.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 Ct=1,Dt=null,jt=[],At=[],Rt={},Lt=[],Pt=[],zt=[],Wt=[],Ht=[],Xt=[],Yt=null,qt=null,Ut=null,Ft=null;function Vt(){Jt(),Gt(document,!0)}function Bt(){Jt()}function Jt(){Ct=1,jt=[],At=[],Rt={},Lt=[],Pt=[],zt="address,password,contact".split(","),Wt="password,secret,pass,social,ssn,code,hidden".split(","),Ht="radio,checkbox,range,button,reset,submit".split(","),Xt="INPUT,SELECT,TEXTAREA".split(","),Dt=new Map,Yt=new WeakMap,qt=new WeakMap,Ut=new WeakMap,Ft=new WeakMap,xt={}}function Gt(t,e){void 0===e&&(e=!1);try{e&&u.unmask.forEach((function(t){return t.indexOf("!")<0?Pt.push(t):Lt.push(t.substr(1))})),"querySelectorAll"in t&&(u.regions.forEach((function(e){return t.querySelectorAll(e[1]).forEach((function(t){return Za(t,"".concat(e[0]))}))})),u.mask.forEach((function(e){return t.querySelectorAll(e).forEach((function(t){return Ut.set(t,3)}))})),u.checksum.forEach((function(e){return t.querySelectorAll(e[1]).forEach((function(t){return Ft.set(t,e[0])}))})),Pt.forEach((function(e){return t.querySelectorAll(e).forEach((function(t){return Ut.set(t,0)}))})))}catch(t){jr(5,1,t?t.name:null)}}function Kt(t,e){if(void 0===e&&(e=!1),null===t)return null;var n=Yt.get(t);return!n&&e&&(n=Ct++,Yt.set(t,n)),n||null}function Zt(t){var e=!1;if(t.nodeType===Node.ELEMENT_NODE&&"IFRAME"===t.tagName){var n=t;try{n.contentDocument&&(qt.set(n.contentDocument,n),e=!0)}catch(t){}}return e}function $t(t){var e=t.nodeType===Node.DOCUMENT_NODE?t:null;return e&&qt.has(e)?qt.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 te(t){var e=t.parent&&t.parent in jt?jt[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=jt[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=[_t(i,0),_t(i,1)],t.hash=t.selector.map((function(t){return t?f(t):null})),t.hash.forEach((function(e){return Rt[e]=t.id}))}function ee(t){var e=ne(re(t));return null!==e&&null!==e.textContent?e.textContent.substr(0,25):""}function ne(t){return Dt.has(t)?Dt.get(t):null}function ae(t){var e=Kt(t);return e in jt?jt[e]:null}function re(t){return t in Rt?Rt[t]:null}function ie(t){return Dt.has(Kt(t))}function oe(){for(var t=[],e=0,n=At;e<n.length;e++){var a=n[e];a in jt&&t.push(jt[a])}return At=[],t}function ue(t){if(Dt.get(t).nodeType!==Node.DOCUMENT_FRAGMENT_NODE){Dt.delete(t);var e=t in jt?jt[t]:null;if(e&&e.children)for(var n=0,a=e.children;n<a.length;n++){ue(a[n])}}}function ce(t){for(var e=null;null===e&&t.previousSibling;)e=Kt(t.previousSibling),t=t.previousSibling;return e}function se(t,e,n,a){void 0===n&&(n=!0),void 0===a&&(a=!1);var r=At.indexOf(t);r>=0&&1===e&&a?(At.splice(r,1),At.push(t)):-1===r&&n&&At.push(t)}var le=Object.freeze({__proto__:null,add:function(t,e,n,a){var r=Kt(t,!0),i=e?Kt(e):null,o=ce(t),c=null,s=$a(t)?r:null,l=Ft.has(t)?Ft.get(t):null,d=u.content?1:3;i>=0&&jt[i]&&((c=jt[i]).children.push(r),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&&(Za(t,n.attributes["data-clarity-region"]),s=r),Dt.set(r,t),jt[r]={id:r,parent:i,previous:o,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 Xt.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=Wt.some((function(t){return l.indexOf(t)>=0}));i.privacy="INPUT"===c&&Ht.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 Ut.has(t):i.privacy=Ut.get(t);break;case Ft.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)||Lt.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,zt,i);break;case"IMG"===c:(null===(a=u.src)||void 0===a?void 0:a.startsWith("blob:"))&&(i.privacy=3)}}(t,jt[r],c),te(jt[r]),function(t){if("IMG"===t.data.tag&&3===t.metadata.privacy){var e=ne(t.id);!e||e.complete&&0!==e.naturalWidth||Xi(e,"load",(function(){e.setAttribute("data-clarity-loaded","".concat(Ni()))})),t.metadata.size=[]}}(jt[r]),se(r,a)},get:ae,getId:Kt,getNode:ne,getValue:function(t){return t in jt?jt[t]:null},has:ie,hashText:ee,iframe:$t,lookup:re,parse:Gt,sameorigin:Zt,start:Vt,stop:Bt,update:function(t,e,n,a){var r=Kt(t),i=e?Kt(e):null,o=ce(t),u=!1,c=!1;if(r in jt){var s=jt[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:jt[i].children.indexOf(o)+1;jt[i].children.splice(d,0,r),s.region=$a(t)?r:jt[i].region}else!function(t,e){if(t in jt){var n=jt[t];n.metadata.active=!1,n.parent=null,se(t,e),ue(t)}}(r,a);if(null!==l&&l>=0){var f=jt[l].children.indexOf(r);f>=0&&jt[l].children.splice(f,1)}c=!0}for(var h in n)Qt(s.data,n,h)&&(u=!0,s.data[h]=n[h]);te(s),se(r,a,u,c)}},updates:oe}),de=5e3,fe={},he=[],pe=null,ve=null,ge=null;function me(){fe={},he=[],pe=null,ve=null}function ye(t,e){return void 0===e&&(e=0),it(this,void 0,void 0,(function(){var n,a,r;return ot(this,(function(i){for(n=0,a=he;n<a.length;n++)if(a[n].task===t)return[2];return r=new Promise((function(n){he[1===e?"unshift":"push"]({task:t,resolve:n,id:bi()})})),null===pe&&null===ve&&be(),[2,r]}))}))}function be(){var t=he.shift();t&&(pe=t,t.task().then((function(){t.id===bi()&&(t.resolve(),pe=null,be())})).catch((function(e){t.id===bi()&&(e&&jr(0,1,e.name,e.message,e.stack),pe=null,be())})))}function we(t){var e=Oe(t);return e in fe?performance.now()-fe[e].start>fe[e].yield?0:1:2}function ke(t){fe[Oe(t)]={start:performance.now(),calls:0,yield:u.longTask}}function Se(t){var e=performance.now(),n=Oe(t),a=e-fe[n].start;X(t.cost,a),H(5),fe[n].calls>0&&X(4,a)}function Ee(t){return it(this,void 0,void 0,(function(){var e,n;return ot(this,(function(a){switch(a.label){case 0:return(e=Oe(t))in fe?(Se(t),n=fe[e],[4,Te()]):[3,2];case 1:n.yield=a.sent().timeRemaining(),function(t){var e=Oe(t);if(fe&&fe[e]){var n=fe[e].calls,a=fe[e].yield;ke(t),fe[e].calls=n+1,fe[e].yield=a}}(t),a.label=2;case 2:return[2,e in fe?1:2]}}))}))}function Oe(t){return"".concat(t.id,".").concat(t.cost)}function Te(){return it(this,void 0,void 0,(function(){return ot(this,(function(t){switch(t.label){case 0:return ve?[4,ve]:[3,2];case 1:t.sent(),t.label=2;case 2:return[2,new Promise((function(t){Me(t,{timeout:de})}))]}}))}))}var Ne,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,c=r-a.data;if(c>u.longTask&&o<e.timeout)requestAnimationFrame((function(){i.postMessage(r)}));else{var s=o>e.timeout;t({didTimeout:s,timeRemaining:function(){return s?u.longTask:Math.max(0,u.longTask-c)}})}},requestAnimationFrame((function(){i.postMessage(performance.now())}))};function xe(){Ne=null}function _e(){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!==Ne&&c===Ne.width&&v===Ne.height||null===c||null===v||(Ne={width:c,height:v},Xa(8))}_e.dn=19;var Ie=[];function Ce(t){var e=rr(t);if(e){var n=e.value,a=n&&n.length>=5&&u.fraud&&-1==="password,secret,pass,social,ssn,code,hidden".indexOf(e.type)?f(n,28):"";Ie.push({time:l(t),event:42,data:{target:rr(t),type:e.type,value:n,checksum:a}}),ye(or.bind(this,42))}}function De(){Ie=[]}function je(t){var e={x:0,y:0};if(t&&t.offsetParent)do{var n=t.offsetParent,a=null===n?$t(t.ownerDocument):null;e.x+=t.offsetLeft,e.y+=t.offsetTop,t=a||n}while(t);return e}Ce.dn=5;var Ae=["input","textarea","radio","button","canvas"],Re=[];function Le(t,e,n){var a=$t(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=je(a);i=i?i+Math.round(u.x):i,o=o?o+Math.round(u.y):o}var c=rr(n),s=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&&(Re.push({time:l(n),event:t,data:{target:c,x:i,y:o,eX:f,eY:h,button:n.button,reaction:ze(c),context:We(s),text:Pe(c),link:s?s.href:null,hash:null,trust:n.isTrusted?1:0}}),ye(or.bind(this,t)))}function Pe(t){var e=null;if(t){var n=t.textContent||String(t.value||"")||t.alt;n&&(e=n.replace(/\s+/g," ").trim().substr(0,25))}return e}function ze(t){if(t.nodeType===Node.ELEMENT_NODE){var e=t.tagName.toLowerCase();if(Ae.indexOf(e)>=0)return 0}return 1}function We(t){if(t&&t.hasAttribute("target"))switch(t.getAttribute("target")){case"_blank":return 1;case"_parent":return 2;case"_top":return 3}return 0}function He(){Re=[]}Le.dn=6;var Xe=[];function Ye(t,e){Xe.push({time:l(e),event:38,data:{target:rr(e),action:t}}),ye(or.bind(this,38))}function qe(){Xe=[]}Ye.dn=7;var Ue=null,Fe=[];function Ve(t){var e=rr(t),n=ae(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};Fe.length>0&&Fe[Fe.length-1].data.target===i.target&&Fe.pop(),Fe.push({time:l(t),event:27,data:i}),U(Ue),Ue=q(Be,1e3,27)}}function Be(t){ye(or.bind(this,t))}function Je(){Fe=[]}Ve.dn=9;var Ge,Ke=[],Ze=null,$e=!1,Qe=0,tn=new Set;function en(t,e,n){var a=$t(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=je(a);i=i?i+Math.round(u.x):i,o=o?o+Math.round(u.y):o}null!==i&&null!==o&&an({time:l(n),event:t,data:{target:rr(n),x:i,y:o}})}function nn(t,e,n){var a=$t(e),r=a?a.contentDocument.documentElement:document.documentElement,i=n.changedTouches,o=l(n);if(i)for(var u=0;u<i.length;u++){var c=i[u],s="clientX"in c?Math.round(c.clientX+r.scrollLeft):null,d="clientY"in c?Math.round(c.clientY+r.scrollTop):null;s=s&&a?s+Math.round(a.offsetLeft):s,d=d&&a?d+Math.round(a.offsetTop):d;var f="identifier"in c?c.identifier:void 0;switch(t){case 17:0===tn.size&&($e=!0,Qe=f),tn.add(f);break;case 18:case 20:tn.delete(f)}var h=$e&&Qe===f;null!==s&&null!==d&&an({time:o,event:t,data:{target:rr(n),x:s,y:d,id:f,isPrimary:h}}),20!==t&&18!==t||Qe===f&&($e=!1)}}function an(t){switch(t.event){case 12:case 15:case 19:var e=Ke.length,n=e>1?Ke[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)&&Ke.pop(),Ke.push(t),U(Ze),Ze=q(rn,500,t.event);break;default:Ke.push(t),rn(t.event)}}function rn(t){ye(or.bind(this,t))}function on(){Ke=[]}en.dn=10,nn.dn=11;var un=null,cn=!1;function sn(){var t=document.documentElement;Ge={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},cn?(U(un),un=q(ln,500,11)):(or(11),cn=!0)}function ln(t){ye(or.bind(this,t))}function dn(){Ge=null,U(un)}sn.dn=12;var fn=[],hn=null,pn=null,vn=null;function gn(t){void 0===t&&(t=null);var e=window,n=document.documentElement,a=t?rr(t):n;if(a&&a.nodeType===Node.DOCUMENT_NODE){var r=$t(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,s=u/3,d=u>c?.15*c:.2*c,f=c-d,h=mn(s,d),p=mn(s,f),v={time:l(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 hn=h,void(pn=p);var g=fn.length,m=g>1?fn[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)&&fn.pop(),fn.push(v),U(vn),vn=q(yn,500,10)}function mn(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 yn(t){ye(or.bind(this,t))}function bn(){var t,e;if(hn){var n=ir(hn,null);ci(31,null===(t=null==n?void 0:n.hash)||void 0===t?void 0:t.join("."))}if(pn){var a=ir(pn,null);ci(32,null===(e=null==a?void 0:a.hash)||void 0===e?void 0:e.join("."))}}gn.dn=13,bn.dn=14;var wn=null,kn=null,Sn=null;function En(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=wn.start?wn.start:null;null!==kn&&null!==wn.start&&n!==e.anchorNode&&(U(Sn),On(21)),wn={start:e.anchorNode,startOffset:e.anchorOffset,end:e.focusNode,endOffset:e.focusOffset},kn=e,U(Sn),Sn=q(On,500,21)}}function On(t){ye(or.bind(this,t))}function Tn(){kn=null,wn={start:0,startOffset:0,end:0,endOffset:0}}En.dn=15;var Nn,Mn,xn=[];function _n(t){xn.push({time:l(t),event:39,data:{target:rr(t)}}),ye(or.bind(this,39))}function In(){xn=[]}function Cn(t){Nn={name:t.type},or(26,l(t)),_o()}function Dn(){Nn=null}function jn(t){void 0===t&&(t=null),Mn={visible:"visibilityState"in document?document.visibilityState:"default"},or(28,l(t))}function An(){Mn=null}function Rn(){ur=[],sr(),He(),qe(),on(),Je(),cn=!1,Xi(window,"resize",sn),sn(),Xi(document,"visibilitychange",jn),jn(),fn=[],gn(),Tn(),De(),In(),Xi(window,"pagehide",Cn)}function Ln(t){!function(t){var e=$t(t);Xi(e?e.contentWindow:t===document?window:t,"scroll",gn,!0)}(t),t.nodeType===Node.DOCUMENT_NODE&&(function(t){Xi(t,"click",Le.bind(this,9,t),!0)}(t),function(t){Xi(t,"cut",Ye.bind(this,0),!0),Xi(t,"copy",Ye.bind(this,1),!0),Xi(t,"paste",Ye.bind(this,2),!0)}(t),function(t){Xi(t,"mousedown",en.bind(this,13,t),!0),Xi(t,"mouseup",en.bind(this,14,t),!0),Xi(t,"mousemove",en.bind(this,12,t),!0),Xi(t,"wheel",en.bind(this,15,t),!0),Xi(t,"dblclick",en.bind(this,16,t),!0),Xi(t,"touchstart",nn.bind(this,17,t),!0),Xi(t,"touchend",nn.bind(this,18,t),!0),Xi(t,"touchmove",nn.bind(this,19,t),!0),Xi(t,"touchcancel",nn.bind(this,20,t),!0)}(t),function(t){Xi(t,"input",Ve,!0)}(t),function(t){Xi(t,"selectstart",En.bind(this,t),!0),Xi(t,"selectionchange",En.bind(this,t),!0)}(t),function(t){Xi(t,"change",Ce,!0)}(t),function(t){Xi(t,"submit",_n,!0)}(t))}_n.dn=16,Cn.dn=17,jn.dn=18,Rn.dn=8;var Pn=Object.freeze({__proto__:null,observe:Ln,start:Rn,stop:function(){ur=[],sr(),He(),qe(),U(Ze),Ke.length>0&&rn(Ke[Ke.length-1].event),U(Ue),Je(),dn(),An(),U(vn),fn=[],hn=null,pn=null,Tn(),U(Sn),De(),In(),Dn()}});function zn(t,e,n,a){return it(this,void 0,void 0,(function(){var r,i,o,u,c;return ot(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=we(e))?[3,3]:[4,Ee(e)];case 2:u=s.sent(),s.label=3;case 3:return 2===u?[3,4]:((c=da(i,n,a))&&r.push(c),[3,1]);case 4:return[2]}}))}))}var Wn=[],Hn=[],Xn={},Yn=null,qn=null,Un=null,Fn=null,Vn=null,Bn=[],Jn=null,Gn=null,Kn=null,Zn={};function $n(){if(Wn=[],Bn=[],Jn=null,Kn=0,Zn={},null===Yn&&(Yn=CSSStyleSheet.prototype.insertRule,CSSStyleSheet.prototype.insertRule=function(){return to()&&ra(this.ownerNode),Yn.apply(this,arguments)}),"CSSMediaRule"in window&&null===Fn&&(Fn=CSSMediaRule.prototype.insertRule,CSSMediaRule.prototype.insertRule=function(){return to()&&ra(this.parentStyleSheet.ownerNode),Fn.apply(this,arguments)}),null===qn&&(qn=CSSStyleSheet.prototype.deleteRule,CSSStyleSheet.prototype.deleteRule=function(){return to()&&ra(this.ownerNode),qn.apply(this,arguments)}),"CSSMediaRule"in window&&null===Vn&&(Vn=CSSMediaRule.prototype.deleteRule,CSSMediaRule.prototype.deleteRule=function(){return to()&&ra(this.parentStyleSheet.ownerNode),Vn.apply(this,arguments)}),null===Un){Un=Element.prototype.attachShadow;try{Element.prototype.attachShadow=function(){return to()?ra(Un.apply(this,arguments)):Un.apply(this,arguments)}}catch(t){Un=null}}}function Qn(t){var e=l();$(6,e),Hn.push({time:e,mutations:t}),ye(ea,1).then((function(){q(_e),Wi(Qa)()}))}function ta(t,e,n,a){return it(this,void 0,void 0,(function(){var r,i,o;return ot(this,(function(c){switch(c.label){case 0:return 0!==(r=we(t))?[3,2]:[4,Ee(t)];case 1:r=c.sent(),c.label=2;case 2:if(2===r)return[2];switch(i=e.target,o=u.throttleDom?function(t,e,n,a){var r=t.target?ae(t.target.parentNode):null;if(r&&"HTML"!==r.data.tag){var i=a>Kn,o=ae(t.target),u=o&&o.selector?o.selector.join():t.target.nodeName,c=[r.selector?r.selector.join():"",u,t.attributeName,na(t.addedNodes),na(t.removedNodes)].join();Zn[c]=c in Zn?Zn[c]:[0,n];var s=Zn[c];if(!1===i&&s[0]>=10&&aa(s[2],2,e,a),s[0]=i?s[1]===n?s[0]:s[0]+1:1,s[1]=n,s[0]>=10)return s[2]=t.removedNodes,n>a+3e3?t.type:(Xn[c]={mutation:t,timestamp:a},"throttle")}return t.type}(e,t,n,a):e.type,o&&i&&i.ownerDocument&&Gt(i.ownerDocument),o&&i&&i.nodeType==Node.DOCUMENT_FRAGMENT_NODE&&i.host&&Gt(i),o){case"attributes":da(i,3,a);break;case"characterData":da(i,4,a);break;case"childList":aa(e.addedNodes,1,t,a),aa(e.removedNodes,2,t,a)}return[2]}}))}))}function ea(){return it(this,void 0,void 0,(function(){var t,e,n,a,r,i,o,u,c,s,d;return ot(this,(function(f){switch(f.label){case 0:ke(t={id:bi(),cost:3}),f.label=1;case 1:if(!(Hn.length>0))return[3,3];for(e=Hn.shift(),n=l(),a=0,r=e.mutations;a<r.length;a++)i=r[a],ta(t,i,n,e.time);return[4,Xa(6,t,e.time)];case 2:return f.sent(),[3,1];case 3:for(o=!1,u=0,c=Object.keys(Xn);u<c.length;u++)s=c[u],d=Xn[s],delete Xn[s],ta(t,d.mutation,l(),d.timestamp),o=!0;return Object.keys(Xn).length>0&&function(){Gn&&U(Gn);Gn=q((function(){ye(ea,1)}),33)}(),0===Object.keys(Xn).length&&o?[4,Xa(6,t,l())]:[3,5];case 4:f.sent(),f.label=5;case 5:return function(){var t=l();Object.keys(Zn).length>1e4&&(Zn={},H(38));for(var e=0,n=Object.keys(Zn);e<n.length;e++){var a=n[e];t>Zn[a][1]+3e4&&delete Zn[a]}}(),Se(t),[2]}}))}))}function na(t){for(var e=[],n=0;t&&n<t.length;n++)e.push(t[n].nodeName);return e.join()}function aa(t,e,n,a){return it(this,void 0,void 0,(function(){var r,i,o;return ot(this,(function(u){switch(u.label){case 0:r=t?t.length:0,i=0,u.label=1;case 1:return i<r?1!==e?[3,2]:(zn(t[i],n,e,a),[3,5]):[3,6];case 2:return 0!==(o=we(n))?[3,4]:[4,Ee(n)];case 3:o=u.sent(),u.label=4;case 4:if(2===o)return[3,6];da(t[i],e,a),u.label=5;case 5:return i++,[3,1];case 6:return[2]}}))}))}function ra(t){return Bn.indexOf(t)<0&&Bn.push(t),Jn&&U(Jn),Jn=q((function(){!function(){for(var t=0,e=Bn;t<e.length;t++){var n=e[t];if(n){var a=n.nodeType===Node.DOCUMENT_FRAGMENT_NODE;if(a&&ie(n))continue;ia(n,a?"childList":"characterData")}}Bn=[]}()}),33),t}function ia(t,e){Wi(Qn)([{addedNodes:[t],attributeName:null,attributeNamespace:null,nextSibling:null,oldValue:null,previousSibling:null,removedNodes:[],target:t,type:e}])}$n.dn=21,Qn.dn=22,ia.dn=23;var oa=/[^0-9\.]/g;function ua(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":ci(5,t[a]),ci(8,t.creator),ci(18,t.headline);break;case"product":ci(5,t[a]),ci(10,t.name),ci(12,t.sku),t.brand&&ci(6,t.brand.name);break;case"aggregaterating":t.ratingValue&&(Y(11,ca(t.ratingValue,100)),Y(18,ca(t.bestRating)),Y(19,ca(t.worstRating))),Y(12,ca(t.ratingCount)),Y(17,ca(t.reviewCount));break;case"offer":ci(7,t.availability),ci(14,t.itemCondition),ci(13,t.priceCurrency),ci(12,t.sku),Y(13,ca(t.price));break;case"brand":ci(6,t.name)}null!==r&&"object"==typeof r&&ua(r)}}function ca(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(oa,""))*e)}return null}var sa=["title","alt","onload","onfocus","onerror","data-drupal-form-submit-last","aria-label"],la=/[\r\n]+/g;function da(t,e,n){var a,r=null;if(2===e&&!1===ie(t))return r;0!==e&&t.nodeType===Node.TEXT_NODE&&t.parentElement&&"STYLE"===t.parentElement.tagName&&(t=t.parentNode);var i=!1===ie(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?$t(t.parentNode):o;var c=t,s={tag:(u?"iframe:":"")+"*D",attributes:{name:c.name?c.name:"HTML",publicId:c.publicId,systemId:c.systemId}};le[i](t,o,s,e);break;case Node.DOCUMENT_NODE:t===document&&Gt(document),Oa(t,n),fa(t);break;case Node.DOCUMENT_FRAGMENT_NODE:var l=t;if(l.host){if(Gt(l),"function"===typeof l.constructor&&l.constructor.toString().indexOf("[native code]")>=0){fa(l);var d={tag:"*S",attributes:{style:""}};le[i](t,l.host,d,e)}else le[i](t,l.host,{tag:"*P",attributes:{}},e);Oa(t,n)}break;case Node.TEXT_NODE:if(o=o||t.parentNode,"update"===i||o&&ie(o)&&"STYLE"!==o.tagName&&"NOSCRIPT"!==o.tagName){var f={tag:"*T",value:t.nodeValue};le[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;a<n.length;a++){var r=n[a].name;sa.indexOf(r)<0&&(e[r]=n[a].value)}"INPUT"===t.tagName&&!("value"in e)&&t.value&&(e.value=t.value);return e}(h);switch(o=t.parentElement?t.parentElement:t.parentNode?t.parentNode:null,"http://www.w3.org/2000/svg"===h.namespaceURI&&(p="svg:"+p),p){case"HTML":o=u&&o?$t(o):o;var g={tag:(u?"iframe:":"")+p,attributes:v};le[i](t,o,g,e);break;case"SCRIPT":if("type"in v&&"application/ld+json"===v.type)try{ua(JSON.parse(h.text.replace(la,"")))}catch(t){}break;case"NOSCRIPT":var m={tag:p,attributes:{},value:""};le[i](t,o,m,e);break;case"META":var y="property"in v?"property":"name"in v?"name":null;if(y&&"content"in v){var b=v.content;switch(v[y]){case"og:title":ci(20,b);break;case"og:type":ci(19,b);break;case"generator":ci(21,b)}}break;case"HEAD":var w={tag:p,attributes:v},k=u&&(null===(a=t.ownerDocument)||void 0===a?void 0:a.location)?t.ownerDocument.location:location;w.attributes["*B"]=k.protocol+"//"+k.host+k.pathname,le[i](t,o,w,e);break;case"BASE":var S=ae(t.parentElement);if(S){var E=document.createElement("a");E.href=v.href,S.data.attributes["*B"]=E.protocol+"//"+E.host+E.pathname}break;case"STYLE":var O={tag:p,attributes:v,value:ha(h)};le[i](t,o,O,e);break;case"IFRAME":var T=t,N={tag:p,attributes:v};Zt(T)&&(!function(t){!1===ie(t)&&Xi(t,"load",ia.bind(this,t,"childList"),!0)}(T),N.attributes["*O"]="true",T.contentDocument&&T.contentWindow&&"loading"!==T.contentDocument.readyState&&(r=T.contentDocument)),le[i](t,o,N,e);break;case"LINK":if(pi&&"stylesheet"===v.rel){for(var M in Object.keys(document.styleSheets)){var x=document.styleSheets[M];if(x.ownerNode==h){var _={tag:"STYLE",attributes:v,value:pa(x)};le[i](t,o,_,e);break}}break}var I={tag:p,attributes:v};le[i](t,o,I,e);break;case"VIDEO":case"AUDIO":case"SOURCE":"src"in v&&v.src.startsWith("data:")&&(v.src="");var C={tag:p,attributes:v};le[i](t,o,C,e);break;default:var D={tag:p,attributes:v};h.shadowRoot&&(r=h.shadowRoot),le[i](t,o,D,e)}}return r}function fa(t){ie(t)||(!function(t){try{var e=c("MutationObserver"),n=e in window?new window[e](Wi(Qn)):null;n&&(n.observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),Wn.push(n))}catch(t){jr(2,0,t?t.name:null)}}(t),Ln(t))}function ha(t){var e=t.textContent?t.textContent.trim():"",n=t.dataset?Object.keys(t.dataset).length:0;return(0===e.length||n>0||t.id.length>0)&&(e=pa(t.sheet)),e}function pa(t){var e="",n=null;try{n=t?t.cssRules:[]}catch(t){if(jr(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 va=[],ga=[],ma=null,ya=null,ba="claritySheetId",wa="claritySheetNum",ka={},Sa={},Ea=[];function Oa(t,e){if(-1===Ea.indexOf(t)&&Ea.push(t),e=e||l(),null==t?void 0:t.adoptedStyleSheets){Y(36,1);for(var n=[],a=0,r=t.adoptedStyleSheets;a<r.length;a++){var i=r[a],o=fi.pageNum;i[wa]!==o&&(i[wa]=o,i[ba]=Ni(),Na(e,i[ba],0),Na(e,i[ba],2,pa(i))),n.push(i[ba])}var u=Kt(t,!0);ka[u]||(ka[u]=[]),function(t,e){if(t.length!==e.length)return!1;return t.every((function(t,n){return t===e[n]}))}(n,ka[u])||(!function(t,e,n,a){ga.push({time:t,event:45,data:{id:e,operation:n,newIds:a}}),Xa(45)}(e,t==document?-1:Kt(t),3,n),ka[u]=n,Sa[u]=e)}}function Ta(){ga=[],va=[]}function Na(t,e,n,a){va.push({time:t,event:46,data:{id:e,operation:n,cssRules:a}}),Xa(46)}var Ma=[],xa=null,_a=null,Ia=null,Ca=null,Da=null,ja=null,Aa="clarityAnimationId",Ra="clarityOperationCount",La=20;function Pa(){Ma=[]}function za(t,e,n,a,r,i,o){Ma.push({time:t,event:44,data:{id:e,operation:n,keyFrames:a,timing:r,targetId:i,timeline:o}}),Xa(44)}function Wa(t,e){null===t&&(t=Animation.prototype[e],Animation.prototype[e]=function(){return Ha(this,e),t.apply(this,arguments)})}function Ha(t,e){if(to()){var n=t.effect,a=Kt(n.target);if(null!==a&&n.getKeyframes&&n.getTiming){if(!t[Aa]){t[Aa]=Ni(),t[Ra]=0;var r=n.getKeyframes(),i=n.getTiming();za(l(),t[Aa],0,JSON.stringify(r),JSON.stringify(i),a)}if(t[Ra]++<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;break;case"commitStyles":o=5}o&&za(l(),t[Aa],o)}}}}function Xa(t,e,n){return void 0===e&&(e=null),void 0===n&&(n=null),it(this,void 0,void 0,(function(){var a,r,i,o,c,s,d,f,h,p,v,g,m,y,w,k,S,E,O,T,N,M,x,_,D,j,A,R,L;return ot(this,(function(P){switch(P.label){case 0:switch(a=n||l(),r=[a,t],t){case 8:return[3,1];case 7:return[3,2];case 45:case 46:return[3,3];case 44:return[3,4];case 5:case 6:return[3,5]}return[3,12];case 1:return i=Ne,r.push(i.width),r.push(i.height),I(t,i.width,i.height),kr(r),[3,12];case 2:for(o=0,c=Fa;o<c.length;o++)s=c[o],(r=[s.time,7]).push(s.data.id),r.push(s.data.interaction),r.push(s.data.visibility),r.push(s.data.name),kr(r);return ar(),[3,12];case 3:for(d=0,f=ga;d<f.length;d++)m=f[d],(r=[m.time,m.event]).push(m.data.id),r.push(m.data.operation),r.push(m.data.newIds),kr(r);for(h=0,p=va;h<p.length;h++)m=p[h],(r=[m.time,m.event]).push(m.data.id),r.push(m.data.operation),r.push(m.data.cssRules),kr(r);return Ta(),[3,12];case 4:for(v=0,g=Ma;v<g.length;v++)m=g[v],(r=[m.time,m.event]).push(m.data.id),r.push(m.data.operation),r.push(m.data.keyFrames),r.push(m.data.timing),r.push(m.data.timeline),r.push(m.data.targetId),kr(r);return Pa(),[3,12];case 5:if(2===we(e))return[3,12];if(!((y=oe()).length>0))return[3,11];w=0,k=y,P.label=6;case 6:return w<k.length?(S=k[w],0!==(E=we(e))?[3,8]:[4,Ee(e)]):[3,10];case 7:E=P.sent(),P.label=8;case 8:if(2===E)return[3,10];for(O=S.data,T=S.metadata.active,N=S.metadata.suspend,M=S.metadata.privacy,x=function(t){var e=t.metadata.privacy;return"*T"===t.data.tag&&!(0===e||1===e)}(S),_=0,D=T?["tag","attributes","value"]:["tag"];_<D.length;_++)if(O[j=D[_]])switch(j){case"tag":A=Ya(S),R=x?-1:1,r.push(S.id*R),S.parent&&T&&(r.push(S.parent),S.previous&&r.push(S.previous)),r.push(N?"*M":O[j]),A&&2===A.length&&r.push("".concat("#").concat(qa(A[0]),".").concat(qa(A[1])));break;case"attributes":for(L in O[j])void 0!==O[j][L]&&r.push(Ua(L,O[j][L],M));break;case"value":Nt(S.metadata.fraud,S.id,O[j]),r.push(b(O[j],O.tag,M,x))}P.label=9;case 9:return w++,[3,6];case 10:6===t&&C(a),kr(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),!u.lean),P.label=11;case 11:return[3,12];case 12:return[2]}}))}))}function Ya(t){if(null!==t.metadata.size&&0===t.metadata.size.length){var e=ne(t.id);if(e)return[Math.floor(100*e.offsetWidth),Math.floor(100*e.offsetHeight)]}return t.metadata.size}function qa(t){return t.toString(36)}function Ua(t,e,n){return"".concat(t,"=").concat(b(e,0===t.indexOf("data-")?"data-":t,n))}var Fa=[],Va=null,Ba={},Ja=[],Ga=!1,Ka=null;function Za(t,e){!1===Va.has(t)&&(Va.set(t,e),(Ka=null===Ka&&Ga?new IntersectionObserver(tr,{threshold:[0,.05,.1,.2,.3,.4,.5,.6,.7,.8,.9,1]}):Ka)&&t&&t.nodeType===Node.ELEMENT_NODE&&Ka.observe(t))}function $a(t){return Va&&Va.has(t)}function Qa(){for(var t=[],e=0,n=Ja;e<n.length;e++){var a=n[e],r=Kt(a.node);r?(a.state.data.id=r,Ba[r]=a.state.data,Fa.push(a.state)):t.push(a)}Ja=t,Fa.length>0&&Xa(7)}function tr(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(Va.has(r)&&i.width+i.height>0&&u.width>0&&u.height>0){var c=r?Kt(r):null,s=c in Ba?Ba[c]:{id:c,name:Va.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;er(r,s,s.interaction,d?13:l?10:0),s.visibility>=13&&Ka&&Ka.unobserve(r)}}Fa.length>0&&Xa(7)}function er(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 Ba&&r||!(e.id in Ba))&&(Ba[e.id]=e,Fa.push(nr(e))):Ja.push({node:t,state:nr(e)})}function nr(t){return{time:l(),data:{id:t.id,interaction:t.interaction,visibility:t.visibility,name:t.name}}}function ar(){Fa=[]}function rr(t){var e=t.composed&&t.composedPath?t.composedPath():null,n=e&&e.length>0?e[0]:t.target;return Kn=l()+3e3,n&&n.nodeType===Node.DOCUMENT_NODE?n.documentElement:n}function ir(t,e,n){void 0===n&&(n=null);var a={id:0,hash:null,privacy:2,node:t};if(t){var r=ae(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=ne(t),a=t in Ba?Ba[t]:{id:t,visibility:0,interaction:16,name:Va.get(n)},r=16;switch(e){case 9:r=20;break;case 27:r=30}er(n,a,r,a.visibility)}(r.region,e),i.fraud&&Nt(i.fraud,r.id,n||r.data.value)}}return a}function or(t,e){return void 0===e&&(e=null),it(this,void 0,void 0,(function(){var n,a,r,i,o,u,c,s,d,f,h,p,v,g,m,y,k,S,E,O,T,N,M,x,_,C,j,A,R,L,P,z,W,H,X;return ot(this,(function(Y){switch(n=e||l(),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=Ke;r<i.length;r++)H=i[r],(o=ir(H.data.target,H.event)).id>0&&((a=[H.time,H.event]).push(o.id),a.push(H.data.x),a.push(H.data.y),void 0!==H.data.id&&(a.push(H.data.id),void 0!==H.data.isPrimary&&a.push(H.data.isPrimary.toString())),kr(a),I(H.event,H.data.x,H.data.y));on();break;case 9:for(u=0,c=Re;u<c.length;u++)H=c[u],s=ir(H.data.target,H.event,H.data.text),a=[H.time,H.event],d=s.hash?s.hash.join("."):"",a.push(s.id),a.push(H.data.x),a.push(H.data.y),a.push(H.data.eX),a.push(H.data.eY),a.push(H.data.button),a.push(H.data.reaction),a.push(H.data.context),a.push(b(H.data.text,"click",s.privacy)),a.push(w(H.data.link)),a.push(d),a.push(H.data.trust),kr(a),lr(H.time,H.event,d,H.data.x,H.data.y,H.data.reaction,H.data.context);He();break;case 38:for(f=0,h=Xe;f<h.length;f++)H=h[f],a=[H.time,H.event],(P=ir(H.data.target,H.event)).id>0&&(a.push(P.id),a.push(H.data.action),kr(a));qe();break;case 11:p=Ge,a.push(p.width),a.push(p.height),I(t,p.width,p.height),dn(),kr(a);break;case 26:v=Nn,a.push(v.name),Dn(),kr(a);break;case 27:for(g=0,m=Fe;g<m.length;g++)H=m[g],y=ir(H.data.target,H.event,H.data.value),(a=[H.time,H.event]).push(y.id),a.push(b(H.data.value,"input",y.privacy,!1,H.data.type)),kr(a);Je();break;case 21:(k=wn)&&(S=ir(k.start,t),E=ir(k.end,t),a.push(S.id),a.push(k.startOffset),a.push(E.id),a.push(k.endOffset),Tn(),kr(a));break;case 10:for(O=0,T=fn;O<T.length;O++)H=T[O],N=ir(H.data.target,H.event),M=ir(H.data.top,H.event),x=ir(H.data.bottom,H.event),_=(null==M?void 0:M.hash)?M.hash.join("."):"",C=(null==x?void 0:x.hash)?x.hash.join("."):"",N.id>0&&((a=[H.time,H.event]).push(N.id),a.push(H.data.x),a.push(H.data.y),a.push(_),a.push(C),kr(a),I(H.event,H.data.x,H.data.y,H.time));fn=[],hn=null,pn=null;break;case 42:for(j=0,A=Ie;j<A.length;j++)H=A[j],a=[H.time,H.event],(P=ir(H.data.target,H.event)).id>0&&((a=[H.time,H.event]).push(P.id),a.push(H.data.type),a.push(b(H.data.value,"change",P.privacy)),a.push(b(H.data.checksum,"checksum",P.privacy)),kr(a));De();break;case 39:for(R=0,L=xn;R<L.length;R++)H=L[R],a=[H.time,H.event],(P=ir(H.data.target,H.event)).id>0&&(a.push(P.id),kr(a));In();break;case 22:for(z=0,W=cr;z<W.length;z++)H=W[z],(a=[H.time,H.event]).push(H.data.type),a.push(H.data.hash),a.push(H.data.x),a.push(H.data.y),a.push(H.data.reaction),a.push(H.data.context),kr(a,!1);sr();break;case 28:X=Mn,a.push(X.visible),kr(a),D(n,X.visible),An()}return[2]}))}))}Qa.dn=24;var ur=[],cr=[];function sr(){cr=[]}function lr(t,e,n,a,r,i,o){void 0===i&&(i=1),void 0===o&&(o=0),ur.push({time:t,event:22,data:{type:e,hash:n,x:a,y:r,reaction:i,context:o}}),I(e,a,r)}var dr,fr,hr,pr,vr,gr=0,mr=0,yr=null,br=0;function wr(){pr=!0,gr=0,mr=0,br=0,dr=[],fr=[],hr={},vr=null}function kr(t,e){if(void 0===e&&(e=!0),pr){var n=l(),a=t.length>1?t[1]:null,r=JSON.stringify(t);switch(a){case 5:gr+=r.length;case 37:case 6:case 43:case 45:case 46:mr+=r.length,dr.push(r);break;default:fr.push(r)}H(25);var i=function(){var t=!1===u.lean&&gr>0?100:ji.sequence*u.delay;return"string"==typeof u.upload?Math.max(Math.min(t,3e4),100):u.delay}();n-br>2*i&&(U(yr),yr=null),e&&null===yr&&(25!==a&&J(),yr=q(Er,i),br=n,Qr(mr))}}function Sr(){U(yr),Er(!0),gr=0,mr=0,br=0,dr=[],fr=[],hr={},vr=null,pr=!1}function Er(t){return void 0===t&&(t=!1),it(this,void 0,void 0,(function(){var e,n,a,r,i,o,c,s;return ot(this,(function(l){switch(l.label){case 0:return yr=null,(e=!1===u.lean&&mr>0&&(mr<1048576||ji.sequence>0))&&Y(1,1),Qa(),function(){var t=[];cr=[];for(var e=ji.start+ji.duration,n=Math.max(e-2e3,0),a=0,r=ur;a<r.length;a++){var i=r[a];i.time>=n&&(i.time<=e&&cr.push(i),t.push(i))}ur=t,or(22)}(),Et(),function(){for(var t=0,e=Ea;t<e.length;t++){var n=e[t],a=n==document?-1:Kt(n),r=a in Sa?Sa[a]:null;Oa(document,r)}}(),n=!0===t,a=JSON.stringify(Li(n)),r="[".concat(fr.join(),"]"),i=e?"[".concat(dr.join(),"]"):"",o=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,gt(o)];case 2:s=l.sent(),l.label=3;case 3:return X(2,(c=s)?c.length:o.length),Or(o,c,ji.sequence,n),fr=[],e&&(dr=[],mr=0,gr=0),[2]}}))}))}function Or(t,e,n,a){if(void 0===a&&(a=!1),"string"==typeof u.upload){var r=u.upload,i=!1;if(a&&"sendBeacon"in navigator)try{(i=navigator.sendBeacon.bind(navigator)(r,t))&&Nr(n)}catch(t){}if(!1===i){n in hr?hr[n].attempts++:hr[n]={data:t,attempts:1};var o=new XMLHttpRequest;o.open("POST",r,!0),o.timeout=15e3,o.ontimeout=function(){zi(new Error("".concat("Timeout"," : ").concat(r)))},null!==n&&(o.onreadystatechange=function(){Wi(Tr)(o,n)}),o.withCredentials=!0,e?(o.setRequestHeader("Accept","application/x-clarity-gzip"),o.send(e)):o.send(t)}}else if(u.upload){(0,u.upload)(t),Nr(n)}}function Tr(t,e){var n=hr[e];t&&4===t.readyState&&n&&((t.status<200||t.status>208)&&n.attempts<=1?t.status>=400&&t.status<500?ti(6):(0===t.status&&(u.upload=u.fallback?u.fallback:u.upload),Or(n.data,null,e)):(vr={sequence:e,attempts:n.attempts,status:t.status},n.attempts>1&&Zr(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":ti(6);break;case"UPGRADE":at("Auto");break;case"ACTION":u.action&&i.length>1&&u.action(i[1]);break;case"EXTRACT":i.length>1&&Yr(i[1]);break;case"SIGNAL":i.length>1&&bt(i[1])}}}(t.responseText),0===t.status&&(Or(n.data,null,e,!0),ti(3)),t.status>=200&&t.status<=208&&Nr(e),delete hr[e]))}function Nr(t){1===t&&(Ei(),Si())}var Mr,xr={};function _r(t){var e=t.error||t;return e.message in xr||(xr[e.message]=0),xr[e.message]++>=5||e&&e.message&&(Mr={message:e.message,line:t.lineno,column:t.colno,stack:e.stack,source:t.filename},Ir(31)),!0}function Ir(t){return it(this,void 0,void 0,(function(){var e;return ot(this,(function(n){switch(e=[l(),t],t){case 31:e.push(Mr.message),e.push(Mr.line),e.push(Mr.column),e.push(Mr.stack),e.push(w(Mr.source)),kr(e);break;case 33:Cr&&(e.push(Cr.code),e.push(Cr.name),e.push(Cr.message),e.push(Cr.stack),e.push(Cr.severity),kr(e,!1));break;case 41:Ot&&(e.push(Ot.id),e.push(Ot.target),e.push(Ot.checksum),kr(e,!1))}return[2]}))}))}_r.dn=4;var Cr,Dr={};function jr(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 Dr&&Dr[t].indexOf(i)>=0||(Cr={code:t,name:n,message:a,stack:r,severity:e},t in Dr?Dr[t].push(i):Dr[t]=[i],Ir(33))}var Ar,Rr={},Lr=new Set,Pr={},zr={},Wr={},Hr={};function Xr(){Fr()}function Yr(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 Pr[a]={},zr[a]={},Wr[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);Pr[a][u]=Jr(l);break;case 2:zr[a][u]=c;break;case 4:var d=c.substring(1,c.length);Wr[a][u]=d}}}catch(t){jr(8,1,t?t.name:null)}}function qr(t){return JSON.parse(JSON.stringify(t))}function Ur(){try{for(var t in Pr){var e=parseInt(t);if(""==Hr[e]||document.querySelector(Hr[e])){var n=Pr[e];for(var a in n){var r=parseInt(a),i=(h=Gr(qr(n[r])))?JSON.stringify(h).substring(0,1e4):h;i&&Vr(e,r,i)}var o=zr[e];for(var u in o){var c=parseInt(u),s=document.querySelectorAll(o[c]);if(s)Vr(e,c,Array.from(s).map((function(t){return t.textContent})).join("<SEP>").substring(0,1e4))}var l=Wr[e];for(var d in l){var f=parseInt(d);Vr(e,f,ee(l[f]).trim().substring(0,1e4))}}}Lr.size>0&&Zr(40)}catch(t){jr(5,1,t?t.name:null)}var h}function Fr(){Lr.clear()}function Vr(t,e,n){var a,r=!1;t in Rr||(Rr[t]={},r=!0),a=Wr[t],0==Object.keys(a).length||e in Rr[t]&&Rr[t][e]==n||(r=!0),Rr[t][e]=n,r&&Lr.add(t)}function Br(){Fr()}function Jr(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 Gr(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&&Kr(r,a.condition))n=Gr(t,r);else if(Array.isArray(r)){for(var i=[],o=0,u=r;o<u.length;o++){var c=u[o];if(Kr(c,a.condition)){var s=Gr(t,c);s&&i.push(s)}}n=i}return n}return null}function Kr(t,e){if(e){var n=e.split(":");return n.length>1?t[n[0]]==n[1]:t[n[0]]}return!0}function Zr(t){var e=[l(),t];switch(t){case 4:var n=N;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),kr(e,!1)),_();break;case 25:e.push(P.gap),kr(e);break;case 35:e.push(Ar.check),kr(e,!1);break;case 3:e.push(nt.key),kr(e);break;case 2:e.push(vr.sequence),e.push(vr.attempts),e.push(vr.status),kr(e,!1);break;case 24:R.key&&e.push(R.key),e.push(R.value),kr(e);break;case 34:var a=Object.keys(ut);if(a.length>0){for(var r=0,i=a;r<i.length;r++){var o=i[r];e.push(o),e.push(ut[o])}ft(),kr(e,!1)}break;case 0:var u=Object.keys(W);if(u.length>0){for(var c=0,s=u;c<s.length;c++){var d=s[c],f=parseInt(d,10);e.push(f),e.push(Math.round(W[d]))}W={},kr(e,!1)}break;case 1:var h=Object.keys(ri);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(ri[g])}li(),kr(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];f=parseInt(w,10);e.push(f),e.push([].concat.apply([],Z[w]))}tt(),kr(e,!1)}break;case 40:Lr.forEach((function(t){e.push(t);var n=[];for(var a in Rr[t]){var r=parseInt(a,10);n.push(r),n.push(Rr[t][a])}e.push(n)})),Fr(),kr(e,!1)}}function $r(){Ar={check:0}}function Qr(t){if(0===Ar.check){var e=Ar.check;e=ji.sequence>=128?1:e,e=ji.pageNum>=128?7:e,e=l()>72e5?2:e,(e=t>10485760?2:e)!==Ar.check&&ti(e)}}function ti(t){Ar.check=t,5!==t&&(ki(),_o())}function ei(){0!==Ar.check&&Zr(35)}function ni(){Ar=null}var ai=null,ri=null,ii=!1;function oi(){ai={},ri={},ii=!1}function ui(){ai={},ri={},ii=!1}function ci(t,e){if(e&&(e="".concat(e),t in ai||(ai[t]=[]),ai[t].indexOf(e)<0)){if(ai[t].length>128)return void(ii||(ii=!0,ti(5)));ai[t].push(e),t in ri||(ri[t]=[]),ri[t].push(e)}}function si(){Zr(1)}function li(){ri={},ii=!1}function di(t){ci(36,t.toString())}var fi=null,hi=[],pi=0,vi=null;function gi(){var t,e,n;vi=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(),o=window.location.ancestorOrigins?Array.from(window.location.ancestorOrigins).toString():"",c=document&&document.title?document.title:"";pi=a.indexOf("Electron")>0?1:0;var s,l=function(){var t={session:Ni(),ts:Math.round(Date.now()),count:1,upgrade:null,upload:""},e=_i("_clsk",!u.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}(),d=xi(),h=u.projectId||f(location.host);fi={projectId:h,userId:d.id,sessionId:l.session,pageNum:l.count},u.lean=u.track&&null!==l.upgrade?0===l.upgrade:u.lean,u.upload=u.track&&"string"==typeof u.upload&&l.upload&&l.upload.length>"https://".length?l.upload:u.upload,ci(0,a),ci(3,c),ci(1,w(location.href,!!pi)),ci(2,document.referrer),ci(15,function(){var t=Ni();if(u.track&&Oi(window,"sessionStorage")){var e=sessionStorage.getItem("_cltk");t=e||t,sessionStorage.setItem("_cltk",t)}return t}()),ci(16,document.documentElement.lang),ci(17,document.dir),ci(26,"".concat(window.devicePixelRatio)),ci(28,d.dob.toString()),ci(29,d.version.toString()),ci(33,o),ci(34,r),ci(35,i),Y(0,l.ts),Y(1,0),Y(35,pi),navigator&&(ci(9,navigator.language),Y(33,navigator.hardwareConcurrency),Y(32,navigator.maxTouchPoints),Y(34,Math.round(navigator.deviceMemory)),(s=navigator.userAgentData)&&s.getHighEntropyValues?s.getHighEntropyValues(["model","platform","platformVersion","uaFullVersion"]).then((function(t){var e;ci(22,t.platform),ci(23,t.platformVersion),null===(e=t.brands)||void 0===e||e.forEach((function(t){ci(24,t.name+"~"+t.version)})),ci(25,t.model),Y(27,t.mobile?1:0)})):ci(22,navigator.platform)),screen&&(Y(14,Math.round(screen.width)),Y(15,Math.round(screen.height)),Y(16,Math.round(screen.colorDepth)));for(var p=0,v=u.cookies;p<v.length;p++){var g=v[p],m=_i(g);m&&ct(g,m)}!function(t){di(t?1:0)}(u.track),Ti(d)}function mi(){vi=null,fi=null,hi.forEach((function(t){t.called=!1}))}function yi(t,e,n){void 0===e&&(e=!0),void 0===n&&(n=!1);var a=u.lean?0:1,r=!1;fi&&(a||!1===e)&&(t(fi,!u.lean),r=!0),!n&&r||hi.push({callback:t,wait:e,recall:n,called:r})}function bi(){return fi?[fi.userId,fi.sessionId,fi.pageNum].join("."):""}function wi(t){if(void 0===t&&(t=!0),!t)return u.track=!1,Ci("_clsk","",-Number.MAX_VALUE),Ci("_clck","",-Number.MAX_VALUE),_o(),void window.setTimeout(xo,250);to()&&(u.track=!0,Ti(xi(),1),Ei(),di(2))}function ki(){Ci("_clsk","",0)}function Si(){!function(t){if(hi.length>0)for(var e=0;e<hi.length;e++){var n=hi[e];!n.callback||n.called||n.wait&&!t||(n.callback(fi,!u.lean),n.called=!0,n.recall||(hi.splice(e,1),e--))}}(u.lean?0:1)}function Ei(){if(fi){var t=Math.round(Date.now()),e=u.upload&&"string"==typeof u.upload?u.upload.replace("https://",""):"",n=u.lean?0:1;Ci("_clsk",[fi.sessionId,t,fi.pageNum,n,e].join("|"),1)}}function Oi(t,e){try{return!!t[e]}catch(t){return!1}}function Ti(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===u.dob?0:u.dob:t.dob;(null===t.expiry||Math.abs(n-t.expiry)>=1||t.consent!==e||t.dob!==a)&&Ci("_clck",[fi.userId,2,n.toString(36),e,a].join("|"),365)}function Ni(){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 xi(){var t={id:Ni(),version:0,expiry:null,consent:0,dob:0},e=_i("_clck",!u.includeSubdomains);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 o="".concat(";").concat("expires=").concat(new Date(0).toUTCString()).concat(";path=/");document.cookie="".concat("_clck","=").concat(o),document.cookie="".concat("_clsk","=").concat(o)}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])),u.track=u.track||1===t.consent,t.id=u.track?n[0]:t.id}return t}function _i(t,e){var n;if(void 0===e&&(e=!1),Oi(document,"cookie")){var a=document.cookie.split(";");if(a)for(var r=0;r<a.length;r++){var i=a[r].split("=");if(i.length>1&&i[0]&&i[0].trim()===t){for(var o=Ii(i[1]),u=o[0],c=o[1];u;)u=(n=Ii(c))[0],c=n[1];return e?c.endsWith("".concat("~","1"))?c.substring(0,c.length-2):null:c}}}return null}function Ii(t){try{var e=decodeURIComponent(t);return[e!=t,e]}catch(t){}return[!1,t]}function Ci(t,e,n){if((u.track||""==e)&&(navigator&&navigator.cookieEnabled||Oi(document,"cookie"))){var a=function(t){return encodeURIComponent(t)}(e),r=new Date;r.setDate(r.getDate()+n);var i=r?"expires="+r.toUTCString():"",o="".concat(t,"=").concat(a).concat(";").concat(i).concat(";path=/");try{if(null===vi){for(var c=location.hostname?location.hostname.split("."):[],s=c.length-1;s>=0;s--)if(vi=".".concat(c[s]).concat(vi||""),s<c.length-1&&(document.cookie="".concat(o).concat(";").concat("domain=").concat(vi),_i(t)===e))return;vi=""}}catch(t){vi=""}document.cookie=vi?"".concat(o).concat(";").concat("domain=").concat(vi):o}}var Di,ji=null;function Ai(){var e=fi;ji={version:d,sequence:0,start:0,duration:0,projectId:e.projectId,userId:e.userId,sessionId:e.sessionId,pageNum:e.pageNum,upload:0,end:0,applicationPlatform:t.WebApp,url:""}}function Ri(){ji=null}function Li(e){return ji.start=ji.start+ji.duration,ji.duration=l()-ji.start,ji.sequence++,ji.upload=e&&"sendBeacon"in navigator?1:0,ji.end=e?1:0,ji.applicationPlatform=t.WebApp,ji.url=w(location.href,!1,!0),[ji.version,ji.sequence,ji.start,ji.duration,ji.projectId,ji.userId,ji.sessionId,ji.pageNum,ji.upload,ji.end,ji.applicationPlatform,ji.url]}function Pi(){Di=[]}function zi(t){if(Di&&-1===Di.indexOf(t.message)){var e=u.report;if(e&&e.length>0){var n={v:ji.version,p:ji.projectId,u:ji.userId,s:ji.sessionId,n:ji.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)),Di.push(t.message)}}return t}function Wi(t){return function(){var e=performance.now();try{t.apply(this,arguments)}catch(t){throw zi(t)}var n=performance.now()-e;X(4,n),n>u.longTask&&(H(7),Y(6,n),jr(9,0,"".concat(t.dn||t.name,"-").concat(n)))}}var Hi=[];function Xi(t,e,n,a){void 0===a&&(a=!1),n=Wi(n);try{t[c("addEventListener")](e,n,a),Hi.push({event:e,target:t,listener:n,capture:a})}catch(t){}}function Yi(){for(var t=0,e=Hi;t<e.length;t++){var n=e[t];try{n.target[c("removeEventListener")](n.event,n.listener,n.capture)}catch(t){}}Hi=[]}var qi=null,Ui=null,Fi=null,Vi=0;function Bi(){return!(Vi++>20)||(jr(4,0),!1)}function Ji(){Vi=0,Fi!==Ki()&&(_o(),window.setTimeout(Gi,250))}function Gi(){xo(),Y(29,1)}function Ki(){return location.href?location.href.replace(location.hash,""):location.href}Ji.dn=1;var Zi=!1;function $i(){Zi=!0,s=performance.now()+performance.timeOrigin,me(),Yi(),Pi(),Fi=Ki(),Vi=0,Xi(window,"popstate",Ji),null===qi&&(qi=history.pushState,history.pushState=function(){qi.apply(this,arguments),to()&&Bi()&&Ji()}),null===Ui&&(Ui=history.replaceState,history.replaceState=function(){Ui.apply(this,arguments),to()&&Bi()&&Ji()})}function Qi(){Fi=null,Vi=0,Pi(),Yi(),me(),s=0,Zi=!1}function to(){return Zi}function eo(){xo(),L("clarity","restart")}function no(){!function(){Tt=[],Y(26,navigator.webdriver?1:0);try{Y(31,window.top==window.self||window.top==window?1:2)}catch(t){Y(31,0)}}(),Xi(window,"error",_r),xr={},Dr={}}eo.dn=2,no.dn=3;var ao=Object.freeze({__proto__:null,start:no,stop:function(){Dr={}}});function ro(){return it(this,void 0,void 0,(function(){var t,e;return ot(this,(function(n){switch(n.label){case 0:return t=l(),ke(e={id:bi(),cost:3}),[4,zn(document,e,0,t)];case 1:return n.sent(),Oa(document,t),[4,Xa(5,e,t)];case 2:return n.sent(),Se(e),[2]}}))}))}function io(){xe(),_e(),ar(),Ka=null,Va=new WeakMap,Ba={},Ja=[],Ga=!!window.IntersectionObserver,Vt(),u.delayDom?Xi(window,"load",(function(){$n()})):$n(),ye(ro,1).then((function(){Wi(_e)(),Wi(Qa)(),Wi(bn)()})),window.CSSStyleSheet&&CSSStyleSheet.prototype&&(null===ma&&(ma=CSSStyleSheet.prototype.replace,CSSStyleSheet.prototype.replace=function(){return to()&&(Y(36,1),this[wa]===fi.pageNum&&Na(l(),this[ba],1,arguments[0])),ma.apply(this,arguments)}),null===ya&&(ya=CSSStyleSheet.prototype.replaceSync,CSSStyleSheet.prototype.replaceSync=function(){return to()&&(Y(36,1),this[wa]===fi.pageNum&&Na(l(),this[ba],2,arguments[0])),ya.apply(this,arguments)})),function(){if(window.Animation&&window.Animation.prototype&&window.KeyframeEffect&&window.KeyframeEffect.prototype&&window.KeyframeEffect.prototype.getKeyframes&&window.KeyframeEffect.prototype.getTiming&&(Pa(),Wa(_a,"play"),Wa(Ia,"pause"),Wa(Ca,"commitStyles"),Wa(Da,"cancel"),Wa(ja,"finish"),null===xa&&(xa=Element.prototype.animate,Element.prototype.animate=function(){var t=xa.apply(this,arguments);return Ha(t,"play"),t}),document.getAnimations))for(var t=0,e=document.getAnimations();t<e.length;t++){var n=e[t];"finished"===n.playState?Ha(n,"finish"):"paused"===n.playState||"idle"===n.playState?Ha(n,"pause"):"running"===n.playState&&Ha(n,"play")}}()}io.dn=20;var oo=Object.freeze({__proto__:null,hashText:ee,start:io,stop:function(){ar(),Va=null,Ba={},Ja=[],Ka&&(Ka.disconnect(),Ka=null),Ga=!1,Bt(),function(){for(var t=0,e=Wn;t<e.length;t++){var n=e[t];n&&n.disconnect()}Wn=[],Zn={},Hn=[],Xn=[],Bn=[],Kn=0,Jn=null}(),xe(),ka={},Sa={},Ea=[],Ta(),Pa()}});var uo=null;function co(){uo=null}function so(t){uo={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){it(this,void 0,void 0,(function(){var e,n;return ot(this,(function(a){return e=l(),n=[e,t],29===t&&(n.push(uo.fetchStart),n.push(uo.connectStart),n.push(uo.connectEnd),n.push(uo.requestStart),n.push(uo.responseStart),n.push(uo.responseEnd),n.push(uo.domInteractive),n.push(uo.domComplete),n.push(uo.loadEventStart),n.push(uo.loadEventEnd),n.push(uo.redirectCount),n.push(uo.size),n.push(uo.type),n.push(uo.protocol),n.push(uo.encodedSize),n.push(uo.decodedSize),co(),kr(n)),[2]}))}))}(29)}var lo,fo=0,ho=1/0,po=0,vo=0,go=[],mo=new Map,yo=function(){return fo||0},bo=function(){if(!go.length)return-1;var t=Math.min(go.length-1,Math.floor((yo()-vo)/50));return go[t].latency},wo=function(){vo=yo(),go.length=0,mo.clear()},ko=function(t){if(t.interactionId&&!(t.duration<40)){!function(t){"interactionCount"in performance?fo=performance.interactionCount:t.interactionId&&(ho=Math.min(ho,t.interactionId),po=Math.max(po,t.interactionId),fo=po?(po-ho)/7+1:0)}(t);var e=go[go.length-1],n=mo.get(t.interactionId);if(n||go.length<10||t.duration>(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};mo.set(a.id,a),go.push(a)}go.sort((function(t,e){return e.latency-t.latency})),go.length>10&&go.splice(10).forEach((function(t){return mo.delete(t.id)}))}}},So=["navigation","resource","longtask","first-input","layout-shift","largest-contentful-paint","event"];function Eo(){try{lo&&lo.disconnect(),lo=new PerformanceObserver(Wi(Oo));for(var t=0,e=So;t<e.length;t++){var n=e[t];PerformanceObserver.supportedEntryTypes.indexOf(n)>=0&&("layout-shift"===n&&X(9,0),lo.observe({type:n,buffered:!0}))}}catch(t){jr(3,1)}}function Oo(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":so(a);break;case"resource":var r=a.name;ci(4,To(r)),r!==u.upload&&r!==u.fallback||Y(28,a.duration);break;case"longtask":H(7);break;case"first-input":e&&Y(10,a.processingStart-a.startTime);break;case"event":e&&"PerformanceEventTiming"in window&&"interactionId"in PerformanceEventTiming.prototype&&(ko(a),ci(37,bo().toString()));break;case"layout-shift":e&&!a.hadRecentInput&&X(9,1e3*a.value);break;case"largest-contentful-paint":e&&Y(8,a.startTime)}}}(t.getEntries())}function To(t){var e=document.createElement("a");return e.href=t,e.host}function No(){co(),function(){navigator&&"connection"in navigator&&ci(27,navigator.connection.effectiveType),window.PerformanceObserver&&PerformanceObserver.supportedEntryTypes?"complete"!==document.readyState?Xi(window,"load",q.bind(this,Eo,0)):Eo():jr(3,0)}()}Eo.dn=26,Oo.dn=27,No.dn=25;var Mo=[ao,oo,Pn,Object.freeze({__proto__:null,start:No,stop:function(){lo&&lo.disconnect(),lo=null,wo(),co()}})];function xo(t){void 0===t&&(t=null),function(){try{var t=navigator&&"globalPrivacyControl"in navigator&&1==navigator.globalPrivacyControl;return!1===Zi&&"undefined"!=typeof Promise&&window.MutationObserver&&document.createTreeWalker&&"now"in Date&&"now"in performance&&"undefined"!=typeof WeakMap&&!t}catch(t){return!1}}()&&(!function(t){if(null===t||Zi)return!1;for(var e in t)e in u&&(u[e]=t[e])}(t),$i(),kt(),Mo.forEach((function(t){return Wi(t.start)()})),null===t&&jo())}function _o(){to()&&(Mo.slice().reverse().forEach((function(t){return Wi(t.stop)()})),St(),Qi(),void 0!==Co&&(Co[Do]=function(){(Co[Do].q=Co[Do].q||[]).push(arguments),"start"===arguments[0]&&Co[Do].q.unshift(Co[Do].q.pop())&&jo()}))}var Io=Object.freeze({__proto__:null,consent:wi,event:L,hashText:ee,identify:st,metadata:yi,pause:function(){to()&&(L("clarity","pause"),null===ve&&(ve=new Promise((function(t){ge=t}))))},resume:function(){to()&&(ve&&(ge(),ve=null,null===pe&&be()),L("clarity","resume"))},set:ct,signal:function(t){yt=t},start:xo,stop:_o,upgrade:at,version:d}),Co=window,Do="clarity";function jo(){if(void 0!==Co){if(Co[Do]&&Co[Do].v)return console.warn("Error CL001: Multiple Clarity tags detected.");var t=Co[Do]&&Co[Do].q||[];for(Co[Do]=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return Io[t].apply(Io,e)},Co[Do].v=d;t.length>0;)Co[Do].apply(Co,t.shift())}}jo()}(data$k);
|
package/build/clarity.module.js
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { WebApp } from '@clarity-types/data';
|
|
2
|
+
|
|
1
3
|
var upload$1 = /*#__PURE__*/Object.freeze({
|
|
2
4
|
__proto__: null,
|
|
3
5
|
get queue () { return queue; },
|
|
@@ -188,6 +190,7 @@ function hash (input, precision) {
|
|
|
188
190
|
}
|
|
189
191
|
|
|
190
192
|
var catchallRegex = /\S/gi;
|
|
193
|
+
var maxUrlLength = 255;
|
|
191
194
|
var unicodeRegex = true;
|
|
192
195
|
var digitRegex = null;
|
|
193
196
|
var letterRegex = null;
|
|
@@ -269,19 +272,26 @@ function text$1(value, hint, privacy, mangle, type) {
|
|
|
269
272
|
}
|
|
270
273
|
return value;
|
|
271
274
|
}
|
|
272
|
-
function url$1(input, electron) {
|
|
275
|
+
function url$1(input, electron, truncate) {
|
|
273
276
|
if (electron === void 0) { electron = false; }
|
|
277
|
+
if (truncate === void 0) { truncate = false; }
|
|
278
|
+
var result = input;
|
|
274
279
|
// Replace the URL for Electron apps so we don't send back file:/// URL
|
|
275
280
|
if (electron) {
|
|
276
|
-
|
|
281
|
+
result = "".concat("https://" /* Data.Constant.HTTPS */).concat("Electron" /* Data.Constant.Electron */);
|
|
277
282
|
}
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
+
else {
|
|
284
|
+
var drop_1 = config$2.drop;
|
|
285
|
+
if (drop_1 && drop_1.length > 0 && input && input.indexOf("?") > 0) {
|
|
286
|
+
var _a = input.split("?"), path = _a[0], query = _a[1];
|
|
287
|
+
var swap_1 = "*na*" /* Data.Constant.Dropped */;
|
|
288
|
+
result = path + "?" + query.split("&").map(function (p) { return drop_1.some(function (x) { return p.indexOf("".concat(x, "=")) === 0; }) ? "".concat(p.split("=")[0], "=").concat(swap_1) : p; }).join("&");
|
|
289
|
+
}
|
|
283
290
|
}
|
|
284
|
-
|
|
291
|
+
if (truncate) {
|
|
292
|
+
result = result.substring(0, maxUrlLength);
|
|
293
|
+
}
|
|
294
|
+
return result;
|
|
285
295
|
}
|
|
286
296
|
function mangleText(value) {
|
|
287
297
|
var trimmed = value.trim();
|
|
@@ -671,6 +681,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
671
681
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
672
682
|
PERFORMANCE OF THIS SOFTWARE.
|
|
673
683
|
***************************************************************************** */
|
|
684
|
+
/* global Reflect, Promise */
|
|
685
|
+
|
|
674
686
|
|
|
675
687
|
function __awaiter(thisArg, _arguments, P, generator) {
|
|
676
688
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
@@ -5055,7 +5067,9 @@ function start$8() {
|
|
|
5055
5067
|
sessionId: m.sessionId,
|
|
5056
5068
|
pageNum: m.pageNum,
|
|
5057
5069
|
upload: 0 /* Upload.Async */,
|
|
5058
|
-
end: 0 /* BooleanFlag.False
|
|
5070
|
+
end: 0 /* BooleanFlag.False */,
|
|
5071
|
+
applicationPlatform: WebApp,
|
|
5072
|
+
url: ''
|
|
5059
5073
|
};
|
|
5060
5074
|
}
|
|
5061
5075
|
function stop$7() {
|
|
@@ -5067,6 +5081,8 @@ function envelope(last) {
|
|
|
5067
5081
|
data$1.sequence++;
|
|
5068
5082
|
data$1.upload = last && "sendBeacon" in navigator ? 1 /* Upload.Beacon */ : 0 /* Upload.Async */;
|
|
5069
5083
|
data$1.end = last ? 1 /* BooleanFlag.True */ : 0 /* BooleanFlag.False */;
|
|
5084
|
+
data$1.applicationPlatform = WebApp;
|
|
5085
|
+
data$1.url = url$1(location.href, false, true);
|
|
5070
5086
|
return [
|
|
5071
5087
|
data$1.version,
|
|
5072
5088
|
data$1.sequence,
|
|
@@ -5077,7 +5093,9 @@ function envelope(last) {
|
|
|
5077
5093
|
data$1.sessionId,
|
|
5078
5094
|
data$1.pageNum,
|
|
5079
5095
|
data$1.upload,
|
|
5080
|
-
data$1.end
|
|
5096
|
+
data$1.end,
|
|
5097
|
+
data$1.applicationPlatform,
|
|
5098
|
+
data$1.url
|
|
5081
5099
|
];
|
|
5082
5100
|
}
|
|
5083
5101
|
|