-
Notifications
You must be signed in to change notification settings - Fork 1
/
dynatrace.js
1 lines (1 loc) · 30.1 KB
/
dynatrace.js
1
(function(){typeof window<"u"&&window.setTimeout&&(window.setTimeout=window.setTimeout),self.dT_&&dT_.prm&&dT_.prm()||self,function(){function f(){return void 0===D.dialogArguments&&navigator.cookieEnabled||function mt(){document.cookie="__dTCookie=1;SameSite=Lax";var M=-1!==document.cookie.indexOf("__dTCookie");return document.cookie="__dTCookie=1; expires=Thu, 01-Jan-1970 00:00:01 GMT",M}()}var k,D=typeof window<"u"?window:self;D.dT_?(null===(k=D.console)||void 0===k||k.log("Duplicate agent injection detected, turning off redundant initConfig."),D.dT_.di=1):function K(){var M;if(f()&&!window.dT_){var Ft=((M={}).cfg="app=561f4bef484e4c9b|coo=1|cors=1|rcdec=1209600000|featureHash=A2SVfqrux|vcv=2|reportUrl=https://bf24054dsx.bf.dynatrace.com/bf|rdnt=1|uxrgce=1|srcss=1|bp=3|srmcrv=10|cuc=q62q7mnb|mel=100000|lastModification=1615561255445|dtVersion=10211210226114004|srmcrl=1|tp=500,50,0,1|uxdcw=1500|vs=2|featureHash=A2SVfqrux|agentUri=https://js-cdn.dynatrace.com/jstag/17177a07246/ruxitagent_A2SVfqrux_10211210226114004.js|auto=|domain=|rid=RID_|rpid=|app=561f4bef484e4c9b",M.iCE=f,M);window.dT_=Ft}}()}()}).call(this),function(){typeof window<"u"&&window.setTimeout&&(window.setTimeout=window.setTimeout),self.dT_&&dT_.prm&&dT_.prm()||self,function(){function mt(){}function f(t,e,n){void 0===n&&(n=0);var r=-1;return e&&null!=t&&t.indexOf&&(r=t.indexOf(e,n)),r}function K(){var t;return!(null===(t=c.console)||void 0===t||!t.log)}function D(t,e){if(!e)return"";var n=t+"=";if(0>(t=f(e,n)))return"";for(;0<=t;){if(0===t||" "===e.charAt(t-1)||";"===e.charAt(t-1))return n=t+n.length,0<=(t=f(e,";",t))?e.substring(n,t):e.substr(n);t=f(e,n,t+n.length)}return""}function k(t){return D(t,document.cookie)}function M(){var t=0;try{t=Math.round(c.performance.timeOrigin)}catch{}if(0>=t||isNaN(t)||!isFinite(t)){t=c.dT_;var e=0;try{e=c.performance.timing.navigationStart}catch{}t=0>=e||isNaN(e)||!isFinite(e)?t.gAST():e}return nt=Ft,se=t}function Ft(){return se}function Yn(){return nt()}function Ae(){var t,e=0;if(null!==(t=c?.performance)&&void 0!==t&&t.now)try{e=Math.round(c.performance.now())}catch{}return 0>=e||isNaN(e)||!isFinite(e)?(new Date).getTime()-nt():e}function bt(t,e){return void 0===e&&(e=document.cookie),D(t,e)}function Qn(){}function v(t){if(!(this instanceof v))throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this.X=0,this.Za=!1,this.ba=void 0,this.ja=[],Ve(t,this)}function Me(t,e){for(;3===t.X;)t=t.ba;0===t.X?t.ja.push(e):(t.Za=!0,v.V(function(){var n=1===t.X?e.Mc:e.Nc;if(null===n)(1===t.X?Bt:w)(e.Fa,t.ba);else{try{var r=n(t.ba)}catch(o){return void w(e.Fa,o)}Bt(e.Fa,r)}}))}function Bt(t,e){try{if(e===t)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"==typeof e||"function"==typeof e)){var n=e.then;if(e instanceof v)return t.X=3,t.ba=e,void Ut(t);if("function"==typeof n)return void Ve(function $n(t,e){return function(){t.apply(e,arguments)}}(n,e),t)}t.X=1,t.ba=e,Ut(t)}catch(r){w(t,r)}}function w(t,e){t.X=2,t.ba=e,Ut(t)}function Ut(t){2===t.X&&0===t.ja.length&&v.V(function(){t.Za||v.oa(t.ba)});for(var e=0,n=t.ja.length;e<n;e++)Me(t,t.ja[e]);t.ja=null}function Jn(t,e,n){this.Mc="function"==typeof t?t:null,this.Nc="function"==typeof e?e:null,this.Fa=n}function Ve(t,e){var n=!1;try{t(function(r){n||(n=!0,Bt(e,r))},function(r){n||(n=!0,w(e,r))})}catch(r){n||(n=!0,w(e,r))}}function Oe(){return v.V=function(t){if("string"==typeof t)throw Error("Promise polyfill called _immediateFn with string");t()},v.oa=function(){},v}function Kn(t,e,n,r){if(typeof r>"u"&&(r=z(e,!0)),"boolean"==typeof r&&(r=z(e,r)),t===c)I?I(e,n,r):Mt&&Mt("on"+e,n);else if(ae&&c.dT_.iIO(t,21))ti.call(t,e,n,r);else if(t.addEventListener)if(t===c.document||t===c.document.documentElement)fn.call(t,e,n,r);else try{I.call(t,e,n,r)}catch{t.addEventListener(e,n,r)}else t.attachEvent&&t.attachEvent("on"+e,n);r=!1;for(var o=L.length;0<=--o;){var u=L[o];if(u.object===t&&u.event===e&&u.I===n){r=!0;break}}r||c.dT_.apush(L,{object:t,event:e,I:n})}function Le(t,e,n,r){for(var o=L.length;0<=--o;){var u=L[o];if(u.object===t&&u.event===e&&u.I===n){L.splice(o,1);break}}typeof r>"u"&&(r=z(e,!0)),"boolean"==typeof r&&(r=z(e,r)),t===c?At?At(e,n,r):Mt&&Mt("on"+e,n):t.removeEventListener?t===c.document||t===c.document.documentElement?dn.call(t,e,n,r):At.call(t,e,n,r):t.detachEvent&&t.detachEvent("on"+e,n)}function z(t,e){var n=!1;try{if(I&&-1<c.dT_.aIOf(ei,t)){var o=Object.defineProperty({},"passive",{get:function(){n=!0}});I("test",mt,o)}}catch{}return n?{passive:!0,capture:e}:e}function wn(){for(var t=L,e=t.length;0<=--e;){var n=t[e];Le(n.object,n.event,n.I)}L=[],c.dT_.cx()}function zn(){return Vt?new Vt:Ot?new Ot("MSXML2.XMLHTTP.3.0"):c.XMLHttpRequest?new c.XMLHttpRequest:new c.ActiveXObject("MSXML2.XMLHTTP.3.0")}function tr(){Ot=Vt=void 0}function rr(t,e){for(var n,r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];return void 0!==Function.prototype.bind&&function nr(t){return"function"==typeof t&&/{\s+\[native code]/.test(Function.prototype.toString.call(t))}(Function.prototype.bind)?(n=Function.prototype.bind).call.apply(n,function er(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;t=Array(t);var r=0;for(e=0;e<n;e++)for(var o=arguments[e],u=0,i=o.length;u<i;u++,r++)t[r]=o[u];return t}([t,e],r)):function(){for(var u=0;u<arguments.length;u++);return t.apply(e,(r||[]).concat(Array.prototype.slice.call(arguments)||[]))}}function ir(){if(fe){var t=new fe;if(rt)for(var e=0,n=ln;e<n.length;e++){var r=n[e];void 0!==rt[r]&&(t[r]=rr(rt[r],t))}return t}return de?new de("MSXML2.XMLHTTP.3.0"):c.XMLHttpRequest?new c.XMLHttpRequest:new c.ActiveXObject("MSXML2.XMLHTTP.3.0")}function pe(t){return-1<c.dT_.io(t,"^")&&(t=(t=(t=(t=(t=(t=(t=(t=(t=t.split("^^").join("^")).split("^dq").join('"')).split("^rb").join(">")).split("^lb").join("<")).split("^p").join("|")).split("^e").join("=")).split("^s").join(";")).split("^c").join(",")).split("^bs").join("\\")),t}function or(){return Lt}function cr(t){Lt=t}function De(t){var e=c.dT_,n=e.scv("rid");e=e.scv("rpid"),n&&(t.rid=n),e&&(t.rpid=e)}function Re(t){if(t=t.xb){t=pe(t);try{Lt=new RegExp(t)}catch{}}else Lt=void 0}function He(t){var e=t,n=Math.pow(2,32);return function(){return(e=(1664525*e+1013904223)%n)/n}}function yt(t,e){return isNaN(t)||isNaN(e)?Math.floor(33*it()):Math.floor(it()*(e-t+1))+t}function S(t,e){return parseInt(t,e||10)}function Xe(t){return document.getElementsByTagName(t)}function Pe(t){var e=t.length;if("number"==typeof e)t=e;else{e=0;for(var n=2048;t[n-1];)e=n,n+=n;for(var r=7;1<n-e;)t[(r=(n+e)/2)-1]?e=r:n=r;t=t[r]?n:e}return t}function ur(t){var e=[];if(t=encodeURIComponent(t))for(var n=0;n<t.length;n++){var r=t.charAt(n);l(e,ni[r]||r)}return e.join("")}function xt(t){if(!t)return"";var e=c.crypto||c.msCrypto;if(e&&-1===f(navigator.userAgent,"Googlebot"))e=e.getRandomValues(new Uint8Array(t));else{e=[];for(var n=0;n<t;n++)e.push(yt(0,32))}for(t=[],n=0;n<e.length;n++){var r=Math.abs(e[n]%32);t.push(String.fromCharCode(r+(9>=r?48:55)))}return t.join("")}function St(){return 0<=c.dT_.io(navigator.userAgent,"RuxitSynthetic")}function Fe(t){var e={};t=t.split("|");for(var n=0;n<t.length;n++){var r=t[n].split("=");2===r.length&&(e[r[0]]=decodeURIComponent(r[1].replace(/\+/g," ")))}return e}function qt(){var t=h("csu");return(t.indexOf("dbg")===t.length-3?t.substr(0,t.length-3):t)+"_"+h("app")+"_Store"}function kt(t,e,n){e=e||{};var r=0;for(t=t.split("|");r<t.length;r++){var o=t[r],u=o,i=f(o,"=");-1===i?e[u]="1":e[u=o.substring(0,i)]=o.substring(i+1,o.length)}return!n&&(r=(n=e).spc)&&((t=document.createElement("textarea")).innerHTML=r,n.spc=t.value),e}function Ct(t){var e;return null!==(e=s[t])&&void 0!==e?e:ot[t]}function g(t){return"false"!==(t=Ct(t))&&"0"!==t&&!!t}function C(t){var e=Ct(t);return e=S(e),isNaN(e)&&(e=ot[t]),e}function h(t){return String(Ct(t)||"")}function R(t,e){s[t]=String(e)}function Zt(t){for(var e in s=t,t=gn)t.hasOwnProperty(e)&&t[e]&&(s[e]=t[e]);return s}function It(t){s[t]=0>f(s[t],"#"+t.toUpperCase())?s[t]:""}function Gt(t){var e=t.agentUri;e&&-1<f(e,"_")&&(e=/([a-zA-Z]*)[0-9]{0,4}_([a-zA-Z_0-9]*)_[0-9]+/g.exec(e))&&e.length&&2<e.length&&(t.csu=e[1],t.featureHash=e[2])}function Be(t){var e=t.domain||"",n=!(n=location.hostname)||!e||n===e||-1!==n.indexOf("."+e,n.length-("."+e).length);if(!e||!n){t.domainOverride||(t.domainOverride=location.hostname+","+e,delete t.domain);var r=function dr(){var t=document.domain||"";if(!t)return"";var e=(t=t.split(".").reverse()).length;if(1>=e)return"";for(var n=t[0],r="",o=1;o<=e;o++){if(k("dTValidationCookie")){r=n;break}t[o]&&(n=t[o]+"."+n);var u="dTValidationCookie=dTValidationCookieValue;path=/;domain="+n;u+=Ue(),document.cookie=u}return Yt("dTValidationCookie",r,"/"),r}();r&&(t.domain=r),n||l(st,{type:"dpi",severity:"Warning",text:'Configured domain "'+e+'" is invalid for current location "'+location.hostname+'". Agent will use "'+t.domain+'" instead.'})}}function Wt(t,e){Be(t),s.pVO&&(t.pVO=s.pVO),e||(e=t.bp||ot.bp,t.bp2&&(e=2),t.bp=String(e))}function sr(){return s}function ar(t){return ot[t]===Ct(t)}function B(){var t=c.dT_;return!t.bcv("coo")||t.bcv("cooO")||t.iSM()}function V(t,e){if(B()&&(!X().overloadPrevention||St()))return t.apply(this,e||[])}function fr(t,e){try{at&&at.setItem(t,e)}catch{}}function E(t,e){V(fr,[t,e])}function O(t){try{if(at)return at.getItem(t)}catch{}return null}function U(t){try{at&&at.removeItem(t)}catch{}}function T(t){document.cookie=t+'="";path=/'+(h("domain")?";domain="+h("domain"):"")+"; expires=Thu, 01 Jan 1970 00:00:01 GMT;"}function Yt(t,e,n){var r=1,o=0;do{document.cookie=t+'=""'+(e?";domain="+e:"")+";path="+n.substr(0,r)+"; expires=Thu, 01 Jan 1970 00:00:01 GMT;",r=n.indexOf("/",r),o++}while(-1!==r&&5>o)}function lr(t,e,n,r){le=!0,e||0===e?(t=t+"="+(e=String(e).replace(/[;\n\r]/g,"_"))+";path=/"+(h("domain")?";domain="+h("domain"):""),n&&(t+=";expires="+n.toUTCString()),t+=Ue(),r&&"https:"===location.protocol&&(t+=";Secure"),document.cookie=t):T(t),le=!1}function Ue(){var t=h("cssm");return"n"===t||"s"===t||"l"===t?";SameSite="+ri[t]:""}function tt(t,e,n,r){V(lr,[t,e,n,r])}function Qt(t){return!(2<t?.split("$").length)&&/^[0-9A-Za-z_=:\$\+\/\.\-\*%\|]*$/.test(t)}function qe(){var t=k("dtCookie");return t||((t=O("dtCookie"))&&Qt(t)?$t(t):t=""),Qt(t)?t:""}function $t(t){tt("dtCookie",t,void 0,g("ssc"))}function Jt(t){return 32===t.length||12>=t.length?t:""}function Ze(t){if(t=t.replace("-2D","-"),!isNaN(Number(t))){var e=S(t);if(-99<=e&&99>=e)return t}return""}function Ie(t){var e={sessionId:"",ob:"",Ea:0},n=f(t,"|"),r=t;return-1!==n&&(r=t.substring(0,n)),-1!==(n=f(r,"$"))?(e.sessionId=Jt(r.substring(n+1)),e.ob=Ze(r.substring(0,n))):e.sessionId=Jt(r),e}function Kt(t){var e={sessionId:"",ob:"",Ea:0};if(2<(t=t.split("v"===t.charAt(0)?"_":"=")).length&&t.length%2==0){var n=Number(t[1]);if(isNaN(n)||3>n)return e;n={};for(var r=2;r<t.length;r++)n[t[r]]=t[r+1],r++;e.sessionId=n.sn?Jt(n.sn):"hybrid",n.srv&&(e.ob=Ze(n.srv)),1===(t=Number(n.ol))&&(n=St(),r=X(),n||(E("dtDisabled","true"),r.disabled=!0,r.overloadPrevention=!0)),0<=t&&2>=t&&(e.Ea=t)}return e}function vr(){try{ci.apply(c.parent,arguments)}catch{}}function gr(){try{ui.apply(c.top,arguments)}catch{}}function hr(t){var e=Array.prototype.slice.call(arguments,1);try{ii.apply(t,e)}catch{}}function mr(t){var e=Array.prototype.slice.call(arguments,1);try{oi.apply(t,e)}catch{}}function yr(){return m()}function wt(t,e){function n(){delete ft[u],t.apply(this,arguments)}for(var r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];if("apply"in Dt){r.unshift(n,e);var u=Dt.apply(c,r)}else u=Dt(n,e);return ft[u]=!0,u}function Ge(t){delete ft[t],"apply"in G?G.call(c,t):G(t)}function l(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];t.push.apply(t,e)}function We(t){l(W,t)}function xr(t){for(var e=W.length;e--;)if(W[e]===t){W.splice(e,1);break}}function Sr(){return W}function kr(t,e){return yn(t,e)}function Cr(t){pt(t)}function Tr(t,e){return mn&&bn?(t=new mn([t],{type:e}),bn(t)):""}function Er(t,e){return hn?new hn(t,e):void 0}function _r(t){"function"==typeof t&&l(xn,t)}function Nr(){return xn}function jr(){return ve}function Ye(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if("number"!=typeof e[0]||!ft[e[0]])try{return t.apply(this,e)}catch{return t(e[0])}}}function Ar(){return st}function Vr(){ut&&(c.clearTimeout=G,c.clearInterval=pt,ut=!1)}function Qe(t){if(t=t||qe()){var e=t.charAt(0);return"v"===e||"="===e?Kt(t):Ie(t)}return{sessionId:"",ob:"",Ea:0}}function Tt(t){return Qe(t).ob}function $e(t){return Qe(t).sessionId}function Or(){return P}function pr(){return Y}function Dr(){var t=document.cookie,e=C("vs"),n=Z(t);2<=e&&-1===n?n=0:1===e&&-1<n&&(n=-1),et(H(!0,t),void 0,n,t)}function Je(t,e){var n=document.cookie;e=H(e,n);for(var r=!1,o=0;o<e.length;o++){var u=e[o];u.frameId===Y&&(u.H=t,r=!0)}r||l(e,{frameId:Y,H:t,Db:-1,visitId:""}),et(e,void 0,void 0,n)}function et(t,e,n,r){var o=C("pcl");if(0<(o=t.length-o)&&t.splice(0,o),t){o=[];for(var u=0;u<t.length;u++)"-"!==t[u].H&&(0<u&&0<o.length&&l(o,"p"),P&&(l(o,P),l(o,"$")),l(o,t[u].frameId),l(o,"h"),l(o,String(t[u].H)));o.length||(ye&&(_(!0,"a",!1,r),re(!1)),l(o,P=Tt()||""),l(o,"$"),l(o,Y),l(o,"h-")),t=e||zt(r),l(o,"v"),l(o,t),0<=(t=n??Z(r))&&(l(o,"e"),l(o,String(t))),t=o.join("")}else t="";t||(ye&&(_(!0,"a",!1,r),re(!1)),P=Tt()||"",n=n??Z(r),t=P+"$"+Y+"h-v"+(e||zt(r)+(0<=n?"e"+n:""))),tt("dtPC",t||"-",void 0,g("ssc"))}function H(t,e){void 0===e&&(e=document.cookie);var n=bt("dtPC",e);if(e=[],n&&"-"!==n){var r=n.split("p"),o="",u=null;for(n=0;n<r.length;n++){var i=r[n],a=t,d=f(i,"$"),y=f(i,"h"),b=f(i,"v"),x=f(i,"e");d=i.substring(d+1,y),y=-1!==b?i.substring(y+1,b):i.substring(y+1),o=o||-1!==b?-1!==x?i.substring(b+1,x):i.substring(b+1):"",u=u||-1!==x?i.substring(x+1):null,i=null,a||(a=S(d.split("_")[0]),(b=m()%he)<a&&(b+=he),a=a+9e5>b),a&&(i={frameId:d,H:"-"===y?"-":S(y),Db:-1,visitId:""}),(d=i)&&e.push(d)}for(n=0;n<e.length;n++)e[n].visitId=o,t=e[n],r=S(u||""),isNaN(r)&&(r=S(O(Q)||"")),(isNaN(r)||-1>r||r>C("mel"))&&(r=2<=C("vs")?0:-1),t.Db=r}return e}function Ke(t,e){try{c.localStorage&&c.localStorage.setItem(t,e)}catch{}}function we(t){try{if(c.localStorage)return c.localStorage.getItem(t)}catch{}return null}function q(t){try{c.localStorage&&c.localStorage.removeItem(t)}catch{}}function zt(t){return te(t)||_(!0,"c",!1,t)}function te(t){if(_t(t)<=m())return _(!0,"t",!1,t);var e=Et(t);if(!e)return _(!0,"c",!1,t);var n=Sn.exec(e);return!n||3!==n.length||32!==n[1].length||isNaN(S(n[2]))?_(!0,"i",!1,t):(E($,e),e)}function ee(t,e){var n=m();e=cn(e).wc,t&&(e=n),nn(n+me+"|"+e),tn()}function Et(t){var e,n;return null!==(n=null===(e=H(!0,t)[0])||void 0===e?void 0:e.visitId)&&void 0!==n?n:O($)}function ze(t,e){return t&&(t=Et(e))&&(t=Sn.exec(t))&&3===t.length&&isFinite(Number(t[2]))?t[1]+"-"+(Number(t[2])+1):(t=(t=xt(32)).replace(/[0-9]/g,function(n){return n=.1*S(n),String.fromCharCode(Math.floor(25*n+65))}))+"-0"}function ne(t,e){var n=H(!1,e),r=2<=C("vs")?0:-1;et(n,t,r,e),E($,t),E(Q,String(r)),ee(!0)}function Rr(t,e,n,r){return _(e,n,r)}function Hr(t,e,n,r){return _(t,e,n,r)}function _(t,e,n,r){for(t&&(lt=!0),t=Et(r),ne(n=ze(n)),r=0;r<dt.length;r++)dt[r](n,lt,e,t);return n}function Xr(t){dt.push(t)}function tn(t){be&&Ge(be),be=wt(en,_t(t)-m())}function en(){var t=document.cookie;if(_t(t)<=m()&&B()){var e="t"+(m()-_t(t)),n=Et(t),r=ze(!1,t);for(ne(r,t),t=0;t<dt.length;t++)dt[t](r,lt,e,n);return!0}return Nt(tn),!1}function nn(t){tt("rxvt",t,void 0,g("ssc")),E("rxvt",t)}function rn(t,e){return(e=bt(t,e))||(e=O(t)||""),e}function on(){var t=te()||"";E($,t),nn(t=rn("rxvt")),un()}function cn(t){var e={Bd:0,wc:0};if(t=rn("rxvt",t))try{var n=t.split("|");2===n.length&&(e.Bd=parseInt(n[0],10),e.wc=parseInt(n[1],10))}catch{}return e}function _t(t){return t=cn(t),Math.min(t.Bd,t.wc+kn)}function Pr(t){me=t}function re(t){void 0===t&&(t=!0),ye=t}function Fr(){var t=lt;return lt=!1,t}function Br(){en()||ee(!1)}function Ur(){var t,e;if(-1!==Z(void 0)&&2<=C("vs")){var n=Z();n>=C("mel")?_(!1,"e"+n,!0):(n++,et(H(!1),"",n),E(Q,String(n)),null===(e=null===(t=c.MobileAgent)||void 0===t?void 0:t.incrementActionCount)||void 0===e||e.call(t))}}function Z(t){return 1<=(t=H(!0,t)).length&&!isNaN(t[0].Db)?t[0].Db:(t=S(t=O(Q)||""),isNaN(t)?2<=C("vs")?0:-1:t)}function un(){q(Q),q($),q("rxvt")}function Nt(t){B()?t():(J||(J=[]),l(J,t))}function qr(t){return V(t)}function Zr(){if(g("coo")&&!B()){for(var t=0;t<J.length;t++)wt(J[t],0);J=[],R("cooO",!0)}}function Ir(){if(g("coo")&&B()){R("cooO",!1),T("dtCookie"),T("dtPC"),T("dtLatC"),T("dtSa"),T("dtAdk"),T("rxVisitor"),T("rxvt");try{U(Q),U($),U("rxvt"),un();var t=at;t&&(t.removeItem("rxVisitor"),t.removeItem("dtCookie")),(t=ge)&&t.removeItem(qt())}catch{}}}function ie(t){return document.cookie?document.cookie.split(t+"=").length-1:0}function jt(t){var e=ie(t);if(1<e){var n=h("domain")||c.location.hostname,r=c.location.hostname,o=c.location.pathname,u=0,i=0;N.push(t);do{var a=r.substr(u);if(a!==n||"/"!==o){Yt(t,a===n?"":a,o);var d=ie(t);d<e&&(N.push(a),e=d)}u=r.indexOf(".",u)+1,i++}while(0!==u&&10>i&&1<e);h("domain")&&1<e&&Yt(t,"",o)}}function oe(t,e){if(!t||!t.length)return-1;if(t.indexOf)return t.indexOf(e);for(var n=t.length;n--;)if(t[n]===e)return n;return-1}function ce(){var t=k("rxVisitor");return t&&45===t?.length||45!==(t=we("rxVisitor")||O("rxVisitor"))?.length&&(Tn=!0,t=String(m()),t+=xt(45-t.length)),sn(t),t}function sn(t){if(g("dpvc")||g("pVO"))E("rxVisitor",t);else{var e=new Date;e.setFullYear(e.getFullYear()+2),V(Ke,["rxVisitor",t])}tt("rxVisitor",t,e,g("ssc"))}function Yr(){return Tn}function Qr(t){var e=k("rxVisitor");T("rxVisitor"),U("rxVisitor"),q("rxVisitor"),R("pVO",!0),sn(e),t&&V(Ke,["dt-pVO","1"]),on()}function $r(){q("dt-pVO"),g("pVO")&&(R("pVO",!1),ce()),U("rxVisitor"),on()}function ue(t,e,n,r,o){var u=document.createElement("script");u.setAttribute("src",t),e&&u.setAttribute("defer","defer"),n&&(u.onload=n),r&&(u.onerror=r),o&&u.setAttribute("id",o),u.setAttribute("crossorigin","anonymous"),(t=document.getElementsByTagName("script")[0]).parentElement.insertBefore(u,t)}function an(t,e){return _n+"/"+(e||vt)+"_"+t+"_"+(C("buildNumber")||X().version)+".js"}function Jr(t,e){if(void 0===e&&(e=[]),!t||"object"!=typeof t&&"function"!=typeof t)return!1;var n="number"!=typeof e?e:[],r=null,o=[];switch("number"==typeof e?e:5){case 0:r="Array",o=["push"];break;case 1:r="Boolean";break;case 2:r="Number";break;case 3:r="String";break;case 4:r="Function";break;case 5:r="Object";break;case 6:r="Date",o=["getTime"];break;case 7:r="Error",o=["name","message"];break;case 8:r="Element";break;case 9:r="HTMLElement";break;case 10:r="HTMLImageElement",o=["complete"];break;case 11:r="PerformanceEntry";break;case 12:r="PerformanceTiming";break;case 13:r="PerformanceResourceTiming";break;case 14:r="PerformanceNavigationTiming";break;case 15:r="CSSRule",o=["cssText","parentStyleSheet"];break;case 16:r="CSSStyleSheet",o=["cssRules","insertRule"];break;case 17:r="Request",o=["url"];break;case 18:r="Response",o=["ok","status","statusText"];break;case 19:r="Set",o=["add","entries","forEach"];break;case 20:r="Map",o=["set","entries","forEach"];break;case 21:r="Worker",o=["addEventListener","postMessage","terminate"];break;case 22:r="XMLHttpRequest",o=["open","send","setRequestHeader"]}if(!(e=r))return!1;o=o.length?o:n;try{var u=!!c[e]&&t instanceof c[e],i=Object.prototype.toString.call(t);if(!n.length&&(u||i==="[object "+e+"]"))return!0}catch{}for(n=0;n<o.length;n++)if("string"!=typeof(u=o[n])&&"number"!=typeof u&&"symbol"!=typeof u||!(u in t))return!1;return!!o.length}function X(){return c.dT_}var se,nt,c=typeof window<"u"?window:self,zr=setTimeout;v.prototype.catch=function(t){return this.then(null,t)},v.prototype.then=function(t,e){var n=new this.constructor(Qn);return Me(this,new Jn(t,e,n)),n},v.prototype.finally=function(t){var e=this.constructor;return this.then(function(n){return e.resolve(t()).then(function(){return n})},function(n){return e.resolve(t()).then(function(){return e.reject(n)})})},v.all=function(t){return new v(function(e,n){function r(a,d){try{if(d&&("object"==typeof d||"function"==typeof d)){var y=d.then;if("function"==typeof y)return void y.call(d,function(b){r(a,b)},n)}o[a]=d,0==--u&&e(o)}catch(b){n(b)}}if(!t||typeof t.length>"u")throw new TypeError("Promise.all accepts an array");var o=Array.prototype.slice.call(t);if(0===o.length)return e([]);for(var u=o.length,i=0;i<o.length;i++)r(i,o[i])})},v.resolve=function(t){return t&&"object"==typeof t&&t.constructor===v?t:new v(function(e){e(t)})},v.reject=function(t){return new v(function(e,n){n(t)})},v.race=function(t){return new v(function(e,n){for(var r=0,o=t.length;r<o;r++)t[r].then(e,n)})},v.V="function"==typeof setImmediate&&function(t){setImmediate(t)}||function(t){zr(t,0)},v.oa=function(t){typeof console<"u"&&console&&console.warn("Possible Unhandled Promise Rejection:",t)};var I,At,fn,dn,Vt,Ot,fe,de,rt,Lt,it,vn,ot,ct,G,pt,Dt,yn,W,ve,ge,at,m,P,Y,me,kn,be,En,_n,vt,Mt=c.attachEvent,ae=c.Worker,ti=ae&&ae.prototype.addEventListener,L=[],ei=["touchstart","touchend","scroll"],ln="abort getAllResponseHeaders getResponseHeader open overrideMimeType send setRequestHeader".split(" "),ni=new function(){this["!"]="%21",this["~"]="%7E",this["*"]="%2A",this["("]="%28",this[")"]="%29",this["'"]="%27",this.$="%24",this[";"]="%3B",this[","]="%2C"},gn={},s={},ri=((ct={}).l="Lax",ct.s="Strict",ct.n="None",ct),le=!1,ii=c.postMessage,oi=c.Worker&&c.Worker.prototype.postMessage,ci=c.parent.postMessage,ui=c.top.postMessage,hn=c.Worker,mn=c.Blob,bn=c.URL&&c.URL.createObjectURL,ut=!1,xn=[],st=[],ft={},he=6e8,Q="rxec",$="rxvisitid",Sn=/([A-Z]+)-([0-9]+)/,dt=[],lt=!1,ye=!1,J=[],N=[],Rt=[],Cn=[],xe=[],Tn=!1;!function(t){var e,n;if(t=t||0>(null===(e=navigator.userAgent)||void 0===e?void 0:e.indexOf("RuxitSynthetic")),!c.dT_||!c.dT_.cfg||"string"!=typeof c.dT_.cfg||"initialized"in c.dT_&&c.dT_.initialized)null===(n=c.console)||void 0===n||n.log("InitConfig not found or agent already initialized! This is an injection issue."),c.dT_&&(c.dT_.di=3);else if(t&&!function wr(){try{if(!function br(){var e,t=c.dT_;Oe(),Vt=c.XMLHttpRequest,Ot=c.ActiveXObject,fe=c.XMLHttpRequest,de=c.ActiveXObject;var n=null===(e=c.XMLHttpRequest)||void 0===e?void 0:e.prototype;if(n){rt={},e=0;for(var r=ln;e<r.length;e++){var o=r[e];void 0!==n[o]&&(rt[o]=n[o])}}return I=c.addEventListener,At=c.removeEventListener,fn=c.document.addEventListener,dn=c.document.removeEventListener,Dt=c.setTimeout,yn=c.setInterval,ut||(G=c.clearTimeout,pt=c.clearInterval),t=t.iCE?t.iCE():navigator.cookieEnabled,n=1===Kt(bt("dtAdkSettings")).Ea,K(),!!t&&!(n||!("complete"!==document.readyState||c.performance&&c.performance.timing))}())return!1;!function Kr(){var t,e=c.dT_;c.dT_=((t={}).di=0,t.version="10211210226114004",t.cfg=e?e.cfg:"",t.iCE=e?e.iCE:function(){return navigator.cookieEnabled},t.ica=1,t.disabled=!1,t.overloadPrevention=!1,t.gx=zn,t.cx=tr,t.mp=vr,t.mtp=gr,t.mi=hr,t.mw=mr,t.gAST=jr,t.ww=Er,t.stu=Tr,t.nw=yr,t.apush=l,t.st=wt,t.si=kr,t.aBPSL=We,t.rBPSL=xr,t.gBPSL=Sr,t.aBPSCC=_r,t.gBPSCC=Nr,t.buildType="dynatrace",t.gSSV=O,t.sSSV=E,t.rSSV=U,t.rvl=q,t.pn=S,t.iVSC=Qt,t.p3SC=Kt,t.pLSC=Ie,t.io=f,t.dC=T,t.sC=tt,t.esc=ur,t.gSId=Tt,t.gDtc=$e,t.gSC=qe,t.sSC=$t,t.gC=k,t.cRN=yt,t.cRS=xt,t.gEL=Pe,t.gEBTN=Xe,t.cfgO=sr,t.pCfg=Fe,t.pCSAA=kt,t.cFHFAU=Gt,t.sCD=Wt,t.bcv=g,t.ncv=C,t.scv=h,t.stcv=R,t.rplC=Zt,t.cLSCK=qt,t.gFId=pr,t.gBAU=an,t.iS=ue,t.eWE=Nt,t.oEIE=qr,t.oEIEWA=V,t.eA=Zr,t.dA=Ir,t.gcSId=Or,t.iNV=Yr,t.gVID=ce,t.dPV=Qr,t.ePV=$r,t.sVIdUP=re,t.sVTT=Pr,t.sVID=ne,t.rVID=te,t.gVI=zt,t.gNVIdN=Hr,t.gNVId=Rr,t.gARnVF=Fr,t.cAUV=Br,t.uVT=ee,t.aNVL=Xr,t.gPC=H,t.cPC=Je,t.sPC=et,t.clB=Vr,t.ct=Ge,t.aRI=De,t.iXB=Re,t.gXBR=or,t.sXBR=cr,t.de=pe,t.cCL=K,t.gEC=Z,t.iEC=Ur,t.rnw=Ae,t.gto=Yn,t.ael=Kn,t.rel=Le,t.sup=z,t.cuel=wn,t.iAEPOO=B,t.iSM=St,t.aIOf=oe,t.gxwp=ir,t.iIO=Jr,t.prm=Oe,t.cI=Cr,t.gidi=Ar,t.iDCV=ar,t.gCF=bt,t)}();try{ge=c.localStorage,at=c.sessionStorage}catch{}(function Mr(){nt=M,c.performance&&(m=function(){return Math.round(nt()+Ae())}),(!m||isNaN(m())||0>=m()||!isFinite(m()))&&(m=function(){return(new Date).getTime()})})(),ve=m(),W=[],st=[],ft={},ut||(c.clearTimeout=Ye(G),c.clearInterval=Ye(pt),ut=!0);var i,Pt,t=Math.random(),e=Math.random();if(vn=0!==t&&0!==e&&t!==e,-1!==f(navigator.userAgent,"Googlebot")){var n=performance.getEntriesByType("navigation")[0];if(t=1,n){for(var r in n)if("number"==typeof n[r]&&n[r]){var o=n[r];t=1===t?o:t+o}var u=Math.floor(1e4*t)}else u=t;it=He(u)}else it=vn?Math.random:He(m());Y=ve%he+"_"+S(yt(0,1e3)+""),(i={}).ade="",i.aew=!0,i.agentLocation="",i.agentUri="",i.uana="data-dtname,data-dtName",i.app="",i.async=!1,i.ase=!1,i.auto=!1,i.bp1=!1,i.bp2=!1,i.bp=1,i.bs=!1,i.buildNumber=0,i.csprv=!0,i.cepl=16e3,i.cls=!0,i.ccNcss=!1,i.cg=!1,i.coo=!1,i.cooO=!1,i.cssm="0",i.cors=!1,i.csu="",i.cuc="",i.cux=!1,i.dataDtConfig="",i.debugName="",i.dvl=500,i.dASXH=!1,i.disableCookieManager=!1,i.disableLogging=!1,i.dmo=!1,i.doel=!1,i.dpch=!1,i.dpvc=!1,i.disableXhrFailures=!1,i.domain="",i.domainOverride="",i.doNotDetect="",i.ds=!0,i.dsndb=!1,i.dsss=!1,i.dssv=!0,i.eni=!0,i.euf=!1,i.evl="",i.extblacklist="",i.exteventsoff=!1,i.fau=!0,i.fa=!1,i.featureHash="",i.ffi=!1,i.hvt=216e5,i.lastModification=0,i.lupr=!0,i.imm=!1,i.iqvn=!1,i.initializedModules="",i.ign="",i.instr="",i.iub="",i.lab=!1,i.legacy=!1,i.lt=!0,i.lzwd=!1,i.lzwe=!1,i.mb="",i.md="",i.mdp="",i.mdl="",i.mdn=5e3,i.bismepl=2e3,i.mel=200,i.mepp=10,i.moa=30,i.mrt=3,i.mpl=1024,i.mmds=2e4,i.msl=3e4,i.mhl=4e3,i.ncw=!1,i.ntd=!1,i.oat=180,i.ote=!1,i.owasp=!1,i.perfbv=1,i.prfSmpl=0,i.pcl=20,i.pt=!0,i.pui=!1,i.pVO=!1,i.raxeh=!0,i.rdnt=0,i.reportUrl="dynaTraceMonitor",i.restoreTimeline=!1,i.rid="",i.ridPath="",i.rpid="",i.rcdec=12096e5,i.rt=1e4,i.rtl=0,i.rtp=2,i.rtt=1e3,i.rtu=200,i.rx_visitID="",i.sl=100,i.spc="",i.srbbv=1,i.srbw=!0,i.srad=!0,i.srmr=100,i.srms="1,1,,,",i.srsr=1e5,i.srtbv=3,i.srtd=1,i.srtr=500,i.srvr="",i.srvi=0,i.srwo=!1,i.srre="",i.ssc=!1,i.st=3e3,i.svNB=!1,i.syntheticConfig=!1,i.tal=0,i.tp="500,50,3",i.tt=100,i.tvc=3e3,i.uam=!1,i.uxdce=!1,i.uxdcw=1500,i.uxrgce=!0,i.uxrgcm="100,25,300,3;100,25,300,3",i.usrvd=!0,i.vcfi=!0,i.vcit=1e3,i.vct=50,i.vcx=50,i.vs=1,i.xb="",i.chw="",i.xt=0,i.srcss=!1,i.srmcrl=1,i.srmcrv=10,i.nosr=!1,i.bisaoi=!1,i.bisCmE="",i.mcepsl=100,i.erjdw=!0,i.fvdi=!1,i.srif=!1,i.srmt=!0,i.vscl=0,i.dsa=!1,i.exp=!1,i.vrt=!1,i.peti=!1,ot=i;t:{var a=X().cfg;s={reportUrl:"dynaTraceMonitor",initializedModules:"",csu:"dtagent",dataDtConfig:"string"==typeof a?a:""},X().cfg=s,s.csu="ruxitagentjs";var d=s.dataDtConfig;d&&-1===f(d,"#CONFIGSTRING")&&(kt(d,s),It("domain"),It("auto"),It("app"),Gt(s));var y=Xe("script"),b=Pe(y),x=-1===f(s.dataDtConfig||"","#CONFIGSTRING")?s:null;if(0<b)for(u=0;u<b;u++)e:{n=void 0;var Se=y[u];if(r=x,Se.attributes){var Nn=s.csu+"_bootstrap.js";o=/.*\/jstag\/.*\/.*\/(.*)_bs(_dbg)?.js$/,i=r;var p=Se.src,jn=p?.indexOf(Nn),An=Se.attributes.getNamedItem("data-dtconfig");if(An){a=void 0,d=p;var Mn=An.value;if(t={},s.legacy="1",e=/([a-zA-Z]*)_([a-zA-Z_0-9]*)_([0-9]+)/g,d&&(null==(a=e.exec(d))?0:a.length)&&(t.csu=a[1],t.featureHash=a[2],t.agentLocation=d.substr(0,f(d,a[1])-1),t.buildNumber=a[3]),Mn){kt(Mn,t,!0);var Vn=t.agentUri;!d&&Vn&&null!=(a=e.exec(Vn))&&a.length&&(t.csu=a[1])}if(Be(t),n=t,r){if(!n.syntheticConfig){x=n;break e}}else i=n}if(n||(n=s),0<jn){var On=jn+Nn.length+5;n.app=p.length>On?p.substr(On):"Default%20Application"}else if(p){var Ln=o.exec(p);Ln&&(n.app=Ln[1])}x=i}else x=r}if(x)for(var pn in x)x.hasOwnProperty(pn)&&(s[y=pn]=x[y]);if(s.rx_visitID){var Dn=s.rx_visitID;Dn&&(X().rx_visitID=Dn)}var gt=qt();try{var Rn=(x=ge)&&x.getItem(gt);if(Rn){var Ht=Fe(Rn),j=kt(Ht.config||""),Xt=s.lastModification||"0",Hn=S((j.lastModification||Ht.lastModification||"0").substr(0,13)),si="string"==typeof Xt?S(Xt.substr(0,13)):Xt;if((!Xt||Hn>=si)&&(j.csu=Ht.name,j.featureHash=Ht.featureHash,j.agentUri&&Gt(j),Wt(j,!0),Re(j),De(j),Hn>(s.lastModification||0))){var ai=s.auto,fi=s.legacy;(s=Zt(j)).auto=ai,s.legacy=fi}}}catch{}Wt(s);try{var Xn=s.ign;if(Xn&&new RegExp(Xn).test(c.location.href)){document.dT_=c.dT_=void 0;var A=!1;break t}}catch{}if(St()){var Pn=navigator.userAgent,di=f(Pn,"RuxitSynthetic")+14+5,Fn=Pn.substring(di);if(-1!==f(Fn," c")){var Bn=Fn.split(" ");for(gt=0;gt<Bn.length;gt++){var Un=Bn[gt];if("c"===Un.charAt(0)){var ke=Un.substr(1),qn=ke.indexOf("="),Zn=ke.substring(0,qn),In=ke.substring(qn+1);Zn&&In&&(gn[Zn]=In)}}}Zt(s)}A=!0}if(!A)return!1;!function Gr(){jt("dtPC"),jt("dtCookie"),jt("dtLatC"),jt("rxvt"),0<N.length&&l(st,{severity:"Error",type:"dcn",text:"Duplicate cookie name"+(1!==N.length?"s":"")+" detected: "+N.join(", ")}),We(function(t,e,n,r){0<N.length&&!e&&(t.av(r,"dCN",N.join(",")),N=[]),0<Rt.length&&!e&&(t.av(r,"eCC",Rt.join(",")),Rt=[])})}();try{En=X().disabled||!!O("dtDisabled")}catch{}if(!(Pt=h("agentLocation")))t:{var Gn=h("agentUri");if(Gn||document.currentScript){var F=Gn||document.currentScript.src;if(F){var li=-1===f(A=F,"_bs")&&-1===f(A,"_bootstrap")&&-1===f(A,"_complete")?1:2,Ce=F.lastIndexOf("/");for(A=0;A<li&&-1!==Ce;A++)Ce=(F=F.substr(0,Ce)).lastIndexOf("/");Pt=F;break t}}var Wn=location.pathname;Pt=Wn.substr(0,Wn.lastIndexOf("/"))}if(_n=Pt,vt=h("csu")||"ruxitagentjs","true"===k("dtUseDebugAgent")&&0>vt.indexOf("dbg")&&(vt=h("debugName")||vt+"dbg"),!g("auto")&&!g("legacy")&&!En){var Ee,Te=h("agentUri")||an(h("featureHash"));if(!(Ee=g("async")||"complete"===document.readyState)){var _e=c.navigator.userAgent,Ne=_e.indexOf("MSIE ");Ee=0<Ne&&9>=parseInt(_e.substring(Ne+5,_e.indexOf(".",Ne)),10)}Ee?ue(Te,g("async"),void 0,void 0,"dtjsagent"):(document.write('<script id="dtjsagentdw" type="text/javascript" src="'+Te+'"><\/script>'),document.getElementById("dtjsagentdw")||ue(Te,g("async"),void 0,void 0,"dtjsagent"))}if(k("dtCookie")&&R("cooO",!0),function Lr(){Nt(function(){$e()||$t(-1*yt(2,21)+"$"+xt(32)),P=Tt()||""})}(),R("pVO",!!we("dt-pVO")),Nt(ce),me=18e5,kn=C("hvt")||216e5,V(Dr),V(Je,[1]),xe=[],Cn="dtCookie dtLatC rxvt dtAdk dtAdkSettings dtPC".split(" "),g("cg"))try{!function Wr(t){t&&null!=t&&t.configurable&&t.set&&t.get&&Object.defineProperty(document,"cookie",{get:function(){return t.get.call(document)},set:function(e){var n=e.split("=")[0];t.set.call(document,e),le?1<ie(n)&&N.push(n):-1<oe(Cn,n)&&(Rt.push(n),-1===oe(xe,n)&&(l(xe,n),l(st,{severity:"Error",type:"ecm",text:"Invalid modification of agent cookie "+n+" detected. Modifying Dynatrace cookies may result in missing or invalid data."})))}})}(Object.getOwnPropertyDescriptor(Document.prototype,"cookie")||Object.getOwnPropertyDescriptor(HTMLDocument.prototype,"cookie"))}catch{}}catch{return!1}return!0}()){try{delete c.dT_}catch{c.dT_=void 0}K()&&c.console.log("JsAgent initCode initialization failed!")}}(!1)}()}.call(this);