/*! * @uptrends-copyright * Copyright (c) 2011, Yahoo! Inc. * Copyright (c) 2011-2012, Log-Normal, Inc. * Copyright (c) 2012-2017, SOASTA, Inc. * Copyright (c) 2017-2023, Akamai Technologies, Inc. * Copyright (c) 2017-2024, Uptrends. * * All rights reserved. * Copyrights licensed under the BSD License. See https://hit.uptrendsdata.com/license.txt for terms. * */!function(){var e={685:function(){function e(t){if("performance"in window&&window.performance&&"function"==typeof window.performance.mark&&!window.UTBOOMR_no_mark&&window.performance.mark("boomr:check_doc_domain"),window){if(!t){if(window.parent===window||!document.getElementById("boomr-if-as"))return;if(window.UTBOOMR&&UTBOOMR.boomerang_frame&&UTBOOMR.window)try{UTBOOMR.boomerang_frame.document.domain!==UTBOOMR.window.document.domain&&(UTBOOMR.boomerang_frame.document.domain=UTBOOMR.window.document.domain)}catch(e){UTBOOMR.isCrossOriginError(e)||UTBOOMR.addError(e,"UTBOOMR_check_doc_domain.domainFix")}t=document.domain}if(t&&-1!==t.indexOf(".")&&window.parent){try{return void window.parent.document}catch(e){try{document.domain=t}catch(e){return}}try{return void window.parent.document}catch(e){t=t.replace(/^[\w\-]+\./,"")}e(t)}}}"performance"in window&&window.performance&&"function"==typeof window.performance.mark&&!window.UTBOOMR_no_mark&&window.performance.mark("boomr:startup"),UTBOOMR_start=(new Date).getTime(),e(),function(t){var n,r,i,o,a,s,c,u=t;if(t.parent!==t&&document.getElementById("boomr-if-as")&&"script"===document.getElementById("boomr-if-as").nodeName.toLowerCase()&&(t=t.parent),i=t.document,t.UTBOOMR||(t.UTBOOMR={}),UTBOOMR=t.UTBOOMR,!UTBOOMR.version){if(UTBOOMR.version="1.815.0",UTBOOMR.window=t,UTBOOMR.boomerang_frame=u,UTBOOMR.plugins||(UTBOOMR.plugins={}),function(){try{void 0!==new t.CustomEvent("CustomEvent")&&(o=function(e,n){return new t.CustomEvent(e,n)})}catch(e){}try{!o&&i.createEvent&&i.createEvent("CustomEvent")&&(o=function(e,t){var n=i.createEvent("CustomEvent");return t=t||{cancelable:!1,bubbles:!1},n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n})}catch(e){}!o&&i.createEventObject&&(o=function(e,t){var n=i.createEventObject();return n.type=n.propertyName=e,n.detail=t.detail,n}),o||(o=function(){})}(),a=function(e,t,n){var r=o(e,{detail:t});function a(){try{i.dispatchEvent?i.dispatchEvent(r):i.fireEvent&&i.fireEvent("onpropertychange",r)}catch(t){UTBOOMR.debug("Error when dispatching "+e)}}r&&(n?UTBOOMR.setImmediate(a):a())},void 0!==i.hidden?(s="visibilityState",c="visibilitychange"):void 0!==i.mozHidden?(s="mozVisibilityState",c="mozvisibilitychange"):void 0!==i.msHidden?(s="msVisibilityState",c="msvisibilitychange"):void 0!==i.webkitHidden&&(s="webkitVisibilityState",c="webkitvisibilitychange"),n={beacon_url:"",beacon_url_force_https:!0,beacon_urls_allowed:[],beacon_type:"AUTO",beacon_auth_key:"Authorization",beacon_auth_token:void 0,beacon_with_credentials:!1,beacon_disable_sendbeacon:!1,site_domain:t.location.hostname.replace(/.*?([^.]+\.[^.]+)\.?$/,"$1").toLowerCase(),user_ip:"",autorun:!0,hasSentPageLoadBeacon:!1,r:void 0,strip_query_string:!1,onloadFired:!1,handlers_attached:!1,waiting_for_config:!1,same_site_cookie:"Lax",secure_cookie:!1,forced_same_site_cookie_none:!1,userAgentData:void 0,request_client_hints:!1,no_unload:!1,unloadEventsCount:0,unloadEventCalled:0,listenerCallbacks:{},vars:{},singleBeaconVars:{},varPriority:{"-1":{},1:{}},errors:{},disabled_plugins:{},localStorageSupported:!1,LOCAL_STORAGE_PREFIX:"_boomr_",nativeOverwrites:[],prerenderedOffset:null,events:{page_ready:[],page_unload:[],before_unload:[],dom_loaded:[],visibility_changed:[],prerender_to_visible:[],before_beacon:[],beacon:[],page_load_beacon:[],xhr_load:[],click:[],form_submit:[],config:[],xhr_init:[],spa_init:[],spa_navigation:[],spa_cancel:[],xhr_send:[],xhr_error:[],error:[],netinfo:[],rage_click:[],before_early_beacon:[],bfcache:[]},public_events:{before_beacon:"onUTBeforeBoomerangBeacon",beacon:"onUTBoomerangBeacon",onboomerangloaded:"onUTBoomerangLoaded"},translate_events:{onbeacon:"beacon",onconfig:"config",onerror:"error",onxhrerror:"xhr_error"},createCallbackHandler:function(e){return function(r){var i;r||(r=t.event),r.target?i=r.target:r.srcElement&&(i=r.srcElement),3===i.nodeType&&(i=i.parentNode),i&&i.nodeName&&"OBJECT"===i.nodeName.toUpperCase()&&"application/x-shockwave-flash"===i.type||n.fireEvent(e,i)}},clearEvents:function(){var e;for(e in this.events)this.events.hasOwnProperty(e)&&(this.events[e]=[])},clearListeners:function(){var e;for(e in n.listenerCallbacks)if(n.listenerCallbacks.hasOwnProperty(e))for(;n.listenerCallbacks[e].length;)UTBOOMR.utils.removeListener(n.listenerCallbacks[e][0].el,e,n.listenerCallbacks[e][0].fn);n.listenerCallbacks={}},fireEvent:function(e,t){var n,r,i,o;if(e=e.toLowerCase(),UTBOOMR.utils.mark("fire_event"),UTBOOMR.utils.mark("fire_event:"+e+":start"),this.translate_events[e]&&(e=this.translate_events[e]),this.events.hasOwnProperty(e)){for(this.public_events.hasOwnProperty(e)&&a(this.public_events[e],t),i=this.events[e],"before_beacon"!==e&&"beacon"!==e&&"before_early_beacon"!==e&&UTBOOMR.real_sendBeacon(),o=i.length,n=0;n")}for(n=0;n0&&null!==e[r]&&"object"==typeof e[r]?i.push(this.objectToString(e[r],t+("\n\t"===t?"\t":""),n-1)):"&"===t?i.push(encodeURIComponent(e[r])):i.push(e[r]);t=","}else for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n>0&&null!==e[r]&&"object"==typeof e[r]?i.push(encodeURIComponent(r)+"="+this.objectToString(e[r],t+("\n\t"===t?"\t":""),n-1)):"&"===t?i.push(encodeURIComponent(r)+"="+encodeURIComponent(e[r])):i.push(r+"="+e[r]));return i.join(t)},getCookie:function(e){var t;return e?(UTBOOMR.utils.mark("get_cookie"),void 0!==UTBOOMR.cookies[e]?!1===UTBOOMR.cookies[e]?void 0:UTBOOMR.cookies[e]:void 0!==(t=this.getRawCookie(e))?(UTBOOMR.cookies[e]=t,UTBOOMR.cookies[e]):void(UTBOOMR.cookies[e]=!1)):null},getRawCookie:function(e){return e?(UTBOOMR.utils.mark("get_raw_cookie"),e=" "+e+"=",(t=(n=" "+i.cookie+";").indexOf(e))>=0?(t+=e.length,n.substring(t,n.indexOf(";",t)).replace(/^"/,"").replace(/"$/,"")):void 0):null;var t,n},setCookie:function(e,t,r){var o,a,s,c,u;if(!e||!UTBOOMR.session.domain||void 0===t)return UTBOOMR.debug("Invalid parameters or site domain: "+e+"/"+t+"/"+UTBOOMR.session.domain),UTBOOMR.addVar("nocookie",1),!1;if(UTBOOMR.utils.mark("set_cookie"),(o=this.objectToString(t,"&"))===UTBOOMR.cookies[e])return!0;if((a=e+'="'+o+'"').length<500){c=[a,"path=/","domain="+UTBOOMR.session.domain],"number"==typeof r&&((u=new Date).setTime(u.getTime()+1e3*r),u=u.toGMTString(),c.push("expires="+u));var l=this.getSameSiteAttributeParts();if("https:"===location.protocol&&!0===n.secure_cookie&&-1===l.indexOf("Secure")&&l.push("Secure"),c=c.concat(l),UTBOOMR.utils.mark("set_cookie_real"),i.cookie=c.join("; "),UTBOOMR.testedCookies)return UTBOOMR.cookies[e]="number"!=typeof r||r>0?o:void 0,!0;if(UTBOOMR.cookies[e]=void 0,o===(s=this.getRawCookie(e))||void 0===s&&"number"==typeof r&&r<=0)return UTBOOMR.cookies[e]=o,UTBOOMR.testedCookies=!0,UTBOOMR.removeVar("nocookie"),!0;UTBOOMR.warn("Saved cookie value doesn't match what we tried to set:\n"+o+"\n"+s)}else UTBOOMR.warn("Cookie too long: "+a.length+" "+a);return UTBOOMR.addVar("nocookie",1),!1},getSubCookies:function(e){var t,n,r,i,o=!1,a={};if(!e)return null;if("string"!=typeof e)return UTBOOMR.debug("TypeError: cookie is not a string: "+typeof e),null;for(n=0,r=(t=e.split("&")).length;n=i.expires?void this.removeLocalStorage(e):i.items:(this.removeLocalStorage(e),null)},setLocalStorage:function(e,r,i){var o,a,s;if(!e||!n.localStorageSupported||"object"!=typeof r)return!1;if(UTBOOMR.utils.mark("set_local_storage"),o={items:r},"number"==typeof i&&(o.expires=UTBOOMR.now()+1e3*i),(a=t.JSON.stringify(o)).length<5e4){try{if(t.localStorage.setItem(n.LOCAL_STORAGE_PREFIX+e,a),a===(s=t.localStorage.getItem(n.LOCAL_STORAGE_PREFIX+e)))return!0}catch(e){}UTBOOMR.warn("Saved storage value doesn't match what we tried to set:\n"+a+"\n"+s)}else UTBOOMR.warn("Storage items too large: "+a.length+" "+a);return!1},removeLocalStorage:function(e){if(!e||!n.localStorageSupported)return!1;try{return t.localStorage.removeItem(n.LOCAL_STORAGE_PREFIX+e),!0}catch(e){}return!1},cleanupURL:function(e,t){if(!e||UTBOOMR.utils.isArray(e))return"";if(n.strip_query_string&&(e=e.replace(/\?.*/,"?qs-redacted")),void 0!==t&&e&&e.length>t){var r=e.indexOf("?");e=-1!==r&&r10?UTBOOMR.utils.hashString(t):t)}))):(UTBOOMR.error("Passed in URL is invalid: "+e),"")):(UTBOOMR.addError("TypeError: Not a string","hashQueryString",typeof e),""):e},pluginConfig:function(e,t,n,r){var i,o=0;if(!t||!t[n])return!1;for(i=0;i0},arrayFilter:function(e,t){var n=[];if(!(this.isArray(e)||e&&"number"==typeof e.length)||"function"!=typeof t)return n;if("function"==typeof e.filter)n=e.filter(t);else for(var r,i=-1,o=e.length;++i0&&(u.timer=setTimeout(l,t))}return s=t.MutationObserver,t.Zone&&"function"==typeof t.Zone.__symbol__&&(c=t.Zone.__symbol__("MutationObserver"))&&"string"==typeof c&&t.hasOwnProperty(c)&&"function"==typeof t[c]&&(UTBOOMR.debug("Detected Zone.js, using native MutationObserver"),s=t[c]),u.observer=new s(l),r&&(u.timer=setTimeout(l,u.timeout)),u.observer.observe(e,n),u},addListener:function(e,t,r,i){var o=!1;UTBOOMR.utils.mark("add_listener"),e.addEventListener?("object"==typeof i?o=i:"boolean"==typeof i&&i&&UTBOOMR.browser.supportsPassive()&&(o={capture:!1,passive:!0}),e.addEventListener(t,r,o)):e.attachEvent&&e.attachEvent("on"+t,r),n.listenerCallbacks[t]=n.listenerCallbacks[t]||[],n.listenerCallbacks[t].push({el:e,fn:r})},removeListener:function(e,t,r){if(UTBOOMR.utils.mark("remove_listener"),e.removeEventListener?e.removeEventListener(t,r,!1):e.detachEvent&&e.detachEvent("on"+t,r),n.listenerCallbacks.hasOwnProperty(t))for(var i=0;i1?decodeURIComponent(o.splice(1).join("=").replace(/\+/g," ")):""}catch(e){if(!e||"string"!=typeof e.name||-1===e.name.indexOf("URIError"))throw e}return null},generateUUID:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))},generateId:function(e){return"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx".substr(0,e||40).replace(/x/g,(function(e){return"0"===(e=(Math.random()||.01).toString(36))?"0":e.substr(2,1)}))},serializeForUrl:function(e){return UTBOOMR.utils.Compression&&UTBOOMR.utils.Compression.jsUrl?UTBOOMR.utils.Compression.jsUrl(e):window.JSON?JSON.stringify(e):(UTBOOMR.debug("JSON is not supported"),"")},deserializeForUrl:function(e){return UTBOOMR.utils.Compression&&UTBOOMR.utils.Compression.jsUrlDecompress?UTBOOMR.utils.Compression.jsUrlDecompress(e):window.JSON?JSON.parse(e):void UTBOOMR.debug("JSON is not supported")},getMyURL:function(){var e,t=document.currentScript||document.getElementById("boomr-if-as")||document.getElementById("boomr-scr-as");if(t)return t.src;var n,r=document.getElementsByTagName("script");for(n=r.length;n--;)if("interactive"===r[n].readyState)return r[n].src;try{throw new Error}catch(t){if("stack"in t&&(e=this.arrayFilter(t.stack.split(/\n/),(function(e){return e.match(/https?:\/\//)})))&&e.length)return e[0].replace(/.*(https?:\/\/.+?)(:\d+)+\D*$/m,"$1")}return""},scroll:function(){var e=void 0!==t.pageXOffset,n="CSS1Compat"===(t.document.compatMode||""),r={x:0,y:0};return e?"function"==typeof t.pageXOffset?(r.x=t.pageXOffset(),r.y=t.pageYOffset()):(r.x=t.pageXOffset,r.y=t.pageYOffset):n?(r.x=t.document.documentElement.scrollLeft,r.y=t.document.documentElement.scrollTop):(r.x=t.document.body.scrollLeft,r.y=t.document.body.scrollTop),"number"==typeof r.sx&&(r.sx=Math.round(r.sx)),"number"==typeof r.sy&&(r.sy=Math.round(r.sy)),r},windowHeight:function(){return t.innerHeight||t.document.documentElement.clientHeight||t.document.body.clientHeight},windowWidth:function(){return t.innerWidth||t.document.documentElement.clientWidth||t.document.body.clientWidth},isNative:function(e){return!!e&&e.toString&&!e.hasOwnProperty("toString")&&/\[native code\]/.test(String(e))},overwriteNative:function(e,t,r){e&&r&&(UTBOOMR.boomerang_frame!==UTBOOMR.window&&n.nativeOverwrites.push({obj:e,functionName:t,origFn:e[t]}),e[t]=r)},isInteger:function(e){return(Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e})(e)},isObjectEmpty:function(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0},hashString:function(e){e=encodeURIComponent(e);for(var t=2166136261,n=0;n>>0).toString()+e.length;return parseInt(r).toString(36)},isCurrentUASameSiteNoneCompatible:function(){return!(t&&t.navigator&&!t.navigator.userAgentData&&t.navigator.userAgent&&"string"==typeof t.navigator.userAgent)||this.isUASameSiteNoneCompatible(t.navigator.userAgent)},isUASameSiteNoneCompatible:function(e){var t=e.match(/(UCBrowser)\/(\d+\.\d+)\.(\d+)/);if(t){var n=parseFloat(t[2]),r=t[3];return 12.13===n?!(r<=2):!(n<12.13)}if(t=e.match(/(Chrome)\/(\d+)\.(\d+)\.(\d+)\.(\d+)/)){var i=t[2];return!(i>=51&&i<=66)}return(t=e.match(/(Macintosh;.*Mac OS X 10_14[_\d]*.*) AppleWebKit\//))?(!(t=e.match(/Version\/.* Safari\//))||null!==(t=e.match(/Chrom(?:e|ium)/)))&&!(t=e.match(/^Mozilla\/\d+(?:\.\d+)* \(Macintosh;.*Mac OS X \d+(?:_\d+)*\) AppleWebKit\/\d+(?:\.\d+)* \(KHTML, like Gecko\)$/)):!(t=e.match(/(iP.+; CPU .*OS 12(?:_\d+)*.*)/))},makeSelector:function(e){var t=[],n=e;function r(e,t){var r=!0;if(e){for(;e&&1!==e.nodeType;)e=e.parentNode||e.parentElement;e&&"BODY"!==e.tagName||(r=!1)}else r=!1;return t||(n=e),r}for(;n;){if(!r(n,!1)||!n)break;if(n.hasAttribute("id")){var i=n.tagName.toLowerCase()+"#"+n.getAttribute("id");t.unshift(i);break}var o=r(n.parentNode,!0);if(t.length<3||t.length>=3&&!o){var a=n.tagName.toLowerCase();n.hasAttribute("class")&&(a+="."+n.getAttribute("class").replace(/ +/g,".")),t.unshift(a)}else"*"!==t[0]&&t.unshift("*");n=n.parentNode||n.parentElement}return t.join(" ")},forEach:function(e,t,n){if(UTBOOMR.utils.isArray(e)&&"function"==typeof t)for(var r=e.length,i=0;i0||t.UTBOOMR_onload>0},onloadFired:function(){return n.onloadfired},setImmediate:function(e,n,r,i){var o,a;"undefined"!=typeof Error&&(a=(a=new Error).stack?a.stack.replace(/^Error/,"Called"):void 0),o=function(){e.call(i||null,n,r||{},a),o=null},t.requestIdleCallback?t.requestIdleCallback(o,{timeout:1e3}):t.setImmediate?t.setImmediate(o):setTimeout(o,10)},now:Date.now||function(){return(new Date).getTime()},getPerformance:function(){try{if(UTBOOMR.window)return"performance"in UTBOOMR.window&&UTBOOMR.window.performance?UTBOOMR.window.performance:UTBOOMR.window.msPerformance||UTBOOMR.window.webkitPerformance||UTBOOMR.window.mozPerformance}catch(e){}},forceSameSiteCookieNone:function(){n.forced_same_site_cookie_none=!0},hrNow:function(){var e,t,n=UTBOOMR.getPerformance();return n&&n.now?e=n.now():(t=UTBOOMR.plugins.RT&&UTBOOMR.plugins.RT.navigationStart&&UTBOOMR.plugins.RT.navigationStart()||UTBOOMR.t_lstart||UTBOOMR.t_start,e=UTBOOMR.now()-t),e},visibilityState:void 0===s?function(){return"visible"}:function(){return i[s]},lastVisibilityEvent:{},registerEvent:function(e){return n.events.hasOwnProperty(e)||(n.events[e]=[]),this},disable:function(){n.clearEvents(),n.clearListeners()},fireEvent:function(e,t){return n.fireEvent(e,t)},subscribe:function(e,r,i,o,a){var s,c,u,l;for(e=e.toLowerCase(),UTBOOMR.utils.mark("subscribe"),UTBOOMR.utils.mark("subscribe:"+e),n.translate_events[e]&&(e=n.translate_events[e]),n.events.hasOwnProperty(e)||(n.events[e]=[]),u=n.events[e],s=0;s=1?UTBOOMR.session.length:1:n.vars["rt.sl"]=UTBOOMR.session.length):UTBOOMR.removeVar("rt.si","rt.ss","rt.sl"),UTBOOMR.visibilityState()&&(n.vars["vis.st"]=UTBOOMR.visibilityState(),UTBOOMR.lastVisibilityEvent.visible&&(n.vars["vis.lv"]=UTBOOMR.now()-UTBOOMR.lastVisibilityEvent.visible),UTBOOMR.lastVisibilityEvent.hidden&&(n.vars["vis.lh"]=UTBOOMR.now()-UTBOOMR.lastVisibilityEvent.hidden));var c="";for(e in c=navigator.userAgentData&&"string"==typeof navigator.userAgentData.platform?navigator.userAgentData.platform:navigator.platform,n.vars["ua.plt"]=c,n.vars["ua.vnd"]=navigator.vendor,n.userAgentData&&(n.vars["ua.arch"]=n.userAgentData.architecture,n.vars["ua.model"]=n.userAgentData.model,n.vars["ua.pltv"]=n.userAgentData.platformVersion),this.pageId&&(n.vars.pid=this.pageId),n.vars.n=++this.beaconsSent,t!==window&&(n.vars.if=""),n.errors)n.errors.hasOwnProperty(e)&&r.push(e+(n.errors[e]>1?" (*"+n.errors[e]+")":""));for(e in r.length>0&&(n.vars.errors=r.join("\n")),n.errors={},n.fireEvent("before_beacon",n.vars),n.vars)n.vars.hasOwnProperty(e)&&(o[e]=n.vars[e]);if(UTBOOMR.removeVar(["qt","pgu"]),void 0===n.vars.early){for(var u in n.singleBeaconVars)n.singleBeaconVars.hasOwnProperty(u)&&UTBOOMR.removeVar(u);n.singleBeaconVars={},!n.hasSentPageLoadBeacon&&s&&(n.hasSentPageLoadBeacon=!0,UTBOOMR.setImmediate((function(){n.fireEvent("page_load_beacon",o)})))}return UTBOOMR.session.rate_limited?(UTBOOMR.debug("Skipping because we're rate limited"),!1):(n.beaconInQueue=!1,UTBOOMR.sendBeaconData(o),UTBOOMR.utils.mark("send_beacon:end"),UTBOOMR.utils.measure("send_beacon","send_beacon:start","send_beacon:end"),!0)},sendBeaconData:function(e){var r,i,o,a,s,c=[],u=!0;if(UTBOOMR.debug("Ready to send beacon: "+UTBOOMR.utils.objectToString(e)),n.beacon_url=n.beacon_url_override||n.beacon_url,!n.beacon_url)return UTBOOMR.debug("No beacon URL, so skipping."),!1;if(!n.beaconUrlAllowed(n.beacon_url))return UTBOOMR.debug("Beacon URL not allowed: "+n.beacon_url),!1;if(UTBOOMR.utils.isObjectEmpty(e))return!1;if(n.fireEvent("beacon",e),c=this.getVarsOfPriority(e,-1),r=this.getVarsOfPriority(e,1),i=c.concat(this.getVarsOfPriority(e,0),r).join("&"),n.beacon_url_force_https&&n.beacon_url.match(/^\/\//)&&(n.beacon_url="https:"+n.beacon_url),o=n.beacon_url+(n.beacon_url.indexOf("?")>-1?"&":"?")+i,"GET"===n.beacon_type?(u=!0,o.length>UTBOOMR.constants.MAX_GET_LENGTH&&(window.console&&(console.warn||console.log)||function(){})("Boomerang: Warning: Beacon may not be sent via GET due to payload size > 2000 bytes")):("POST"===n.beacon_type||o.length>UTBOOMR.constants.MAX_GET_LENGTH)&&(u=!1),t&&t.navigator&&"function"==typeof t.navigator.sendBeacon&&UTBOOMR.utils.isNative(t.navigator.sendBeacon)&&"function"==typeof t.Blob&&"GET"!==n.beacon_type&&void 0===n.beacon_auth_token&&!n.beacon_disable_sendbeacon){var l=new t.Blob([i+"&sb=1"],{type:"application/x-www-form-urlencoded"});if(t.navigator.sendBeacon(n.beacon_url,l))return!0}if(UTBOOMR.orig_XMLHttpRequest||t&&t.XMLHttpRequest||(u=!0),u){try{a=new Image}catch(e){return UTBOOMR.debug("Image is not a constructor, not sending a beacon"),!1}a.src=o}else{s=new(UTBOOMR.window.orig_XMLHttpRequest||UTBOOMR.orig_XMLHttpRequest||UTBOOMR.window.XMLHttpRequest);try{this.sendXhrPostBeacon(s,i)}catch(e){s=new UTBOOMR.boomerang_frame.XMLHttpRequest,this.sendXhrPostBeacon(s,i)}}return!0},hasSentPageLoadBeacon:function(){return n.hasSentPageLoadBeacon},sendXhrPostBeacon:function(e,t){e.open("POST",n.beacon_url),e.setRequestHeader("Content-type","application/x-www-form-urlencoded"),void 0!==n.beacon_auth_token&&(void 0===n.beacon_auth_key&&(n.beacon_auth_key="Authorization"),e.setRequestHeader(n.beacon_auth_key,n.beacon_auth_token)),n.beacon_with_credentials&&(e.withCredentials=!0),e.send(t)},getVarsOfPriority:function(e,t){var r,i=[],o=0!==t?n.varPriority[t]:e;for(r in o)o.hasOwnProperty(r)&&e.hasOwnProperty(r)&&(i.push(this.getUriEncodedVar(r,void 0===e[r]?"":e[r])),0!==t&&delete e[r]);return i},getUriEncodedVar:function(e,t){return null==t&&(t=""),"object"==typeof t&&(t=UTBOOMR.utils.serializeForUrl(t)),encodeURIComponent(e)+"="+encodeURIComponent(t)},getResourceTiming:function(e,t,n){var r,i=UTBOOMR.getPerformance();try{if(i&&"function"==typeof i.getEntriesByName){if(!(r=i.getEntriesByName(e))||!r.length)return;if(!("function"!=typeof n||(r=UTBOOMR.utils.arrayFilter(r,n))&&r.length))return;return r.length>1&&"function"==typeof t&&r.sort(t),r[r.length-1]}}catch(e){UTBOOMR.warn("getResourceTiming:"+e)}},isPageLoadBeacon:function(e){return(void 0===e["rt.quit"]||void 0!==e["rt.abld"])&&(void 0===e["http.initiator"]||UTBOOMR.utils.inArray(e["http.initiator"],UTBOOMR.constants.BEACON_TYPE_SPAS))},getPrerenderedOffset:function(e){var t=UTBOOMR.getActivationStart();if(e=Math.floor(e),!1===t)return e;if(null!==t){var n=e-t;return n>=0?Math.max(1,n):e}},getActivationStart:function(){if(null!==n.prerenderedOffset)return n.prerenderedOffset;if(n.prerenderedOffset=!1,"boolean"!=typeof i.prerendering)return n.prerenderedOffset;var e=UTBOOMR.getPerformance();if(e&&"function"==typeof e.getEntriesByType){var t=e.getEntriesByType("navigation")[0];t&&t.activationStart&&(n.prerenderedOffset=Math.floor(t.activationStart))}return n.prerenderedOffset},setBeaconUrlsAllowed:function(e){n.beacon_urls_allowed=e}},UTBOOMR.url){var l=UTBOOMR.window.document.createElement("a");l.href=UTBOOMR.url,r.url=l.href}else r.url=r.utils.getMyURL();var d;delete UTBOOMR_start,"number"==typeof UTBOOMR_lstart?(r.t_lstart=UTBOOMR_lstart,delete UTBOOMR_lstart):"number"==typeof UTBOOMR.window.UTBOOMR_lstart&&(r.t_lstart=UTBOOMR.window.UTBOOMR_lstart),"number"==typeof UTBOOMR.window.UTBOOMR_onload&&(r.t_onload=UTBOOMR.window.UTBOOMR_onload),"object"==typeof console&&void 0!==console.log?r.log=function(e,t,n){console.log("("+UTBOOMR.now()+") {"+UTBOOMR.pageId+"}: "+n+": ["+t+"] "+e)}:r.log=function(){},d=function(e){return function(t,n){return this.log(t,e,"boomerang"+(n?"."+n:"")),this}},r.debug=d("debug"),r.info=d("info"),r.warn=d("warn"),r.error=d("error");try{var O=r.getPerformance();O&&"function"==typeof O.now&&/\[native code\]/.test(String(O.now))&&O.timing&&O.timing.navigationStart&&(r.now=function(){return Math.round(O.now()+O.timing.navigationStart)})}catch(e){}n.checkLocalStorageSupport(),function(){var e;for(e in r)r.hasOwnProperty(e)&&(UTBOOMR[e]=r[e]);UTBOOMR.xhr_excludes||(UTBOOMR.xhr_excludes={})}(),function(){if(UTBOOMR.checkWindowOverrides=function(e){if(!Object.getOwnPropertyNames)return[];var t,n,r=[];function o(t){(function(t){var n=t.split("."),r=e;for(;r&&n.length;)try{r=r[n.shift()]}catch(e){return!1}return"function"==typeof r&&!function(e,t){if("console.assert"===t||"Function.prototype"===t||t.indexOf("onload")>=0||t.indexOf("onbeforeunload")>=0||t.indexOf("onerror")>=0||t.indexOf("onload")>=0||t.indexOf("NodeFilter")>=0)return!0;return e.toString&&!e.hasOwnProperty("toString")&&/\[native code\]/.test(String(e))}(r,t)})(t)&&r.push(t)}!function(){var e=i.createElement("iframe");e.style.display="none",e.src="javascript:false",i.getElementsByTagName("script")[0].parentNode.appendChild(e),t=e.contentWindow,n=Object.getOwnPropertyNames(t)}();for(var a=0;a0&&UTBOOMR.warn("overridden: "+e.sort())}}(),a("onUTBoomerangLoaded",{UTBOOMR:UTBOOMR},!0)}}(window)},342:function(){!function(){var e;if(UTBOOMR=window.UTBOOMR||{},UTBOOMR.plugins=UTBOOMR.plugins||{},!UTBOOMR.plugins.Continuity){var t=100,n=".",r={passive:!0,capture:!0},i=UTBOOMR.getPerformance(),o={},a=i&&i.timing&&i.timing.navigationStart?i.timing.navigationStart:UTBOOMR.now(),s=function(n){var r={},s={},c=[],u=0,l=0,d=0,O=!0,f=!1,p=0;function m(){return Math.floor((UTBOOMR.now()-n)/t)}function g(){var t=0;if(e.ttiWaitForFrameworkReady){if(!e.frameworkReady)return;t=e.frameworkReady}if(UTBOOMR.plugins.PaintTiming&&UTBOOMR.plugins.PaintTiming.is_supported()&&i&&i.timeOrigin){var n=UTBOOMR.plugins.PaintTiming.getTimingFor("largest-contentful-paint");n||(n=UTBOOMR.plugins.PaintTiming.getTimingFor("first-contentful-paint")),n||(n=UTBOOMR.plugins.PaintTiming.getTimingFor("first-paint")),n&&(t=Math.max(t,Math.round(n+i.timeOrigin)))}else if(i&&i.timing&&i.timing.msFirstPaint)t=Math.max(t,i.timing.msFirstPaint);else if(UTBOOMR.window&&UTBOOMR.window.chrome&&"function"==typeof UTBOOMR.window.chrome.loadTimes){var r=UTBOOMR.window.chrome.loadTimes();r&&r.firstPaintTime&&(t=Math.max(t,1e3*r.firstPaintTime))}return i&&i.timing&&i.timing.domContentLoadedEventEnd&&(t=Math.max(t,i.timing.domContentLoadedEventEnd)),e.ttiWaitForHeroImages&&(d=function(e){var t,n,r,o,s,c,u,l=0;if(!UTBOOMR.window||!UTBOOMR.window.document||"function"!=typeof UTBOOMR.window.document.querySelectorAll)return 0;if(!i||"function"!=typeof i.getEntriesByType)return 0;if(t=e+", "+e+" * img, "+e+" * image",(n=UTBOOMR.window.document.querySelectorAll(t))&&n.length)for(r=0;r0&&((u=u||document.createElement("a")).href=O[1],s=u.href)}}if(s&&(c=i.getEntriesByName(s))&&c.length)for(o=0;oe.logMaxEntries&&Array.prototype.splice.call(c,0,c.length-e.logMaxEntries)},increment:function(e,t,n){void 0===n&&(n=m()),void 0===t&&(t=1),r[e]&&(r[e][n]||(r[e][n]=0),r[e][n]+=t)},getTimeBucket:m,getStats:function(e,i){var o,a=0,s=0,c=1/0,u=0,l=Math.floor((i-n)/t);if(!r[e])return 0;for(var d in r[e])(d=parseInt(d,10))>=l&&r[e].hasOwnProperty(d)&&(a++,s+=o=r[e][d],c=Math.min(c,o),u=Math.max(u,o));return{total:s,count:a,min:c,max:u}},analyze:function(i){var s=m();if(e.sendLog&&void 0!==i&&function(){for(var t="",n=0;n0&&(u=B.tti,e.addToBeacon("c.tti",o.timeToInteractive())))}},stop:function(){r={},c=[]},onBeacon:function(){for(var e in r)if(r.hasOwnProperty(e))if(u||!1===f)r[e]=[];else{var t=r[e],n=new Array(f+1);r[e]=n.concat(t.slice(f+1))}c=[],O=!1}}},c=function(t){if(t.PerformanceObserver&&t.LayoutShift){var n,r=!0,i=0,a=[],s=0,c=new t.PerformanceObserver((function(e){if(!r)return;for(var t=e.getEntries(),o="",c=0;cs&&(s=t[c].value,n=o)}s=parseFloat(s.toFixed(3))}));try{c.observe({type:"layout-shift",buffered:!0})}catch(e){return}return o.clsScore=function(){return i},o.clsSources=function(){return a},o.topScore=function(){return s},o.topID=function(){return n},{clearClsScore:u,clearClsSources:l,clearTopScore:d,clearTopID:O,analyze:function(t){e.addToBeacon("c.cls",w(o.clsScore()),!0),e.addToBeacon("c.cls.d",S(o.clsSources())),e.addToBeacon("c.cls.tops",w(o.topScore())),e.addToBeacon("c.cls.topid",o.topID())},stop:function(){r=!1,c.disconnect(),u(),l(),d(),O()},onBeacon:function(){u(),l(),d(),O()}}}function u(){i=0}function l(){a=[]}function d(){s=0}function O(){n=void 0}},u=function(t,n){if(t.PerformanceObserver&&t.PerformanceLongTaskTiming){var r={unknown:0,self:1,"same-origin-ancestor":2,"same-origin-descendant":3,"same-origin":4,"cross-origin-ancestor":5,"cross-origin-descendant":6,"cross-origin-unreachable":7,"multiple-contexts":8},i={unknown:0,script:1,layout:2},a={unknown:0,iframe:1,embed:2,object:3},s=new t.PerformanceObserver((function(e){var t,r;if(!u)return;for(t=e.getEntries(),Array.prototype.push.apply(c,t),r=0;r0&&(l.a=f),O.push(l)}var T,B;e.addToBeacon("c.lt.n",o.longTasksCount(),!0),e.addToBeacon("c.lt.tt",o.longTasksTime()),e.addToBeacon("c.lt",(T=O,(B=UTBOOMR.utils.Compression&&UTBOOMR.utils.Compression.jsUrl||window.UserTimingCompression&&window.UserTimingCompression.jsUrl||UTBOOMR.window.UserTimingCompression&&UTBOOMR.window.UserTimingCompression.jsUrl)?B(T):window.JSON?JSON.stringify(T):""))}},stop:function(){u=!1,s.disconnect(),d()},onBeacon:function(){d()}}}function d(){c=[],l=0}},l=function(t,n){n.register("busy",2);var r=32,i=Math.floor(3.125),a=UTBOOMR.now(),s=0,c=0,u=0,l=0,d=!1,O=!1;return o.pageBusy=function(){return 0===u?0:Math.ceil(l/u*100)},d=setInterval((function(){var e=UTBOOMR.now(),t=e-a;if(a=e,t>68){var n=Math.floor((t-r)/r);s+=n,c+=n,t-=n*r}s++,t>36&&c++}),r),O=setInterval((function(){var e=n.getTimeBucket(),t=e,r=0;if(0!==s){for(;s>i+1&&r<=100;)n.set("busy",100,--t),s-=i,c=Math.max(c-i,0),u+=i,l+=i,r++;u+=s,l+=c,n.set("busy",Math.ceil(c/s*100),e),s=0,c=0}}),100),{analyze:function(t){e.addToBeacon("c.b",o.pageBusy())},stop:function(){d&&(clearInterval(d),d=!1),O&&(clearInterval(O),O=!1)},onBeacon:function(){u=0,l=0}}},d=function(n,r){r.register("fps",0);var i,s,c=0,u=0,l=!0;if(UTBOOMR.fpsLog&&UTBOOMR.fpsLog.length){s=i=UTBOOMR.fpsLog[0]+a;for(var d=0;d=50&&u++,s=O}c=UTBOOMR.fpsLog.length,delete UTBOOMR.fpsLog}else i=UTBOOMR.now();return n.requestAnimationFrame((function e(t){l&&(t-s>=50&&u++,s=t,c++,r.increment("fps"),n.requestAnimationFrame(e))})),o.fps=function(){var e=o.fpsDuration();if(e)return Math.floor(c/(e/1e3))},o.fpsDuration=function(){if(i)return UTBOOMR.now()-i},o.fpsMinimum=function(){if(o.fpsDuration()){var e=r.getStats("fps",i).min;return e!==1/0?e:void 0}},o.fpsLongFrames=function(){return u},o.fpsStart=function(){return i?i.toString(36):0},{analyze:function(t){e.addToBeacon("c.f",o.fps()),e.addToBeacon("c.f.d",o.fpsDuration()),e.addToBeacon("c.f.m",o.fpsMinimum()),e.addToBeacon("c.f.l",o.fpsLongFrames()),e.addToBeacon("c.f.s",o.fpsStart())},stop:function(){l=!1,i=0},onBeacon:function(){l&&(i=UTBOOMR.now()),c=0,u=0}}},O=function(n,i,a){if(n&&n.document&&n.document.body&&n.document.documentElement){var s=0,c=0,u=0,l=0,d=0,O=0,f=0,p=0,m=!1,g=n.document.body,T=n.document.documentElement;i.register("scroll",0),i.register("scrollpct",2);var B=Math.max(g.scrollHeight,g.offsetHeight,T.clientHeight,T.scrollHeight,T.offsetHeight)-UTBOOMR.utils.windowHeight();return o.scrollPct=function(){return l},o.scrollCount=function(){return d},o.scrollDistinct=function(){return f},o.scrollPixels=function(){return O},UTBOOMR.utils.addListener(n,"scroll",M,r),m=setInterval((function(){var e=Math.min(u,100);0!==e&&i.set("scrollpct",e),u=0}),t),{analyze:function(t){e.addToBeacon("c.s",o.scrollCount()),e.addToBeacon("c.s.p",o.scrollPct()),e.addToBeacon("c.s.y",o.scrollPixels()),e.addToBeacon("c.s.d",o.scrollDistinct())},stop:function(){m&&(clearInterval(m),m=!1),UTBOOMR.utils.removeListener(n,"scroll",M)},onBeacon:function(){l=0,d=0,O=0,f=0}}}function M(e){var t=UTBOOMR.now();d++,t-p>2e3&&f++,p=t;var n=Math.ceil(UTBOOMR.utils.scroll().y),r=Math.abs(s-n);O+=r,i.increment("scroll",r),(0===c||Math.abs(c-n)>20)&&(i.log(0,t,{y:n}),c=n),u+=Math.round(r/B*100),l+=Math.round(r/B*100),s=n}},f=function(t,n,i){n.register("click",0);var a=0,s=0,c=0,u=0,l=0,d=null;function O(e){var t=UTBOOMR.now(),r=e.clientX,o=e.clientY;a++;var O=Math.round(Math.sqrt(Math.pow(l-o,2)+Math.pow(u-r,2)));d===e.target||O<=10?++s+1>=3&&(c++,UTBOOMR.fireEvent("rage_click",e)):s=0,u=r,l=o,d=e.target,n.increment("click"),n.log(1,t,{x:r,y:o}),e.cancelable&&i.interact("click",t,e)}return o.clicksCount=function(){return a},o.clicksRage=function(){return c},UTBOOMR.utils.addListener(t.document,"click",O,r),{analyze:function(t){e.addToBeacon("c.c",o.clicksCount()),e.addToBeacon("c.c.r",o.clicksRage())},stop:function(){UTBOOMR.utils.removeListener(t.document,"click",O)},onBeacon:function(){a=0,s=0,c=0}}},p=function(t,n,i){n.register("key",0);var a=0,s=0;function c(e){var t=UTBOOMR.now();a++,27===e.keyCode&&s++,n.increment("key"),n.log(3,t),e.cancelable&&i.interact("key",t,e)}return o.keyCount=function(){return a},o.keyEscapes=function(){return s},UTBOOMR.utils.addListener(t.document,"keydown",c,r),{analyze:function(t){e.addToBeacon("c.k",o.keyCount()),e.addToBeacon("c.k.e",o.keyEscapes())},stop:function(){UTBOOMR.utils.removeListener(t.document,"keydown",c)},onBeacon:function(){a=0,s=0}}},m=function(n,i,a){i.register("mouse",0),i.register("mousepct",2);var s=0,c=0,u=0,l=0,d=0,O=0,f=0,p=!1,m=!1,g=Math.round(Math.sqrt(Math.pow(UTBOOMR.utils.windowHeight(),2)+Math.pow(UTBOOMR.utils.windowWidth(),2)));function T(e){var t=e.clientX,n=e.clientY,r=Math.round(Math.sqrt(Math.pow(c-n,2)+Math.pow(s-t,2))),o=Math.round(r/g*100);d+=o,O+=o,f+=r,s=t,c=n,i.increment("mouse",r)}return o.mousePct=function(){return O},o.mousePixels=function(){return f},p=setInterval((function(){var e=Math.min(d,100);0!==e&&i.set("mousepct",e),d=0}),t),m=setInterval((function(){u===s&&l===c||Math.round(Math.sqrt(Math.pow(l-c,2)+Math.pow(u-s,2)))>=10&&(i.log(2,UTBOOMR.now(),{x:s,y:c}),u=s,l=c)}),250),UTBOOMR.utils.addListener(n.document,"mousemove",T,r),{analyze:function(t){e.addToBeacon("c.m.p",o.mousePct()),e.addToBeacon("c.m.n",o.mousePixels())},stop:function(){p&&(clearInterval(p),p=!1),m&&(clearInterval(m),m=!1),UTBOOMR.utils.removeListener(n.document,"mousemove",T)},onBeacon:function(){O=0,f=0}}},g=function(t,n,r){n.register("inter",0),n.register("interdly",0);var i=r,s=0,c=null,u=0,l=0,d=0,O=0,f=!0,p=0,m=0,g=!1,T=!1,B=!1,M=!1;function v(){g&&(clearTimeout(g),g=!1),T&&(clearTimeout(T),T=!1)}function h(){U("Sending interaction beacon"),UTBOOMR.sendBeaconWhenReady({"rt.start":"manual","http.initiator":"interaction","rt.tstart":p,"rt.end":m},(function(){v(),UTBOOMR.fireEvent("interaction")}),e)}return o.interactionDelayed=function(){return d},o.interactionDelayedTime=function(){return Math.ceil(O)},o.interactionAvgDelay=function(){if(u>0)return Math.ceil(l/u)},o.timeToFirstInteraction=function(){if(s)return UTBOOMR.getPrerenderedOffset(Math.floor(s-a))},o.firstInputDelay=function(){if(null!==c)return c},UTBOOMR.subscribe("spa_init",(function(){B=!0,v()}),null,e),{interact:function(r,o,M){var v=0,R=UTBOOMR.hrNow();o=o||UTBOOMR.now(),f&&(u++,s||(s=M&&M.timeStamp?M.timeStamp+a:o),!M||!M.timeStamp||e.isSafari&&t!==window||(v=M.timeStamp>14e11?o-M.timeStamp:R-M.timeStamp,l+=v,null===c&&(c=Math.ceil(v)),v>50&&(n.increment("interdly"),d++,O+=v)),n.increment("inter"),!B&&e.afterOnloadMonitoring&&(m=UTBOOMR.now(),p||(U("Interaction detected, sending a beacon after "+i+" ms"),p=m,T=setTimeout(h,3e4)),g&&(U("Clearing previous interaction timeout"),clearTimeout(g),g=!1),g=setTimeout(h,i)))},analyze:function(t){var n;e.addToBeacon("c.i.dc",o.interactionDelayed()),e.addToBeacon("c.i.dt",o.interactionDelayedTime()),e.addToBeacon("c.i.a",o.interactionAvgDelay()),M||(UTBOOMR.plugins.EventTiming&&UTBOOMR.plugins.EventTiming.is_enabled()&&(n=UTBOOMR.plugins.EventTiming.metrics.firstInputDelay()),n||null===c||(n=o.firstInputDelay()),"number"==typeof n&&(e.addToBeacon("c.fid",Math.ceil(n),!0),e.addToBeacon("c.ttfi",UTBOOMR.plugins.EventTiming.metrics.timeToFirstInteraction()||o.timeToFirstInteraction()),M=!0))},stop:function(){f=!1},onBeacon:function(){O=0,d=0,u=0,l=0,p=0,m=0,B=!1,v()}}},T=function(e,t,n){var i,o,a=!0;function s(){a&&(n.interact("pd",i,o),i=null,o=null,UTBOOMR.utils.removeListener(window,"pointerup",s))}function c(e){a&&e.cancelable&&(i=UTBOOMR.now(),o=e,UTBOOMR.utils.addListener(window,"pointerup",s,r))}function u(){a=!1,UTBOOMR.utils.removeListener(window,"pointerdown",c),UTBOOMR.utils.removeListener(window,"pointerup",s),UTBOOMR.utils.removeListener(window,"pointercancel",u)}return UTBOOMR.utils.addListener(window,"pointerdown",c,r),UTBOOMR.utils.addListener(window,"pointercancel",u,r),{stop:u}},B=function(e,t,n){var i=!0;function o(e){if(i&&e.cancelable){var t=UTBOOMR.now();n.interact("md",t,e)}}return UTBOOMR.utils.addListener(window,"mousedown",o,r),{stop:function(){i=!1,UTBOOMR.utils.removeListener(window,"mousedown",o)}}},M=function(e,t,n){var i=!0;function o(e){if(i&&e.cancelable){var t=UTBOOMR.now();n.interact("ts",t,e)}}return UTBOOMR.utils.addListener(window,"touchstart",o,r),{stop:function(){i=!1,UTBOOMR.utils.removeListener(window,"touchstart",o)}}},v=function(e,t,n){t.register("vis",0);var r={visible:0,hidden:1,prerender:2,unloaded:3},i=!0;return UTBOOMR.subscribe("visibility_changed",(function(e){var n=UTBOOMR.now();i&&(t.increment("vis"),t.log(4,n,{s:r[UTBOOMR.visibilityState()]}))})),{stop:function(){i=!1}}},h=function(e,t,n){t.register("orn",0);var i=!0;function o(e){var n=UTBOOMR.now(),r=window.orientation;if(i){t.increment("orn");var o=window.screen&&(screen.orientation||screen.msOrientation||screen.mozOrientation||{});o&&"number"==typeof o.angle&&(r=screen.orientation.angle),"number"==typeof r&&t.log(5,n,{a:r})}}return UTBOOMR.utils.addListener(e,"orientationchange",o,r),{stop:function(){i=!1,UTBOOMR.utils.removeListener(e,"orientationchange",o)}}},R=function(e,t){t.register("mem",1,!0),t.register("bat",2,!0),t.register("domsz",1,!0),t.register("domln",1,!0),t.register("mut",0);var n,r=e.document,o=!0,a=!1,s=null,c=0,u=0,l=r.getElementsByTagName("*");function d(){o&&s&&t.set("bat",s.level)}if(a=setInterval((function(){var e=i&&i.memory&&i.memory.usedJSHeapSize;if(e&&t.set("mem",e),u=l.length,t.set("domsz",r.documentElement.innerHTML.length),t.set("domln",u),c>0){var n=Math.min(Math.round(c/u*100),100);t.set("mut",n),c=0}}),1e3),e.navigator&&"function"==typeof e.navigator.getBattery)try{e.navigator.getBattery().then((function(e){(s=e).onlevelchange&&(s.onlevelchange=d)}))}catch(e){}return UTBOOMR.utils.isMutationObserverSupported()&&(n=UTBOOMR.utils.addObserver(r,{childList:!0,subtree:!0},null,(function(e){return e.forEach((function(e){if("childList"!==e.type)return!0;for(var t=0;te.waitAfterOnload?(e.complete=!0,UTBOOMR.sendBeacon()):(e.timeline.analyze(),o.timeToInteractive()?(e.complete=!0,UTBOOMR.sendBeacon()):setTimeout(n,500))}),500)}else e.complete=!0},addToBeacon:function(e,t,n){0!==t&&void 0!==t||n?UTBOOMR.addVar(e,t,!0):UTBOOMR.removeVar(e)}},UTBOOMR.plugins.Continuity={init:function(t){return UTBOOMR.utils.pluginConfig(e,t,"Continuity",["monitorLongTasks","monitorPageBusy","monitorFrameRate","monitorInteractions","monitorStats","afterOnload","afterOnloadMaxLength","afterOnloadMinWait","waitAfterOnload","ttiWaitForFrameworkReady","ttiWaitForHeroImages","sendLog","logMaxEntries","sendTimeline","monitorLayoutShifts"]),e.initialized||(e.initialized=!0,e.timeline=new s(UTBOOMR.now()),UTBOOMR.window&&(e.monitorLongTasks&&UTBOOMR.window.PerformanceObserver&&UTBOOMR.window.PerformanceLongTaskTiming&&(e.longTaskMonitor=new u(UTBOOMR.window,e.timeline),e.ttiMethod="lt"),e.monitorFrameRate&&"function"==typeof UTBOOMR.window.requestAnimationFrame&&(e.frameRateMonitor=new d(UTBOOMR.window,e.timeline),e.ttiMethod||(e.ttiMethod="raf")),!e.monitorPageBusy||!UTBOOMR.window||UTBOOMR.window.PerformanceObserver&&UTBOOMR.window.PerformanceLongTaskTiming&&e.monitorLongTasks||!UTBOOMR.window.navigator||!UTBOOMR.window.navigator.userAgentData&&UTBOOMR.window.navigator.userAgent.match(/Firefox\//)||(e.pageBusyMonitor=new l(UTBOOMR.window,e.timeline),e.ttiMethod||(e.ttiMethod="b")),e.monitorInteractions&&(e.interactionMonitor=new g(UTBOOMR.window,e.timeline,e.afterOnloadMinWait),e.scrollMonitor=new O(UTBOOMR.window,e.timeline,e.interactionMonitor),e.keyMonitor=new p(UTBOOMR.window,e.timeline,e.interactionMonitor),e.clickMonitor=new f(UTBOOMR.window,e.timeline,e.interactionMonitor),e.mouseMonitor=new m(UTBOOMR.window,e.timeline,e.interactionMonitor),e.visibilityMonitor=new v(UTBOOMR.window,e.timeline,e.interactionMonitor),e.orientationMonitor=new h(UTBOOMR.window,e.timeline,e.interactionMonitor),e.touchStartMonitor=new M(UTBOOMR.window,e.timeline,e.interactionMonitor),e.mouseDownMonitor=new B(UTBOOMR.window,e.timeline,e.interactionMonitor),e.pointerDownMonitor=new T(UTBOOMR.window,e.timeline,e.interactionMonitor)),e.monitorStats&&(e.statsMonitor=new R(UTBOOMR.window,e.timeline,e.interactionMonitor)),e.monitorLayoutShifts&&UTBOOMR.window.PerformanceObserver&&(e.layoutShiftMonitor=new c(UTBOOMR.window))),UTBOOMR.addVar("c.e",a.toString(36)),UTBOOMR.addVar("c.tti.m",e.ttiMethod),UTBOOMR.subscribe("before_beacon",e.onBeforeBeacon,null,e),UTBOOMR.subscribe("beacon",e.onBeacon,null,e),UTBOOMR.subscribe("page_ready",e.onPageReady,null,e),UTBOOMR.subscribe("xhr_load",e.onXhrLoad,null,e)),this},is_complete:function(t){return e.complete||t&&("error"===t["http.initiator"]||void 0!==t.early)},frameworkReady:function(){e.frameworkReady=UTBOOMR.now()},metrics:o,compressBucketLog:b,decompressBucketLog:function(e,t){var r,i,o,a,s,c,u=[],l=t||0;if(!e||0===e.length)return[];for(c=parseInt(e.charAt(0),10),e=e.substring(1),a=1,r=0;r=48&&t<=57?t-48:t>=97&&t<=122?t-97+10:t>=65&&t<=90?t-65+36:95===t?62:45===t?63:0}function y(e,n,r,i,o,a){for(var s=0,c=r,u=!1,l=r;l<=i;l++)if(c=l,a.longtask&&a.longtask[l])o=0;else if(a.fps&&(!a.fps[l]||a.fps[l]<2))o=0;else{if(a.busy){if(u&&void 0===a.busy[l]){c--;break}if(u||void 0===a.busy[l]||(u=!0),a.busy[l]>50){o=0;continue}}if(a.interdly&&a.interdly[l])o=0;else if(++o>=5){s=e+(l+1-5)*t,s=Math.max(s,n);break}}return{tti:s,idleIntervals:o,lastBucketVisited:c}}function w(e){return parseFloat(e.toFixed(3))}function S(e){if(e&&e.length){for(var t=[],n=0;nt.interactionsSinceLastBeacon[i].duration)&&(t.interactionsSinceLastBeacon[i]={duration:Math.ceil(n[r].duration),target:UTBOOMR.utils.makeSelector(n[r].target),startTime:Math.floor(n[r].startTime)})}t.maxEntries>0&&t.entries.length>=t.maxEntries||(t.entries=t.entries.concat(n))},onFirstInput:function(e){var n=e.getEntries(),r=n[0];t.entries=t.entries.concat(n),t.firstInputDelay=Math.ceil(r.processingStart-r.startTime),t.timeToFirstInteraction=UTBOOMR.getPrerenderedOffset(Math.floor(r.startTime)),t.interactionsSinceLastBeacon.fid={duration:Math.ceil(r.duration),target:UTBOOMR.utils.makeSelector(r.target),startTime:Math.floor(r.startTime)}}};UTBOOMR.plugins.EventTiming={init:function(e){if(UTBOOMR.utils.pluginConfig(t,e,"EventTiming",["enabled","maxEntries","durationThreshold"]),this.is_supported()||(t.initialized=!0),!t.initialized){UTBOOMR.subscribe("before_beacon",t.onBeforeBeacon,null,t);try{var n=UTBOOMR.window;t.observerEvent=new n.PerformanceObserver(t.onEventTiming),t.observerEvent.observe({type:["event"],buffered:!0,durationThreshold:t.durationThreshold}),t.observerFirstInput=new n.PerformanceObserver(t.onFirstInput),t.observerFirstInput.observe({type:["first-input"],buffered:!0})}catch(e){t.supported=!1}UTBOOMR.subscribe("page_unload",t.onPageUnload,null,t),t.initialized=!0}return this},is_complete:function(){return!0},is_enabled:function(){return t.initialized&&this.is_supported()},is_supported:function(){if(null!==t.supported)return t.supported;var e=UTBOOMR.window,n=UTBOOMR.getPerformance();return t.supported=n&&void 0!==e.PerformanceEventTiming&&"function"==typeof e.PerformanceObserver,t.supported&&UTBOOMR.info("This user agent supports EventTiming","et"),t.supported},stop:function(){t.observerEvent&&(t.observerEvent.disconnect(),t.observerEvent=null),t.observerFirstInput&&(t.observerFirstInput.disconnect(),t.observerFirstInput=null)},metrics:{count:function(){return t.entries.length},averageDuration:function(){if(0===t.entries.length)return 0;for(var e=0,n=0;n=n.length&&(r=n.length-1),n[r]}}}}}()},105:function(){!function(){if(UTBOOMR=window.UTBOOMR||{},UTBOOMR.plugins=UTBOOMR.plugins||{},!UTBOOMR.plugins.NavigationTiming){var e={complete:!1,fullySent:!1,sendBeacon:function(){this.complete=!0,UTBOOMR.sendBeacon()},xhr_done:function(t){var n;if(t&&"spa_hard"===t.initiator)e.done(t);else if(t&&"spa"===t.initiator)e.sendBeacon();else{UTBOOMR.window;var r,i,o={};if(t){if(t.data&&(t=t.data),(n=UTBOOMR.getPerformance())&&t.restiming)for(i in o={nt_red_st:t.restiming.redirectStart,nt_red_end:t.restiming.redirectEnd,nt_fet_st:t.restiming.fetchStart,nt_dns_st:t.restiming.domainLookupStart,nt_dns_end:t.restiming.domainLookupEnd,nt_con_st:t.restiming.connectStart,nt_con_end:t.restiming.connectEnd,nt_req_st:t.restiming.requestStart,nt_res_st:t.restiming.responseStart,nt_res_end:t.restiming.responseEnd},t.restiming.secureConnectionStart&&(o.nt_ssl_st=t.restiming.secureConnectionStart),o)o.hasOwnProperty(i)&&o[i]&&(o[i]+=n.timing.navigationStart,o[i]=Math.floor(o[i]));for(i in t.timing&&(r=t.timing,o.nt_req_st||(o.nt_req_st=r.requestStart),o.nt_res_st||(o.nt_res_st=r.responseStart),o.nt_res_end||(o.nt_res_end=r.responseEnd),o.nt_domint=r.domInteractive,o.nt_domcomp=r.domComplete,o.nt_load_st=r.loadEventEnd,o.nt_load_end=r.loadEventEnd),o)o.hasOwnProperty(i)&&!o[i]&&delete o[i];UTBOOMR.addVar(o,void 0,!0),e.sendBeacon()}}},done:function(){var n,r,i,o,a,s,c=UTBOOMR.window,u={},l=0,d=!1;if(this.complete)return this;if(n=UTBOOMR.getPerformance()){for(s in"function"==typeof n.getEntriesByType&&((o=n.getEntriesByType("navigation"))&&o.length?(UTBOOMR.info("This user agent supports NavigationTiming2","nt"),o=o[0],l=n.timing?n.timing.navigationStart:0):o=void 0),!o&&n.timing&&(UTBOOMR.info("This user agent supports NavigationTiming","nt"),o=n.timing),o&&(!(u={nt_nav_st:n.timing?n.timing.navigationStart:0,nt_red_st:t(l,o.redirectStart),nt_red_end:t(l,o.redirectEnd),nt_fet_st:t(l,o.fetchStart,!0),nt_dns_st:t(l,o.domainLookupStart,!0),nt_dns_end:t(l,o.domainLookupEnd,!0),nt_con_st:t(l,o.connectStart,!0),nt_con_end:t(l,o.connectEnd,!0),nt_req_st:t(l,o.requestStart),nt_res_st:t(l,o.responseStart),nt_res_end:t(l,o.responseEnd),nt_domloading:t(l,o.domLoading),nt_domint:t(l,o.domInteractive),nt_domcontloaded_st:t(l,o.domContentLoadedEventStart),nt_domcontloaded_end:t(l,o.domContentLoadedEventEnd),nt_domcomp:t(l,o.domComplete),nt_load_st:t(l,o.loadEventStart),nt_load_end:t(l,o.loadEventEnd),nt_unload_st:t(l,o.unloadEventStart),nt_unload_end:t(l,o.unloadEventEnd),nt_act_st:t(l,o.activationStart)}).nt_domloading&&n&&n.timing&&n.timing.domLoading&&(u.nt_domloading=n.timing.domLoading),o.secureConnectionStart&&(u.nt_ssl_st=t(l,o.secureConnectionStart)),n.timing&&n.timing.msFirstPaint&&(u.nt_first_paint=n.timing.msFirstPaint),o.workerStart&&(u.nt_worker_start=t(l,o.workerStart)),(o.decodedBodySize||o.transferSize)&&(u.nt_enc_size=o.encodedBodySize,u.nt_dec_size=o.decodedBodySize,u.nt_trn_size=o.transferSize),o.nextHopProtocol&&(u.nt_protocol=o.nextHopProtocol)),!u.nt_first_paint&&UTBOOMR.plugins.PaintTiming&&(d=UTBOOMR.plugins.PaintTiming.is_supported(),(a=UTBOOMR.plugins.PaintTiming.getTimingFor("first-paint"))&&(u.nt_first_paint=t(l,a))),u.nt_protocol&&u.nt_first_paint||o&&""===o.nextHopProtocol||d||!c.chrome||"function"!=typeof c.chrome.loadTimes||(i=c.chrome.loadTimes())&&(u.nt_spdy=i.wasFetchedViaSpdy?1:0,u.nt_cinf=i.connectionInfo,"number"==typeof i.firstPaintTime&&0!==i.firstPaintTime&&(u.nt_first_paint=Math.round(1e3*i.firstPaintTime))),n.navigation&&(r=n.navigation,u.nt_red_cnt=r.redirectCount,u.nt_nav_type=r.type),u)u.hasOwnProperty(s)&&void 0===u[s]&&delete u[s];UTBOOMR.addVar(u,void 0,!0),o&&(o.requestStart&&o.navigationStart&&o.requestStartUTBOOMR.now()+864e5)&&UTBOOMR.addVar("nt_bad",1,!0),u.nt_load_end>0&&(this.fullySent=!0)}e.sendBeacon()},clear:function(e){this.complete=!(e&&e.early)&&this.fullySent},prerenderToVisible:function(){this.complete=!1,this.done()},onBeforeEarlyBeacon:function(e){e&&void 0!==e.initiator&&"spa_hard"!==e.initiator||this.done()}};UTBOOMR.plugins.NavigationTiming={init:function(){return e.initialized||(UTBOOMR.subscribe("page_ready",e.done,null,e),UTBOOMR.subscribe("prerender_to_visible",e.prerenderToVisible,null,e),UTBOOMR.subscribe("before_early_beacon",e.onBeforeEarlyBeacon,null,e),UTBOOMR.subscribe("xhr_load",e.xhr_done,null,e),UTBOOMR.subscribe("before_unload",e.done,null,e),UTBOOMR.subscribe("beacon",e.clear,null,e),e.initialized=!0),this},is_complete:function(){return!0}}}function t(e,t,n){return"number"!=typeof t||0===t?0===t&&n?Math.floor(e||0):void 0:Math.floor((e||0)+t)}}()},864:function(){!function(){if(UTBOOMR=window.UTBOOMR||{},UTBOOMR.plugins=UTBOOMR.plugins||{},!UTBOOMR.plugins.PaintTiming){var e={"first-paint":"fp","first-contentful-paint":"fcp","largest-contentful-paint":"lcp"},t={initialized:!1,complete:!1,supported:null,supportedSoftNavHeuristics:null,timingCache:{},timingHistory:{},observer:null,externalMetrics:{},lcp:{time:0,el:"",src:"",id:"",e:"",srcset:"",sizes:"",s:0},lcpDataSent:!1,done:function(n,r){var i,o,a;if(this.complete)return this;if("load"!==r&&(!n||"spa_hard"!==n.initiator))return this.complete=!0,this;if((i=UTBOOMR.getPerformance())&&"function"==typeof i.getEntriesByType){if((o=i.getEntriesByType("paint"))&&o.length){for(UTBOOMR.info("This user agent supports PaintTiming","pt"),a=0;a0?a.obo=this.oboError.toString(36):delete a.obo,o=UTBOOMR.now(),t&&(a[t]=(o-UTBOOMR.session.start).toString(36),n.lastActionTime=o),this.beacon_url&&(a.bcn=this.beacon_url),UTBOOMR.debug("Setting cookie (timer="+t+")\n"+UTBOOMR.utils.objectToString(a),"rt"),UTBOOMR.utils.setCookie(this.cookie,a,this.cookie_exp)?((i=UTBOOMR.now())-o>50&&(UTBOOMR.utils.removeCookie(this.cookie),UTBOOMR.error("took more than 50ms to set cookie... aborting: "+o+" -> "+i,"rt")),!0):(UTBOOMR.error("cannot set start cookie","rt"),!1)},refreshSession:function(e){e||(e=UTBOOMR.plugins.RT.getCookie()),e&&(e.ss?UTBOOMR.session.start=e.ss:UTBOOMR.session.start=UTBOOMR.plugins.RT.navigationStart()||UTBOOMR.t_lstart||UTBOOMR.t_start,e.si&&e.si.match(/-/)&&(UTBOOMR.session.ID=e.si),e.sl&&(UTBOOMR.session.length=e.sl),e.tt&&(this.loadTime=e.tt),e.obo&&(this.oboError=e.obo),e.dm&&!UTBOOMR.session.domain&&(UTBOOMR.session.domain=e.dm),e.se&&(n.session_exp=e.se),e.bcn&&(this.beacon_url=e.bcn),e.rl&&"1"===e.rl&&(UTBOOMR.session.rate_limited=!0))},maybeResetSession:function(e,t){UTBOOMR.debug("Current session meta:\n"+UTBOOMR.utils.objectToString(UTBOOMR.session),"rt"),UTBOOMR.debug("Timers: t_start="+t+", sessionLoad="+n.loadTime+", sessionError="+n.oboError+", lastAction="+n.lastActionTime,"rt");var r=0;UTBOOMR.session.start&&UTBOOMR.session.length&&(r=(UTBOOMR.now()-UTBOOMR.session.start)/UTBOOMR.session.length);var i=1e3*n.session_exp;(!UTBOOMR.session.start||t&&UTBOOMR.session.start>t||e-(n.lastActionTime||UTBOOMR.t_start)>i||r>i)&&(UTBOOMR.session.start=t||UTBOOMR.plugins.RT.navigationStart()||UTBOOMR.t_lstart||UTBOOMR.t_start,UTBOOMR.session.length=0,UTBOOMR.session.rate_limited=!1,n.loadTime=0,n.oboError=0,n.beacon_url=n.next_beacon_url,n.lastActionTime=e,n.updateCookie({rl:void 0,sl:UTBOOMR.session.length,ss:UTBOOMR.session.start,tt:n.loadTime,obo:void 0,bcn:n.beacon_url})),UTBOOMR.debug("New session meta:\n"+UTBOOMR.utils.objectToString(UTBOOMR.session),"rt"),UTBOOMR.debug("Timers: t_start="+t+", sessionLoad="+n.loadTime+", sessionError="+n.oboError,"rt")},initFromCookie:function(){var e,n,r;r=UTBOOMR.plugins.RT.getCookie(),this.cookie||(UTBOOMR.session.enabled=!1),r&&(r.s=Math.max(+r.ld||0,Math.max(+r.ul||0,+r.cl||0)),UTBOOMR.debug("Read from cookie "+UTBOOMR.utils.objectToString(r),"rt"),r.s&&(r.r||r.nu)&&(this.r=r.r,e=UTBOOMR.utils.hashString(t.URL),n=UTBOOMR.utils.hashString(t&&t.referrer||""),UTBOOMR.debug("referrer check: "+this.r+" =?= "+n,"rt"),r.cl&&UTBOOMR.debug(r.s+" r.s&&(this.t_fb_approx=r.hd)):this.t_start=this.t_fb_approx=void 0),r.s&&(this.lastActionTime=r.s),this.refreshSession(r),this.updateCookie({s:void 0,ul:void 0,cl:void 0,hd:void 0,ld:void 0,rl:void 0,r:void 0,nu:void 0,sh:void 0}),this.maybeResetSession(UTBOOMR.now()))},incrementSessionDetails:function(){UTBOOMR.debug("Incrementing Session Details... ","RT"),UTBOOMR.session.length++,!n.timers.t_done||isNaN(n.timers.t_done.delta)?n.oboError++:n.loadTime+=n.timers.t_done.delta},getBoomerangTimings:function(){var e,t,n,r,i;function o(e,t){var n=Math.round(e||0),r=Math.round(t||0);return(n=0===n?0:n-r)||""}UTBOOMR.t_start&&(UTBOOMR.plugins.RT.startTimer("boomerang",UTBOOMR.t_start),UTBOOMR.plugins.RT.endTimer("boomerang",UTBOOMR.t_end),UTBOOMR.plugins.RT.endTimer("boomr_fb",UTBOOMR.t_start),UTBOOMR.t_lstart&&(UTBOOMR.plugins.RT.endTimer("boomr_ld",UTBOOMR.t_lstart),UTBOOMR.plugins.RT.setTimer("boomr_lat",UTBOOMR.t_start-UTBOOMR.t_lstart)));try{if(window&&"performance"in window&&window.performance&&"function"==typeof window.performance.getEntriesByName)for(n in t={"rt.bmr":UTBOOMR.url},UTBOOMR.config_url&&(t["rt.cnf"]=UTBOOMR.config_url),t)if(t.hasOwnProperty(n)&&t[n]){if(!(e=window.performance.getEntriesByName(t[n]))||0===e.length||!e[0])continue;i=[r=o((e=e[0]).startTime,0),o(e.responseEnd,r),o(e.responseStart,r),o(e.requestStart,r),o(e.connectEnd,r),o(e.secureConnectionStart,r),o(e.connectStart,r),o(e.domainLookupEnd,r),o(e.domainLookupStart,r),o(e.redirectEnd,r),o(e.redirectStart,r)].join(",").replace(/,+$/,""),UTBOOMR.addVar(n,i,!0)}}catch(e){e&&e.name&&e.name.hasOwnProperty("length")&&-1===e.name.indexOf("NS_ERROR_FAILURE")&&UTBOOMR.addError(e,"rt.getBoomerangTimings")}},checkLegacyPrerender:function(){return"prerender"===UTBOOMR.visibilityState()&&(UTBOOMR.plugins.RT.startTimer("t_load",this.navigationStart),UTBOOMR.plugins.RT.endTimer("t_load"),UTBOOMR.plugins.RT.startTimer("t_prerender",this.navigationStart),UTBOOMR.plugins.RT.startTimer("t_postrender"),!0)},checkModernPrerender:function(){var e=UTBOOMR.getActivationStart();if(!1!==e){var t=e+n.cached_t_start;t>n.timers.t_done.end?(n.timers.t_done=n.timers.t_done||{},n.timers.t_done.delta=1,n.timers.t_page=n.timers.t_page||{},n.timers.t_page.delta=1,n.timers.t_resp=n.timers.t_resp||{},n.timers.t_resp.delta=0):(n.timers.t_done=n.timers.t_done||{},n.timers.t_done.delta=n.timers.t_done.end-n.cached_t_start-e,t>n.timers.t_resp.end?(n.timers.t_page=n.timers.t_page||{},n.timers.t_page.delta=n.timers.t_done.delta,n.timers.t_resp=n.timers.t_resp||{},n.timers.t_resp.delta=0):(n.timers.t_resp=n.timers.t_resp||{},n.timers.t_resp.delta=n.timers.t_resp.end-n.cached_t_start-e))}},initFromNavTiming:function(){var t,n;this.navigationStart||((n=UTBOOMR.getPerformance())&&n.navigation&&(this.navigationType=n.navigation.type),n&&n.timing?(t=n.timing,this.navigationStartSource="navigation"):e.chrome&&e.chrome.csi&&e.chrome.csi().startE?(t={navigationStart:e.chrome.csi().startE},this.navigationStartSource="csi"):e.gtbExternal&&e.gtbExternal.startE()&&(t={navigationStart:e.gtbExternal.startE()},this.navigationStartSource="gtb"),t?(this.navigationStart=t.navigationStart||t.fetchStart||void 0,this.fetchStart=t.fetchStart||void 0,this.responseStart=t.responseStart||void 0,!navigator.userAgentData&&navigator.userAgent.match(/Firefox\/[78]\./)&&(this.navigationStart=t.unloadEventStart||t.fetchStart||void 0)):UTBOOMR.warn("This browser doesn't support the WebTiming API","rt"))},validateLoadTimestamp:function(e,t,n){var r;return t&&t.timing&&t.timing.loadEventEnd?t.timing.loadEventEnd:"xhr"!==n||t&&UTBOOMR.utils.inArray(t.initiator,UTBOOMR.constants.BEACON_TYPE_SPAS)?(r=UTBOOMR.getPerformance())&&r.timing?r.timing.loadEventEnd?r.timing.loadEventEnd:e:UTBOOMR.t_onload||UTBOOMR.t_lstart||UTBOOMR.t_start||e:e},setPageLoadTimers:function(e,t,r){var i,o;if(!("xhr"===e||"early"===e&&r&&UTBOOMR.utils.inArray(r.initiator,UTBOOMR.constants.BEACON_TYPE_SPAS))&&(n.initFromCookie(),n.initFromNavTiming(),UTBOOMR.addVar("rt.start",this.navigationStartSource),n.checkLegacyPrerender()))return!1;if("xhr"===e)if(r.timers)for(var a in r.timers)r.timers.hasOwnProperty(a)&&UTBOOMR.plugins.RT.setTimer(a,r.timers[a]);else r&&r.timing&&(void 0===(o=r.timing.fetchStart)||r.timing.responseEnd>=o)&&(i=r.timing.responseEnd);else n.responseStart?n.responseStart>=n.navigationStart&&n.responseStart>=n.fetchStart&&(i=n.responseStart):n.timers.hasOwnProperty("t_page")?UTBOOMR.plugins.RT.endTimer("t_page"):n.t_fb_approx&&(i=n.t_fb_approx);return i&&"early"!==e&&(o?UTBOOMR.plugins.RT.setTimer("t_resp",o,i):UTBOOMR.plugins.RT.endTimer("t_resp",i),"load"===e&&n.timers.t_load?UTBOOMR.plugins.RT.setTimer("t_page",n.timers.t_load.end-i):tn.oboError&&(n.oboError=e.RT.oboError),e.RT.loadTime&&!isNaN(e.RT.loadTime)&&e.RT.loadTime>n.loadTime&&(n.loadTime=e.RT.loadTime,n.timers.t_done&&!isNaN(n.timers.t_done.delta)&&(n.loadTime+=n.timers.t_done.delta)))},domloaded:function(){UTBOOMR.plugins.RT&&UTBOOMR.plugins.RT.endTimer("t_domloaded")},clear:function(e){e&&void 0!==e.early||UTBOOMR.removeVar("rt.start")},spaNavigation:function(){n.onloadfired=!0}},UTBOOMR.plugins.RT={init:function(r){if(UTBOOMR.debug("init RT","rt"),e!==UTBOOMR.window&&(e=UTBOOMR.window),r&&r.CrossDomain&&r.CrossDomain.sending&&(n.crossdomain_sending=!0),e&&e.document)return t=e.document,UTBOOMR.utils.pluginConfig(n,r,"RT",["cookie","cookie_exp","session_exp","strict_referrer"]),r&&void 0!==r.autorun&&(n.autorun=r.autorun),r&&r.beacon_url&&(n.beacon_url&&!r.force_beacon_url||(n.beacon_url=r.beacon_url),n.next_beacon_url=r.beacon_url),void 0!==t&&(n.r=UTBOOMR.utils.hashQueryString(t.referrer,!0)),n.initFromCookie(),n.initialized||(n.complete=!1,n.timers={},n.check_visibility(),UTBOOMR.subscribe("page_ready",n.page_ready,null,n),UTBOOMR.subscribe("visibility_changed",n.check_visibility,null,n),UTBOOMR.subscribe("prerender_to_visible",n.prerenderToVisible,null,n),UTBOOMR.subscribe("page_ready",this.done,"load",this),UTBOOMR.subscribe("xhr_load",this.done,"xhr",this),UTBOOMR.subscribe("before_early_beacon",this.done,"early",this),UTBOOMR.subscribe("dom_loaded",n.domloaded,null,n),UTBOOMR.subscribe("page_unload",n.page_unload,null,n),UTBOOMR.subscribe("click",n.onclick,null,n),UTBOOMR.subscribe("form_submit",n.onsubmit,null,n),UTBOOMR.subscribe("before_beacon",this.addTimersToBeacon,"beacon",this),UTBOOMR.subscribe("beacon",n.clear,null,n),UTBOOMR.subscribe("error",n.markComplete,null,n),UTBOOMR.subscribe("config",n.onconfig,null,n),UTBOOMR.subscribe("spa_navigation",n.spaNavigation,null,n),UTBOOMR.subscribe("interaction",n.markComplete,null,n),UTBOOMR.getBeaconURL=function(){return n.beacon_url},n.initialized=!0),this},startTimer:function(e,t){return e&&("t_page"===e&&this.endTimer("t_resp",t),n.timers[e]={start:"number"==typeof t?t:UTBOOMR.now()}),this},endTimer:function(e,t){return e&&(n.timers[e]=n.timers[e]||{},void 0===n.timers[e].end&&(n.timers[e].end="number"==typeof t?t:UTBOOMR.now())),this},clearTimer:function(e){return e&&delete n.timers[e],this},setTimer:function(e,t,r){return e&&(n.timers[e]=void 0!==r?{start:t,end:r,delta:r-t}:{delta:t}),this},addTimersToBeacon:function(e,t){var r,i,o=[];for(r in n.timers)if(n.timers.hasOwnProperty(r)){if("number"!=typeof(i=n.timers[r]).delta&&("number"!=typeof i.start&&(i.start="xhr"===t?n.cached_xhr_start:n.cached_t_start),i.delta=i.end-i.start),isNaN(i.delta))continue;n.BASIC_TIMERS.hasOwnProperty(r)?UTBOOMR.addVar(r,i.delta,!0):o.push(r+"|"+i.delta)}o.length&&UTBOOMR.addVar("t_other",o.join(","),!0),"beacon"!==t||e&&void 0!==e.early||(n.timers={},n.complete=!1)},done:function(e,t){if(UTBOOMR.debug("Called done: "+t,"rt"),UTBOOMR.plugins.RT){var r,i,o=UTBOOMR.now(),a=!1;return n.complete=!1,i=n.validateLoadTimestamp(o,e,t),"load"!==t&&"visible"!==t&&"xhr"!==t&&"early"!==t||n.setPageLoadTimers(t,i,e)?(("load"===t||"visible"===t||"early"===t&&(!e||void 0===e.initiator||"spa_hard"===e.initiator)||"xhr"===t&&e&&"spa_hard"===e.initiator)&&n.getBoomerangTimings(),r=n.determineTStart(t,e),n.refreshSession(),n.maybeResetSession(i,r),"early"!==t&&this.endTimer("t_done",i),"load"===t&&n.checkModernPrerender(),e&&"xhr"===e.initiator&&this.setTimer("t_done",e.timing.requestStart,e.timing.loadEventEnd),n.setSupportingTimestamps(r,t),this.addTimersToBeacon(null,t),UTBOOMR.setReferrer(n.r),"xhr"===t&&e&&e&&e.data&&(e=e.data),"xhr"===t&&e&&(a=e.subresource,e.url&&UTBOOMR.addVar("u",UTBOOMR.utils.cleanupURL(e.url.replace(/#.*/,"")),!0),e.status&&(e.status<-1||e.status>=400)&&UTBOOMR.addVar("http.errno",e.status,!0),e.method&&"GET"!==e.method&&UTBOOMR.addVar("http.method",e.method,!0),e.type&&"xhr"!==e.type&&UTBOOMR.addVar("http.type",e.type[0],!0),e.headers&&UTBOOMR.addVar("http.hdr",e.headers,!0),e.synchronous&&UTBOOMR.addVar("xhr.sync",1,!0),e.initiator&&UTBOOMR.addVar("http.initiator",e.initiator,!0),e.responseBodyNotUsed&&UTBOOMR.addVar("fetch.bnu",1,!0),e.responseUrl&&UTBOOMR.addVar("xhr.ru",UTBOOMR.utils.cleanupURL(e.responseUrl),!0)),a&&"passive"!==a&&UTBOOMR.addVar("rt.subres",1,!0),("load"===t||"visible"===t||"xhr"===t&&!a||"unload"===t&&!n.onloadfired&&n.autorun&&!n.crossdomain_sending)&&(n.incrementSessionDetails(),n.updateCookie(null,"ld")),UTBOOMR.addVar({"rt.tt":n.loadTime,"rt.obo":n.oboError},!0),n.updateCookie(),"unload"===t&&(UTBOOMR.addVar("rt.quit","",!0),n.onloadfired||UTBOOMR.addVar("rt.abld","",!0),n.visiblefired||UTBOOMR.addVar("rt.ntvu","",!0)),"early"!==t&&(n.complete=!0),UTBOOMR.sendBeacon(n.beacon_url),this):this}},is_complete:function(e){return n.complete||e&&"error"===e["http.initiator"]||e&&"bfcache"===e["http.initiator"]||e&&void 0!==e.early},updateCookie:function(){n.updateCookie()},getCookie:function(){var e,t,i;return!!n.cookie&&((e=UTBOOMR.utils.getSubCookies(UTBOOMR.utils.getCookie(n.cookie))||{})&&(1&e.z?(t=36,i=parseInt(e.ss||0,36)):(t=10,i=0),e.ss=parseInt(e.ss||0,t),e.tt=parseInt(e.tt||0,t),e.obo=parseInt(e.obo||0,t),e.sl=parseInt(e.sl||0,t),e.se&&(e.se=parseInt(e.se,t)||r),e.ld&&(e.ld=i+parseInt(e.ld,t)),e.ul&&(e.ul=i+parseInt(e.ul,t)),e.cl&&(e.cl=i+parseInt(e.cl,t)),e.hd&&(e.hd=i+parseInt(e.hd,t))),e)},incrementSessionDetails:function(){n.incrementSessionDetails()},navigationStart:function(){return n.navigationStart||n.initFromNavTiming(),n.navigationStart},resetTimings:function(){n.navigationStart=void 0,n.responseStart=void 0,n.loadTime=0,n.cached_t_start=void 0}})},533:function(){var e=!1;_urconfig&&_urconfig.useLegacyStartTime&&(e=!0);var t,n="https:",r=!1;try{_urconfig&&_urconfig.usePageProtocol&&(n=window.location.protocol)}catch(e){}var i={beacon_url:n+"//hit.uptrendsdata.com/api/hits",RT:{cookie:e?"RT":null},Continuity:{monitorLongTasks:!1,monitorPageBusy:!1,monitorFrameRate:!1,monitorInteractions:!1,monitorStats:!1}};if(_urconfig&&_urconfig.spa){i.autorun=!1,i.History={auto:!0,enabled:!0};var o=!1,a=void 0;UTBOOMR.subscribe("spa_navigation",(function(){a===UTBOOMR.pageId&&(UTBOOMR.pageId=UTBOOMR.utils.generateId(8)),a=UTBOOMR.pageId,o=!0})),addEventListener("beforeunload",(function(){o=!1})),UTBOOMR.subscribe("spa_init",(function(){setTimeout((function(){o&&UTBOOMR.plugins.RT.done(null,"unload")}),10),t&&clearTimeout(t),r=!1}))}UTBOOMR.init(i),UTBOOMR.addVar("urv",7),UTBOOMR.addVar("sid",(_urconfig||{}).sid),UTBOOMR.addVar("aip",(_urconfig||{}).aip),UTBOOMR.subscribe("before_beacon",(function(e){UTBOOMR.removeVar("c.cls.d","c.cls.tops","c.cls.topid","et.e")})),UTBOOMR.subscribe("beacon",(function(){if(r)UTBOOMR.removeVar("rt.delayed");else{var e=5e3;_urconfig&&_urconfig.additionalBeaconTime&&(e=_urconfig.additionalBeaconTime),r=!0,t=setTimeout((function(){UTBOOMR.fireEvent("interaction"),UTBOOMR.addVar("rt.delayed"),UTBOOMR.sendBeacon()}),e)}})),"object"==typeof navigator.userAgentData&&"function"==typeof navigator.userAgentData.getHighEntropyValues&&navigator.userAgentData.getHighEntropyValues(["architecture","bitness","model","platformVersion","uaFullVersion","platform","mobile","brands"]).then((function(e){UTBOOMR.addVar("client_hints",e)})),_urconfig&&_urconfig.uselog||(UTBOOMR.log=function(){})}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){"use strict";n(685),n(334),n(105),n(864),n(342),n(208),n(533)}()}();