/*! For license information please see modules.d7e8b7276297041c77dc.js.LICENSE.txt */ !function(){var e={4788:function(e,t,n){"use strict";n.d(t,{s:function(){return r}});const r=Object.freeze({IDENTIFY_USER:"identify_user",AUTOTAG_RECORDING:"autotag_recording",TAG_RECORDING:"tag_recording",HEATMAP_HELO:"heatmap_helo",RECORDING_HELO:"recording_helo",REPORT_USER_ID:"report_user_id",MUTATION:"mutation",MOUSE_CLICK:"mouse_click",INPUT_CHOICE_CHANGE:"input_choice_change",KEY_PRESS:"key_press",MOUSE_MOVE:"mouse_move",RELATIVE_MOUSE_MOVE:"relative_mouse_move",CLIPBOARD:"clipboard",PAGE_VISIBILITY:"page_visibility",SCROLL_REACH:"scroll_reach",SCROLL:"scroll",SELECT_CHANGE:"select_change",VIEWPORT_RESIZE:"viewport_resize",SCRIPT_PERFORMANCE:"script_performance",REPORT_CONTENT:"report_content",INSERTED_RULE:"inserted_rule",DELETED_RULE:"deleted_rule"})},6939:function(e,t,n){"use strict";n.d(t,{f:function(){return f},W:function(){return g}});const r=Object.freeze({LIVE:"LIVE",REVIEW_WEBAPP:"REVIEW_WEBAPP",REVIEW:"REVIEW",STAGING:"STAGING",DEV:"DEV",DEV_OLD:"DEV_OLD"}),o=(()=>{const e=document.location.host.match(/^(insights-webapp|surveys-webapp|insights|surveys)-(.*?)((?:\.[^.]+)?(?:\.hotjarians\.net)|(?:\.[^.]+)?(?:\.eks\.hotjar\.com))$/);return e&&{component:e[1],reviewId:e[2],domain:e[3],reviewUrlSuffix:e[2]+e[3]}})()?.reviewUrlSuffix,i=Object.freeze({[r.LIVE]:{INSIGHTS:"insights.hotjar.com",SURVEYS:"surveys.hotjar.com"},[r.REVIEW]:{INSIGHTS:`insights-${o}`,SURVEYS:`surveys-${o}`},[r.REVIEW_WEBAPP]:{INSIGHTS:`insights-webapp-${o}`,SURVEYS:`surveys-webapp-${o}`},[r.STAGING]:{INSIGHTS:"insights-staging.hotjar.com",SURVEYS:"surveys-staging.hotjar.com"},[r.DEV]:{INSIGHTS:"local.hotjar.com:8443",SURVEYS:"surveys.local.hotjar.com:8443"},[r.DEV_OLD]:{INSIGHTS:"local.hotjar.com",SURVEYS:"surveys.local.hotjar.com"}}),a=e=>(t,n)=>t===i[e][n],s=a(r.DEV),c=a(r.DEV_OLD),u=a(r.LIVE),l=a(r.REVIEW_WEBAPP),h=a(r.REVIEW),d=a(r.STAGING),f=(e,t)=>{if(t)return`https://${t}/${e}`;const n=((e="INSIGHTS",t=document.location.host)=>u(t,e)?r.LIVE:s(t,e)?r.DEV:c(t,e)?r.DEV_OLD:l(t,e)?r.REVIEW_WEBAPP:h(t,e)?r.REVIEW:d(t,e)?r.STAGING:r.LIVE)();return`https://${i[n].SURVEYS}/${e}`},g=(e=document.location.href)=>{const t=[i[r.LIVE].SURVEYS,i[r.REVIEW_WEBAPP].SURVEYS,i[r.REVIEW].SURVEYS,i[r.STAGING].SURVEYS,i[r.DEV].SURVEYS,i[r.DEV_OLD].SURVEYS],n=document.createElement("a");return n.href=e,t.indexOf(n.hostname)>=0}},9163:function(e,t,n){"use strict";n.d(t,{R:function(){return r}});var r={getFeatures:hj.tryCatch((function(){return hj.settings.features||[]}),"hj.features.getFeatures"),hasFeature:hj.tryCatch((function(e){var t;try{var n=window.localStorage.getItem("HJ_OVERRIDE_FEATURE:".concat(e));t="true"===n||"1"===n}catch(e){t=!1}return r.getFeatures().indexOf(e)>-1||t}),"hj.features.hasFeature")}},9982:function(e,t,n){"use strict";n.d(t,{H:function(){return o}});var r=n(8422),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s,r=0,o=!1;function c(){0!=--r||o||t.bind(this)()}function u(){o=!0,n.bind(this)()}Object.keys(e).forEach((function(t){var n=e[t];"string"==typeof n&&(n=[n]),r+=n.length,n.forEach((function(e){i(e,t,c,u)}))}))},i=function(e,t,n,o){var i;t===r.vH.SCRIPT?(i=document.createElement("script")).src="".concat(hj.scriptDomain).concat(e):t===r.vH.STYLESHEET&&((i=document.createElement("link")).href="".concat(hj.scriptDomain).concat(e),i.rel="stylesheet"),i.onload=n,i.onerror=o,document.getElementsByTagName("head")[0].appendChild(i)};function a(){}function s(){var e=this.src||this.href;hj.exceptions.log(new Error("Failed to load module: ".concat(e,".")),"loader")}},4808:function(e,t,n){"use strict";n.d(t,{n:function(){return u}});var r=n(9780),o=[];function i(e,t){hj.tryCatch(t,"Rendering")(e)}function a(e,t){hj.widgetDelay.set((function(){hj.tryCatch(t,"Rendering")(e)}),1e3*e.display_delay)}function s(e,t,n){var r=hj.hq(document),i=hj.hq(window),a=[];function s(){hj.tryCatch(t,"Rendering")(e),r.off("mousemove."+n),r.off("mouseout."+n)}o.push(n),r.off("mousemove."+n),r.off("mouseout."+n),r.on("mousemove."+n,hj.tryCatch((function(e){var t,n,r,o;a.push({x:e.clientX,y:e.clientY}),a.length>2&&((null===(t=a[1])||void 0===t?void 0:t.x)===(null===(n=a[2])||void 0===n?void 0:n.x)&&(null===(r=a[1])||void 0===r?void 0:r.y)===(null===(o=a[2])||void 0===o?void 0:o.y)?a.pop():a.shift())}),"Rendering")),r.on("mouseout."+n,hj.tryCatch((function(e){var t=this;e.relatedTarget&&(!t||e.relatedTarget===t||t.compareDocumentPosition(e.relatedTarget)&Node.DOCUMENT_POSITION_CONTAINED_BY)||function(e){var t=a[1],n=a[0];if(e|=0,void 0!==t&&!(n&&t.y>=n.y||e>0))if(n&&n.x===t.x)s();else if(n){var r=n.y-t.y/n.x-t.x,o=-(n.y-r*n.x)/r;o>0&&o=.5&&(i.off("scroll."+n),t(e))}),"Rendering"))}var u={clearAllAbandonEvents:hj.tryCatch((function(){o.forEach((function(e){hj.log.debug("Removing abandon events for "+e,"rendering"),hj.hq(document).off("mousemove."+e),hj.hq(document).off("mouseout."+e)})),o=[]}),"hj.rendering.clearAllAbandonEvents"),callAccordingToCondition:hj.tryCatch((function(e,t,n){var r={immediate:i,delay:a,abandon:s,scroll:c}["inline"===e.display_type?"immediate":e.display_condition];if(hj.log.debug("Calling active item ("+t+"): "+e.display_condition,"rendering"),!r)throw new Error('Unhandled display condition: "'+e.display_condition+'"');hj.tryCatch(r,"Rendering")(e,n,t)}),"hj.rendering.callAccordingToCondition")}},2537:function(e,t,n){"use strict";n.d(t,{b:function(){return r}});var r={storage:{},set:hj.tryCatch((function(e){r.storage.events=e}),"sessionEvents.set"),get:hj.tryCatch((function(){return r.storage.events}),"sessionEvents.get")}},277:function(e,t,n){"use strict";n.d(t,{q:function(){return o}});var r=n(9780),o={},i={};function a(e,t){var n;if(!o.matchOperations[e.match_operation])return hj.exceptions.log(new Error('Targeting error - "'.concat(e.match_operation,'" match operation does not exist.')),"hj.targeting.matchPatternWithRule"),!1;e.rule_type=e.rule_type||e.component;var r=function(e,t){return!t||"date"!==e.rule_type||"less_than"!==e.match_operation&&"greater_than"!==e.match_operation?t:(new Date(t).valueOf()/1e3).toFixed(0)}(e,t);return(n=o.matchOperations[e.match_operation](e,r)).error?(hj.exceptions.log(new Error("Targeting error - ".concat(e.match_operation," - ").concat(n.error)),"hj.targeting.matchPatternWithRule"),!1):("url"!==e.component&&e.negate&&(n=!n),function(e,t,n){var r=n?"Match ":"No Match ";!n||"url"!==e.component&&"device"!==e.component||(r+=e.component+"|"+e.match_operation+"|"+e.pattern+(e.negate?" [NEGATE]":""),hj.log.debug(r,"targeting")),"attribute"!==e.component&&"event"!==e.component||(r+=e.component+"|"+e.name+" ("+e.rule_type+")|"+e.match_operation+"|"+e.pattern+"|compared with: "+t+(e.negate?" [NEGATE]":""),hj.log.debug(r,"targeting"))}(e,t,n),n)}function s(e){var t,n=(0,r.vO)();return(t=0===e.length||3===e.length||e.some((function(e){return a(e,n)})))?hj.log.debug("Device match found","targeting"):hj.log.debug("No device match found","targeting"),t}var c=function(e){var t,n,r;return null==e||null===(t=e.toLowerCase())||void 0===t||null===(n=t.split("#")[0])||void 0===n||null===(r=n.split("?")[0])||void 0===r?void 0:r.replace("http://www.","").replace("https://www.","").replace("http://","").replace("https://","").replace(/\/$/,"")},u=function(e,t,n){return function(){return e.apply(null,arguments)?t.apply(null,arguments):n.apply(null,arguments)}},l=function(e,t){return void 0!==e&&void 0!==t&&null!==e&&null!==t},h=function(e,t){return!isNaN(e.pattern)&&!isNaN(t)&&""!==t&&"boolean"!=typeof t},d=function(e,t){if(!t||t.toString()===parseInt(t,10).toString())return!1;var n=new Date(t);return"Invalid Date"!==n&&!isNaN(n)},f=function(e){return u(l,e,(function(){return!1}))},g=function(e){return f(u(h,e,(function(e,t){return{error:t?"Cannot compare non-numeric values (rule: { name: '".concat(e.name,"' },\n pattern: '").concat(t,"')."):void 0}})))},p=function(e){return f(u(d,e,(function(e,t){return{error:"Cannot compare dates. Given pattern is not a date (rule: { name: '".concat(e.name,"' }, pattern: '").concat(t,"').")}})))};o.matchUrl=function(e,t){var n,r=!1,o=!1,i=!1;if(0===e.length)return hj.log.debug("No URL targeting rules set","targeting"),!1;for(var s=0;sNumber(e.pattern)})),less_than:g((function(e,t){return Number(t)=n}))}},512:function(e,t,n){"use strict";n.d(t,{r:function(){return o}});var r=n(9780),o={id:void 0,attributes:{},init:hj.tryCatch((function(){if(hj.settings.user_attributes_enabled){var e=function(){var e="true"===hj.bridge.storage.items.HAS_CACHED_USER_ATTRIBUTES.get()?hj.bridge.storage.localStorage.USER_ATTRIBUTES.get():void 0;if(e)try{var t=(0,r.kz)(e)?e:hj.b64DecodeUnicode(e);return JSON.parse(t)}catch(e){return}}();e&&(o.id=e.userId,o.attributes=e.attributes)}}),"userAttributes.init"),reset:hj.tryCatch((function(){o.id=void 0,o.attributes={},hj.bridge.storage.items.HAS_CACHED_USER_ATTRIBUTES.clear(),hj.bridge.storage.localStorage.USER_ATTRIBUTES.clear()}),"userAttributes.reset"),set:hj.tryCatch((function(e,t){var n,i;hj.settings.user_attributes_enabled?(void 0!==o.id&&null!==o.id&&o.id!==e&&(hj.log.debug("User ID changed, resetting all attributes before continuing.","userAttributes"),o.reset()),o.id=e,o.attributes=(0,r.PM)(o.attributes,t),n={attributes:o.attributes,userId:o.id},i=hj.b64EncodeUnicode(JSON.stringify(n)),hj.bridge.storage.localStorage.USER_ATTRIBUTES.set(i),hj.bridge.storage.items.HAS_CACHED_USER_ATTRIBUTES.set("true",!0),hj.event.signal("user-attributes-set"),hj.bridge.isRecordingEnabled()?o.flush():hj.log.debug("No recording in progress. Not sending.","userAttributes")):hj.log.debug("User attributes not enabled. Doing nothing.","userAttributes")}),"userAttributes.set"),flush:hj.tryCatch((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:hj.hq.noop;if(void 0!==o.id||Object.keys(o.attributes).length){var t,n,r=hj.bridge.storage.items.USER_ATTRIBUTES_HASH.get({resetExpiry:!0}),i=hj.md5(JSON.stringify({allAttributes:o.attributes,userId:o.id}));if(r===i)return e(null,o.id,o.attributes),void hj.log.debug("No changed user attributes. Not sending.","userAttributes");hj.bridge.storage.items.USER_ATTRIBUTES_HASH.set(i),hj.debug.isOn()&&(t=o.id,n=o.attributes,hj.ajax.post("".concat(hj.identifyEndpoint,"/sites/").concat(hj.settings.site_id,"/users/").concat(hj.bridge.getSessionUserId(!0),"/validate"),{user_id:t,attributes:n},hj.tryCatch((function(e){e.errors&&Object.keys(e.errors).length>0?hj.log.debug("User validation API call PARTIALLY successful (some errors).","userAttributes",e):hj.log.debug("User validation API call successful.","userAttributes",e)}),"userAttributes"),hj.tryCatch((function(e){hj.log.debug("User Attributes validation API call failed.","userAttributes",e.responseText&&JSON.parse(e.responseText)||"unknown_failure")}),"userAttributes"))),hj.bridge.flushUserAttributes(o.id,o.attributes),e(null,o.id,o.attributes)}else e(Error("no_user"))}),"userAttributes.flush"),get:hj.tryCatch((function(e){return"user_id"===e?o.id:e&&o.attributes[e]}),"userAttributes.get")}},9653:function(e,t,n){"use strict";n.r(t),n.d(t,{initVoC:function(){return w},runWidgets:function(){return S}});var r=n(9663),o=n(9780),i={getAsNumber:function(){var e=hj.bridge.getSessionUserId(!0);return(parseInt((null==e?void 0:e.slice(-10))||"",16)+1)/Math.pow(2,40)},compareRatio:hj.tryCatch((function(e,t){return i.getAsNumber()*(t?100:1)<=e}),"identifier.compareRatio")},a=n(4808),s=["af","ar","bg","ca","cs","cy","da","de","el","en","es","et","fa","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","mis","nb","nl","pl","pt_BR","pt","ro","ru","sk","sl","sq","sr","sv","sw","th","tl","tr","uk","vi","zh_CN","zh_TW"],c=hj.tryCatch((function(){var e,t,n,r,c,u,l,h;hj.widget=(n=["ar","fa","he"],r=[],c=[],u=[],l=[],h=!1,(t={}).ctrl=void 0,t.data=void 0,t.model={},t.activeLanguageDirection="ltr",t.widgetAttributePrefix="_hj-f5b2a1eb-9b07",t.offsetCreationDate=31536e4,t.getCtaLinks=function(){return{feedback:"https://www.hotjar.com/incoming-feedback?"+"utm_source=client&utm_medium=incoming_feedback&utm_campaign=insights&prev=".concat(window.location.href),polls:"https://www.hotjar.com/feedback-surveys?utm_source=client&utm_medium=poll&utm_campaign=insights",surveys:"https://www.hotjar.com/?utm_source=client&utm_medium=survey&utm_campaign=insights"}},t.getActiveLanguage=function(){var t;return null!==(t=e)&&void 0!==t?t:"en"},t.addMatchingWidget=function(e,n,o,a,s,u,d,f){if(void 0===a||hj.isPreview||i.compareRatio(a,!0)){var g={type:e,id:n,created:o,runCallback:s,removeCallback:u,isInlineEmbedded:d,targetingRules:f};h?t.setActiveWidget(g):((d?c:r).push(g),d&&l.push(g))}else hj.log.debug("Session identifier not in targeting percentage. Widget will not match.","targeting")},t.clearWidget=hj.tryCatch((function(){var e="#_hj_poll_container,#_hj_feedback_container,._hj-widget-container";hj.hq(e).length>0&&(hj.log.debug("Removing previously shown widget from DOM","widgets"),hj.hq(e).remove())}),"widgets"),t.emptyMatchingWidgets=function(){r=[],c=[],u.forEach((function(e){e.disconnect()})),u=[],a.n.clearAllAbandonEvents(),h=!1},t.isPhoneOrTablet=hj.tryCatch((function(){return hj.widget.isVeryNarrowScreen()||"phone"===(0,o.vO)()||"tablet"===(0,o.vO)()}),"common"),t.isVeryNarrowScreen=hj.tryCatch((function(){return hj.hq(window).width()<=450}),"common"),t.removeActiveWidget=function(e){hj.widgetDelay.clear(),e=e||function(){},t.activeWidget?(t.activeWidget.removeCallback&&t.activeWidget.removeCallback(e),delete t.activeWidget):e()},t.runLatestMatchingWidget=function(){var e;r.forEach((function(t){(!e||e.created-1?"rtl":"ltr",hj.widget.isActiveLanguageDirectionRtl="rtl"===hj.widget.activeLanguageDirection}),"common"),t.registerObserverForInlineWidget=function(e){u.push(e)},t),hj.widgetDelay=function(){var e={},t=null;return e.clear=hj.tryCatch((function(){clearTimeout(t),t=null}),"hj.widgetDelay.clear"),e.set=hj.tryCatch((function(n,r){e.clear(),t=setTimeout(n,r)}),"hj.widgetDelay.set"),e}()}),"widgets"),u=n(9982),l=hj.tryCatch((function(){hj.feedback=function(){var e={loaded:!1},t=window.hjLazyModules;function n(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e.loaded&&!n||(e.loaded=!0,hj.widget.setLanguage(hj.widget.feedbackData.language),(0,u.H)(t.PREACT_INCOMING_FEEDBACK))}function r(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e.loaded&&!n||(e.loaded=!0,hj.widget.setLanguage(hj.widget.embeddedFeedbackWidgets[0].language),(0,u.H)(t.PREACT_INCOMING_FEEDBACK))}function o(t){var r=(hj.settings.feedback_widgets||[]).filter((function(e){var t=e.display_type;return"button"===(void 0===t?"button":t)}));hj.hq.each(r,(function(r,o){hj.targeting.matchRules(o.targeting,t,hj.tryCatch((function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];hj.log.debug("Feedback widget #"+o.id+" has matched.","feedback"),!hj.widget.data||hj.widget.data.id===o.id&&"incoming"===hj.widget.data.type?(o.created_epoch_time-=hj.widget.offsetCreationDate,hj.widget.addMatchingWidget("incoming",o.id,o.created_epoch_time,o.targeting_percentage,(function(){hj.widget.feedbackData=o,hj.tryCatch(n,"feedback-button-load")(t)}),e.remove)):hj.log.debug("Another feedback widget is already present.","feedback")}),"feedback.run.matchRules-callback"))}))}function i(e){var t=(hj.settings.feedback_widgets||[]).filter((function(e){return"inline"===e.display_type})).filter((function(t){return hj.targeting.matchRules(t.targeting,e,(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];void 0!==hj.widget.embeddedFeedbackWidgets&&(hj.widget.embeddedFeedbackWidgets.push(t),hj.tryCatch(r,"feedback-embeddable-load")(e))}))}));hj.widget.embeddedFeedbackWidgets=t,t.length>0&&hj.tryCatch(r,"feedback-embeddable-load")()}return e.run=hj.tryCatch((function(t){e.loaded=!1,hj.tryCatch(o,"feedback-button")(t),hj.tryCatch(i,"feedback-embeddable")(t)}),"feedback"),e.remove=hj.tryCatch((function(e){hj.widget.feedbackData?(hj.hq("#_hj_feedback_container").length>0&&hj.hq("#_hj_feedback_container").parent().remove(),delete hj.widget.feedbackData,hj.hq(window).off("resize"),e&&setTimeout((function(){e()}),1)):e&&e()})),hj.isPreview&&(window._hjFeedbackReload=hj.tryCatch((function(e,t){hj.widget.feedbackData=e,hj.settings.legal_name=e.legal_name,hj.settings.privacy_policy_url=e.privacy_policy_url,t&&(hj.settings.features=t),hj.tryCatch(n,"feedback")(!0)}),"feedback")),e}()}),"feedback"),h=n(6939),d=Object.freeze({POPOVER:"popover",FULL_SCREEN:"full_screen",EXTERNAL:"external_link",BUTTON:"button",INLINE_EMBEDDED:"inline",BUBBLE:"bubble"});function f(e,t){for(var n=e.querySelectorAll(t),r=0;r0&&u?c.uuid===r&&(hj.log.debug("Offsite poll #"+c.id+" has matched with the embedded UUID "+r,"poll"),i=!0,t.addEmbedded(c,n)):!o&&l&&hj.targeting.matchRules(c.targeting,e,hj.tryCatch((function(){hj.log.debug("Poll #"+c.id+" has matched.","poll"),hj.bridge.storage.items.POLL_DONE.exists(c.id)&&"always"!==c.persist_condition?hj.log.debug("Poll was already submitted.","poll"):(c.id===a&&(c.created_epoch_time+=hj.widget.offsetCreationDate),"button"!==c.display_type&&"bubble"!==c.display_type||(c.created_epoch_time-=hj.widget.offsetCreationDate),hj.widget.addMatchingWidget("poll",c.id,c.created_epoch_time,c.targeting_percentage,(function(){return t.add(c)}),(function(e){return t.remove(e,c.id)}),c.display_type===d.INLINE_EMBEDDED,c.targeting))}),"polls.run.matchRules-callback"))})),o&&!i&&(hj.hq(document).trigger("hj-embedded-survey-mismatch"),hj.widgetDelay.clear(),hj.widget.emptyMatchingWidgets(),hj.log.debug("Could not match the embedded UUID.","poll"))}),"polls"),t.enablePreview=function(){window._hjPollReload=l},hj.isPreview&&t.enablePreview(),t}()}),"polls"),v=Object.freeze({MODAL:"_hj-modal",FOOTER:"_hj-footer",SURVEY_INVITES:"_hj_survey_invite_container",HEATMAP_RETAKER:"_hj-heatmap-retaker",ADMIN_WIDGET:"_hj_admin_widget",INCOMING_FEEDBACK:"_hj_feedback_container",NOTICATION:"_hj-notification"}),m=(Object.freeze({RETAKER:"_hjRetakerTrsToken",TARGETING:"_hjRetakerTargeting"}),n(277)),y=function(e){if(e){if(e.startsWith("data:image")||e.startsWith("blob:")||e.startsWith("http"))return e;var t="live"===hj.environment?hj.surveyImagesHost:"d23waydkwbngmu.cloudfront.net";return"https://".concat(t,"/").concat(e)}},j=function(){var e={},t=window.hjLazyModules;function n(e){return e.display_type===d.EXTERNAL?(0,h.f)(e.uuid,hj.surveysHost):e.public_url}return e.run=hj.tryCatch((function(r){if(!(0,h.W)(r)){var o=(hj.settings.polls||[]).filter((function(e){return e.invite_enabled&&e.display_type===d.EXTERNAL})),i=(hj.settings.surveys||[]).concat(o);hj.hq.each(i||[],(function(o,i){m.q.matchRules(i.targeting,r,hj.tryCatch((function(){hj.log.debug("Survey #"+i.id+" has matched.","survey"),hj.bridge.storage.items.SURVEY_INVITES_CLOSED.exists(i.id)?hj.log.debug("Survey was already viewed.","survey"):hj.widget.addMatchingWidget("survey",i.id,i.created_epoch_time,i.targeting_percentage,(function(){hj.survey.data=i,a.n.callAccordingToCondition(hj.survey.data,"survey",hj.tryCatch((function(){var e;e=hj.survey.data,hj.widget.surveyInvitationData={id:e.id,effectiveShowBranding:e.effective_show_branding,title:e.invite.title,description:e.invite.description,button:e.invite.button,close:e.invite.close,url:n(e),logoUrl:y(e.logo_path||e.logo_url)},(0,u.H)(t.SURVEY_INVITATION)}),"polls"))}),e.remove)}),"surveys.run.matchRules-callback"))}))}}),"surveys"),e.remove=hj.tryCatch((function(e){hj.survey.data?(hj.hq(".".concat(v.SURVEY_INVITES)).length>0&&hj.hq(".".concat(v.SURVEY_INVITES)).remove(),delete hj.survey.data,e&&setTimeout((function(){e()}),1)):e&&e()})),e},b=hj.tryCatch((function(){hj.survey={invites:j(),ctrl:void 0,data:void 0,model:{},activeLanguageDirection:"ltr"}}),"surveys"),w=function(){(0,r.E)(),c(),l(),p(),b()},S=function(e){hj.feedback.run(e),hj.polls.run(e),hj.survey.invites.run(e),hj.widget.runLatestMatchingWidget(),hj.widget.runInlineEmbeddedWidgets()}},9663:function(e,t,n){"use strict";n.d(t,{E:function(){return c}});var r=n(2537),o=n(9780);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0;t-=1)n=Math.floor(Math.random()*(t+1)),r=e[t],e[t]=e[n],e[n]=r;return e}),"utils.shuffle"),a=(hj.tryCatch((function(e){return/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e)}),"utils.validateEmail"),hj.tryCatch((function(){return hj.userDeviceType||(hj.userDeviceType=(0,r.K)(),"mobile"===hj.userDeviceType&&(hj.userDeviceType="phone")),hj.userDeviceType}),"utils.deviceType")),s=hj.tryCatch((function(){var e=function(){try{return window.self!==window.top}catch(e){return!0}}(),t={width:!e&&window.screen?window.screen.width:document.body.clientWidth,height:!e&&window.screen?window.screen.height:document.body.clientHeight};return{width:window.innerWidth||document.documentElement.clientWidth||t.width,height:window.innerHeight||document.documentElement.clientHeight||t.height}}),"utils.getWindowSize"),c=function(e,t,n,r,o){var i=1;if(void 0!==o&&hj.log.debug("Retry iteration ".concat(i," of ").concat(o)),e())return t(!0);var a=setInterval((function(){return i++,e()?(clearInterval(a),t(!0)):i>=r?(clearInterval(a),t(!1)):void 0}),n)},u=function(e,t){var n={},r={};return[e,t].forEach((function(e){if(e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&"length"!==t&&(n[t]=e[t])})),Object.keys(n).sort().forEach((function(e){r[e]=n[e]})),r},l=function(e){try{var t=JSON.parse(e);if(t&&"object"===o(t))return!0}catch(e){}return!1},h=function(e,t){return function(n,r){hj.log.debug("[".concat(e,"] ").concat(n),t,r)}},d=function(e){return e&&"string"==typeof e?e.replace(/[\W_]+/g,"-"):""},f=function(e){return Array.from(e).map((function(e){return JSON.stringify(e)}))}},8422:function(e,t,n){"use strict";n.d(t,{E$:function(){return u},R0:function(){return a},Ym:function(){return s},fb:function(){return l},jS:function(){return c},oO:function(){return i},vH:function(){return o},vO:function(){return r}}),Object.freeze({LAST_RECORDING_ACTIVITY_STORE_DEBOUNCE:5e3,MAX_TIME_SINCE_LAST_RECORDING_ACTIVITY_IN_SESSION:12e4});var r=window.hjLazyModules,o={SCRIPT:"js",STYLESHEET:"css"},i=(Object.freeze({id:null,selector_version:2}),60),a=60*i,s=24*a,c=365*s,u=i/2,l=7},8172:function(e,t,n){"use strict";n.r(t),n.d(t,{exceptionLogger:function(){return s},initErrorLogging:function(){return c}});var r=n(8422);function o(e){return o="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},o(e)}function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?1:.002,y=(null==e?void 0:e.throttleDelay)||1e3,j=(null==e?void 0:e.maxErrors)||10,b=["event_id","stacktrace","release","useragent","User-Agent","logger","scriptversion","module","errorgroup","errormessagegroup"],w=/[?&]logErrors/.test(location.search);function S(e){return hj.hq.each(e,(function(t,n){n&&"object"===o(n)?S(n):n&&"string"==typeof n&&-1==b.indexOf(t)&&(n=(n=(n=(n=n.replace(h,"")).replace(l,"")).replace(d,"123456789012")).replace(f,"<******>"),e[t]=n)})),e}function _(){return u.every((function(e){return"loaded"===e.state}))}function C(e){e.state="loaded",e.onLoad(),_()&&v&&g.startProcessing&&g.startProcessing()}return u=[{name:"sentry",check:function(){return void 0!==hj.Sentry},url:"".concat(hj.scriptDomain).concat(null===(t=r.vO.SENTRY)||void 0===t?void 0:t.js),state:"unloaded",onLoad:function(){var e=new hj.Sentry.BrowserClient({dsn:hj.errorUrl,environment:hj.environmentID,release:"insights-client-script-"+window.hjBootstrap.revision,sampleRate:m,defaultIntegrations:!1,integrations:[],beforeSend:function(e){if(!/.*Google.*/.test(window.navigator.userAgent))return S(e)}});(i=new hj.Sentry.Hub(e)).setUser({id:_hjSettings.hjid}),i.getScope().addEventProcessor(a)}}],g.sendException=function(e){try{i.captureException(e.exception,{tags:{logger:e.module}})}catch(e){n("Failed to log exception: "+e,"Exception")}},g.tryCatch=function(e,t){return function(){try{return e.apply(this,arguments)}catch(e){if(w&&console.error(e),window.__TESTS__)throw e;g.log&&g.log(e,t)}}},g.log=function(e,t){var r;n("Exception occurred in '"+t+"'","Exception",e),r={exception:e,module:t},p.length=j&&g.stopProcessing&&g.stopProcessing()}),y))},g.isProcessing=function(){return null!==s},g.stopProcessing=function(){g.isProcessing&&g.isProcessing()&&s&&(clearInterval(s),s=null)},g};function c(){window.hj=window.hj||function(){(window.hj.q=window.hj.q||[]).push(arguments)},window._hjSettings=window._hjSettings||{},hj.defaults={host:"in.hotjar.com",environment:"live",environmentID:"live",insightsHost:"insights.hotjar.com",insightsApiHost:"insights.hotjar.com",staticHost:"static.hotjar.com",varsHost:"vars.hotjar.com",surveysHost:"surveys.hotjar.com",surveyImagesHost:"survey-images.hotjar.com",errorUrl:"https://1f207eb734724d2698fcacdeae569a24@sentry-proxy.hotjar.com/1803150",identifyEndpoint:"https://identify.hotjar.com",viewCounterEndpoint:"https://vc.hotjar.io/sessions",viewCounterHitPercentage:.25,surveyImpressionsEndpoint:"https://surveystats.hotjar.io/hit",askUrl:"https://ask.hotjar.io/"},hj.host=_hjSettings.host||hj.defaults.host,hj.insightsHost=_hjSettings.insightsHost||hj.defaults.insightsHost,hj.insightsApiHost=_hjSettings.insightsApiHost||hj.defaults.insightsApiHost,hj.staticHost=_hjSettings.staticHost||hj.defaults.staticHost,hj.varsHost=_hjSettings.varsHost||hj.defaults.varsHost,hj.surveysHost=_hjSettings.surveysHost||hj.defaults.surveysHost,hj.surveyImagesHost=hj.defaults.surveyImagesHost,hj.errorUrl=void 0!==_hjSettings.errorUrl?_hjSettings.errorUrl:hj.defaults.errorUrl,hj.environment=_hjSettings.environment||hj.defaults.environment,hj.environmentID=_hjSettings.environmentID||hj.defaults.environmentID,hj.identifyEndpoint=_hjSettings.identifyEndpoint||hj.defaults.identifyEndpoint,hj.askUrl=_hjSettings.askUrl||hj.defaults.askUrl,hj.viewCounterEndpoint=void 0!==_hjSettings.viewCounterEndpoint?_hjSettings.viewCounterEndpoint:hj.defaults.viewCounterEndpoint,hj.viewCounterHitPercentage=void 0!==_hjSettings.viewCounterHitPercentage?_hjSettings.viewCounterHitPercentage:hj.defaults.viewCounterHitPercentage,hj.surveyImpressionsEndpoint=void 0!==_hjSettings.surveyImpressionsEndpoint?_hjSettings.surveyImpressionsEndpoint:hj.defaults.surveyImpressionsEndpoint,hj.exceptions=s(),hj.tryCatch=hj.exceptions.tryCatch}},1214:function(){hj.tryCatch((function(){hj.xcom=hj.tryCatch((function(){var e,t={},n=[],r=1,o="https://"+hj.insightsHost+"/x",i="_hjXcomProxyFrame",a=hj.tryCatch((function(){if(1==r){window.addEventListener?window.addEventListener("message",s,!1):window.attachEvent("onmessage",s),r=2;var t=document.createElement("iframe");t.style.position="fixed",t.style.top=-100,t.style.left=-100,t.width=1,t.height=1,t.id=i,t.src=o,document.body.appendChild(t),e=document.getElementById(i)}}),"data");t.send=hj.tryCatch((function(t,o){10==r?e.contentWindow.postMessage({eventId:t,data:o},"*"):(n.push({eventId:t,data:o}),a())}));var s=function(e){"knockknock"==e.data.eventId&&(r=10,n.forEach((function(e){t.send(e.eventId,e.data)})),n=[])};return t}),"xcom")()}),"xcom")()},6967:function(e,t,n){"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n|`|'|:|"|!|;|,|\?|%|\}|\{|\.|\*|\+|\||\[|\]|\(|\)|\/|\^|\$)/g,r=/(\s|#|@|&|~|=|<|>|`|'|:|"|!|;|,|\?|%|\}|\{|\.|\*|\+|\||\[|\]|\(|\)|\/|\^|\$)/g,s=t.ignoreUUIDClasses?/^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/:{test:function(){return!1}},c=hj.tryCatch((function(e){var n,r,s,c,g,m,b,w,S,_=function(e,t){var n,r;if(p[t]){var s=p[t];for(g=0;g(.*)$"),"i"),u=i(o,t.match(c),4),l=u[1],f=u[3];hj.hq.each(hj.hq(l.replace(h,"").replace(d,"")),(function(e,t){b=Array.from(b).concat(function(e,t){if(!e||!t)return[];var n=[],r=[];r.push({host:e,selector:t});for(var o=function(){var e=r.shift(),t=e.host,o=i(a,e.selector.replace(h,"").replace(d,"").split(">")),s=o[0],c=o.slice(1).join(">");v(t)[0]&&Array.from(v(t)).forEach((function(e){Array.from(e.assignedElements({flatten:!0})).forEach((function(e){e.matches(s)&&(c?r.push({host:e.shadowRoot||e,selector:c}):n.push(e))}))})),Array.from(t.children).filter((function(e){return e.matches(s)})).forEach((function(e){c?r.push({host:e.shadowRoot||e,selector:c}):n.push(e)}))};r.length>0;)o();return n}(t.shadowRoot,f))}))}for(p[t]=b,g=0;g"+o+n)}return u(e.parent(),">"+o+n)}),"common"),l=function(e){var r=[];return!(void 0===(e=hj.hq.trim((e||"").replace(/\s\s+/g," ")))||""===e||e.indexOf("yui_")>-1)&&((e=e.replace(n,"\\$1")).split(/\s/g).forEach((function(e){!(r.length-1||w(e))&&(e=e.replace(r,"\\$1"),e=b(e),g(e))},g=function(e){if(!e)return e;var t=e.charAt(0);return/\d/.test(t)?"\\3"+t+" "+e.slice(1):e},b=function(e){if(!e||"-"!==e.charAt(0))return e;var t=e.charAt(0),n=e.charAt(1);return/\d/.test(n)?t+"\\3"+n+" "+e.slice(2):e},w=function(e){return 1===e.length&&"-"===e},S=function(e){var r=[];return!(void 0===(e=hj.hq.trim((e||"").replace(/\s\s+/g," ")))||""===e||e.indexOf("yui_")>-1||w(e))&&((e=e.replace(n,"\\$1")).split(/\s/g).forEach((function(e){!(r.length=0}(e[0])?hj.tryCatch(r,"command")(o):hj.log.debug('Command "'+e[0]+'" blocked due to opt-out',"command"):hj.log.debug('Unknown command: "'+e[0]+'"',"command"),n.length>0&&hj.tryCatch(c)()}function u(e){e[0]&&hj.event.signal("trigger:"+e[0])}function l(e){if(e[0]&&Array.isArray(e[0])){var t=hj.privacy.getTagsWithoutPII(e[0]);hj.behaviorData.tagRecording(t)}else hj.log.error("tagRecording was called with an invalid argument. Please provide an array of tags. For example: hj('tagRecording', ['tag1', 'tag2']).\n\nRead more here: https://help.hotjar.com/hc/en-us/articles/115011819488-How-to-Tag-your-Hotjar-Recordings")}return t.vpv=function(){},t.stateChange=function(e){var t=window.location.href;e&&e.length>=1&&e[0]&&(t=hj.url.getUrlFromString(e[0])),hj.log.debug('Changing state to URL "'+t+'"',"command"),hj.currentUrl&&hj.currentUrl!=t&&hj._init.reinit(t)},t.tagRecording=function(e){l(e)},t.trigger=function(e){u(e)},t.identify=function(e){if(e[1]){var t=e[0];t=!t&&0!==t||"null"===t||"undefined"===t?null:String(t),r.r.set(t,e[1])}else null!=e[0]&&"object"===i(e[0])&&r.r.set(null,e[0])},t.event=function(e){u(e),l([[e[0]]])},t.session_event=function(e){o.b.set(e[0])},t.gaSetTracker=function(e){e[0]&&hj.integrations.google_analytics.sendHotjarUserId.setTracker(e[0])},t._xhr=function(){},t.ready=function(e){e.forEach((function(e){e()}))},e.run=function(){hj.command=this},e.activate=function(){s||(s=!0,Object.defineProperty(n,"push",{writable:!0,value:function(){for(var e=0;e0&&c())},hj.initialVisitDataSent&&e.activate(),e}(),!0)}),"command")()},1229:function(e,t,n){"use strict";n.r(t);var r=n(4788),o=n(6939),i=n(9521),a=n(6849),s=n(6742),c=n(7698),u=n(724),l=n(3883),h=n(5148);hj.tryCatch((function(){return hj.loader.registerModule("BehaviorData",(e={},hj.behaviorData={tagRecording:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;e=e||[];for(var o=[],i=u.y.get("autoTagsToProcess"),s=u.y.get("tagsToProcess"),l=function(){var t=hj.hq.trim(e[h]);if(t.length&&t.length<=hj.maxRecordingTagLength){var r={name:t,time:hj.time.getNow(),timestamp:c.f_.now()};hj.tryCatch((function(){n&&(r.selector=n.selector,r.page_x=n.pageX,r.page_y=n.pageY,r.offset_x=n.offsetX,r.offset_y=n.offsetY)}),"behavior-data.tagRecording")(),o.push(r)}else hj.log.warn('Invalid recording tag: " '.concat(t,' ", should have length 1.. ').concat(hj.maxRecordingTagLength," characters, was ").concat(t.length,"."))},h=0;h0&&void 0!==arguments[0]?arguments[0]:hj.hq.noop;l.Q.get("session.sessionResumed")&&i.l.trackSessionResumed(),function(e){if(u.y.set("active",!1),hj.settings.record){var t=void 0===hj.settings.record_targeting_rules||!hj.settings.record_targeting_rules.length;i.l.setRecordingEnabled(l.Q.get("session.recordingEnabled"));var n=i.l.isRecordingEnabled();hj.log.debug("_hjRecordingEnabled is set to "+n,"recordings"),t||n?(n||(0,h.IU)({recordingEnabled:!0}),s.N.start()):hj.targeting.matchRules(hj.settings.record_targeting_rules,e,hj.tryCatch((function(){(0,h.IU)({recordingEnabled:!0}),s.N.start()}),"behavior-data.maybeStartRecordings")),l.Q.get("session.sessionResumed")&&((0,h.IU)({sessionResumed:!1}),s.N.resume())}}(e)},e),!1);var e}),"behavior-data")()},6849:function(e,t,n){"use strict";n.d(t,{N:function(){return r}});var r=function(e,t,n){return hj.eventStream.write(e,t,n)}},6742:function(e,t,n){"use strict";n.d(t,{N:function(){return K}});var r,o,i=n(4788),a=n(512),s=n(9521),c=n(6849),u=n(7698),l={setup:!1,listen:hj.tryCatch((function(e){l.setup?e&&l.send(i.s.INSERTED_RULE,hj.insertedRules.getCurrentInsertedRules()):(hj.insertedRules.init(),hj.insertedRules.register(l.send.bind(l,i.s.INSERTED_RULE),!0),hj.cssBlobs.register(l.send.bind(l,i.s.INSERTED_RULE)),hj.deletedRules.init(),hj.deletedRules.register(l.send.bind(l,i.s.DELETED_RULE)),l.setup=!0)}),"behavior-data.cssRules.listen"),send:hj.tryCatch((function(e,t){t.length&&setTimeout(hj.tryCatch((function(){var n={time:hj.time.getNow(),timestamp:u.f_.now(),rules:t};hj.debug.emit(e,n),(0,c.N)(e,n,!1)}),"behavior-data.cssRules"))}),"behavior-data.cssRules.send")},h=hj.tryCatch((function(e,t){var n=hj.hq(e),r=hj.selector(s.l.getSelectorVersion()).get(n);if(r&&t){var o={offset_x:t.pageX,offset_y:t.pageY,selector:r};s.l.isRecordingEnabled()&&(o.time=hj.time.getNow(),o.timestamp=u.f_.now()),(0,c.N)(i.s.MOUSE_CLICK,o,!1).flush()}}),"behavior-data.frameMouseClicks.frameClick"),d={setup:!1,listen:hj.tryCatch((function(){d.setup||(hj.log.debug("Setting up frame mouse click listeners.","events"),d.send(),d.setup=!0)}),"behavior-data.frameMouseClicks.listen"),send:hj.tryCatch((function(){if(s.l.isRecordingEnabled()){var e=location.origin,t=hj.hq("iframe");t.length&&[].forEach.call(t,(function(t){if(t.src&&-1!==t.src.indexOf(e))try{var n=t.contentWindow;hj.hq(n).on("mousedown",(function(e){h(t,e)}))}catch(e){}}))}}),"behavior-data.frameMouseClicks.send")},f={setup:!1,listen:hj.tryCatch((function(){f.setup||(hj.log.debug("Setting up input choice change listeners.","events"),hj.hq(document).on("change","input[type=checkbox], input[type=radio]",f.send),f.setup=!0)}),"behavior-data.inputChoiceChange.listen"),send:hj.tryCatch((function(e){if("INPUT"===e.target.tagName&&("checkbox"===e.target.type||"radio"===e.target.type)&&s.l.isRecordingEnabled()){var t=hj.hq(e.target),n=hj.selector().get(t),r=t.is(":checked");(0,c.N)(i.s.INPUT_CHOICE_CHANGE,{value:r,selector:n,time:hj.time.getNow(),timestamp:u.f_.now()},!0).flush()}}),"behavior-data.inputChoiceChange.send")},g=!1,p=!1,v=[],m={setup:!1,listen:hj.tryCatch((function(){m.setup||(hj.log.debug("Setting up key press listeners.","events"),hj.hq(document).on("input","input",m.update),hj.hq(document).on("blur","input",m.send),hj.hq(document).on("input","textarea",m.update),hj.hq(document).on("blur","textarea",m.send),m.setup=!0)}),"behavior-data.keyPress.listen"),update:hj.tryCatch((function(e){var t=hj.hq(e.target),n=t.val();p=p||hj.privacy.isRiskyNotAllowlistedOrSuppressedElement(e.target),v.push({time:hj.time.getNow(),timestamp:u.f_.now(),selector:hj.selector().get(t),text:n,type:e.target.type,suppression:p?"full":"none"}),g=!0}),"behavior-data.keyPress.update"),send:hj.tryCatch((function(){if(s.l.isRecordingEnabled()&&g){if(p){var e=v[0],t=v[v.length-1],n=hj.privacy.getSuppressedText(e.type,t.text),r=Math.floor((t.time-e.time)/Math.max(n.length,1));v=[];for(var o=0;ok&&(k=e,(0,c.N)(i.s.SCROLL_REACH,{time:hj.time.getNow(),timestamp:u.f_.now(),max_bottom:k},!0))}}),"behavior-data.scrollReach.send")},P={setup:!1,listen:hj.tryCatch((function(){P.setup||(hj.log.debug("Setting up select change listeners.","events"),hj.hq(document).on("change","select",P.send),P.setup=!0)}),"behavior-data.selectChange.listen"),send:hj.tryCatch((function(e){if("SELECT"===e.target.tagName&&s.l.isRecordingEnabled()){var t=hj.hq(e.target),n=hj.selector().get(t),r=t.val();(0,c.N)(i.s.SELECT_CHANGE,{value:r,selector:n,time:hj.time.getNow(),timestamp:u.f_.now()},!0).flush()}}),"behavior-data.selectChange.send")},D={setup:!1,listen:hj.tryCatch((function(){D.setup||(hj.log.debug("Setting up screen size change listeners.","events"),o=hj.ui.getWindowSize(),setInterval(D.checkResize,1e3),D.checkResize(),D.setup=!0)}),"behavior-data.viewportResize.listen"),checkResize:hj.tryCatch((function(){var e=hj.ui.getWindowSize();e.width===o.width&&e.height===o.height||(o=e,D.send())}),"behavior-data.viewportResize.checkResize"),send:hj.tryCatch((function(){s.l.isRecordingEnabled()&&(0,c.N)(i.s.VIEWPORT_RESIZE,{time:hj.time.getNow(),timestamp:u.f_.now(),w:o.width,h:o.height}).flush()}),"behavior-data.viewportResize.send")},M={setup:!1,listen:hj.tryCatch((function(){M.setup||(hj.adoptedStyleSheets.init(),hj.adoptedStyleSheets.register(M.send.bind(M,"adopted_style_sheets"),!0),M.setup=!0)}),"behavior-data.adoptedStyleSheets.listen"),send:hj.tryCatch((function(e,t){t&&setTimeout(hj.tryCatch((function(){var n={time:hj.time.getNow(),timestamp:u.f_.now(),parentSelector:t.parentSelector,sheets:t.sheets,nodeId:t.nodeId};hj.debug.emit(e,n),(0,c.N)(e,n,!1)}),"behavior-data.adoptedStyleSheets"))}),"behavior-data.adoptedStyleSheets.send")},U=N("copy"),L=N("cut"),H=N("paste"),V=[M,U,l,L,d,f,m,T,C,O,H,A,x,P,D],q={enableRecording:hj.tryCatch((function(e){s.l.setRecordingEnabled(!0),V.forEach((function(t){t.listen(e)})),hj.autotag.start()}),"behavior-data.events.enableRecording")},W=n(5547),B=n(3883),z=n(724);function F(){return F=Object.assign?Object.assign.bind():function(e){for(var t=1;t>>32-o,n)}function y(e,t,n,r,o,i,a){return m(t&n|~t&r,e,t,o,i,a)}function j(e,t,n,r,o,i,a){return m(t&r|n&~r,e,t,o,i,a)}function b(e,t,n,r,o,i,a){return m(t^n^r,e,t,o,i,a)}function w(e,t,n,r,o,i,a){return m(n^(t|~r),e,t,o,i,a)}function S(e){var t,n=[];for(t=0;64>t;t+=4)n[t>>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return n}var _="0123456789abcdef".split("");function C(e){for(var t="",n=0;4>n;n++)t+=_[e>>8*n+4&15]+_[e>>8*n&15];return t}var E=function(e,t){var n="";try{n=function(e){for(var t=0;t>2]|=e.charCodeAt(t)<<(t%4<<3);if(o[t>>2]|=128<<(t%4<<3),55t;t++)o[t]=0;return o[14]=8*n,v(r,o),r}(unescape(encodeURIComponent(e))))}catch(e){t?n="":hj.exceptions.log(e,"md5")}return n};"5d41402abc4b2a76b9719d911017c592"!=E("hello")&&(p=function(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n});var I=hj.tryCatch((function(){var e=function(){try{return window.self!==window.top}catch(e){return!0}}(),t={width:!e&&window.screen?window.screen.width:document.body.clientWidth,height:!e&&window.screen?window.screen.height:document.body.clientHeight};return{width:window.innerWidth||document.documentElement.clientWidth||t.width,height:window.innerHeight||document.documentElement.clientHeight||t.height}}),"common"),T=hj.tryCatch((function(){var e,t;if(document&&document.documentElement&&document.documentElement.clientWidth)e=document.documentElement.clientWidth,t=document.documentElement.clientHeight;else{var n=I();e=n.width,t=n.height}return{width:e,height:t}}),"common"),N=hj.tryCatch((function(e){return e=e||window,{left:hj.hq(e).scrollLeft(),top:hj.hq(e).scrollTop()}}),"common"),O=hj.tryCatch((function(){var e=parseInt(1e3*(hj.hq(window).scrollTop()+hj.ui.getWindowSize().height)/hj.hq(document).height(),10);return Math.min(1e3,e)}),"common"),R=hj.tryCatch((function(e){var t=hj.ui.getScrollPosition();hj.hq(document).on("scroll.hotjarDisable resize.hotjarDisable mousewheel.hotjarDisable DOMMouseScroll.hotjarDisable touchmove.hotjarDisable",hj.tryCatch((function(n){n.preventDefault(),window.scrollTo(t.left,t.top),e&&e()}),"common"))}),"common"),A=hj.tryCatch((function(){hj.hq(document).off("scroll.hotjarDisable"),hj.hq(document).off("resize.hotjarDisable"),hj.hq(document).off("mousewheel.hotjarDisable"),hj.hq(document).off("DOMMouseScroll.hotjarDisable"),hj.hq(document).off("touchmove.hotjarDisable")}),"common"),k={getWindowSize:I,getDocumentSize:T,getScrollPosition:N,getBottomAsPercentage:O,disableScrolling:R,enableScrolling:A},x=n(6120),P=n(7352),D=n(1469),M=n(1416),U=n(7698),L=n(1131);function H(){return H=Object.assign?Object.assign.bind():function(e){for(var t=1;tt}));e.length!==n.length&&window.localStorage.setItem(o,JSON.stringify(n));var i=sessionStorage.getItem(r);i&&n.some((function(e){return e.id===i}))&&window.sessionStorage.removeItem(r)}}}(),null==(t=window.sessionStorage.getItem(r))&&(t=(0,P.v4)(),window.sessionStorage.setItem(r,t)),function(){if(L.t.canUseLocalStorage()){var e=U.f_.now()+216e5,n=a();n.push({id:t,expireTimestamp:e}),window.localStorage.setItem(o,JSON.stringify(n))}}()):t=(0,P.v4)()),t}),"hj.viewport.getId"),n.isPageVisitStale=hj.tryCatch((function(){if(!L.t.canUseLocalStorage())return!1;if(!t)return!1;var n=window.localStorage.getItem(o),r="".concat(t,"-").concat(e,"-").concat(n);return null!=i[r]||(n?null==n.match(new RegExp(t))?i[r]=!1:i[r]=null===n.match(new RegExp('{[^}]*id":"'.concat(t,'"[^}]*"pageVisitKey":"').concat(e,'"}'))):i[r]=!1),i[r]}),"hj.viewport.isPageVisitStale"),n.setPageVisitForViewport=hj.tryCatch((function(n){if(e=n,L.t.canUseLocalStorage())if(t){var r=a();if(0!==r.length){var i=r.findIndex((function(e){return e.id===t}));-1!==i&&(r[i]=H(H({},r[i]),{},{pageVisitKey:n}),window.localStorage.setItem(o,JSON.stringify(r)))}}else hj.exceptions.log(new Error("Viewport ID was not correctly initialized (viewportId: ".concat(t,", pageVisitKey: ").concat(n,")")),"hj.viewport")}),"hj.viewport.setPageVisitForViewport"),window.addEventListener("pagehide",(function(){!function(){if(L.t.canUseLocalStorage()){var e=a();if(0!==e.length){var n=e.filter((function(e){return e.id!==t}));0===n.length?window.localStorage.removeItem(o):window.localStorage.setItem(o,JSON.stringify(n))}}}()})),n},q=n(5547);function W(e){return W="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},W(e)}function B(e){return function(e){if(Array.isArray(e))return z(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return z(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?z(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function z(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n>>0}),"NodeMap.isIndex"),this.nodeId=hj.tryCatch((function(t){var n=t[e.ID_PROP];return n||(n=t[e.ID_PROP]=e.nextId_++),n}),"NodeMap.nodeId"),this.set=hj.tryCatch((function(e,n){var r=t.nodeId(e);t.nodes[r]=e,t.values[r]=n}),"NodeMap.set"),this.get=hj.tryCatch((function(e){var n=t.nodeId(e);return t.values[n]}),"NodeMap.get"),this.has=hj.tryCatch((function(e){return t.nodeId(e)in t.nodes}),"NodeMap.has"),this.deleteNode=hj.tryCatch((function(e){var n=t.nodeId(e);delete t.nodes[n],delete t.values[n]}),"NodeMap.deleteNode"),this.keys=hj.tryCatch((function(){var e=[];for(var n in t.nodes)t.isIndex(n)&&e.push(t.nodes[n]);return e}),"NodeMap.keys"),this.getValues=hj.tryCatch((function(){var e=[];for(var n in t.values)t.isIndex(n)&&e.push(t.values[n]);return e}),"NodeMap.getValues"),this.nodes=[],this.values=[]}));ee.ID_PROP="__hj_mutation_summary_node_map_id__",ee.nextId_=1;var te=function(e){return e[e.STAYED_OUT=0]="STAYED_OUT",e[e.ENTERED=1]="ENTERED",e[e.STAYED_IN=2]="STAYED_IN",e[e.REPARENTED=3]="REPARENTED",e[e.REORDERED=4]="REORDERED",e[e.EXITED=5]="EXITED",e}(te||{}),ne=X((function e(t){var n=this;Q(this,e),this.getAttributeOldValue=hj.tryCatch((function(e){if(n.attributeOldValues)return n.isCaseInsensitive&&(e=e.toLowerCase()),n.attributeOldValues[e]}),"NodeChange.getAttributeOldValue"),this.getAttributeNamesMutated=hj.tryCatch((function(){var e=[];if(!n.attributeOldValues)return e;for(var t in n.attributeOldValues)e.push(t);return e}),"NodeChange.getAttributeNamesMutated"),this.attributeMutated=hj.tryCatch((function(e,t){n.attributes=!0,n.attributeOldValues=n.attributeOldValues||{},e in n.attributeOldValues||(n.attributeOldValues[e]=t)}),"NodeChange.attributeMutated"),this.characterDataMutated=hj.tryCatch((function(e){n.characterData||(n.characterData=!0,n.characterDataOldValue=e)}),"NodeChange.characterDataMutated"),this.removedFromParent=hj.tryCatch((function(e){n.childList=!0,n.added||n.oldParentNode?n.added=!1:n.oldParentNode=e}),"NodeChange.removedFromParent"),this.insertedIntoParent=hj.tryCatch((function(){n.childList=!0,n.added=!0}),"NodeChange.insertedIntoParent"),this.getOldParent=hj.tryCatch((function(){if(n.childList){if(n.oldParentNode)return n.oldParentNode;if(n.added)return null}return n.node.parentNode}),"NodeChange.getOldParent"),this.childList=!1,this.attributes=!1,this.characterData=!1,this.added=!1,this.oldParentNode=null,this.characterDataOldValue=null,this.attributeOldValues=null,this.node=t,this.isCaseInsensitive=this.node.nodeType===Node.ELEMENT_NODE&&this.node instanceof HTMLElement&&this.node.ownerDocument instanceof HTMLDocument})),re=X((function e(){Q(this,e),this.added=new ee,this.removed=new ee,this.maybeMoved=new ee,this.oldPrevious=new ee})),oe=function(e){function t(e,n){var r;return Q(this,t),(r=F(this,t)).getChange=hj.tryCatch((function(e){var t=r.get(e);if(t)return t;var n=new ne(e);return r.set(e,n),n}),"TreeChanges.getChange"),r.getOldParent=hj.tryCatch((function(e){var t=r.get(e);return t?t.getOldParent():e.parentNode}),"TreeChanges.getOldParent"),r.getIsReachable=hj.tryCatch((function(e){if(e===r.rootNode)return!0;if(!e)return!1;if(r.reachableCache.get(e))return!0;var t=r.getIsReachable(e.parentNode);return r.reachableCache.set(e,t),t}),"TreeChanges.getIsReachable"),r.getWasReachable=hj.tryCatch((function(e){if(e===r.rootNode)return!0;if(!e)return!1;if(r.wasReachableCache.get(e))return!0;var t=r.getOldParent(e);if(t===e)return!1;var n=r.getWasReachable(t);return r.wasReachableCache.set(e,n),n}),"TreeChanges.getWasReachable"),r.reachabilityChange=hj.tryCatch((function(e){var t=r.getIsReachable(e),n=r.getWasReachable(e);return t?n?te.STAYED_IN:te.ENTERED:n?te.EXITED:te.STAYED_OUT}),"TreeChanges.reachabilityChange"),r.anyParentsChanged=!1,r.anyAttributesChanged=!1,r.anyCharacterDataChanged=!1,r.rootNode=e,r.wasReachableCache=new ee,r.reachableCache=new ee,n.forEach((function(e){Z(e)?(r.anyParentsChanged=!0,e.removedNodes.forEach((function(t){return r.getChange(t).removedFromParent(e.target)})),e.addedNodes.forEach((function(e){return r.getChange(e).insertedIntoParent()}))):function(e){return"attributes"===e.type}(e)?(r.anyAttributesChanged=!0,r.getChange(e.target).attributeMutated(e.attributeName,e.oldValue)):function(e){return"characterData"===e.type}(e)&&(r.anyCharacterDataChanged=!0,r.getChange(e.target).characterDataMutated(e.oldValue))})),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&K(e,t)}(t,e),X(t)}(ee),ie=X((function e(t,n,r){var o=this;Q(this,e),this.processMutations=hj.tryCatch((function(){(o.treeChanges.anyParentsChanged||o.treeChanges.anyAttributesChanged)&&o.treeChanges.keys().forEach((function(e){return o.visitNode(e)}))}),"MutationProjection.processMutations"),this.visitNode=hj.tryCatch((function(e,t){if(!o.visited.has(e)){o.visited.set(e,!0);var n=o.treeChanges.get(e),r=t;if((n&&n.childList||!r)&&(r=o.treeChanges.reachabilityChange(e)),r!==te.STAYED_OUT){if(r===te.ENTERED)o.entered.push(e);else if(r===te.EXITED)o.exited.push(e),o.ensureHasOldPreviousSiblingIfNeeded(e);else if(r===te.STAYED_IN){var i=te.STAYED_IN;n&&n.childList&&(n.oldParentNode!==e.parentNode?(i=te.REPARENTED,o.ensureHasOldPreviousSiblingIfNeeded(e)):o.wasReordered(e)&&(i=te.REORDERED)),o.stayedIn.set(e,i)}if(r!==te.STAYED_IN)for(var a=e.firstChild;a;a=a.nextSibling)o.visitNode(a,r)}}}),"MutationProjection.visitNode"),this.ensureHasOldPreviousSiblingIfNeeded=hj.tryCatch((function(e){if(o.calcOldPreviousSibling){o.processChildlistChanges();var t=e.parentNode,n=o.treeChanges.get(e);if(n&&n.oldParentNode&&(t=n.oldParentNode),t){var r=o.childListChangeMap,i=r.get(t);i||(i=new re,r.set(t,i)),!i.oldPrevious.has(e)&&e.previousSibling&&i.oldPrevious.set(e,e.previousSibling)}}}),"MutationProjection.ensureHasOldPreviousSiblingIfNeeded"),this.getChanged=hj.tryCatch((function(e){o.entered.forEach((function(t){return e.added.push(t)})),o.stayedIn.keys().forEach((function(t){var n=o.stayedIn.get(t);n===te.REPARENTED?e.reparented.push(t):n===te.REORDERED&&e.reordered.push(t)})),o.exited.forEach((function(t){return e.removed.push(t)})),e.attributeChanged=o.attributeChangedNodes(),e.characterDataChanged=o.getCharacterDataChanged()}),"MutationProjection.getChanged"),this.attributeChangedNodes=hj.tryCatch((function(){if(!o.treeChanges.anyAttributesChanged)return{};var e={};return o.treeChanges.keys().forEach((function(t){var n=o.treeChanges.get(t);if(n.attributes&&te.STAYED_IN===o.treeChanges.reachabilityChange(t)){var r=t;n.getAttributeNamesMutated().forEach((function(t){if(n.getAttributeOldValue(t)!==r.getAttribute(t)){var o=t;e[o]=[].concat(function(e,t,n){if(t&&!Array.isArray(t)&&"number"==typeof t.length){var r=t.length;return z(t,r)}return e(t,n)}(B,e[o]||[]),[r])}}))}})),e}),"MutationProjection.attributeChangedNodes"),this.getCharacterDataChanged=hj.tryCatch((function(){if(!o.treeChanges.anyCharacterDataChanged)return[];var e=o.treeChanges.keys(),t=[];return e.forEach((function(e){if(te.STAYED_IN===o.treeChanges.reachabilityChange(e)){var n=o.treeChanges.get(e);n.characterData&&e.textContent!=n.characterDataOldValue&&t.push(e)}})),t}),"MutationProjection.getCharacterDataChanged"),this.getChildlistChange=hj.tryCatch((function(e){var t=o.childListChangeMap,n=t.get(e);return n||(n=new re,t.set(e,n)),n}),"MutationProjection.getChildlistChange"),this.processChildlistChanges=hj.tryCatch((function(){o.childListChangeMap||(o.childListChangeMap=new ee,o.mutations.forEach((function(e){if(Z(e)&&(o.treeChanges.reachabilityChange(e.target)===te.STAYED_IN||o.calcOldPreviousSibling)){var t=o.getChildlistChange(e.target),n=e.previousSibling;e.removedNodes.forEach((function(e){r(e,n),t.added.has(e)?t.added.deleteNode(e):(t.removed.set(e,!0),t.maybeMoved.deleteNode(e)),n=e})),r(e.nextSibling,n),e.addedNodes.forEach((function(e){t.removed.has(e)?(t.removed.deleteNode(e),t.maybeMoved.set(e,!0)):t.added.set(e,!0)}))}function r(e,n){!e||t.oldPrevious.has(e)||t.added.has(e)||t.maybeMoved.has(e)||n&&(t.added.has(n)||t.maybeMoved.has(n))||t.oldPrevious.set(e,n)}})))}),"MutationProjection.processChildlistChanges"),this.wasReordered=hj.tryCatch((function(e){if(!o.treeChanges.anyParentsChanged)return!1;o.processChildlistChanges();var t=e.parentNode,n=o.treeChanges.get(e);if(n&&n.oldParentNode&&(t=n.oldParentNode),!t)return!1;var r=o.childListChangeMap.get(t);if(!r)return!1;if(r.moved)return r.moved.get(e);r.moved=new ee;var i=new ee;function a(e){var t=r,n=t.moved;if(!e)return!1;if(!t.maybeMoved.has(e))return!1;var o=n.get(e);return void 0!==o||(i.has(e)?o=!0:(i.set(e,!0),o=function(e){var t=r;if(u.has(e))return u.get(e);for(var n=e.previousSibling;n&&(t.added.has(n)||a(n));)n=n.previousSibling;return u.set(e,n),n}(e)!==c(e)),i.has(e)?(i.deleteNode(e),n.set(e,o)):o=n.get(e)),o}var s=new ee;function c(e){var t=r,n=s.get(e);if(void 0!==n)return n;for(var o=t.oldPrevious.get(e);o&&(t.removed.has(o)||a(o));)o=c(o);return void 0===o&&(o=e.previousSibling),s.set(e,o),o}var u=new ee;return r.maybeMoved.keys().forEach(a),r.moved.get(e)}),"MutationProjection.wasReordered"),this.entered=[],this.exited=[],this.stayedIn=new ee,this.visited=new ee,this.rootNode=t,this.mutations=n,this.calcOldPreviousSibling=r,this.treeChanges=new oe(t,n),this.processMutations()})),ae=X((function e(t){Q(this,e),this.added=[],this.removed=[],this.reparented=[],this.reordered=[],this.valueChanged=[],this.attributeChanged={},this.characterDataChanged=[],t.getChanged(this)})),se=X((function e(t){var n=this;Q(this,e),this.validateOptions=hj.tryCatch((function(e){var t={callback:!0,rootNode:!0,oldPreviousSibling:!0};for(var n in e)if(!(n in t))throw Error("Invalid option: "+n);if("function"!=typeof e.callback)throw Error("Invalid options: callback is required and must be a function");return{callback:e.callback,rootNode:e.rootNode||document,oldPreviousSibling:!!e.oldPreviousSibling}}),"MutationSummary.validateOptions"),this.changesToReport=hj.tryCatch((function(e){return!!e.added.length||(!!e.removed.length||(!!e.reordered.length||(!!e.reparented.length||(!!e.valueChanged.length||(!!e.characterDataChanged.length||!(!e.attributeChanged||!Object.keys(e.attributeChanged).some((function(t){var n,r;return!(null===(n=e.attributeChanged)||void 0===n||null===(r=n[t])||void 0===r||!r.length)}))))))))}),"MutationSummary.changesToReport"),this.observerCallback=hj.tryCatch((function(e){if(e&&e.length){var t=new ie(n.root,e,n.options.oldPreviousSibling),r=new ae(t);n.changesToReport(r)&&n.callback(r)}}),"MutationSummary.observerCallback"),this.reconnect=hj.tryCatch((function(){var e;if(n.connected)throw Error("Already connected");null===(e=n.observer)||void 0===e||e.observe(n.root,{childList:!0,subtree:!0,attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0}),n.connected=!0}),"MutationSummary.reconnect"),this.disconnect=hj.tryCatch((function(){var e;null===(e=n.observer)||void 0===e||e.disconnect(),n.connected=!1}),"MutationSummary.disconnect");var r=void 0!==window.WebKitMutationObserver?window.WebKitMutationObserver:window.MutationObserver;this.connected=!1,this.options=this.validateOptions(t),this.root=this.options.rootNode,this.callback=this.options.callback,void 0!==r&&(this.observer=new r((function(e){return n.observerCallback(e)})),this.reconnect())}));function ce(e){return ce="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},ce(e)}function ue(){return ue=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?(0,q.oL)(t.adoptedStyleSheets,t):null;return function(e){var t=e.target,n=e.task,r=e.onFinish,o=e.config,i=void 0===o?{maxIterations:5,maxTaskTime:250}:o,a=[],s=0,c=U.f_.now(),u=t.firstChild,l=[];!function e(){if(u){a.push(n(u)),u=u.nextSibling;var t=U.f_.now()-c;t>=i.maxTaskTime&&s1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3?arguments[3]:void 0;if(null==e)return null;var i=o.knownNodes.get(e);if(i&&!n)return{id:i};var a=null!=i?i:o.rememberNode(e),s=ge(e)?e.shadowRoot||o.shadowRoots.get(e):void 0,c=function(e){var t,n,r,o,i=e.node,a=e.shouldSuppressNode,s={};switch(i.nodeType){case Node.DOCUMENT_TYPE_NODE:t=i,s.name=""===t.name?"html":t.name,s.publicId=t.publicId,s.systemId=t.systemId;break;case Node.COMMENT_NODE:case Node.TEXT_NODE:o=hj.metrics.time(),n=hj.privacy.getSuppressedTextNode(i,a),hj.metrics.timeIncr("task-execution-time",{tag:{task:"node-suppression"},start:o}),a=n.shouldSuppressNode,s.textContent=n.content;break;case Node.ELEMENT_NODE:o=hj.metrics.time(),r=hj.privacy.getSuppressedNode(i,a),hj.metrics.timeIncr("task-execution-time",{tag:{task:"node-suppression"},start:o}),a=r.shouldSuppressNode,s.tagName=r.node.tagName,s.attributes=r.node.attributes,!s.attributes["data-hj-suppressed"]&&"IMG"===s.tagName&&i.currentSrc&&(s.attributes.src=i.currentSrc),"http://www.w3.org/1999/xhtml"!==(null==i?void 0:i.namespaceURI)&&(s.namespaceURI=i.namespaceURI)}return{properties:s,shouldSuppressNode:a}}({node:e,shouldSuppressNode:r}),u=c.properties,l=c.shouldSuppressNode,h=ue(ue({nodeType:e.nodeType,id:a},function(e){var t=e.shadowRoot,n=e.getNextId,r={};if(!t)return r;if(r.hasShadowRoot=!0,r.isSyntheticShadow=!!t.synthetic,t.adoptedStyleSheets&&t.adoptedStyleSheets.length>0){var o=t.adoptedStyleSheets.reduce((function(e,r){for(var o=[],i=0;i2&&void 0!==arguments[2]&&arguments[2],i=!1;if(null===e)return null;var a=r.idMap[e.id];if(a&&!o)return a;var s=null!==(n=r.root.ownerDocument)&&void 0!==n?n:r.root;switch(e.nodeType){case Node.COMMENT_NODE:a=s.createComment(e.textContent);break;case Node.TEXT_NODE:a=s.createTextNode(e.textContent);break;case Node.DOCUMENT_TYPE_NODE:a=s.implementation.createDocumentType(e.name,e.publicId,e.systemId);break;case Node.ELEMENT_NODE:try{a=s.createElement(e.tagName)}catch(e){var c=e instanceof Error?e.message:"unknown";a=s.createComment('hj.treeMirror.deserializeNode.error: "'+c+'"'),i=!0;break}Object.keys(e.attributes).forEach((function(t){try{var n=e.attributes;r.delegate&&r.delegate.setAttribute&&r.delegate.setAttribute(a,t,n[t])||a.setAttribute(t,n[t])}catch(e){}}))}if(!a)throw"Could not create node of type: "+e.nodeType;return r.idMap[e.id]=a,t&&t.appendChild(a),e.childNodes&&!i&&e.childNodes.forEach((function(e){r.deserializeNode(e,a,o)})),a}),"TreeMirrorHost.deserializeNode"),this.root=t,this.delegate=n,this.idMap={}})),Ee=null,Ie=hj.tryCatch((function(e){var t;Ee||(Ee=new Ce(document.cloneNode(),{setAttribute:(t=function(e,t,n){e.setAttribute(t,n)},function(e,n,r){return"data-hj-suppressed"===n&&"object"==typeof r?(function(e,t,n){const r="https://"+(n||hj.insightsHost)+"/static/app/img/transparent.png",o=function(e,t){const n="https://"+(t||hj.insightsHost)+"/static/app/img/suppressed.png",r=(e.meta||{}).style||{},o=r.width,i=r.height;return[e.style,'background: url("'+n+'") repeat !important',o?"width: "+o:"",i?"height: "+i:""].filter((function(e){return e}))}(t,n);[["src",r],["style",o.join(";")]].forEach((function(t){e.setAttribute(t[0],t[1])}))}(e,r,undefined),!0):t(e,n,r)})})),je.getTree((function(t){var n=t.rootId,r=t.children;return e(Ee.deserializeDocument(n,r,!0))}))}),"TreeMirrorHost.getMirroredDocument"),Te=(new Date).getTime(),Ne={reset:function(){Te=(new Date).getTime()},getNow:function(){return(new Date).getTime()-Te}},Oe={};Oe={getPageContent:hj.tryCatch((function(e,t){function n(e,t){t=t||document;var n=parseInt(e.split(":")[0]),r=e.substring(e.indexOf(":")+1);return t.querySelectorAll(r)[n]}t=t||[],Ie((function(r){var o=hj.insertedRules.getCurrentInsertedRules(),i={};o.forEach((function(e){var o=n(e.parentSelector,r);if(i[e.parentSelector]||(i[e.parentSelector]=""),o&&"LINK"===o.tagName){var a=o.attributes,s=a.href.value.split(location.hostname).pop().replace("/",""),c=r.querySelector(".blob-hash-"+s);if(!c){c=document.createElement("style"),i[e.parentSelector]=i[e.parentSelector]+"/* Originally: 0&&(t=t.substring(0,n)),0!==(t=t.replace(",","")).indexOf("http")&&(t=i+t),e.src=t}}e.removeAttribute("srcset")}})),Array.prototype.slice.call(e.getElementsByTagName("source")).forEach((function(e){e.attributes.srcset&&e.removeAttribute("srcset")})),[].forEach.call(e.querySelectorAll("script"),(function(e){e.parentNode.removeChild(e)})),t(Oe.getPageDoctype()+e.documentElement.outerHTML)}(r,e,t)}))}),"common"),getPageDoctype:hj.tryCatch((function(){return null===document.doctype?"":"\n"}),"common")};var Re,Ae="manual",ke={setMode:hj.tryCatch((function(e){Ae=e,Re&&clearInterval(Re),"automatic_with_fragments"===Ae?Re=setInterval((function(){var e=""===location.hash&&location.href.indexOf("#")>-1?"#":location.hash,t="".concat(location.origin).concat(location.pathname).concat(location.search).concat(e);hj.currentUrl&&hj.currentUrl!=t&&hj._init.reinit(t)}),199):"automatic"===Ae&&(Re=setInterval((function(){var e="".concat(location.origin).concat(location.pathname).concat(location.search);hj.currentUrl&&hj.currentUrl.split("#")[0]!=e&&hj._init.reinit(e)}),199))}))},xe={getCSSURLs:function(){var e=[],t=document.styleSheets;return hj.log.debug("Getting CSS","dpc","Starting"),t&&t.length>0&&hj.hq.each(t,(function(t,n){n.href&&0===n.href.indexOf("http")&&(hj.log.debug("Getting CSS","dpc",n.href),e.push(n.href))})),e}},Pe={},De={remove:hj.tryCatch((function(e){var t="survey_".concat(e);"function"==typeof Pe[t]&&window.removeEventListener("resize",Pe[t])}),"hj.resizeHandlers.setHandler"),add:hj.tryCatch((function(e,t){var n="survey_".concat(t);De.remove(t),Pe[n]=e,window.addEventListener("resize",e)}),"hj.resizeHandlers.setHandler")},Me={getVariant:function(e,t,n){return hj.tryCatch((function(){var r;if(!(Array.isArray(t)&&Array.isArray(n)&&t.length&&n.length&&t.length===n.length))throw new Error("Options and probability split must be arrays of equal length.");if(n.reduce((function(e,t){return e+t}))<.99)throw new Error("Probability splits should add up to at least 0.99.");null!==(r=window.hjSiteSettings.experimentation)&&void 0!==r&&r.variants||(window.hjSiteSettings.experimentation={variants:{}});var o=window.hjSiteSettings.experimentation.variants[e];if(!o){for(var i,a=Math.random(),s=0,c=0;c<=n.length-1;c++){var u=s+n[c];if(a<=u){i=t[c];break}s=u}window.hjSiteSettings.experimentation.variants[e]=o=i}return o}),"hj.experimentation.getVariant")()}};n(6402),hj.tryCatch((function(){if(void 0!==hj.scriptLoaded)return window.console=window.console||{warn:function(){}},console.warn("Hotjar Tracking Warning: Multiple Hotjar tracking codes were detected on this page. Tracking will not work as expected."),hj.verifyInstall?void(0,x.c)("Hotjar installation invalid.","It appears you have more than one Hotjar tracking code set up on this page. Hotjar cannot work properly if multiple Hotjar scripts are loaded concurrently. Please make sure you only install the one tracking code provided for this site.","bad"):void 0;window.hj=window.hj||function(){(window.hj.q=window.hj.q||[]).push(arguments)},window.hj.q=window.hj.q||[],hj.hostname=hj.host.split(":")[0],hj.port=443,hj.apiUrlBase="https://"+hj.host+"/api/v1",hj.apiUrlBaseV2="https://"+hj.host+"/api/v2",hj.isPreview=Boolean(_hjSettings.preview),hj.userDeviceType=null,hj.optOut=!1,hj.windowSize=null,hj.maxRecordingTagLength=250,hj.settings=hj.isPreview?{}:window.hjSiteSettings,hj.time=Ne,hj.uuid=P.v4,hj.locationListener=ke,hj.encodeAsUtf8=D.IU,hj.b64EncodeUnicode=D.GT,hj.b64DecodeUnicode=D.Di,hj.md5=E,hj.debug=i,hj.log=l,hj.url=M,hj.loader=o,hj.userAttributes=g.r,hj.targeting=d.q,hj.rendering=h.n,hj.ui=k,hj.dom=xe,hj.html=Oe,hj.features=f.R,hj.viewport=hj.tryCatch(V,"common")(),hj.treeMirror=je,hj.resizeListeners=De,hj.experimentation=Me}),"common")()},1416:function(e,t,n){"use strict";n.r(t),n.d(t,{getMidLevelDomain:function(){return u},getParameter:function(){return i},getUrlFromString:function(){return s},tryDecodeURIComponent:function(){return a}});var r=n(6366),o=n(6052);function i(e){var t,n,r=[];for(t=new RegExp("[^?&]?"+e.replace(/\[/,"\\[").replace(/]/,"\\]")+"=([^&]+)","g");n=t.exec(location.search);)r.push(a(n[1]));switch(r.length){case 0:return"";case 1:return r[0];default:return r}}function a(e){try{return decodeURIComponent(e)}catch(t){return e}}function s(e){return(0,o.N)(e,"http")||((0,o.N)(e,"/")||(e="/"+e),e=location.protocol+"//"+location.hostname+(""!=location.port?":"+location.port:"")+e),e}var c={};function u(e){if(!c[e]){var t,n=e.lastIndexOf(".");t=l(e,n),c[e]=t||e}return c[e]}function l(e,t){t=t?t-1:e.length;var n,r=e.lastIndexOf(".",t-1);return r>-1&&(function(e){try{var t={domain:e};d.set(h,e,t);var n=d.get(h);return n&&d.remove(h,t),n}catch(e){return!1}}(n=e.substring(r))||(n=l(e,r))),n}var h="_hjTLDTest",d=r.Z.withAttributes({sameSite:"None",secure:!0})},6326:function(e,t,n){"use strict";n.r(t);var r=n(5547);hj.tryCatch((function(){hj.adoptedStyleSheets=function(){var e={},t=[],n=null,o=null,i=!1;function a(e){t.forEach((function(t){t(e)}))}function s(e){return hj.selector().get(hj.hq(e))}return e.init=function(){i||(void 0!==window.ShadowRoot&&(n=Object.getOwnPropertyDescriptor(ShadowRoot.prototype,"adoptedStyleSheets"))&&Object.defineProperty(ShadowRoot.prototype,"adoptedStyleSheets",{set:function(){n.set.apply(this,arguments);var e=arguments[0],t=this.host,o={sheets:(0,r.oL)(e,t)};if(t instanceof Node&&document.contains(t))o.parentSelector=s(t),o.nodeId=hj.treeMirror.getNodeId(t),a(o);else{var i=this;hj.treeMirror.onTreeMirrorUpdate((function(){var e=i.host;o.parentSelector=s(e),o.nodeId=hj.treeMirror.getNodeId(e),a(o)}))}}}),void 0!==window.document.adoptedStyleSheets&&(o=Object.getOwnPropertyDescriptor(Document.prototype,"adoptedStyleSheets"))&&Object.defineProperty(Document.prototype,"adoptedStyleSheets",{set:function(){o.set.apply(this,arguments);var e=arguments[0],t={sheets:(0,r.oL)(e,this)};t.nodeId=hj.treeMirror.getNodeId(this),t.parentSelector=null,t.isOnDocument=!0,a(t)}}),i=!0)},e.register=function(e){t.push(e)},e.destroy=function(){n&&(Object.defineProperty(ShadowRoot.prototype,"adoptedStyleSheets",n),n=null,i=!1),o&&(Object.defineProperty(Document.prototype,"adoptedStyleSheets",o),o=null,i=!1),t.length=0},e}()}),"hj.adoptedStyleSheets")()},289:function(){hj.tryCatch((function(){var e,t;hj.cssBlobs=(t=[],(e={}).register=function(e){t.push(e)},e.handleBlobStyles=hj.tryCatch((function(e){var n=[];"link"===e.tagName.toLowerCase()&&"rel"in e.attributes&&"stylesheet"===e.attributes.rel.value&&"href"in e.attributes&&0===e.attributes.href.value.indexOf("blob:")&&setTimeout((function(){for(var r=hj.selector().get(hj.hq(e)),o=hj.treeMirror.getNodeId(e),i=0,a=e.sheet.cssRules.length;i4&&void 0!==arguments[4]?arguments[4]:{contentType:"json"};n=n||hj.hq.noop,r=r||hj.hq.noop;var i=null!=o&&o.query?"".concat(e,"?").concat(o.query):e;return hj.hq.ajax({url:i,type:"POST",data:"json"===(null==o?void 0:o.contentType)?hj.hq.stringify(t):t,contentType:"text/plain; charset=UTF-8",success:hj.tryCatch(n,"Data"),error:hj.tryCatch(r,"Data")})}function i(e,t,n,r){n=n||hj.hq.noop,r=r||hj.hq.noop,hj.hq.ajax({url:e,type:"PUT",data:hj.hq.stringify(t),contentType:"text/plain; charset=UTF-8",success:hj.tryCatch(n,"Data"),error:hj.tryCatch(r,"Data")})}n.r(t),n.d(t,{get:function(){return r},post:function(){return o},putAsJSON:function(){return i}}),hj.ajax={get:r,post:o,putAsJSON:i}},2129:function(e,t,n){"use strict";n.d(t,{K:function(){return r}});var r=(0,n(4557).M)({eventsRetrySuccess:!1,initMessageQueued:!1},"event-stream")},7434:function(e,t,n){"use strict";n.r(t),n.d(t,{eventStream:function(){return k}}),n(4108);var r=n(4788);const o=Object.freeze({MOUSE_CLICK:r.s.MOUSE_CLICK,MOUSE_MOVE:r.s.MOUSE_MOVE,SCROLL:r.s.SCROLL,VIEWPORT_RESIZE:r.s.VIEWPORT_RESIZE,KEY_PRESS:r.s.KEY_PRESS,SELECT_CHANGE:r.s.SELECT_CHANGE,INPUT_CHOICE_CHANGE:r.s.INPUT_CHOICE_CHANGE,CLIPBOARD:r.s.CLIPBOARD});var i=n(7698);function a(e){return"".concat(parseFloat(e/1048576).toFixed(2))}var s=n(1131),c=n(3883),u=n(724);function l(e){return l="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},l(e)}var h=hj.tryCatch((function(e){var t,n,h,d,f,g={},p="",v=void 0,m=null,y=!1,j=i.f_.now(),b=!1;g.events=[],g.storePageContent=function(t,n){hj.log.warnIfEmpty(t,"tryStorePageContent: content"),hj.log.warnIfEmpty(n,"tryStorePageContent: urlMD5"),e.storePageContent(t,(function(e){var t=e.content_uuid;t?(y=!0,u.y.set("pageContent",{uuid:t,md5:n})):hj.log.warn("Expecting res.content_uuid but it was not found!")}),(function(e){if(413===e.status){var n=a(t.length);g.write("content_size_too_large",{size:n,source:"page_visit",timestamp:i.f_.now()},!1)}}))},g.reportPageContent=function(e){f=u.y.on("pageContent",(function(t){var n,o=t.uuid,i=t.md5,a=hj.dom.getCSSURLs().map((function(e){return{content_type:2,url:e,url_hash:hj.md5(hj.b64EncodeUnicode(e))}}));hj.log.warnIfEmpty(e,"sendReportContent: pageVisitKey"),hj.log.warnIfEmpty(o,"sendReportContent: uuid"),hj.log.warnIfEmpty(i,"sendReportContent: md5"),hj.log.warnIfEmpty(a,"sendReportContent: webResourceInfos");var s={page_content_url_md5:i,page_content_uuid:o,web_resource_infos:a,content_submitted:y};g.writeNewFrame((n={},n[r.s.REPORT_CONTENT]=s,n),e).flush(),y=!1}))},g.clearPageContent=function(){f(),u.y.set("pageContent",void 0)},g.setCurrentPageVisitKey=hj.tryCatch((function(e){p!==e&&(p=e,t()),g.flush()}),"data"),g.writeNewFrame=hj.tryCatch((function(e,n){return t(n),g.write(e),t(),g})),g.write=hj.tryCatch((function(e,t,n){var r;if(hj.isPreview)return g;if("object"===l(e))return hj.hq.each(e,(function(e,t){g.write(e,t,!0)})),g;var o=e,a=S(o);if(!a&&b)return g;if(!a&&C())return E(),g;a&&(m=i.f_.now()),a&&b&&I();var s=null!==(r=g.events.pop())&&void 0!==r?r:w(p);return n?s[o]=t:(s[o]=s[o]||[],s[o].push(t)),g.events.push(s),g}),"data"),g.flush=hj.tryCatch((function(){var n=c.Q.get("user.id"),r=c.Q.get("sessionAccepted");if(v&&clearInterval(v),!r||!n)return t();var o=_(),i=o.length;if(i>0)for(var a=0;a1){var c=[];e.autotag_recording&&(c=e.autotag_recording.filter((function(e){return"rageclick"===e.name}))),c.length>0?i.push(e):(e.clipboard&&o.push(e.clipboard),a.push(n(e)))}var u=d(i,o);return g.events=u.leftover,t(),[].concat(a,u.sendable)}),"data");d=hj.tryCatch((function(e,t){var r=[],o=[];return hj.hq.each(t,(function(t,n){e=e.filter((function(e){if("copy"===n.action||"cut"===n.action)return n.time-e.autotag_recording[0].time>5e3}))})),hj.hq.each(e,(function(e,t){hj.time.getNow()-t.autotag_recording[0].time<5e3?r.push(t):o.push(n(t))})),{leftover:r,sendable:o}}),"data.filterRageClicks"),n=hj.tryCatch((function(e){return hj.hq.each(e,(function(t,n){hj.hq.isFunction(n)&&(e[t]=n())})),e.page_visit_key=e.pageVisitKey,delete e.pageVisitKey,e.viewport_id=hj.viewport.getId(),"object"===l(e.mutation)&&(e.mutation=h(e.mutation)),e}),"data"),h=hj.tryCatch((function(e){var t,n="";if("object"===l(e))return hj.hq.each(e,(function(r,o){"object"===l(o.c)&&(hj.hq.each(o.c,(function(o,i){"object"===l(i.attributes)&&"string"==typeof i.attributes.style&&(i.attributes.style===t&&i.id===n&&(e[r].c[o]=null),t=i.attributes.style,n=i.id)})),e[r].c=e[r].c.filter((function(e){return e})),e[r].c.length||delete e[r].c),void 0===e[r].a&&void 0===e[r].b&&void 0===e[r].c&&void 0===e[r].d&&(e[r]=null)})),e.filter((function(e){return e}))}),"data");var C=function(){var e,t=null!==(e=m)&&void 0!==e?e:j;return i.f_.now()-t>18e5},E=function(){hj.store.recording.set("active",!1),hj.store.session.set("session",null),s.t.items.HJ_SESSION.clear(),b=!0},I=function(){b=!1,hj._init.reinit(window.location.href,!0)};return g})),d=n(5148),f=n(5547),g=n(7990),p=n(8422),v=n(2129),m={maxRetries:5,delay:3e3,firstAttemptDelay:0,baseExponent:2};function y(e){var t=this;if(!e)throw new Error("HotjarWebSocket requires a flush callback");this._connected=!1,this._connecting=!1,this._isReconnecting=!1,this._closedPermanently=!1,this.sessionTimedOutDueToInactivity=!1,this._finished=!1,this._pingInterval=3e4,this._pingIntervalId=void 0,this._sessionInactiveInterval=18e5,this._lastUserActivityTime=(new i.f_).getTime(),this._unloadTimeoutStarted=!1,this._ws=null,this._wsUrl="",this._flush=e,this._msgPrefix="{}\n",this._clearPings=function(){clearInterval(t._pingIntervalId)},this._closeConnection=function(){t._connected=!1,t._connecting=!1,t._isReconnecting=!1,t._closedPermanently=!0}}y.prototype.connect=hj.tryCatch((function(){if(this._sessionIsDisabled())return!1;if(!this._connected&&!this._connecting&&!this._isReconnecting){this._connecting=!0;var e=_hjSettings.wsMockUrl||"wss://".concat((0,f.LL)(),"/api/v2/client/ws");this._wsUrl="".concat(e,"?v=").concat(p.fb,"&site_id=").concat(hj.settings.site_id);try{this._createAndConnect()}catch(e){hj.log.debug("The Web Socket connection was refused. \n ".concat(e))}}return!0}),"data.HotjarWebSocket.connect"),y.prototype.updateLastUserActivityTime=hj.tryCatch((function(){this._lastUserActivityTime=(new i.f_).getTime()}),"data.HotjarWebSocket.updateLastUserActivityTime"),y.prototype.disconnect=hj.tryCatch((function(){this._connected&&(hj.log.debug("Disconnecting Web Socket.","websocket"),this._flush(),this.close())}),"data.HotjarWebSocket.disconnect"),y.prototype.isConnected=hj.tryCatch((function(){return!!this._connected&&((new i.f_).getTime()-this._lastUserActivityTime<=this._sessionInactiveInterval||(hj.store.recording.set("active",!1),hj.store.session.set("session",null),s.t.items.HJ_SESSION.clear(),this.close(),this.sessionTimedOutDueToInactivity=!0,!1))}),"data.HotjarWebSocket.isConnected"),y.prototype.send=hj.tryCatch((function(e){this._sessionIsDisabled()||(hj.log.debug("Sending data to Web Socket","websocket",e),this._ws.send(e))}),"data.HotjarWebSocket.send"),y.prototype.close=hj.tryCatch((function(){hj.log.debug("Closing Web Socket.","websocket"),this._connected=!1,this._connecting=!1,this._finished=!0,this._ws.close()}),"data.HotjarWebSocket.close"),y.prototype.getBufferedAmount=hj.tryCatch((function(){return this._ws.bufferedAmount}),"data.HotjarWebSocket.getBufferedAmount"),y.prototype._sessionIsDisabled=hj.tryCatch((function(){return this._closedPermanently||this.sessionTimedOutDueToInactivity||!0===hj.store.session.get("session.sessionRejected")}),"data.HotjarWebSocket._sessionIsDisabled"),y.prototype._ping=hj.tryCatch((function(){this._connected&&(hj.log.debug("Pinging Web Socket","websocket"),this._ws.send(this._msgPrefix+"ping"))}),"data.HotjarWebSocket._ping"),y.prototype._createAndConnect=hj.tryCatch((function(){var e=this;if(e._finished)hj.log.debug("Unload event triggered, don't reconnect"),!1===e._unloadTimeoutStarted&&(e._unloadTimeoutStarted=!0,setTimeout((function(){e._finished=!1,e._unloadTimeoutStarted=!1}),1e3));else{hj.log.debug("Connecting to Web Socket ["+e._wsUrl+"]","websocket");var t=function(n,r){var o,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;try{o=new WebSocket(e._wsUrl)}catch(e){return void hj.log.debug("Web socket connection ".concat(i?"retry":""," error. \n ").concat(e))}return o.onopen=function(t){if(n(o),e._onOpen.call(e,t),i){v.K.set("eventsRetrySuccess",!0);var a=i.reason,s=i.extraTags;hj.metrics.timeEnd("time-to-reconnect",{tag:{reason:a},start:r,extraTags:s})}},o.onmessage=function(t){e._onMessage.call(e,t)},o.onclose=function(r){e._clearPings(),e._connected=!1,hj.log.debug("Web Socket closed.","websocket");var o={message:r.reason,code:r.code,wasClean:r.wasClean};if(hj.metrics.count("session-interruption",{tag:{reason:"websocket-close"},extraTags:o}),r.wasClean&&1012!=r.code)4e3==r.code&&console.warn("Hotjar Tracking Code is out of date and this session will not be captured anymore. Please reload the page to update your Tracking Code."),e._closeConnection();else if(hj.log.warn("Websocket close was unclean: "+r.code),!e._isReconnecting){var i={reason:r.wasClean?"service-restart":"unclean-close",extraTags:o};e._isReconnecting=!0,e._connecting=!0,function(n,r){var o=hj.metrics.time();(0,g.TL)((function(){return t(n,o,r)}),(function(){return e._closeConnection()}),m)}(n,i)}},o.onerror=function(t){hj.log.debug("onError was called.","websocket",t),v.K.set("eventsRetrySuccess",!1),e._connected&&(e._clearPings(),e._connected=!1)},o};e._ws=t((function(t){e._ws=t})),window.addEventListener("beforeunload",e.disconnect,!1)}}),"data.HotjarWebSocket._createAndConnect"),y.prototype._onOpen=hj.tryCatch((function(){hj.log.debug("Web Socket opened.","websocket"),this._pingIntervalId=setInterval(this._ping.bind(this),this._pingInterval),this._connected=!0,this._connecting=!1,this._isReconnecting=!1,this._flush()}),"data.HotjarWebSocket._onOpen"),y.prototype._onMessage=hj.tryCatch((function(e){var t;try{t=JSON.parse(e.data)}catch(t){throw hj.log.warn("Could not parse websocket message: "+e.data),t}switch(t.type){case"SESSION_TOO_LARGE":hj.log.warn("Session became too large. Will stop sending websocket data."),(0,d.IU)({sessionRejected:!0}),this.disconnect();break;case"SESSION_RATE_LIMITED":hj.log.warn("Session was rate limited. Will stop sending websocket data."),hj.metrics.count("session-rejection",{tag:{reason:"rate-limited"}}),(0,d.IU)({sessionRejected:!0}),this.disconnect();break;case"SESSION_ACCEPTED":hj.log.debug("Session accepted."),hj.store.session.set("sessionAccepted",!0);break;default:hj.log.warn("Received unknown websocket message: "+e.data)}}),"data.HotjarWebSocket._onMessage");var j=n(5153);function b(e){return b="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},b(e)}var w=hj.tryCatch((function(e){var t,n,l,h,f,g,p="",m=void 0,w=!1,S=Object.create({events:[],storePageContent:function(t,n,r){hj.log.warnIfEmpty(t,"tryStorePageContent: content"),hj.log.warnIfEmpty(n,"tryStorePageContent: urlMD5");var o=t.length,s=function(r){var s=r.success,c=r.compressed,l=r.time;s&&l&&hj.metrics.timeEnd("pc-compression-time",{tag:{task:"process-chunks"},total:l}),e.storePageContent(s?c:t,(function(e,r){if(207===(null==r?void 0:r.status)&&"gzip error"===e[1])return hj.metrics.distr("compression-malformed",{task:"gzip",value:o,extraTags:{compressedLength:c.length}}),S.storePageContent(t,n,!0);var i=e.content_uuid;i?(w=!0,u.y.set("pageContent",{uuid:i,md5:n}),s&&o&&hj.metrics.distr("compression-ratio",{task:"page-content",value:parseFloat(Number(o/c.length).toFixed(1))})):hj.log.warn("Expecting res.content_uuid but it was not found!")}),(function(e){if(413===e.status){var t=a(o);S.write("content_size_too_large",{size:t,source:"page_visit",timestamp:i.f_.now()},!1)}}),{query:"site_id=".concat(hj.settings.site_id)+(s?"&gzip=1":"")})};r?s({success:!1}):function(e,t){var n,r,o,i,a=function(e){try{e&&hj.metrics.count("session-exception",{tag:{module:"compression"},extraTags:{message:e.message,name:e.name}}),t({success:!1})}catch(e){}};try{if(!function(){try{return"CompressionStream"in window}catch(e){return!1}}())return a();(n=new ReadableStream({start:function(t){t.enqueue(e),t.close()}}).pipeThrough(new TextEncoderStream).pipeThrough(new CompressionStream("gzip")),r=n.getReader(),o=[],i=hj.metrics.timeWatcher(),r.read().then((function e(t){var n=t.done,a=t.value;if(i.start(),n){var s=o.reduce((function(e,t){return e+t.length}),0),c=new Uint8Array(s),u=0;return o.forEach((function(e){c.set(e,u),u+=e.length})),{time:i.end(),compressed:c}}return o.push(a),i.incr(),r.read().then(e)}))).then((function(e){var n=e.time,r=e.compressed;t({success:!0,compressed:r,time:n})})).catch(a)}catch(e){a(e)}}(t,s)},reportPageContent:function(e){w=!1,g=u.y.on("pageContent",(function(t){var n,o=t.uuid,i=t.md5,a=hj.dom.getCSSURLs().map((function(e){return{content_type:2,url:e,url_hash:hj.md5(hj.b64EncodeUnicode(e))}}));hj.log.warnIfEmpty(e,"sendReportContent: pageVisitKey"),hj.log.warnIfEmpty(o,"sendReportContent: uuid"),hj.log.warnIfEmpty(i,"sendReportContent: md5"),hj.log.warnIfEmpty(a,"sendReportContent: webResourceInfos");var s={page_content_url_md5:i,page_content_uuid:o,web_resource_infos:a,content_submitted:w};S.writeNewFrame((n={},n[r.s.REPORT_CONTENT]=s,n),e).flush()}))},clearPageContent:function(){g(),u.y.set("pageContent",void 0)},setCurrentPageVisitKey:hj.tryCatch((function(e){p!==e&&(p=e,t()),S.flush()}),"data"),writeNewFrame:hj.tryCatch((function(e,n){return t(n),S.write(e),t(),S})),write:hj.tryCatch((function(e,t,n,r){var o;if(hj.isPreview)return S;if("object"===b(e))return hj.hq.each(e,(function(e,t){S.write(e,t,!0,r)})),S;var i=e;if(!r&&!S._ws.connect()){if(!S._ws.sessionTimedOutDueToInactivity||!C(i))return S;S._ws=new y(S.flush),hj._init.reinit(window.location.href,!0),S._ws.connect()}var a=null!==(o=S.events.pop())&&void 0!==o?o:_(p);return n?a[i]=t:(a[i]=a[i]||[],a[i].push(t)),S.events.push(a),S}),"data"),queueEndSignal:hj.tryCatch((function(){hj.log.debug("Should send end signal to Web Socket with the next flush","websocket"),S.shouldSendEndSignal=!0}),"data"),sendEndSignal:hj.tryCatch((function(){hj.log.debug("Sending end signal to Web Socket","websocket"),S._ws.send(S._ws._msgPrefix+"end_signal"),S._ws.close(),s.t.items.HJ_SESSION.clear(),S.shouldSendEndSignal=!1}),"data"),sendInitMessage:hj.tryCatch((function(){hj.log.debug("Sending init message to Web Socket","websocket"),v.K.set("initMessageQueued",!1),S._ws.send(S._ws._msgPrefix+"init")}),"data"),flush:hj.tryCatch((function(){var e,r,o=(0,j.bN)(),s=c.Q.get("sessionAccepted");if(m&&clearInterval(m),s||(c.Q.on("sessionAccepted",S.flush,!0),t()),S._ws.isConnected()&&o){var u,l={sid:(0,d.MQ)(),uuid:o,viewportid:null===(u=hj.viewport)||void 0===u?void 0:u.getId(),site_id:hjSiteSettings.site_id,timestamp:i.f_.now(),beta:(0,d.qi)()};if(S._ws._msgPrefix=hj.hq.stringify(l)+"\n",v.K.get("initMessageQueued")&&S.sendInitMessage(),S.shouldSendEndSignal)return S.sendEndSignal();if(s){if((r=(e=n()).length)>0){E(e)&&S._ws.updateLastUserActivityTime();for(var h=0;h1){var s=[];e.autotag_recording&&(s=e.autotag_recording.filter((function(e){return"rageclick"===e.name}))),s.length>0?o.push(e):(e.clipboard&&r.push(e.clipboard),i.push(l(e)))}var c=f(o,r);return S.events=c.leftover,t(),[].concat(i,c.sendable)}),"data"),f=hj.tryCatch((function(e,t){var n=[],r=[];return hj.hq.each(t,(function(t,n){e=e.filter((function(e){if("copy"===n.action||"cut"===n.action)return n.time-e.autotag_recording[0].time>5e3}))})),hj.hq.each(e,(function(e,t){hj.time.getNow()-t.autotag_recording[0].time<5e3?n.push(t):r.push(l(t))})),{leftover:n,sendable:r}}),"data.filterRageClicks"),l=hj.tryCatch((function(e){var t;return hj.hq.each(e,(function(t,n){hj.hq.isFunction(n)&&(e[t]=n())})),e.page_visit_key=e.pageVisitKey,delete e.pageVisitKey,e.viewport_id=null===(t=hj.viewport)||void 0===t?void 0:t.getId(),"object"===b(e.mutation)&&(e.mutation=h(e.mutation)),e}),"data"),h=hj.tryCatch((function(e){var t,n="";if("object"===b(e))return hj.hq.each(e,(function(r,o){"object"===b(o.c)&&(hj.hq.each(o.c,(function(o,i){i&&null!==i.attributes&&"object"===b(i.attributes)&&"string"==typeof i.attributes.style&&(i.attributes.style===t&&i.id===n&&(e[r].c[o]=null),t=i.attributes.style,n=i.id)})),e[r].c=e[r].c.filter((function(e){return e})),e[r].c.length||delete e[r].c),void 0===e[r].a&&void 0===e[r].b&&void 0===e[r].c&&void 0===e[r].d&&(e[r]=null)})),e.filter((function(e){return e}))}),"data"),S})),S=n(6621);function _(e){return _="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)}function C(e,t){for(var n=0;n2&&void 0!==arguments[2]?arguments[2]:3;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.viewport=t,this.siteId=n,this.maxRetries=r}var t,n;return t=e,(n=[{key:"storePageContent",value:function(e,t,n){return P.post(e,t,n,{contentType:"text"})}},{key:"send",value:function(e,t){var n=(_hjSettings.eventsHost||(_hjSettings.eventsHost="https://events.hotjar.io"),_hjSettings.eventsHost+"/"),r={uuid:t,viewportid:this.viewport.getId(),site_id:this.siteId},o=hj.hq.stringify(r)+"\n"+hj.hq.stringify(e),i=!1;!function e(){return(0,N.post)(n,o,(function(e){hj.log.debug("Events sent successfully to host","events",e),i=!1,v.K.set("eventsRetrySuccess",!0)}),(function(){hj.log.debug("Events failed to send to host, retrying","events"),v.K.set("eventsRetrySuccess",!1),i||(i=!0,(0,g.TL)(e,null,x))}),{contentType:"text"})}()}}])&&R(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();k=hj.features.hasFeature("ingestion.http")?h(new D(hj.viewport,hj.settings.site_id)):w(new T),hj.eventStream=k},3265:function(e,t,n){"use strict";n.r(t);var r={},o={},i={};function a(e,t,n){var r;e[t]||(e[t]=[]),null===(r=e[t])||void 0===r||r.push(n)}r={listen:hj.tryCatch((function(e,t){a(o,e,t),function(e){var t;i[e]&&(null===(t=i[e])||void 0===t||t.forEach((function(t){r.signal(e,t)})),delete i[e])}(e)}),"hj.event.listen"),removeListener:hj.tryCatch((function(e,t){var n=o[e];if(n){var r=n.indexOf(t);-1!==r&&n.splice(r,1)}}),"hj.event.removeListener"),signal:hj.tryCatch((function(e,t,n){var r;o[e]?null===(r=o[e])||void 0===r||r.forEach((function(e){e(t)})):n?a(i,e,t):i[e]=[t]}),"hj.event.signal"),clearAllListeners:hj.tryCatch((function(){o={},i={}}),"hj.event.clearAllListeners")},hj.event=r},5004:function(e,t,n){"use strict";n.r(t);var r=n(9663);n(1088),n(5727),(0,r.E)(),n(6621),n(8553),n(7434),n(3265)},6621:function(e,t,n){"use strict";n.r(t),n.d(t,{Resource:function(){return a}});var r,o=n(8553),i=new RegExp("<.+:(.+)>");function a(e,t,n){var r={},o=function(){for(var t=e.split("/"),n=[],r=0;r",{put:["PUT",["token","data"]]}),r)},1088:function(e,t,n){"use strict";n.r(t);var r=n(724),o=n(3883);hj.store={session:o.Q,recording:r.y}},4557:function(e,t,n){"use strict";function r(e){return r="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},r(e)}n.d(t,{M:function(){return o}});var o=function(e,t){var n=Object.assign(Object.create({}),e),o=Object.create({}),i=function(e){return!(null==e||"object"===r(e)&&0===Object.keys(e).length)},a={get:function(e){try{if(Object.prototype.hasOwnProperty.call(n,e))return n[e];var o=e.split(".");if(o.length>1){var i=o[1],a=n[o[0]];return i&&a&&"object"===r(a)?a[i]:void 0}return}catch(e){hj.exceptions.log(e,"hj.store.".concat(t))}},set:function(e,s){try{if(Object.prototype.hasOwnProperty.call(n,e))n[e]=s,s&&"object"===r(s)&&Object.keys(s).forEach((function(t){var n="".concat(String(e),".").concat(t),r=o[n];if(r&&s){var c=s[t];i(c)&&r.forEach((function(e){e(c,a.off(n,e))}))}}));else{var c=e.split(".");if(c.length>1){var u=c[0],l=n[u],h=c[1];h&&l&&"object"===r(l)&&(l[h]=s);var d,f=a.get(u);i(f)&&(null===(d=o[u])||void 0===d||d.forEach((function(e){e(f,a.off(u,e))})))}}var g;i(s)&&(null===(g=o[e])||void 0===g||g.forEach((function(t){t(s,a.off(e,t))})))}catch(e){hj.exceptions.log(e,"hj.store.".concat(t))}},on:function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];(null===(n=o[e])||void 0===n?void 0:n.push(t))||(o[e]=[t]);var s=a.get(e);return i(s)&&!r&&t(s,a.off(e,t)),a.off(e,t)},off:function(e,t){return function(){var n;o[e]=null===(n=o[e])||void 0===n?void 0:n.filter((function(e){return e!==t}))}},remove:function(e){delete n[e],delete o[e]},reset:function(e){n=Object.assign(Object.create({}),e),o=Object.create({})}};return Object.create(a)}},5727:function(e,t,n){"use strict";n.r(t);var r=n(724),o=n(7352),i=n(5148),a=n(3883);hj.visitData=hj.tryCatch((function(){var e={};return e.getPageVisitInfo=hj.tryCatch((function(e,t){var n=r.y.get("pageInfo"),o=navigator.userAgent,i=navigator.language,a={script_revision:window.hjBootstrap.revision,user_agent:o||"",accept_language:i||"",page_url:(null==n?void 0:n.url)||"",url_hash:(null==n?void 0:n.urlMD5)||"",window_width:e.width,window_height:e.height,site_id:t},s=document.referrer;return""!==s&&(a.referrer=s),a}),"data"),e.track=hj.tryCatch((function(e){var t=(0,o.v4)();hj.eventStream.setCurrentPageVisitKey(t),e=e||document.location.href,hj.log.debug("Tracking: ".concat(e),"visitData"),r.y.set("pageVisitKey",t),r.y.set("pageInfo",{url:e,urlMD5:hj.md5(hj.b64EncodeUnicode(e))})}),"data"),e.trackView=hj.tryCatch((function(){if(void 0===a.Q.get("session.absoluteSessionInProgress")){hj.log.debug("viewcounter: Determining if we should track this session...","visitData");var e=Math.random(),t=hj.viewCounterEndpoint&&hj.settings.site_id&&e<=hj.viewCounterHitPercentage,n="s=".concat(hj.viewCounterHitPercentage,"&r=").concat(e),r="".concat(hj.viewCounterEndpoint,"/").concat(hj.settings.site_id,"?").concat(n);t?((0,i.IU)({absoluteSessionInProgress:!0}),hj.ajax.get(r),hj.log.debug("viewcounter: This session was tracked.","visitData",{mathRandomResult:e,viewCounterHitPercentage:hj.viewCounterHitPercentage})):((0,i.IU)({absoluteSessionInProgress:!1}),hj.log.debug("viewcounter: This session will NOT be tracked.","visitData",{mathRandomResult:e,viewCounterHitPercentage:hj.viewCounterHitPercentage}))}else hj.log.debug("viewcounter: Session already checked. Skipping shouldTrackSession check.","visitData")}),"data"),e}),"data")(),hj.pageVisit=hj.visitData},1469:function(e,t,n){"use strict";n.d(t,{Di:function(){return a},GT:function(){return i},IU:function(){return o}});var r=n(7698);function o(e){return(0,r.m2)((0,r.Lz)(e))}function i(e){return(0,r.UP)(o(e))}function a(e){return function(e){return(0,r.eC)((0,r.qe)(e))}((0,r.aF)(e))}},260:function(e,t,n){"use strict";function r(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1?n-1:0),s=1;s0&&void 0!==arguments[0]||(0,i.U)(45887),Math.floor(1e8*Math.random())}()),e.title="_hjSafeContext",e.tabIndex=-1,e.setAttribute("aria-hidden","true"),e.src="about:blank",e.style.setProperty("display","none","important"),e.style.setProperty("width","1px","important"),e.style.setProperty("height","1px","important"),e.style.setProperty("opacity","0","important"),e.style.setProperty("pointer-events","none","important"),document.body.appendChild(e),e}}();if(!n)return a("Unable to access an IFrame context, using default property."),e;r=n}var o=("function"==typeof e?e.name:t)||t;return o?r.contentWindow?r.contentWindow[o]||(a("Unable to access property with name [".concat(o,"] from an IFrame context")),e):(a("Unable to access contentWindow property"),e):(a("Unable to name property or missing fallbackName"),e)}catch(t){return a("An unexpected error occurred".concat(t instanceof Error?": ".concat(t.message):"",". Using default constructor")),e}}},1736:function(e,t,n){"use strict";n.d(t,{Ib:function(){return i},Wr:function(){return c}});var r=n(7698),o=n(8422),i=4*o.R0*1e3,a=o.R0/2*1e3,s=function(e,t){return hj.metrics.count("session-exception",{tag:{module:"session-expiry"},extraTags:{errorMessage:hj.metrics.getErrorMessage(e),errorId:t}})},c=function(e){try{var t;if(null===(t=hj.store)||void 0===t||!t.session)return!0;var n=hj.store.session.get("session.created");if("number"==typeof n&&r.f_.now()+a>n+i){var o=i-(r.f_.now()-n);o<0&&(o=0),setTimeout((function(){try{e(),hj.store.session.set("session",null),hj.eventStream.close(),hj.metrics.count("session-interruption",{tag:{reason:"too-long"}})}catch(e){s(e,"clear-cookie")}}),o)}return"number"==typeof n&&r.f_.now()>=n+i}catch(e){return s(e,"check-cookie"),!0}}},3883:function(e,t,n){"use strict";n.d(t,{Q:function(){return r}});var r=(0,n(4557).M)({sessionAccepted:!1,session:null,user:{}},"session")},5148:function(e,t,n){"use strict";n.d(t,{MQ:function(){return v},qi:function(){return m},oc:function(){return j},IU:function(){return y}});var r=Math.random(),o=function(){return function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"unknown";switch(hj.url.getParameter("hjIncludeInSessionSample")){case"0":return e=!1,hj.log.debug("You have set includedInSessionSample to false.","sampling"),e;case"1":return e=!0,hj.log.debug("You have set includedInSessionSample to true.","sampling"),e}return void 0!==(e=hj.store.session.get("session.inSample"))?(hj.log.debug("[".concat(t,"] Included in session/CC sample (already set from session)? ").concat(e),"sampling",{rec_value:hj.settings.rec_value,includedInSessionSample:e,mathRandomResult:r}),e):0===hj.settings.rec_value?(hj.log.debug("[".concat(t,"] rec_value is at 0, not adding to sample."),"sampling",{rec_value:hj.settings.rec_value,includedInSessionSample:e}),e=!1):hj.settings.continuous_capture_enabled?(e=1===hj.settings.rec_value||void 0!==hj.settings.rec_value&&null!==hj.settings.rec_value&&(r||1)<=hj.settings.rec_value,hj.log.debug("[".concat(t,"] Included in session/CC sample? ").concat(e),"sampling",{rec_value:hj.settings.rec_value,mathRandomResult:r}),e):(hj.log.debug("[".concat(t,"] Included in session/CC sample (setting check)? ").concat(e),"sampling",{"hj.settings.continuous_capture_enabled":hj.settings.continuous_capture_enabled}),e=!1)}(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"unknown")},i=n(1131),a=n(7698),s=n(1736),c=n(3883),u=n(1949),l=n(7990);function h(){return h=Object.assign?Object.assign.bind():function(e){for(var t=1;t0&&void 0!==arguments[0]&&arguments[0],r=g();r||c.Q.set("session",null);var i,u,h,d,p,v,m,j,b,w,S,_,C,E=c.Q.get("session");if(null!==(e=E)&&void 0!==e&&e.created||(E=r),null!==(t=E)&&void 0!==t&&t.created&&E.created+s.Ib-1)){var t,n,r,i,a=l(),h={id:null!==(n=null==(t=c(c({},a),{},{existing:!!a}))?void 0:t.id)&&void 0!==n?n:(0,s.Nm)((0,s.DO)()),created:null!==(r=null==t?void 0:t.created)&&void 0!==r?r:o.f_.now(),existing:null!==(i=null==t?void 0:t.existing)&&void 0!==i&&i};return function(e){u.set(e)}(h),h}},d=function(){var e,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=i.Q.get("user.id")||(null===(e=l())||void 0===e?void 0:e.id);if(n)return n;if(t){var r=h();return null==r?void 0:r.id}},f=function(){if((0,s.ij)()){var e,t,n,r=i.Q.get("user")||l();null!==(e=r)&&void 0!==e&&e.id||(r=h()),null!==(t=r)&&void 0!==t&&t.id?i.Q.set("user",r):hj.log.warnIfEmpty(null===(n=r)||void 0===n?void 0:n.id,"user agent check: userId")}}},1949:function(e,t,n){"use strict";n.d(t,{q:function(){return o}});var r=n(1469),o=function(e){var t=e.storageAccessor,n=e.serializer,o=e.deserializer;return{get:function(){var e=t.get();if(!e)return null===e?null:void 0;try{return o((0,r.Di)(e))}catch(e){hj.metrics.count("session-exception",{tag:{module:"deserialize-cookie"},extraTags:{errorMessage:hj.metrics.getErrorMessage(e),cookieKey:t.getKey()}})}},set:function(e){t.set((0,r.GT)(n(e)))},getKey:function(){return t.getKey()}}}},8973:function(e,t,n){"use strict";n.d(t,{U:function(){return r}});var r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return function(){return e+=t}}},7990:function(e,t,n){"use strict";n.d(t,{DO:function(){return a},Nm:function(){return s},TL:function(){return i},ij:function(){return l},qC:function(){return c},vB:function(){return u}});var r=n(2129),o=n(7352);function i(e,t,n){!function o(i){if(i>0&&e(),i>=n.maxRetries)t&&t();else{var a=0===i&&n.firstAttemptDelay?n.firstAttemptDelay:n.delay*Math.pow(n.baseExponent||3,i);setTimeout((function(){!0!==r.K.get("eventsRetrySuccess")&&o(i+1)}),a)}}(0)}var a=function(){return(0,o.v4)()},s=function(e){return(0,o.v5)(e,"ded6f544-7265-46bb-ab52-fefac2598466")},c=function(e){return JSON.stringify(e)},u=function(e){return JSON.parse(e)},l=function(){var e;return null===(e=window.navigator)||void 0===e?void 0:e.userAgent}},6052:function(e,t,n){"use strict";n.d(t,{N:function(){return r}});var r=function(e,t){return e.substring(0,t.length)===t}},5067:function(e,t,n){"use strict";n.r(t);var r=n(6120),o=n(6939),i=n(9982),a=n(512),s=n(8422),c=n(9653),u=n(7352),l=n(6052),h="retaker_ready",d=(navigator.userAgent.indexOf("Mac"),"_hjRetakerOriginalTarget");function f(){var e;return null!==(e=document.getElementById("_hj_hm-retaker"))&&void 0!==e&&e}function g(e,t){return!!e&&(e.startsWith?e.startsWith(t):(0,l.N)(e,t))}function p(e){if(!e||0===e.length)return"";var t=e.split("//")[1],n="";(n=t.indexOf("/")?t.split("/")[0]:t).indexOf("?")&&(n=n.split("?")[0]);var r=n.split(".");return r.length<=2?n:r.slice(1).join(".")}var v="https://".concat(hj.insightsHost);try{hj.ui.retaker=Object.freeze({loadWidget:function(){f()||window.opener.postMessage({type:h,origin:window.location.origin},v)}})}catch(e){}var m=n(6742),y=n(5148),j=n(5153),b=n(1131),w=n(5547),S=n(5687),_=n.n(S),C=n(484),E=n.n(C),I=n(7698),T=n(6849);function N(e){return N="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},N(e)}var O={maxLogsPerPage:100,_overflow:!1,_total:0,init:function(){hj.tryCatch((function(){hj.settings.session_capture_console_consent&&(hj.isPreview||hj.store.session.get("session.inSample")&&(window.addEventListener("error",O.onError),window.addEventListener("unhandledrejection",O.onUnhandledRejection)))}),"error-capture.run")()},onError:function(e){O.addError(e)},onUnhandledRejection:function(e){O.addError({error:e.reason,message:"Uncaught (in promise)",filename:"",lineno:0})},addError:function(e){hj.tryCatch((function(){var t=e.error,n=e.message,r=e.lineno,o=e.filename;if((t||n||r||o)&&!O.hasReachedOverflow()){var i=o&&"object"===N(o)?O.truncate(O.stringify(o),100):o,a="object"===N(r)?null:r,s=t&&t instanceof Error&&t.stack?E().parse(t).slice(0,20):null;(0,T.N)("error",{text:hj.privacy.suppressErrorMessage(O.getErrorMessage(e)),filename:i,lineno:a,trace:s,time:hj.time.getNow(),timestamp:I.f_.now()})}}),"error-capture.addError")()},getErrorMessage:function(e){if(!e.error)return e.message||"";var t=O.truncate(O.stringify(e.error),1e3);return e.message?e.error instanceof Error&&-1!==e.message.indexOf(t)?t.replace(t,e.message):"".concat(e.message," ").concat(t):t},stringify:function(e){return e instanceof Error?e.toString():_()(e)},truncate:function(e,t){return e.length<=t?e:"".concat(e.substring(0,t-3),"...")},hasReachedOverflow:function(){return!O._overflow&&O._total1){var a,s=window.hjBootstrapCalled.filter((function(e,t){return window.hjBootstrapCalled.indexOf(e)===t})),c="You have "+window.hjBootstrapCalled.length+" tracking scripts installed on your site. ",u=2===window.hjBootstrapCalled.length?"script as this":"scripts as these",l=!!window.dataLayer;s.length>1?(a=c+"Please remove the duplicate "+u+" will cause issues.",(0,r.c)({title:"Multiple different Hotjar scripts detected",message:a,status:"bad"}),e._reportVerificationResults(o,"multiple_codes",{expected:String(hj.verifyInstall),actual:s,gtm:!1})):l?(a=c+"If you've installed Hotjar through GTM - please remove the duplicate "+u+" will cause issues.",e._reportVerificationResults(o,"multiple_codes",{expected:String(hj.verifyInstall),actual:s,gtm:!0}),(0,r.c)({title:"Multiple Hotjar scripts detected",message:a,status:"bad"})):hj.verifyInstall===hj.settings.site_id?(a=c+"This will not affect data collection, but we do suggest removing redundant scripts.",e._reportVerificationResults(o,"warning",{expected:String(hj.verifyInstall),reason:"multiple scripts"}),(0,r.c)({title:"Multiple Hotjar scripts detected",message:a,status:"warning"})):i();var h="Passed Site ID: "+hj.verifyInstall+" contains multiple scripts "+window.hjBootstrapCalled.join(", ");hj.exceptions.log(new Error(h),"init._verifyInstallation")}else hj.verifyInstall===hj.settings.site_id?(e._sendVerifyInstallation((function(e){e.success||hj.exceptions.log(new Error("Verify installation endpoint failed"),"init._verifyInstallation")})),(0,r.c)({title:"Hotjar installation verified",message:"The Hotjar tracking code has been properly installed on this page. Browse your site in this window if you wish to verify installation on any other pages.",status:"good"}),e._reportVerificationResults(o,"ok")):i()}}};return e._browserIsSupported=hj.tryCatch((function(){return!((0,w.HY)()<11&&(hj.log.debug("IE < 11 is not supported.","init"),"1"===hj.url.getParameter("hjVerifyInstallation")&&(0,r.c)({title:"Hotjar installation cannot be verified.",message:"Sorry – your browser is not supported.",status:"bad"}),1))}),"init"),e._checkDebug=hj.tryCatch((function(){var e=hj.url.getParameter(b.t.items.DEBUG_FLAG.getKey());e&&("1"===e||"true"===e?hj.debug.on(!0):hj.debug.off())}),"init"),e._checkEndSignal=hj.tryCatch((function(){"1"===hj.url.getParameter("hjEndSignal")&&hj.eventStream.queueEndSignal()}),"init"),e._canRun=hj.tryCatch((function(){return!(-1!==navigator.userAgent.indexOf("Hotjar")||(b.t.canUseCookies()?b.t.canUseLocalStorage()?!b.t.canUseSessionStorage()&&(hj.log.debug("sessionStorage is not available","init"),1):(hj.log.debug("localStorage is not available","init"),1):(hj.log.debug("Cookies are not enabled"),1)))}),"init"),e._configureStateChangeListenMode=function(){var e="manual";hj.settings&&hj.settings.state_change_listen_mode&&(e=hj.settings.state_change_listen_mode),hj.locationListener.setMode(e)},e._queueInitMessage=function(){hj.features.hasFeature("wsky.session_rate_limiting")&&A.K.set("initMessageQueued",!0)},e.run=hj.tryCatch((function(t){hj.currentUrl=t,hj.scriptLoaded=!0,e._browserIsSupported()&&(e._checkDebug(),e._checkEndSignal(),e._canRun()?e._run(t):hj._init._verifyInstallation())}),"init"),e._run=hj.tryCatch((function(t){if("1"!==navigator.doNotTrack&&"1"!==window.doNotTrack&&"1"!==navigator.msDoNotTrack||(hj.log.debug("Visitor has opted out of tracking.","init"),hj.optOut=!0),hj.log.debug("Site settings","init",hj.settings),function(e){R.f.set(e)}(hj.currentUrl),function(){if(window.opener&&window.opener.postMessage){var e="https://".concat(hj.insightsHost);if(!g(document.referrer+"",e)&&!function(){var e=sessionStorage.getItem(d);if(e)return e===window.location.origin}()){var t=g(document.referrer+"",window.location.origin),n=p(document.referrer+"")!==p(window.location.origin);if(!t&&n)return}window.addEventListener("message",(function(t){if(g(t.origin,e)&&t.data&&"retaker_start"===t.data.type){var n;if(f())return;sessionStorage.setItem(d,window.location.origin),sessionStorage.setItem("_hjRetakerMode",t.data.mode),sessionStorage.setItem("_hjRetakerStrings",JSON.stringify(null!==(n=t.data.strings)&&void 0!==n?n:"{}")),(0,i.H)(s.vO.HEATMAP_RETAKER)}}));try{r()}catch(e){window.addEventListener("load",(function(){r()}))}window.addEventListener("popstate",(function(){o()})),window.addEventListener("hashchange",(function(){o()}))}function r(){window.opener.postMessage({type:h,origin:window.location.origin},e)}function o(){f()||r()}}(),hj.settings.site_id){var n=(0,j.pZ)();a.r.init(),e._configureStateChangeListenMode(),e._queueInitMessage(),e._runPage(t),O.init(),hj.isIncludedInSample=function(){return hj.store.session.get("session.inSample")},n&&!n.existing&&(0,y.IU)({firstSeen:!0}),!hj.features.hasFeature("wsky.session_rate_limiting")&&hj.store.session.get("user.id")&&hj.store.session.set("sessionAccepted",!0),e._verifyInstallationAuto(),e._verifyInstallation(),hj.command.activate(),"1"===hj.url.getParameter("hjIncludeInSample")&&(0,r.c)({title:"Hotjar tracking active.",message:"Hotjar tracking is active for your session.",status:"good"})}else hj.log.warn("Script execution for halted due to no site id: ".concat(window.location.href),"init")}),"init"),e.reinit=hj.tryCatch((function(t,n){hj.currentUrl=t,hj.widget.emptyMatchingWidgets(),hj.metrics.reset(),n&&(b.t.items.HAS_CACHED_USER_ATTRIBUTES.clear(),b.t.localStorage.USER_ATTRIBUTES.clear(),m.N.reset()),e._runPage(t,n)}),"init"),e._runPage=hj.tryCatch((function(e,t){(0,y.oc)(t),hj.optOut||(hj.store.session.get("session.inSample")&&!(0,o.W)(e)&&(hj.visitData.track(e),(0,j.Iv)()),hj.visitData.trackView()),hj.hq.each(hj.loader.getModules(),(function(t,n){hj.optOut&&!n.nonTracking||(hj.log.debug("Running module","init",n.name),n.module.run(e))})),(0,c.runWidgets)(e)}),"init"),e}),"init")(),hj.hq(document).ready((function(){hj.log.debug("Document is ready. Initializing...","init"),hj.scriptContextId=(0,u.v4)(),hj._init.run(location.href),(hj.metrics.getConfig("browser").inLab||hj.metrics.getState("isMetricsEnabled"))&&(0,i.H)(s.vO.BROWSER_PERF)})))}),"init")()},4416:function(e,t,n){"use strict";n.r(t);var r=n(9780);function o(e){return o="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},o(e)}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n-1})).reduce((function(e,t){return a(a({},e),{},s({},t[0],t[1]))}),{});return t.t?{event:t.t,category:t.ec||"",action:t.ea||"",label:t.el||"",value:t.ev||""}:{}}(e.get("hitPayload"));"event"===n.event&&d("ga",n)}))}))}function h(e,t){!t||!t.length||t.length<2||"event"!==t[0]||d(e,{action:t[1],category:t[2]&&t[2].event_category||"",label:t[2]&&t[2].event_label||"",value:t[2]&&t[2].value||""})}function d(e,t){if(!function(e){return"detect_user"===e.action&&"Hotjar"===e.category}(t)){var n=function(e){return"GA_"+[e.action,e.category,e.label,e.value].filter((function(e){return 0===e||Boolean(e)})).join("-")}(t),r=function(e){return"GA_"+e.action}(t);hj.log.debug("intercepting ".concat(e,": ")+JSON.stringify(t)),hj("event",n),n!==r&&hj("event",r),hj.event.signal("int.ga",t)}}var f,g,p={gaClientSent:!1,gtagClientSent:!1,dataLayerSent:!1},v=function(e){return p[e]},m=function(e,t){p[e]&&(p[e]=t)},y=(0,r.JJ)("ga.forward_events","integration"),j=!1,b=hj.tryCatch((function(){if(!j){j=!0;var e=u(),t="function"==typeof window.gtag;(0,r.PY)((function(){return void 0!==window.dataLayer&&void 0!==window.dataLayer.length}),(function(e){if(e)return y("Intercepting dataLayer"),function(){var e=window.dataLayer;if(!0!==e._hj){e.forEach((function(e){h("dataLayer",e)}));var t=e.push;e.push=function(){t.apply(e,arguments),h("dataLayer",arguments[0])},e._hj=!0}}(),void(v("dataLayerSent")||(hj.metrics.count("ga-version",{tag:{version:"datalayer"}}),m("dataLayerSent",!0)));var n;t&&(y("Intercepting gtag"),n=window.gtag,window.gtag=function(){var e=Array.prototype.slice.call(arguments);n.apply(null,e),h("gtag",e)},v("gtagClientSent")||(hj.metrics.count("ga-version",{tag:{version:"gtag"}}),m("gtagClientSent",!0)))}),3e3,5),e&&(y("Intercepting ga"),l(),v("gaClientSent")||(hj.metrics.count("ga-version",{tag:{version:"ga"}}),m("gaClientSent",!0)))}}),"ga.forward_events"),w={setup:b},S=(0,r.JJ)("ga.send_hjuid"),_=60,C=!0,E=!1,I=hj.tryCatch((function(){E||(E=!0,hj.store.session.on("user.id",(function(e){"string"!=typeof e||e.length<8?S("invalid userid: '".concat(e,"'")):(S("got userId"),g=e.substring(0,8),O())})),T())}),"integrations.googleAnalytics"),T=hj.tryCatch((function(){if(!f){if(u()){v("gaClientSent")||(hj.metrics.count("ga-version",{tag:{version:"ga"}}),m("gaClientSent",!0));var e=window[window.GoogleAnalyticsObject||"ga"];return S("`ga` variable is available, waiting for tracker."),void e((function(e){N(e,!0)}))}_<=0?S("given up looking for GA module"):(_-=1,setTimeout(T,500))}}),"integrations"),N=hj.tryCatch((function(e,t){e&&(f&&t||(f!==e&&(S("got fresh tracker"),C=!0),f=e,O()))}),"integrations"),O=hj.tryCatch((function(){C&&g&&f&&(C=!1,f.send("event","Hotjar","detect_user",g,{nonInteraction:1}),S("successfully sent detect_user event"))}),"integrations"),R={setup:I,setTracker:hj.tryCatch((function(e){N(e,!1)}),"integrations.googleAnalytics")},A=(0,r.JJ)("ga.send_hjuid_gtag"),k=!1,x=hj.tryCatch((function(){if(!k){k=!0;var e=window.dataLayer;void 0!==e?(v("datalayerSent")||(hj.metrics.count("ga-version",{tag:{version:"datalayer"}}),m("datalayerSent",!0)),v("gtagClientSent")||(hj.metrics.count("ga-version",{tag:{version:"gtag"}}),m("gtagClientSent",!0)),hj.store.session.on("user.id",(function(e){if(e&&"string"==typeof e&&!(e.length<8)){var n=e.substring(0,8);t("set","user_properties",{hjuid:n}),t("event","detect_user",{event_category:"Hotjar",event_label:n,non_interaction:!0})}}))):A("`dataLayer` is undefined")}function t(){A("calling gtag(".concat((0,r.IN)(arguments),")")),e.push(arguments)}}),"ga.send_hjuid_gtag"),P={forwardEvents:w,sendHotjarUserId:R,sendHotjarUserIdGtag:{setup:x}},D=function(){return null!==hj.bridge.storage.items.HUBSPOT_UTK.get()},M=(0,r.JJ)("hubspot","integrations"),U={setup:hj.tryCatch((function(){M("HubSpot setup started"),(0,r.PY)(D,(function(e){if(e){var t=hj.bridge.storage.items.HUBSPOT_UTK.get();M("HubSpot UTK found: ".concat(t)),hj.event.signal("int.hubspot",{utk:t})}else M("HubSpot UTK cookie not found")}),5e3,5)}),"hubspot.setup")},L=(0,r.JJ)("optimizely","integration"),H=window.optimizely;function V(){L("looking for tags.");var e=H.get("state").getExperimentStates({isActive:!0});for(var t in e){var n=e[t],r=(n.isInExperimentHoldback?"HB_":"")+n.experimentName,o=n.variation.name||n.variation.id;hj.event.signal("exp.opt",{experimentId:r,variantId:o}),hj("event",r+"/"+o)}}var q={setup:hj.tryCatch((function(){void 0!==H&&"function"==typeof H.push&&"function"==typeof H.get&&void 0!==H.get("state")&&void 0!==H.get("data")?(L("listening for campaignDecided event."),(H=window.optimizely||[]).push({type:"addListener",filter:{name:"campaignDecided"},handler:function(e){"applied"===e.name&&(L("campaign decided; ready to tag experiments."),V())}}),V()):L("`window.optimizely` is not ready")}),"optimizely.setup")},W={setup:hj.tryCatch((function(){void 0!==window.ub&&void 0!==window.ub.page&&void 0!==window.ub.page.variantId?(hj.log.debug("Unbounce experiment in page '".concat(window.ub.page.name,"' is on variant '").concat(window.ub.page.variantId,"'"),"integration",window.ub),hj.event.signal("exp.ub",{experimentId:window.ub.page.name,variantId:window.ub.page.variantId}),hj("event","".concat((0,r.cr)(window.ub.page.name),"-variant-").concat(window.ub.page.variantId))):hj.log.debug("Unbounce experiment not found","integration")}),"unbounce.setup")},B=(0,r.JJ)("mixpanel.send_events"),z=function(){return void 0!==window.mixpanel&&void 0!==window.mixpanel.set_config},F={setup:hj.tryCatch((function(){(0,r.PY)(z,(function(e){e?(B("Registering mixpanel hook"),window.mixpanel.set_config({hooks:{before_send_events:function(e){var t=(0,r.cr)(e.event);return B("sending mixpanel payload: ".concat(e.event)),hj("event","MP_".concat(t)),hj.event.signal("int.mp",{event:t}),e}}})):B("mixpanel global object not found or set_config not ready")}),3e3,5)}),"mixpanel.setup")},G=(0,r.JJ)("ab-tasty","integration");function Y(){return void 0!==window.ABTasty&&void 0!==window.ABTasty.hitServiceNotifierSubscribe}var K={setup:hj.tryCatch((function(){function e(e){if("CAMPAIGN"===e.type&&e.data&&e.data.caname&&e.data.vaname){var t=e.data,n=t.caname,o=t.vaname;G("AB Tasty campaign '".concat(n,"' is on variant '").concat(o,"'"),e),hj.event.signal("exp.abt",{experimentId:n,variantId:o},!0);var i=(0,r.cr)("".concat(n,"-").concat(o));hj("event",i),G("Sending event '".concat(i,"'"))}else G("Invalid AB Tasty event",e)}(0,r.PY)(Y,(function(t){t?(G("AB Tasty global object found"),window.ABTasty.hitServiceNotifierSubscribe(e,"CAMPAIGN",{withHitHistory:!0})):G("AB Tasty global object not found")}),2e3,10)}),"abTasty.setup")},J=(0,r.JJ)("kissmetrics","integration"),X=function(){return void 0!==window.KM&&void 0!==window.KM.i},$={setup:hj.tryCatch((function(){(0,r.PY)(X,(function(e){if(e){var t=window.KM.i();J("Kissmetrics User ID found: ".concat(t)),hj("identify",null,{kissmetrics_id:t})}}),5e3,5)}),"kissmetrics.setup")};hj.tryCatch((function(){hj.loader.registerModule("IntegrationsModule",(hj.integrations=hj.tryCatch((function(){return{optimizely:q,google_analytics:P,hubspot:U,unbounce:W,mixpanel:F,abTasty:K,kissmetrics:$}}),"integrations")(),{run:hj.tryCatch((function(){var e=hj.settings.integrations;e&&(e.optimizely&&e.optimizely.tag_recordings&&hj.integrations.optimizely.setup(),e.google_analytics&&(e.google_analytics.tag_sessions&&hj.integrations.google_analytics.forwardEvents.setup(),e.google_analytics.send_hotjar_id&&(hj.integrations.google_analytics.sendHotjarUserId.setup(),hj.integrations.google_analytics.sendHotjarUserIdGtag.setup())),e.unbounce&&e.unbounce.tag_recordings&&hj.integrations.unbounce.setup(),e.mixpanel&&e.mixpanel.send_events&&hj.integrations.mixpanel.setup(),e.hubspot&&e.hubspot.enabled&&e.hubspot.send_recordings&&hj.integrations.hubspot.setup(),e.abtasty&&e.abtasty.tag_recordings&&hj.integrations.abTasty.setup(),e.kissmetrics&&e.kissmetrics.send_user_id&&hj.integrations.kissmetrics.setup())}))}),!1)}),"integrations")()},6402:function(){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)}try{!function(t,n){var r=function(e){return new o(e)};r.isValidSelector=function(e){try{return hj.hq(e),!0}catch(e){return!1}},r.isEmptyObject=function(e){return!Object.keys(e).length},r.isFunction=function(e){return"function"==typeof e},r.isWindow=function(e){return e===t},r.isDocument=function(e,t){return e===(t||n)},r.noop=function(){},r.stringify=function(e){if(void 0===Array.prototype.toJSON)return JSON.stringify(e);var t=Array.prototype.toJSON;delete Array.prototype.toJSON;try{return JSON.stringify(e)}finally{Array.prototype.toJSON=t}},r.each=function(t,n){var r,o,i;if("object"===e(t)&&"[object Array]"!==Object.prototype.toString.call(t)){if((o=t[Object.keys(t)[0]])&&void 0!==o.nodeName){for(r in t)if(Object.prototype.hasOwnProperty.call(t,r)&&"length"!==r&&!1===n(r,t[r],t))break}else for(r in t)if(Object.prototype.hasOwnProperty.call(t,r)&&!1===n(r,t[r],t))break}else if(void 0!==t)for(i=0;i=200&&t.status<400?r.isFunction(e.success)&&e.success(t.responseText&&JSON.parse(t.responseText),t):r.isFunction(e.error)&&e.error(t)},t.onerror=function(){r.isFunction(e.error)&&e.error(t)},t.ontimeout=function(){r.isFunction(e.timeout)&&e.timeout(t)},r.isFunction(e.requestAnnotator)&&e.requestAnnotator(t),"POST"!==e.type&&"PUT"!==e.type||!e.data?t.send():t.send(e.data)},r.get=function(e,t){var n=new XMLHttpRequest;n.open("GET",e,!0),n.timeout=15e3,n.onload=function(){n.status>=200&&n.status<400&&t&&t(n.responseText)},n.send()},r.eventHandlers={},r.selector="";var o=function(t){var o,i,a,s=window._hjDocument||n;if(r.selector=t,r.isWindow(t))return this[0]=window,this.length=1,this;if(r.isDocument(t,s))return this[0]=s,this.length=1,this;if("object"===e(t))return this[0]=t,this.length=1,this;if("string"==typeof t&&"<"===t.charAt(0)&&">"===t.charAt(t.length-1)&&t.length>=3)return(o=s.createElement("div")).innerHTML=t,this[0]=o.childNodes[0],this.length=1,this;if("string"==typeof t){isNaN(t.charAt(1))||"."!==t.charAt(0)&&"#"!==t.charAt(0)||(t=t.charAt(0)+"\\3"+t.charAt(1)+" "+t.slice(2));try{i=s.querySelectorAll(t)}catch(e){return this.length=0,this}for(a=0;a0&&(this[0].value=e),void 0===this[0]?void 0:this[0]?this[0].value:""},o.prototype.text=function(e){return void 0===e?this[0].textContent:this[0].textContent=e},o.prototype.each=function(e,t){Array.prototype.forEach.call(this,(function(e,n,r){t(n,e,r)}))},o.prototype.append=function(t){var o;"object"===e(t)?"body"===r.selector?n.body.appendChild(t.get(0)):this[0].appendChild(t.get(0)):"body"===r.selector?((o=n.createElement("div")).innerHTML=t,n.body.appendChild(o)):((o=n.createElement("div")).innerHTML=t,this[0].appendChild(o))},o.prototype.hasClass=function(e){return this[0].classList?this[0].classList.contains(e):new RegExp("(^| )"+e+"( |$)","gi").test(this[0].className)},o.prototype.addClass=function(e){var t;for(t=0;t=0;o-=1)if(r[o]===e)return!0;return!1}(this[0],e)},o.prototype.remove=function(){var e;for(e=0;e-1&&i.call(d,e)}},Array.isArray(r.eventHandlers[u])||(r.eventHandlers[u]=[]),r.eventHandlers[u].push(l),n.addEventListener(p[c].split(".")[0],l,!0)):("boolean"==typeof o&&!1===o&&(o=function(e){return e.preventDefault(),!1}),Array.isArray(r.eventHandlers.document)||(r.eventHandlers.document=[]),r.eventHandlers.document.push(o),this[0].addEventListener(p[c].split(".")[0],o,a));else if(r.isDocument(this[0]))for(c=0;c-1))return r(this[0]).get(0).nodeName.toLowerCase()===t;if((n=/([A-Za-z]+)\[([A-Za-z-]+)=([A-Za-z]+)]/g.exec(t)).length)return r.each(r(this[0]).get(0).attributes,(function(e,t){t.name===n[2]&&t.value===n[3]&&(o=!0)})),r(this[0]).get(0).nodeName.toLowerCase()===n[1]&&o}},o.prototype.css=function(t,n){var r,o;for(o=0;o1&&void 0!==arguments[1]?arguments[1]:0,n=(i[e[t+0]]+i[e[t+1]]+i[e[t+2]]+i[e[t+3]]+"-"+i[e[t+4]]+i[e[t+5]]+"-"+i[e[t+6]]+i[e[t+7]]+"-"+i[e[t+8]]+i[e[t+9]]+"-"+i[e[t+10]]+i[e[t+11]]+i[e[t+12]]+i[e[t+13]]+i[e[t+14]]+i[e[t+15]]).toLowerCase();if(!o(n))throw TypeError("Stringified UUID is invalid");return n};function c(e,t,n,r){switch(e){case 0:return t&n^~t&r;case 1:case 3:return t^n^r;case 2:return t&n^t&r^n&r}}function u(e,t){return e<>>32-t}var l,h=function(e,t,n){function r(e,t,r,i){if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));for(var t=[],n=0;n>>24,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=255&t,n[4]=(t=parseInt(e.slice(9,13),16))>>>8,n[5]=255&t,n[6]=(t=parseInt(e.slice(14,18),16))>>>8,n[7]=255&t,n[8]=(t=parseInt(e.slice(19,23),16))>>>8,n[9]=255&t,n[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,n[11]=t/4294967296&255,n[12]=t>>>24&255,n[13]=t>>>16&255,n[14]=t>>>8&255,n[15]=255&t,n}(t)),16!==t.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var a=new Uint8Array(16+e.length);if(a.set(t),a.set(e,t.length),(a=n(a))[6]=15&a[6]|80,a[8]=63&a[8]|128,r){i=i||0;for(var c=0;c<16;++c)r[i+c]=a[c];return r}return s(a)}try{r.name="v5"}catch(e){}return r.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",r.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8",r}(0,0,(function(e){var t=[1518500249,1859775393,2400959708,3395469782],n=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){var r=unescape(encodeURIComponent(e));e=[];for(var o=0;o>>0;w=b,b=j,j=u(y,30)>>>0,y=m,m=C}n[0]=n[0]+m>>>0,n[1]=n[1]+y>>>0,n[2]=n[2]+j>>>0,n[3]=n[3]+b>>>0,n[4]=n[4]+w>>>0}return[n[0]>>24&255,n[0]>>16&255,n[0]>>8&255,255&n[0],n[1]>>24&255,n[1]>>16&255,n[1]>>8&255,255&n[1],n[2]>>24&255,n[2]>>16&255,n[2]>>8&255,255&n[2],n[3]>>24&255,n[3]>>16&255,n[3]>>8&255,255&n[3],n[4]>>24&255,n[4]>>16&255,n[4]>>8&255,255&n[4]]})),d=h,f=new Uint8Array(16);function g(){if(!l&&!(l="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return l(f)}var p=function(e,t,n){var r=(e=e||{}).random||(e.rng||g)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var o=0;o<16;++o)t[n+o]=r[o];return t}return s(r)},v="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),m=new Array(16),y=v?void 0:function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),m[t]=e>>>((3&t)<<3)&255;return m},j=d,b=function(e,t,n){return y&&((e=e||{}).rng=y),p(e,t,n)}},6120:function(e,t,n){"use strict";n.d(t,{c:function(){return a}});var r=n(9982),o=n(8422),i=!1,a=function(e){var t=e.title,n=e.message,a=e.status;i?hj.widget.renderNotificationWidget({title:t,message:n,status:a}):(0,r.H)(o.vO.NOTIFICATION,(function(){i=!0,hj.widget.renderNotificationWidget({title:t,message:n,status:a})}))}},4005:function(e,t,n){"use strict";n.r(t);var r=["button","reset","submit"],o=["password","email","hidden"],i=["default-style","content-type","refresh"],a=["style","script"],s=["address","address1","address2","addressline1","addressline2","cell","cellphone","dateofbirth","dob","email","familyname","firstname","fullname","lastname","mobile","name","phone","postalcode","postcode","surname","tel","telephone","username","zip","zipcode","nationalinsurancenumber","nin","ppsn","security","securitynum","socialsec","socialsecuritynumber","socsec","ssn","adgangskode","authpw","contrasena","contrasenya","contraseña","contrasinal","cyfrinair","fjalëkalim","focalfaire","geslo","hasło","heslo","jelszó","kennwort","kωδικός","kωδικόςπρόσβασης","lozinka","lykilorð","lösenord","motdepasse","parakalw","parola","paroladordine","parole","parool","pasahitza","pass","passord","password","passwort","pw","pwd","pword","pwrd","salasana","sapwd","senha","sifre","slaptažodis","userpw","userpwd","wachtwoord","лозинка","парола","пароль","פּאַראָל","كلمهالسر","पासवर्ड","パスワード","密码","密碼","암호","cc","cccsc","cccvc","cccvv","ccexp","ccexpiry","ccexpmonth","ccexpyear","ccname","ccnum","ccnumber","cctype","creditcard","csc","cvc","cvv","exp","accountnum","accountnumber","bic","iban","ibanaccountnum","ibanaccountnumber","pin","pinno","pinnum","secq","secret","secretq","secretquestion","securityq","securityquestion","sortcode","swift"],c=n(8564),u=/\d+/,l=new RegExp(u.source,"g"),h=/[^@\s]+@[^@\s]+\.[^@\s]+/,d=new RegExp(h.source,"g"),f=/([+(]{0,2}\d[-_ ()/]{0,4}){9,}/,g=new RegExp(f.source,"g"),p=function(){return Math.random()<.5?-1:1},v=hj.tryCatch((function(e){return e&&e.parentNode?"#document-fragment"===e.parentNode.nodeName?e.parentNode.host:e.parentNode:null}),"hj.privacy.getParentNode"),m=hj.tryCatch((function(e){var t=Object.prototype.toString.call(e);return-1!==["[object HTMLDocument]","[object Document]"].indexOf(t)}),"hj.privacy._isDocument"),y=hj.tryCatch((function(e){return f.test(e)}),"hj.privacy._hasCCNumOrSSN"),j=hj.tryCatch((function(e){return e.indexOf("@")>-1&&h.test(e)}),"hj.privacy._hasEmail"),b=hj.tryCatch((function(e){return u.test(e)}),"hj.privacy._hasDigitSequence"),w=/(?:\d{1,3}\.){3}\d{1,3}/,S=/(?:[A-F0-9]{1,4}:){7}[A-F0-9]{1,4}/,_=hj.tryCatch((function(e){return w.test(e)||S.test(e)}),"hj.privacy._hasIPAddress"),C=hj.tryCatch((function(e){return e.value||e.textContent}),"hj.privacy._getTextFromElement"),E=hj.tryCatch((function(e){if(e&&"string"==typeof e)return Boolean(e.match(/^\s*data:(image\/[a-z]+|application\/octet-stream);base64,([A-Za-z0-9+/=])+\s*$/))}),"hj.privacy._isBase64Value"),I=/\S+/g,T=/\s?background[^;]+;?\s?/g,N=hj.tryCatch((function(e,t){return new Array((e||16)+1).join(t||"*")}),"Suppresser.createReplacementStr"),O=hj.tryCatch((function(e){var t={};return e.style&&e.style.width||(t.width=e.offsetWidth+"px"),e.style&&e.style.height||(t.height=e.offsetHeight+"px"),t}),"Suppresser.getSuppressedImageSize"),R=hj.tryCatch((function(e){return e&&e.length?e.replace(I,(function(e){return N(Math.max(1,e.length+p()))})):N(16+p())}),"Suppresser.textContentHandler"),A=hj.tryCatch((function(e){var t=e&&e.slice(0,2083);return t&&t.length&&(hj.settings.anonymize_emails&&(t=t.replace(d,R)),hj.settings.anonymize_digits&&t&&t.length&&(t=t.replace(l,R)),t=t.replace(g,(function(e){return e.replace(l,R)}))),t}),"Suppresser.textContentHandler"),k=hj.tryCatch((function(e){var t=e?16:10;return new Date(2839968e5).toISOString().substring(0,t)}),"Suppresser.getLocalDateStr"),x=hj.tryCatch((function(e){if(e)return e.replace(T,"")}),"Suppresser.imageStyleHandler"),P={text:R,full:R,partial:A,textContent:A,imgStyle:x,password:function(){return N()},number:function(){return N(16,"1")},date:function(){return k(!1)},datetime:function(){return k(!0)},"datetime-local":function(){return k(!0)},time:function(){return"00:00"},month:function(){return"1979-01"},week:function(){return"1979-W1"}},D={getSuppressedText:function(e,t){var n=P[e];return n?n(t):R(t)},getSuppressedImageNode:function(e){var t={src:"",meta:{style:O(e)}},n=x(e.getAttribute("style"));return n&&(t.style=n),t},textHandler:R};function M(e){return M="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},M(e)}var U=hj.tryCatch((function(e){var t=e.tagName.toLowerCase(),n=e.type.toLowerCase();return"input"===t&&o.indexOf(n)>-1}),"hj.privacy._isSupressedInputType"),L=hj.tryCatch((function(e){var t=e.tagName.toLowerCase(),n=e.type.toLowerCase();return"input"===t&&r.indexOf(n)>-1}),"hj.privacy._isAllowlistedInputType"),H=hj.tryCatch((function(e){if(e&&e.tagName){var t=e.tagName.toLowerCase();return a.indexOf(t)>-1}}),"hj.privacy._isAllowlistedElement"),V=hj.tryCatch((function(e){var t=e&&e["http-equiv"]&&e["http-equiv"].value;return!t||i.some((function(e){return!!t.match(e)}))}),"hj.privacy._isValidHttpEquiv"),q=hj.tryCatch((function(e){return[e.name,e.id].map((function(e){return e.replace(/[\s_-]+/g,"").toLocaleLowerCase()})).some((function(e){return s.indexOf(e)>-1}))}),"hj.privacy._hasSuppressedNameOrId"),W=hj.tryCatch((function(e){return"object"===M(e.attributes)&&(void 0!==e.attributes["data-hj-suppress"]||void 0!==e.attributes["data-hj-masked"])||"string"==typeof e.className&&e.className&&e.className.indexOf("data-hj-suppress")>-1}),"hj.privacy._isExplicitlySuppressed"),B=hj.tryCatch((function(e){for(;e&&!m(e);){if(W(e))return!0;e=v(e)}return!1}),"hj.privacy._isSelfOrAncestorSuppressed"),z=hj.tryCatch((function(e){return hj.settings.recording_capture_keystrokes&&(e.attributes&&void 0!==e.attributes["data-hj-whitelist"]||e.className&&e.className.indexOf("data-hj-whitelist")>-1||e.attributes&&void 0!==e.attributes["data-hj-allow"]||e.className&&e.className.indexOf("data-hj-allow")>-1)}),"hj.privacy._isUserAllowlisted"),F=[U,q,function(e){return y(C(e))},function(e){return j(C(e))}],G=hj.tryCatch((function(e){return F.some((function(t){return t(e)}))}),"hj.privacy._shouldSuppressInputOrTextarea"),Y=[function(e){return!(!e||!hj.settings.anonymize_digits)&&b(e)},function(e){return!(!e||hj.settings.anonymize_digits)&&y(e)},function(e){return!(!e||!hj.settings.anonymize_emails)&&"string"==typeof e&&j(e)}],K=hj.tryCatch((function(e,t){return(!t||!H(t))&&Y.some((function(t){return t(e)}))}),"hj.privacy._shouldSuppressTextContent"),J=hj.tryCatch((function(e){var t,n,r;if(!Boolean(e.parentNode))return null;var o=null!==(t=(null===(n=e.parentNode)||void 0===n?void 0:n.nodeType)===Node.DOCUMENT_FRAGMENT_NODE&&(null===(r=e.parentNode)||void 0===r?void 0:r.synthetic))&&void 0!==t&&t,i=e.parentNode;return o?i.host:i}),"hj.privacy._getParentNode"),X={isRiskyNotAllowlistedOrSuppressedElement:hj.tryCatch((function(e,t){if(void 0===e||!e||void 0===e.tagName)return!1;if(c.f.get()||hj.settings.suppress_all)return!0;if(hj.settings.suppress_text)return"IMG"!==e.tagName&&"VIDEO"!==e.tagName&&"SOURCE"!==e.tagName||!t||"src"!==t.name&&"style"!==t.name&&"srcset"!==t.name||B(e);var n="TEXTAREA"===e.tagName||"INPUT"===e.tagName&&!L(e);return n&&z(e)?G(e):n||B(e)}),"hj.privacy.isRiskyNotAllowlistedOrSuppressedElement"),isAttributeSuppressable:hj.tryCatch((function(e,t,n,r){var o={INPUT:{attrs:["value","placeholder"]},TEXTAREA:{attrs:["value","placeholder"]},A:{attrs:["href"],shouldSuppressAttrValueCheck:function(e){return!(e&&e.match(/^data:/))}},OPTION:{attrs:["label","value"]},PROGRESS:{attrs:["value"]},OPTGROUP:{attrs:["label"]},IMG:{attrs:["alt"]},VIDEO:{attrs:["alt"]},SOURCE:{attrs:["alt"]},DIV:{attrs:["title"]},SPAN:{attrs:["title"]},P:{attrs:["title"]},META:function(e,t,n){switch(e){case"content":return!(n&&n.name&&"viewport"===n.name.value||n&&n["http-equiv"]&&V(n));case"name":return"viewport"!==t;case"http-equiv":return!V(n);case"charset":return!1;default:return!0}}}[e];return void 0!==o&&("function"==typeof o?o(t,n,r):!(o.attrs.indexOf(t)<0)&&(void 0===o.shouldSuppressAttrValueCheck||o.shouldSuppressAttrValueCheck(n)))}),"hj.privacy.isAttributeSuppressable"),hasPotentialPIIData:hj.tryCatch((function(e,t){var n=!t||m(t)?null:t;return K(e,n)}),"hj.privacy.hasPotentialPIIData"),getSuppressedText:hj.tryCatch((function(e,t){return D.getSuppressedText(e,t)}),"hj.privacy.getSuppressedText"),getSuppressedTextNode:hj.tryCatch((function(e,t){var n=J(e),r=t||X.isRiskyNotAllowlistedOrSuppressedElement(n),o=r||n&&"textarea"===n.type?"full":"partial";return{content:(r=!H(n)&&!!e.textContent&&!E(e.textContent)&&(r||X.hasPotentialPIIData(e.textContent,n)))?D.getSuppressedText(o,e.textContent):e.textContent,shouldSuppressNode:Boolean(r),suppressionType:r?o:"none"}}),"hj.privacy.getSuppressedTextNode"),getSuppressedNodeAttribute:hj.tryCatch((function(e,t,n){var r=t.value,o=t.name,i=n;if("data-hj-suppressed"!==o)return"IMG"!==e.tagName&&"VIDEO"!==e.tagName&&"SOURCE"!==e.tagName||"src"!==o&&"srcset"!==o&&"style"!==o||(i=X.isRiskyNotAllowlistedOrSuppressedElement(e,t),X.isRiskyNotAllowlistedOrSuppressedElement(e,t)&&(o="data-hj-suppressed",r=D.getSuppressedImageNode(e))),!E(r)&&X.isAttributeSuppressable(e.tagName,o,r,e.attributes)&&((i=i||X.isRiskyNotAllowlistedOrSuppressedElement(e))||"META"===e.tagName?r=D.getSuppressedText("full",r):X.hasPotentialPIIData(r)&&(r=D.getSuppressedText("partial",r))),{name:o,value:r,shouldSuppressNode:i}}),"hj.privacy.getSuppressedTextNode"),getSuppressedNode:hj.tryCatch((function(e,t){for(var n={},r=t,o=0;o0&&(this.activeRefreshTimerId=null,this.keepAliveSeconds>0&&setInterval((function(){return t.refreshExpiryWithThrottling(y)}),1e3*f),p&&(document.addEventListener("click",(function(){return t.refreshExpiryWithThrottling(y)}),!1),document.addEventListener("mousemove",(function(){return t.refreshExpiryWithThrottling(y)}),!1),document.addEventListener("keypress",(function(){return t.refreshExpiryWithThrottling(y)}),!1),document.addEventListener("scroll",(function(){return t.refreshExpiryWithThrottling(y)}),!1),document.addEventListener("visibilitychange",(function(){return t.refreshExpiryWithThrottling(y)}),!1))),this.cookie=r.Z.withAttributes(c(a))}function l(e){var t=e.key;this.key=t}function h(e){u.call(this,e)}u.prototype.getKey=function(){return this.key},u.prototype.get=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).resetExpiry,t=void 0!==e&&e;try{var n=this.cookie.get(this.key)||null;if(!this.isSessionOnly&&this.shouldSync&&(n=this.sync(n)),t&&this.ttlSeconds&&n){var r=s(this.ttlSeconds,this.shouldExpireAtMidnight);this.cookie.set(this.key,n,{expires:r})}return n}catch(e){return hj.log.debug("Cookie Error: ".concat(e.message),"cookies"),void hj.metrics.count("session-rejection",{tag:{reason:"cookies"},extraTags:{cookie:this.key,message:e.message}})}},u.prototype._setCookie=function(e){var t=s(this.ttlSeconds,this.shouldExpireAtMidnight);this.cookie.set(this.key,e,{expires:t})},u.prototype._setLocalStorage=function(e){m.canUseLocalStorage()&&window.localStorage.setItem(this.key,e)},u.prototype._getLocalStorage=function(){if(m.canUseLocalStorage())return window.localStorage.getItem(this.key)},u.prototype._removeLocalStorage=function(){m.canUseLocalStorage()&&window.localStorage.removeItem(this.key)},u.prototype.set=function(e,t){this._setCookie(e),!t&&this.shouldSync&&(this.isSessionOnly||this._setLocalStorage(e))},u.prototype.setEncoded=function(e,t){e!==decodeURIComponent(e)&&(e=decodeURIComponent(e)),this._setCookie(e);var n=encodeURIComponent(e);!t&&this.shouldSync&&(this.isSessionOnly||this._setLocalStorage(n))},u.prototype.clear=function(){this.cookie.remove(this.key),this.isSessionOnly||this._removeLocalStorage()},u.prototype.sync=function(e){if(!m.canUseLocalStorage()||!this.shouldSync)return e;var t=this._getLocalStorage(),n=e;return e?this._setLocalStorage(e):t&&!e&&(this.set(t,!0),n=t),n},u.prototype.refreshExpiryWithThrottling=function(e){var t=this;this.activeRefreshTimerId||this.hasExceededCookieMaxDuration||(this.activeRefreshTimerId=setTimeout((function(){t.hasExceededCookieMaxDuration=e&&e(t.clear.bind(t)),t.hasExceededCookieMaxDuration||t.get({resetExpiry:!0}),t.activeRefreshTimerId=null}),1e3*o.E$))},l.prototype.getKey=function(){return this.key},l.prototype.get=function(){return this._getLocalStorage()},l.prototype.set=function(e){this._setLocalStorage(e)},l.prototype.clear=function(){this._removeLocalStorage()},l.prototype._setLocalStorage=function(e){m.canUseLocalStorage()&&window.localStorage.setItem(this.key,e)},l.prototype._getLocalStorage=function(){if(m.canUseLocalStorage())return window.localStorage.getItem(this.key)},l.prototype._removeLocalStorage=function(){m.canUseLocalStorage()&&window.localStorage.removeItem(this.key)},h.prototype=Object.create(u.prototype),h.prototype.constructor=h,h.prototype.exists=function(e){var t=this.get();t=t?t.split(","):[];for(var n=0;n0)return!0;if(m.items.COOKIE_TEST.set("1"),"1"===m.items.COOKIE_TEST.get())return m.items.COOKIE_TEST.clear(),!0}catch(e){return hj.metrics.count("session-rejection",{tag:{reason:"cookies"}}),!1}}()),this.areCookiesSupported()},canUseLocalStorage:hj.tryCatch((function(){if(null!==g)return g;try{localStorage.setItem("_hjLocalStorageTest",1),localStorage.removeItem("_hjLocalStorageTest"),g=!0}catch(e){g=!1}return g}),"storage.canUseLocalStorage"),canUseSessionStorage:hj.tryCatch((function(){if(null!==p)return p;try{sessionStorage.setItem("_hjSessionStorageTest",1),sessionStorage.removeItem("_hjSessionStorageTest"),p=!0}catch(e){p=!1}return p}),"storage.canUseSessionStorage")};hj.storage=m},2377:function(e,t,n){"use strict";n.r(t);var r,o,i=((o=function(){return r()}).test=r=function(){var e;if(!navigator)return"No User-Agent Provided";if(null!==(e=navigator.userAgentData)&&void 0!==e&&e.mobile)return"mobile";var t=function(e){return navigator.userAgent.match(e)};return t(/GoogleTV|SmartTV|Internet.TV|NetCast|NETTV|AppleTV|boxee|Kylo|Roku|DLNADOC|CE\-HTML/i)||t(/Xbox|PLAYSTATION.3|Wii/i)?"tv":t(/iPad/i)||t(/tablet/i)&&!t(/RX-34/i)||t(/FOLIO/i)||t(/Linux/i)&&t(/Android/i)&&!t(/Fennec|mobi|HTC.Magic|HTCX06HT|Nexus.One|SC-02B|fone.945|Chromebook/i)||t(/Kindle/i)||t(/Mac.OS/i)&&t(/Silk/i)||t(/GT-P10|SC-01C|SHW-M180S|SGH-T849|SCH-I800|SHW-M180L|SPH-P100|SGH-I987|zt180|HTC(.Flyer|\_Flyer)|Sprint.ATP51|ViewPad7|pandigital(sprnova|nova)|Ideos.S7|Dell.Streak.7|Advent.Vega|A101IT|A70BHT|MID7015|Next2|nook/i)||t(/MB511/i)&&t(/RUTEM/i)?"tablet":t(/BOLT|Fennec|Iris|Maemo|Minimo|Mobi|mowser|NetFront|Novarra|Prism|RX-34|Skyfire|Tear|XV6875|XV6975|Google.Wireless.Transcoder/i)||t(/Opera/i)&&t(/Windows.NT.5/i)&&t(/HTC|Xda|Mini|Vario|SAMSUNG\-GT\-i8000|SAMSUNG\-SGH\-i9/i)?"mobile":t(/Windows.(NT|XP|ME|9)/)&&!t(/Phone/i)||t(/Win(9|.9|NT)/i)||t(/Macintosh|PowerPC/i)&&!t(/Silk/i)||t(/Linux/i)&&t(/X11/i)||t(/Solaris|SunOS|BSD/i)||t(/Bot|Crawler|Spider|Yahoo|ia_archiver|Covario-IDS|findlinks|DataparkSearch|larbin|Mediapartners-Google|NG-Search|Snappy|Teoma|Jeeves|TinEye/i)&&!t(/Mobile/i)||t(/\b(CrOS|Chromebook)\b/i)?"desktop":"mobile"},o),a=n(9521),s=n(5547);hj.tryCatch((function(){var e,t,n,r,o;hj.loader.registerModule("UserBehavior",(e={},t=!1,n=function(){var e,t,n={},r={desktop:{time:600,distance:200,clicks:6},mobile:{time:600,distance:200,clicks:6},tablet:{time:600,distance:200,clicks:6},tv:{time:600,distance:200,clicks:6}},o={x:null,y:null,pageX:null,pageY:null},s=0;function c(){s=0,o.x=null,o.y=null,o.pageX=null,o.pageY=null}function u(n){var r,i,u,l,h;if(r=n.clientX,i=n.clientY,u=n.pageX,l=n.pageY,h=o.pageX&&o.pageX!==u||o.pageY&&o.pageY!==l,!(document.documentElement.clientWidth&&r>document.documentElement.clientWidth||document.documentElement.clientHeight&&i>document.documentElement.clientHeight||h||(s++,t&&clearInterval(t),t=setTimeout(c,e.time),function(t,n){var r=Math.abs(t-o.x),i=Math.abs(n-o.y);Math.sqrt(Math.pow(r,2)+Math.pow(i,2))>e.distance&&c()}(n.clientX,n.clientY),o.x=n.clientX,o.y=n.clientY,o.pageX=n.pageX,o.pageY=n.pageY,s!==e.clicks))){var d=null;hj.tryCatch((function(){var e,t,r=(null==n||null===(e=n.composedPath)||void 0===e||null===(t=e.call(n))||void 0===t?void 0:t.length)?n.composedPath()[0]:n.target,o=hj.selector(a.l.getSelectorVersion()).get(hj.hq(r));if(r&&"pageX"in n&&"pageY"in n&&void 0!==o){var i=hj.hq(r).offset(),s=n.pageX-i.left,c=n.pageY-i.top;d={selector:o,pageX:n.pageX,pageY:n.pageY,offsetX:s,offsetY:c}}}),"user-behaviour.rageClick.onClick")(),hj.autotag.rageClick(d)}}return n.listen=function(){e=r[i()],hj.hq(document).on("mousedown.user_behavior_rageclick",u)},n}(),r=function(){var e,t={},n=[];function r(){var e=[],t=Array.prototype.filter.call(hj.hq("form"),(function(t){for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:null)},e.formInteract=function(){a(["forminteract"],arguments.length>0&&void 0!==arguments[0]?arguments[0]:null)},e.rageClick=function(){a(["rageclick"],arguments.length>0&&void 0!==arguments[0]?arguments[0]:null)},e.start=hj.tryCatch((function(){var e,a,s;hj.features.hasFeature("settings.billing_v2")&&!t&&(n.listen(),r.listen(),o.listen(),e=function(e,t){return t.replace(".e:",".E:").replace(".v:",".V:").replace(".c:",".C:")},a=function(e,t){return"string"==typeof t?t.replace(/\.|:/g,"_"):t},s={"poll.show":i("poll.show",[{},{id:"id"}]),"poll.send":i("poll.send",[{},{id:"id",r_id:"response_id"}]),"poll.question":i("poll.q",[{t:"type"},{t:"type",a:"answer"},{t:"type",id:"id"},{qid:"questionUuid",id:"id"},{a:"answer",qid:"questionUuid",id:"id"},{t:"type",a:"answer",id:"id"}],(function(e,t){return"type"!==e?t:{"rating-scale-5":"rating5","rating-scale-7":"rating7","net-promoter-score":"nps","single-close-ended":"singleClose","multiple-close-ended":"multiClose","single-open-ended-multiple-line":"singleOpenMulti","single-open-ended-single-line":"singleOpenSingle"}[t]||t})),"feedback.show":i("feedback.show",[{},{id:"id"}]),"feedback.send":i("feedback.send",[{},{id:"id"}]),"feedback.sentiment":i("feedback.sentiment",[{e:"emotion"},{e:"emotion",id:"id",r_id:"response_id"}]),"survey.show":i("survey.show",[{},{id:"id"}]),"survey.open":i("survey.open",[{},{id:"id"}]),"exp.go":i("exp.go",[{e:"experimentId",c:"containerId"},{e:"experimentId",v:"variantId",c:"containerId"}],e),"exp.opt":i("exp.opt",[{e:"experimentId"},{e:"experimentId",v:"variantId"}],e),"exp.ub":i("exp.ub",[{e:"experimentId"},{e:"experimentId",v:"variantId"}],e),"exp.abt":i("exp.abt",[{e:"experimentId"},{e:"experimentId",v:"variantId"}],e),"int.ga":i("int.ga",[{a:"action"},{a:"action",c:"category"},{a:"action",c:"category",l:"label"},{a:"action",c:"category",l:"label",v:"value"}],a),"int.mp":i("int.mp",[{event:"event"}],a),"int.hubspot":i("int.hubspot",[{utk:"utk"}])},Object.keys(s).forEach((function(e){hj.event.listen(e,s[e])})),t=!0)}),"user-behavior.autotag.start"),e}),"user-behavior.autotag")(),e.run=Function.prototype,e),!1)}),"user-behavior")()},5547:function(e,t,n){"use strict";n.d(t,{HY:function(){return o},IH:function(){return a},LL:function(){return i},YN:function(){return c},m$:function(){return l},oL:function(){return u},tU:function(){return s}});var r,o=hj.tryCatch((function(e){var t=e||navigator.userAgent;return t.indexOf("MSIE ")>0?document.all&&!document.compatMode?5:document.all&&!window.XMLHttpRequest?6:document.all&&!document.querySelector?7:document.all&&!document.addEventListener?8:document.all&&!window.atob?9:10:-1!==t.indexOf("Trident/")?11:-1!==t.indexOf("Edge/")?12:"notIE"}),"utils"),i=(hj.tryCatch((function(e){return(e=e||navigator.userAgent).indexOf("Firefox")>-1}),"utils"),hj.tryCatch((function(e){return(e=e||navigator.userAgent).indexOf("Safari")>-1&&-1===e.indexOf("Chrome")}),"utils"),hj.tryCatch((function(e){return e=e||navigator.userAgent,/\b(Safari|iPad|iPhone|iPod)\b/.test(e)&&/WebKit/.test(e)&&!/Edge/.test(e)&&void 0===window.MSStream}),"utils"),hj.tryCatch((function(){return _hjSettings.wsHost||(_hjSettings.wsHost="ws.hotjar.com"),_hjSettings.wsHost}),"utils.get-ws-server")),a=function(e){var t=!1;return function(){if(!t){t=!0;for(var n=arguments.length,r=new Array(n),o=0;o1?r-1:0),i=1;i-1&&(t=t.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(,.*$)/g,""));var n=t.replace(/^\s+/,"").replace(/\(eval code/g,"(").replace(/^.*?\s+/,""),r=n.match(/ (\(.+\)$)/);n=r?n.replace(r[0],""):n;var o=this.extractLocation(r?r[1]:n),i=r&&n||void 0,a=["eval",""].indexOf(o[0])>-1?void 0:o[0];return new e({functionName:i,fileName:a,lineNumber:o[1],columnNumber:o[2],source:t})}),this)},parseFFOrSafari:function(t){return t.stack.split("\n").filter((function(e){return!e.match(r)}),this).map((function(t){if(t.indexOf(" > eval")>-1&&(t=t.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),-1===t.indexOf("@")&&-1===t.indexOf(":"))return new e({functionName:t});var n=/((.*".+"[^@]*)?[^@]*)(?:@)/,r=t.match(n),o=r&&r[1]?r[1]:void 0,i=this.extractLocation(t.replace(n,""));return new e({functionName:o,fileName:i[0],lineNumber:i[1],columnNumber:i[2],source:t})}),this)},parseOpera:function(e){return!e.stacktrace||e.message.indexOf("\n")>-1&&e.message.split("\n").length>e.stacktrace.split("\n").length?this.parseOpera9(e):e.stack?this.parseOpera11(e):this.parseOpera10(e)},parseOpera9:function(t){for(var n=/Line (\d+).*script (?:in )?(\S+)/i,r=t.message.split("\n"),o=[],i=2,a=r.length;i/,"$2").replace(/\([^)]*\)/g,"")||void 0;i.match(/\(([^)]*)\)/)&&(n=i.replace(/^[^(]+\(([^)]*)\)$/,"$1"));var s=void 0===n||"[arguments not available]"===n?void 0:n.split(",");return new e({functionName:a,args:s,fileName:o[0],lineNumber:o[1],columnNumber:o[2],source:t})}),this)}}})?r.apply(t,o):r)||(e.exports=i)}()},5687:function(e){"use strict";e.exports=function(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});var n,r="boolean"==typeof t.cycles&&t.cycles,o=t.cmp&&(n=t.cmp,function(e){return function(t,r){var o={key:t,value:e[t]},i={key:r,value:e[r]};return n(o,i)}}),i=[];return function e(t){if(t&&t.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0!==t){if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);var n,a;if(Array.isArray(t)){for(a="[",n=0;n-1&&!e;)e=r[o--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e}(),function(){n.p=hj.scriptDomain;var e=hj.metrics.time();(0,n(8172).initErrorLogging)();var t=n(9653).initVoC;n(4108),n(6682),n(1214),n(5004),n(4416),n(6967),n(6783),n(4005),n(1229),n(3251),n(2377),t(),n(5067),hj.metrics.timeEnd("resource-blocking-time",{tag:{resource:"modules-js"},start:e,type:"lab"})}()}();