window.hjSiteSettings = window.hjSiteSettings || {"site_id":6545959,"rec_value":1.0,"state_change_listen_mode":"automatic","record":true,"continuous_capture_enabled":true,"recording_capture_keystrokes":true,"session_capture_console_consent":true,"anonymize_digits":true,"anonymize_emails":true,"suppress_all":false,"suppress_all_on_specific_pages":[],"suppress_text":false,"suppress_location":false,"user_attributes_enabled":false,"legal_name":null,"privacy_policy_url":null,"deferred_page_contents":[],"record_targeting_rules":[],"heatmaps":[],"polls":[],"integrations":{"optimizely":{"tag_recordings":false},"abtasty":{"tag_recordings":false},"kissmetrics":{"send_user_id":false},"mixpanel":{"send_events":false},"unbounce":{"tag_recordings":false},"hubspot":{"enabled":false,"send_recordings":false,"send_surveys":false}},"features":["ask.popover_redesign","client_script.compression.pc","csq_theme","error_reporting","feedback.embeddable_widget","feedback.widgetV2","settings.billing_v2","survey.embeddable_widget","survey.image_question","survey.screenshots","survey.type_button","tcvs_v2"],"tracking_code_verified":true,"cs_project_id":null,"cs_tag_name":null,"account_id":5023208,"account_signature":"67cc9d91f5937fa2cbc2cf99d362ef62de1dd27a6de055f1907ebce555bf86ed"}; !function(){"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(e,t){for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:10,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1e3;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.send=t,this.batchSize=n,this.flushInterval=r,this.buffer=[],this.flushTimer=null}var n,r;return n=e,(r=[{key:"getBuffer",value:function(){return this.buffer}},{key:"add",value:function(e){var t=this;this.buffer.push(e),this.buffer.length>=this.batchSize?this.flush():this.flushTimer||(this.flushTimer=setTimeout((function(){t.flush()}),this.flushInterval))}},{key:"flush",value:function(){this.buffer.length>0&&(this.send(this.buffer),this.buffer=[]),this.flushTimer&&(clearTimeout(this.flushTimer),this.flushTimer=null)}}])&&t(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),e}();function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t0&&g(s)){var p={name:e,type:"distribution",value:Math.round(h),tags:f({tag:n,extraTags:o})};a.add(p)}return c}catch(t){console.debug("Failed to send timer metric: ",{name:e,tag:n,error:t})}},timeIncr:function(e,t){var n,r,i,o,a=t.tag,s=t.start,c=t.flush,f=t.extraTags,g=t.type,h=hj.metrics.time(),p=s&&h?h-s:void 0,m=(n=e,{tagName:r=d(a),start:(o=(i=u.loggedMetrics[n])&&i[r]||{}).start,total:o.total}),w=p?p+(m.total||0):m.total;return l(e,m.tagName,{total:w}),c&&v.timeEnd(e,{tag:a,total:w,extraTags:f,type:g}),w},timeWatcher:function(){var e,t=0,n=!1,r=function(){var n,r=v.time();return t+=null!==(n=e&&r&&r-e)&&void 0!==n?n:0,e=v.time(),t};return{start:function(){if(!n)return n=!0,e=v.time()},incr:r,end:function(){var n=r();return t=0,e=void 0,n}}},getErrorMessage:function(e){return e instanceof Error?e.message:"string"==typeof e?e:""}},p=function(){window.hj=window.hj||function(){for(var e=arguments.length,t=new Array(e),n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:{},n=null===(e=_hjSettings)||void 0===e?void 0:e.environment,r=t.isCSQLite?"t.contentsquare.net":"static.hotjar.com";n&&"live"!==n&&(r=t.isCSQLite?"t-staging.contentsquare.net":"static-integration.hotjar.com");var i=t.isCSQLite?"smb/tag":hjSiteSettings.cs_tag_name;if(i){var o=document.createElement("script");return o.type="text/javascript",o.async=!0,o.src="https://".concat(r,"/uxa/").concat(i,".js"),o.setAttribute(C,""),document.getElementsByTagName("head")[0].appendChild(o),window.hjCSQTagInjected=!0,o}};function A(){var e,t,n;p(),hj.metrics.start();var r,i,o,a,s,c,u,l,d,f,g,h,v=!(!window.CS_CONF||null===(e=window.CS_CONF.voc)||void 0===e||!e.enabled),b=!(window.CS_CONF||null===(t=window.hjSiteSettings)||void 0===t||null===(n=t.features)||void 0===n||!n.includes("cs_lite"));if(v&&window._uxa)window._uxa.push(["start:hotjar",hjSiteSettings]),window.hj.scriptLoaded=!0;else if(b){var y=(c=(r=hjSiteSettings).suppress_all||r.suppress_text||(null===(i=r.suppress_all_on_specific_pages)||void 0===i?void 0:i.length),u=function(e){var t,n,r,i,o,a={anonymisationMethod:null,replayRecordingMaskedUrlRegex:null,replayRecordingMaskedUrlRegexRules:null};if((e.suppress_all||e.suppress_text)&&(a.anonymisationMethod=m.replayRecordingMaskedUrlRegex,a.replayRecordingMaskedUrlRegex=".*"),null!==(t=e.suppress_all_on_specific_pages)&&void 0!==t&&t.length){a.anonymisationMethod=m.replayRecordingMaskedUrlRegexRules;var s=(n=e.suppress_all_on_specific_pages,r={contains:w.CONTAIN,regex:w.CONTAIN,simple:w.CONTAIN,ends_with:w.END,exact:w.EXACT,starts_with:w.START},i=[],o=Object.keys(r),n.forEach((function(e){if(e.pattern&&o.includes(e.match_operation)){var t={operator:r[e.match_operation],value:e.pattern,ignoreQueryParams:"simple"===e.match_operation,ignoreURIFragments:"simple"===e.match_operation,ignoreCaseSensitivity:"simple"===e.match_operation,notOperator:e.negate};i.push(t)}})),i.length?i:void 0);a.replayRecordingMaskedUrlRegexRules=s||null}return a}(r),l=u.anonymisationMethod,d=u.replayRecordingMaskedUrlRegex,f=u.replayRecordingMaskedUrlRegexRules,g=!(null===(o=_hjSettings)||void 0===o||!o.environment||"live"===_hjSettings.environment),{CS_CONF_BASE:{projectId:r.cs_project_id,smbConfig:{siteId:r.site_id,record:!!hjSiteSettings.record,useCSTC:!0,useSentry:!0,csLiteDomain:g?"insights-integration.live.eks.hotjar.com":"insights.hotjar.com"},hostnames:[window.location.hostname],voc:null!==(a=r.polls)&&void 0!==a&&a.length||R()?{enabled:1,siteId:r.site_id}:{enabled:0},whitelistedAttributes:[],anonymizeDigits:!!c||r.anonymize_digits,implementations:(s=r,E(O,(h=s.state_change_listen_mode,"manual"===h?[]:[{template:{name:"ArtificialPageview",args:{}},triggers:[{name:"HistoryChange",args:{listeners:"popstate, pushState, replaceState"+("automatic_with_fragments"===h?", hashchange":""),useDebounce:"no",window:400}}]}]))),recordTargetingRules:E(O,r.record_targeting_rules),anonymisationMethod:l,replayRecordingMaskedUrlRegex:d,replayRecordingMaskedUrlRegexRules:f},PII_SELECTORS:r.suppress_all?["picture, img, video, audio"]:null}),j=y.CS_CONF_BASE,_=y.PII_SELECTORS;window.CS_CONF_BASE=j,window._uxa=window._uxa||[],_&&window._uxa.push(["setPIISelectors",{PIISelectors:_}]),I({isCSQLite:b})}else window.hjBootstrap=window.hjBootstrap||function(e,t,n){var r,i,o=new RegExp("bot|google|headless|baidu|bing|msn|duckduckbot|teoma|slurp|yandex|phantomjs|pingdom|ahrefsbot|facebook|cispa|bytespider","i"),a=(null===(r=window.navigator)||void 0===r?void 0:r.userAgent)||"unknown";if(o.test(a))return hj.metrics.count("session-rejection",{tag:{reason:"bot"}}),void console.warn("Hotjar not launching due to suspicious userAgent:",a);var s="http:"===window.location.protocol,c=Boolean(null===(i=_hjSettings)||void 0===i?void 0:i.preview);if(s&&!c)return hj.metrics.count("session-rejection",{tag:{reason:"https"}}),void console.warn("For security reasons, Hotjar only works over HTTPS. Learn more: https://help.hotjar.com/hc/en-us/articles/115011624047");window.hjBootstrap=function(e,t,n){var r;window.hjBootstrapCalled=(window.hjBootstrapCalled||[]).concat(n),window.hj&&window.hj._init&&!hj.features.isUchRouted()&&(null===(r=hj._init)||void 0===r||r._verifyInstallation())},window.hjBootstrap(e,t,n),window.hjBootstrap.revision="9a480ab";var u=window.document,l=u.head||u.getElementsByTagName("head")[0];hj.scriptDomain=e;var d=u.createElement("script");d.async=!0,d.src=hj.scriptDomain+t,d.charset="utf-8",l.appendChild(d)},window.hjBootstrap("https://script.hotjar.com/","modules.47ae0ae40a423a71e31f.js","6545959")}window.hjLazyModules=window.hjLazyModules||{SURVEY_V2:{js:"survey-v2.ce3fd910b167f16a3604.js"},SURVEY_BOOTSTRAPPER:{js:"survey-bootstrapper.31d6cfe0d16ae931b73c.js"},SURVEY_ISOLATED:{js:"survey-isolated.31d6cfe0d16ae931b73c.js"},HEATMAP_RETAKER:{js:"heatmap-retaker.3effb74283a86d374eec.js"},SURVEY_INVITATION:{js:"survey-invitation.014136c28ea41cdc2e32.js"},NOTIFICATION:{js:"notification.ed2bca043f1d9f8c6b56.js"},SENTRY:{js:"sentry.58c81e3e25532810f6fd.js"},BROWSER_PERF:{js:"browser-perf.8417c6bba72228fa2e29.js"},USER_TEST:{js:"user-test.219ed2d53d9cfcf2b3a9.js"}};var N,k,U,L=null!==(M=hjSiteSettings.features)&&void 0!==M?M:[];function P(e,t){var n;null!==(n=window.hj)&&void 0!==n&&n.metrics||(p(),hj.metrics.start()),hj.metrics.count("migration-error",{tag:{error:e},extraTags:t})}function D(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"csq-tag-already-loaded",n=Boolean(window.UXAnalytics)&&!e,r=null!==document.querySelector('script[src*="/uxa/"]:not(['.concat(C,"])"));(n||r)&&P(t,{csq_project_ids:(n&&window.CSQ_TAGS?window.CSQ_TAGS.join(","):"").slice(0,150)})}function B(e){if(e){var t=[e.src.split("/uxa/")[0],"https://t.contentsquare.net","https://t-staging.contentsquare.net"];document.addEventListener("securitypolicyviolation",(function e(n){var r,i=n.effectiveDirective||n.violatedDirective||"";"enforce"!==n.disposition||0!==i.indexOf("script-src")&&0!==i.indexOf("default-src")||(r=n.blockedURI,!t.some((function(e){if(0!==r.indexOf(e))return!1;var t=r.slice(e.length);return""===t||"/"===t||0===t.indexOf("/uxa/")||0===t.indexOf("/releases/")})))||(document.removeEventListener("securitypolicyviolation",e),P("csq-tag-blocked-by-csp"))})),e.addEventListener("error",(function(){return P("csq-tag-load-failed")}),{once:!0})}}function q(){document.addEventListener("securitypolicyviolation",(function e(t){var n,r,i=t.effectiveDirective||t.violatedDirective||"";"enforce"===t.disposition&&(0===i.indexOf("connect-src")||0===i.indexOf("default-src"))&&((r=(n=t.blockedURI.split("/")[2]||"").length-13)>0&&n.lastIndexOf(".cs.hotjar.io")===r)&&(document.removeEventListener("securitypolicyviolation",e),P("csq-collect-blocked-by-csp"))}))}U=Boolean(window.hjCSQTagInjected),L.indexOf("one_app_tag")>-1?(D(U),B(I()),q()):L.indexOf("one_app_tag_dc")>-1?(A(),D(U),B(I()),q()):(A(),(null===(N=window.CS_CONF)||void 0===N||null===(k=N.voc)||void 0===k?void 0:k.enabled)||D(U,"csq-tag-coexisting"))}();