@microsoft/applicationinsights-debugplugin-js 2.8.5-nightly.2206-04 → 2.8.5-nightly.2206-06

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.
Files changed (73) hide show
  1. package/browser/{ai.dbg.2.8.5-nightly.2206-04.cjs.js → ai.dbg.2.8.5-nightly.2206-06.cjs.js} +1092 -984
  2. package/browser/ai.dbg.2.8.5-nightly.2206-06.cjs.js.map +1 -0
  3. package/browser/ai.dbg.2.8.5-nightly.2206-06.cjs.min.js +6 -0
  4. package/browser/ai.dbg.2.8.5-nightly.2206-06.cjs.min.js.map +1 -0
  5. package/browser/{ai.dbg.2.8.5-nightly.2206-04.gbl.js → ai.dbg.2.8.5-nightly.2206-06.gbl.js} +1092 -984
  6. package/browser/ai.dbg.2.8.5-nightly.2206-06.gbl.js.map +1 -0
  7. package/browser/ai.dbg.2.8.5-nightly.2206-06.gbl.min.js +6 -0
  8. package/browser/ai.dbg.2.8.5-nightly.2206-06.gbl.min.js.map +1 -0
  9. package/browser/ai.dbg.2.8.5-nightly.2206-06.integrity.json +66 -0
  10. package/browser/{ai.dbg.2.8.5-nightly.2206-04.js → ai.dbg.2.8.5-nightly.2206-06.js} +1092 -984
  11. package/browser/ai.dbg.2.8.5-nightly.2206-06.js.map +1 -0
  12. package/browser/ai.dbg.2.8.5-nightly.2206-06.min.js +6 -0
  13. package/browser/ai.dbg.2.8.5-nightly.2206-06.min.js.map +1 -0
  14. package/browser/ai.dbg.2.cjs.js +1091 -983
  15. package/browser/ai.dbg.2.cjs.js.map +1 -1
  16. package/browser/ai.dbg.2.cjs.min.js +2 -2
  17. package/browser/ai.dbg.2.cjs.min.js.map +1 -1
  18. package/browser/ai.dbg.2.gbl.js +1091 -983
  19. package/browser/ai.dbg.2.gbl.js.map +1 -1
  20. package/browser/ai.dbg.2.gbl.min.js +2 -2
  21. package/browser/ai.dbg.2.gbl.min.js.map +1 -1
  22. package/browser/ai.dbg.2.js +1091 -983
  23. package/browser/ai.dbg.2.js.map +1 -1
  24. package/browser/ai.dbg.2.min.js +2 -2
  25. package/browser/ai.dbg.2.min.js.map +1 -1
  26. package/dist/applicationinsights-debugplugin-js.api.json +5 -2
  27. package/dist/applicationinsights-debugplugin-js.d.ts +1 -1
  28. package/dist/applicationinsights-debugplugin-js.js +1091 -983
  29. package/dist/applicationinsights-debugplugin-js.js.map +1 -1
  30. package/dist/applicationinsights-debugplugin-js.min.js +2 -2
  31. package/dist/applicationinsights-debugplugin-js.min.js.map +1 -1
  32. package/dist/applicationinsights-debugplugin-js.rollup.d.ts +1 -1
  33. package/dist-esm/DebugPlugin.js +44 -43
  34. package/dist-esm/DebugPlugin.js.map +1 -1
  35. package/dist-esm/__DynamicConstants.js +55 -0
  36. package/dist-esm/__DynamicConstants.js.map +1 -0
  37. package/dist-esm/applicationinsights-debugplugin-js.js +1 -1
  38. package/dist-esm/components/Dashboard.js +80 -79
  39. package/dist-esm/components/Dashboard.js.map +1 -1
  40. package/dist-esm/components/LogEntry.js +12 -11
  41. package/dist-esm/components/LogEntry.js.map +1 -1
  42. package/dist-esm/components/debugBins.js +46 -45
  43. package/dist-esm/components/debugBins.js.map +1 -1
  44. package/dist-esm/components/filterList.js +52 -51
  45. package/dist-esm/components/filterList.js.map +1 -1
  46. package/dist-esm/components/helpers.js +104 -103
  47. package/dist-esm/components/helpers.js.map +1 -1
  48. package/dist-esm/components/styleNodeSrc.js +2 -1
  49. package/dist-esm/components/styleNodeSrc.js.map +1 -1
  50. package/dist-esm/interfaces/IDebugPluginConfig.js +1 -1
  51. package/package.json +6 -4
  52. package/src/DebugPlugin.ts +16 -17
  53. package/src/__DynamicConstants.ts +53 -0
  54. package/src/components/Dashboard.ts +8 -8
  55. package/src/components/LogEntry.ts +5 -6
  56. package/src/components/debugBins.ts +4 -4
  57. package/src/components/filterList.ts +6 -6
  58. package/src/components/helpers.ts +10 -8
  59. package/src/components/styleNodeSrc.ts +1 -0
  60. package/types/DebugPlugin.d.ts +1 -1
  61. package/types/__DynamicConstants.d.ts +41 -0
  62. package/types/components/LogEntry.d.ts +3 -2
  63. package/types/tsdoc-metadata.json +1 -1
  64. package/browser/ai.dbg.2.8.5-nightly.2206-04.cjs.js.map +0 -1
  65. package/browser/ai.dbg.2.8.5-nightly.2206-04.cjs.min.js +0 -6
  66. package/browser/ai.dbg.2.8.5-nightly.2206-04.cjs.min.js.map +0 -1
  67. package/browser/ai.dbg.2.8.5-nightly.2206-04.gbl.js.map +0 -1
  68. package/browser/ai.dbg.2.8.5-nightly.2206-04.gbl.min.js +0 -6
  69. package/browser/ai.dbg.2.8.5-nightly.2206-04.gbl.min.js.map +0 -1
  70. package/browser/ai.dbg.2.8.5-nightly.2206-04.integrity.json +0 -66
  71. package/browser/ai.dbg.2.8.5-nightly.2206-04.js.map +0 -1
  72. package/browser/ai.dbg.2.8.5-nightly.2206-04.min.js +0 -6
  73. package/browser/ai.dbg.2.8.5-nightly.2206-04.min.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Application Insights JavaScript SDK - Debug Plugin, 2.8.5-nightly.2206-04
2
+ * Application Insights JavaScript SDK - Debug Plugin, 2.8.5-nightly.2206-06
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  'use strict';
@@ -83,14 +83,307 @@ function __extendsFn(d, b) {
83
83
  d[strShimPrototype] = b === null ? objCreateFn(b) : (__[strShimPrototype] = b[strShimPrototype], new __());
84
84
  }
85
85
 
86
- var strEmpty$1 = "";
87
- var strSetNextPlugin = "setNextPlugin";
88
- var strIsInitialized = "isInitialized";
89
- var strTeardown = "teardown";
90
- var strCore = "core";
91
- var strUpdate = "update";
92
- var strDisabled = "disabled";
93
- var strDoTeardown = "_doTeardown";
86
+ /*!
87
+ * Microsoft Dynamic Proto Utility, 1.1.6
88
+ * Copyright (c) Microsoft and contributors. All rights reserved.
89
+ */
90
+ var Constructor = 'constructor';
91
+ var Prototype = 'prototype';
92
+ var strFunction = 'function';
93
+ var DynInstFuncTable = '_dynInstFuncs';
94
+ var DynProxyTag = '_isDynProxy';
95
+ var DynClassName = '_dynClass';
96
+ var DynClassNamePrefix = '_dynCls$';
97
+ var DynInstChkTag = '_dynInstChk';
98
+ var DynAllowInstChkTag = DynInstChkTag;
99
+ var DynProtoDefaultOptions = '_dfOpts';
100
+ var UnknownValue = '_unknown_';
101
+ var str__Proto$1 = "__proto__";
102
+ var DynProtoBaseProto = "_dyn" + str__Proto$1;
103
+ var DynProtoCurrent = "_dynInstProto";
104
+ var strUseBaseInst = 'useBaseInst';
105
+ var strSetInstFuncs = 'setInstFuncs';
106
+ var Obj = Object;
107
+ var _objGetPrototypeOf$1 = Obj["getPrototypeOf"];
108
+ var _objGetOwnProps = Obj["getOwnPropertyNames"];
109
+ var _dynamicNames = 0;
110
+ function _hasOwnProperty(obj, prop) {
111
+ return obj && Obj[Prototype].hasOwnProperty.call(obj, prop);
112
+ }
113
+ function _isObjectOrArrayPrototype(target) {
114
+ return target && (target === Obj[Prototype] || target === Array[Prototype]);
115
+ }
116
+ function _isObjectArrayOrFunctionPrototype(target) {
117
+ return _isObjectOrArrayPrototype(target) || target === Function[Prototype];
118
+ }
119
+ function _getObjProto$1(target) {
120
+ var newProto;
121
+ if (target) {
122
+ if (_objGetPrototypeOf$1) {
123
+ return _objGetPrototypeOf$1(target);
124
+ }
125
+ var curProto = target[str__Proto$1] || target[Prototype] || (target[Constructor] ? target[Constructor][Prototype] : null);
126
+ newProto = target[DynProtoBaseProto] || curProto;
127
+ if (!_hasOwnProperty(target, DynProtoBaseProto)) {
128
+ delete target[DynProtoCurrent];
129
+ newProto = target[DynProtoBaseProto] = target[DynProtoCurrent] || target[DynProtoBaseProto];
130
+ target[DynProtoCurrent] = curProto;
131
+ }
132
+ }
133
+ return newProto;
134
+ }
135
+ function _forEachProp(target, func) {
136
+ var props = [];
137
+ if (_objGetOwnProps) {
138
+ props = _objGetOwnProps(target);
139
+ }
140
+ else {
141
+ for (var name_1 in target) {
142
+ if (typeof name_1 === "string" && _hasOwnProperty(target, name_1)) {
143
+ props.push(name_1);
144
+ }
145
+ }
146
+ }
147
+ if (props && props.length > 0) {
148
+ for (var lp = 0; lp < props.length; lp++) {
149
+ func(props[lp]);
150
+ }
151
+ }
152
+ }
153
+ function _isDynamicCandidate(target, funcName, skipOwn) {
154
+ return (funcName !== Constructor && typeof target[funcName] === strFunction && (skipOwn || _hasOwnProperty(target, funcName)));
155
+ }
156
+ function _throwTypeError(message) {
157
+ throw new TypeError("DynamicProto: " + message);
158
+ }
159
+ function _getInstanceFuncs(thisTarget) {
160
+ var instFuncs = {};
161
+ _forEachProp(thisTarget, function (name) {
162
+ if (!instFuncs[name] && _isDynamicCandidate(thisTarget, name, false)) {
163
+ instFuncs[name] = thisTarget[name];
164
+ }
165
+ });
166
+ return instFuncs;
167
+ }
168
+ function _hasVisited(values, value) {
169
+ for (var lp = values.length - 1; lp >= 0; lp--) {
170
+ if (values[lp] === value) {
171
+ return true;
172
+ }
173
+ }
174
+ return false;
175
+ }
176
+ function _getBaseFuncs(classProto, thisTarget, instFuncs, useBaseInst) {
177
+ function _instFuncProxy(target, funcHost, funcName) {
178
+ var theFunc = funcHost[funcName];
179
+ if (theFunc[DynProxyTag] && useBaseInst) {
180
+ var instFuncTable = target[DynInstFuncTable] || {};
181
+ if (instFuncTable[DynAllowInstChkTag] !== false) {
182
+ theFunc = (instFuncTable[funcHost[DynClassName]] || {})[funcName] || theFunc;
183
+ }
184
+ }
185
+ return function () {
186
+ return theFunc.apply(target, arguments);
187
+ };
188
+ }
189
+ var baseFuncs = {};
190
+ _forEachProp(instFuncs, function (name) {
191
+ baseFuncs[name] = _instFuncProxy(thisTarget, instFuncs, name);
192
+ });
193
+ var baseProto = _getObjProto$1(classProto);
194
+ var visited = [];
195
+ while (baseProto && !_isObjectArrayOrFunctionPrototype(baseProto) && !_hasVisited(visited, baseProto)) {
196
+ _forEachProp(baseProto, function (name) {
197
+ if (!baseFuncs[name] && _isDynamicCandidate(baseProto, name, !_objGetPrototypeOf$1)) {
198
+ baseFuncs[name] = _instFuncProxy(thisTarget, baseProto, name);
199
+ }
200
+ });
201
+ visited.push(baseProto);
202
+ baseProto = _getObjProto$1(baseProto);
203
+ }
204
+ return baseFuncs;
205
+ }
206
+ function _getInstFunc(target, funcName, proto, currentDynProtoProxy) {
207
+ var instFunc = null;
208
+ if (target && _hasOwnProperty(proto, DynClassName)) {
209
+ var instFuncTable = target[DynInstFuncTable] || {};
210
+ instFunc = (instFuncTable[proto[DynClassName]] || {})[funcName];
211
+ if (!instFunc) {
212
+ _throwTypeError("Missing [" + funcName + "] " + strFunction);
213
+ }
214
+ if (!instFunc[DynInstChkTag] && instFuncTable[DynAllowInstChkTag] !== false) {
215
+ var canAddInst = !_hasOwnProperty(target, funcName);
216
+ var objProto = _getObjProto$1(target);
217
+ var visited = [];
218
+ while (canAddInst && objProto && !_isObjectArrayOrFunctionPrototype(objProto) && !_hasVisited(visited, objProto)) {
219
+ var protoFunc = objProto[funcName];
220
+ if (protoFunc) {
221
+ canAddInst = (protoFunc === currentDynProtoProxy);
222
+ break;
223
+ }
224
+ visited.push(objProto);
225
+ objProto = _getObjProto$1(objProto);
226
+ }
227
+ try {
228
+ if (canAddInst) {
229
+ target[funcName] = instFunc;
230
+ }
231
+ instFunc[DynInstChkTag] = 1;
232
+ }
233
+ catch (e) {
234
+ instFuncTable[DynAllowInstChkTag] = false;
235
+ }
236
+ }
237
+ }
238
+ return instFunc;
239
+ }
240
+ function _getProtoFunc(funcName, proto, currentDynProtoProxy) {
241
+ var protoFunc = proto[funcName];
242
+ if (protoFunc === currentDynProtoProxy) {
243
+ protoFunc = _getObjProto$1(proto)[funcName];
244
+ }
245
+ if (typeof protoFunc !== strFunction) {
246
+ _throwTypeError("[" + funcName + "] is not a " + strFunction);
247
+ }
248
+ return protoFunc;
249
+ }
250
+ function _populatePrototype(proto, className, target, baseInstFuncs, setInstanceFunc) {
251
+ function _createDynamicPrototype(proto, funcName) {
252
+ var dynProtoProxy = function () {
253
+ var instFunc = _getInstFunc(this, funcName, proto, dynProtoProxy) || _getProtoFunc(funcName, proto, dynProtoProxy);
254
+ return instFunc.apply(this, arguments);
255
+ };
256
+ dynProtoProxy[DynProxyTag] = 1;
257
+ return dynProtoProxy;
258
+ }
259
+ if (!_isObjectOrArrayPrototype(proto)) {
260
+ var instFuncTable = target[DynInstFuncTable] = target[DynInstFuncTable] || {};
261
+ var instFuncs_1 = instFuncTable[className] = (instFuncTable[className] || {});
262
+ if (instFuncTable[DynAllowInstChkTag] !== false) {
263
+ instFuncTable[DynAllowInstChkTag] = !!setInstanceFunc;
264
+ }
265
+ _forEachProp(target, function (name) {
266
+ if (_isDynamicCandidate(target, name, false) && target[name] !== baseInstFuncs[name]) {
267
+ instFuncs_1[name] = target[name];
268
+ delete target[name];
269
+ if (!_hasOwnProperty(proto, name) || (proto[name] && !proto[name][DynProxyTag])) {
270
+ proto[name] = _createDynamicPrototype(proto, name);
271
+ }
272
+ }
273
+ });
274
+ }
275
+ }
276
+ function _checkPrototype(classProto, thisTarget) {
277
+ if (_objGetPrototypeOf$1) {
278
+ var visited = [];
279
+ var thisProto = _getObjProto$1(thisTarget);
280
+ while (thisProto && !_isObjectArrayOrFunctionPrototype(thisProto) && !_hasVisited(visited, thisProto)) {
281
+ if (thisProto === classProto) {
282
+ return true;
283
+ }
284
+ visited.push(thisProto);
285
+ thisProto = _getObjProto$1(thisProto);
286
+ }
287
+ return false;
288
+ }
289
+ return true;
290
+ }
291
+ function _getObjName(target, unknownValue) {
292
+ if (_hasOwnProperty(target, Prototype)) {
293
+ return target.name || unknownValue || UnknownValue;
294
+ }
295
+ return (((target || {})[Constructor]) || {}).name || unknownValue || UnknownValue;
296
+ }
297
+ function dynamicProto(theClass, target, delegateFunc, options) {
298
+ if (!_hasOwnProperty(theClass, Prototype)) {
299
+ _throwTypeError("theClass is an invalid class definition.");
300
+ }
301
+ var classProto = theClass[Prototype];
302
+ if (!_checkPrototype(classProto, target)) {
303
+ _throwTypeError("[" + _getObjName(theClass) + "] is not in class hierarchy of [" + _getObjName(target) + "]");
304
+ }
305
+ var className = null;
306
+ if (_hasOwnProperty(classProto, DynClassName)) {
307
+ className = classProto[DynClassName];
308
+ }
309
+ else {
310
+ className = DynClassNamePrefix + _getObjName(theClass, "_") + "$" + _dynamicNames;
311
+ _dynamicNames++;
312
+ classProto[DynClassName] = className;
313
+ }
314
+ var perfOptions = dynamicProto[DynProtoDefaultOptions];
315
+ var useBaseInst = !!perfOptions[strUseBaseInst];
316
+ if (useBaseInst && options && options[strUseBaseInst] !== undefined) {
317
+ useBaseInst = !!options[strUseBaseInst];
318
+ }
319
+ var instFuncs = _getInstanceFuncs(target);
320
+ var baseFuncs = _getBaseFuncs(classProto, target, instFuncs, useBaseInst);
321
+ delegateFunc(target, baseFuncs);
322
+ var setInstanceFunc = !!_objGetPrototypeOf$1 && !!perfOptions[strSetInstFuncs];
323
+ if (setInstanceFunc && options) {
324
+ setInstanceFunc = !!options[strSetInstFuncs];
325
+ }
326
+ _populatePrototype(classProto, className, target, instFuncs, setInstanceFunc !== false);
327
+ }
328
+ var perfDefaults = {
329
+ setInstFuncs: true,
330
+ useBaseInst: true
331
+ };
332
+ dynamicProto[DynProtoDefaultOptions] = perfDefaults;
333
+
334
+ var _DYN_INITIALIZE = "initialize";
335
+ var _DYN_NAME$1 = "name";
336
+ var _DYN_IDENTIFIER$1 = "identifier";
337
+ var _DYN_PUSH$1 = "push";
338
+ var _DYN_IS_INITIALIZED = "isInitialized";
339
+ var _DYN_CONFIG = "config";
340
+ var _DYN_LOGGER = "logger";
341
+ var _DYN_LENGTH$2 = "length";
342
+ var _DYN_TIME = "time";
343
+ var _DYN_PROCESS_NEXT = "processNext";
344
+ var _DYN_GET_PROCESS_TEL_CONT0 = "getProcessTelContext";
345
+ var _DYN_GET_PLUGIN = "getPlugin";
346
+ var _DYN_SPLICE = "splice";
347
+ var _DYN_TEARDOWN = "teardown";
348
+ var _DYN_MESSAGE_ID = "messageId";
349
+ var _DYN_MESSAGE = "message";
350
+ var _DYN_IS_ASYNC = "isAsync";
351
+ var _DYN__DO_TEARDOWN = "_doTeardown";
352
+ var _DYN_UPDATE = "update";
353
+ var _DYN_GET_NEXT = "getNext";
354
+ var _DYN_DIAG_LOG = "diagLog";
355
+ var _DYN_SET_NEXT_PLUGIN = "setNextPlugin";
356
+ var _DYN_CREATE_NEW = "createNew";
357
+ var _DYN_COOKIE_CFG = "cookieCfg";
358
+ var _DYN_INDEX_OF = "indexOf";
359
+ var _DYN_SUBSTRING$1 = "substring";
360
+ var _DYN_USER_AGENT = "userAgent";
361
+ var _DYN_SPLIT = "split";
362
+ var _DYN_SET_ENABLED = "setEnabled";
363
+ var _DYN_REPLACE$1 = "replace";
364
+ var _DYN_SUBSTR = "substr";
365
+ var _DYN_NODE_TYPE = "nodeType";
366
+ var _DYN_APPLY = "apply";
367
+ var _DYN_ENABLE_DEBUG_EXCEPTI4 = "enableDebugExceptions";
368
+ var _DYN_LOG_INTERNAL_MESSAGE = "logInternalMessage";
369
+ var _DYN_TO_LOWER_CASE$1 = "toLowerCase";
370
+ var _DYN_CALL = "call";
371
+ var _DYN_TYPE = "type";
372
+ var _DYN_HANDLER = "handler";
373
+ var _DYN_IS_CHILD_EVT = "isChildEvt";
374
+ var _DYN_GET_CTX = "getCtx";
375
+ var _DYN_SET_CTX = "setCtx";
376
+ var _DYN_COMPLETE = "complete";
377
+
378
+ var STR_EMPTY = "";
379
+ var STR_CORE = "core";
380
+ var STR_DISABLED = "disabled";
381
+ var STR_EXTENSION_CONFIG = "extensionConfig";
382
+ var STR_PROCESS_TELEMETRY = "processTelemetry";
383
+ var STR_PRIORITY = "priority";
384
+ var STR_ERROR_TO_CONSOLE = "errorToConsole";
385
+ var STR_WARN_TO_CONSOLE = "warnToConsole";
386
+ var STR_GET_PERF_MGR = "getPerfMgr";
94
387
 
95
388
  var strToISOString = "toISOString";
96
389
  var cStrEndsWith = "endsWith";
@@ -99,7 +392,7 @@ var strMap = "map";
99
392
  var strReduce = "reduce";
100
393
  var cStrTrim = "trim";
101
394
  var strToString = "toString";
102
- var str__Proto$1 = "__proto__";
395
+ var str__Proto = "__proto__";
103
396
  var strConstructor$1 = "constructor";
104
397
  var _objDefineProperty$1 = ObjDefineProperty;
105
398
  var _objFreeze = ObjClass.freeze;
@@ -112,17 +405,17 @@ var _dataToISOString = DateProto[strToISOString];
112
405
  var _isArray = Array.isArray;
113
406
  var _objToString = ObjProto[strToString];
114
407
  var _fnToString = ObjHasOwnProperty[strToString];
115
- var _objFunctionString = _fnToString.call(ObjClass);
408
+ var _objFunctionString = _fnToString[_DYN_CALL ](ObjClass);
116
409
  var rCamelCase = /-([a-z])/g;
117
410
  var rNormalizeInvalid = /([^\w\d_$])/g;
118
411
  var rLeadingNumeric = /^(\d+[\w\d_$])/;
