!function(){"use strict";var c=setTimeout,p="undefined"!=typeof setImmediate?setImmediate:null;function h(t){return Boolean(t&&void 0!==t.length)}function f(){}function i(t){if(!(this instanceof i))throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],_(t,this)}function l(r,n){for(;3===r._state;)r=r._value;0!==r._state?(r._handled=!0,i._immediateFn(function(){var t,e=1===r._state?n.onFulfilled:n.onRejected;if(null!==e){try{t=e(r._value)}catch(t){return void y(n.promise,t)}d(n.promise,t)}else(1===r._state?d:y)(n.promise,r._value)})):r._deferreds.push(n)}function d(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var r=t.then;if(t instanceof i)return e._state=3,e._value=t,void m(e);if("function"==typeof r)return void _((n=r,o=t,function(){n.apply(o,arguments)}),e)}e._state=1,e._value=t,m(e)}catch(t){y(e,t)}var n,o}function y(t,e){t._state=2,t._value=e,m(t)}function m(t){2===t._state&&0===t._deferreds.length&&i._immediateFn(function(){t._handled||i._unhandledRejectionFn(t._value)});for(var e=0,r=t._deferreds.length;e>e||1}O.prototype.truncate=function(t,e,r){if(void 0===e&&(e=""),void 0===r&&(r=0),null==t)return t;switch(typeof t){case"boolean":case"number":case"function":return t;case"string":return this.truncateString(t);case"object":break;default:return this.truncateString(String(t))}if(t instanceof String)return this.truncateString(t.toString());if(t instanceof Boolean||t instanceof Number||t instanceof Date||t instanceof RegExp)return t;if(t instanceof Error)return this.truncateString(t.toString());if(0<=this.seen.indexOf(t))return"[Circular "+this.getPath(t)+"]";var n=Object.prototype.toString.apply(t).slice("[object ".length,-1);if(++r>this.maxDepth)return"[Truncated "+n+"]";switch(this.keys.push(e),this.seen.push(t),n){case"Array":return this.truncateArray(t,r);case"Object":return this.truncateObject(t,r);default:var o=this.maxDepth,i=(this.maxDepth=0,this.truncateObject(t,r));return i.__type=n,this.maxDepth=o,i}},O.prototype.getPath=function(t){for(var e=this.seen.indexOf(t),r=[this.keys[e]],n=e;0<=n;n--){var o=this.seen[n];o&&j(o,r[0])===t&&(t=o,r.unshift(this.keys[n]))}return"~"+r.join(".")},O.prototype.truncateString=function(t){return t.length>this.maxStringLength?t.slice(0,this.maxStringLength)+"...":t},O.prototype.truncateArray=function(t,e){void 0===e&&(e=0);for(var r=0,n=[],o=0;o=this.maxArrayLength)break}return n},O.prototype.truncateObject=function(t,e){void 0===e&&(e=0);var r,n=0,o={};for(r in t)if(Object.prototype.hasOwnProperty.call(t,r))if(function(t,e){for(var r=0,n=e;r=this.maxObjectLength))break}return o};var b=O;function O(t){this.maxStringLength=1024,this.maxObjectLength=128,this.maxArrayLength=128,this.maxDepth=8,this.keys=[],this.keysBlocklist=[],this.seen=[];var e=t.level||0;this.keysBlocklist=t.keysBlocklist||[],this.maxStringLength=w(this.maxStringLength,e),this.maxObjectLength=w(this.maxObjectLength,e),this.maxArrayLength=w(this.maxArrayLength,e),this.maxDepth=w(this.maxDepth,e)}function j(t,e){try{return t[e]}catch(t){return}}S.prototype.end=function(t){this.endTime=t||new Date,this._dur+=this.endTime.getTime()-this.startTime.getTime(),this._metric._incGroup(this.name,this._dur),this._metric=null},S.prototype._pause=function(){var t;this._paused()||(t=new Date,this._dur+=t.getTime()-this.startTime.getTime(),this.startTime=null)},S.prototype._resume=function(){this._paused()&&(this.startTime=new Date)},S.prototype._paused=function(){return null==this.startTime};var k=S;function S(t,e,r){this._dur=0,this._level=0,this._metric=t,this.name=e,this.startTime=r||new Date}T.prototype.end=function(t){this.endTime||(this.endTime=t||new Date)},T.prototype.isRecording=function(){return!0},T.prototype.startSpan=function(t,e){var r=this._spans[t];r?r._level++:(r=new k(this,t,e),this._spans[t]=r)},T.prototype.endSpan=function(t,e){var r=this._spans[t];r?0this._historyMaxLen&&(this._history=this._history.slice(-this._historyMaxLen)))},e.prototype._isDupState=function(t){if(!this._lastRecord)return!1;for(var e in t)if(t.hasOwnProperty(e)&&"date"!==e&&t[e]!==this._lastRecord[e])return!1;return!0},e.prototype.routeMetric=function(){return this._routeMetric||this._noopMetric},e.prototype.setRouteMetric=function(t){this._routeMetric=t},e.prototype.queueMetric=function(){return this._queueMetric||this._noopMetric},e.prototype.setQueueMetric=function(t){this._queueMetric=t},e);function e(){this._noopMetric=new N,this._context={},this._historyMaxLen=20,this._history=[]}var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function R(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var L={exports:{}},D=(L.exports=function(){function c(t){return!isNaN(parseFloat(t))&&isFinite(t)}function r(t){return t.charAt(0).toUpperCase()+t.substring(1)}function t(t){return function(){return this[t]}}var e=["isConstructor","isEval","isNative","isToplevel"],n=["columnNumber","lineNumber"],o=["fileName","functionName","source"],p,f,i=e.concat(n,o,["args"],["evalOrigin"]);function h(t){if(!t)return;for(var e=0;e-1)t=t.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(,.*$)/g,"");var e=t.replace(/^\s+/,"").replace(/\(eval code/g,"(").replace(/^.*?\s+/,"");var r=e.match(/ (\(.+\)$)/);e=r?e.replace(r[0],""):e;var n=this.extractLocation(r?r[1]:e);var o=r&&e||undefined;var i=["eval",""].indexOf(n[0])>-1?undefined:n[0];return new u({functionName:o,fileName:i,lineNumber:n[1],columnNumber:n[2],source:t})},this)},parseFFOrSafari:function t(e){var r=e.stack.split("\n").filter(function(t){return!t.match(i)},this);return r.map(function(t){if(t.indexOf(" > eval")>-1)t=t.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1");if(t.indexOf("@")===-1&&t.indexOf(":")===-1)return new u({functionName:t});else{var e=/((.*".+"[^@]*)?[^@]*)(?:@)/;var r=t.match(e);var n=r&&r[1]?r[1]:undefined;var o=this.extractLocation(t.replace(e,""));return new u({functionName:n,fileName:o[0],lineNumber:o[1],columnNumber:o[2],source:t})}},this)},parseOpera:function t(e){if(!e.stacktrace||e.message.indexOf("\n")>-1&&e.message.split("\n").length>e.stacktrace.split("\n").length)return this.parseOpera9(e);else if(!e.stack)return this.parseOpera10(e);else return this.parseOpera11(e)},parseOpera9:function t(e){var r=/Line (\d+).*script (?:in )?(\S+)/i;var n=e.message.split("\n");var o=[];for(var i=2,s=n.length;i/,"$2").replace(/\([^)]*\)/g,"")||undefined;var i;if(n.match(/\(([^)]*)\)/))i=n.replace(/^[^(]+\(([^)]*)\)$/,"$1");var s=i===undefined||i==="[arguments not available]"?undefined:i.split(",");return new u({functionName:o,args:s,fileName:r[0],lineNumber:r[1],columnNumber:r[2],source:t})},this)}}}(L.exports)),C="object"==typeof console&&console.warn;function I(e){try{return D.parse(e)}catch(t){C&&e.stack&&console.warn("ErrorStackParser:",t.toString(),e.stack)}return e.fileName?[e]:[]}function F(t){var e=[];if(t.noStack)e.push({function:t.functionName||"",file:t.fileName||"",line:t.lineNumber||0,column:t.columnNumber||0});else{var r=I(t);if(0===r.length)try{throw new Error("fake")}catch(t){(r=I(t)).shift(),r.shift()}for(var n=0,o=r;n"===e.backtrace[0].file)return null;return t}var J=new RegExp(["^","Uncaught\\s","(.+?)",":\\s","(.+)","$"].join(""));function z(t){var e=t.errors[0];if(""!==e.type&&"Error"!==e.type)return t;var r=e.message.match(J);return null!==r&&(e.type=r[1],e.message=r[2]),t}var x,L={exports:{}},$=L,G=L.exports,W="undefined"!=typeof self?self:t,t=(X.prototype=W,new X);function X(){this.fetch=!1,this.DOMException=W.DOMException}x=t,function(a){var i,s,f="URLSearchParams"in x,l="Symbol"in x&&"iterator"in Symbol,u="FileReader"in x&&"Blob"in x&&function(){try{return new Blob,!0}catch(t){return!1}}(),d="FormData"in x,r="ArrayBuffer"in x;function n(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function y(t){return t="string"!=typeof t?String(t):t}function t(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return l&&(t[Symbol.iterator]=function(){return t}),t}function c(e){this.map={},e instanceof c?e.forEach(function(t,e){this.append(e,t)},this):Array.isArray(e)?e.forEach(function(t){this.append(t[0],t[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function o(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function m(r){return new Promise(function(t,e){r.onload=function(){t(r.result)},r.onerror=function(){e(r.error)}})}function v(t){var e=new FileReader,r=m(e);return e.readAsArrayBuffer(t),r}function _(t){var e;return t.slice?t.slice(0):((e=new Uint8Array(t.byteLength)).set(new Uint8Array(t)),e.buffer)}function g(){return this.bodyUsed=!1,this._initBody=function(t){var e;(this._bodyInit=t)?"string"==typeof t?this._bodyText=t:u&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:d&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:f&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():r&&u&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=_(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):r&&(ArrayBuffer.prototype.isPrototypeOf(t)||s(t))?this._bodyArrayBuffer=_(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):f&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},u&&(this.blob=function(){var t=o(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?o(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(v)}),this.text=function(){var t,e,r=o(this);if(r)return r;if(this._bodyBlob)return r=this._bodyBlob,t=new FileReader,e=m(t),t.readAsText(r),e;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),r=new Array(e.length),n=0;n "):String(t)}(t)}catch(t){e.target="<"+String(t)+">"}r.scope().pushHistory(e)}};window.addEventListener&&(window.addEventListener("load",e),window.addEventListener("error",function(t){Wt(t,"error")||e(t)},!0)),"object"==typeof document&&document.addEventListener&&(document.addEventListener("DOMContentLoaded",e),document.addEventListener("click",e),document.addEventListener("keypress",e))}function Wt(t,e){try{return t[e]}catch(t){return null}}var Xt="";function Kt(){return document.location&&document.location.pathname}function Vt(t,e){var r=e.indexOf("://");0<=r?e=0<=(r=(e=e.slice(r+3)).indexOf("/"))?e.slice(r):"/":"/"!==e.charAt(0)&&(e="/"+e),t.scope().pushHistory({type:"location",from:Xt,to:e}),Xt=e}function Qt(i){var s=XMLHttpRequest.prototype.open,e=(XMLHttpRequest.prototype.open=function(t,e,r,n,o){0===i._ignoreNextXHR&&(this.__state={type:"xhr",method:t,url:e}),s.apply(this,arguments)},XMLHttpRequest.prototype.send);XMLHttpRequest.prototype.send=function(t){var n=this.onreadystatechange;return this.onreadystatechange=function(t){var e,r;if(4===this.readyState&&this.__state&&((r=(e=this).__state).statusCode=e.status,r.duration=(new Date).getTime()-r.date.getTime(),i.scope().pushHistory(r)),n)return n.apply(this,arguments)},this.__state&&(this.__state.date=new Date),e.apply(this,arguments)}}Yt=function(t,e){return(Yt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)};var Yt,Zt,te=function(){return(te=Object.assign||function(t){for(var e,r=1,n=arguments.length;r.+) is not a function"],urls:["C:/","D:/","E:/","F:/","G:/","H:/","I:/","W:/","U:/","Y:/","Z:/","/Users/","/Desktop/","/Documents/","https://link.springer.xilesou.top","https://webvpn.nwu.edu.cn","chrome-extension"],backtraces:["chrome-extension","https://cdn.permutive.com/"]},_e=(t,e)=>t.some(t=>-1{var e=window.dataLayer[0];if(e){let t="Production";return e.page&&e.page.attributes&&e.page.attributes&&((e=e.page.attributes.environment)&&"live"!==e&&(t="Test")),t}})()});ge.addFilter(t=>{return me(window.navigator.userAgent)||(e=>{let n=!1;var t=ve.urls.some(t=>-1{var e=_e(ve.messages,t.message);let r=!1;t.backtrace.forEach(t=>{_e(ve.backtraces,t.file)&&(r=!0)}),(e||r)&&(n=!0)}),n})(t)?null:(t.context.rev="js/airbrake-es6-bundle-210e2dfaaa.js",t.context.buildDateTime="Fri Oct 13 2023 15:59:27 GMT+0000 (Coordinated Universal Time)",t)}),ge}}(); //# sourceMappingURL=airbrake-es5-bundle-d56e7bd9a7.js.map