Posted on: Friday, March 18th, 2022 | ID: #617


3&&!e.resolved&&(e.resolved=!0,u.emit(“xhr-resolved”,[],t)),d.inPlace(t,y,”fn-“,s)}function o(t){x.push(t),m&&(E?E.then(a):w?w(a):(R=-R,S.data=R))}function a(){for(var t=0;t=1&&(this.target=t[0]),t.length>=2&&(this.opts=t[1]);var n,r=this.opts||{},o=this.target;if(“string”==typeof o?n=o:”object”==typeof o&&o instanceof y?n=o.url:window.URL&&”object”==typeof o&&o instanceof URL&&(n=o.href),i(this,n),”data”!==this.params.protocol){var s=(“”+(o&&o instanceof y&&o.method||r.method||”GET”)).toUpperCase();this.params.method=s,this.txSize=m(r.body)||0}}),u.on(“fetch-done”,function(t,e){if(this.endTime=a.now(),this.params||(this.params={}),”data”===this.params.protocol)return void g(“Ajax/DataUrl/Excluded”);this.params.status=e?e.status:0;var n;”string”==typeof this.rxSize&&this.rxSize.length>0&&(n=+this.rxSize);var r={txSize:this.txSize,rxSize:n,duration:a.now()-this.startTime};s(“xhr”,[this.params,r,this.startTime,this.endTime,”fetch”],this)})}},{}],14:[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,i={};e.href=t,i.port=e.port;var o=e.href.split(“://”);!i.port&&o[1]&&(i.port=o[1].split(“/”)[0].split(“@”).pop().split(“:”)[1]),i.port&&”0″!==i.port||(i.port=”https”===o[0]?”443″:”80″),i.hostname=e.hostname||n.hostname,i.pathname=e.pathname,i.protocol=o[0],”/”!==i.pathname.charAt(0)&&(i.pathname=”/”+i.pathname);var a=!e.protocol||”:”===e.protocol||e.protocol===n.protocol,s=e.hostname===document.domain&&e.port===n.port;return i.sameOrigin=a&&(!e.hostname||s),”/”===i.pathname&&(r[t]=i),i}},{}],15:[function(t,e,n){function r(t,e){var n=t.responseType;return”json”===n&&null!==e?e:”arraybuffer”===n||”blob”===n||”json”===n?i(t.response):”text”===n||””===n||void 0===n?i(t.responseText):void 0}var i=t(18);e.exports=r},{}],16:[function(t,e,n){function r(){}function i(t,e,n,r){return function(){return u.recordSupportability(“API/”+e+”/called”),o(t+e,[f.now()].concat(s(arguments)),n?null:this,r),n?void 0:this}}var o=t(“handle”),a=t(28),s=t(29),c=t(“ee”).get(“tracer”),f=t(“loader”),u=t(21),d=NREUM;”undefined”==typeof window.newrelic&&(newrelic=d);var l=[“setPageViewName”,”setCustomAttribute”,”setErrorHandler”,”finished”,”addToTrace”,”inlineHit”,”addRelease”],p=”api-“,h=p+”ixn-“;a(l,function(t,e){d[e]=i(p,e,!0,”api”)}),d.addPageAction=i(p,”addPageAction”,!0),d.setCurrentRouteName=i(p,”routeName”,!0),e.exports=newrelic,d.interaction=function(){return(new r).get()};var m=r.prototype={createTracer:function(t,e){var n={},r=this,i=”function”==typeof e;return o(h+”tracer”,[f.now(),t,n],r),function(){if(c.emit((i?””:”no-“)+”fn-start”,[f.now(),r,i],n),i)try{return e.apply(this,arguments)}catch(t){throw c.emit(“fn-err”,[arguments,this,t],n),t}finally{c.emit(“fn-end”,[f.now()],n)}}}};a(“actionText,setName,setAttribute,save,ignore,onEnd,getContext,end,get”.split(“,”),function(t,e){m[e]=i(h,e)}),newrelic.noticeError=function(t,e){“string”==typeof t&&(t=new Error(t)),u.recordSupportability(“API/noticeError/called”),o(“err”,[t,f.now(),!1,e])}},{}],17:[function(t,e,n){function r(t){if(NREUM.init){for(var e=NREUM.init,n=t.split(“.”),r=0;r0){var r=n[n.length-1];if(f&&f Source