window.hjSiteSettings = window.hjSiteSettings || {"site_id":3744969,"rec_value":3.999999997894577e-9,"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":[],"feedback_widgets":[],"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":["error_reporting","settings.billing_v2","feedback.embeddable_widget","client_script.compression.pc","survey.screenshots","ask.popover_redesign","feedback.widgetV2","survey.embeddable_widget","survey.image_question"],"tracking_code_verified":true}; !function(){"use strict";function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(t,e){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:10,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1e3;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.send=e,this.batchSize=r,this.flushInterval=n,this.buffer=[],this.flushTimer=null}var r,n;return r=t,(n=[{key:"getBuffer",value:function(){return this.buffer}},{key:"add",value:function(t){var e=this;this.buffer.push(t),this.buffer.length>=this.batchSize?this.flush():this.flushTimer||(this.flushTimer=setTimeout((function(){e.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)}}])&&e(r.prototype,n),Object.defineProperty(r,"prototype",{writable:!1}),t}();function o(){return o=Object.assign?Object.assign.bind():function(t){for(var e=1;e0&&g(s)){var b={name:t,type:"distribution",value:Math.round(l),tags:h({tag:r,extraTags:o})};a.add(b)}return c}catch(e){console.debug("Failed to send timer metric: ",{name:t,tag:r,error:e})}},timeIncr:function(t,e){var r,n,i,o,a=e.tag,s=e.start,c=e.flush,u=e.extraTags,h=e.type,g=hj.metrics.time(),b=s&&g?g-s:void 0,m=(r=t,{tagName:n=f(a),start:(o=(i=l.loggedMetrics[r])&&i[n]||{}).start,total:o.total}),w=b?b+(m.total||0):m.total;return d(t,m.tagName,{total:w}),c&&v.timeEnd(t,{tag:a,total:w,extraTags:u,type:h}),w},timeWatcher:function(){var t,e=0,r=!1,n=function(){var r,n=v.time();return e+=null!==(r=t&&n&&n-t)&&void 0!==r?r:0,t=v.time(),e};return{start:function(){if(!r)return r=!0,t=v.time()},incr:n,end:function(){var r=n();return e=0,t=void 0,r}}},getErrorMessage:function(t){return t instanceof Error?t.message:"string"==typeof t?t:""}},m=!(!window.CS_CONF||null===(s=window.CS_CONF.voc)||void 0===s||!s.enabled);window.hj=window.hj||function(){for(var t=arguments.length,e=new Array(t),r=0;r