119
- var _objGetPrototypeOf$1 = Object["getPrototypeOf"];
120
- function _getObjProto$1(target) {
412
+ var _objGetPrototypeOf = Object["getPrototypeOf"];
413
+ function _getObjProto(target) {
121
414
  if (target) {
122
- if (_objGetPrototypeOf$1) {
123
- return _objGetPrototypeOf$1(target);
415
+ if (_objGetPrototypeOf) {
416
+ return _objGetPrototypeOf(target);
124
417
  }
125
- var newProto = target[str__Proto$1] || target[strShimPrototype] || target[strConstructor$1];
418
+ var newProto = target[str__Proto] || target[strShimPrototype] || target[strConstructor$1];
126
419
  if (newProto) {
127
420
  return newProto;
128
421
  }
@@ -130,7 +423,7 @@ function _getObjProto$1(target) {
130
423
  return null;
131
424
  }
132
425
  function objToString(obj) {
133
- return _objToString.call(obj);
426
+ return _objToString[_DYN_CALL ](obj);
134
427
  }
135
428
  function isTypeof(value, theType) {
136
429
  return typeof value === theType;
@@ -145,7 +438,7 @@ function isNotNullOrUndefined(value) {
145
438
  return !isNullOrUndefined(value);
146
439
  }
147
440
  function hasOwnProperty(obj, prop) {
148
- return !!(obj && ObjHasOwnProperty.call(obj, prop));
441
+ return !!(obj && ObjHasOwnProperty[_DYN_CALL ](obj, prop));
149
442
  }
150
443
  function isObject(value) {
151
444
  return !!(value && typeof value === strShimObject);
@@ -156,11 +449,11 @@ function isFunction(value) {
156
449
  function normalizeJsName(name) {
157
450
  var value = name;
158
451
  if (value && isString(value)) {
159
- value = value.replace(rCamelCase, function (_all, letter) {
452
+ value = value[_DYN_REPLACE$1 ](rCamelCase, function (_all, letter) {
160
453
  return letter.toUpperCase();
161
454
  });
162
- value = value.replace(rNormalizeInvalid, "_");
163
- value = value.replace(rLeadingNumeric, function (_all, match) {
455
+ value = value[_DYN_REPLACE$1 ](rNormalizeInvalid, "_");
456
+ value = value[_DYN_REPLACE$1 ](rLeadingNumeric, function (_all, match) {
164
457
  return "_" + match;
165
458
  });
166
459
  }
@@ -169,8 +462,8 @@ function normalizeJsName(name) {
169
462
  function objForEachKey(target, callbackfn) {
170
463
  if (target) {
171
464
  for (var prop in target) {
172
- if (ObjHasOwnProperty.call(target, prop)) {
173
- callbackfn.call(target, prop, target[prop]);
465
+ if (ObjHasOwnProperty[_DYN_CALL ](target, prop)) {
466
+ callbackfn[_DYN_CALL ](target, prop, target[prop]);
174
467
  }
175
468
  }
176
469
  }
@@ -184,8 +477,8 @@ function strEndsWith(value, search) {
184
477
  }
185
478
  function _strEndsWithPoly(value, search) {
186
479
  var result = false;
187
- var searchLen = search ? search.length : 0;
188
- var valLen = value ? value.length : 0;
480
+ var searchLen = search ? search[_DYN_LENGTH$2 ] : 0;
481
+ var valLen = value ? value[_DYN_LENGTH$2 ] : 0;
189
482
  if (searchLen && valLen && valLen >= searchLen && !(result = value === search)) {
190
483
  var pos = valLen - 1;
191
484
  for (var lp = searchLen - 1; lp >= 0; lp--) {
@@ -200,19 +493,19 @@ function _strEndsWithPoly(value, search) {
200
493
  }
201
494
  function strContains(value, search) {
202
495
  if (value && search) {
203
- return value.indexOf(search) !== -1;
496
+ return value[_DYN_INDEX_OF ](search) !== -1;
204
497
  }
205
498
  return false;
206
499
  }
207
500
  function isDate(obj) {
208
- return !!(obj && _objToString.call(obj) === "[object Date]");
501
+ return !!(obj && _objToString[_DYN_CALL ](obj) === "[object Date]");
209
502
  }
210
503
  var isArray = _isArray || _isArrayPoly;
211
504
  function _isArrayPoly(obj) {
212
- return !!(obj && _objToString.call(obj) === "[object Array]");
505
+ return !!(obj && _objToString[_DYN_CALL ](obj) === "[object Array]");
213
506
  }
214
507
  function isError(obj) {
215
- return !!(obj && _objToString.call(obj) === "[object Error]");
508
+ return !!(obj && _objToString[_DYN_CALL ](obj) === "[object Error]");
216
509
  }
217
510
  function isString(value) {
218
511
  return typeof value === "string";
@@ -229,15 +522,15 @@ function isSymbol(value) {
229
522
  function isPlainObject(value) {
230
523
  var result = false;
231
524
  if (value && typeof value === "object") {
232
- var proto = _objGetPrototypeOf$1 ? _objGetPrototypeOf$1(value) : _getObjProto$1(value);
525
+ var proto = _objGetPrototypeOf ? _objGetPrototypeOf(value) : _getObjProto(value);
233
526
  if (!proto) {
234
527
  result = true;
235
528
  }
236
529
  else {
237
- if (proto[strConstructor$1] && ObjHasOwnProperty.call(proto, strConstructor$1)) {
530
+ if (proto[strConstructor$1] && ObjHasOwnProperty[_DYN_CALL ](proto, strConstructor$1)) {
238
531
  proto = proto[strConstructor$1];
239
532
  }
240
- result = typeof proto === strShimFunction && _fnToString.call(proto) === _objFunctionString;
533
+ result = typeof proto === strShimFunction && _fnToString[_DYN_CALL ](proto) === _objFunctionString;
241
534
  }
242
535
  }
243
536
  return result;
@@ -251,7 +544,7 @@ function _toISOStringPoly(date) {
251
544
  if (date && date.getUTCFullYear) {
252
545
  var pad = function (num) {
253
546
  var r = String(num);
254
- if (r.length === 1) {
547
+ if (r[_DYN_LENGTH$2 ] === 1) {
255
548
  r = "0" + r;
256
549
  }
257
550
  return r;
@@ -267,11 +560,11 @@ function _toISOStringPoly(date) {
267
560
  }
268
561
  }
269
562
  function arrForEach(arr, callbackfn, thisArg) {
270
- var len = arr.length;
563
+ var len = arr[_DYN_LENGTH$2 ];
271
564
  try {
272
565
  for (var idx = 0; idx < len; idx++) {
273
566
  if (idx in arr) {
274
- if (callbackfn.call(thisArg || arr, arr[idx], idx, arr) === -1) {
567
+ if (callbackfn[_DYN_CALL ](thisArg || arr, arr[idx], idx, arr) === -1) {
275
568
  break;
276
569
  }
277
570
  }
@@ -285,7 +578,7 @@ function arrIndexOf(arr, searchElement, fromIndex) {
285
578
  if (arr[strIndexOf]) {
286
579
  return arr[strIndexOf](searchElement, fromIndex);
287
580
  }
288
- var len = arr.length;
581
+ var len = arr[_DYN_LENGTH$2 ];
289
582
  var from = fromIndex || 0;
290
583
  try {
291
584
  for (var lp = Math.max(from >= 0 ? from : len - Math.abs(from), 0); lp < len; lp++) {
@@ -305,13 +598,13 @@ function arrMap(arr, callbackfn, thisArg) {
305
598
  if (arr[strMap]) {
306
599
  return arr[strMap](callbackfn, thisArg);
307
600
  }
308
- var len = arr.length;
601
+ var len = arr[_DYN_LENGTH$2 ];
309
602
  var _this = thisArg || arr;
310
603
  results = new Array(len);
311
604
  try {
312
605
  for (var lp = 0; lp < len; lp++) {
313
606
  if (lp in arr) {
314
- results[lp] = callbackfn.call(_this, arr[lp], arr);
607
+ results[lp] = callbackfn[_DYN_CALL ](_this, arr[lp], arr);
315
608
  }
316
609
  }
317
610
  }
@@ -326,9 +619,9 @@ function arrReduce(arr, callbackfn, initialValue) {
326
619
  if (arr[strReduce]) {
327
620
  return arr[strReduce](callbackfn, initialValue);
328
621
  }
329
- var len = arr.length;
622
+ var len = arr[_DYN_LENGTH$2 ];
330
623
  var lp = 0;
331
- if (arguments.length >= 3) {
624
+ if (arguments[_DYN_LENGTH$2 ] >= 3) {
332
625
  value = arguments[2];
333
626
  }
334
627
  else {
@@ -348,7 +641,7 @@ function arrReduce(arr, callbackfn, initialValue) {
348
641
  }
349
642
  function strTrim(str) {
350
643
  if (str) {
351
- str = (_strTrim && str[cStrTrim]) ? str[cStrTrim]() : (str.replace ? str.replace(/^\s+|\s+$/g, "") : str);
644
+ str = (_strTrim && str[cStrTrim]) ? str[cStrTrim]() : (str[_DYN_REPLACE$1 ] ? str[_DYN_REPLACE$1 ](/^\s+|\s+$/g, STR_EMPTY) : str);
352
645
  }
353
646
  return str;
354
647
  }
@@ -372,15 +665,15 @@ function objKeys(obj) {
372
665
  }
373
666
  var result = [];
374
667
  for (var prop in obj) {
375
- if (obj && ObjHasOwnProperty.call(obj, prop)) {
376
- result.push(prop);
668
+ if (obj && ObjHasOwnProperty[_DYN_CALL ](obj, prop)) {
669
+ result[_DYN_PUSH$1 ](prop);
377
670
  }
378
671
  }
379
672
  if (_objKeysHasDontEnumBug) {
380
- var dontEnumsLength = _objKeysDontEnums.length;
673
+ var dontEnumsLength = _objKeysDontEnums[_DYN_LENGTH$2 ];
381
674
  for (var lp = 0; lp < dontEnumsLength; lp++) {
382
- if (obj && ObjHasOwnProperty.call(obj, _objKeysDontEnums[lp])) {
383
- result.push(_objKeysDontEnums[lp]);
675
+ if (obj && ObjHasOwnProperty[_DYN_CALL ](obj, _objKeysDontEnums[lp])) {
676
+ result[_DYN_PUSH$1 ](_objKeysDontEnums[lp]);
384
677
  }
385
678
  }
386
679
  }
@@ -427,9 +720,9 @@ function dateNow() {
427
720
  }
428
721
  function getExceptionName(object) {
429
722
  if (isError(object)) {
430
- return object.name;
723
+ return object[_DYN_NAME$1 ];
431
724
  }
432
- return strEmpty$1;
725
+ return STR_EMPTY;
433
726
  }
434
727
  function setValue(target, field, value, valChk, srcChk) {
435
728
  var theValue = value;
@@ -442,6 +735,9 @@ function setValue(target, field, value, valChk, srcChk) {
442
735
  }
443
736
  return theValue;
444
737
  }
738
+ function getCfgValue(theValue, defaultValue) {
739
+ return !isNullOrUndefined(theValue) ? theValue : defaultValue;
740
+ }
445
741
  function isTruthy(value) {
446
742
  return !!value;
447
743
  }
@@ -460,7 +756,7 @@ function _createProxyFunction(source, funcName) {
460
756
  src = srcFunc();
461
757
  }
462
758
  if (src) {
463
- return src[funcName].apply(src, originalArguments);
759
+ return src[funcName][_DYN_APPLY ](src, originalArguments);
464
760
  }
465
761
  };
466
762
  }
@@ -474,7 +770,7 @@ function proxyFunctionAs(target, name, source, theFunc, overwriteTarget) {
474
770
  function objExtend(obj1, obj2, obj3, obj4, obj5, obj6) {
475
771
  var theArgs = arguments;
476
772
  var extended = theArgs[0] || {};
477
- var argLen = theArgs.length;
773
+ var argLen = theArgs[_DYN_LENGTH$2 ];
478
774
  var deep = false;
479
775
  var idx = 1;
480
776
  if (argLen > 0 && isBoolean(extended)) {
@@ -490,7 +786,7 @@ function objExtend(obj1, obj2, obj3, obj4, obj5, obj6) {
490
786
  var isArgArray = isArray(arg);
491
787
  var isArgObj = isObject(arg);
492
788
  for (var prop in arg) {
493
- var propOk = (isArgArray && (prop in arg)) || (isArgObj && (ObjHasOwnProperty.call(arg, prop)));
789
+ var propOk = (isArgArray && (prop in arg)) || (isArgObj && (ObjHasOwnProperty[_DYN_CALL ](arg, prop)));
494
790
  if (!propOk) {
495
791
  continue;
496
792
  }
@@ -504,274 +800,26 @@ function objExtend(obj1, obj2, obj3, obj4, obj5, obj6) {
504
800
  }
505
801
  }
506
802
  else if (!isPlainObject(clone)) {
507
- clone = {};
508
- }
509
- newValue = objExtend(deep, clone, newValue);
510
- }
511
- if (newValue !== undefined) {
512
- extended[prop] = newValue;
513
- }
514
- }
515
- }
516
- return extended;
517
- }
518
-
519
- function createEnumStyle(values) {
520
- var enumClass = {};
521
- objForEachKey(values, function (field, value) {
522
- enumClass[field] = value;
523
- enumClass[value] = field;
524
- });
525
- return deepFreeze(enumClass);
526
- }
527
-
528
- /*!
529
- * Microsoft Dynamic Proto Utility, 1.1.6
530
- * Copyright (c) Microsoft and contributors. All rights reserved.
531
- */
532
- var Constructor = 'constructor';
533
- var Prototype = 'prototype';
534
- var strFunction = 'function';
535
- var DynInstFuncTable = '_dynInstFuncs';
536
- var DynProxyTag = '_isDynProxy';
537
- var DynClassName = '_dynClass';
538
- var DynClassNamePrefix = '_dynCls$';
539
- var DynInstChkTag = '_dynInstChk';
540
- var DynAllowInstChkTag = DynInstChkTag;
541
- var DynProtoDefaultOptions = '_dfOpts';
542
- var UnknownValue = '_unknown_';
543
- var str__Proto = "__proto__";
544
- var DynProtoBaseProto = "_dyn" + str__Proto;
545
- var DynProtoCurrent = "_dynInstProto";
546
- var strUseBaseInst = 'useBaseInst';
547
- var strSetInstFuncs = 'setInstFuncs';
548
- var Obj = Object;
549
- var _objGetPrototypeOf = Obj["getPrototypeOf"];
550
- var _objGetOwnProps = Obj["getOwnPropertyNames"];
551
- var _dynamicNames = 0;
552
- function _hasOwnProperty(obj, prop) {
553
- return obj && Obj[Prototype].hasOwnProperty.call(obj, prop);
554
- }
555
- function _isObjectOrArrayPrototype(target) {
556
- return target && (target === Obj[Prototype] || target === Array[Prototype]);
557
- }
558
- function _isObjectArrayOrFunctionPrototype(target) {
559
- return _isObjectOrArrayPrototype(target) || target === Function[Prototype];
560
- }
561
- function _getObjProto(target) {
562
- var newProto;
563
- if (target) {
564
- if (_objGetPrototypeOf) {
565
- return _objGetPrototypeOf(target);
566
- }
567
- var curProto = target[str__Proto] || target[Prototype] || (target[Constructor] ? target[Constructor][Prototype] : null);
568
- newProto = target[DynProtoBaseProto] || curProto;
569
- if (!_hasOwnProperty(target, DynProtoBaseProto)) {
570
- delete target[DynProtoCurrent];
571
- newProto = target[DynProtoBaseProto] = target[DynProtoCurrent] || target[DynProtoBaseProto];
572
- target[DynProtoCurrent] = curProto;
573
- }
574
- }
575
- return newProto;
576
- }
577
- function _forEachProp(target, func) {
578
- var props = [];
579
- if (_objGetOwnProps) {
580
- props = _objGetOwnProps(target);
581
- }
582
- else {
583
- for (var name_1 in target) {
584
- if (typeof name_1 === "string" && _hasOwnProperty(target, name_1)) {
585
- props.push(name_1);
586
- }
587
- }
588
- }
589
- if (props && props.length > 0) {
590
- for (var lp = 0; lp < props.length; lp++) {
591
- func(props[lp]);
592
- }
593
- }
594
- }
595
- function _isDynamicCandidate(target, funcName, skipOwn) {
596
- return (funcName !== Constructor && typeof target[funcName] === strFunction && (skipOwn || _hasOwnProperty(target, funcName)));
597
- }
598
- function _throwTypeError(message) {
599
- throw new TypeError("DynamicProto: " + message);
600
- }
601
- function _getInstanceFuncs(thisTarget) {
602
- var instFuncs = {};
603
- _forEachProp(thisTarget, function (name) {
604
- if (!instFuncs[name] && _isDynamicCandidate(thisTarget, name, false)) {
605
- instFuncs[name] = thisTarget[name];
606
- }
607
- });
608
- return instFuncs;
609
- }
610
- function _hasVisited(values, value) {
611
- for (var lp = values.length - 1; lp >= 0; lp--) {
612
- if (values[lp] === value) {
613
- return true;
614
- }
615
- }
616
- return false;
617
- }
618
- function _getBaseFuncs(classProto, thisTarget, instFuncs, useBaseInst) {
619
- function _instFuncProxy(target, funcHost, funcName) {
620
- var theFunc = funcHost[funcName];
621
- if (theFunc[DynProxyTag] && useBaseInst) {
622
- var instFuncTable = target[DynInstFuncTable] || {};
623
- if (instFuncTable[DynAllowInstChkTag] !== false) {
624
- theFunc = (instFuncTable[funcHost[DynClassName]] || {})[funcName] || theFunc;
625
- }
626
- }
627
- return function () {
628
- return theFunc.apply(target, arguments);
629
- };
630
- }
631
- var baseFuncs = {};
632
- _forEachProp(instFuncs, function (name) {
633
- baseFuncs[name] = _instFuncProxy(thisTarget, instFuncs, name);
634
- });
635
- var baseProto = _getObjProto(classProto);
636
- var visited = [];
637
- while (baseProto && !_isObjectArrayOrFunctionPrototype(baseProto) && !_hasVisited(visited, baseProto)) {
638
- _forEachProp(baseProto, function (name) {
639
- if (!baseFuncs[name] && _isDynamicCandidate(baseProto, name, !_objGetPrototypeOf)) {
640
- baseFuncs[name] = _instFuncProxy(thisTarget, baseProto, name);
641
- }
642
- });
643
- visited.push(baseProto);
644
- baseProto = _getObjProto(baseProto);
645
- }
646
- return baseFuncs;
647
- }
648
- function _getInstFunc(target, funcName, proto, currentDynProtoProxy) {
649
- var instFunc = null;
650
- if (target && _hasOwnProperty(proto, DynClassName)) {
651
- var instFuncTable = target[DynInstFuncTable] || {};
652
- instFunc = (instFuncTable[proto[DynClassName]] || {})[funcName];
653
- if (!instFunc) {
654
- _throwTypeError("Missing [" + funcName + "] " + strFunction);
655
- }
656
- if (!instFunc[DynInstChkTag] && instFuncTable[DynAllowInstChkTag] !== false) {
657
- var canAddInst = !_hasOwnProperty(target, funcName);
658
- var objProto = _getObjProto(target);
659
- var visited = [];
660
- while (canAddInst && objProto && !_isObjectArrayOrFunctionPrototype(objProto) && !_hasVisited(visited, objProto)) {
661
- var protoFunc = objProto[funcName];
662
- if (protoFunc) {
663
- canAddInst = (protoFunc === currentDynProtoProxy);
664
- break;
665
- }
666
- visited.push(objProto);
667
- objProto = _getObjProto(objProto);
668
- }
669
- try {
670
- if (canAddInst) {
671
- target[funcName] = instFunc;
672
- }
673
- instFunc[DynInstChkTag] = 1;
674
- }
675
- catch (e) {
676
- instFuncTable[DynAllowInstChkTag] = false;
677
- }
678
- }
679
- }
680
- return instFunc;
681
- }
682
- function _getProtoFunc(funcName, proto, currentDynProtoProxy) {
683
- var protoFunc = proto[funcName];
684
- if (protoFunc === currentDynProtoProxy) {
685
- protoFunc = _getObjProto(proto)[funcName];
686
- }
687
- if (typeof protoFunc !== strFunction) {
688
- _throwTypeError("[" + funcName + "] is not a " + strFunction);
689
- }
690
- return protoFunc;
691
- }
692
- function _populatePrototype(proto, className, target, baseInstFuncs, setInstanceFunc) {
693
- function _createDynamicPrototype(proto, funcName) {
694
- var dynProtoProxy = function () {
695
- var instFunc = _getInstFunc(this, funcName, proto, dynProtoProxy) || _getProtoFunc(funcName, proto, dynProtoProxy);
696
- return instFunc.apply(this, arguments);
697
- };
698
- dynProtoProxy[DynProxyTag] = 1;
699
- return dynProtoProxy;
700
- }
701
- if (!_isObjectOrArrayPrototype(proto)) {
702
- var instFuncTable = target[DynInstFuncTable] = target[DynInstFuncTable] || {};
703
- var instFuncs_1 = instFuncTable[className] = (instFuncTable[className] || {});
704
- if (instFuncTable[DynAllowInstChkTag] !== false) {
705
- instFuncTable[DynAllowInstChkTag] = !!setInstanceFunc;
706
- }
707
- _forEachProp(target, function (name) {
708
- if (_isDynamicCandidate(target, name, false) && target[name] !== baseInstFuncs[name]) {
709
- instFuncs_1[name] = target[name];
710
- delete target[name];
711
- if (!_hasOwnProperty(proto, name) || (proto[name] && !proto[name][DynProxyTag])) {
712
- proto[name] = _createDynamicPrototype(proto, name);
803
+ clone = {};
713
804
  }
805
+ newValue = objExtend(deep, clone, newValue);
714
806
  }
715
- });
716
- }
717
- }
718
- function _checkPrototype(classProto, thisTarget) {
719
- if (_objGetPrototypeOf) {
720
- var visited = [];
721
- var thisProto = _getObjProto(thisTarget);
722
- while (thisProto && !_isObjectArrayOrFunctionPrototype(thisProto) && !_hasVisited(visited, thisProto)) {
723
- if (thisProto === classProto) {
724
- return true;
807
+ if (newValue !== undefined) {
808
+ extended[prop] = newValue;
725
809
  }
726
- visited.push(thisProto);
727
- thisProto = _getObjProto(thisProto);
728
810
  }
729
- return false;
730
- }
731
- return true;
732
- }
733
- function _getObjName(target, unknownValue) {
734
- if (_hasOwnProperty(target, Prototype)) {
735
- return target.name || unknownValue || UnknownValue;
736
811
  }
737
- return (((target || {})[Constructor]) || {}).name || unknownValue || UnknownValue;
812
+ return extended;
738
813
  }
739
- function dynamicProto(theClass, target, delegateFunc, options) {
740
- if (!_hasOwnProperty(theClass, Prototype)) {
741
- _throwTypeError("theClass is an invalid class definition.");
742
- }
743
- var classProto = theClass[Prototype];
744
- if (!_checkPrototype(classProto, target)) {
745
- _throwTypeError("[" + _getObjName(theClass) + "] is not in class hierarchy of [" + _getObjName(target) + "]");
746
- }
747
- var className = null;
748
- if (_hasOwnProperty(classProto, DynClassName)) {
749
- className = classProto[DynClassName];
750
- }
751
- else {
752
- className = DynClassNamePrefix + _getObjName(theClass, "_") + "$" + _dynamicNames;
753
- _dynamicNames++;
754
- classProto[DynClassName] = className;
755
- }
756
- var perfOptions = dynamicProto[DynProtoDefaultOptions];
757
- var useBaseInst = !!perfOptions[strUseBaseInst];
758
- if (useBaseInst && options && options[strUseBaseInst] !== undefined) {
759
- useBaseInst = !!options[strUseBaseInst];
760
- }
761
- var instFuncs = _getInstanceFuncs(target);
762
- var baseFuncs = _getBaseFuncs(classProto, target, instFuncs, useBaseInst);
763
- delegateFunc(target, baseFuncs);
764
- var setInstanceFunc = !!_objGetPrototypeOf && !!perfOptions[strSetInstFuncs];
765
- if (setInstanceFunc && options) {
766
- setInstanceFunc = !!options[strSetInstFuncs];
767
- }
768
- _populatePrototype(classProto, className, target, instFuncs, setInstanceFunc !== false);
814
+
815
+ function createEnumStyle(values) {
816
+ var enumClass = {};
817
+ objForEachKey(values, function (field, value) {
818
+ enumClass[field] = value;
819
+ enumClass[value] = field;
820
+ });
821
+ return deepFreeze(enumClass);
769
822
  }
770
- var perfDefaults = {
771
- setInstFuncs: true,
772
- useBaseInst: true
773
- };
774
- dynamicProto[DynProtoDefaultOptions] = perfDefaults;
775
823
 
776
824
  var strWindow = "window";
777
825
  var strDocument = "document";
@@ -864,9 +912,9 @@ function getMsCrypto() {
864
912
  }
865
913
  function isIE() {
866
914
  var nav = getNavigator();
867
- if (nav && (nav.userAgent !== _navUserAgentCheck || _isTrident === null)) {
868
- _navUserAgentCheck = nav.userAgent;
869
- var userAgent = (_navUserAgentCheck || strEmpty$1).toLowerCase();
915
+ if (nav && (nav[_DYN_USER_AGENT ] !== _navUserAgentCheck || _isTrident === null)) {
916
+ _navUserAgentCheck = nav[_DYN_USER_AGENT ];
917
+ var userAgent = (_navUserAgentCheck || STR_EMPTY)[_DYN_TO_LOWER_CASE$1 ]();
870
918
  _isTrident = (strContains(userAgent, strMsie) || strContains(userAgent, strTrident));
871
919
  }
872
920
  return _isTrident;
@@ -875,15 +923,15 @@ function getIEVersion(userAgentStr) {
875
923
  if (userAgentStr === void 0) { userAgentStr = null; }
876
924
  if (!userAgentStr) {
877
925
  var navigator_1 = getNavigator() || {};
878
- userAgentStr = navigator_1 ? (navigator_1.userAgent || strEmpty$1).toLowerCase() : strEmpty$1;
926
+ userAgentStr = navigator_1 ? (navigator_1[_DYN_USER_AGENT ] || STR_EMPTY)[_DYN_TO_LOWER_CASE$1 ]() : STR_EMPTY;
879
927
  }
880
- var ua = (userAgentStr || strEmpty$1).toLowerCase();
928
+ var ua = (userAgentStr || STR_EMPTY)[_DYN_TO_LOWER_CASE$1 ]();
881
929
  if (strContains(ua, strMsie)) {
882
930
  var doc = getDocument() || {};
883
- return Math.max(parseInt(ua.split(strMsie)[1]), (doc[strDocumentMode] || 0));
931
+ return Math.max(parseInt(ua[_DYN_SPLIT ](strMsie)[1]), (doc[strDocumentMode] || 0));
884
932
  }
885
933
  else if (strContains(ua, strTrident)) {
886
- var tridentVer = parseInt(ua.split(strTrident)[1]);
934
+ var tridentVer = parseInt(ua[_DYN_SPLIT ](strTrident)[1]);
887
935
  if (tridentVer) {
888
936
  return tridentVer + 4;
889
937
  }
@@ -891,10 +939,10 @@ function getIEVersion(userAgentStr) {
891
939
  return null;
892
940
  }
893
941
  function dumpObj(object) {
894
- var objectTypeDump = Object[strShimPrototype].toString.call(object);
895
- var propertyValueDump = strEmpty$1;
942
+ var objectTypeDump = Object[strShimPrototype].toString[_DYN_CALL ](object);
943
+ var propertyValueDump = STR_EMPTY;
896
944
  if (objectTypeDump === "[object Error]") {
897
- propertyValueDump = "{ stack: '" + object.stack + "', message: '" + object.message + "', name: '" + object.name + "'";
945
+ propertyValueDump = "{ stack: '" + object.stack + "', message: '" + object.message + "', name: '" + object[_DYN_NAME$1 ] + "'";
898
946
  }
899
947
  else if (hasJSON()) {
900
948
  propertyValueDump = getJSON().stringify(object);
@@ -927,13 +975,11 @@ function getDebugExt(config) {
927
975
  var AiNonUserActionablePrefix = "AI (Internal): ";
928
976
  var AiUserActionablePrefix = "AI: ";
929
977
  var AIInternalMessagePrefix = "AITR_";
930
- var strErrorToConsole = "errorToConsole";
931
- var strWarnToConsole = "warnToConsole";
932
978
  function _sanitizeDiagnosticText(text) {
933
979
  if (text) {
934
- return "\"" + text.replace(/\"/g, strEmpty$1) + "\"";
980
+ return "\"" + text[_DYN_REPLACE$1 ](/\"/g, STR_EMPTY) + "\"";
935
981
  }
936
- return strEmpty$1;
982
+ return STR_EMPTY;
937
983
  }
938
984
  function _logToConsole(func, message) {
939
985
  var theConsole = getConsole();
@@ -951,23 +997,23 @@ var _InternalLogMessage = /** @class */ (function () {
951
997
  function _InternalLogMessage(msgId, msg, isUserAct, properties) {
952
998
  if (isUserAct === void 0) { isUserAct = false; }
953
999
  var _self = this;
954
- _self.messageId = msgId;
955
- _self.message =
1000
+ _self[_DYN_MESSAGE_ID ] = msgId;
1001
+ _self[_DYN_MESSAGE ] =
956
1002
  (isUserAct ? AiUserActionablePrefix : AiNonUserActionablePrefix) +
957
1003
  msgId;
958
- var strProps = strEmpty$1;
1004
+ var strProps = STR_EMPTY;
959
1005
  if (hasJSON()) {
960
1006
  strProps = getJSON().stringify(properties);
961
1007
  }
962
- var diagnosticText = (msg ? " message:" + _sanitizeDiagnosticText(msg) : strEmpty$1) +
963
- (properties ? " props:" + _sanitizeDiagnosticText(strProps) : strEmpty$1);
964
- _self.message += diagnosticText;
1008
+ var diagnosticText = (msg ? " message:" + _sanitizeDiagnosticText(msg) : STR_EMPTY) +
1009
+ (properties ? " props:" + _sanitizeDiagnosticText(strProps) : STR_EMPTY);
1010
+ _self[_DYN_MESSAGE ] += diagnosticText;
965
1011
  }
966
1012
  _InternalLogMessage.dataType = "MessageData";
967
1013
  return _InternalLogMessage;
968
1014
  }());
969
1015
  function safeGetLogger(core, config) {
970
- return (core || {}).logger || new DiagnosticLogger(config);
1016
+ return (core || {})[_DYN_LOGGER ] || new DiagnosticLogger(config);
971
1017
  }
972
1018
  var DiagnosticLogger = /** @class */ (function () {
973
1019
  function DiagnosticLogger(config) {
@@ -975,48 +1021,49 @@ var DiagnosticLogger = /** @class */ (function () {
975
1021
  this.queue = [];
976
1022
  var _messageCount = 0;
977
1023
  var _messageLogged = {};
1024
+ var _loggingLevelConsole;
1025
+ var _loggingLevelTelemetry;
1026
+ var _maxInternalMessageLimit;
1027
+ var _enableDebugExceptions;
978
1028
  dynamicProto(DiagnosticLogger, this, function (_self) {
979
- if (isNullOrUndefined(config)) {
980
- config = {};
981
- }
982
- _self.consoleLoggingLevel = function () { return _getConfigValue("loggingLevelConsole", 0); };
983
- _self.telemetryLoggingLevel = function () { return _getConfigValue("loggingLevelTelemetry", 1); };
984
- _self.maxInternalMessageLimit = function () { return _getConfigValue("maxMessageLimit", 25); };
985
- _self.enableDebugExceptions = function () { return _getConfigValue("enableDebugExceptions", false); };
1029
+ _setDefaultsFromConfig(config || {});
1030
+ _self.consoleLoggingLevel = function () { return _loggingLevelConsole; };
1031
+ _self.telemetryLoggingLevel = function () { return _loggingLevelTelemetry; };
1032
+ _self.maxInternalMessageLimit = function () { return _maxInternalMessageLimit; };
1033
+ _self[_DYN_ENABLE_DEBUG_EXCEPTI4 ] = function () { return _enableDebugExceptions; };
986
1034
  _self.throwInternal = function (severity, msgId, msg, properties, isUserAct) {
987
1035
  if (isUserAct === void 0) { isUserAct = false; }
988
1036
  var message = new _InternalLogMessage(msgId, msg, isUserAct, properties);
989
- if (_self.enableDebugExceptions()) {
1037
+ if (_enableDebugExceptions) {
990
1038
  throw dumpObj(message);
991
1039
  }
992
1040
  else {
993
- var logFunc = severity === 1 ? strErrorToConsole : strWarnToConsole;
994
- if (!isUndefined(message.message)) {
995
- var logLevel = _self.consoleLoggingLevel();
1041
+ var logFunc = severity === 1 ? STR_ERROR_TO_CONSOLE : STR_WARN_TO_CONSOLE;
1042
+ if (!isUndefined(message[_DYN_MESSAGE ])) {
996
1043
  if (isUserAct) {
997
- var messageKey = +message.messageId;
998
- if (!_messageLogged[messageKey] && logLevel >= severity) {
999
- _self[logFunc](message.message);
1044
+ var messageKey = +message[_DYN_MESSAGE_ID ];
1045
+ if (!_messageLogged[messageKey] && _loggingLevelConsole >= severity) {
1046
+ _self[logFunc](message[_DYN_MESSAGE ]);
1000
1047
  _messageLogged[messageKey] = true;
1001
1048
  }
1002
1049
  }
1003
1050
  else {
1004
- if (logLevel >= severity) {
1005
- _self[logFunc](message.message);
1051
+ if (_loggingLevelConsole >= severity) {
1052
+ _self[logFunc](message[_DYN_MESSAGE ]);
1006
1053
  }
1007
1054
  }
1008
- _self.logInternalMessage(severity, message);
1055
+ _logInternalMessage(severity, message);
1009
1056
  }
1010
1057
  else {
1011
1058
  _debugExtMsg("throw" + (severity === 1 ? "Critical" : "Warning"), message);
1012
1059
  }
1013
1060
  }
1014
1061
  };
1015
- _self.warnToConsole = function (message) {
1062
+ _self[STR_WARN_TO_CONSOLE ] = function (message) {
1016
1063
  _logToConsole("warn", message);
1017
1064
  _debugExtMsg("warning", message);
1018
1065
  };
1019
- _self.errorToConsole = function (message) {
1066
+ _self[STR_ERROR_TO_CONSOLE ] = function (message) {
1020
1067
  _logToConsole("error", message);
1021
1068
  _debugExtMsg("error", message);
1022
1069
  };
@@ -1024,12 +1071,13 @@ var DiagnosticLogger = /** @class */ (function () {
1024
1071
  _messageCount = 0;
1025
1072
  _messageLogged = {};
1026
1073
  };
1027
- _self.logInternalMessage = function (severity, message) {
1074
+ _self[_DYN_LOG_INTERNAL_MESSAGE ] = _logInternalMessage;
1075
+ function _logInternalMessage(severity, message) {
1028
1076
  if (_areInternalMessagesThrottled()) {
1029
1077
  return;
1030
1078
  }
1031
1079
  var logMessage = true;
1032
- var messageKey = AIInternalMessagePrefix + message.messageId;
1080
+ var messageKey = AIInternalMessagePrefix + message[_DYN_MESSAGE_ID ];
1033
1081
  if (_messageLogged[messageKey]) {
1034
1082
  logMessage = false;
1035
1083
  }
@@ -1037,38 +1085,37 @@ var DiagnosticLogger = /** @class */ (function () {
1037
1085
  _messageLogged[messageKey] = true;
1038
1086
  }
1039
1087
  if (logMessage) {
1040
- if (severity <= _self.telemetryLoggingLevel()) {
1041
- _self.queue.push(message);
1088
+ if (severity <= _loggingLevelTelemetry) {
1089
+ _self.queue[_DYN_PUSH$1 ](message);
1042
1090
  _messageCount++;
1043
1091
  _debugExtMsg((severity === 1 ? "error" : "warn"), message);
1044
1092
  }
1045
- if (_messageCount === _self.maxInternalMessageLimit()) {
1093
+ if (_messageCount === _maxInternalMessageLimit) {
1046
1094
  var throttleLimitMessage = "Internal events throttle limit per PageView reached for this app.";
1047
1095
  var throttleMessage = new _InternalLogMessage(23 , throttleLimitMessage, false);
1048
- _self.queue.push(throttleMessage);
1096
+ _self.queue[_DYN_PUSH$1 ](throttleMessage);
1049
1097
  if (severity === 1 ) {
1050
- _self.errorToConsole(throttleLimitMessage);
1098
+ _self[STR_ERROR_TO_CONSOLE ](throttleLimitMessage);
1051
1099
  }
1052
1100
  else {
1053
- _self.warnToConsole(throttleLimitMessage);
1101
+ _self[STR_WARN_TO_CONSOLE ](throttleLimitMessage);
1054
1102
  }
1055
1103
  }
1056
1104
  }
1057
- };
1058
- function _getConfigValue(name, defValue) {
1059
- var value = config[name];
1060
- if (!isNullOrUndefined(value)) {
1061
- return value;
1062
- }
1063
- return defValue;
1105
+ }
1106
+ function _setDefaultsFromConfig(config) {
1107
+ _loggingLevelConsole = getCfgValue(config.loggingLevelConsole, 0);
1108
+ _loggingLevelTelemetry = getCfgValue(config.loggingLevelTelemetry, 1);
1109
+ _maxInternalMessageLimit = getCfgValue(config.maxMessageLimit, 25);
1110
+ _enableDebugExceptions = getCfgValue(config[_DYN_ENABLE_DEBUG_EXCEPTI4 ], false);
1064
1111
  }
1065
1112
  function _areInternalMessagesThrottled() {
1066
- return _messageCount >= _self.maxInternalMessageLimit();
1113
+ return _messageCount >= _maxInternalMessageLimit;
1067
1114
  }
1068
1115
  function _debugExtMsg(name, data) {
1069
- var dbgExt = getDebugExt(config);
1070
- if (dbgExt && dbgExt.diagLog) {
1071
- dbgExt.diagLog(name, data);
1116
+ var dbgExt = getDebugExt(config || {});
1117
+ if (dbgExt && dbgExt[_DYN_DIAG_LOG ]) {
1118
+ dbgExt[_DYN_DIAG_LOG ](name, data);
1072
1119
  }
1073
1120
  }
1074
1121
  });
@@ -1076,20 +1123,25 @@ var DiagnosticLogger = /** @class */ (function () {
1076
1123
  DiagnosticLogger.__ieDyn=1;
1077
1124
  return DiagnosticLogger;
1078
1125
  }());
1126
+ function _getLogger(logger) {
1127
+ return (logger || new DiagnosticLogger());
1128
+ }
1079
1129
  function _throwInternal(logger, severity, msgId, msg, properties, isUserAct) {
1080
1130
  if (isUserAct === void 0) { isUserAct = false; }
1081
- (logger || new DiagnosticLogger()).throwInternal(severity, msgId, msg, properties, isUserAct);
1131
+ _getLogger(logger).throwInternal(severity, msgId, msg, properties, isUserAct);
1082
1132
  }
1083
1133
 
1084
1134
  var strExecutionContextKey = "ctx";
1135
+ var strParentContextKey = "ParentContextKey";
1136
+ var strChildrenContextKey = "ChildrenContextKey";
1085
1137
  var PerfEvent = /** @class */ (function () {
1086
1138
  function PerfEvent(name, payloadDetails, isAsync) {
1087
1139
  var _self = this;
1088
1140
  var accessorDefined = false;
1089
1141
  _self.start = dateNow();
1090
- _self.name = name;
1091
- _self.isAsync = isAsync;
1092
- _self.isChildEvt = function () { return false; };
1142
+ _self[_DYN_NAME$1 ] = name;
1143
+ _self[_DYN_IS_ASYNC ] = isAsync;
1144
+ _self[_DYN_IS_CHILD_EVT ] = function () { return false; };
1093
1145
  if (isFunction(payloadDetails)) {
1094
1146
  var theDetails_1;
1095
1147
  accessorDefined = objDefineAccessors(_self, "payload", function () {
@@ -1100,24 +1152,24 @@ var PerfEvent = /** @class */ (function () {
1100
1152
  return theDetails_1;
1101
1153
  });
1102
1154
  }
1103
- _self.getCtx = function (key) {
1155
+ _self[_DYN_GET_CTX ] = function (key) {
1104
1156
  if (key) {
1105
- if (key === PerfEvent.ParentContextKey || key === PerfEvent.ChildrenContextKey) {
1157
+ if (key === PerfEvent[strParentContextKey] || key === PerfEvent[strChildrenContextKey]) {
1106
1158
  return _self[key];
1107
1159
  }
1108
1160
  return (_self[strExecutionContextKey] || {})[key];
1109
1161
  }
1110
1162
  return null;
1111
1163
  };
1112
- _self.setCtx = function (key, value) {
1164
+ _self[_DYN_SET_CTX ] = function (key, value) {
1113
1165
  if (key) {
1114
- if (key === PerfEvent.ParentContextKey) {
1166
+ if (key === PerfEvent[strParentContextKey]) {
1115
1167
  if (!_self[key]) {
1116
- _self.isChildEvt = function () { return true; };
1168
+ _self[_DYN_IS_CHILD_EVT ] = function () { return true; };
1117
1169
  }
1118
1170
  _self[key] = value;
1119
1171
  }
1120
- else if (key === PerfEvent.ChildrenContextKey) {
1172
+ else if (key === PerfEvent[strChildrenContextKey]) {
1121
1173
  _self[key] = value;
1122
1174
  }
1123
1175
  else {
@@ -1126,20 +1178,20 @@ var PerfEvent = /** @class */ (function () {
1126
1178
  }
1127
1179
  }
1128
1180
  };
1129
- _self.complete = function () {
1181
+ _self[_DYN_COMPLETE ] = function () {
1130
1182
  var childTime = 0;
1131
- var childEvts = _self.getCtx(PerfEvent.ChildrenContextKey);
1183
+ var childEvts = _self[_DYN_GET_CTX ](PerfEvent[strChildrenContextKey]);
1132
1184
  if (isArray(childEvts)) {
1133
- for (var lp = 0; lp < childEvts.length; lp++) {
1185
+ for (var lp = 0; lp < childEvts[_DYN_LENGTH$2 ]; lp++) {
1134
1186
  var childEvt = childEvts[lp];
1135
1187
  if (childEvt) {
1136
- childTime += childEvt.time;
1188
+ childTime += childEvt[_DYN_TIME ];
1137
1189
  }
1138
1190
  }
1139
1191
  }
1140
- _self.time = dateNow() - _self.start;
1141
- _self.exTime = _self.time - childTime;
1142
- _self.complete = function () { };
1192
+ _self[_DYN_TIME ] = dateNow() - _self.start;
1193
+ _self.exTime = _self[_DYN_TIME ] - childTime;
1194
+ _self[_DYN_COMPLETE ] = function () { };
1143
1195
  if (!accessorDefined && isFunction(payloadDetails)) {
1144
1196
  _self.payload = payloadDetails();
1145
1197
  }
@@ -1153,40 +1205,40 @@ var doPerfActiveKey = "CoreUtils.doPerf";
1153
1205
  function doPerf(mgrSource, getSource, func, details, isAsync) {
1154
1206
  if (mgrSource) {
1155
1207
  var perfMgr = mgrSource;
1156
- if (isFunction(perfMgr["getPerfMgr"])) {
1157
- perfMgr = perfMgr["getPerfMgr"]();
1208
+ if (perfMgr[STR_GET_PERF_MGR]) {
1209
+ perfMgr = perfMgr[STR_GET_PERF_MGR]();
1158
1210
  }
1159
1211
  if (perfMgr) {
1160
1212
  var perfEvt = void 0;
1161
- var currentActive = perfMgr.getCtx(doPerfActiveKey);
1213
+ var currentActive = perfMgr[_DYN_GET_CTX ](doPerfActiveKey);
1162
1214
  try {
1163
1215
  perfEvt = perfMgr.create(getSource(), details, isAsync);
1164
1216
  if (perfEvt) {
1165
- if (currentActive && perfEvt.setCtx) {
1166
- perfEvt.setCtx(PerfEvent.ParentContextKey, currentActive);
1167
- if (currentActive.getCtx && currentActive.setCtx) {
1168
- var children = currentActive.getCtx(PerfEvent.ChildrenContextKey);
1217
+ if (currentActive && perfEvt[_DYN_SET_CTX ]) {
1218
+ perfEvt[_DYN_SET_CTX ](PerfEvent[strParentContextKey], currentActive);
1219
+ if (currentActive[_DYN_GET_CTX ] && currentActive[_DYN_SET_CTX ]) {
1220
+ var children = currentActive[_DYN_GET_CTX ](PerfEvent[strChildrenContextKey]);
1169
1221
  if (!children) {
1170
1222
  children = [];
1171
- currentActive.setCtx(PerfEvent.ChildrenContextKey, children);
1223
+ currentActive[_DYN_SET_CTX ](PerfEvent[strChildrenContextKey], children);
1172
1224
  }
1173
- children.push(perfEvt);
1225
+ children[_DYN_PUSH$1 ](perfEvt);
1174
1226
  }
1175
1227
  }
1176
- perfMgr.setCtx(doPerfActiveKey, perfEvt);
1228
+ perfMgr[_DYN_SET_CTX ](doPerfActiveKey, perfEvt);
1177
1229
  return func(perfEvt);
1178
1230
  }
1179
1231
  }
1180
1232
  catch (ex) {
1181
- if (perfEvt && perfEvt.setCtx) {
1182
- perfEvt.setCtx("exception", ex);
1233
+ if (perfEvt && perfEvt[_DYN_SET_CTX ]) {
1234
+ perfEvt[_DYN_SET_CTX ]("exception", ex);
1183
1235
  }
1184
1236
  }
1185
1237
  finally {
1186
1238
  if (perfEvt) {
1187
1239
  perfMgr.fire(perfEvt);
1188
1240
  }
1189
- perfMgr.setCtx(doPerfActiveKey, currentActive);
1241
+ perfMgr[_DYN_SET_CTX ](doPerfActiveKey, currentActive);
1190
1242
  }
1191
1243
  }
1192
1244
  }
@@ -1262,8 +1314,8 @@ function newId(maxLength) {
1262
1314
  var base64chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
1263
1315
  var number = random32() >>> 0;
1264
1316
  var chars = 0;
1265
- var result = strEmpty$1;
1266
- while (result.length < maxLength) {
1317
+ var result = STR_EMPTY;
1318
+ while (result[_DYN_LENGTH$2 ] < maxLength) {
1267
1319
  chars++;
1268
1320
  result += base64chars.charAt(number & 0x3F);
1269
1321
  number >>>= 6;
@@ -1276,7 +1328,7 @@ function newId(maxLength) {
1276
1328
  }
1277
1329
 
1278
1330
  var _objDefineProperty = ObjDefineProperty;
1279
- var version = "2.8.5-nightly.2206-04";
1331
+ var version = "2.8.5-nightly.2206-06";
1280
1332
  var instanceName = "." + newId(6);
1281
1333
  var _dataUid = 0;
1282
1334
  function _createAccessor(target, prop, value) {
@@ -1295,7 +1347,7 @@ function _createAccessor(target, prop, value) {
1295
1347
  return false;
1296
1348
  }
1297
1349
  function _canAcceptData(target) {
1298
- return target.nodeType === 1 || target.nodeType === 9 || !(+target.nodeType);
1350
+ return target[_DYN_NODE_TYPE ] === 1 || target[_DYN_NODE_TYPE ] === 9 || !(+target[_DYN_NODE_TYPE ]);
1299
1351
  }
1300
1352
  function _getCache(data, target) {
1301
1353
  var theCache = target[data.id];
@@ -1315,11 +1367,11 @@ function _getCache(data, target) {
1315
1367
  }
1316
1368
  function createUniqueNamespace(name, includeVersion) {
1317
1369
  if (includeVersion === void 0) { includeVersion = false; }
1318
- return normalizeJsName(name + (_dataUid++) + (includeVersion ? "." + version : "") + instanceName);
1370
+ return normalizeJsName(name + (_dataUid++) + (includeVersion ? "." + version : STR_EMPTY) + instanceName);
1319
1371
  }
1320
1372
  function createElmNodeData(name) {
1321
1373
  var data = {
1322
- id: createUniqueNamespace("_aiData-" + (name || "") + "." + version),
1374
+ id: createUniqueNamespace("_aiData-" + (name || STR_EMPTY) + "." + version),
1323
1375
  accept: function (target) {
1324
1376
  return _canAcceptData(target);
1325
1377
  },
@@ -1376,7 +1428,7 @@ function _isMgrEnabled(cookieMgr) {
1376
1428
  return true;
1377
1429
  }
1378
1430
  function _createCookieMgrConfig(rootConfig) {
1379
- var cookieMgrCfg = rootConfig.cookieCfg = rootConfig.cookieCfg || {};
1431
+ var cookieMgrCfg = rootConfig[_DYN_COOKIE_CFG ] = rootConfig[_DYN_COOKIE_CFG ] || {};
1380
1432
  setValue(cookieMgrCfg, "domain", rootConfig.cookieDomain, isNotNullOrUndefined, isNullOrUndefined);
1381
1433
  setValue(cookieMgrCfg, "path", rootConfig.cookiePath || "/", null, isNullOrUndefined);
1382
1434
  if (isNullOrUndefined(cookieMgrCfg[strEnabled])) {
@@ -1392,31 +1444,33 @@ function _createCookieMgrConfig(rootConfig) {
1392
1444
  return cookieMgrCfg;
1393
1445
  }
1394
1446
  function createCookieMgr(rootConfig, logger) {
1447
+ var _a;
1395
1448
  var cookieMgrConfig = _createCookieMgrConfig(rootConfig || _globalCookieConfig);
1396
1449
  var _path = cookieMgrConfig.path || "/";
1397
1450
  var _domain = cookieMgrConfig.domain;
1398
1451
  var _enabled = cookieMgrConfig[strEnabled] !== false;
1399
- var cookieMgr = {
1400
- isEnabled: function () {
1401
- var enabled = _enabled && areCookiesSupported(logger);
1402
- var gblManager = _globalCookieConfig[strConfigCookieMgr];
1403
- if (enabled && gblManager && cookieMgr !== gblManager) {
1404
- enabled = _isMgrEnabled(gblManager);
1405
- }
1406
- return enabled;
1452
+ var cookieMgr = (_a = {
1453
+ isEnabled: function () {
1454
+ var enabled = _enabled && areCookiesSupported(logger);
1455
+ var gblManager = _globalCookieConfig[strConfigCookieMgr];
1456
+ if (enabled && gblManager && cookieMgr !== gblManager) {
1457
+ enabled = _isMgrEnabled(gblManager);
1458
+ }
1459
+ return enabled;
1460
+ }
1407
1461
  },
1408
- setEnabled: function (value) {
1462
+ _a[_DYN_SET_ENABLED ] = function (value) {
1409
1463
  _enabled = value !== false;
1410
1464
  },
1411
- set: function (name, value, maxAgeSec, domain, path) {
1465
+ _a.set = function (name, value, maxAgeSec, domain, path) {
1412
1466
  var result = false;
1413
1467
  if (_isMgrEnabled(cookieMgr)) {
1414
1468
  var values = {};
1415
- var theValue = strTrim(value || strEmpty$1);
1416
- var idx = theValue.indexOf(";");
1469
+ var theValue = strTrim(value || STR_EMPTY);
1470
+ var idx = theValue[_DYN_INDEX_OF ](";");
1417
1471
  if (idx !== -1) {
1418
- theValue = strTrim(value.substring(0, idx));
1419
- values = _extractParts(value.substring(idx + 1));
1472
+ theValue = strTrim(value[_DYN_SUBSTRING$1 ](0, idx));
1473
+ values = _extractParts(value[_DYN_SUBSTRING$1 ](idx + 1));
1420
1474
  }
1421
1475
  setValue(values, "domain", domain || _domain, isTruthy, isUndefined);
1422
1476
  if (!isNullOrUndefined(maxAgeSec)) {
@@ -1427,18 +1481,18 @@ function createCookieMgr(rootConfig, logger) {
1427
1481
  if (expireMs > 0) {
1428
1482
  var expiry = new Date();
1429
1483
  expiry.setTime(expireMs);
1430
- setValue(values, strExpires, _formatDate(expiry, !_isIE ? strToUTCString : strToGMTString) || _formatDate(expiry, _isIE ? strToGMTString : strToUTCString) || strEmpty$1, isTruthy);
1484
+ setValue(values, strExpires, _formatDate(expiry, !_isIE ? strToUTCString : strToGMTString) || _formatDate(expiry, _isIE ? strToGMTString : strToUTCString) || STR_EMPTY, isTruthy);
1431
1485
  }
1432
1486
  }
1433
1487
  if (!_isIE) {
1434
- setValue(values, "max-age", strEmpty$1 + maxAgeSec, null, isUndefined);
1488
+ setValue(values, "max-age", STR_EMPTY + maxAgeSec, null, isUndefined);
1435
1489
  }
1436
1490
  }
1437
1491
  var location_1 = getLocation();
1438
1492
  if (location_1 && location_1.protocol === "https:") {
1439
1493
  setValue(values, "secure", null, null, isUndefined);
1440
1494
  if (_allowUaSameSite === null) {
1441
- _allowUaSameSite = !uaDisallowsSameSiteNone((getNavigator() || {}).userAgent);
1495
+ _allowUaSameSite = !uaDisallowsSameSiteNone((getNavigator() || {})[_DYN_USER_AGENT ]);
1442
1496
  }
1443
1497
  if (_allowUaSameSite) {
1444
1498
  setValue(values, "SameSite", "None", null, isUndefined);
@@ -1451,21 +1505,21 @@ function createCookieMgr(rootConfig, logger) {
1451
1505
  }
1452
1506
  return result;
1453
1507
  },
1454
- get: function (name) {
1455
- var value = strEmpty$1;
1508
+ _a.get = function (name) {
1509
+ var value = STR_EMPTY;
1456
1510
  if (_isMgrEnabled(cookieMgr)) {
1457
1511
  value = (cookieMgrConfig.getCookie || _getCookieValue)(name);
1458
1512
  }
1459
1513
  return value;
1460
1514
  },
1461
- del: function (name, path) {
1515
+ _a.del = function (name, path) {
1462
1516
  var result = false;
1463
1517
  if (_isMgrEnabled(cookieMgr)) {
1464
1518
  result = cookieMgr.purge(name, path);
1465
1519
  }
1466
1520
  return result;
1467
1521
  },
1468
- purge: function (name, path) {
1522
+ _a.purge = function (name, path) {
1469
1523
  var _a;
1470
1524
  var result = false;
1471
1525
  if (areCookiesSupported(logger)) {
@@ -1477,12 +1531,12 @@ function createCookieMgr(rootConfig, logger) {
1477
1531
  values["max-age"] = "0";
1478
1532
  }
1479
1533
  var delCookie = cookieMgrConfig.delCookie || _setCookieValue;
1480
- delCookie(name, _formatCookieValue(strEmpty$1, values));
1534
+ delCookie(name, _formatCookieValue(STR_EMPTY, values));
1481
1535
  result = true;
1482
1536
  }
1483
1537
  return result;
1484
- }
1485
- };
1538
+ },
1539
+ _a);
1486
1540
  cookieMgr[strConfigCookieMgr] = cookieMgr;
1487
1541
  return cookieMgr;
1488
1542
  }
@@ -1501,17 +1555,17 @@ function areCookiesSupported(logger) {
1501
1555
  }
1502
1556
  function _extractParts(theValue) {
1503
1557
  var values = {};
1504
- if (theValue && theValue.length) {
1505
- var parts = strTrim(theValue).split(";");
1558
+ if (theValue && theValue[_DYN_LENGTH$2 ]) {
1559
+ var parts = strTrim(theValue)[_DYN_SPLIT ](";");
1506
1560
  arrForEach(parts, function (thePart) {
1507
- thePart = strTrim(thePart || strEmpty$1);
1561
+ thePart = strTrim(thePart || STR_EMPTY);
1508
1562
  if (thePart) {
1509
- var idx = thePart.indexOf("=");
1563
+ var idx = thePart[_DYN_INDEX_OF ]("=");
1510
1564
  if (idx === -1) {
1511
1565
  values[thePart] = null;
1512
1566
  }
1513
1567
  else {
1514
- values[strTrim(thePart.substring(0, idx))] = strTrim(thePart.substring(idx + 1));
1568
+ values[strTrim(thePart[_DYN_SUBSTRING$1 ](0, idx))] = strTrim(thePart[_DYN_SUBSTRING$1 ](idx + 1));
1515
1569
  }
1516
1570
  }
1517
1571
  });
@@ -1525,21 +1579,21 @@ function _formatDate(theDate, func) {
1525
1579
  return null;
1526
1580
  }
1527
1581
  function _formatCookieValue(value, values) {
1528
- var cookieValue = value || strEmpty$1;
1582
+ var cookieValue = value || STR_EMPTY;
1529
1583
  objForEachKey(values, function (name, theValue) {
1530
- cookieValue += "; " + name + (!isNullOrUndefined(theValue) ? "=" + theValue : strEmpty$1);
1584
+ cookieValue += "; " + name + (!isNullOrUndefined(theValue) ? "=" + theValue : STR_EMPTY);
1531
1585
  });
1532
1586
  return cookieValue;
1533
1587
  }
1534
1588
  function _getCookieValue(name) {
1535
- var cookieValue = strEmpty$1;
1589
+ var cookieValue = STR_EMPTY;
1536
1590
  if (_doc) {
1537
- var theCookie = _doc[strCookie] || strEmpty$1;
1591
+ var theCookie = _doc[strCookie] || STR_EMPTY;
1538
1592
  if (_parsedCookieValue !== theCookie) {
1539
1593
  _cookieCache = _extractParts(theCookie);
1540
1594
  _parsedCookieValue = theCookie;
1541
1595
  }
1542
- cookieValue = strTrim(_cookieCache[name] || strEmpty$1);
1596
+ cookieValue = strTrim(_cookieCache[name] || STR_EMPTY);
1543
1597
  }
1544
1598
  return cookieValue;
1545
1599
  }
@@ -1585,16 +1639,17 @@ var _guid = 1;
1585
1639
  var elmNodeData = createElmNodeData("events");
1586
1640
  var eventNamespace = /^([^.]*)(?:\.(.+)|)/;
1587
1641
  function _normalizeNamespace(name) {
1588
- if (name && name.replace) {
1589
- return name.replace(/^\s*\.*|\.*\s*$/g, "");
1642
+ if (name && name[_DYN_REPLACE$1 ]) {
1643
+ return name.replace(/^\s*\.*|\.*\s*$/g, STR_EMPTY);
1590
1644
  }
1591
1645
  return name;
1592
1646
  }
1593
1647
  function _getEvtNamespace(eventName, evtNamespace) {
1648
+ var _a;
1594
1649
  if (evtNamespace) {
1595
- var theNamespace_1 = "";
1650
+ var theNamespace_1 = STR_EMPTY;
1596
1651
  if (isArray(evtNamespace)) {
1597
- theNamespace_1 = "";
1652
+ theNamespace_1 = STR_EMPTY;
1598
1653
  arrForEach(evtNamespace, function (name) {
1599
1654
  name = _normalizeNamespace(name);
1600
1655
  if (name) {
@@ -1612,14 +1667,14 @@ function _getEvtNamespace(eventName, evtNamespace) {
1612
1667
  if (theNamespace_1[0] !== ".") {
1613
1668
  theNamespace_1 = "." + theNamespace_1;
1614
1669
  }
1615
- eventName = (eventName || "") + theNamespace_1;
1670
+ eventName = (eventName || STR_EMPTY) + theNamespace_1;
1616
1671
  }
1617
1672
  }
1618
- var parsedEvent = (eventNamespace.exec(eventName || "") || []);
1619
- return {
1620
- type: parsedEvent[1],
1621
- ns: ((parsedEvent[2] || "").replace(rRemoveEmptyNs, ".").replace(rRemoveTrailingEmptyNs, "").split(".").sort()).join(".")
1622
- };
1673
+ var parsedEvent = (eventNamespace.exec(eventName || STR_EMPTY) || []);
1674
+ return _a = {},
1675
+ _a[_DYN_TYPE ] = parsedEvent[1],
1676
+ _a.ns = ((parsedEvent[2] || STR_EMPTY).replace(rRemoveEmptyNs, ".").replace(rRemoveTrailingEmptyNs, STR_EMPTY)[_DYN_SPLIT ](".").sort()).join("."),
1677
+ _a;
1623
1678
  }
1624
1679
  function _getRegisteredEvents(target, evtName, addDefault) {
1625
1680
  if (addDefault === void 0) { addDefault = true; }
@@ -1632,19 +1687,20 @@ function _getRegisteredEvents(target, evtName, addDefault) {
1632
1687
  }
1633
1688
  function _doAttach(obj, evtName, handlerRef, useCapture) {
1634
1689
  var result = false;
1635
- if (obj && evtName && evtName.type && handlerRef) {
1690
+ if (obj && evtName && evtName[_DYN_TYPE ] && handlerRef) {
1636
1691
  if (obj[strAddEventHelper]) {
1637
- obj[strAddEventHelper](evtName.type, handlerRef, useCapture);
1692
+ obj[strAddEventHelper](evtName[_DYN_TYPE ], handlerRef, useCapture);
1638
1693
  result = true;
1639
1694
  }
1640
1695
  else if (obj[strAttachEvent]) {
1641
- obj[strAttachEvent](strOnPrefix + evtName.type, handlerRef);
1696
+ obj[strAttachEvent](strOnPrefix + evtName[_DYN_TYPE ], handlerRef);
1642
1697
  result = true;
1643
1698
  }
1644
1699
  }
1645
1700
  return result;
1646
1701
  }
1647
1702
  function eventOn(target, eventName, handlerRef, evtNamespace, useCapture) {
1703
+ var _a;
1648
1704
  if (useCapture === void 0) { useCapture = false; }
1649
1705
  var result = false;
1650
1706
  if (target) {
@@ -1652,13 +1708,14 @@ function eventOn(target, eventName, handlerRef, evtNamespace, useCapture) {
1652
1708
  var evtName = _getEvtNamespace(eventName, evtNamespace);
1653
1709
  result = _doAttach(target, evtName, handlerRef, useCapture);
1654
1710
  if (result && elmNodeData.accept(target)) {
1655
- var registeredEvent = {
1656
- guid: _guid++,
1657
- evtName: evtName,
1658
- handler: handlerRef,
1659
- capture: useCapture
1660
- };
1661
- _getRegisteredEvents(target, evtName.type).push(registeredEvent);
1711
+ var registeredEvent = (_a = {
1712
+ guid: _guid++,
1713
+ evtName: evtName
1714
+ },
1715
+ _a[_DYN_HANDLER ] = handlerRef,
1716
+ _a.capture = useCapture,
1717
+ _a);
1718
+ _getRegisteredEvents(target, evtName.type)[_DYN_PUSH$1 ](registeredEvent);
1662
1719
  }
1663
1720
  }
1664
1721
  catch (e) {
@@ -1690,7 +1747,7 @@ function newGuid() {
1690
1747
  function randomHexDigit() {
1691
1748
  return randomValue(15);
1692
1749
  }
1693
- return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(GuidRegex, function (c) {
1750
+ return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx"[_DYN_REPLACE$1 ](GuidRegex, function (c) {
1694
1751
  var r = (randomHexDigit() | 0), v = (c === "x" ? r : r & 0x3 | 0x8);
1695
1752
  return v.toString(16);
1696
1753
  });
@@ -1704,7 +1761,7 @@ function perfNow() {
1704
1761
  }
1705
1762
  function generateW3CId() {
1706
1763
  var hexValues = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f"];
1707
- var oct = strEmpty$1, tmp;
1764
+ var oct = STR_EMPTY, tmp;
1708
1765
  for (var a = 0; a < 4; a++) {
1709
1766
  tmp = random32();
1710
1767
  oct +=
@@ -1718,7 +1775,7 @@ function generateW3CId() {
1718
1775
  hexValues[tmp >> 28 & 0xF];
1719
1776
  }
1720
1777
  var clockSequenceHi = hexValues[8 + (random32() & 0x03) | 0];
1721
- return oct.substr(0, 8) + oct.substr(9, 4) + "4" + oct.substr(13, 3) + clockSequenceHi + oct.substr(16, 3) + oct.substr(19, 12);
1778
+ return oct[_DYN_SUBSTR ](0, 8) + oct[_DYN_SUBSTR ](9, 4) + "4" + oct[_DYN_SUBSTR ](13, 3) + clockSequenceHi + oct[_DYN_SUBSTR ](16, 3) + oct[_DYN_SUBSTR ](19, 12);
1722
1779
  }
1723
1780
  var CoreUtils = {
1724
1781
  _canUseCookies: undefined,
@@ -1768,23 +1825,23 @@ function _legacyCookieMgr(config, logger) {
1768
1825
  }, function (value) {
1769
1826
  _canUseCookies = value;
1770
1827
  arrForEach(_cookieMgrs, function (mgr) {
1771
- mgr.setEnabled(value);
1828
+ mgr[_DYN_SET_ENABLED ](value);
1772
1829
  });
1773
1830
  });
1774
1831
  }
1775
1832
  if (arrIndexOf(_cookieMgrs, cookieMgr) === -1) {
1776
- _cookieMgrs.push(cookieMgr);
1833
+ _cookieMgrs[_DYN_PUSH$1 ](cookieMgr);
1777
1834
  }
1778
1835
  if (isBoolean(legacyCanUseCookies)) {
1779
- cookieMgr.setEnabled(legacyCanUseCookies);
1836
+ cookieMgr[_DYN_SET_ENABLED ](legacyCanUseCookies);
1780
1837
  }
1781
1838
  if (isBoolean(_canUseCookies)) {
1782
- cookieMgr.setEnabled(_canUseCookies);
1839
+ cookieMgr[_DYN_SET_ENABLED ](_canUseCookies);
1783
1840
  }
1784
1841
  return cookieMgr;
1785
1842
  }
1786
1843
  function disableCookies() {
1787
- _legacyCookieMgr().setEnabled(false);
1844
+ _legacyCookieMgr()[_DYN_SET_ENABLED ](false);
1788
1845
  }
1789
1846
  function canUseCookies(logger) {
1790
1847
  return _legacyCookieMgr(null, logger).isEnabled();
@@ -1810,12 +1867,12 @@ var strGetTelCtx = "_getTelCtx";
1810
1867
  var _chainId = 0;
1811
1868
  function _getNextProxyStart(proxy, core, startAt) {
1812
1869
  while (proxy) {
1813
- if (proxy.getPlugin() === startAt) {
1870
+ if (proxy[_DYN_GET_PLUGIN ]() === startAt) {
1814
1871
  return proxy;
1815
1872
  }
1816
- proxy = proxy.getNext();
1873
+ proxy = proxy[_DYN_GET_NEXT ]();
1817
1874
  }
1818
- return createTelemetryProxyChain([startAt], core.config || {}, core);
1875
+ return createTelemetryProxyChain([startAt], core[_DYN_CONFIG ] || {}, core);
1819
1876
  }
1820
1877
  function _createInternalContext(telemetryChain, config, core, startAt) {
1821
1878
  var _nextProxy = null;
@@ -1856,7 +1913,7 @@ function _createInternalContext(telemetryChain, config, core, startAt) {
1856
1913
  args[_i - 2] = arguments[_i];
1857
1914
  }
1858
1915
  if (onComplete) {
1859
- _onComplete.push({
1916
+ _onComplete[_DYN_PUSH$1 ]({
1860
1917
  func: onComplete,
1861
1918
  self: !isUndefined(that) ? that : context.ctx,
1862
1919
  args: args
@@ -1865,16 +1922,16 @@ function _createInternalContext(telemetryChain, config, core, startAt) {
1865
1922
  }
1866
1923
  function _moveNext() {
1867
1924
  var nextProxy = _nextProxy;
1868
- _nextProxy = nextProxy ? nextProxy.getNext() : null;
1925
+ _nextProxy = nextProxy ? nextProxy[_DYN_GET_NEXT ]() : null;
1869
1926
  if (!nextProxy) {
1870
1927
  var onComplete = _onComplete;
1871
- if (onComplete && onComplete.length > 0) {
1928
+ if (onComplete && onComplete[_DYN_LENGTH$2 ] > 0) {
1872
1929
  arrForEach(onComplete, function (completeDetails) {
1873
1930
  try {
1874
- completeDetails.func.call(completeDetails.self, completeDetails.args);
1931
+ completeDetails.func[_DYN_CALL ](completeDetails.self, completeDetails.args);
1875
1932
  }
1876
1933
  catch (e) {
1877
- _throwInternal(core.logger, 2 , 73 , "Unexpected Exception during onComplete - " + dumpObj(e));
1934
+ _throwInternal(core[_DYN_LOGGER ], 2 , 73 , "Unexpected Exception during onComplete - " + dumpObj(e));
1878
1935
  }
1879
1936
  });
1880
1937
  _onComplete = [];
@@ -1887,7 +1944,7 @@ function _createInternalContext(telemetryChain, config, core, startAt) {
1887
1944
  if (mergeDefault === void 0) { mergeDefault = 0 ; }
1888
1945
  var theConfig;
1889
1946
  if (config) {
1890
- var extConfig = config.extensionConfig;
1947
+ var extConfig = config[STR_EXTENSION_CONFIG ];
1891
1948
  if (extConfig && identifier) {
1892
1949
  theConfig = extConfig[identifier];
1893
1950
  }
@@ -1928,7 +1985,7 @@ function _createInternalContext(telemetryChain, config, core, startAt) {
1928
1985
  function _iterateChain(cb) {
1929
1986
  var nextPlugin;
1930
1987
  while (!!(nextPlugin = context._next())) {
1931
- var plugin = nextPlugin.getPlugin();
1988
+ var plugin = nextPlugin[_DYN_GET_PLUGIN ]();
1932
1989
  if (plugin) {
1933
1990
  cb(plugin);
1934
1991
  }
@@ -1941,7 +1998,7 @@ function createProcessTelemetryContext(telemetryChain, config, core, startAt) {
1941
1998
  var context = internalContext.ctx;
1942
1999
  function _processNext(env) {
1943
2000
  var nextPlugin = internalContext._next();
1944
- nextPlugin && nextPlugin.processTelemetry(env, context);
2001
+ nextPlugin && nextPlugin[STR_PROCESS_TELEMETRY ](env, context);
1945
2002
  return !nextPlugin;
1946
2003
  }
1947
2004
  function _createNew(plugins, startAt) {
@@ -1949,14 +2006,14 @@ function createProcessTelemetryContext(telemetryChain, config, core, startAt) {
1949
2006
  if (isArray(plugins)) {
1950
2007
  plugins = createTelemetryProxyChain(plugins, config, core, startAt);
1951
2008
  }
1952
- return createProcessTelemetryContext(plugins || context.getNext(), config, core, startAt);
2009
+ return createProcessTelemetryContext(plugins || context[_DYN_GET_NEXT ](), config, core, startAt);
1953
2010
  }
1954
- context.processNext = _processNext;
1955
- context.createNew = _createNew;
2011
+ context[_DYN_PROCESS_NEXT ] = _processNext;
2012
+ context[_DYN_CREATE_NEW ] = _createNew;
1956
2013
  return context;
1957
2014
  }
1958
2015
  function createProcessTelemetryUnloadContext(telemetryChain, core, startAt) {
1959
- var config = core.config || {};
2016
+ var config = core[_DYN_CONFIG ] || {};
1960
2017
  var internalContext = _createInternalContext(telemetryChain, config, core, startAt);
1961
2018
  var context = internalContext.ctx;
1962
2019
  function _processNext(unloadState) {
@@ -1969,20 +2026,20 @@ function createProcessTelemetryUnloadContext(telemetryChain, core, startAt) {
1969
2026
  if (isArray(plugins)) {
1970
2027
  plugins = createTelemetryProxyChain(plugins, config, core, startAt);
1971
2028
  }
1972
- return createProcessTelemetryUnloadContext(plugins || context.getNext(), core, startAt);
2029
+ return createProcessTelemetryUnloadContext(plugins || context[_DYN_GET_NEXT ](), core, startAt);
1973
2030
  }
1974
- context.processNext = _processNext;
1975
- context.createNew = _createNew;
2031
+ context[_DYN_PROCESS_NEXT ] = _processNext;
2032
+ context[_DYN_CREATE_NEW ] = _createNew;
1976
2033
  return context;
1977
2034
  }
1978
2035
  function createProcessTelemetryUpdateContext(telemetryChain, core, startAt) {
1979
- var config = core.config || {};
2036
+ var config = core[_DYN_CONFIG ] || {};
1980
2037
  var internalContext = _createInternalContext(telemetryChain, config, core, startAt);
1981
2038
  var context = internalContext.ctx;
1982
2039
  function _processNext(updateState) {
1983
2040
  return context.iterate(function (plugin) {
1984
- if (isFunction(plugin.update)) {
1985
- plugin.update(context, updateState);
2041
+ if (isFunction(plugin[_DYN_UPDATE ])) {
2042
+ plugin[_DYN_UPDATE ](context, updateState);
1986
2043
  }
1987
2044
  });
1988
2045
  }
@@ -1991,22 +2048,22 @@ function createProcessTelemetryUpdateContext(telemetryChain, core, startAt) {
1991
2048
  if (isArray(plugins)) {
1992
2049
  plugins = createTelemetryProxyChain(plugins, config, core, startAt);
1993
2050
  }
1994
- return createProcessTelemetryUpdateContext(plugins || context.getNext(), core, startAt);
2051
+ return createProcessTelemetryUpdateContext(plugins || context[_DYN_GET_NEXT ](), core, startAt);
1995
2052
  }
1996
- context.processNext = _processNext;
1997
- context.createNew = _createNew;
2053
+ context[_DYN_PROCESS_NEXT ] = _processNext;
2054
+ context[_DYN_CREATE_NEW ] = _createNew;
1998
2055
  return context;
1999
2056
  }
2000
2057
  function createTelemetryProxyChain(plugins, config, core, startAt) {
2001
2058
  var firstProxy = null;
2002
2059
  var add = startAt ? false : true;
2003
- if (isArray(plugins) && plugins.length > 0) {
2060
+ if (isArray(plugins) && plugins[_DYN_LENGTH$2 ] > 0) {
2004
2061
  var lastProxy_1 = null;
2005
2062
  arrForEach(plugins, function (thePlugin) {
2006
2063
  if (!add && startAt === thePlugin) {
2007
2064
  add = true;
2008
2065
  }
2009
- if (add && thePlugin && isFunction(thePlugin.processTelemetry)) {
2066
+ if (add && thePlugin && isFunction(thePlugin[STR_PROCESS_TELEMETRY ])) {
2010
2067
  var newProxy = createTelemetryPluginProxy(thePlugin, config, core);
2011
2068
  if (!firstProxy) {
2012
2069
  firstProxy = newProxy;
@@ -2025,11 +2082,11 @@ function createTelemetryProxyChain(plugins, config, core, startAt) {
2025
2082
  }
2026
2083
  function createTelemetryPluginProxy(plugin, config, core) {
2027
2084
  var nextProxy = null;
2028
- var hasProcessTelemetry = isFunction(plugin.processTelemetry);
2029
- var hasSetNext = isFunction(plugin.setNextPlugin);
2085
+ var hasProcessTelemetry = isFunction(plugin[STR_PROCESS_TELEMETRY ]);
2086
+ var hasSetNext = isFunction(plugin[_DYN_SET_NEXT_PLUGIN ]);
2030
2087
  var chainId;
2031
2088
  if (plugin) {
2032
- chainId = plugin.identifier + "-" + plugin.priority + "-" + _chainId++;
2089
+ chainId = plugin[_DYN_IDENTIFIER$1 ] + "-" + plugin[STR_PRIORITY ] + "-" + _chainId++;
2033
2090
  }
2034
2091
  else {
2035
2092
  chainId = "Unknown-0-" + _chainId++;
@@ -2061,17 +2118,17 @@ function createTelemetryPluginProxy(plugin, config, core) {
2061
2118
  }
2062
2119
  function _processChain(itemCtx, processPluginFn, name, details, isAsync) {
2063
2120
  var hasRun = false;
2064
- var identifier = plugin ? plugin.identifier : strTelemetryPluginChain;
2121
+ var identifier = plugin ? plugin[_DYN_IDENTIFIER$1 ] : strTelemetryPluginChain;
2065
2122
  var hasRunContext = itemCtx[strHasRunFlags];
2066
2123
  if (!hasRunContext) {
2067
2124
  hasRunContext = itemCtx[strHasRunFlags] = {};
2068
2125
  }
2069
2126
  itemCtx.setNext(nextProxy);
2070
2127
  if (plugin) {
2071
- doPerf(itemCtx[strCore](), function () { return identifier + ":" + name; }, function () {
2128
+ doPerf(itemCtx[STR_CORE ](), function () { return identifier + ":" + name; }, function () {
2072
2129
  hasRunContext[chainId] = true;
2073
2130
  try {
2074
- var nextId = nextProxy ? nextProxy._id : strEmpty$1;
2131
+ var nextId = nextProxy ? nextProxy._id : STR_EMPTY;
2075
2132
  if (nextId) {
2076
2133
  hasRunContext[nextId] = false;
2077
2134
  }
@@ -2083,7 +2140,7 @@ function createTelemetryPluginProxy(plugin, config, core) {
2083
2140
  hasRun = true;
2084
2141
  }
2085
2142
  if (!nextProxy || !hasNextRun) {
2086
- _throwInternal(itemCtx.diagLog(), 1 , 73 , "Plugin [" + identifier + "] failed during " + name + " - " + dumpObj(error) + ", run flags: " + dumpObj(hasRunContext));
2143
+ _throwInternal(itemCtx[_DYN_DIAG_LOG ](), 1 , 73 , "Plugin [" + identifier + "] failed during " + name + " - " + dumpObj(error) + ", run flags: " + dumpObj(hasRunContext));
2087
2144
  }
2088
2145
  }
2089
2146
  }, details, isAsync);
@@ -2097,17 +2154,17 @@ function createTelemetryPluginProxy(plugin, config, core) {
2097
2154
  return false;
2098
2155
  }
2099
2156
  var pluginState = _getPluginState(plugin);
2100
- if (pluginState.teardown || pluginState[strDisabled]) {
2157
+ if (pluginState[_DYN_TEARDOWN ] || pluginState[STR_DISABLED]) {
2101
2158
  return false;
2102
2159
  }
2103
2160
  if (hasSetNext) {
2104
- plugin.setNextPlugin(nextProxy);
2161
+ plugin[_DYN_SET_NEXT_PLUGIN ](nextProxy);
2105
2162
  }
2106
- plugin.processTelemetry(env, itemCtx);
2163
+ plugin[STR_PROCESS_TELEMETRY ](env, itemCtx);
2107
2164
  return true;
2108
2165
  }
2109
2166
  if (!_processChain(itemCtx, _callProcessTelemetry, "processTelemetry", function () { return ({ item: env }); }, !(env.sync))) {
2110
- itemCtx.processNext(env);
2167
+ itemCtx[_DYN_PROCESS_NEXT ](env);
2111
2168
  }
2112
2169
  }
2113
2170
  function _unloadPlugin(unloadCtx, unloadState) {
@@ -2115,20 +2172,20 @@ function createTelemetryPluginProxy(plugin, config, core) {
2115
2172
  var hasRun = false;
2116
2173
  if (plugin) {
2117
2174
  var pluginState = _getPluginState(plugin);
2118
- var pluginCore = plugin[strCore] || pluginState.core;
2119
- if (plugin && (!pluginCore || pluginCore === unloadCtx[strCore]()) && !pluginState[strTeardown]) {
2120
- pluginState[strCore] = null;
2121
- pluginState[strTeardown] = true;
2122
- pluginState[strIsInitialized] = false;
2123
- if (plugin[strTeardown] && plugin[strTeardown](unloadCtx, unloadState) === true) {
2175
+ var pluginCore = plugin[STR_CORE] || pluginState[STR_CORE ];
2176
+ if (plugin && (!pluginCore || pluginCore === unloadCtx.core()) && !pluginState[_DYN_TEARDOWN ]) {
2177
+ pluginState[STR_CORE ] = null;
2178
+ pluginState[_DYN_TEARDOWN ] = true;
2179
+ pluginState[_DYN_IS_INITIALIZED ] = false;
2180
+ if (plugin[_DYN_TEARDOWN ] && plugin[_DYN_TEARDOWN ](unloadCtx, unloadState) === true) {
2124
2181
  hasRun = true;
2125
2182
  }
2126
2183
  }
2127
2184
  }
2128
2185
  return hasRun;
2129
2186
  }
2130
- if (!_processChain(unloadCtx, _callTeardown, "unload", function () { }, unloadState.isAsync)) {
2131
- unloadCtx.processNext(unloadState);
2187
+ if (!_processChain(unloadCtx, _callTeardown, "unload", function () { }, unloadState[_DYN_IS_ASYNC ])) {
2188
+ unloadCtx[_DYN_PROCESS_NEXT ](unloadState);
2132
2189
  }
2133
2190
  }
2134
2191
  function _updatePlugin(updateCtx, updateState) {
@@ -2136,9 +2193,9 @@ function createTelemetryPluginProxy(plugin, config, core) {
2136
2193
  var hasRun = false;
2137
2194
  if (plugin) {
2138
2195
  var pluginState = _getPluginState(plugin);
2139
- var pluginCore = plugin[strCore] || pluginState.core;
2140
- if (plugin && (!pluginCore || pluginCore === updateCtx[strCore]()) && !pluginState[strTeardown]) {
2141
- if (plugin[strUpdate] && plugin[strUpdate](updateCtx, updateState) === true) {
2196
+ var pluginCore = plugin[STR_CORE] || pluginState[STR_CORE ];
2197
+ if (plugin && (!pluginCore || pluginCore === updateCtx.core()) && !pluginState[_DYN_TEARDOWN ]) {
2198
+ if (plugin[_DYN_UPDATE ] && plugin[_DYN_UPDATE ](updateCtx, updateState) === true) {
2142
2199
  hasRun = true;
2143
2200
  }
2144
2201
  }
@@ -2146,19 +2203,17 @@ function createTelemetryPluginProxy(plugin, config, core) {
2146
2203
  return hasRun;
2147
2204
  }
2148
2205
  if (!_processChain(updateCtx, _callUpdate, "update", function () { }, false)) {
2149
- updateCtx.processNext(updateState);
2206
+ updateCtx[_DYN_PROCESS_NEXT ](updateState);
2150
2207
  }
2151
2208
  }
2152
2209
  return objFreeze(proxyChain);
2153
2210
  }
2154
2211
 
2155
- var strExtensionConfig = "extensionConfig";
2156
-
2157
2212
  function createUnloadHandlerContainer() {
2158
2213
  var handlers = [];
2159
2214
  function _addHandler(handler) {
2160
2215
  if (handler) {
2161
- handlers.push(handler);
2216
+ handlers[_DYN_PUSH$1 ](handler);
2162
2217
  }
2163
2218
  }
2164
2219
  function _runHandlers(unloadCtx, unloadState) {
@@ -2167,7 +2222,7 @@ function createUnloadHandlerContainer() {
2167
2222
  handler(unloadCtx, unloadState);
2168
2223
  }
2169
2224
  catch (e) {
2170
- _throwInternal(unloadCtx.diagLog(), 2 , 73 , "Unexpected error calling unload handler - " + dumpObj(e));
2225
+ _throwInternal(unloadCtx[_DYN_DIAG_LOG ](), 2 , 73 , "Unexpected error calling unload handler - " + dumpObj(e));
2171
2226
  }
2172
2227
  });
2173
2228
  handlers = [];
@@ -2189,37 +2244,40 @@ var BaseTelemetryPlugin = /** @class */ (function () {
2189
2244
  var _hooks;
2190
2245
  _initDefaults();
2191
2246
  dynamicProto(BaseTelemetryPlugin, _self, function (_self) {
2192
- _self.initialize = function (config, core, extensions, pluginChain) {
2247
+ _self[_DYN_INITIALIZE ] = function (config, core, extensions, pluginChain) {
2193
2248
  _setDefaults(config, core, pluginChain);
2194
2249
  _isinitialized = true;
2195
2250
  };
2196
- _self.teardown = function (unloadCtx, unloadState) {
2197
- var core = _self.core;
2198
- if (!core || (unloadCtx && core !== unloadCtx.core())) {
2251
+ _self[_DYN_TEARDOWN ] = function (unloadCtx, unloadState) {
2252
+ var _a;
2253
+ var core = _self[STR_CORE ];
2254
+ if (!core || (unloadCtx && core !== unloadCtx[STR_CORE ]())) {
2199
2255
  return;
2200
2256
  }
2201
2257
  var result;
2202
2258
  var unloadDone = false;
2203
2259
  var theUnloadCtx = unloadCtx || createProcessTelemetryUnloadContext(null, core, _nextPlugin && _nextPlugin[strGetPlugin] ? _nextPlugin[strGetPlugin]() : _nextPlugin);
2204
- var theUnloadState = unloadState || {
2205
- reason: 0 ,
2206
- isAsync: false
2207
- };
2260
+ var theUnloadState = unloadState || (_a = {
2261
+ reason: 0
2262
+ },
2263
+ _a[_DYN_IS_ASYNC ] = false,
2264
+ _a);
2208
2265
  function _unloadCallback() {
2209
2266
  if (!unloadDone) {
2210
2267
  unloadDone = true;
2211
2268
  _unloadHandlerContainer.run(theUnloadCtx, unloadState);
2212
- arrForEach(_hooks, function (fn) {
2269
+ var oldHooks = _hooks;
2270
+ _hooks = [];
2271
+ arrForEach(oldHooks, function (fn) {
2213
2272
  fn.rm();
2214
2273
  });
2215
- _hooks = [];
2216
2274
  if (result === true) {
2217
- theUnloadCtx.processNext(theUnloadState);
2275
+ theUnloadCtx[_DYN_PROCESS_NEXT ](theUnloadState);
2218
2276
  }
2219
2277
  _initDefaults();
2220
2278
  }
2221
2279
  }
2222
- if (!_self[strDoTeardown] || _self[strDoTeardown](theUnloadCtx, theUnloadState, _unloadCallback) !== true) {
2280
+ if (!_self[_DYN__DO_TEARDOWN ] || _self[_DYN__DO_TEARDOWN ](theUnloadCtx, theUnloadState, _unloadCallback) !== true) {
2223
2281
  _unloadCallback();
2224
2282
  }
2225
2283
  else {
@@ -2227,9 +2285,9 @@ var BaseTelemetryPlugin = /** @class */ (function () {
2227
2285
  }
2228
2286
  return result;
2229
2287
  };
2230
- _self.update = function (updateCtx, updateState) {
2231
- var core = _self.core;
2232
- if (!core || (updateCtx && core !== updateCtx.core())) {
2288
+ _self[_DYN_UPDATE ] = function (updateCtx, updateState) {
2289
+ var core = _self[STR_CORE ];
2290
+ if (!core || (updateCtx && core !== updateCtx[STR_CORE ]())) {
2233
2291
  return;
2234
2292
  }
2235
2293
  var result;
@@ -2241,7 +2299,7 @@ var BaseTelemetryPlugin = /** @class */ (function () {
2241
2299
  function _updateCallback() {
2242
2300
  if (!updateDone) {
2243
2301
  updateDone = true;
2244
- _setDefaults(theUpdateCtx.getCfg(), theUpdateCtx.core(), theUpdateCtx.getNext());
2302
+ _setDefaults(theUpdateCtx.getCfg(), theUpdateCtx.core(), theUpdateCtx[_DYN_GET_NEXT ]());
2245
2303
  }
2246
2304
  }
2247
2305
  if (!_self._doUpdate || _self._doUpdate(theUpdateCtx, theUpdateState, _updateCallback) !== true) {
@@ -2258,30 +2316,30 @@ var BaseTelemetryPlugin = /** @class */ (function () {
2258
2316
  _hooks = _hooks.concat(hooks);
2259
2317
  }
2260
2318
  else {
2261
- _hooks.push(hooks);
2319
+ _hooks[_DYN_PUSH$1 ](hooks);
2262
2320
  }
2263
2321
  }
2264
2322
  };
2265
2323
  proxyFunctionAs(_self, "_addUnloadCb", function () { return _unloadHandlerContainer; }, "add");
2266
2324
  });
2267
- _self.diagLog = function (itemCtx) {
2268
- return _getTelCtx(itemCtx).diagLog();
2325
+ _self[_DYN_DIAG_LOG ] = function (itemCtx) {
2326
+ return _getTelCtx(itemCtx)[_DYN_DIAG_LOG ]();
2269
2327
  };
2270
- _self[strIsInitialized] = function () {
2328
+ _self[_DYN_IS_INITIALIZED ] = function () {
2271
2329
  return _isinitialized;
2272
2330
  };
2273
2331
  _self.setInitialized = function (isInitialized) {
2274
2332
  _isinitialized = isInitialized;
2275
2333
  };
2276
- _self[strSetNextPlugin] = function (next) {
2334
+ _self[_DYN_SET_NEXT_PLUGIN ] = function (next) {
2277
2335
  _nextPlugin = next;
2278
2336
  };
2279
- _self.processNext = function (env, itemCtx) {
2337
+ _self[_DYN_PROCESS_NEXT ] = function (env, itemCtx) {
2280
2338
  if (itemCtx) {
2281
- itemCtx.processNext(env);
2339
+ itemCtx[_DYN_PROCESS_NEXT ](env);
2282
2340
  }
2283
- else if (_nextPlugin && isFunction(_nextPlugin.processTelemetry)) {
2284
- _nextPlugin.processTelemetry(env, null);
2341
+ else if (_nextPlugin && isFunction(_nextPlugin[STR_PROCESS_TELEMETRY ])) {
2342
+ _nextPlugin[STR_PROCESS_TELEMETRY ](env, null);
2285
2343
  }
2286
2344
  };
2287
2345
  _self._getTelCtx = _getTelCtx;
@@ -2289,33 +2347,33 @@ var BaseTelemetryPlugin = /** @class */ (function () {
2289
2347
  if (currentCtx === void 0) { currentCtx = null; }
2290
2348
  var itemCtx = currentCtx;
2291
2349
  if (!itemCtx) {
2292
- var rootCtx = _rootCtx || createProcessTelemetryContext(null, {}, _self.core);
2350
+ var rootCtx = _rootCtx || createProcessTelemetryContext(null, {}, _self[STR_CORE ]);
2293
2351
  if (_nextPlugin && _nextPlugin[strGetPlugin]) {
2294
- itemCtx = rootCtx.createNew(null, _nextPlugin[strGetPlugin]);
2352
+ itemCtx = rootCtx[_DYN_CREATE_NEW ](null, _nextPlugin[strGetPlugin]);
2295
2353
  }
2296
2354
  else {
2297
- itemCtx = rootCtx.createNew(null, _nextPlugin);
2355
+ itemCtx = rootCtx[_DYN_CREATE_NEW ](null, _nextPlugin);
2298
2356
  }
2299
2357
  }
2300
2358
  return itemCtx;
2301
2359
  }
2302
2360
  function _setDefaults(config, core, pluginChain) {
2303
2361
  if (config) {
2304
- setValue(config, strExtensionConfig, [], null, isNullOrUndefined);
2362
+ setValue(config, STR_EXTENSION_CONFIG, [], null, isNullOrUndefined);
2305
2363
  }
2306
2364
  if (!pluginChain && core) {
2307
- pluginChain = core.getProcessTelContext().getNext();
2365
+ pluginChain = core[_DYN_GET_PROCESS_TEL_CONT0 ]()[_DYN_GET_NEXT ]();
2308
2366
  }
2309
2367
  var nextPlugin = _nextPlugin;
2310
2368
  if (_nextPlugin && _nextPlugin[strGetPlugin]) {
2311
2369
  nextPlugin = _nextPlugin[strGetPlugin]();
2312
2370
  }
2313
- _self.core = core;
2371
+ _self[STR_CORE ] = core;
2314
2372
  _rootCtx = createProcessTelemetryContext(pluginChain, config, core, nextPlugin);
2315
2373
  }
2316
2374
  function _initDefaults() {
2317
2375
  _isinitialized = false;
2318
- _self.core = null;
2376
+ _self[STR_CORE ] = null;
2319
2377
  _rootCtx = null;
2320
2378
  _nextPlugin = null;
2321
2379
  _hooks = [];
@@ -2332,7 +2390,7 @@ var cbNames = [
2332
2390
  ];
2333
2391
  function _arrLoop(arr, fn) {
2334
2392
  if (arr) {
2335
- for (var lp = 0; lp < arr.length; lp++) {
2393
+ for (var lp = 0; lp < arr[_DYN_LENGTH$2 ]; lp++) {
2336
2394
  if (fn(arr[lp], lp)) {
2337
2395
  break;
2338
2396
  }
@@ -2350,7 +2408,7 @@ function _doCallbacks(hooks, callDetails, cbArgs, hookCtx, type) {
2350
2408
  return ctx;
2351
2409
  };
2352
2410
  try {
2353
- cb.apply(callDetails.inst, cbArgs);
2411
+ cb[_DYN_APPLY ](callDetails.inst, cbArgs);
2354
2412
  }
2355
2413
  catch (err) {
2356
2414
  var orgEx = callDetails.err;
@@ -2358,7 +2416,7 @@ function _doCallbacks(hooks, callDetails, cbArgs, hookCtx, type) {
2358
2416
  var hookErrorCb = cbks[cbNames[2 ]];
2359
2417
  if (hookErrorCb) {
2360
2418
  callDetails.err = err;
2361
- hookErrorCb.apply(callDetails.inst, cbArgs);
2419
+ hookErrorCb[_DYN_APPLY ](callDetails.inst, cbArgs);
2362
2420
  }
2363
2421
  }
2364
2422
  catch (e) {
@@ -2373,21 +2431,22 @@ function _doCallbacks(hooks, callDetails, cbArgs, hookCtx, type) {
2373
2431
  }
2374
2432
  function _createFunctionHook(aiHook) {
2375
2433
  return function () {
2434
+ var _a;
2376
2435
  var funcThis = this;
2377
2436
  var orgArgs = arguments;
2378
2437
  var hooks = aiHook.h;
2379
- var funcArgs = {
2380
- name: aiHook.n,
2381
- inst: funcThis,
2382
- ctx: null,
2383
- set: _replaceArg
2384
- };
2438
+ var funcArgs = (_a = {},
2439
+ _a[_DYN_NAME$1 ] = aiHook.n,
2440
+ _a.inst = funcThis,
2441
+ _a.ctx = null,
2442
+ _a.set = _replaceArg,
2443
+ _a);
2385
2444
  var hookCtx = [];
2386
2445
  var cbArgs = _createArgs([funcArgs], orgArgs);
2387
2446
  funcArgs.evt = getGlobalInst("event");
2388
2447
  function _createArgs(target, theArgs) {
2389
2448
  _arrLoop(theArgs, function (arg) {
2390
- target.push(arg);
2449
+ target[_DYN_PUSH$1 ](arg);
2391
2450
  });
2392
2451
  return target;
2393
2452
  }
@@ -2400,7 +2459,7 @@ function _createFunctionHook(aiHook) {
2400
2459
  var theFunc = aiHook.f;
2401
2460
  if (theFunc) {
2402
2461
  try {
2403
- funcArgs.rslt = theFunc.apply(funcThis, orgArgs);
2462
+ funcArgs.rslt = theFunc[_DYN_APPLY ](funcThis, orgArgs);
2404
2463
  }
2405
2464
  catch (err) {
2406
2465
  funcArgs.err = err;
@@ -2419,7 +2478,7 @@ function _getOwner(target, name, checkPrototype) {
2419
2478
  owner = target;
2420
2479
  }
2421
2480
  else if (checkPrototype) {
2422
- owner = _getOwner(_getObjProto$1(target), name, false);
2481
+ owner = _getOwner(_getObjProto(target), name, false);
2423
2482
  }
2424
2483
  }
2425
2484
  return owner;
@@ -2444,14 +2503,14 @@ function _createInstrumentHook(owner, funcName, fn, callbacks) {
2444
2503
  var id = this.id;
2445
2504
  _arrLoop(aiHook.h, function (hook, idx) {
2446
2505
  if (hook.id === id) {
2447
- aiHook.h.splice(idx, 1);
2506
+ aiHook.h[_DYN_SPLICE ](idx, 1);
2448
2507
  return 1;
2449
2508
  }
2450
2509
  });
2451
2510
  }
2452
2511
  };
2453
2512
  aiHook.i++;
2454
- aiHook.h.push(theHook);
2513
+ aiHook.h[_DYN_PUSH$1 ](theHook);
2455
2514
  return theHook;
2456
2515
  }
2457
2516
  function InstrumentFunc(target, funcName, callbacks, checkPrototype) {
@@ -2468,6 +2527,52 @@ function InstrumentFunc(target, funcName, callbacks, checkPrototype) {
2468
2527
  return null;
2469
2528
  }
2470
2529
 
2530
+ var _DYN_IDENTIFIER = "identifier";
2531
+ var _DYN_TRACKERS = "trackers";
2532
+ var _DYN_DISABLE_NOTIFICATION0 = "disableNotifications";
2533
+ var _DYN_NEW_LOG_ENTRY = "newLogEntry";
2534
+ var _DYN_PUSH = "push";
2535
+ var _DYN_GET_TRANSMISSION_CON1 = "getTransmissionControls";
2536
+ var _DYN_EXCLUDE_KEYS = "excludeKeys";
2537
+ var _DYN_MAX_MESSAGES = "maxMessages";
2538
+ var _DYN_CREATE_ELEMENT = "createElement";
2539
+ var _DYN_CLASS_NAME = "className";
2540
+ var _DYN_INNER_HTML = "innerHTML";
2541
+ var _DYN_APPEND_CHILD = "appendChild";
2542
+ var _DYN_STOP_PROPAGATION = "stopPropagation";
2543
+ var _DYN_IS_DISPLAYED = "isDisplayed";
2544
+ var _DYN_NAME = "name";
2545
+ var _DYN_LENGTH$1 = "length";
2546
+ var _DYN_SHOW_CHILDREN = "showChildren";
2547
+ var _DYN_DUMP_TO_CONSOLE = "dumpToConsole";
2548
+ var _DYN_LOG_PROCESS_TELEMETR2 = "logProcessTelemetry";
2549
+ var _DYN_INCLUDE_FUNCTIONS = "includeFunctions";
2550
+ var _DYN_POINTER_EVENTS = "pointerEvents";
2551
+ var _DYN_PARENT_ELEMENT = "parentElement";
2552
+ var _DYN_SET_TEXT_FILTER = "setTextFilter";
2553
+ var _DYN_RENDER = "render";
2554
+ var _DYN_GET_EL = "getEl";
2555
+ var _DYN_REMOVE_CHILD = "removeChild";
2556
+ var _DYN_SET_ATTRIBUTE = "setAttribute";
2557
+ var _DYN_ONKEYUP = "onkeyup";
2558
+ var _DYN_INNER_TEXT = "innerText";
2559
+ var _DYN_ONCLICK = "onclick";
2560
+ var _DYN_ONTOUCHEND = "ontouchend";
2561
+ var _DYN_ONKEYDOWN = "onkeydown";
2562
+ var _DYN_PREVENT_DEFAULT = "preventDefault";
2563
+ var _DYN_TARGET = "target";
2564
+ var _DYN_CHILDREN = "children";
2565
+ var _DYN_FILTER_LIST = "filterList";
2566
+ var _DYN_FOCUS = "focus";
2567
+ var _DYN_REPLACE = "replace";
2568
+ var _DYN_SUBSTRING = "substring";
2569
+ var _DYN_TO_STRING$1 = "toString";
2570
+ var _DYN_IS_ERROR = "isError";
2571
+
2572
+ var DEFAULT_BREEZE_ENDPOINT = "https://dc.services.visualstudio.com";
2573
+ var DEFAULT_BREEZE_PATH = "/v2/track";
2574
+ var strNotSpecified = "not_specified";
2575
+
2471
2576
  function createDomEvent(eventName) {
2472
2577
  var event = null;
2473
2578
  if (isFunction(Event)) {
@@ -2483,13 +2588,18 @@ function createDomEvent(eventName) {
2483
2588
  return event;
2484
2589
  }
2485
2590
 
2591
+ var _DYN_LENGTH = "length";
2592
+ var _DYN_TO_LOWER_CASE = "toLowerCase";
2593
+ var _DYN_TO_STRING = "toString";
2594
+ var _DYN_REMOVE_ITEM = "removeItem";
2595
+
2486
2596
  var strEmpty = "";
2487
2597
  function stringToBoolOrDefault(str, defaultValue) {
2488
2598
  if (defaultValue === void 0) { defaultValue = false; }
2489
2599
  if (str === undefined || str === null) {
2490
2600
  return defaultValue;
2491
2601
  }
2492
- return str.toString().toLowerCase() === "true";
2602
+ return str.toString()[_DYN_TO_LOWER_CASE ]() === "true";
2493
2603
  }
2494
2604
  function msToTimeSpan(totalms) {
2495
2605
  if (isNaN(totalms) || totalms < 0) {
@@ -2501,10 +2611,10 @@ function msToTimeSpan(totalms) {
2501
2611
  var min = strEmpty + Math.floor(totalms / (1000 * 60)) % 60;
2502
2612
  var hour = strEmpty + Math.floor(totalms / (1000 * 60 * 60)) % 24;
2503
2613
  var days = Math.floor(totalms / (1000 * 60 * 60 * 24));
2504
- ms = ms.length === 1 ? "00" + ms : ms.length === 2 ? "0" + ms : ms;
2505
- sec = sec.length < 2 ? "0" + sec : sec;
2506
- min = min.length < 2 ? "0" + min : min;
2507
- hour = hour.length < 2 ? "0" + hour : hour;
2614
+ ms = ms[_DYN_LENGTH ] === 1 ? "00" + ms : ms[_DYN_LENGTH ] === 2 ? "0" + ms : ms;
2615
+ sec = sec[_DYN_LENGTH ] < 2 ? "0" + sec : sec;
2616
+ min = min[_DYN_LENGTH ] < 2 ? "0" + min : min;
2617
+ hour = hour[_DYN_LENGTH ] < 2 ? "0" + hour : hour;
2508
2618
  return (days > 0 ? days + "." : strEmpty) + hour + ":" + min + ":" + sec + "." + ms;
2509
2619
  }
2510
2620
  function getExtensionByName(extensions, identifier) {
@@ -2521,8 +2631,6 @@ function isCrossOriginError(message, url, lineNumber, columnNumber, error) {
2521
2631
  return !error && isString(message) && (message === "Script error." || message === "Script error");
2522
2632
  }
2523
2633
 
2524
- var strNotSpecified = "not_specified";
2525
-
2526
2634
  var StorageType = createEnumStyle({
2527
2635
  LocalStorage: 0 ,
2528
2636
  SessionStorage: 1
@@ -2546,11 +2654,11 @@ function _getVerifiedStorageObject(storageType) {
2546
2654
  if (isNullOrUndefined(getGlobal())) {
2547
2655
  return null;
2548
2656
  }
2549
- var uid = (new Date).toString();
2657
+ var uid = (new Date)[_DYN_TO_STRING ]();
2550
2658
  var storage = getGlobalInst(storageType === StorageType.LocalStorage ? "localStorage" : "sessionStorage");
2551
2659
  storage.setItem(uid, uid);
2552
2660
  var fail = storage.getItem(uid) !== uid;
2553
- storage.removeItem(uid);
2661
+ storage[_DYN_REMOVE_ITEM ](uid);
2554
2662
  if (!fail) {
2555
2663
  return storage;
2556
2664
  }
@@ -2606,7 +2714,7 @@ function utlRemoveStorage(logger, name) {
2606
2714
  var storage = _getLocalStorageObject();
2607
2715
  if (storage !== null) {
2608
2716
  try {
2609
- storage.removeItem(name);
2717
+ storage[_DYN_REMOVE_ITEM ](name);
2610
2718
  return true;
2611
2719
  }
2612
2720
  catch (e) {
@@ -2662,7 +2770,7 @@ function utlRemoveSessionStorage(logger, name) {
2662
2770
  var storage = _getSessionStorageObject();
2663
2771
  if (storage !== null) {
2664
2772
  try {
2665
- storage.removeItem(name);
2773
+ storage[_DYN_REMOVE_ITEM ](name);
2666
2774
  return true;
2667
2775
  }
2668
2776
  catch (e) {
@@ -2674,12 +2782,12 @@ function utlRemoveSessionStorage(logger, name) {
2674
2782
  }
2675
2783
 
2676
2784
  var _internalEndpoints = [
2677
- "https://dc.services.visualstudio.com/v2/track",
2678
- "https://breeze.aimon.applicationinsights.io/v2/track",
2679
- "https://dc-int.services.visualstudio.com/v2/track"
2785
+ DEFAULT_BREEZE_ENDPOINT + DEFAULT_BREEZE_PATH,
2786
+ "https://breeze.aimon.applicationinsights.io" + DEFAULT_BREEZE_PATH,
2787
+ "https://dc-int.services.visualstudio.com" + DEFAULT_BREEZE_PATH
2680
2788
  ];
2681
2789
  function isInternalApplicationInsightsEndpoint(endpointUrl) {
2682
- return arrIndexOf(_internalEndpoints, endpointUrl.toLowerCase()) !== -1;
2790
+ return arrIndexOf(_internalEndpoints, endpointUrl[_DYN_TO_LOWER_CASE ]()) !== -1;
2683
2791
  }
2684
2792
  var Util = {
2685
2793
  NotSpecified: strNotSpecified,
@@ -2722,157 +2830,25 @@ var Util = {
2722
2830
  getExtension: getExtensionByName
2723
2831
  };
2724
2832
 
2725
- var BG_INFO = "#F0F6FF", BG_ERROR = "#FEF0F1", ICON_ERROR = "#E00B1C", BTN_PRIMARY = "#0078d4", BTN_HOVER = "#106EBE", BTN_ACTIVE = "#005A9E", TEXT_PRIMARY = "#323130", TEXT_MATCHED = "yellow", BORDER_GREY_160 = "1px solid #605E5C", BORDER_GREY_60 = "1px solid #B3B0AD";
2726
- console.log(Util.getIEVersion());
2727
- var tempStyle = function (prefix) { return "\n .".concat(prefix, "-dbg-lgr-dashboard {\n z-index: 1000\n }\n\n .").concat(prefix, "-dbg-lgr-dashboard .controls {\n width: 90%;\n min-width: 600px;\n position: relative;\n margin: auto;\n left: 0;\n right: 0;\n font-family: monospace;\n font-size: 16px;\n border-color: ").concat(BG_INFO, ";\n border: 1px solid;\n background-color: transparent;\n display: block;\n padding-top: 3px;\n padding-bottom: 3px;\n }\n\n .").concat(prefix, "-dbg-lgr-dashboard .controls > div {\n display: inline-block;\n position: relative;\n padding: 3px 20px;\n z-index: 1010\n }\n\n .").concat(prefix, "-dbg-lgr {\n width: 90%;\n min-width: 600px;\n height: 80%;\n position: relative;\n margin: auto;\n left: 0;\n right: 0;\n font-family: monospace;\n font-size: 16px;\n overflow-y: scroll;\n overflow-x: ").concat((Util.getIEVersion()) ? "scroll" : "hidden", ";\n border: ").concat(BORDER_GREY_160, ";\n border-radius: 2px;\n }\n\n .").concat(prefix, "-dbg-lgr div:focus {\n outline: 2px solid black;\n }\n\n ").concat(Util.getIEVersion() && Util.getIEVersion() < 9
2728
- ? ""
2729
- : ".".concat(prefix, "-dbg-lgr .tree-root div::before {\n content: '';\n position: absolute;\n left: -1.25em;\n height: 100%;\n border-right: 2px dotted #CCCCCC;\n }"), "\n\n .").concat(prefix, "-dbg-lgr .tree-root div:hover::before {\n border-right: 2px solid #000;\n }\n\n .").concat(prefix, "-dbg-lgr > div {\n display: block;\n position: relative;\n }\n\n .").concat(prefix, "-dbg-lgr > div:not(.controls) div {\n display: block;\n position: relative;\n margin-left: 2em;\n width: 100%;\n }\n\n .").concat(prefix, "-dbg-lgr .expandable {\n cursor: pointer;\n }\n\n .").concat(prefix, "-dbg-lgr > .tree-root div > span {\n width: 100%;\n display: block;\n }\n\n .").concat(prefix, "-dbg-lgr .exception {\n background-color: ").concat(BG_ERROR, ";\n color: ").concat(TEXT_PRIMARY, ";\n }\n\n .").concat(prefix, "-dbg-lgr .matched-text-filter {\n background-color: ").concat(TEXT_MATCHED, ";\n }\n\n ").concat(Util.getIEVersion() && Util.getIEVersion() < 9
2730
- ? ""
2731
- : ".".concat(prefix, "-dbg-lgr .expandable.open::before {\n content: '[-] ';\n font-weight: bold;\n }\n\n .").concat(prefix, "-dbg-lgr .expandable.closed::before {\n content: '[+] ';\n font-weight: bold;\n }"), "\n\n .").concat(prefix, "-dbg-lgr div:hover > .obj-key {\n text-decoration: underline;\n }\n\n .").concat(prefix, "-dbg-lgr .obj-time {\n padding-right: 15px;\n color: #605E5C;\n }\n \n .").concat(prefix, "-dbg-lgr .object {pointer-events: auto;}\n .").concat(prefix, "-dbg-lgr .function {color: #881391;}\n .").concat(prefix, "-dbg-lgr .string {color: #CB3632;}\n .").concat(prefix, "-dbg-lgr .number {color: #1C00CF;}\n .").concat(prefix, "-dbg-lgr .key {color: #881391; font-weight: bold;}\n .").concat(prefix, "-dbg-lgr .empty {color: #AAAAAA; font-style: italic;}\n\n .").concat(prefix, "-dbg-lgr-dashboard ").concat(prefix, "-last-selected-element > span {\n display: block;\n background-color: black;\n border-radius: 2px;\n color: white\n }\n .").concat(prefix, "-last-selected-element > span > span,\n .").concat(prefix, "-last-selected-element > span > span[class] {\n color: white;\n }\n\n .").concat(prefix, "-dbg-lgr-dashboard #close-dashboard {\n float: right;\n margin-right: 2em;\n }\n\n .").concat(prefix, "-dbg-lgr-dashboard .btn-primary {\n display: inline-block;\n background-color: ").concat(BTN_PRIMARY, ";\n color: #FFFFFF;\n border-radius: 2px;\n cursor: pointer;\n border: 1px solid;\n padding: 3px 20px;\n margin-left: 2em;\n height: 24px;\n min-width: 80px;\n }\n\n .").concat(prefix, "-dbg-lgr-dashboard .btn-primary:hover {\n background-color: ").concat(BTN_HOVER, ";\n }\n\n .").concat(prefix, "-dbg-lgr-dashboard .btn-primary:active {\n background-color: ").concat(BTN_ACTIVE, ";\n }\n\n .").concat(prefix, "-dbg-lgr-dashboard .btn-secondary {\n display: inline-block;\n border: 1px solid;\n bolder-color: ").concat(BTN_PRIMARY, ";\n color: ").concat(BTN_PRIMARY, ";\n background-color: transparent;\n border-radius: 2px;\n cursor: pointer;\n border: 1px solid;\n padding: 3px 20px;\n margin-left: 2em;\n height: 24px;\n }\n\n .").concat(prefix, "-dbg-lgr-dashboard .btn-secondary:hover {\n background-color: ").concat(BTN_HOVER, ";\n color: #FFFFFF;\n }\n\n .").concat(prefix, "-dbg-lgr-dashboard .btn-secondary:active {\n background-color: ").concat(BTN_ACTIVE, ";\n color: #FFFFFF;\n }\n \n .").concat(prefix, "-dbg-lgr-dashboard .filterlist {\n position: relative;\n display: inline-block;\n vertical-align: middle;\n width: 180px;\n min-height: 24px;\n margin-left: 2em;\n user-select: none;\n cursor: pointer;\n }\n .").concat(prefix, "-dbg-lgr-dashboard .filterlist-input {\n position: relative;\n padding: 3px 8px;\n border: ").concat(BORDER_GREY_60, ";\n border-radius: 2px;\n }\n\n ").concat(Util.getIEVersion() && Util.getIEVersion() < 9
2732
- ? ""
2733
- : ".".concat(prefix, "-dbg-lgr-dashboard .filterlist-input::after {\n content: '';\n width: 8px;\n height: 8px;\n position: absolute;\n right: 8px;\n top: 5px;\n margin: auto;\n transform: rotate(45deg);\n border: ").concat(BORDER_GREY_160, ";\n border-top: none;\n border-left: none;\n }"), "\n\n .").concat(prefix, "-dbg-lgr-dashboard .filterlist-input:focus {\n border: ").concat(BORDER_GREY_60, "\n }\n\n .").concat(prefix, "-dbg-lgr-dashboard .filterlist-dropdown {\n position: absolute;\n top: 100%;\n margin: auto;\n background-color: #FFFFFF;\n overflow: hidden;\n min-width: 180px;\n box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.16);\n }\n\n .").concat(prefix, "-dbg-lgr-dashboard .filterlist-toggle {\n position: relative;\n padding: 3px 8px;\n height: 32px;\n width: 100%;\n ").concat((Util.getIEVersion()) ? "" : "box-sizing: border-box;", "\n }\n\n .").concat(prefix, "-dbg-lgr-dashboard .filterlist-toggle:focus {\n outline: none;\n border: ").concat(BORDER_GREY_60, ";\n }\n\n .").concat(prefix, "-dbg-lgr-dashboard .text-filter-input {\n font-family: monospace;\n margin-left: 2em;\n padding: 3px 8px;\n width: 180px;\n height: 24px;\n border-radius: 2px;\n border: ").concat(BORDER_GREY_160, ";\n }\n\n .").concat(prefix, "-dbg-lgr-dashboard .text-filter-input:focus {\n border: ").concat(BORDER_GREY_60, ";\n }\n\n .").concat(prefix, "-dbg-lgr-dashboard .label {\n vertical-align: middle;\n width: 80%;\n display: inline-block;\n }\n\n .").concat(prefix, "-dbg-lgr-dashboard .checkbox {\n display: inline-block;\n width: 18px;\n height: 18px;\n border-radius: 2px;\n vertical-align: middle;\n margin-right: 8px;\n ").concat((Util.getIEVersion()) ? "" : "box-sizing: border-box;", "\n }\n\n .").concat(prefix, "-dbg-lgr-dashboard .checkbox.on {\n background-color: #0078D4;\n }\n\n ").concat(Util.getIEVersion() && Util.getIEVersion() < 9
2734
- ? ""
2735
- : ".".concat(prefix, "-dbg-lgr-dashboard .checkbox.on::after {\n content: '';\n width: 5px;\n height: 10px;\n display: inline-block;\n margin: 2px 6px;\n padding: 0;\n transform: rotate(45deg);\n border: 1px solid #FFFFFF;\n border-top: none;\n border-left: none;\n }"), "\n\n\n .").concat(prefix, "-dbg-lgr-dashboard .checkbox.off {\n border: ").concat(BORDER_GREY_160, ";\n }\n\n ").concat(Util.getIEVersion() && Util.getIEVersion() < 9
2736
- ? ""
2737
- : "@media only screen and (max-width: 600px) {\n .".concat(prefix, "-dbg-lgr {\n width: 100%;\n min-width: 200px;\n }\n }"), "\n\n"); };
2738
- var permStyle = function (prefix) { return "\n .".concat(prefix, "-debug-bin-container {\n position: fixed;\n ").concat(Util.getIEVersion() && Util.getIEVersion() < 9
2739
- ? "width: 100%;\n height: 100%;\n top: 0;\n left: 0;"
2740
- : "width: 100vw;\n height: 100vh;", "\n pointer-events: none;\n }\n\n .").concat(prefix, "-debug-bin-parent {\n position: fixed;\n right: 20px;\n margin: auto;\n padding: 10px;\n border-radius: 2px;\n min-height: 20px;\n min-width: 20px;\n overflow: hidden;\n pointer-events: auto;\n text-align: right;\n font-family: monospace;\n font-size: 16px;\n color: #FFFFFF;\n background-color: ").concat(BTN_PRIMARY, ";\n border: 2px solid #FFFFFF;\n transition: 2s color linear;\n cursor: pointer;\n transition: .2s width ease-in-out, .2s height ease-in-out;\n ").concat((Util.getIEVersion()) ? "" : "box-sizing: border-box;", "\n }\n\n .").concat(prefix, "-debug-bin-parent.active {\n background-color: ").concat(BG_INFO, ";\n color: ").concat(TEXT_PRIMARY, ";\n }\n\n .").concat(prefix, "-debug-bin-parent:focus {\n border: ").concat(BORDER_GREY_160, ";\n outline: none;\n }\n\n .").concat(prefix, "-debug-bin-parent.notify {\n background-color: ").concat(ICON_ERROR, ";\n }\n\n .").concat(prefix, "-debug-bin-parent button {\n display: block;\n width: 100%;\n background-color: ").concat(BTN_PRIMARY, ";\n color: #FFFFFF;\n border-radius: 2px;\n margin-bottom: 5px;\n margin-top: 10px;\n cursor: pointer;\n border: none;\n padding: 3px 20px;\n height: 24px;\n }\n\n .").concat(prefix, "-debug-bin-parent button:hover {\n background-color: ").concat(BTN_HOVER, ";\n }\n\n .").concat(prefix, "-debug-bin-parent button:active {\n background-color: ").concat(BTN_ACTIVE, ";\n }\n\n .").concat(prefix, "-debug-bin-parent .el-name {\n text-align: left;\n }\n\n .").concat(prefix, "-debug-bin-parent .el-value {\n display: inline-block;\n transform: scale(1);\n transition: 2s transform linear, 0s 2s font-weight linear;\n }\n\n ").concat(Util.getIEVersion() && Util.getIEVersion() < 9
2741
- ? ""
2742
- : ".".concat(prefix, "-debug-bin-parent.notify::after {\n content: \" (!)\";\n }"), "\n\n .").concat(prefix, "-debug-bin-parent .el-value.incremented {\n transform: scale(1.5);\n font-weight: bold;\n transition: 0s transform linear, 0s font-weight linear;\n }\n\n ").concat(Util.getIEVersion() && Util.getIEVersion() < 9
2743
- ? ""
2744
- : ".".concat(prefix, "-debug-bin-parent:focus > span::before,\n .").concat(prefix, "-debug-bin-parent:hover > span::before,\n .").concat(prefix, "-debug-bin-parent.active > span::before {\n content: attr(data-name) \": \";\n }"), "\n"); };
2745
-
2746
- var FilterList = /** @class */ (function () {
2747
- function FilterList(parent, trackers, toggleCb) {
2748
- var _this = this;
2749
- this.children = [];
2750
- this.getCurrentFilter = function () {
2751
- return _this.filterList;
2752
- };
2753
- var _self = this;
2754
- var active = false;
2755
- trackers = trackers.concat("other");
2756
- _self.filterList = [];
2757
- _self.el = document.createElement("div");
2758
- _self.el.className = "filterlist";
2759
- var inputEl = document.createElement("div");
2760
- inputEl.className = "filterlist-input";
2761
- inputEl.innerText = "filter nodes...";
2762
- _self.el.appendChild(inputEl);
2763
- var dropdownMenuEl = document.createElement("div");
2764
- dropdownMenuEl.className = "filterlist-dropdown";
2765
- _self.el.appendChild(dropdownMenuEl);
2766
- dropdownMenuEl.onkeyup = function (evt) {
2767
- if (active && evt.keyCode === 27) {
2768
- evt.stopPropagation();
2769
- _hideDropdown();
2770
- }
2771
- };
2772
- var _loop_1 = function (t) {
2773
- var chEl = document.createElement("div");
2774
- chEl.setAttribute("tabindex", "0");
2775
- chEl.setAttribute("filter-type", t);
2776
- chEl.className = "filterlist-toggle";
2777
- var checkbox = document.createElement("div");
2778
- checkbox.className = "checkbox on";
2779
- var label = document.createElement("span");
2780
- label.className = "label";
2781
- label.innerText = t;
2782
- chEl.appendChild(checkbox);
2783
- chEl.appendChild(label);
2784
- chEl.onkeyup = function (evt) {
2785
- if (active && evt.keyCode === 27) {
2786
- evt.stopPropagation();
2787
- _hideDropdown();
2788
- }
2789
- };
2790
- chEl.onclick = function (evt) {
2791
- evt.stopPropagation();
2792
- chEl.focus();
2793
- if (checkbox.className === "checkbox off") {
2794
- if (evt.shiftKey) {
2795
- _self.filterList = trackers.concat();
2796
- for (var _i = 0, _a = _self.children; _i < _a.length; _i++) {
2797
- var ch = _a[_i];
2798
- ch.childNodes[0].className = "checkbox off";
2799
- }
2800
- }
2801
- _self.filterList.splice(arrIndexOf(_self.filterList, t), 1);
2802
- checkbox.className = "checkbox on";
2803
- }
2804
- else {
2805
- if (evt.shiftKey) {
2806
- _self.filterList = [];
2807
- for (var _b = 0, _c = _self.children; _b < _c.length; _b++) {
2808
- var ch = _c[_b];
2809
- ch.childNodes[0].className = "checkbox on";
2810
- }
2811
- }
2812
- _self.filterList.push(t);
2813
- checkbox.className = "checkbox off";
2814
- }
2815
- toggleCb();
2816
- };
2817
- _self.children.push(chEl);
2818
- };
2819
- for (var _i = 0, trackers_1 = trackers; _i < trackers_1.length; _i++) {
2820
- var t = trackers_1[_i];
2821
- _loop_1(t);
2822
- }
2823
- function _hideDropdown() {
2824
- active = false;
2825
- for (var _i = 0, _a = _self.children; _i < _a.length; _i++) {
2826
- var ch = _a[_i];
2827
- dropdownMenuEl.removeChild(ch);
2828
- }
2829
- }
2830
- function _showDropdown() {
2831
- active = true;
2832
- for (var _i = 0, _a = _self.children; _i < _a.length; _i++) {
2833
- var ch = _a[_i];
2834
- dropdownMenuEl.appendChild(ch);
2835
- }
2836
- dropdownMenuEl.focus();
2837
- }
2838
- _self.el.onkeyup = function (evt) {
2839
- if (active && evt.keyCode === 27) {
2840
- evt.stopPropagation();
2841
- _hideDropdown();
2842
- }
2843
- };
2844
- _self.el.onclick = function () {
2845
- if (!active) {
2846
- _showDropdown();
2847
- }
2848
- else {
2849
- _hideDropdown();
2850
- }
2851
- };
2852
- parent.appendChild(_self.el);
2853
- }
2854
- return FilterList;
2855
- }());
2856
-
2857
2833
  var strConstructor = "constructor";
2858
2834
  var strGetOwnPropertyNames = "getOwnPropertyNames";
2859
2835
  var MAX_DEPTH = 16;
2860
2836
  function makeRegex(value) {
2861
- if (value && value.length > 0) {
2862
- value = value.replace(/\\/g, "\\\\");
2863
- value = value.replace(/([\+\?\|\{\}\[\]\(\)\^\$\#\.\=\!\:\/])/g, "\\$1");
2837
+ if (value && value[_DYN_LENGTH$1 ] > 0) {
2838
+ value = value[_DYN_REPLACE ](/\\/g, "\\\\");
2839
+ value = value[_DYN_REPLACE ](/([\+\?\|\{\}\[\]\(\)\^\$\#\.\=\!\:\/])/g, "\\$1");
2864
2840
  value = value.replace(/\*/g, ".*");
2865
2841
  return new RegExp("(" + value + ")");
2866
2842
  }
2867
2843
  return null;
2868
2844
  }
2869
2845
  function toggleClassName(el, className) {
2870
- var idx = el.className.indexOf(className);
2846
+ var idx = el[_DYN_CLASS_NAME ].indexOf(className);
2871
2847
  if (idx === -1) {
2872
- el.className += className;
2848
+ el[_DYN_CLASS_NAME ] += className;
2873
2849
  }
2874
2850
  else {
2875
- el.className = el.className.substring(0, idx) + el.className.substring(idx + className.length);
2851
+ el[_DYN_CLASS_NAME ] = el[_DYN_CLASS_NAME ][_DYN_SUBSTRING ](0, idx) + el[_DYN_CLASS_NAME ][_DYN_SUBSTRING ](idx + className[_DYN_LENGTH$1 ]);
2876
2852
  }
2877
2853
  }
2878
2854
  function traverseAndReplace(target, maxDepth, currentDepth, thingsReferenced, excludedKeys, includeFunctions) {
@@ -2885,7 +2861,7 @@ function traverseAndReplace(target, maxDepth, currentDepth, thingsReferenced, ex
2885
2861
  var key = _a[_i];
2886
2862
  var targetValue = target[key];
2887
2863
  if (isSymbol(targetValue)) {
2888
- targetValue = targetValue.toString();
2864
+ targetValue = targetValue[_DYN_TO_STRING$1 ]();
2889
2865
  }
2890
2866
  if (targetValue !== null && arrIndexOf(thingsReferenced, targetValue) !== -1) {
2891
2867
  out[key] = "<circular (".concat(key, " - \"").concat(getTargetName(targetValue), "\")>");
@@ -2895,7 +2871,7 @@ function traverseAndReplace(target, maxDepth, currentDepth, thingsReferenced, ex
2895
2871
  out[key] = "<max allowed depth reached>";
2896
2872
  }
2897
2873
  else {
2898
- thingsReferenced.push(target);
2874
+ thingsReferenced[_DYN_PUSH ](target);
2899
2875
  out[key] = traverseAndReplace(targetValue, maxDepth, currentDepth + 1, thingsReferenced, excludedKeys, includeFunctions);
2900
2876
  thingsReferenced.pop();
2901
2877
  }
@@ -2909,9 +2885,9 @@ function traverseAndReplace(target, maxDepth, currentDepth, thingsReferenced, ex
2909
2885
  }
2910
2886
  function _sanitizeText(value) {
2911
2887
  if (value) {
2912
- value = value.replace(/&/g, "&amp;");
2913
- value = value.replace(/>/g, "&gt;");
2914
- value = value.replace(/</g, "&lt;");
2888
+ value = value[_DYN_REPLACE ](/&/g, "&amp;");
2889
+ value = value[_DYN_REPLACE ](/>/g, "&gt;");
2890
+ value = value[_DYN_REPLACE ](/</g, "&lt;");
2915
2891
  }
2916
2892
  return value;
2917
2893
  }
@@ -2924,19 +2900,19 @@ function _setInnerText(elm, theText, textFilter) {
2924
2900
  var matchTxt = rg.exec(innerText);
2925
2901
  if (matchTxt && matchTxt[1]) {
2926
2902
  matchPos = theText.indexOf(matchTxt[1]);
2927
- matchLen = matchTxt[1].length;
2903
+ matchLen = matchTxt[1][_DYN_LENGTH$1 ];
2928
2904
  }
2929
2905
  }
2930
2906
  if (matchPos !== -1) {
2931
- var innerHtml = _sanitizeText(theText.substring(0, matchPos)) +
2907
+ var innerHtml = _sanitizeText(theText[_DYN_SUBSTRING ](0, matchPos)) +
2932
2908
  "<span class=\"matched-text-filter\">" +
2933
- _sanitizeText(theText.substring(matchPos, matchPos + matchLen)) +
2909
+ _sanitizeText(theText[_DYN_SUBSTRING ](matchPos, matchPos + matchLen)) +
2934
2910
  "</span>" +
2935
- theText.substring(matchPos + matchLen);
2936
- elm.innerHTML = innerHtml;
2911
+ theText[_DYN_SUBSTRING ](matchPos + matchLen);
2912
+ elm[_DYN_INNER_HTML ] = innerHtml;
2937
2913
  return true;
2938
2914
  }
2939
- elm.innerText = theText;
2915
+ elm[_DYN_INNER_TEXT ] = theText;
2940
2916
  return false;
2941
2917
  }
2942
2918
  var lastSelectedElement;
@@ -2946,53 +2922,53 @@ function copySelectedTree() {
2946
2922
  if (!toCopy) {
2947
2923
  return;
2948
2924
  }
2949
- var textArea = document.createElement("textarea");
2950
- textArea.innerText = JSON.stringify(toCopy);
2925
+ var textArea = document[_DYN_CREATE_ELEMENT ]("textarea");
2926
+ textArea[_DYN_INNER_TEXT ] = JSON.stringify(toCopy);
2951
2927
  textArea.style.opacity = "0";
2952
- document.body.appendChild(textArea);
2928
+ document.body[_DYN_APPEND_CHILD ](textArea);
2953
2929
  textArea.select();
2954
2930
  document.execCommand("copy");
2955
- textArea.parentElement.removeChild(textArea);
2931
+ textArea[_DYN_PARENT_ELEMENT ][_DYN_REMOVE_CHILD ](textArea);
2956
2932
  }
2957
2933
  function focusHandler(evt, target, level, excludeKeys, includeFunctions) {
2958
2934
  if (lastSelectedElement) {
2959
2935
  toggleClassName(lastSelectedElement, " last-selected-element");
2960
2936
  }
2961
- lastSelectedElement = evt.target;
2937
+ lastSelectedElement = evt[_DYN_TARGET ];
2962
2938
  for (var i = 0; i < 10; i++) {
2963
2939
  if (lastSelectedElement.tagName === "DIV") {
2964
2940
  break;
2965
2941
  }
2966
- lastSelectedElement = lastSelectedElement.parentElement;
2942
+ lastSelectedElement = lastSelectedElement[_DYN_PARENT_ELEMENT ];
2967
2943
  }
2968
- lastSelectedElement.className += " last-selected-element";
2944
+ lastSelectedElement[_DYN_CLASS_NAME ] += " last-selected-element";
2969
2945
  selectedObject = traverseAndReplace(target, MAX_DEPTH, level, null, excludeKeys, includeFunctions);
2970
2946
  }
2971
2947
  function _navHandler(evt, openHandler, currentState) {
2972
- var el = evt.target;
2948
+ var el = evt[_DYN_TARGET ];
2973
2949
  switch (evt.which) {
2974
2950
  case 13:
2975
2951
  (openHandler) ? openHandler(evt) : void 0;
2976
2952
  break;
2977
2953
  case 38:
2978
- evt.preventDefault();
2954
+ evt[_DYN_PREVENT_DEFAULT ]();
2979
2955
  var prev = el.previousElementSibling;
2980
2956
  if (prev && prev.tagName !== "BUTTON") {
2981
- prev.focus();
2957
+ prev[_DYN_FOCUS ]();
2982
2958
  }
2983
2959
  break;
2984
2960
  case 40:
2985
- evt.preventDefault();
2961
+ evt[_DYN_PREVENT_DEFAULT ]();
2986
2962
  var next = el.nextElementSibling;
2987
2963
  if (next) {
2988
- next.focus();
2964
+ next[_DYN_FOCUS ]();
2989
2965
  }
2990
2966
  break;
2991
2967
  case 39:
2992
2968
  if (openHandler) {
2993
2969
  openHandler(evt, true);
2994
2970
  if (currentState) {
2995
- el.firstElementChild.nextSibling.focus();
2971
+ el.firstElementChild.nextSibling[_DYN_FOCUS ]();
2996
2972
  }
2997
2973
  }
2998
2974
  break;
@@ -3001,29 +2977,29 @@ function _navHandler(evt, openHandler, currentState) {
3001
2977
  openHandler(evt, false);
3002
2978
  }
3003
2979
  if (!currentState) {
3004
- el.parentElement.focus();
2980
+ el[_DYN_PARENT_ELEMENT ][_DYN_FOCUS ]();
3005
2981
  }
3006
2982
  break;
3007
2983
  case 67:
3008
2984
  if (evt.ctrlKey) {
3009
2985
  copySelectedTree();
3010
- evt.target.focus();
2986
+ evt[_DYN_TARGET ][_DYN_FOCUS ]();
3011
2987
  }
3012
2988
  break;
3013
2989
  }
3014
2990
  }
3015
2991
  function getTargetName(target) {
3016
2992
  if (target) {
3017
- if (isString(target.identifier)) {
3018
- return target.identifier;
2993
+ if (isString(target[_DYN_IDENTIFIER ])) {
2994
+ return target[_DYN_IDENTIFIER ];
3019
2995
  }
3020
- if (isString(target.name)) {
3021
- return target.name;
2996
+ if (isString(target[_DYN_NAME ])) {
2997
+ return target[_DYN_NAME ];
3022
2998
  }
3023
2999
  if (hasOwnProperty(target, strShimPrototype)) {
3024
- return target.name || "";
3000
+ return target[_DYN_NAME ] || "";
3025
3001
  }
3026
- return ((target[strConstructor]) || {}).name || "";
3002
+ return ((target[strConstructor]) || {})[_DYN_NAME ] || "";
3027
3003
  }
3028
3004
  return "";
3029
3005
  }
@@ -3032,7 +3008,7 @@ function _toString(value) {
3032
3008
  return value;
3033
3009
  }
3034
3010
  if (isSymbol(value)) {
3035
- return value.toString();
3011
+ return value[_DYN_TO_STRING$1 ]();
3036
3012
  }
3037
3013
  if (isFunction(value["toString"])) {
3038
3014
  return value["toString"]() || "";
@@ -3049,7 +3025,7 @@ function getTargetKeys(target, excludedKeys, includeFunctions) {
3049
3025
  arrForEach(propKeys, function (key) {
3050
3026
  var theKey = _toString(key);
3051
3027
  if (theKey && arrIndexOf(keys, theKey) === -1) {
3052
- keys.push(key);
3028
+ keys[_DYN_PUSH ](key);
3053
3029
  }
3054
3030
  });
3055
3031
  }
@@ -3065,7 +3041,7 @@ function getTargetKeys(target, excludedKeys, includeFunctions) {
3065
3041
  }
3066
3042
  var theKey = _toString(key);
3067
3043
  if (theKey && arrIndexOf(excludedKeys, theKey) === -1) {
3068
- theKeys.push(theKey);
3044
+ theKeys[_DYN_PUSH ](theKey);
3069
3045
  }
3070
3046
  });
3071
3047
  return theKeys;
@@ -3078,28 +3054,28 @@ function formatLogElements(target, tmLabel, key, level, textFilter, excludeKeys,
3078
3054
  if (!thingsReferenced) {
3079
3055
  thingsReferenced = [];
3080
3056
  }
3081
- var isObj = isObject(target) || Util.isError(target);
3082
- var isErr = target["baseType"] === "ExceptionData" || Util.isError(target);
3057
+ var isObj = isObject(target) || Util[_DYN_IS_ERROR ](target);
3058
+ var isErr = target["baseType"] === "ExceptionData" || Util[_DYN_IS_ERROR ](target);
3083
3059
  var children = [];
3084
3060
  function _openNode(currentLine) {
3085
3061
  openState = true;
3086
3062
  arrForEach(children, function (child) {
3087
- rootDiv.appendChild(child);
3063
+ rootDiv[_DYN_APPEND_CHILD ](child);
3088
3064
  });
3089
- currentLine.className = "obj-key expandable open";
3065
+ currentLine[_DYN_CLASS_NAME ] = "obj-key expandable open";
3090
3066
  }
3091
3067
  function _collapseNode(currentLine) {
3092
3068
  arrForEach(children, function (child) {
3093
- rootDiv.removeChild(child);
3069
+ rootDiv[_DYN_REMOVE_CHILD ](child);
3094
3070
  });
3095
3071
  openState = false;
3096
- currentLine.className = "obj-key expandable closed";
3072
+ currentLine[_DYN_CLASS_NAME ] = "obj-key expandable closed";
3097
3073
  }
3098
3074
  var matched = false;
3099
3075
  var childOpened = false;
3100
3076
  var keys = getTargetKeys(target, excludeKeys, includeFunctions);
3101
- if (keys.length === 0) {
3102
- keys.push("<empty>");
3077
+ if (keys[_DYN_LENGTH$1 ] === 0) {
3078
+ keys[_DYN_PUSH ]("<empty>");
3103
3079
  }
3104
3080
  if (level >= MAX_DEPTH) {
3105
3081
  keys.unshift("<maxdepth>");
@@ -3111,29 +3087,29 @@ function formatLogElements(target, tmLabel, key, level, textFilter, excludeKeys,
3111
3087
  }
3112
3088
  var targetValue = target[key_1];
3113
3089
  if (isSymbol(targetValue)) {
3114
- targetValue = targetValue.toString();
3090
+ targetValue = targetValue[_DYN_TO_STRING$1 ]();
3115
3091
  }
3116
3092
  if (key_1 === "<maxdepth>") {
3117
- var builder = document.createElement("div");
3118
- builder.className = "empty";
3119
- builder.innerText = "<max allowed depth reached>";
3120
- children.push(builder);
3093
+ var builder = document[_DYN_CREATE_ELEMENT ]("div");
3094
+ builder[_DYN_CLASS_NAME ] = "empty";
3095
+ builder[_DYN_INNER_TEXT ] = "<max allowed depth reached>";
3096
+ children[_DYN_PUSH ](builder);
3121
3097
  break;
3122
3098
  }
3123
3099
  else if (key_1 === "<empty>") {
3124
- var builder = document.createElement("div");
3125
- builder.className = "empty";
3126
- builder.innerText = "<empty>";
3127
- children.push(builder);
3100
+ var builder = document[_DYN_CREATE_ELEMENT ]("div");
3101
+ builder[_DYN_CLASS_NAME ] = "empty";
3102
+ builder[_DYN_INNER_TEXT ] = "<empty>";
3103
+ children[_DYN_PUSH ](builder);
3128
3104
  }
3129
3105
  else if (targetValue !== null && arrIndexOf(thingsReferenced, targetValue) !== -1) {
3130
- var builder = document.createElement("div");
3131
- builder.className = "empty";
3132
- builder.innerText = "<circular (".concat(key_1, ") - \"").concat(getTargetName(targetValue), "\">");
3133
- children.push(builder);
3106
+ var builder = document[_DYN_CREATE_ELEMENT ]("div");
3107
+ builder[_DYN_CLASS_NAME ] = "empty";
3108
+ builder[_DYN_INNER_TEXT ] = "<circular (".concat(key_1, ") - \"").concat(getTargetName(targetValue), "\">");
3109
+ children[_DYN_PUSH ](builder);
3134
3110
  }
3135
- else if (targetValue !== null && (isObject(targetValue) || Util.isError(targetValue))) {
3136
- thingsReferenced.push(target);
3111
+ else if (targetValue !== null && (isObject(targetValue) || Util[_DYN_IS_ERROR ](targetValue))) {
3112
+ thingsReferenced[_DYN_PUSH ](target);
3137
3113
  var formatted = formatLogElements(targetValue, null, key_1, level + 1, textFilter, excludeKeys, thingsReferenced, includeFunctions);
3138
3114
  thingsReferenced.pop();
3139
3115
  if (formatted.matched) {
@@ -3142,34 +3118,34 @@ function formatLogElements(target, tmLabel, key, level, textFilter, excludeKeys,
3142
3118
  if (formatted.isErr) {
3143
3119
  isErr = true;
3144
3120
  }
3145
- children.push(formatted.root);
3121
+ children[_DYN_PUSH ](formatted.root);
3146
3122
  }
3147
3123
  else {
3148
- var builder = document.createElement("div");
3149
- builder.setAttribute("tabindex", "0");
3150
- builder.onclick = function (evt) {
3151
- evt.stopPropagation();
3124
+ var builder = document[_DYN_CREATE_ELEMENT ]("div");
3125
+ builder[_DYN_SET_ATTRIBUTE ]("tabindex", "0");
3126
+ builder[_DYN_ONCLICK ] = function (evt) {
3127
+ evt[_DYN_STOP_PROPAGATION ]();
3152
3128
  };
3153
- builder.ontouchend = function (evt) {
3154
- evt.stopPropagation();
3129
+ builder[_DYN_ONTOUCHEND ] = function (evt) {
3130
+ evt[_DYN_STOP_PROPAGATION ]();
3155
3131
  };
3156
- builder.onkeydown = function (evt) {
3157
- evt.stopPropagation();
3132
+ builder[_DYN_ONKEYDOWN ] = function (evt) {
3133
+ evt[_DYN_STOP_PROPAGATION ]();
3158
3134
  _navHandler(evt);
3159
3135
  };
3160
3136
  builder.onfocus = function (evt) {
3161
3137
  focusHandler(evt, target, level, excludeKeys, includeFunctions);
3162
3138
  };
3163
- var outerSpan = document.createElement("span");
3164
- var keySpan = document.createElement("span");
3165
- keySpan.className = "key";
3139
+ var outerSpan = document[_DYN_CREATE_ELEMENT ]("span");
3140
+ var keySpan = document[_DYN_CREATE_ELEMENT ]("span");
3141
+ keySpan[_DYN_CLASS_NAME ] = "key";
3166
3142
  if (_setInnerText(keySpan, "".concat(key_1, ": "), textFilter)) {
3167
3143
  childOpened = true;
3168
3144
  }
3169
- outerSpan.appendChild(keySpan);
3170
- var valueSpan = document.createElement("span");
3145
+ outerSpan[_DYN_APPEND_CHILD ](keySpan);
3146
+ var valueSpan = document[_DYN_CREATE_ELEMENT ]("span");
3171
3147
  if (isFunction(targetValue)) {
3172
- var fnStr = targetValue.toString();
3148
+ var fnStr = targetValue[_DYN_TO_STRING$1 ]();
3173
3149
  var fnHead = fnStr.match(/^([^{]+)/)[1];
3174
3150
  valueSpan.textContent = "".concat(fnHead, "{...}");
3175
3151
  }
@@ -3178,16 +3154,16 @@ function formatLogElements(target, tmLabel, key, level, textFilter, excludeKeys,
3178
3154
  childOpened = true;
3179
3155
  }
3180
3156
  }
3181
- valueSpan.className = "".concat(typeof targetValue);
3182
- outerSpan.appendChild(valueSpan);
3183
- builder.appendChild(outerSpan);
3184
- children.push(builder);
3157
+ valueSpan[_DYN_CLASS_NAME ] = "".concat(typeof targetValue);
3158
+ outerSpan[_DYN_APPEND_CHILD ](valueSpan);
3159
+ builder[_DYN_APPEND_CHILD ](outerSpan);
3160
+ children[_DYN_PUSH ](builder);
3185
3161
  }
3186
3162
  }
3187
- var rootDiv = document.createElement("div");
3163
+ var rootDiv = document[_DYN_CREATE_ELEMENT ]("div");
3188
3164
  var innerText = "";
3189
- var currentLine = document.createElement("span");
3190
- if (isObj || children.length) {
3165
+ var currentLine = document[_DYN_CREATE_ELEMENT ]("span");
3166
+ if (isObj || children[_DYN_LENGTH$1 ]) {
3191
3167
  innerText = "".concat(key ? key : "obj", ": ");
3192
3168
  if (Util.isArray(target)) {
3193
3169
  innerText += "[".concat(getTargetKeys(target, excludeKeys, includeFunctions).length, "]");
@@ -3201,32 +3177,32 @@ function formatLogElements(target, tmLabel, key, level, textFilter, excludeKeys,
3201
3177
  }
3202
3178
  matched = _setInnerText(currentLine, innerText, textFilter);
3203
3179
  if (tmLabel) {
3204
- var tmWrapper = document.createElement("span");
3205
- var tmDetails = document.createElement("span");
3206
- tmDetails.className = "obj-time";
3207
- tmDetails.innerText = tmLabel;
3208
- tmWrapper.appendChild(tmDetails);
3209
- tmWrapper.appendChild(currentLine);
3180
+ var tmWrapper = document[_DYN_CREATE_ELEMENT ]("span");
3181
+ var tmDetails = document[_DYN_CREATE_ELEMENT ]("span");
3182
+ tmDetails[_DYN_CLASS_NAME ] = "obj-time";
3183
+ tmDetails[_DYN_INNER_TEXT ] = tmLabel;
3184
+ tmWrapper[_DYN_APPEND_CHILD ](tmDetails);
3185
+ tmWrapper[_DYN_APPEND_CHILD ](currentLine);
3210
3186
  currentLine = tmWrapper;
3211
3187
  }
3212
- currentLine.className = "obj-key expandable closed";
3188
+ currentLine[_DYN_CLASS_NAME ] = "obj-key expandable closed";
3213
3189
  }
3214
3190
  else {
3215
3191
  innerText = "".concat(key ? key : "obj", ": ").concat(target.toString());
3216
3192
  matched = _setInnerText(currentLine, innerText, textFilter);
3217
- currentLine.className = "obj-key";
3193
+ currentLine[_DYN_CLASS_NAME ] = "obj-key";
3218
3194
  }
3219
- rootDiv.appendChild(currentLine);
3220
- rootDiv.setAttribute("tabindex", "0");
3195
+ rootDiv[_DYN_APPEND_CHILD ](currentLine);
3196
+ rootDiv[_DYN_SET_ATTRIBUTE ]("tabindex", "0");
3221
3197
  if (childOpened) {
3222
3198
  _openNode(currentLine);
3223
3199
  }
3224
3200
  if (isObj) {
3225
3201
  if (isErr) {
3226
- rootDiv.className = "exception";
3202
+ rootDiv[_DYN_CLASS_NAME ] = "exception";
3227
3203
  }
3228
3204
  var openHandler_1 = function (evt, forceState) {
3229
- evt.stopPropagation();
3205
+ evt[_DYN_STOP_PROPAGATION ]();
3230
3206
  if (Util.getIEVersion()) {
3231
3207
  focusHandler(evt, target, level, excludeKeys, includeFunctions);
3232
3208
  }
@@ -3242,13 +3218,13 @@ function formatLogElements(target, tmLabel, key, level, textFilter, excludeKeys,
3242
3218
  }
3243
3219
  }
3244
3220
  };
3245
- rootDiv.onkeydown = function (evt) {
3221
+ rootDiv[_DYN_ONKEYDOWN ] = function (evt) {
3246
3222
  _navHandler(evt, openHandler_1, openState);
3247
3223
  };
3248
- rootDiv.onclick = function (evt) {
3224
+ rootDiv[_DYN_ONCLICK ] = function (evt) {
3249
3225
  openHandler_1(evt);
3250
3226
  };
3251
- rootDiv.ontouchend = function (evt) {
3227
+ rootDiv[_DYN_ONTOUCHEND ] = function (evt) {
3252
3228
  openHandler_1(evt);
3253
3229
  };
3254
3230
  rootDiv.onfocus = function (evt) {
@@ -3280,15 +3256,15 @@ var LogEntry = /** @class */ (function () {
3280
3256
  function _testObj(rg, value, excludedKeys, includeFunctions) {
3281
3257
  if (value !== null && value !== undefined && value !== "") {
3282
3258
  if (Util.isArray(value)) {
3283
- for (var lp = 0; lp < value.length; lp++) {
3259
+ for (var lp = 0; lp < value[_DYN_LENGTH$1 ]; lp++) {
3284
3260
  if (_testObj(rg, value[lp], excludedKeys, includeFunctions)) {
3285
3261
  return true;
3286
3262
  }
3287
3263
  }
3288
3264
  }
3289
- else if (isObject(value) || Util.isError(value)) {
3265
+ else if (isObject(value) || Util[_DYN_IS_ERROR ](value)) {
3290
3266
  var keys = getTargetKeys(value, excludedKeys, includeFunctions);
3291
- for (var lp = 0; lp < keys.length; lp++) {
3267
+ for (var lp = 0; lp < keys[_DYN_LENGTH$1 ]; lp++) {
3292
3268
  var key_1 = keys[lp];
3293
3269
  if (_testValue(rg, key_1) || _testObj(rg, value[key_1], excludedKeys, includeFunctions)) {
3294
3270
  return true;
@@ -3317,15 +3293,15 @@ var LogEntry = /** @class */ (function () {
3317
3293
  }
3318
3294
  return true;
3319
3295
  };
3320
- _self.render = function (textFilter, excludeKeys, includeFunctions) {
3296
+ _self[_DYN_RENDER ] = function (textFilter, excludeKeys, includeFunctions) {
3321
3297
  if (!theEl || lastTextFilter !== textFilter) {
3322
3298
  lastTextFilter = textFilter;
3323
3299
  var ms = "" + tm;
3324
- while (ms.length < 4) {
3300
+ while (ms[_DYN_LENGTH$1 ] < 4) {
3325
3301
  ms = "0" + ms;
3326
3302
  }
3327
- ms = ms.replace(/(.)(\d{3}){1}$/g, "$1.$2s");
3328
- while (ms.length <= 9) {
3303
+ ms = ms[_DYN_REPLACE ](/(.)(\d{3}){1}$/g, "$1.$2s");
3304
+ while (ms[_DYN_LENGTH$1 ] <= 9) {
3329
3305
  ms = " " + ms;
3330
3306
  }
3331
3307
  theEl = formatLogElements(target, "[".concat(ms, "]"), key, level, textFilter, excludeKeys, [], includeFunctions).root;
@@ -3333,7 +3309,7 @@ var LogEntry = /** @class */ (function () {
3333
3309
  }
3334
3310
  return theEl;
3335
3311
  };
3336
- _self.getEl = function () {
3312
+ _self[_DYN_GET_EL ] = function () {
3337
3313
  return theEl;
3338
3314
  };
3339
3315
  _self.getKind = function () {
@@ -3343,6 +3319,138 @@ var LogEntry = /** @class */ (function () {
3343
3319
  return LogEntry;
3344
3320
  }());
3345
3321
 
3322
+ var FilterList = /** @class */ (function () {
3323
+ function FilterList(parent, trackers, toggleCb) {
3324
+ var _this = this;
3325
+ this.children = [];
3326
+ this.getCurrentFilter = function () {
3327
+ return _this[_DYN_FILTER_LIST ];
3328
+ };
3329
+ var _self = this;
3330
+ var active = false;
3331
+ trackers = trackers.concat("other");
3332
+ _self[_DYN_FILTER_LIST ] = [];
3333
+ _self.el = document[_DYN_CREATE_ELEMENT ]("div");
3334
+ _self.el[_DYN_CLASS_NAME ] = "filterlist";
3335
+ var inputEl = document[_DYN_CREATE_ELEMENT ]("div");
3336
+ inputEl[_DYN_CLASS_NAME ] = "filterlist-input";
3337
+ inputEl[_DYN_INNER_TEXT ] = "filter nodes...";
3338
+ _self.el[_DYN_APPEND_CHILD ](inputEl);
3339
+ var dropdownMenuEl = document[_DYN_CREATE_ELEMENT ]("div");
3340
+ dropdownMenuEl[_DYN_CLASS_NAME ] = "filterlist-dropdown";
3341
+ _self.el[_DYN_APPEND_CHILD ](dropdownMenuEl);
3342
+ dropdownMenuEl[_DYN_ONKEYUP ] = function (evt) {
3343
+ if (active && evt.keyCode === 27) {
3344
+ evt[_DYN_STOP_PROPAGATION ]();
3345
+ _hideDropdown();
3346
+ }
3347
+ };
3348
+ var _loop_1 = function (t) {
3349
+ var chEl = document[_DYN_CREATE_ELEMENT ]("div");
3350
+ chEl[_DYN_SET_ATTRIBUTE ]("tabindex", "0");
3351
+ chEl[_DYN_SET_ATTRIBUTE ]("filter-type", t);
3352
+ chEl[_DYN_CLASS_NAME ] = "filterlist-toggle";
3353
+ var checkbox = document[_DYN_CREATE_ELEMENT ]("div");
3354
+ checkbox[_DYN_CLASS_NAME ] = "checkbox on";
3355
+ var label = document[_DYN_CREATE_ELEMENT ]("span");
3356
+ label[_DYN_CLASS_NAME ] = "label";
3357
+ label[_DYN_INNER_TEXT ] = t;
3358
+ chEl[_DYN_APPEND_CHILD ](checkbox);
3359
+ chEl[_DYN_APPEND_CHILD ](label);
3360
+ chEl[_DYN_ONKEYUP ] = function (evt) {
3361
+ if (active && evt.keyCode === 27) {
3362
+ evt[_DYN_STOP_PROPAGATION ]();
3363
+ _hideDropdown();
3364
+ }
3365
+ };
3366
+ chEl[_DYN_ONCLICK ] = function (evt) {
3367
+ evt[_DYN_STOP_PROPAGATION ]();
3368
+ chEl[_DYN_FOCUS ]();
3369
+ if (checkbox[_DYN_CLASS_NAME ] === "checkbox off") {
3370
+ if (evt.shiftKey) {
3371
+ _self[_DYN_FILTER_LIST ] = trackers.concat();
3372
+ for (var _i = 0, _a = _self[_DYN_CHILDREN ]; _i < _a.length; _i++) {
3373
+ var ch = _a[_i];
3374
+ ch.childNodes[0][_DYN_CLASS_NAME ] = "checkbox off";
3375
+ }
3376
+ }
3377
+ _self[_DYN_FILTER_LIST ].splice(arrIndexOf(_self[_DYN_FILTER_LIST ], t), 1);
3378
+ checkbox[_DYN_CLASS_NAME ] = "checkbox on";
3379
+ }
3380
+ else {
3381
+ if (evt.shiftKey) {
3382
+ _self[_DYN_FILTER_LIST ] = [];
3383
+ for (var _b = 0, _c = _self[_DYN_CHILDREN ]; _b < _c.length; _b++) {
3384
+ var ch = _c[_b];
3385
+ ch.childNodes[0][_DYN_CLASS_NAME ] = "checkbox on";
3386
+ }
3387
+ }
3388
+ _self.filterList[_DYN_PUSH ](t);
3389
+ checkbox[_DYN_CLASS_NAME ] = "checkbox off";
3390
+ }
3391
+ toggleCb();
3392
+ };
3393
+ _self.children[_DYN_PUSH ](chEl);
3394
+ };
3395
+ for (var _i = 0, trackers_1 = trackers; _i < trackers_1.length; _i++) {
3396
+ var t = trackers_1[_i];
3397
+ _loop_1(t);
3398
+ }
3399
+ function _hideDropdown() {
3400
+ active = false;
3401
+ for (var _i = 0, _a = _self[_DYN_CHILDREN ]; _i < _a.length; _i++) {
3402
+ var ch = _a[_i];
3403
+ dropdownMenuEl[_DYN_REMOVE_CHILD ](ch);
3404
+ }
3405
+ }
3406
+ function _showDropdown() {
3407
+ active = true;
3408
+ for (var _i = 0, _a = _self[_DYN_CHILDREN ]; _i < _a.length; _i++) {
3409
+ var ch = _a[_i];
3410
+ dropdownMenuEl[_DYN_APPEND_CHILD ](ch);
3411
+ }
3412
+ dropdownMenuEl[_DYN_FOCUS ]();
3413
+ }
3414
+ _self.el[_DYN_ONKEYUP ] = function (evt) {
3415
+ if (active && evt.keyCode === 27) {
3416
+ evt[_DYN_STOP_PROPAGATION ]();
3417
+ _hideDropdown();
3418
+ }
3419
+ };
3420
+ _self.el[_DYN_ONCLICK ] = function () {
3421
+ if (!active) {
3422
+ _showDropdown();
3423
+ }
3424
+ else {
3425
+ _hideDropdown();
3426
+ }
3427
+ };
3428
+ parent[_DYN_APPEND_CHILD ](_self.el);
3429
+ }
3430
+ return FilterList;
3431
+ }());
3432
+
3433
+ var BG_INFO = "#F0F6FF", BG_ERROR = "#FEF0F1", ICON_ERROR = "#E00B1C", BTN_PRIMARY = "#0078d4", BTN_HOVER = "#106EBE", BTN_ACTIVE = "#005A9E", TEXT_PRIMARY = "#323130", TEXT_MATCHED = "yellow", BORDER_GREY_160 = "1px solid #605E5C", BORDER_GREY_60 = "1px solid #B3B0AD";
3434
+ console.log(Util.getIEVersion());
3435
+ var tempStyle = function (prefix) { return "\n .".concat(prefix, "-dbg-lgr-dashboard {\n z-index: 1000\n }\n\n .").concat(prefix, "-dbg-lgr-dashboard .controls {\n width: 90%;\n min-width: 600px;\n position: relative;\n margin: auto;\n left: 0;\n right: 0;\n font-family: monospace;\n font-size: 16px;\n border-color: ").concat(BG_INFO, ";\n border: 1px solid;\n background-color: transparent;\n display: block;\n padding-top: 3px;\n padding-bottom: 3px;\n }\n\n .").concat(prefix, "-dbg-lgr-dashboard .controls > div {\n display: inline-block;\n position: relative;\n padding: 3px 20px;\n z-index: 1010\n }\n\n .").concat(prefix, "-dbg-lgr {\n width: 90%;\n min-width: 600px;\n height: 80%;\n position: relative;\n margin: auto;\n left: 0;\n right: 0;\n font-family: monospace;\n font-size: 16px;\n overflow-y: scroll;\n overflow-x: ").concat((Util.getIEVersion()) ? "scroll" : "hidden", ";\n border: ").concat(BORDER_GREY_160, ";\n border-radius: 2px;\n }\n\n .").concat(prefix, "-dbg-lgr div:focus {\n outline: 2px solid black;\n }\n\n ").concat(Util.getIEVersion() && Util.getIEVersion() < 9
3436
+ ? ""
3437
+ : ".".concat(prefix, "-dbg-lgr .tree-root div::before {\n content: '';\n position: absolute;\n left: -1.25em;\n height: 100%;\n border-right: 2px dotted #CCCCCC;\n }"), "\n\n .").concat(prefix, "-dbg-lgr .tree-root div:hover::before {\n border-right: 2px solid #000;\n }\n\n .").concat(prefix, "-dbg-lgr > div {\n display: block;\n position: relative;\n }\n\n .").concat(prefix, "-dbg-lgr > div:not(.controls) div {\n display: block;\n position: relative;\n margin-left: 2em;\n width: 100%;\n }\n\n .").concat(prefix, "-dbg-lgr .expandable {\n cursor: pointer;\n }\n\n .").concat(prefix, "-dbg-lgr > .tree-root div > span {\n width: 100%;\n display: block;\n }\n\n .").concat(prefix, "-dbg-lgr .exception {\n background-color: ").concat(BG_ERROR, ";\n color: ").concat(TEXT_PRIMARY, ";\n }\n\n .").concat(prefix, "-dbg-lgr .matched-text-filter {\n background-color: ").concat(TEXT_MATCHED, ";\n }\n\n ").concat(Util.getIEVersion() && Util.getIEVersion() < 9
3438
+ ? ""
3439
+ : ".".concat(prefix, "-dbg-lgr .expandable.open::before {\n content: '[-] ';\n font-weight: bold;\n }\n\n .").concat(prefix, "-dbg-lgr .expandable.closed::before {\n content: '[+] ';\n font-weight: bold;\n }"), "\n\n .").concat(prefix, "-dbg-lgr div:hover > .obj-key {\n text-decoration: underline;\n }\n\n .").concat(prefix, "-dbg-lgr .obj-time {\n padding-right: 15px;\n color: #605E5C;\n }\n \n .").concat(prefix, "-dbg-lgr .object {pointer-events: auto;}\n .").concat(prefix, "-dbg-lgr .function {color: #881391;}\n .").concat(prefix, "-dbg-lgr .string {color: #CB3632;}\n .").concat(prefix, "-dbg-lgr .number {color: #1C00CF;}\n .").concat(prefix, "-dbg-lgr .key {color: #881391; font-weight: bold;}\n .").concat(prefix, "-dbg-lgr .empty {color: #AAAAAA; font-style: italic;}\n\n .").concat(prefix, "-dbg-lgr-dashboard ").concat(prefix, "-last-selected-element > span {\n display: block;\n background-color: black;\n border-radius: 2px;\n color: white\n }\n .").concat(prefix, "-last-selected-element > span > span,\n .").concat(prefix, "-last-selected-element > span > span[class] {\n color: white;\n }\n\n .").concat(prefix, "-dbg-lgr-dashboard #close-dashboard {\n float: right;\n margin-right: 2em;\n }\n\n .").concat(prefix, "-dbg-lgr-dashboard .btn-primary {\n display: inline-block;\n background-color: ").concat(BTN_PRIMARY, ";\n color: #FFFFFF;\n border-radius: 2px;\n cursor: pointer;\n border: 1px solid;\n padding: 3px 20px;\n margin-left: 2em;\n height: 24px;\n min-width: 80px;\n }\n\n .").concat(prefix, "-dbg-lgr-dashboard .btn-primary:hover {\n background-color: ").concat(BTN_HOVER, ";\n }\n\n .").concat(prefix, "-dbg-lgr-dashboard .btn-primary:active {\n background-color: ").concat(BTN_ACTIVE, ";\n }\n\n .").concat(prefix, "-dbg-lgr-dashboard .btn-secondary {\n display: inline-block;\n border: 1px solid;\n bolder-color: ").concat(BTN_PRIMARY, ";\n color: ").concat(BTN_PRIMARY, ";\n background-color: transparent;\n border-radius: 2px;\n cursor: pointer;\n border: 1px solid;\n padding: 3px 20px;\n margin-left: 2em;\n height: 24px;\n }\n\n .").concat(prefix, "-dbg-lgr-dashboard .btn-secondary:hover {\n background-color: ").concat(BTN_HOVER, ";\n color: #FFFFFF;\n }\n\n .").concat(prefix, "-dbg-lgr-dashboard .btn-secondary:active {\n background-color: ").concat(BTN_ACTIVE, ";\n color: #FFFFFF;\n }\n \n .").concat(prefix, "-dbg-lgr-dashboard .filterlist {\n position: relative;\n display: inline-block;\n vertical-align: middle;\n width: 180px;\n min-height: 24px;\n margin-left: 2em;\n user-select: none;\n cursor: pointer;\n }\n .").concat(prefix, "-dbg-lgr-dashboard .filterlist-input {\n position: relative;\n padding: 3px 8px;\n border: ").concat(BORDER_GREY_60, ";\n border-radius: 2px;\n }\n\n ").concat(Util.getIEVersion() && Util.getIEVersion() < 9
3440
+ ? ""
3441
+ : ".".concat(prefix, "-dbg-lgr-dashboard .filterlist-input::after {\n content: '';\n width: 8px;\n height: 8px;\n position: absolute;\n right: 8px;\n top: 5px;\n margin: auto;\n transform: rotate(45deg);\n border: ").concat(BORDER_GREY_160, ";\n border-top: none;\n border-left: none;\n }"), "\n\n .").concat(prefix, "-dbg-lgr-dashboard .filterlist-input:focus {\n border: ").concat(BORDER_GREY_60, "\n }\n\n .").concat(prefix, "-dbg-lgr-dashboard .filterlist-dropdown {\n position: absolute;\n top: 100%;\n margin: auto;\n background-color: #FFFFFF;\n overflow: hidden;\n min-width: 180px;\n box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.16);\n }\n\n .").concat(prefix, "-dbg-lgr-dashboard .filterlist-toggle {\n position: relative;\n padding: 3px 8px;\n height: 32px;\n width: 100%;\n ").concat((Util.getIEVersion()) ? "" : "box-sizing: border-box;", "\n }\n\n .").concat(prefix, "-dbg-lgr-dashboard .filterlist-toggle:focus {\n outline: none;\n border: ").concat(BORDER_GREY_60, ";\n }\n\n .").concat(prefix, "-dbg-lgr-dashboard .text-filter-input {\n font-family: monospace;\n margin-left: 2em;\n padding: 3px 8px;\n width: 180px;\n height: 24px;\n border-radius: 2px;\n border: ").concat(BORDER_GREY_160, ";\n }\n\n .").concat(prefix, "-dbg-lgr-dashboard .text-filter-input:focus {\n border: ").concat(BORDER_GREY_60, ";\n }\n\n .").concat(prefix, "-dbg-lgr-dashboard .label {\n vertical-align: middle;\n width: 80%;\n display: inline-block;\n }\n\n .").concat(prefix, "-dbg-lgr-dashboard .checkbox {\n display: inline-block;\n width: 18px;\n height: 18px;\n border-radius: 2px;\n vertical-align: middle;\n margin-right: 8px;\n ").concat((Util.getIEVersion()) ? "" : "box-sizing: border-box;", "\n }\n\n .").concat(prefix, "-dbg-lgr-dashboard .checkbox.on {\n background-color: #0078D4;\n }\n\n ").concat(Util.getIEVersion() && Util.getIEVersion() < 9
3442
+ ? ""
3443
+ : ".".concat(prefix, "-dbg-lgr-dashboard .checkbox.on::after {\n content: '';\n width: 5px;\n height: 10px;\n display: inline-block;\n margin: 2px 6px;\n padding: 0;\n transform: rotate(45deg);\n border: 1px solid #FFFFFF;\n border-top: none;\n border-left: none;\n }"), "\n\n\n .").concat(prefix, "-dbg-lgr-dashboard .checkbox.off {\n border: ").concat(BORDER_GREY_160, ";\n }\n\n ").concat(Util.getIEVersion() && Util.getIEVersion() < 9
3444
+ ? ""
3445
+ : "@media only screen and (max-width: 600px) {\n .".concat(prefix, "-dbg-lgr {\n width: 100%;\n min-width: 200px;\n }\n }"), "\n\n"); };
3446
+ var permStyle = function (prefix) { return "\n .".concat(prefix, "-debug-bin-container {\n position: fixed;\n ").concat(Util.getIEVersion() && Util.getIEVersion() < 9
3447
+ ? "width: 100%;\n height: 100%;\n top: 0;\n left: 0;"
3448
+ : "width: 100vw;\n height: 100vh;", "\n pointer-events: none;\n }\n\n .").concat(prefix, "-debug-bin-parent {\n position: fixed;\n right: 20px;\n margin: auto;\n padding: 10px;\n border-radius: 2px;\n min-height: 20px;\n min-width: 20px;\n overflow: hidden;\n pointer-events: auto;\n text-align: right;\n font-family: monospace;\n font-size: 16px;\n color: #FFFFFF;\n background-color: ").concat(BTN_PRIMARY, ";\n border: 2px solid #FFFFFF;\n transition: 2s color linear;\n cursor: pointer;\n transition: .2s width ease-in-out, .2s height ease-in-out;\n ").concat((Util.getIEVersion()) ? "" : "box-sizing: border-box;", "\n }\n\n .").concat(prefix, "-debug-bin-parent.active {\n background-color: ").concat(BG_INFO, ";\n color: ").concat(TEXT_PRIMARY, ";\n }\n\n .").concat(prefix, "-debug-bin-parent:focus {\n border: ").concat(BORDER_GREY_160, ";\n outline: none;\n }\n\n .").concat(prefix, "-debug-bin-parent.notify {\n background-color: ").concat(ICON_ERROR, ";\n }\n\n .").concat(prefix, "-debug-bin-parent button {\n display: block;\n width: 100%;\n background-color: ").concat(BTN_PRIMARY, ";\n color: #FFFFFF;\n border-radius: 2px;\n margin-bottom: 5px;\n margin-top: 10px;\n cursor: pointer;\n border: none;\n padding: 3px 20px;\n height: 24px;\n }\n\n .").concat(prefix, "-debug-bin-parent button:hover {\n background-color: ").concat(BTN_HOVER, ";\n }\n\n .").concat(prefix, "-debug-bin-parent button:active {\n background-color: ").concat(BTN_ACTIVE, ";\n }\n\n .").concat(prefix, "-debug-bin-parent .el-name {\n text-align: left;\n }\n\n .").concat(prefix, "-debug-bin-parent .el-value {\n display: inline-block;\n transform: scale(1);\n transition: 2s transform linear, 0s 2s font-weight linear;\n }\n\n ").concat(Util.getIEVersion() && Util.getIEVersion() < 9
3449
+ ? ""
3450
+ : ".".concat(prefix, "-debug-bin-parent.notify::after {\n content: \" (!)\";\n }"), "\n\n .").concat(prefix, "-debug-bin-parent .el-value.incremented {\n transform: scale(1.5);\n font-weight: bold;\n transition: 0s transform linear, 0s font-weight linear;\n }\n\n ").concat(Util.getIEVersion() && Util.getIEVersion() < 9
3451
+ ? ""
3452
+ : ".".concat(prefix, "-debug-bin-parent:focus > span::before,\n .").concat(prefix, "-debug-bin-parent:hover > span::before,\n .").concat(prefix, "-debug-bin-parent.active > span::before {\n content: attr(data-name) \": \";\n }"), "\n"); };
3453
+
3346
3454
  var Dashboard = /** @class */ (function () {
3347
3455
  function Dashboard(config) {
3348
3456
  var _this = this;
@@ -3353,54 +3461,54 @@ var Dashboard = /** @class */ (function () {
3353
3461
  var loggerEl;
3354
3462
  dynamicProto(Dashboard, this, function (_self) {
3355
3463
  var prefix = config.prefix;
3356
- var trackers = config.trackers;
3357
- var rootEl = document.createElement("div");
3358
- rootEl.className = "".concat(prefix, "-dbg-lgr-dashboard");
3359
- tempStyleEl = document.createElement("style");
3360
- tempStyleEl.innerHTML = tempStyle(prefix);
3464
+ var trackers = config[_DYN_TRACKERS ];
3465
+ var rootEl = document[_DYN_CREATE_ELEMENT ]("div");
3466
+ rootEl[_DYN_CLASS_NAME ] = "".concat(prefix, "-dbg-lgr-dashboard");
3467
+ tempStyleEl = document[_DYN_CREATE_ELEMENT ]("style");
3468
+ tempStyleEl[_DYN_INNER_HTML ] = tempStyle(prefix);
3361
3469
  rootEl.style.position = "fixed";
3362
3470
  rootEl.style.width = "100vw";
3363
3471
  rootEl.style.height = "100vh";
3364
3472
  rootEl.style.backgroundColor = "#ffffff";
3365
3473
  rootEl.style.opacity = "1";
3366
- rootEl.style.pointerEvents = "auto";
3474
+ rootEl.style[_DYN_POINTER_EVENTS ] = "auto";
3367
3475
  rootEl.style.top = "-100%";
3368
3476
  rootEl.style.transition = ".2s top cubic-bezier(0.87, 0, 0.13, 1)";
3369
- var logHeading = document.createElement("h1");
3477
+ var logHeading = document[_DYN_CREATE_ELEMENT ]("h1");
3370
3478
  logHeading.textContent = "dashboard";
3371
3479
  logHeading.style.fontFamily = "monospace";
3372
3480
  logHeading.style.textAlign = "center";
3373
- rootEl.appendChild(logHeading);
3481
+ rootEl[_DYN_APPEND_CHILD ](logHeading);
3374
3482
  _createLogger(rootEl, prefix, trackers);
3375
3483
  _self.getElm = function () {
3376
3484
  return rootEl;
3377
3485
  };
3378
- _self.isDisplayed = function () {
3379
- return !!(rootEl.parentElement || rootEl.parentNode);
3486
+ _self[_DYN_IS_DISPLAYED ] = function () {
3487
+ return !!(rootEl[_DYN_PARENT_ELEMENT ] || rootEl.parentNode);
3380
3488
  };
3381
3489
  _self.getTextFilter = function () {
3382
3490
  return textFilter;
3383
3491
  };
3384
- _self.setTextFilter = function (value) {
3492
+ _self[_DYN_SET_TEXT_FILTER ] = function (value) {
3385
3493
  if (value !== textFilter) {
3386
3494
  textFilter = value;
3387
- _self.render();
3495
+ _self[_DYN_RENDER ]();
3388
3496
  }
3389
3497
  };
3390
3498
  _self.getTrackers = function () {
3391
3499
  return trackers;
3392
3500
  };
3393
- _self.newLogEntry = function (target, tm, key, level, kind, keep) {
3501
+ _self[_DYN_NEW_LOG_ENTRY ] = function (target, tm, key, level, kind, keep) {
3394
3502
  var _self = _this;
3395
- msgTracker.push(new LogEntry(target, tm, key, level, kind, keep));
3396
- if (msgTracker.length > config.maxMessages) {
3503
+ msgTracker[_DYN_PUSH ](new LogEntry(target, tm, key, level, kind, keep));
3504
+ if (msgTracker.length > config[_DYN_MAX_MESSAGES ]) {
3397
3505
  var lp = 0;
3398
- while (lp < msgTracker.length) {
3506
+ while (lp < msgTracker[_DYN_LENGTH$1 ]) {
3399
3507
  var entry = msgTracker[lp];
3400
3508
  if (!entry.isKeep()) {
3401
- var el = entry.getEl();
3402
- if (el && el.parentElement) {
3403
- el.parentElement.removeChild(el);
3509
+ var el = entry[_DYN_GET_EL ]();
3510
+ if (el && el[_DYN_PARENT_ELEMENT ]) {
3511
+ el[_DYN_PARENT_ELEMENT ][_DYN_REMOVE_CHILD ](el);
3404
3512
  }
3405
3513
  msgTracker.splice(lp, 1);
3406
3514
  break;
@@ -3408,34 +3516,34 @@ var Dashboard = /** @class */ (function () {
3408
3516
  lp++;
3409
3517
  }
3410
3518
  }
3411
- _self.render();
3519
+ _self[_DYN_RENDER ]();
3412
3520
  };
3413
3521
  _self.show = function () {
3414
- if (!_this.isDisplayed()) {
3415
- document.body.appendChild(rootEl);
3416
- document.head.appendChild(tempStyleEl);
3522
+ if (!_this[_DYN_IS_DISPLAYED ]()) {
3523
+ document.body[_DYN_APPEND_CHILD ](rootEl);
3524
+ document.head[_DYN_APPEND_CHILD ](tempStyleEl);
3417
3525
  rootEl.style.top = "0%";
3418
- rootEl.style.pointerEvents = "auto";
3419
- _self.render();
3526
+ rootEl.style[_DYN_POINTER_EVENTS ] = "auto";
3527
+ _self[_DYN_RENDER ]();
3420
3528
  }
3421
3529
  };
3422
3530
  _self.hide = function () {
3423
- if (_self.isDisplayed()) {
3531
+ if (_self[_DYN_IS_DISPLAYED ]()) {
3424
3532
  rootEl.style.top = "-100%";
3425
- rootEl.style.pointerEvents = "none";
3426
- document.head.removeChild(tempStyleEl);
3427
- document.body.removeChild(rootEl);
3533
+ rootEl.style[_DYN_POINTER_EVENTS ] = "none";
3534
+ document.head[_DYN_REMOVE_CHILD ](tempStyleEl);
3535
+ document.body[_DYN_REMOVE_CHILD ](rootEl);
3428
3536
  }
3429
3537
  };
3430
- _self.render = function () {
3431
- if (_self.isDisplayed()) {
3538
+ _self[_DYN_RENDER ] = function () {
3539
+ if (_self[_DYN_IS_DISPLAYED ]()) {
3432
3540
  var excludedTypes_1 = filterList.getCurrentFilter();
3433
3541
  arrForEach(msgTracker, function (entry) {
3434
- var el = entry.getEl();
3435
- if (el && el.parentElement) {
3436
- el.parentElement.removeChild(el);
3542
+ var el = entry[_DYN_GET_EL ]();
3543
+ if (el && el[_DYN_PARENT_ELEMENT ]) {
3544
+ el[_DYN_PARENT_ELEMENT ][_DYN_REMOVE_CHILD ](el);
3437
3545
  }
3438
- if (!entry.isMatch(textFilter, config.excludeKeys, config.includeFunctions)) {
3546
+ if (!entry.isMatch(textFilter, config[_DYN_EXCLUDE_KEYS ], config[_DYN_INCLUDE_FUNCTIONS ])) {
3439
3547
  return;
3440
3548
  }
3441
3549
  var type = entry.getKind();
@@ -3446,9 +3554,9 @@ var Dashboard = /** @class */ (function () {
3446
3554
  else if (arrIndexOf(excludedTypes_1, type) !== -1) {
3447
3555
  return;
3448
3556
  }
3449
- var newEl = entry.render(textFilter, config.excludeKeys, config.includeFunctions);
3557
+ var newEl = entry.render(textFilter, config[_DYN_EXCLUDE_KEYS ], config[_DYN_INCLUDE_FUNCTIONS ]);
3450
3558
  if (newEl) {
3451
- loggerEl.appendChild(newEl);
3559
+ loggerEl[_DYN_APPEND_CHILD ](newEl);
3452
3560
  }
3453
3561
  });
3454
3562
  }
@@ -3457,36 +3565,36 @@ var Dashboard = /** @class */ (function () {
3457
3565
  var newEvents = [];
3458
3566
  arrForEach(msgTracker, function (entry) {
3459
3567
  if (entry.isKeep()) {
3460
- newEvents.push(entry);
3568
+ newEvents[_DYN_PUSH ](entry);
3461
3569
  }
3462
3570
  else {
3463
- var el = entry.getEl();
3464
- if (el && el.parentElement) {
3465
- el.parentElement.removeChild(el);
3571
+ var el = entry[_DYN_GET_EL ]();
3572
+ if (el && el[_DYN_PARENT_ELEMENT ]) {
3573
+ el[_DYN_PARENT_ELEMENT ][_DYN_REMOVE_CHILD ](el);
3466
3574
  }
3467
3575
  }
3468
3576
  });
3469
3577
  msgTracker = newEvents;
3470
- _self.render();
3578
+ _self[_DYN_RENDER ]();
3471
3579
  }
3472
3580
  function closeDashboard() {
3473
3581
  _self.hide();
3474
3582
  }
3475
3583
  function _createLogger(hostDiv, prefix, trackers) {
3476
- loggerEl = document.createElement("div");
3477
- loggerEl.className = "".concat(prefix, "-dbg-lgr");
3478
- var controlDiv = document.createElement("div");
3479
- controlDiv.className = "controls";
3480
- var textFilterInput = document.createElement("input");
3481
- textFilterInput.className = "text-filter-input";
3482
- textFilterInput.setAttribute("placeholder", "filter text");
3584
+ loggerEl = document[_DYN_CREATE_ELEMENT ]("div");
3585
+ loggerEl[_DYN_CLASS_NAME ] = "".concat(prefix, "-dbg-lgr");
3586
+ var controlDiv = document[_DYN_CREATE_ELEMENT ]("div");
3587
+ controlDiv[_DYN_CLASS_NAME ] = "controls";
3588
+ var textFilterInput = document[_DYN_CREATE_ELEMENT ]("input");
3589
+ textFilterInput[_DYN_CLASS_NAME ] = "text-filter-input";
3590
+ textFilterInput[_DYN_SET_ATTRIBUTE ]("placeholder", "filter text");
3483
3591
  textFilterInput.onchange = function (evt) {
3484
- _self.setTextFilter(textFilterInput.value);
3592
+ _self[_DYN_SET_TEXT_FILTER ](textFilterInput.value);
3485
3593
  };
3486
3594
  textFilterInput.onblur = function (evt) {
3487
- _self.setTextFilter(textFilterInput.value);
3595
+ _self[_DYN_SET_TEXT_FILTER ](textFilterInput.value);
3488
3596
  };
3489
- textFilterInput.onkeyup = function (evt) {
3597
+ textFilterInput[_DYN_ONKEYUP ] = function (evt) {
3490
3598
  if (keyupTimer != null) {
3491
3599
  clearTimeout(keyupTimer);
3492
3600
  }
@@ -3494,34 +3602,34 @@ var Dashboard = /** @class */ (function () {
3494
3602
  if (newValue !== _self.getTextFilter()) {
3495
3603
  keyupTimer = setTimeout(function () {
3496
3604
  keyupTimer = null;
3497
- _self.setTextFilter(textFilterInput.value);
3605
+ _self[_DYN_SET_TEXT_FILTER ](textFilterInput.value);
3498
3606
  }, 200);
3499
3607
  }
3500
3608
  };
3501
- controlDiv.appendChild(textFilterInput);
3502
- var copyButton = document.createElement("button");
3503
- copyButton.innerText = "copy current node";
3504
- copyButton.className = "btn-secondary";
3505
- copyButton.onclick = copySelectedTree;
3506
- copyButton.ontouchend = copySelectedTree;
3609
+ controlDiv[_DYN_APPEND_CHILD ](textFilterInput);
3610
+ var copyButton = document[_DYN_CREATE_ELEMENT ]("button");
3611
+ copyButton[_DYN_INNER_TEXT ] = "copy current node";
3612
+ copyButton[_DYN_CLASS_NAME ] = "btn-secondary";
3613
+ copyButton[_DYN_ONCLICK ] = copySelectedTree;
3614
+ copyButton[_DYN_ONTOUCHEND ] = copySelectedTree;
3507
3615
  var keyupTimer = null;
3508
- filterList = new FilterList(controlDiv, trackers.slice(0), function () { return _self.render(); });
3509
- controlDiv.appendChild(copyButton);
3510
- var clearEventsBtn = document.createElement("button");
3511
- clearEventsBtn.innerText = "clear events";
3512
- clearEventsBtn.className = "btn-secondary";
3513
- clearEventsBtn.onclick = clearEvents;
3514
- clearEventsBtn.ontouchend = clearEvents;
3515
- controlDiv.appendChild(clearEventsBtn);
3516
- var closeEventsBtn = document.createElement("button");
3616
+ filterList = new FilterList(controlDiv, trackers.slice(0), function () { return _self[_DYN_RENDER ](); });
3617
+ controlDiv[_DYN_APPEND_CHILD ](copyButton);
3618
+ var clearEventsBtn = document[_DYN_CREATE_ELEMENT ]("button");
3619
+ clearEventsBtn[_DYN_INNER_TEXT ] = "clear events";
3620
+ clearEventsBtn[_DYN_CLASS_NAME ] = "btn-secondary";
3621
+ clearEventsBtn[_DYN_ONCLICK ] = clearEvents;
3622
+ clearEventsBtn[_DYN_ONTOUCHEND ] = clearEvents;
3623
+ controlDiv[_DYN_APPEND_CHILD ](clearEventsBtn);
3624
+ var closeEventsBtn = document[_DYN_CREATE_ELEMENT ]("button");
3517
3625
  closeEventsBtn.id = "close-dashboard";
3518
- closeEventsBtn.innerText = "close dashboard";
3519
- closeEventsBtn.className = "btn-primary";
3520
- closeEventsBtn.onclick = closeDashboard;
3521
- closeEventsBtn.ontouchend = closeDashboard;
3522
- controlDiv.appendChild(closeEventsBtn);
3523
- hostDiv.appendChild(controlDiv);
3524
- hostDiv.appendChild(loggerEl);
3626
+ closeEventsBtn[_DYN_INNER_TEXT ] = "close dashboard";
3627
+ closeEventsBtn[_DYN_CLASS_NAME ] = "btn-primary";
3628
+ closeEventsBtn[_DYN_ONCLICK ] = closeDashboard;
3629
+ closeEventsBtn[_DYN_ONTOUCHEND ] = closeDashboard;
3630
+ controlDiv[_DYN_APPEND_CHILD ](closeEventsBtn);
3631
+ hostDiv[_DYN_APPEND_CHILD ](controlDiv);
3632
+ hostDiv[_DYN_APPEND_CHILD ](loggerEl);
3525
3633
  }
3526
3634
  });
3527
3635
  }
@@ -3536,67 +3644,67 @@ var DebugBinParent = /** @class */ (function () {
3536
3644
  this.showChildren = false;
3537
3645
  this.value = 0;
3538
3646
  var _self = this;
3539
- _self.el = document.createElement("div");
3540
- _self.el.setAttribute("tabindex", "0");
3541
- _self.el.className = "".concat(prefix, "-debug-bin-parent");
3647
+ _self.el = document[_DYN_CREATE_ELEMENT ]("div");
3648
+ _self.el[_DYN_SET_ATTRIBUTE ]("tabindex", "0");
3649
+ _self.el[_DYN_CLASS_NAME ] = "".concat(prefix, "-debug-bin-parent");
3542
3650
  _self.el.style.bottom = "".concat(20 + bottomDistance, "px");
3543
- _self.elSpan = document.createElement("span");
3544
- _self.elSpan.innerText = "".concat(_self.value);
3545
- _self.elSpan.setAttribute("data-name", "AppInsights");
3546
- _self.el.appendChild(_self.elSpan);
3547
- _self.el.onclick = function () {
3548
- _self.showChildren = !_self.showChildren;
3549
- _self.el.className = (_self.showChildren) ? "".concat(prefix, "-debug-bin-parent active") : "".concat(prefix, "-debug-bin-parent");
3550
- _self.render();
3651
+ _self.elSpan = document[_DYN_CREATE_ELEMENT ]("span");
3652
+ _self.elSpan[_DYN_INNER_TEXT ] = "".concat(_self.value);
3653
+ _self.elSpan[_DYN_SET_ATTRIBUTE ]("data-name", "AppInsights");
3654
+ _self.el[_DYN_APPEND_CHILD ](_self.elSpan);
3655
+ _self.el[_DYN_ONCLICK ] = function () {
3656
+ _self[_DYN_SHOW_CHILDREN ] = !_self[_DYN_SHOW_CHILDREN ];
3657
+ _self.el[_DYN_CLASS_NAME ] = (_self[_DYN_SHOW_CHILDREN ]) ? "".concat(prefix, "-debug-bin-parent active") : "".concat(prefix, "-debug-bin-parent");
3658
+ _self[_DYN_RENDER ]();
3551
3659
  };
3552
- _self.el.onkeydown = function (evt) {
3660
+ _self.el[_DYN_ONKEYDOWN ] = function (evt) {
3553
3661
  if (evt.which === 13 || evt.which === 32) {
3554
- evt.preventDefault();
3555
- evt.target.click();
3662
+ evt[_DYN_PREVENT_DEFAULT ]();
3663
+ evt[_DYN_TARGET ].click();
3556
3664
  }
3557
3665
  };
3558
- _self.render();
3666
+ _self[_DYN_RENDER ]();
3559
3667
  }
3560
3668
  DebugBinParent.prototype.addClassToEl = function (name) {
3561
3669
  var _self = this;
3562
- if (_self.el.className.indexOf(name) === -1) {
3563
- _self.el.className += " ".concat(name);
3670
+ if (_self.el[_DYN_CLASS_NAME ].indexOf(name) === -1) {
3671
+ _self.el[_DYN_CLASS_NAME ] += " ".concat(name);
3564
3672
  }
3565
3673
  };
3566
3674
  DebugBinParent.prototype.addChild = function (bin) {
3567
- this.children.push(bin);
3675
+ this.children[_DYN_PUSH ](bin);
3568
3676
  };
3569
3677
  DebugBinParent.prototype.addButton = function (handler, label) {
3570
- var btn = document.createElement("button");
3571
- btn.innerText = label;
3572
- btn.onclick = handler;
3678
+ var btn = document[_DYN_CREATE_ELEMENT ]("button");
3679
+ btn[_DYN_INNER_TEXT ] = label;
3680
+ btn[_DYN_ONCLICK ] = handler;
3573
3681
  this.addChild(btn);
3574
3682
  };
3575
3683
  DebugBinParent.prototype.increment = function () {
3576
3684
  var _self = this;
3577
- _self.elSpan.innerText = "".concat(++_self.value);
3685
+ _self.elSpan[_DYN_INNER_TEXT ] = "".concat(++_self.value);
3578
3686
  };
3579
3687
  DebugBinParent.prototype.render = function () {
3580
3688
  var _self = this;
3581
- if (!_self.el.parentElement) {
3582
- _self.parent.appendChild(_self.el);
3689
+ if (!_self.el[_DYN_PARENT_ELEMENT ]) {
3690
+ _self.parent[_DYN_APPEND_CHILD ](_self.el);
3583
3691
  }
3584
- for (var _i = 0, _a = _self.children; _i < _a.length; _i++) {
3692
+ for (var _i = 0, _a = _self[_DYN_CHILDREN ]; _i < _a.length; _i++) {
3585
3693
  var ch = _a[_i];
3586
3694
  if (ch instanceof DebugBin) {
3587
- if (ch.el.parentElement !== _self.el && _self.showChildren) {
3588
- _self.el.appendChild(ch.el);
3695
+ if (ch.el.parentElement !== _self.el && _self[_DYN_SHOW_CHILDREN ]) {
3696
+ _self.el[_DYN_APPEND_CHILD ](ch.el);
3589
3697
  }
3590
- else if (ch.el.parentElement === _self.el && !_self.showChildren) {
3591
- _self.el.removeChild(ch.el);
3698
+ else if (ch.el.parentElement === _self.el && !_self[_DYN_SHOW_CHILDREN ]) {
3699
+ _self.el[_DYN_REMOVE_CHILD ](ch.el);
3592
3700
  }
3593
3701
  }
3594
3702
  else {
3595
- if (_self.showChildren) {
3596
- _self.el.appendChild(ch);
3703
+ if (_self[_DYN_SHOW_CHILDREN ]) {
3704
+ _self.el[_DYN_APPEND_CHILD ](ch);
3597
3705
  }
3598
3706
  else {
3599
- _self.el.removeChild(ch);
3707
+ _self.el[_DYN_REMOVE_CHILD ](ch);
3600
3708
  }
3601
3709
  }
3602
3710
  }
@@ -3610,22 +3718,22 @@ var DebugBin = /** @class */ (function () {
3610
3718
  this.parent = parent;
3611
3719
  var _self = this;
3612
3720
  parent.addChild(_self);
3613
- _self.el = document.createElement("div");
3614
- _self.elName = document.createElement("span");
3615
- _self.elName.innerText = "".concat(name, ": ");
3616
- _self.elName.className = "el-name";
3617
- _self.el.appendChild(_self.elName);
3618
- _self.elValue = document.createElement("span");
3619
- _self.elValue.innerText = "".concat(value);
3620
- _self.elValue.className = "el-value";
3621
- _self.el.appendChild(_self.elValue);
3721
+ _self.el = document[_DYN_CREATE_ELEMENT ]("div");
3722
+ _self.elName = document[_DYN_CREATE_ELEMENT ]("span");
3723
+ _self.elName[_DYN_INNER_TEXT ] = "".concat(name, ": ");
3724
+ _self.elName[_DYN_CLASS_NAME ] = "el-name";
3725
+ _self.el[_DYN_APPEND_CHILD ](_self.elName);
3726
+ _self.elValue = document[_DYN_CREATE_ELEMENT ]("span");
3727
+ _self.elValue[_DYN_INNER_TEXT ] = "".concat(value);
3728
+ _self.elValue[_DYN_CLASS_NAME ] = "el-value";
3729
+ _self.el[_DYN_APPEND_CHILD ](_self.elValue);
3622
3730
  }
3623
3731
  DebugBin.prototype.increment = function () {
3624
3732
  var _self = this;
3625
- _self.elValue.innerText = "".concat(++_self.value);
3733
+ _self.elValue[_DYN_INNER_TEXT ] = "".concat(++_self.value);
3626
3734
  _self.parent.increment();
3627
- _self.elValue.className = "el-value incremented";
3628
- setTimeout(function () { return _self.elValue.className = "el-value"; }, 1);
3735
+ _self.elValue[_DYN_CLASS_NAME ] = "el-value incremented";
3736
+ setTimeout(function () { return _self.elValue[_DYN_CLASS_NAME ] = "el-value"; }, 1);
3629
3737
  };
3630
3738
  return DebugBin;
3631
3739
  }());
@@ -3673,7 +3781,7 @@ var DebugPlugin = /** @class */ (function (_super) {
3673
3781
  __extendsFn(DebugPlugin, _super);
3674
3782
  function DebugPlugin() {
3675
3783
  var _this = _super.call(this) || this;
3676
- _this.identifier = DebugPlugin.identifier;
3784
+ _this.identifier = DebugPlugin[_DYN_IDENTIFIER ];
3677
3785
  var dashboard;
3678
3786
  var permStyleEl;
3679
3787
  var debugBins;
@@ -3687,48 +3795,48 @@ var DebugPlugin = /** @class */ (function (_super) {
3687
3795
  base.initialize(config, core, extensions, pluginChain);
3688
3796
  var defaultConfig = getDefaultConfig();
3689
3797
  var ctx_1 = _self._getTelCtx();
3690
- var identifier_1 = _self.identifier;
3798
+ var identifier_1 = _self[_DYN_IDENTIFIER ];
3691
3799
  objForEachKey(defaultConfig, function (field, value) {
3692
3800
  _theConfig[field] = function () { return ctx_1.getConfig(identifier_1, field, value()); };
3693
3801
  });
3694
3802
  var foundTrackers_1 = [];
3695
- trackers = _theConfig.trackers();
3803
+ trackers = _theConfig[_DYN_TRACKERS ]();
3696
3804
  var prefix = _theConfig.cssPrefix();
3697
- if (!_theConfig.disableNotifications()) {
3805
+ if (!_theConfig[_DYN_DISABLE_NOTIFICATION0 ]()) {
3698
3806
  var notifyMgr = (isFunction(core.getNotifyMgr) && core.getNotifyMgr()) || core["_notificationManager"];
3699
3807
  if (notifyMgr) {
3700
3808
  notifyMgr.addNotificationListener({
3701
3809
  eventsSent: function (events) {
3702
- dashboard.newLogEntry(events, dateNow() - startTime, "Notification:eventsSent", 0, "eventsSent");
3810
+ dashboard[_DYN_NEW_LOG_ENTRY ](events, dateNow() - startTime, "Notification:eventsSent", 0, "eventsSent");
3703
3811
  },
3704
3812
  eventsDiscarded: function (events, reason) {
3705
- dashboard.newLogEntry({
3813
+ dashboard[_DYN_NEW_LOG_ENTRY ]({
3706
3814
  events: events,
3707
3815
  reason: reason
3708
3816
  }, dateNow() - startTime, "Notification:eventsDiscarded", 0, "eventsDiscarded");
3709
3817
  },
3710
3818
  eventsSendRequest: function (sendReason, isAsync) {
3711
- dashboard.newLogEntry({
3819
+ dashboard[_DYN_NEW_LOG_ENTRY ]({
3712
3820
  sendReason: sendReason,
3713
3821
  isAsync: isAsync
3714
3822
  }, dateNow() - startTime, "Notification:eventsSendRequest", 0, "eventsSendRequest");
3715
3823
  },
3716
3824
  perfEvent: function (perfEvent) {
3717
3825
  var evtName = "Notification:perfEvent[".concat(perfEvent.name, "]");
3718
- dashboard.newLogEntry(perfEvent, dateNow() - startTime, evtName, 0, "perfEvent");
3826
+ dashboard[_DYN_NEW_LOG_ENTRY ](perfEvent, dateNow() - startTime, evtName, 0, "perfEvent");
3719
3827
  }
3720
3828
  });
3721
3829
  if (arrIndexOf(trackers, "eventsSent") !== -1) {
3722
- foundTrackers_1.push("eventsSent");
3830
+ foundTrackers_1[_DYN_PUSH ]("eventsSent");
3723
3831
  }
3724
3832
  if (arrIndexOf(trackers, "eventsSendRequest") !== -1) {
3725
- foundTrackers_1.push("eventsSendRequest");
3833
+ foundTrackers_1[_DYN_PUSH ]("eventsSendRequest");
3726
3834
  }
3727
3835
  if (arrIndexOf(trackers, "eventsDiscarded") !== -1) {
3728
- foundTrackers_1.push("eventsDiscarded");
3836
+ foundTrackers_1[_DYN_PUSH ]("eventsDiscarded");
3729
3837
  }
3730
3838
  if (arrIndexOf(trackers, "perfEvent") !== -1) {
3731
- foundTrackers_1.push("perfEvent");
3839
+ foundTrackers_1[_DYN_PUSH ]("perfEvent");
3732
3840
  }
3733
3841
  }
3734
3842
  }
@@ -3744,8 +3852,8 @@ var DebugPlugin = /** @class */ (function (_super) {
3744
3852
  _addTargets(targetObjects_1, ext);
3745
3853
  });
3746
3854
  }
3747
- if (isFunction(core.getTransmissionControls)) {
3748
- var channelControls = core.getTransmissionControls();
3855
+ if (isFunction(core[_DYN_GET_TRANSMISSION_CON1 ])) {
3856
+ var channelControls = core[_DYN_GET_TRANSMISSION_CON1 ]();
3749
3857
  if (channelControls) {
3750
3858
  arrForEach(channelControls, function (channel) {
3751
3859
  if (isArray(channel)) {
@@ -3764,7 +3872,7 @@ var DebugPlugin = /** @class */ (function (_super) {
3764
3872
  }, true);
3765
3873
  if (val) {
3766
3874
  if (arrIndexOf(foundTrackers_1, tracker) === -1) {
3767
- foundTrackers_1.push(tracker);
3875
+ foundTrackers_1[_DYN_PUSH ](tracker);
3768
3876
  }
3769
3877
  }
3770
3878
  });
@@ -3773,35 +3881,35 @@ var DebugPlugin = /** @class */ (function (_super) {
3773
3881
  dashboard = new Dashboard({
3774
3882
  prefix: prefix,
3775
3883
  trackers: foundTrackers_1,
3776
- excludeKeys: _theConfig.excludeKeys(),
3777
- maxMessages: _theConfig.maxMessages(),
3884
+ excludeKeys: _theConfig[_DYN_EXCLUDE_KEYS ](),
3885
+ maxMessages: _theConfig[_DYN_MAX_MESSAGES ](),
3778
3886
  includeFunctions: _theConfig.showFunctions()
3779
3887
  });
3780
- var debugBinContainer = document.createElement("div");
3781
- debugBinContainer.className = "".concat(prefix, "-debug-bin-container");
3888
+ var debugBinContainer = document[_DYN_CREATE_ELEMENT ]("div");
3889
+ debugBinContainer[_DYN_CLASS_NAME ] = "".concat(prefix, "-debug-bin-container");
3782
3890
  debugBinParent = new DebugBinParent(debugBinContainer, [], 0, prefix);
3783
3891
  arrForEach(foundTrackers_1, function (tracker, idx) {
3784
3892
  debugBins[tracker] = new DebugBin(tracker, 0, debugBinParent, (idx + 1) * 50);
3785
3893
  });
3786
- permStyleEl = document.createElement("style");
3787
- permStyleEl.innerHTML = permStyle(prefix);
3788
- document.head.appendChild(permStyleEl);
3894
+ permStyleEl = document[_DYN_CREATE_ELEMENT ]("style");
3895
+ permStyleEl[_DYN_INNER_HTML ] = permStyle(prefix);
3896
+ document.head[_DYN_APPEND_CHILD ](permStyleEl);
3789
3897
  debugBinParent.addButton(function (evt) {
3790
- evt.stopPropagation();
3791
- if (dashboard.isDisplayed()) {
3898
+ evt[_DYN_STOP_PROPAGATION ]();
3899
+ if (dashboard[_DYN_IS_DISPLAYED ]()) {
3792
3900
  dashboard.hide();
3793
3901
  }
3794
3902
  else {
3795
3903
  dashboard.show();
3796
3904
  }
3797
3905
  }, "show dashboard");
3798
- document.body.appendChild(debugBinContainer);
3799
- dashboard.newLogEntry(config, 0, "config", 0, "config", true);
3906
+ document.body[_DYN_APPEND_CHILD ](debugBinContainer);
3907
+ dashboard[_DYN_NEW_LOG_ENTRY ](config, 0, "config", 0, "config", true);
3800
3908
  }
3801
3909
  };
3802
3910
  function _addTarget(targetObjects, ext) {
3803
3911
  if (ext && arrIndexOf(targetObjects, ext) === -1) {
3804
- targetObjects.push(ext);
3912
+ targetObjects[_DYN_PUSH ](ext);
3805
3913
  return true;
3806
3914
  }
3807
3915
  return false;
@@ -3820,10 +3928,10 @@ var DebugPlugin = /** @class */ (function (_super) {
3820
3928
  }
3821
3929
  function _createInstrumentObject(funcArgs, orgArgs) {
3822
3930
  var result = {
3823
- funcName: funcArgs.name,
3931
+ funcName: funcArgs[_DYN_NAME ],
3824
3932
  inst: funcArgs.inst
3825
3933
  };
3826
- if (orgArgs && orgArgs.length) {
3934
+ if (orgArgs && orgArgs[_DYN_LENGTH$1 ]) {
3827
3935
  result.args = orgArgs;
3828
3936
  }
3829
3937
  if (!isUndefined(funcArgs.err)) {
@@ -3836,14 +3944,14 @@ var DebugPlugin = /** @class */ (function (_super) {
3836
3944
  }
3837
3945
  function _getEvtPrefix(funcArgs) {
3838
3946
  var identifier = getTargetName(funcArgs.inst);
3839
- var evtPrefix = funcArgs.name;
3947
+ var evtPrefix = funcArgs[_DYN_NAME ];
3840
3948
  if (identifier) {
3841
3949
  evtPrefix += ":" + identifier;
3842
3950
  }
3843
3951
  return evtPrefix;
3844
3952
  }
3845
3953
  function _logEntry(theEvent, evtName, kind) {
3846
- dashboard.newLogEntry(theEvent, dateNow() - startTime, evtName, 0, kind);
3954
+ dashboard[_DYN_NEW_LOG_ENTRY ](theEvent, dateNow() - startTime, evtName, 0, kind);
3847
3955
  var dbgExt = getDebugExt(_self.core.config);
3848
3956
  if (dbgExt && dbgExt.debugMsg) {
3849
3957
  dbgExt.debugMsg(evtName, theEvent);
@@ -3856,12 +3964,12 @@ var DebugPlugin = /** @class */ (function (_super) {
3856
3964
  orgArgs[_i - 1] = arguments[_i];
3857
3965
  }
3858
3966
  (debugBins[funcArgs.name] || debugBins["default"]).increment();
3859
- if (funcArgs.name === "trackException" && !debugBinParent.showChildren) {
3967
+ if (funcArgs[_DYN_NAME ] === "trackException" && !debugBinParent[_DYN_SHOW_CHILDREN ]) {
3860
3968
  debugBinParent.addClassToEl("notify");
3861
3969
  }
3862
3970
  var evtPrefix = _getEvtPrefix(funcArgs);
3863
- _logEntry(_createInstrumentObject(funcArgs, orgArgs), evtPrefix, funcArgs.name);
3864
- if (_theConfig.dumpToConsole() && console && console.log) {
3971
+ _logEntry(_createInstrumentObject(funcArgs, orgArgs), evtPrefix, funcArgs[_DYN_NAME ]);
3972
+ if (_theConfig[_DYN_DUMP_TO_CONSOLE ]() && console && console.log) {
3865
3973
  console.log("[".concat(evtPrefix, "] preProcess - funcArgs: "), funcArgs);
3866
3974
  console.log("[".concat(evtPrefix, "] preProcess - orgArgs: "), orgArgs);
3867
3975
  }
@@ -3875,21 +3983,21 @@ var DebugPlugin = /** @class */ (function (_super) {
3875
3983
  }
3876
3984
  if (!isUndefined(funcArgs.err)) {
3877
3985
  var evtPrefix = _getEvtPrefix(funcArgs);
3878
- if (!debugBinParent.showChildren) {
3986
+ if (!debugBinParent[_DYN_SHOW_CHILDREN ]) {
3879
3987
  debugBinParent.addClassToEl("notify");
3880
3988
  }
3881
- _logEntry(_createInstrumentObject(funcArgs, orgArgs), evtPrefix, funcArgs.name);
3882
- if (_theConfig.dumpToConsole() && console && console.log) {
3989
+ _logEntry(_createInstrumentObject(funcArgs, orgArgs), evtPrefix, funcArgs[_DYN_NAME ]);
3990
+ if (_theConfig[_DYN_DUMP_TO_CONSOLE ]() && console && console.log) {
3883
3991
  console.log("[".concat(evtPrefix, "] complete"));
3884
3992
  }
3885
3993
  }
3886
3994
  };
3887
3995
  }
3888
3996
  _self.processTelemetry = function (event, itemCtx) {
3889
- if (_theConfig.dumpToConsole() && console && console.log) {
3997
+ if (_theConfig[_DYN_DUMP_TO_CONSOLE ]() && console && console.log) {
3890
3998
  console.log("[".concat(_self.identifier, ":processTelemetry] complete"));
3891
3999
  }
3892
- if (!debugBins["processTelemetry"] && _theConfig.logProcessTelemetry() === true) {
4000
+ if (!debugBins["processTelemetry"] && _theConfig[_DYN_LOG_PROCESS_TELEMETR2 ]() === true) {
3893
4001
  _logEntry(event, "[".concat(_self.identifier, ":processTelemetry[").concat(event.baseType, "]"), "processTelemetry");
3894
4002
  }
3895
4003
  _self.processNext(event, itemCtx);
@@ -3903,4 +4011,4 @@ var DebugPlugin = /** @class */ (function (_super) {
3903
4011
  var DebugPlugin$1 = DebugPlugin;
3904
4012
 
3905
4013
  exports.DebugPlugin = DebugPlugin$1;
3906
- //# sourceMappingURL=ai.dbg.2.8.5-nightly.2206-04.cjs.js.map
4014
+ //# sourceMappingURL=ai.dbg.2.8.5-nightly.2206-06.cjs.js.map