JuCheap.Web/Scripts/ai.0.15.0-build58334.js
(开头部分) 132KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
var Microsoft;
(function (Microsoft) {
var ApplicationInsights;
(function (ApplicationInsights) {
(function (LoggingSeverity) {
LoggingSeverity[LoggingSeverity["CRITICAL"] = 0] = "CRITICAL";
LoggingSeverity[LoggingSeverity["WARNING"] = 1] = "WARNING";
})(ApplicationInsights.LoggingSeverity || (ApplicationInsights.LoggingSeverity = {}));
var LoggingSeverity = ApplicationInsights.LoggingSeverity;
var _InternalLogging = (function () {
function _InternalLogging() {
}
_InternalLogging.throwInternalNonUserActionable = function (severity, message) {
if (this.enableDebugExceptions()) {
throw message;
}
else {
this.warnToConsole(message);
this.logInternalMessage(severity, this.AiNonUserActionablePrefix + message);
}
};
_InternalLogging.throwInternalUserActionable = function (severity, message) {
if (this.enableDebugExceptions()) {
throw message;
}
else {
this.warnToConsole(message);
this.logInternalMessage(severity, this.AiUserActionablePrefix + message);
}
};
_InternalLogging.warnToConsole = function (message) {
if (typeof console !== "undefined" && !!console) {
if (typeof console.warn === "function") {
console.warn(message);
}
else if (typeof console.log === "function") {
console.log(message);
}
}
};
_InternalLogging.resetInternalMessageCount = function () {
this._messageCount = 0;
};
_InternalLogging.setMaxInternalMessageLimit = function (limit) {
if (!limit) {
throw new Error('limit cannot be undefined.');
}
this.MAX_INTERNAL_MESSAGE_LIMIT = limit;
};
_InternalLogging.logInternalMessage = function (severity, message) {
if (this._areInternalMessagesThrottled()) {
return;
}
if (this.verboseLogging() || severity === 0 /* CRITICAL */) {
this.queue.push(message);
this._messageCount++;
}
if (this._messageCount == this.MAX_INTERNAL_MESSAGE_LIMIT) {
var throttleLimitMessage = this.AiNonUserActionablePrefix + "Internal events throttle limit per PageView reached for this app.";
this.queue.push(throttleLimitMessage);
后面还有 2586 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
