var AjaxRequestTimerMonitor=function(t){"use strict";function e(t){return function(t){if(Array.isArray(t))return r(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return r(t,e);var o=Object.prototype.toString.call(t).slice(8,-1);"Object"===o&&t.constructor&&(o=t.constructor.name);if("Map"===o||"Set"===o)return Array.from(t);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return r(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,o=new Array(e);r=400&&n<500:r=u;break;case n>=500:r=c;break;default:r=p}return[r,o,n]};window.XMLHttpRequest.prototype.__bigoOnReadyStateChange__=function(){if(this.readyState===window.XMLHttpRequest.DONE&&(0!==this.status||this.responseURL&&0===this.responseURL.indexOf("file:"))){var t=d(),r=this.__bigoStartTime__;if(t&&r){var o=this.responseURL||this.__bigoRequestURL__||"",n=Date.now()-r,i=this.status>=200&&this.status<300?[]:f(this);try{a("report:",o,{startTime:r,duration:n,errorInfo:i}),t.apply(void 0,[o,i.length?0:1,n].concat(e(i)))}catch(t){a("An exception occurred on request time monitor:",t)}}}},window.XMLHttpRequest.prototype.__bigoOnError__=function(t){var r=d(),o=this.__bigoStartTime__;if(r&&o){var n=this.responseURL||function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return _.test(t)?t:"".concat(window.location.origin,"/").concat(t.replace(/^\/+/,""))}(this.__bigoRequestURL__),i=Date.now()-o,s=f(this,t);try{a("report:",n,{startTime:o,duration:i,errorInfo:s}),r.apply(void 0,[n,0,i].concat(e(s)))}catch(t){a("An exception occurred on request time monitor:",t)}}},window.XMLHttpRequest.prototype.open=function(){this.__bigoStartTime__=Date.now();for(var t=arguments.length,e=new Array(t),r=0;r