@shapediver/viewer.shared.services 2.7.9 → 2.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/converter/Converter.d.ts +8 -6
- package/dist/converter/Converter.d.ts.map +1 -1
- package/dist/converter/Converter.js +63 -61
- package/dist/converter/Converter.js.map +1 -1
- package/dist/dom-event-engine/DomEventEngine.d.ts.map +1 -1
- package/dist/dom-event-engine/DomEventEngine.js +1 -2
- package/dist/dom-event-engine/DomEventEngine.js.map +1 -1
- package/dist/event-engine/EventEngine.d.ts +6 -4
- package/dist/event-engine/EventEngine.d.ts.map +1 -1
- package/dist/event-engine/EventEngine.js +24 -32
- package/dist/event-engine/EventEngine.js.map +1 -1
- package/dist/http-client/HttpClient.d.ts +4 -3
- package/dist/http-client/HttpClient.d.ts.map +1 -1
- package/dist/http-client/HttpClient.js +28 -41
- package/dist/http-client/HttpClient.js.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/input-validator/InputValidator.d.ts +4 -3
- package/dist/input-validator/InputValidator.d.ts.map +1 -1
- package/dist/input-validator/InputValidator.js +20 -20
- package/dist/input-validator/InputValidator.js.map +1 -1
- package/dist/logger/Logger.d.ts +11 -37
- package/dist/logger/Logger.d.ts.map +1 -1
- package/dist/logger/Logger.js +79 -235
- package/dist/logger/Logger.js.map +1 -1
- package/dist/logger/ShapeDiverViewerErrors.d.ts +5 -0
- package/dist/logger/ShapeDiverViewerErrors.d.ts.map +1 -1
- package/dist/logger/ShapeDiverViewerErrors.js +9 -1
- package/dist/logger/ShapeDiverViewerErrors.js.map +1 -1
- package/dist/performance-evaluator/PerformanceEvaluator.d.ts +16 -14
- package/dist/performance-evaluator/PerformanceEvaluator.d.ts.map +1 -1
- package/dist/performance-evaluator/PerformanceEvaluator.js +37 -40
- package/dist/performance-evaluator/PerformanceEvaluator.js.map +1 -1
- package/dist/settings-engine/SettingsEngine.d.ts.map +1 -1
- package/dist/settings-engine/SettingsEngine.js +3 -5
- package/dist/settings-engine/SettingsEngine.js.map +1 -1
- package/dist/state-engine/StateEngine.d.ts +11 -11
- package/dist/state-engine/StateEngine.d.ts.map +1 -1
- package/dist/state-engine/StateEngine.js +15 -26
- package/dist/state-engine/StateEngine.js.map +1 -1
- package/dist/system-info/SystemInfo.d.ts +21 -19
- package/dist/system-info/SystemInfo.d.ts.map +1 -1
- package/dist/system-info/SystemInfo.js +45 -61
- package/dist/system-info/SystemInfo.js.map +1 -1
- package/dist/type-check/TypeChecker.d.ts +3 -1
- package/dist/type-check/TypeChecker.d.ts.map +1 -1
- package/dist/type-check/TypeChecker.js +11 -14
- package/dist/type-check/TypeChecker.js.map +1 -1
- package/dist/uuid-generator/UuidGenerator.d.ts +8 -6
- package/dist/uuid-generator/UuidGenerator.d.ts.map +1 -1
- package/dist/uuid-generator/UuidGenerator.js +17 -24
- package/dist/uuid-generator/UuidGenerator.js.map +1 -1
- package/package.json +5 -8
- package/src/converter/Converter.ts +67 -47
- package/src/dom-event-engine/DomEventEngine.ts +1 -2
- package/src/event-engine/EventEngine.ts +34 -22
- package/src/http-client/HttpClient.ts +35 -32
- package/src/index.ts +4 -3
- package/src/input-validator/InputValidator.ts +29 -11
- package/src/logger/Logger.ts +60 -183
- package/src/logger/ShapeDiverViewerErrors.ts +9 -0
- package/src/performance-evaluator/PerformanceEvaluator.ts +45 -31
- package/src/settings-engine/SettingsEngine.ts +4 -6
- package/src/state-engine/StateEngine.ts +32 -30
- package/src/system-info/SystemInfo.ts +66 -47
- package/src/type-check/TypeChecker.ts +19 -5
- package/src/uuid-generator/UuidGenerator.ts +30 -14
package/dist/logger/Logger.js
CHANGED
|
@@ -1,43 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
-
}) : (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
o[k2] = m[k];
|
|
8
|
-
}));
|
|
9
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
10
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
11
|
-
}) : function(o, v) {
|
|
12
|
-
o["default"] = v;
|
|
13
|
-
});
|
|
14
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
18
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
|
-
};
|
|
20
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
-
if (mod && mod.__esModule) return mod;
|
|
22
|
-
var result = {};
|
|
23
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
-
__setModuleDefault(result, mod);
|
|
25
|
-
return result;
|
|
26
|
-
};
|
|
27
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
28
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
29
|
-
};
|
|
30
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
31
|
-
exports.Logger = exports.
|
|
32
|
-
const Sentry = __importStar(require("@sentry/browser"));
|
|
33
|
-
const tsyringe_1 = require("tsyringe");
|
|
34
|
-
const viewer_shared_build_data_1 = require("@shapediver/viewer.shared.build-data");
|
|
35
|
-
const sdk_geometry_api_sdk_core_1 = require("@shapediver/sdk.geometry-api-sdk-core");
|
|
36
|
-
const UuidGenerator_1 = require("../uuid-generator/UuidGenerator");
|
|
37
|
-
const browser_1 = require("@sentry/browser");
|
|
38
|
-
const ShapeDiverViewerErrors_1 = require("./ShapeDiverViewerErrors");
|
|
39
|
-
const sdk_geometry_api_sdk_v2_1 = require("@shapediver/sdk.geometry-api-sdk-v2");
|
|
40
|
-
const ShapeDiverError_1 = require("./ShapeDiverError");
|
|
3
|
+
exports.Logger = exports.LOGGING_LEVEL = void 0;
|
|
41
4
|
var LOGGING_LEVEL;
|
|
42
5
|
(function (LOGGING_LEVEL) {
|
|
43
6
|
LOGGING_LEVEL["NONE"] = "none";
|
|
@@ -50,57 +13,19 @@ var LOGGING_LEVEL;
|
|
|
50
13
|
LOGGING_LEVEL["DEBUG_MEDIUM"] = "debug_medium";
|
|
51
14
|
LOGGING_LEVEL["DEBUG_LOW"] = "debug_low";
|
|
52
15
|
})(LOGGING_LEVEL = exports.LOGGING_LEVEL || (exports.LOGGING_LEVEL = {}));
|
|
53
|
-
|
|
54
|
-
(function (LOGGING_TOPIC) {
|
|
55
|
-
LOGGING_TOPIC["AR"] = "ar";
|
|
56
|
-
LOGGING_TOPIC["GENERAL"] = "general";
|
|
57
|
-
LOGGING_TOPIC["EXPORT"] = "export";
|
|
58
|
-
LOGGING_TOPIC["PARAMETER"] = "parameter";
|
|
59
|
-
LOGGING_TOPIC["OUTPUT"] = "output";
|
|
60
|
-
LOGGING_TOPIC["SESSION"] = "session";
|
|
61
|
-
LOGGING_TOPIC["VIEWPORT"] = "viewer";
|
|
62
|
-
LOGGING_TOPIC["CAMERA"] = "camera";
|
|
63
|
-
LOGGING_TOPIC["LIGHT"] = "light";
|
|
64
|
-
LOGGING_TOPIC["CAMERA_CONTROL"] = "camera_control";
|
|
65
|
-
LOGGING_TOPIC["DATA_PROCESSING"] = "data_processing";
|
|
66
|
-
LOGGING_TOPIC["SDTF"] = "sdtf";
|
|
67
|
-
LOGGING_TOPIC["THREE"] = "three";
|
|
68
|
-
LOGGING_TOPIC["SETTINGS"] = "settings";
|
|
69
|
-
})(LOGGING_TOPIC = exports.LOGGING_TOPIC || (exports.LOGGING_TOPIC = {}));
|
|
70
|
-
let Logger = class Logger {
|
|
71
|
-
// #endregion Properties (2)
|
|
16
|
+
class Logger {
|
|
72
17
|
constructor() {
|
|
73
|
-
// #region Properties (
|
|
18
|
+
// #region Properties (8)
|
|
74
19
|
this._loggingLevel = LOGGING_LEVEL.WARN;
|
|
75
20
|
this._showMessages = true;
|
|
76
|
-
|
|
77
|
-
this._breadCrumbCounter = 0;
|
|
78
|
-
this._uuidGenerator = tsyringe_1.container.resolve(UuidGenerator_1.UuidGenerator);
|
|
79
|
-
this._userId = this._uuidGenerator.create();
|
|
80
|
-
const client = new browser_1.BrowserClient({
|
|
81
|
-
dsn: "https://0510990697b04b9da3ad07868e94e378@o363881.ingest.sentry.io/5828729",
|
|
82
|
-
environment: 'local',
|
|
83
|
-
release: viewer_shared_build_data_1.build_data.build_version,
|
|
84
|
-
maxBreadcrumbs: 100,
|
|
85
|
-
beforeBreadcrumb: (breadcrumb, hint) => {
|
|
86
|
-
this._breadCrumbCounter++;
|
|
87
|
-
return breadcrumb;
|
|
88
|
-
},
|
|
89
|
-
beforeSend: (event, hint) => {
|
|
90
|
-
if (event.level === Sentry.Severity.Debug)
|
|
91
|
-
event.fingerprint ? event.fingerprint.push(this._userId + '') : event.fingerprint = [this._userId + ''];
|
|
92
|
-
return event;
|
|
93
|
-
},
|
|
94
|
-
// Set tracesSampleRate to 1.0 to capture 100%
|
|
95
|
-
// of transactions for performance monitoring.
|
|
96
|
-
// We recommend adjusting this value in production
|
|
97
|
-
tracesSampleRate: 1.0
|
|
98
|
-
});
|
|
99
|
-
this._sentryHub = new browser_1.Hub(client);
|
|
100
|
-
this._sentryHub.setUser({
|
|
101
|
-
id: this._userId
|
|
102
|
-
});
|
|
21
|
+
// #endregion Private Methods (2)
|
|
103
22
|
}
|
|
23
|
+
// #endregion Properties (8)
|
|
24
|
+
// #region Public Static Accessors (1)
|
|
25
|
+
static get instance() {
|
|
26
|
+
return this._instance || (this._instance = new this());
|
|
27
|
+
}
|
|
28
|
+
// #endregion Public Static Accessors (1)
|
|
104
29
|
// #region Public Accessors (4)
|
|
105
30
|
get loggingLevel() {
|
|
106
31
|
return this._loggingLevel;
|
|
@@ -114,6 +39,74 @@ let Logger = class Logger {
|
|
|
114
39
|
set showMessages(value) {
|
|
115
40
|
this._showMessages = value;
|
|
116
41
|
}
|
|
42
|
+
// #endregion Public Accessors (4)
|
|
43
|
+
// #region Public Methods (11)
|
|
44
|
+
/**
|
|
45
|
+
* Logging a debug message.
|
|
46
|
+
* @param msg the message
|
|
47
|
+
*/
|
|
48
|
+
debug(msg) {
|
|
49
|
+
if (this.canLog(LOGGING_LEVEL.DEBUG) && this.showMessages === true)
|
|
50
|
+
console.debug('(DEBUG) ' + this.messageConstruction(msg));
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Logging a debug message with high priority.
|
|
54
|
+
* @param msg the message
|
|
55
|
+
*/
|
|
56
|
+
debugHigh(msg) {
|
|
57
|
+
if (this.canLog(LOGGING_LEVEL.DEBUG_HIGH) && this.showMessages === true)
|
|
58
|
+
console.debug('(DEBUG_HIGH) ' + this.messageConstruction(msg));
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Logging a debug message with low priority.
|
|
62
|
+
* @param msg the message
|
|
63
|
+
*/
|
|
64
|
+
debugLow(msg) {
|
|
65
|
+
if (this.canLog(LOGGING_LEVEL.DEBUG_LOW) && this.showMessages === true)
|
|
66
|
+
console.debug('(DEBUG_LOW) ' + this.messageConstruction(msg));
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Logging a debug message with medium priority.
|
|
70
|
+
* @param msg the message
|
|
71
|
+
*/
|
|
72
|
+
debugMedium(msg) {
|
|
73
|
+
if (this.canLog(LOGGING_LEVEL.DEBUG_MEDIUM) && this.showMessages === true)
|
|
74
|
+
console.debug('(DEBUG_MEDIUM) ' + this.messageConstruction(msg));
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Logging an error.
|
|
78
|
+
* @param msg the message
|
|
79
|
+
*/
|
|
80
|
+
error(msg) {
|
|
81
|
+
if (this.canLog(LOGGING_LEVEL.ERROR) && this.showMessages === true)
|
|
82
|
+
console.error('(ERROR) ' + this.messageConstruction(msg));
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Logging a fatal error.
|
|
86
|
+
* @param msg the message
|
|
87
|
+
*/
|
|
88
|
+
fatal(msg) {
|
|
89
|
+
if (this.canLog(LOGGING_LEVEL.FATAL) && this.showMessages === true)
|
|
90
|
+
console.error('(FATAL) ' + this.messageConstruction(msg));
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Logging an info.
|
|
94
|
+
* @param msg the message
|
|
95
|
+
*/
|
|
96
|
+
info(msg) {
|
|
97
|
+
if (this.canLog(LOGGING_LEVEL.INFO) && this.showMessages === true)
|
|
98
|
+
console.info('(INFO) ' + this.messageConstruction(msg));
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Logging a warning.
|
|
102
|
+
* @param msg the message
|
|
103
|
+
*/
|
|
104
|
+
warn(msg) {
|
|
105
|
+
if (this.canLog(LOGGING_LEVEL.WARN) && this.showMessages === true)
|
|
106
|
+
console.warn('(WARN) ' + this.messageConstruction(msg));
|
|
107
|
+
}
|
|
108
|
+
// #endregion Public Methods (11)
|
|
109
|
+
// #region Private Methods (2)
|
|
117
110
|
canLog(loggingLevel) {
|
|
118
111
|
switch (this.loggingLevel) {
|
|
119
112
|
case LOGGING_LEVEL.ERROR:
|
|
@@ -178,158 +171,9 @@ let Logger = class Logger {
|
|
|
178
171
|
return true;
|
|
179
172
|
}
|
|
180
173
|
}
|
|
181
|
-
// #endregion Public Accessors (4)
|
|
182
|
-
// #region Public Methods (8)
|
|
183
|
-
handleError(topic, scope, e, logToSentry = true) {
|
|
184
|
-
if (this.canLog(LOGGING_LEVEL.ERROR) && this.showMessages === true)
|
|
185
|
-
//console.error('(ERROR) ', e);
|
|
186
|
-
if (e instanceof sdk_geometry_api_sdk_v2_1.ShapeDiverRequestError) {
|
|
187
|
-
const messageProperty = e && e.message ? e.message : `An unknown issue occurred in ${scope}.`;
|
|
188
|
-
if (logToSentry)
|
|
189
|
-
this.sentryError(topic, e, messageProperty);
|
|
190
|
-
throw e;
|
|
191
|
-
}
|
|
192
|
-
else if (e instanceof sdk_geometry_api_sdk_v2_1.ShapeDiverResponseError && e.error === sdk_geometry_api_sdk_v2_1.ShapeDiverResponseErrorType.UNKNOWN) {
|
|
193
|
-
const messageProperty = e && e.message ? e.message : `An unknown issue occurred in ${scope}.`;
|
|
194
|
-
if (logToSentry)
|
|
195
|
-
this.sentryError(topic, e, messageProperty);
|
|
196
|
-
throw e;
|
|
197
|
-
}
|
|
198
|
-
else if (e instanceof sdk_geometry_api_sdk_v2_1.ShapeDiverResponseError) {
|
|
199
|
-
throw e;
|
|
200
|
-
}
|
|
201
|
-
else if (e instanceof ShapeDiverError_1.ShapeDiverViewerError) {
|
|
202
|
-
const messageProperty = e && e.message ? e.message : `An unknown issue occurred in ${scope}.`;
|
|
203
|
-
if (logToSentry) {
|
|
204
|
-
if (!(e instanceof ShapeDiverViewerErrors_1.ShapeDiverViewerConnectionError) || (e.status && e.status >= 500)) {
|
|
205
|
-
this.sentryError(topic, e, messageProperty);
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
throw e;
|
|
209
|
-
}
|
|
210
|
-
else if (e) {
|
|
211
|
-
const error = e;
|
|
212
|
-
const messageProperty = error.message ? error.message : `An unknown issue occurred in ${scope}.`;
|
|
213
|
-
const viewerError = new ShapeDiverViewerErrors_1.ShapeDiverViewerUnknownError(messageProperty, error);
|
|
214
|
-
if (logToSentry)
|
|
215
|
-
this.sentryError(topic, viewerError, messageProperty);
|
|
216
|
-
throw viewerError;
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
sentryError(topic, error, msg) {
|
|
220
|
-
var _a;
|
|
221
|
-
this.sentryBreadcrumb(topic, msg || error.message, Sentry.Severity.Error);
|
|
222
|
-
const breadcrumbCounter = this._breadCrumbCounter > 100 ? 100 : this._breadCrumbCounter;
|
|
223
|
-
for (let i = breadcrumbCounter; i < this._breadCrumbs.length + breadcrumbCounter; i++) {
|
|
224
|
-
if (i % 100 === 0 && i !== 0) {
|
|
225
|
-
this._sentryHub.setTag('topic', topic);
|
|
226
|
-
this._sentryHub.setUser({ id: this._userId });
|
|
227
|
-
this._sentryHub.captureMessage('Breadcrumb Issue ' + (i / 100 - 1) + ' (' + this._userId + ')', Sentry.Severity.Debug);
|
|
228
|
-
(_a = this._sentryHub.getScope()) === null || _a === void 0 ? void 0 : _a.clear();
|
|
229
|
-
}
|
|
230
|
-
this._sentryHub.addBreadcrumb(this._breadCrumbs[i - breadcrumbCounter]);
|
|
231
|
-
}
|
|
232
|
-
this._sentryHub.setTag('topic', topic);
|
|
233
|
-
this._sentryHub.setUser({ id: this._userId });
|
|
234
|
-
if (error instanceof sdk_geometry_api_sdk_core_1.ShapeDiverError || error instanceof ShapeDiverError_1.ShapeDiverViewerError) {
|
|
235
|
-
this._sentryHub.captureMessage(error.message, Sentry.Severity.Error);
|
|
236
|
-
}
|
|
237
|
-
else {
|
|
238
|
-
this._sentryHub.captureException(error);
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
sentryBreadcrumb(topic, msg, level) {
|
|
242
|
-
this._breadCrumbs.push({
|
|
243
|
-
category: topic,
|
|
244
|
-
message: msg,
|
|
245
|
-
level: Sentry.Severity.Debug,
|
|
246
|
-
timestamp: Math.floor(new Date().getTime() / 1000)
|
|
247
|
-
});
|
|
248
|
-
}
|
|
249
|
-
/**
|
|
250
|
-
* Logging a debug message.
|
|
251
|
-
* @param msg the message
|
|
252
|
-
*/
|
|
253
|
-
debug(topic, msg) {
|
|
254
|
-
if (this.canLog(LOGGING_LEVEL.DEBUG) && this.showMessages === true)
|
|
255
|
-
console.debug('(DEBUG) ' + this.messageConstruction(msg));
|
|
256
|
-
}
|
|
257
|
-
/**
|
|
258
|
-
* Logging a debug message with high priority.
|
|
259
|
-
* @param msg the message
|
|
260
|
-
*/
|
|
261
|
-
debugHigh(topic, msg) {
|
|
262
|
-
if (this.canLog(LOGGING_LEVEL.DEBUG_HIGH) && this.showMessages === true)
|
|
263
|
-
console.debug('(DEBUG_HIGH) ' + this.messageConstruction(msg));
|
|
264
|
-
}
|
|
265
|
-
/**
|
|
266
|
-
* Logging a debug message with low priority.
|
|
267
|
-
* @param msg the message
|
|
268
|
-
*/
|
|
269
|
-
debugLow(topic, msg) {
|
|
270
|
-
if (this.canLog(LOGGING_LEVEL.DEBUG_LOW) && this.showMessages === true)
|
|
271
|
-
console.debug('(DEBUG_LOW) ' + this.messageConstruction(msg));
|
|
272
|
-
}
|
|
273
|
-
/**
|
|
274
|
-
* Logging a debug message with medium priority.
|
|
275
|
-
* @param msg the message
|
|
276
|
-
*/
|
|
277
|
-
debugMedium(topic, msg) {
|
|
278
|
-
if (this.canLog(LOGGING_LEVEL.DEBUG_MEDIUM) && this.showMessages === true)
|
|
279
|
-
console.debug('(DEBUG_MEDIUM) ' + this.messageConstruction(msg));
|
|
280
|
-
}
|
|
281
|
-
/**
|
|
282
|
-
* Logging an error.
|
|
283
|
-
* @param msg the message
|
|
284
|
-
*/
|
|
285
|
-
error(topic, error, msg, throwError = false, notifySentry = true) {
|
|
286
|
-
this.sentryBreadcrumb(topic, msg || error.message, Sentry.Severity.Error);
|
|
287
|
-
if (notifySentry)
|
|
288
|
-
this.sentryError(topic, error, msg);
|
|
289
|
-
if (this.canLog(LOGGING_LEVEL.ERROR) && this.showMessages === true)
|
|
290
|
-
console.error('(ERROR) ' + this.messageConstruction(msg || error.message));
|
|
291
|
-
if (throwError)
|
|
292
|
-
throw error;
|
|
293
|
-
}
|
|
294
|
-
/**
|
|
295
|
-
* Logging a fatal error.
|
|
296
|
-
* @param msg the message
|
|
297
|
-
*/
|
|
298
|
-
fatal(topic, msg, error, throwError = false) {
|
|
299
|
-
this.sentryBreadcrumb(topic, msg, Sentry.Severity.Fatal);
|
|
300
|
-
this.sentryError(topic, error, msg);
|
|
301
|
-
if (this.canLog(LOGGING_LEVEL.FATAL) && this.showMessages === true)
|
|
302
|
-
console.error('(FATAL) ' + this.messageConstruction(msg));
|
|
303
|
-
if (throwError)
|
|
304
|
-
throw error;
|
|
305
|
-
}
|
|
306
|
-
/**
|
|
307
|
-
* Logging an info.
|
|
308
|
-
* @param msg the message
|
|
309
|
-
*/
|
|
310
|
-
info(topic, msg) {
|
|
311
|
-
this.sentryBreadcrumb(topic, msg, Sentry.Severity.Info);
|
|
312
|
-
if (this.canLog(LOGGING_LEVEL.INFO) && this.showMessages === true)
|
|
313
|
-
console.info('(INFO) ' + this.messageConstruction(msg));
|
|
314
|
-
}
|
|
315
|
-
/**
|
|
316
|
-
* Logging a warning.
|
|
317
|
-
* @param msg the message
|
|
318
|
-
*/
|
|
319
|
-
warn(topic, msg) {
|
|
320
|
-
this.sentryBreadcrumb(topic, msg, Sentry.Severity.Warning);
|
|
321
|
-
if (this.canLog(LOGGING_LEVEL.WARN) && this.showMessages === true)
|
|
322
|
-
console.warn('(WARN) ' + this.messageConstruction(msg));
|
|
323
|
-
}
|
|
324
|
-
// #endregion Public Methods (8)
|
|
325
|
-
// #region Private Methods (2)
|
|
326
174
|
messageConstruction(msg) {
|
|
327
175
|
return new Date().toISOString() + ': ' + msg;
|
|
328
176
|
}
|
|
329
|
-
}
|
|
330
|
-
Logger = __decorate([
|
|
331
|
-
(0, tsyringe_1.singleton)(),
|
|
332
|
-
__metadata("design:paramtypes", [])
|
|
333
|
-
], Logger);
|
|
177
|
+
}
|
|
334
178
|
exports.Logger = Logger;
|
|
335
179
|
//# sourceMappingURL=Logger.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Logger.js","sourceRoot":"","sources":["../../src/logger/Logger.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Logger.js","sourceRoot":"","sources":["../../src/logger/Logger.ts"],"names":[],"mappings":";;;AAAA,IAAY,aAUX;AAVD,WAAY,aAAa;IACrB,8BAAa,CAAA;IACb,gCAAe,CAAA;IACf,gCAAe,CAAA;IACf,8BAAa,CAAA;IACb,8BAAa,CAAA;IACb,gCAAe,CAAA;IACf,0CAAyB,CAAA;IACzB,8CAA6B,CAAA;IAC7B,wCAAuB,CAAA;AAC3B,CAAC,EAVW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAUxB;AAED,MAAa,MAAM;IAAnB;QACI,yBAAyB;QAIjB,kBAAa,GAAkB,aAAa,CAAC,IAAI,CAAC;QAClD,kBAAa,GAAY,IAAI,CAAC;QA0JtC,iCAAiC;IACrC,CAAC;IAzJG,4BAA4B;IAE5B,sCAAsC;IAE/B,MAAM,KAAK,QAAQ;QACtB,OAAO,IAAI,CAAC,SAAS,IAAI,CAAC,IAAI,CAAC,SAAS,GAAG,IAAI,IAAI,EAAE,CAAC,CAAC;IAC3D,CAAC;IAED,yCAAyC;IAEzC,+BAA+B;IAE/B,IAAW,YAAY;QACnB,OAAO,IAAI,CAAC,aAAa,CAAC;IAC9B,CAAC;IAED,IAAW,YAAY,CAAC,KAAoB;QACxC,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC;IAC/B,CAAC;IAED,IAAW,YAAY;QACnB,OAAO,IAAI,CAAC,aAAa,CAAC;IAC9B,CAAC;IAED,IAAW,YAAY,CAAC,KAAc;QAClC,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC;IAC/B,CAAC;IAED,kCAAkC;IAElC,8BAA8B;IAE9B;;;OAGG;IACI,KAAK,CAAC,GAAW;QACpB,IAAI,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,KAAK,CAAC,IAAI,IAAI,CAAC,YAAY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/D,KAAK,aAAa,CAAC,YAAY;gBAC3B,IAAI,YAAY,KAAK,aAAa,CAAC,SAAS;oBAAE,OAAO,KAAK,CAAC;YAC/D,KAAK,aAAa,CAAC,SAAS,CAAC;YAC7B,KAAK,aAAa,CAAC,KAAK,CAAC;YACzB;gBACI,OAAO,IAAI,CAAC;SACnB;IACL,CAAC;IAEO,mBAAmB,CAAC,GAAW;QACnC,OAAO,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE,GAAG,IAAI,GAAG,GAAG,CAAC;IACjD,CAAC;CAGJ;AAjKD,wBAiKC"}
|
|
@@ -30,6 +30,11 @@ export declare class ShapeDiverViewerSessionError extends ShapeDiverViewerError
|
|
|
30
30
|
readonly errorObject?: unknown;
|
|
31
31
|
constructor(message: string, errorObject?: unknown);
|
|
32
32
|
}
|
|
33
|
+
export declare class ShapeDiverViewerViewportError extends ShapeDiverViewerError {
|
|
34
|
+
readonly message: string;
|
|
35
|
+
readonly errorObject?: unknown;
|
|
36
|
+
constructor(message: string, errorObject?: unknown);
|
|
37
|
+
}
|
|
33
38
|
export declare class ShapeDiverViewerLightError extends ShapeDiverViewerError {
|
|
34
39
|
readonly message: string;
|
|
35
40
|
readonly errorObject?: unknown;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ShapeDiverViewerErrors.d.ts","sourceRoot":"","sources":["../../src/logger/ShapeDiverViewerErrors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAA6B,MAAM,mBAAmB,CAAC;AAGrF,qBAAa,4BAA6B,SAAQ,qBAAqB;aAE/C,OAAO,EAAE,MAAM;aACf,WAAW,EAAE,KAAK,GAAG,OAAO;gBAD5B,OAAO,EAAE,MAAM,EACf,WAAW,EAAE,KAAK,GAAG,OAAO;CAKnD;AAED,qBAAa,mCAAoC,SAAQ,qBAAqB;aAEtD,OAAO,EAAE,MAAM;aACf,WAAW,CAAC;gBADZ,OAAO,EAAE,MAAM,EACf,WAAW,CAAC,SAAiB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MAAM,EACf,MAAM,CAAC,oBAAQ,EACf,WAAW,CAAC,SAAiB;CAIpD;AAED,qBAAa,gCAAiC,SAAQ,qBAAqB;aAEnD,OAAO,EAAE,MAAM;gBAAf,OAAO,EAAE,MAAM;CAItC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ShapeDiverViewerInteractionError = exports.ShapeDiverViewerConnectionError = exports.ShapeDiverViewerValidationError = exports.ShapeDiverViewerArError = exports.ShapeDiverViewerGeneralError = exports.ShapeDiverViewerCameraError = exports.ShapeDiverViewerLightError = exports.ShapeDiverViewerSessionError = exports.ShapeDiverViewerSettingsError = exports.ShapeDiverViewerWebGLError = exports.ShapeDiverViewerEnvironmentMapError = exports.ShapeDiverViewerDataProcessingError = exports.ShapeDiverViewerUnknownError = void 0;
|
|
3
|
+
exports.ShapeDiverViewerInteractionError = exports.ShapeDiverViewerConnectionError = exports.ShapeDiverViewerValidationError = exports.ShapeDiverViewerArError = exports.ShapeDiverViewerGeneralError = exports.ShapeDiverViewerCameraError = exports.ShapeDiverViewerLightError = exports.ShapeDiverViewerViewportError = exports.ShapeDiverViewerSessionError = exports.ShapeDiverViewerSettingsError = exports.ShapeDiverViewerWebGLError = exports.ShapeDiverViewerEnvironmentMapError = exports.ShapeDiverViewerDataProcessingError = exports.ShapeDiverViewerUnknownError = void 0;
|
|
4
4
|
const ShapeDiverError_1 = require("./ShapeDiverError");
|
|
5
5
|
class ShapeDiverViewerUnknownError extends ShapeDiverError_1.ShapeDiverViewerError {
|
|
6
6
|
constructor(message, errorObject) {
|
|
@@ -53,6 +53,14 @@ class ShapeDiverViewerSessionError extends ShapeDiverError_1.ShapeDiverViewerErr
|
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
exports.ShapeDiverViewerSessionError = ShapeDiverViewerSessionError;
|
|
56
|
+
class ShapeDiverViewerViewportError extends ShapeDiverError_1.ShapeDiverViewerError {
|
|
57
|
+
constructor(message, errorObject) {
|
|
58
|
+
super(ShapeDiverError_1.ShapeDiverViewerErrorType.SESSION_ERROR, 'An error occurred while working with the viewport.', message);
|
|
59
|
+
this.message = message;
|
|
60
|
+
this.errorObject = errorObject;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
exports.ShapeDiverViewerViewportError = ShapeDiverViewerViewportError;
|
|
56
64
|
class ShapeDiverViewerLightError extends ShapeDiverError_1.ShapeDiverViewerError {
|
|
57
65
|
constructor(message, errorObject) {
|
|
58
66
|
super(ShapeDiverError_1.ShapeDiverViewerErrorType.LIGHT_ERROR, 'An error occurred while working with the lights.', message);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ShapeDiverViewerErrors.js","sourceRoot":"","sources":["../../src/logger/ShapeDiverViewerErrors.ts"],"names":[],"mappings":";;;AAAA,uDAAqF;AAGrF,MAAa,4BAA6B,SAAQ,uCAAqB;IACnE,YACoB,OAAe,EACf,WAA4B;QAE5C,KAAK,CAAC,2CAAyB,CAAC,OAAO,EAAE,4BAA4B,EAAE,OAAO,CAAC,CAAC;QAHhE,YAAO,GAAP,OAAO,CAAQ;QACf,gBAAW,GAAX,WAAW,CAAiB;QAG5C,IAAG,KAAK,CAAC,iBAAiB,KAAK,SAAS;YAAE,KAAK,CAAC,iBAAiB,CAAC,IAAI,EAAE,4BAA4B,CAAC,CAAA;IACzG,CAAC;CACJ;AARD,oEAQC;AAED,MAAa,mCAAoC,SAAQ,uCAAqB;IAC1E,YACoB,OAAe,EACf,WAA6B;QAE7C,KAAK,CAAC,2CAAyB,CAAC,qBAAqB,EAAE,0CAA0C,EAAE,OAAO,CAAC,CAAC;QAH5F,YAAO,GAAP,OAAO,CAAQ;QACf,gBAAW,GAAX,WAAW,CAAkB;IAGjD,CAAC;CACJ;AAPD,kFAOC;AAED,MAAa,mCAAoC,SAAQ,uCAAqB;IAC1E,YACoB,OAAe,EACf,GAAuB,EACvB,WAA6B;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BAAW,GAAX,WAAW,CAAkB;IAGjD,CAAC;CACJ;AARD,0EAQC;AAED,MAAa,gCAAiC,SAAQ,uCAAqB;IACvE,YACoB,OAAe;QAE/B,KAAK,CAAC,2CAAyB,CAAC,iBAAiB,EAAE,sCAAsC,EAAE,OAAO,CAAC,CAAC;QAFpF,YAAO,GAAP,OAAO,CAAQ;IAGnC,CAAC;CACJ;AAND,4EAMC"}
|
|
@@ -1,29 +1,19 @@
|
|
|
1
1
|
export declare class PerformanceEvaluator {
|
|
2
|
+
private static _instance;
|
|
2
3
|
private _eval;
|
|
4
|
+
static get instance(): PerformanceEvaluator;
|
|
3
5
|
/**
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* @param id
|
|
7
|
-
*/
|
|
8
|
-
start(time?: number): void;
|
|
9
|
-
/**
|
|
10
|
-
* Start the evaluation of a section with a specific id.
|
|
6
|
+
* End the performance evaluation and calculate the duration.
|
|
11
7
|
*
|
|
12
8
|
* @param id
|
|
13
9
|
*/
|
|
14
|
-
|
|
10
|
+
end(): void;
|
|
15
11
|
/**
|
|
16
12
|
* End the performance evaluation of a section and calculate the duration.
|
|
17
13
|
*
|
|
18
14
|
* @param id
|
|
19
15
|
*/
|
|
20
16
|
endSection(sectionId: string): void;
|
|
21
|
-
/**
|
|
22
|
-
* End the performance evaluation and calculate the duration.
|
|
23
|
-
*
|
|
24
|
-
* @param id
|
|
25
|
-
*/
|
|
26
|
-
end(): void;
|
|
27
17
|
/**
|
|
28
18
|
* Get the evaluation data for a specific id.
|
|
29
19
|
*
|
|
@@ -47,5 +37,17 @@ export declare class PerformanceEvaluator {
|
|
|
47
37
|
* @param id
|
|
48
38
|
*/
|
|
49
39
|
getEvaluationToString(): string;
|
|
40
|
+
/**
|
|
41
|
+
* Start the evaluation with a specific id.
|
|
42
|
+
*
|
|
43
|
+
* @param id
|
|
44
|
+
*/
|
|
45
|
+
start(time?: number): void;
|
|
46
|
+
/**
|
|
47
|
+
* Start the evaluation of a section with a specific id.
|
|
48
|
+
*
|
|
49
|
+
* @param id
|
|
50
|
+
*/
|
|
51
|
+
startSection(sectionId: string, time?: number): void;
|
|
50
52
|
}
|
|
51
53
|
//# sourceMappingURL=PerformanceEvaluator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PerformanceEvaluator.d.ts","sourceRoot":"","sources":["../../src/performance-evaluator/PerformanceEvaluator.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PerformanceEvaluator.d.ts","sourceRoot":"","sources":["../../src/performance-evaluator/PerformanceEvaluator.ts"],"names":[],"mappings":"AAAA,qBAAa,oBAAoB;IAG7B,OAAO,CAAC,MAAM,CAAC,SAAS,CAAuB;IAE/C,OAAO,CAAC,KAAK,CAWC;IAMd,WAAkB,QAAQ,yBAEzB;IAMD;;;;OAIG;IACI,GAAG,IAAI,IAAI;IAQlB;;;;OAIG;IACI,UAAU,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI;IAW1C;;;;OAIG;IACI,aAAa,IAAI;QACpB,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,EAAE;YACL,CAAC,GAAG,EAAE,MAAM,GAAG;gBACX,KAAK,EAAE,MAAM,CAAC;gBACd,GAAG,CAAC,EAAE,MAAM,CAAC;gBACb,QAAQ,CAAC,EAAE,MAAM,CAAA;aACpB,CAAA;SACJ,CAAC;QACF,GAAG,CAAC,EAAE,MAAM,CAAC;QACb,QAAQ,CAAC,EAAE,MAAM,CAAC;KACrB,GAAG,SAAS;IAIb;;;;OAIG;IACI,qBAAqB,IAAI,MAAM;IAKtC;;;;OAIG;IACI,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI;IAOjC;;;;OAIG;IACI,YAAY,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI;CAS9D"}
|
|
@@ -1,38 +1,26 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
3
|
exports.PerformanceEvaluator = void 0;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
* @param id
|
|
16
|
-
*/
|
|
17
|
-
start(time) {
|
|
18
|
-
this._eval = {
|
|
19
|
-
start: time || performance.now(),
|
|
20
|
-
section: {}
|
|
21
|
-
};
|
|
4
|
+
class PerformanceEvaluator {
|
|
5
|
+
// #endregion Properties (2)
|
|
6
|
+
// #region Public Static Accessors (1)
|
|
7
|
+
static get instance() {
|
|
8
|
+
return this._instance || (this._instance = new this());
|
|
22
9
|
}
|
|
10
|
+
// #endregion Public Static Accessors (1)
|
|
11
|
+
// #region Public Methods (6)
|
|
23
12
|
/**
|
|
24
|
-
*
|
|
13
|
+
* End the performance evaluation and calculate the duration.
|
|
25
14
|
*
|
|
26
15
|
* @param id
|
|
27
16
|
*/
|
|
28
|
-
|
|
17
|
+
end() {
|
|
29
18
|
if (!this._eval)
|
|
30
19
|
return;
|
|
31
20
|
if (this._eval.end)
|
|
32
21
|
return;
|
|
33
|
-
this._eval.
|
|
34
|
-
|
|
35
|
-
};
|
|
22
|
+
this._eval.end = performance.now();
|
|
23
|
+
this._eval.duration = this._eval.end - this._eval.start;
|
|
36
24
|
}
|
|
37
25
|
/**
|
|
38
26
|
* End the performance evaluation of a section and calculate the duration.
|
|
@@ -51,19 +39,6 @@ let PerformanceEvaluator = class PerformanceEvaluator {
|
|
|
51
39
|
this._eval.section[sectionId].end = performance.now();
|
|
52
40
|
this._eval.section[sectionId].duration = this._eval.section[sectionId].end - this._eval.section[sectionId].start;
|
|
53
41
|
}
|
|
54
|
-
/**
|
|
55
|
-
* End the performance evaluation and calculate the duration.
|
|
56
|
-
*
|
|
57
|
-
* @param id
|
|
58
|
-
*/
|
|
59
|
-
end() {
|
|
60
|
-
if (!this._eval)
|
|
61
|
-
return;
|
|
62
|
-
if (this._eval.end)
|
|
63
|
-
return;
|
|
64
|
-
this._eval.end = performance.now();
|
|
65
|
-
this._eval.duration = this._eval.end - this._eval.start;
|
|
66
|
-
}
|
|
67
42
|
/**
|
|
68
43
|
* Get the evaluation data for a specific id.
|
|
69
44
|
*
|
|
@@ -81,9 +56,31 @@ let PerformanceEvaluator = class PerformanceEvaluator {
|
|
|
81
56
|
const e = this._eval;
|
|
82
57
|
return `Performance Evaluation: ${e.duration}ms\n`;
|
|
83
58
|
}
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
59
|
+
/**
|
|
60
|
+
* Start the evaluation with a specific id.
|
|
61
|
+
*
|
|
62
|
+
* @param id
|
|
63
|
+
*/
|
|
64
|
+
start(time) {
|
|
65
|
+
this._eval = {
|
|
66
|
+
start: time || performance.now(),
|
|
67
|
+
section: {}
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Start the evaluation of a section with a specific id.
|
|
72
|
+
*
|
|
73
|
+
* @param id
|
|
74
|
+
*/
|
|
75
|
+
startSection(sectionId, time) {
|
|
76
|
+
if (!this._eval)
|
|
77
|
+
return;
|
|
78
|
+
if (this._eval.end)
|
|
79
|
+
return;
|
|
80
|
+
this._eval.section[sectionId] = {
|
|
81
|
+
start: time || performance.now(),
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
}
|
|
88
85
|
exports.PerformanceEvaluator = PerformanceEvaluator;
|
|
89
86
|
//# sourceMappingURL=PerformanceEvaluator.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PerformanceEvaluator.js","sourceRoot":"","sources":["../../src/performance-evaluator/PerformanceEvaluator.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PerformanceEvaluator.js","sourceRoot":"","sources":["../../src/performance-evaluator/PerformanceEvaluator.ts"],"names":[],"mappings":";;;AAAA,MAAa,oBAAoB;IAkB7B,4BAA4B;IAE5B,sCAAsC;IAE/B,MAAM,KAAK,QAAQ;QACtB,OAAO,IAAI,CAAC,SAAS,IAAI,CAAC,IAAI,CAAC,SAAS,GAAG,IAAI,IAAI,EAAE,CAAC,CAAC;IAC3D,CAAC;IAED,yCAAyC;IAEzC,6BAA6B;IAE7B;;;;OAIG;IACI,GAAG;QACN,IAAI,CAAC,IAAI,CAAC,KAAK;YAAE,OAAO;QACxB,IAAI,IAAI,CAAC,KAAK,CAAC,GAAG;YAAE,OAAO;QAE3B,IAAI,CAAC,KAAK,CAAC,GAAG,GAAG,WAAW,CAAC,GAAG,EAAE,CAAC;QACnC,IAAI,CAAC,KAAK,CAAC,QAAQ,GAAG,IAAI,CAAC,KAAK,CAAC,GAAI,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC;IAC7D,CAAC;IAED;;;;OAIG;IACI,UAAU,CAAC,SAAiB;QAC/B,IAAI,CAAC,IAAI,CAAC,KAAK;YAAE,OAAO;QACxB,IAAI,IAAI,CAAC,KAAK,CAAC,GAAG;YAAE,OAAO;QAC3B,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC;YAAE,OAAO;QAC3C,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,GAAG;YAAE,OAAO;QAE9C,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,GAAG,GAAG,WAAW,CAAC,GAAG,EAAE,CAAC;QAEtD,IAA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