!function(t,e,n){function r(n,i){if(!e[n]){if(!t[n]){var a="function"==typeof __nr_require&&__nr_require;if(!i&&a)return a(n,!0);if(o)return o(n,!0);throw new Error("Cannot find module '"+n+"'")}var s=e[n]={exports:{}};t[n][0].call(s.exports,function(e){var o=t[n][1][e];return r(o||e)},s,s.exports)}return e[n].exports}for(var o="function"==typeof __nr_require&&__nr_require,i=0;ie.max&&(e.max=t),t10||(g.releaseIds[e.slice(-200)]=(""+n).slice(-200))}var d=t(19),l=t(10),p=t(2),m=t(21),h=t(25),v=t(47),g=t("loader"),y=t("handle"),b=t(41),w=t(45),x=0,T=b.getConfiguration("ssl")===!1?"http":"https";l.on("jserrors",function(){return{body:p.take(["cm","sm"])}}),d("storeMetric",r,"api"),d("storeEventMetrics",o,"api");var E={finished:m(a),setPageViewName:i,setErrorHandler:c,addToTrace:s,inlineHit:u,addRelease:f};v(E,function(t,e){d("api-"+t,e,"api")});var S=0},{}],4:[function(t,e,n){function r(t,e,n){return t||0===t||""===t?e(t)+(n?",":""):"!"}function o(t,e){return e?Math.floor(t).toString(36):void 0===t||0===t?"":Math.floor(t).toString(36)}function i(){function t(t){return"undefined"==typeof t||""===t?"":(t=String(t),f.shouldObfuscate()&&(t=f.obfuscateString(t)),d.call(e,t)?o(e[t],!0):(e[t]=n++,s(t)))}var e=Object.hasOwnProperty("create")?Object.create(null):{},n=0;return t}function a(t,e){var n=[];return u(t,function(t,r){if(!(n.length>=l)){var o,i=5;switch(t=e(t),typeof r){case"object":r?o=e(c(r)):i=9;break;case"number":i=6,o=r%1?r:r+".";break;case"boolean":i=r?7:8;break;case"undefined":i=9;break;default:o=e(r)}n.push([i,t+(o?","+o:"")])}}),n}function s(t){return"'"+t.replace(p,"\\$1")}var u=t(47),c=t(24),f=t(16),d=Object.prototype.hasOwnProperty,l=64;e.exports={nullable:r,numeric:o,getAddStringContext:i,addCustomAttributes:a};var p=/([,\\;])/g},{}],5:[function(t,e,n){var r=/([^?#]*)[^#]*(#[^?]*|$).*/,o=/([^?#]*)().*/;e.exports=function(t,e){return t.replace(e?r:o,"$1$2")}},{}],6:[function(t,e,n){function r(t,e){var n=t[1];i(e[n],function(e,n){var r=t[0],o=n[0];if(o===r){var i=n[1],a=t[3],s=t[2];i.apply(a,s)}})}var o=t("ee"),i=t(47),a=t(19).handlers;e.exports=function(t){var e=o.backlog[t],n=a[t];if(n){for(var s=0;e&&se)return t.slice(0,r).join("");return t.join("")}function a(t,e){var n=0,r="";return u(t,function(t,i){var a,s,u=[];if("string"==typeof i)a="&"+t+"="+o(i),n+=a.length,r+=a;else if(i.length){for(n+=9,s=0;s=e));s++)u.push(a);r+="&"+t+"=%5B"+u.join(",")+"%5D"}}),r}function s(t,e){return e&&"string"==typeof e?"&"+t+"="+o(e):""}var u=t(47),c=t(24),f={"%2C":",","%3A":":","%2F":"/","%40":"@","%24":"$","%3B":";"},d=u(f,function(t){return t}),l=new RegExp(d.join("|"),"g");e.exports={obj:a,fromArray:i,qs:o,param:s}},{}],8:[function(t,e,n){var r=t(47),o=t("ee"),i=t(6);e.exports=function(t){t&&"object"==typeof t&&(r(t,function(t,e){e&&!a[t]&&(o.emit("feat-"+t,[]),a[t]=!0)}),i("feature"))};var a=e.exports.active={}},{}],9:[function(t,e,n){function r(t,e,n){this.loader=t,this.endpoint=e,this.opts=n||{},this.started=!1,this.timeoutHandle=null}var o=t(10),i=t(25);e.exports=r,r.prototype.startTimer=function(t,e){this.interval=t,this.started=!0,this.scheduleHarvest(null!=e?e:this.interval)},r.prototype.stopTimer=function(){this.started=!1,this.timeoutHandle&&clearTimeout(this.timeoutHandle)},r.prototype.scheduleHarvest=function(t,e){if(!this.timeoutHandle){var n=this;null==t&&(t=this.interval),this.timeoutHandle=setTimeout(function(){n.timeoutHandle=null,n.runHarvest(e)},1e3*t)}},r.prototype.runHarvest=function(t){function e(e){n.onHarvestFinished(t,e)}var n=this;if(this.opts.getPayload){var r=o.getSubmitMethod(this.endpoint,t);if(!r)return!1;var a=r.method===i.xhr,s=this.opts.getPayload({retry:a});if(s){s="[object Array]"===Object.prototype.toString.call(s)?s:[s];for(var u=0;u0&&a.forEach(function(t){!t.startTime||t.startTime<=0||("first-paint"===t.name?o.push(w.param("fp",String(Math.floor(t.startTime)))):"first-contentful-paint"===t.name&&o.push(w.param("fcp",String(Math.floor(t.startTime)))),B(t.name,Math.floor(t.startTime)))})}o.push(w.param("xx",t.info.extra)),o.push(w.param("ua",t.info.userAttributes)),o.push(w.param("at",t.info.atts));var s=x(t.info.jsAttributes);o.push(w.param("ja","{}"===s?null:s));var u=w.fromArray(o,t.maxBytes);T.jsonp(I+"://"+t.info.beacon+"/"+r+"/"+t.info.licenseKey+u,N)}}}function o(t){var e=y(q,function(e){return s(e,t,{unload:!0})});return E(e,i)}function i(t,e){return t||e}function a(t,e){for(var n=v(),r=v(),o=q[t]&&q[t]||[],i=0;i9||0===H,B=t(17).addMetric,L=t(42);e.exports={sendRUM:g(r),sendFinal:o,sendX:s,send:u,on:p,xhrUsable:_,resetListeners:m,getSubmitMethod:d}},{}],11:[function(t,e,n){var r=document.createElement("div");r.innerHTML="";var o,i=r.getElementsByTagName("div").length;o=4===i?6:3===i?7:2===i?8:1===i?9:0,e.exports=o},{}],12:[function(t,e,n){function r(t){a.sendFinal(c,!1),d.conditionallySet()}var o=t(23),i=t(28),a=t(10),s=t(19),u=t(8),c=t("loader"),f=t(6),d=t(14),l=t(41),p=t(44),m=t(45);t(3),t(26).init(c,l.getConfiguration("page_view_timing"));var h="undefined"==typeof window.NREUM.autorun||window.NREUM.autorun;window.NREUM.setToken=u,6===t(11)?c.maxBytes=2e3:c.maxBytes=3e4,c.releaseIds={},i(r),s("mark",o.mark,"api"),o.mark("done"),f("api"),h&&a.sendRUM(c),setTimeout(function(){for(var t=0;t0&&(o=Math.round(t-e),n[r]=o),v.push(o)}var a="Start",s="End",u="unloadEvent",c="redirect",f="domainLookup",d="onnect",l="request",p="response",m="loadEvent",h="domContentLoadedEvent",v=[];e.exports={addPT:r,addPN:o,nt:v}},{}],16:[function(t,e,n){function r(){return o().length>0}function o(){var t=[],e=s.getConfiguration("obfuscate")||[];return t=t.concat(e),c.isFileProtocol()&&t.push(f),t}function i(t){for(var e=!1,n=!1,r=0;r6e4)return;return o}}}var a=t(20),s=t(23),u=t("loader"),c=t(43);e.exports={navCookie:!0},r()},{}],23:[function(t,e,n){function r(t,e){"undefined"==typeof e&&(e=a()+a.offset),s[t]=e}function o(t,e,n){var r=s[e],o=s[n];"undefined"!=typeof r&&"undefined"!=typeof o&&i.store("measures",t,{value:o-r})}var i=t(2),a=t(46),s={};e.exports={mark:r,measure:o}},{}],24:[function(t,e,n){function r(t){try{return i("",{"":t})}catch(e){try{s.emit("internal-error",[e])}catch(n){}}}function o(t){return u.lastIndex=0,u.test(t)?'"'+t.replace(u,function(t){var e=c[t];return"string"==typeof e?e:"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+t+'"'}function i(t,e){var n=e[t];switch(typeof n){case"string":return o(n);case"number":return isFinite(n)?String(n):"null";case"boolean":return String(n);case"object":if(!n)return"null";var r=[];if(n instanceof window.Array||"[object Array]"===Object.prototype.toString.apply(n)){for(var s=n.length,u=0;u0||P)&&(r.cls=e),c("lcp",Math.floor(t.startTime),r,!1),N=!0}}function i(t,e){if(q){var n=q[0];if(n.size>=t.size)return}q=[t,U,e]}function a(t){(t.startTime-I.lastEntryTime>1e3||t.startTime-I.firstEntryTime>5e3)&&(I={value:0,firstEntryTime:t.startTime,lastEntryTime:t.startTime}),I.value+=t.value,I.lastEntryTime=Math.max(I.lastEntryTime,t.startTime),U0||P)&&r&&(n.cls=U),M.push({name:t,value:e,attrs:n}),C("pvtAdded",[t,e,n])}function f(t,e,n){"fi"===t&&setTimeout(o,0),c(t,e,n,!0)}function d(t){if(t.retry&&O.length>0){for(var e=0;e0&&(n+=y(i.length)+";"+i.join(";")),r+11?e[1]:"unknown"}function f(t){return t&&t.indexOf("nrWrapper")>=0}var d=t(50),l=t(32),p=!1,m=/function (.+?)\s*\(/,h=/^\s*at (?:((?:\[object object\])?(?:[^(]*\([^)]*\))*[^()]*(?: \[as \S+\])?) )?\(?((?:file|http|https|chrome-extension):.*?)?:(\d+)(?::(\d+))?\)?\s*$/i,v=/^\s*(?:(\S*|global code)(?:\(.*?\))?@)?((?:file|http|https|chrome|safari-extension).*?):(\d+)(?::(\d+))?\s*$/i,g=/^\s*at .+ \(eval at \S+ \((?:(?:file|http|https):[^)]+)?\)(?:, [^:]*:\d+:\d+)?\)$/i,y=/^\s*at Function code \(Function code:\d+:\d+\)\s*/i;e.exports=r},{}],32:[function(t,e,n){function r(t){var e;if(t.length>100){var n=t.length-100;e=t.slice(0,50).join("\n"),e+="\n< ...truncated "+n+" lines... >\n",e+=t.slice(-50).join("\n")}else e=t.join("\n");return e}function o(t){return t.length>a?t.substr(0,a):t}var i=/^\n+|\n+$/g,a=65530;e.exports=function(t){return r(t).replace(i,"")},e.exports.truncateSize=o},{}],33:[function(t,e,n){function r(t){var e=l.take(["err","ierr"]);t.retry&&(d=e);var n={body:e,qs:{}},r=S(g.releaseIds);return"{}"!==r&&(n.qs.ri=r),e&&e.err&&e.err.length&&!O&&(n.qs.pve="1",O=!0),n}function o(t){t.retry&&d&&(A(d,function(t,e){for(var n=0;n":n}function u(t,e){for(var n="",r=0;r=w)){var o,i,a={};"undefined"!=typeof window&&window.document&&window.document.documentElement&&(o=window.document.documentElement.clientWidth,i=window.document.documentElement.clientHeight);var u={timestamp:t+f.offset,timeSinceLoad:t/1e3,browserWidth:o,browserHeight:i,referrerUrl:s,currentUrl:v(""+location),pageUrl:v(f.origin),eventType:"PageAction"};d(u,r),d(T,r),n&&"object"==typeof n&&d(n,r),a.actionName=e||"",x.push(a)}}function a(t,e,n){T[e]=n}var s,u,c=t("ee"),f=t("loader"),d=t(47),l=t(24),p=t(19),m=t(10),h=t(9),v=t(5),g=t(41),y=240,b=g.getConfiguration("ins.harvestTimeSeconds")||30,w=y*b/60,x=[],T=f.info.jsAttributes={};document.referrer&&(s=v(document.referrer)),p("api-setCustomAttribute",a,"api"),c.on("feat-ins",function(){p("api-addPageAction",i),m.on("ins",r);var t=new h(f,"ins",{onFinished:o});t.startTimer(b,0)})},{}],36:[function(t,e,n){function r(t,e,n){var r={};r[t]=e,o(r,!0),w(t,n)&&a({type:"fid",target:"document"},"document",e,e+n.fid)}function o(t,e){var n,r,o,i=Date.now();for(n in t)r=t[n],"number"==typeof r&&r>0&&r=D)){var e=_[t.n];e||(e=_[t.n]=[]),e.push(t),B++}}function m(t,e){if(!(B>=D)){var n=_[t];n||(n=_[t]=[]),_[t]=e.concat(n),B+=e.length}}function h(t){N()||f(window.performance.getEntriesByType("resource"));var e=R(A(_,function(t,e){return t in I?R(A(R(e.sort(v),g(t),{}),y),b,[]):e}),b,[]);if(0===e.length)return{};t&&(L=_),_={},B=0;var n={qs:{st:""+E.offset},body:{res:e}};if(!P){n.qs.ua=E.info.userAttributes,n.qs.at=E.info.atts;var r=C(E.info.jsAttributes);n.qs.ja="{}"===r?null:r}return n}function v(t,e){return t.s-e.s}function g(t){var e=I[t][0],n=I[t][1],r={};return function(o,i){var a=o[i.o];a||(a=o[i.o]=[]);var s=r[i.o];return"scrolling"!==t||x(i)?s&&i.s-s.si.s-e?s.e=i.e:(r[i.o]=i,a.push(i)):(r[i.o]=null,i.n="scroll",a.push(i)),o}}function y(t,e){return e}function b(t,e){return t.concat(e)}function w(t,e){return"fi"===t&&!!e&&"number"==typeof e.fid}function x(t){var e=4;return!!(t&&"number"==typeof t.e&&"number"==typeof t.s&&t.e-t.s9e5)return n.stopTimer(),void(_={});if(!(P&&B<=30))return h(t.retry)}o(window.performance.timing),j.on("resources",e);var n=new k(E,"resources",{onFinished:t,retryDelay:F});n.runHarvest({needResponse:!0}),S("bst",a),S("bstTimer",i),S("bstResource",f),S("bstHist",c),S("bstXhrAgg",l),S("bstApi",p),S("errorAgg",d),S("pvtAdded",r)});var $=0}}},{}],37:[function(t,e,n){e.exports=function(){return"PerformanceObserver"in window&&"function"==typeof window.PerformanceObserver}},{}],38:[function(t,e,n){function r(t){if(0===s.length)return!0;for(var e=0;e0?s.push({hostname:n.substring(0,r),pathname:n.substring(r)}):s.push({hostname:n,pathname:""})}}function i(t,e){return!(t.length>e.length)&&e.indexOf(t)===e.length-t.length}function a(t,e){return 0===t.indexOf("/")&&(t=t.substring(1)),0===e.indexOf("/")&&(e=e.substring(1)),""===t||t===e}e.exports={shouldCollectEvent:r,setDenyList:o};var s=[]},{}],39:[function(t,e,n){function r(){return{ajaxEvents:M,spaAjaxEvents:O}}function o(t,e,n,r,o){e.time=n;var i;if(i=v(t.cat?[t.status,t.cat]:[t.status,t.host,t.pathname]),E("bstXhrAgg",["xhr",i,t,e]),p.store("xhr",i,t,e),d()){if(!A(t))return void C(t.hostname===x.info.errorBeacon?"Ajax/Events/Excluded/Agent":"Ajax/Events/Excluded/App");var a=this,s={method:t.method,status:t.status,domain:t.host,path:t.pathname,requestSize:e.txSize,responseSize:e.rxSize,type:o,startTime:n,endTime:r,callbackDuration:e.cbTime};if(a.dt&&(s.spanId=a.dt.spanId,s.traceId=a.dt.traceId,s.spanTimestamp=a.dt.timestamp),this.spaNode){var u=this.spaNode.interaction.id;O[u]=O[u]||[],O[u].push(s)}else M.push(s)}}function i(t){if(t=t||{},0===M.length)return null;for(var e=a(M,t.maxPayloadSize||P),n=[],r=0;r0&&d()&&(M=M.concat(N),N=[])}function u(){l.runHarvest({unload:!0})}function c(t,e){e=e||t.length;for(var n=[],r=0,o=t.length;r0&&(o+=";"+i.join(";")),e+1t}}function d(){var t=S.getConfiguration("ajax.enabled");return t!==!1}var l,p=t(2),m=t(19),h=t(10),v=t(24),g=t(4).nullable,y=t(4).numeric,b=t(4).getAddStringContext,w=t(4).addCustomAttributes,x=t("loader"),T=t("ee"),E=t("handle"),S=t(41),j=t(9),k=t(38).setDenyList,A=t(38).shouldCollectEvent,R=t(28),C=t(45).recordSupportability,M=[],O={},N=[];if(x.features.xhr){var q=S.getConfiguration("ajax.harvestTimeSeconds")||60,P=S.getConfiguration("ajax.maxPayloadSize")||1e6;d()&&k(S.getConfiguration("ajax.deny_list")),T.on("feat-err",function(){m("xhr",o),h.on("jserrors",function(){return{body:p.take(["xhr"])}}),d()&&(l=new j(x,"events",{onFinished:s,getPayload:i}),l.startTimer(q),R(u))}),e.exports=o,e.exports.prepareHarvest=i,e.exports.getStoredEvents=r,e.exports.shouldCollectEvent=A,e.exports.setDenyList=k,T.on("interactionSaved",function(t){O[t.id]&&delete O[t.id]}),T.on("interactionDiscarded",function(t){O[t.id]&&d()&&(O[t.id].forEach(function(t){M.push(t)}),delete O[t.id])})}},{}],40:[function(t,e,n){var r={};e.exports=function(t){if(t in r)return r[t];if(0===(t||"").indexOf("data:"))return{protocol:"data"};var e=document.createElement("a"),n=window.location,o={};e.href=t,o.port=e.port;var i=e.href.split("://");!o.port&&i[1]&&(o.port=i[1].split("/")[0].split("@").pop().split(":")[1]),o.port&&"0"!==o.port||(o.port="https"===i[0]?"443":"80"),o.hostname=e.hostname||n.hostname,o.pathname=e.pathname,o.protocol=i[0],"/"!==o.pathname.charAt(0)&&(o.pathname="/"+o.pathname);var a=!e.protocol||":"===e.protocol||e.protocol===n.protocol,s=e.hostname===document.domain&&e.port===n.port;return o.sameOrigin=a&&(!e.hostname||s),"/"===o.pathname&&(r[t]=o),o}},{}],41:[function(t,e,n){function r(t){if(NREUM.init){for(var e=NREUM.init,n=t.split("."),r=0;r div"),e=0;e=0)return!0;return!1}catch(n){return!1}}function i(){try{return!!window.angular||(!!document.querySelector(".ng-binding, [ng-app], [data-ng-app], [ng-controller], [data-ng-controller], [ng-repeat], [data-ng-repeat]")||!!document.querySelector('script[src*="angular.js"], script[src*="angular.min.js"]'))}catch(t){return!1}}function a(){try{return!!(window.hasOwnProperty("ng")&&window.ng.hasOwnProperty("coreTokens")&&window.ng.coreTokens.hasOwnProperty("NgZone"))||!!document.querySelectorAll("[ng-version]").length}catch(t){return!1}}var s={REACT:"React",ANGULAR:"Angular",ANGULARJS:"AngularJS",BACKBONE:"Backbone",EMBER:"Ember",VUE:"Vue",METEOR:"Meteor",ZEPTO:"Zepto",JQUERY:"Jquery"};e.exports=r()},{}],45:[function(t,e,n){function r(t,e){var n=[a,t,{name:t},e];return i("storeMetric",n,null,"api"),n}function o(t,e){var n=[s,t,{name:t},e];return i("storeEventMetrics",n,null,"api"),n}var i=t("handle"),a="sm",s="cm";e.exports={constants:{SUPPORTABILITY_METRIC:a,CUSTOM_METRIC:s},recordSupportability:r,recordCustom:o}},{}],46:[function(t,e,n){function r(){return s.exists&&performance.now?Math.round(performance.now()):(i=Math.max((new Date).getTime(),i))-a}function o(){return i}var i=(new Date).getTime(),a=i,s=t(49);e.exports=r,e.exports.offset=a,e.exports.getLastTimestamp=o},{}],47:[function(t,e,n){function r(t,e){var n=[],r="",i=0;for(r in t)o.call(t,r)&&(n[i]=e(r,t[r]),i+=1);return n}var o=Object.prototype.hasOwnProperty;e.exports=r},{}],48:[function(t,e,n){function r(t,e,n){e||(e=0),"undefined"==typeof n&&(n=t?t.length:0);for(var r=-1,o=n-e||0,i=Array(o<0?0:o);++r