@microsoft/applicationinsights-channel-js 3.1.0-nightly3.2401-09 → 3.1.0-nightly3.2401-10

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 (55) hide show
  1. package/browser/es5/{applicationinsights-channel-js.3.1.0-nightly3.2401-09.cjs.js → applicationinsights-channel-js.3.1.0-nightly3.2401-10.cjs.js} +100 -59
  2. package/browser/es5/applicationinsights-channel-js.3.1.0-nightly3.2401-10.cjs.js.map +1 -0
  3. package/browser/es5/applicationinsights-channel-js.3.1.0-nightly3.2401-10.cjs.min.js +6 -0
  4. package/browser/es5/applicationinsights-channel-js.3.1.0-nightly3.2401-10.cjs.min.js.map +1 -0
  5. package/browser/es5/{applicationinsights-channel-js.3.1.0-nightly3.2401-09.gbl.js → applicationinsights-channel-js.3.1.0-nightly3.2401-10.gbl.js} +102 -61
  6. package/browser/es5/applicationinsights-channel-js.3.1.0-nightly3.2401-10.gbl.js.map +1 -0
  7. package/browser/es5/applicationinsights-channel-js.3.1.0-nightly3.2401-10.gbl.min.js +6 -0
  8. package/browser/es5/applicationinsights-channel-js.3.1.0-nightly3.2401-10.gbl.min.js.map +1 -0
  9. package/browser/es5/applicationinsights-channel-js.3.1.0-nightly3.2401-10.integrity.json +66 -0
  10. package/browser/es5/{applicationinsights-channel-js.3.1.0-nightly3.2401-09.js → applicationinsights-channel-js.3.1.0-nightly3.2401-10.js} +102 -61
  11. package/browser/es5/applicationinsights-channel-js.3.1.0-nightly3.2401-10.js.map +1 -0
  12. package/browser/es5/applicationinsights-channel-js.3.1.0-nightly3.2401-10.min.js +6 -0
  13. package/browser/es5/applicationinsights-channel-js.3.1.0-nightly3.2401-10.min.js.map +1 -0
  14. package/browser/es5/applicationinsights-channel-js.3.cjs.js +99 -58
  15. package/browser/es5/applicationinsights-channel-js.3.cjs.js.map +1 -1
  16. package/browser/es5/applicationinsights-channel-js.3.cjs.min.js +2 -2
  17. package/browser/es5/applicationinsights-channel-js.3.cjs.min.js.map +1 -1
  18. package/browser/es5/applicationinsights-channel-js.3.gbl.js +101 -60
  19. package/browser/es5/applicationinsights-channel-js.3.gbl.js.map +1 -1
  20. package/browser/es5/applicationinsights-channel-js.3.gbl.min.js +2 -2
  21. package/browser/es5/applicationinsights-channel-js.3.gbl.min.js.map +1 -1
  22. package/browser/es5/applicationinsights-channel-js.3.integrity.json +25 -25
  23. package/browser/es5/applicationinsights-channel-js.3.js +101 -60
  24. package/browser/es5/applicationinsights-channel-js.3.js.map +1 -1
  25. package/browser/es5/applicationinsights-channel-js.3.min.js +2 -2
  26. package/browser/es5/applicationinsights-channel-js.3.min.js.map +1 -1
  27. package/dist/es5/applicationinsights-channel-js.js +99 -58
  28. package/dist/es5/applicationinsights-channel-js.js.map +1 -1
  29. package/dist/es5/applicationinsights-channel-js.min.js +2 -2
  30. package/dist/es5/applicationinsights-channel-js.min.js.map +1 -1
  31. package/dist-es5/EnvelopeCreator.js +2 -2
  32. package/dist-es5/EnvelopeCreator.js.map +1 -1
  33. package/dist-es5/Interfaces.js +1 -1
  34. package/dist-es5/InternalConstants.js +1 -1
  35. package/dist-es5/SendBuffer.js +1 -1
  36. package/dist-es5/Sender.js +1 -1
  37. package/dist-es5/Serializer.js +1 -1
  38. package/dist-es5/TelemetryProcessors/Sample.js +1 -1
  39. package/dist-es5/TelemetryProcessors/SamplingScoreGenerators/HashCodeScoreGenerator.js +1 -1
  40. package/dist-es5/TelemetryProcessors/SamplingScoreGenerators/SamplingScoreGenerator.js +1 -1
  41. package/dist-es5/__DynamicConstants.js +1 -1
  42. package/dist-es5/applicationinsights-channel-js.js +1 -1
  43. package/package.json +5 -5
  44. package/types/applicationinsights-channel-js.d.ts +1 -1
  45. package/types/applicationinsights-channel-js.namespaced.d.ts +1 -1
  46. package/browser/es5/applicationinsights-channel-js.3.1.0-nightly3.2401-09.cjs.js.map +0 -1
  47. package/browser/es5/applicationinsights-channel-js.3.1.0-nightly3.2401-09.cjs.min.js +0 -6
  48. package/browser/es5/applicationinsights-channel-js.3.1.0-nightly3.2401-09.cjs.min.js.map +0 -1
  49. package/browser/es5/applicationinsights-channel-js.3.1.0-nightly3.2401-09.gbl.js.map +0 -1
  50. package/browser/es5/applicationinsights-channel-js.3.1.0-nightly3.2401-09.gbl.min.js +0 -6
  51. package/browser/es5/applicationinsights-channel-js.3.1.0-nightly3.2401-09.gbl.min.js.map +0 -1
  52. package/browser/es5/applicationinsights-channel-js.3.1.0-nightly3.2401-09.integrity.json +0 -66
  53. package/browser/es5/applicationinsights-channel-js.3.1.0-nightly3.2401-09.js.map +0 -1
  54. package/browser/es5/applicationinsights-channel-js.3.1.0-nightly3.2401-09.min.js +0 -6
  55. package/browser/es5/applicationinsights-channel-js.3.1.0-nightly3.2401-09.min.js.map +0 -1
@@ -1,11 +1,11 @@
1
1
  /*!
2
- * Application Insights JavaScript SDK - Channel, 3.1.0-nightly3.2401-09
2
+ * Application Insights JavaScript SDK - Channel, 3.1.0-nightly3.2401-10
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  (function (global, factory) {
6
6
  var undef = "undefined";
7
- var nsKey, key, nm, theExports = {}, modName = "es5_applicationinsights_channel_js_3_1_0_nightly3_2401_09", msMod="__ms$mod__";
8
- var mods={}, modDetail=mods[modName]={}, ver="3.1.0-nightly3.2401-09";
7
+ var nsKey, key, nm, theExports = {}, modName = "es5_applicationinsights_channel_js_3_1_0_nightly3_2401_10", msMod="__ms$mod__";
8
+ var mods={}, modDetail=mods[modName]={}, ver="3.1.0-nightly3.2401-10";
9
9
  var baseNs=global, nsKey="Microsoft", baseNs=baseNs[nsKey]=(baseNs[nsKey]||{});
10
10
  // Versioned namespace "Microsoft.ApplicationInsights3"
11
11
  var exportNs=baseNs, nsKey="ApplicationInsights3", exportNs=exportNs[nsKey]=(exportNs[nsKey]||{});
@@ -48,7 +48,6 @@ var CONSTRUCTOR = "constructor";
48
48
  var SYMBOL = "Symbol";
49
49
  var POLYFILL_TAG = "_polyfill";
50
50
  var INDEX_OF = "indexOf";
51
- var LAST_INDEX_OF = "lastIndexOf";
52
51
  var LENGTH = "length";
53
52
  var DONE = "done";
54
53
  var VALUE = "value";
@@ -73,34 +72,42 @@ function safeGet(cb, defValue) {
73
72
  return result;
74
73
  }
75
74
 
75
+ /*#__NO_SIDE_EFFECTS__*/
76
76
  function _createIs(theType) {
77
77
  return function (value) {
78
78
  return typeof value === theType;
79
79
  };
80
80
  }
81
+ /*#__NO_SIDE_EFFECTS__*/
81
82
  function _createObjIs(theName) {
82
83
  var theType = "[object " + theName + "]";
83
84
  return function (value) {
84
85
  return !!(value && objToString(value) === theType);
85
86
  };
86
87
  }
88
+ /*#__NO_SIDE_EFFECTS__*/
87
89
  function objToString(value) {
88
90
  return ObjProto.toString[CALL](value);
89
91
  }
92
+ /*#__NO_SIDE_EFFECTS__*/
90
93
  function isUndefined(value) {
91
94
  return typeof value === UNDEFINED || value === UNDEFINED;
92
95
  }
96
+ /*#__NO_SIDE_EFFECTS__*/
93
97
  function isNullOrUndefined(value) {
94
98
  return value === NULL_VALUE || isUndefined(value);
95
99
  }
100
+ /*#__NO_SIDE_EFFECTS__*/
96
101
  function isStrictNullOrUndefined(value) {
97
102
  return value === NULL_VALUE || !isDefined(value);
98
103
  }
104
+ /*#__NO_SIDE_EFFECTS__*/
99
105
  function isDefined(arg) {
100
106
  return !!arg || arg !== UNDEF_VALUE;
101
107
  }
102
- var isString = ( _createIs(STRING));
103
- var isFunction = ( _createIs(FUNCTION));
108
+ var isString = ( /*#__PURE__*/_createIs(STRING));
109
+ var isFunction = ( /*#__PURE__*/_createIs(FUNCTION));
110
+ /*#__NO_SIDE_EFFECTS__*/
104
111
  function isObject(value) {
105
112
  if (!value && isNullOrUndefined(value)) {
106
113
  return false;
@@ -108,23 +115,27 @@ function isObject(value) {
108
115
  return !!value && typeof value === OBJECT;
109
116
  }
110
117
  var isArray = ArrCls.isArray;
111
- var isNumber = ( _createIs(NUMBER));
112
- var isBoolean = ( _createIs(BOOLEAN));
113
- var isError = ( _createObjIs("Error"));
118
+ var isNumber = ( /*#__PURE__*/_createIs(NUMBER));
119
+ var isBoolean = ( /*#__PURE__*/_createIs(BOOLEAN));
120
+ var isError = ( /*#__PURE__*/_createObjIs("Error"));
121
+ /*#__NO_SIDE_EFFECTS__*/
114
122
  function isPromiseLike(value) {
115
123
  return !!(value && value.then && isFunction(value.then));
116
124
  }
125
+ /*#__NO_SIDE_EFFECTS__*/
117
126
  function isTruthy(value) {
118
127
  return !(!value || safeGet(function () { return !(value && (0 + value)); }, !value));
119
128
  }
120
129
 
121
130
  var objGetOwnPropertyDescriptor = ObjClass.getOwnPropertyDescriptor;
122
131
 
132
+ /*#__NO_SIDE_EFFECTS__*/
123
133
  function objHasOwnProperty(obj, prop) {
124
134
  return obj && ObjProto.hasOwnProperty[CALL](obj, prop);
125
135
  }
126
136
 
127
137
  var objHasOwn = ObjClass["hasOwn"] || polyObjHasOwn;
138
+ /*#__NO_SIDE_EFFECTS__*/
128
139
  function polyObjHasOwn(obj, prop) {
129
140
  return objHasOwnProperty(obj, prop) || !!objGetOwnPropertyDescriptor(obj, prop);
130
141
  }
@@ -141,6 +152,7 @@ function objForEachKey(theObject, callbackfn, thisArg) {
141
152
  }
142
153
  }
143
154
 
155
+ /*#__NO_SIDE_EFFECTS__*/
144
156
  function _createKeyValueMap(values, keyType, valueType, completeFn) {
145
157
  var theMap = {};
146
158
  objForEachKey(values, function (key, value) {
@@ -158,10 +170,12 @@ var _objFreeze = ObjClass["freeze"];
158
170
  function _doNothing(value) {
159
171
  return value;
160
172
  }
173
+ /*#__NO_SIDE_EFFECTS__*/
161
174
  function _getProto(value) {
162
175
  return value[__PROTO__] || NULL_VALUE;
163
176
  }
164
177
  var objAssign = ObjClass["assign"];
178
+ /*#__NO_SIDE_EFFECTS__*/
165
179
  function objKeys(value) {
166
180
  if (!isObject(value) || value === NULL_VALUE) {
167
181
  throwTypeError("objKeys called on non-object");
@@ -181,12 +195,15 @@ function objDeepFreeze(value) {
181
195
  var objFreeze = _objFreeze || _doNothing;
182
196
  var objGetPrototypeOf = ObjClass["getPrototypeOf"] || _getProto;
183
197
 
198
+ /*#__NO_SIDE_EFFECTS__*/
184
199
  function createEnum(values) {
185
200
  return _createKeyValueMap(values, 1 , 0 , objDeepFreeze);
186
201
  }
202
+ /*#__NO_SIDE_EFFECTS__*/
187
203
  function createEnumKeyMap(values) {
188
204
  return _createKeyValueMap(values, 0 , 0 , objDeepFreeze);
189
205
  }
206
+ /*#__NO_SIDE_EFFECTS__*/
190
207
  function createSimpleMap(values) {
191
208
  var mapClass = {};
192
209
  objForEachKey(values, function (key, value) {
@@ -195,11 +212,12 @@ function createSimpleMap(values) {
195
212
  });
196
213
  return objDeepFreeze(mapClass);
197
214
  }
215
+ /*#__NO_SIDE_EFFECTS__*/
198
216
  function createTypeMap(values) {
199
217
  return createSimpleMap(values);
200
218
  }
201
219
 
202
- var _wellKnownSymbolMap = createEnumKeyMap({
220
+ var _wellKnownSymbolMap = /*#__PURE__*/ createEnumKeyMap({
203
221
  asyncIterator: 0 ,
204
222
  hasInstance: 1 ,
205
223
  isConcatSpreadable: 2 ,
@@ -219,6 +237,7 @@ var asString = StrCls;
219
237
 
220
238
  var GLOBAL_CONFIG_KEY = "__tsUtils$gblCfg";
221
239
  var _globalCfg;
240
+ /*#__NO_SIDE_EFFECTS__*/
222
241
  function _getGlobalValue() {
223
242
  var result;
224
243
  if (typeof globalThis !== UNDEFINED) {
@@ -235,6 +254,7 @@ function _getGlobalValue() {
235
254
  }
236
255
  return result;
237
256
  }
257
+ /*#__NO_SIDE_EFFECTS__*/
238
258
  function _getGlobalConfig() {
239
259
  if (!_globalCfg) {
240
260
  var gbl = _getGlobalValue() || {};
@@ -243,6 +263,7 @@ function _getGlobalConfig() {
243
263
  return _globalCfg;
244
264
  }
245
265
 
266
+ /*#__NO_SIDE_EFFECTS__*/
246
267
  function dumpObj(object, format) {
247
268
  var propertyValueDump = EMPTY;
248
269
  if (isError(object)) {
@@ -263,12 +284,14 @@ var _slice;
263
284
  function _throwMissingFunction(funcName, thisArg) {
264
285
  throwTypeError("'" + asString(funcName) + "' not defined for " + dumpObj(thisArg));
265
286
  }
287
+ /*#__NO_SIDE_EFFECTS__*/
266
288
  function _unwrapInstFunction(funcName) {
267
289
  _slice = _slice || ArrProto[SLICE];
268
290
  return function (thisArg) {
269
291
  return thisArg[funcName].apply(thisArg, _slice[CALL](arguments, 1));
270
292
  };
271
293
  }
294
+ /*#__NO_SIDE_EFFECTS__*/
272
295
  function _unwrapFunction(funcName, clsProto) {
273
296
  _slice = _slice || ArrProto[SLICE];
274
297
  var clsFn = clsProto && clsProto[funcName];
@@ -280,6 +303,7 @@ function _unwrapFunction(funcName, clsProto) {
280
303
  _throwMissingFunction(funcName, thisArg);
281
304
  };
282
305
  }
306
+ /*#__NO_SIDE_EFFECTS__*/
283
307
  function _unwrapFunctionWithPoly(funcName, clsProto, polyFunc) {
284
308
  _slice = _slice || ArrProto[SLICE];
285
309
  var clsFn = clsProto && clsProto[funcName];
@@ -295,10 +319,11 @@ function _unwrapFunctionWithPoly(funcName, clsProto, polyFunc) {
295
319
 
296
320
  var mathMax = MathCls.max;
297
321
 
298
- var strSlice = ( _unwrapFunction(SLICE, StrProto));
322
+ var strSlice = ( /*#__PURE__*/_unwrapFunction(SLICE, StrProto));
299
323
 
300
- var strSubstring = ( _unwrapFunction("substring", StrProto));
301
- var strSubstr = ( _unwrapFunctionWithPoly("substr", StrProto, polyStrSubstr));
324
+ var strSubstring = ( /*#__PURE__*/_unwrapFunction("substring", StrProto));
325
+ var strSubstr = ( /*#__PURE__*/_unwrapFunctionWithPoly("substr", StrProto, polyStrSubstr));
326
+ /*#__NO_SIDE_EFFECTS__*/
302
327
  function polyStrSubstr(value, start, length) {
303
328
  if (isNullOrUndefined(value)) {
304
329
  throwTypeError("'polyStrSubstr called with invalid " + dumpObj(value));
@@ -318,6 +343,7 @@ function polyStrSubstr(value, start, length) {
318
343
 
319
344
  var UNIQUE_REGISTRY_ID = "_urid";
320
345
  var _polySymbols;
346
+ /*#__NO_SIDE_EFFECTS__*/
321
347
  function _globalSymbolRegistry() {
322
348
  if (!_polySymbols) {
323
349
  var gblCfg = _getGlobalConfig();
@@ -325,7 +351,8 @@ function _globalSymbolRegistry() {
325
351
  }
326
352
  return _polySymbols;
327
353
  }
328
- var _wellKnownSymbolCache = {};
354
+ var _wellKnownSymbolCache;
355
+ /*#__NO_SIDE_EFFECTS__*/
329
356
  function polyNewSymbol(description) {
330
357
  var theSymbol = {
331
358
  description: asString(description),
@@ -334,6 +361,7 @@ function polyNewSymbol(description) {
334
361
  theSymbol[POLYFILL_TAG] = true;
335
362
  return theSymbol;
336
363
  }
364
+ /*#__NO_SIDE_EFFECTS__*/
337
365
  function polySymbolFor(key) {
338
366
  var registry = _globalSymbolRegistry();
339
367
  if (!objHasOwn(registry.k, key)) {
@@ -345,7 +373,9 @@ function polySymbolFor(key) {
345
373
  }
346
374
  return registry.k[key];
347
375
  }
376
+ /*#__NO_SIDE_EFFECTS__*/
348
377
  function polyGetKnownSymbol(name) {
378
+ !_wellKnownSymbolCache && (_wellKnownSymbolCache = {});
349
379
  var result;
350
380
  var knownName = _wellKnownSymbolMap[name];
351
381
  if (knownName) {
@@ -362,6 +392,7 @@ var propMap = {
362
392
  g: "get",
363
393
  s: "set"
364
394
  };
395
+ /*#__NO_SIDE_EFFECTS__*/
365
396
  function _createProp(value) {
366
397
  var prop = {};
367
398
  prop[propMap["c"]] = true;
@@ -425,13 +456,16 @@ var _cachedWindow;
425
456
  var _cachedDocument;
426
457
  var _cachedNavigator;
427
458
  var _isNode;
459
+ /*#__NO_SIDE_EFFECTS__*/
428
460
  function lazySafeGetInst(name) {
429
461
  return safeGetLazy(function () { return getInst(name) || UNDEF_VALUE; }, UNDEF_VALUE);
430
462
  }
463
+ /*#__NO_SIDE_EFFECTS__*/
431
464
  function getGlobal(useCached) {
432
465
  (!_cachedGlobal || useCached === false || (_globalLazyTestHooks && _globalLazyTestHooks.lzy && !_cachedGlobal.b)) && (_cachedGlobal = safeGetLazy(_getGlobalValue, NULL_VALUE));
433
466
  return _cachedGlobal.v;
434
467
  }
468
+ /*#__NO_SIDE_EFFECTS__*/
435
469
  function getInst(name, useCached) {
436
470
  var gbl = (!_cachedGlobal || useCached === false) ? getGlobal(useCached) : _cachedGlobal.v;
437
471
  if (gbl && gbl[name]) {
@@ -442,20 +476,25 @@ function getInst(name, useCached) {
442
476
  }
443
477
  return NULL_VALUE;
444
478
  }
479
+ /*#__NO_SIDE_EFFECTS__*/
445
480
  function getDocument() {
446
481
  (!_cachedDocument || (_globalLazyTestHooks && _globalLazyTestHooks.lzy && !_cachedDocument.b)) && (_cachedDocument = lazySafeGetInst("document"));
447
482
  return _cachedDocument.v;
448
483
  }
484
+ /*#__NO_SIDE_EFFECTS__*/
449
485
  function hasWindow() {
450
486
  return !!getWindow();
451
487
  }
488
+ /*#__NO_SIDE_EFFECTS__*/
452
489
  function getWindow() {
453
490
  (!_cachedWindow || (_globalLazyTestHooks && _globalLazyTestHooks.lzy && !_cachedWindow.b)) && (_cachedWindow = lazySafeGetInst(WINDOW));
454
491
  return _cachedWindow.v;
455
492
  }
493
+ /*#__NO_SIDE_EFFECTS__*/
456
494
  function hasNavigator() {
457
495
  return !!getNavigator();
458
496
  }
497
+ /*#__NO_SIDE_EFFECTS__*/
459
498
  function getNavigator() {
460
499
  (!_cachedNavigator || (_globalLazyTestHooks && _globalLazyTestHooks.lzy && !_cachedNavigator.b)) && (_cachedNavigator = lazySafeGetInst("navigator"));
461
500
  return _cachedNavigator.v;
@@ -467,12 +506,13 @@ function isNode() {
467
506
 
468
507
  var _symbol;
469
508
  var _symbolFor;
470
- var _symbolKeyFor;
509
+ /*#__NO_SIDE_EFFECTS__*/
471
510
  function _getSymbolValue(name) {
472
511
  return safeGetLazy(function () {
473
512
  return (_symbol.v ? _symbol.v[name] : UNDEF_VALUE);
474
513
  }, UNDEF_VALUE);
475
514
  }
515
+ /*#__NO_SIDE_EFFECTS__*/
476
516
  function hasSymbol() {
477
517
  return !!getSymbol();
478
518
  }
@@ -480,26 +520,30 @@ function getSymbol() {
480
520
  var resetCache = !_symbol || (_globalLazyTestHooks && _globalLazyTestHooks.lzy && !_symbol.b);
481
521
  resetCache && (_symbol = lazySafeGetInst(SYMBOL));
482
522
  (!_symbolFor || resetCache) && (_symbolFor = _getSymbolValue("for"));
483
- (!_symbolKeyFor || resetCache) && (_symbolKeyFor = _getSymbolValue("keyFor"));
484
523
  return _symbol.v;
485
524
  }
525
+ /*#__NO_SIDE_EFFECTS__*/
486
526
  function getKnownSymbol(name, noPoly) {
487
527
  var knownName = _wellKnownSymbolMap[name];
488
528
  (!_symbol || (_globalLazyTestHooks.lzy && !_symbol.b)) && getSymbol();
489
529
  return _symbol.v ? _symbol.v[knownName || name] : (!noPoly ? polyGetKnownSymbol(name) : UNDEF_VALUE);
490
530
  }
531
+ /*#__NO_SIDE_EFFECTS__*/
491
532
  function newSymbol(description, noPoly) {
492
533
  (!_symbol || (_globalLazyTestHooks.lzy && !_symbol.b)) && getSymbol();
493
534
  return _symbol.v ? _symbol.v(description) : (!noPoly ? polyNewSymbol(description) : NULL_VALUE);
494
535
  }
536
+ /*#__NO_SIDE_EFFECTS__*/
495
537
  function symbolFor(key) {
496
538
  (!_symbolFor || (_globalLazyTestHooks.lzy && !_symbol.b)) && getSymbol();
497
539
  return (_symbolFor.v || polySymbolFor)(key);
498
540
  }
499
541
 
542
+ /*#__NO_SIDE_EFFECTS__*/
500
543
  function isIterator(value) {
501
544
  return !!value && isFunction(value.next);
502
545
  }
546
+ /*#__NO_SIDE_EFFECTS__*/
503
547
  function isIterable(value) {
504
548
  return !isStrictNullOrUndefined(value) && isFunction(value[getKnownSymbol(3 )]);
505
549
  }
@@ -546,7 +590,7 @@ function iterForOf(iter, callbackfn, thisArg) {
546
590
  }
547
591
  }
548
592
 
549
- var fnApply = ( _unwrapInstFunction("apply"));
593
+ var fnApply = ( /*#__PURE__*/_unwrapInstFunction("apply"));
550
594
 
551
595
  function arrAppend(target, elms) {
552
596
  if (!isUndefined(elms) && target) {
@@ -578,14 +622,14 @@ function arrForEach(theArray, callbackfn, thisArg) {
578
622
  }
579
623
  }
580
624
 
581
- var arrIndexOf = ( _unwrapFunction(INDEX_OF, ArrProto));
582
- ( _unwrapFunction(LAST_INDEX_OF, ArrProto));
625
+ var arrIndexOf = ( /*#__PURE__*/_unwrapFunction(INDEX_OF, ArrProto));
583
626
 
584
- var arrMap = ( _unwrapFunction("map", ArrProto));
627
+ var arrMap = ( /*#__PURE__*/_unwrapFunction("map", ArrProto));
585
628
 
586
- var arrSlice = ( _unwrapFunction(SLICE, ArrProto));
629
+ var arrSlice = ( /*#__PURE__*/_unwrapFunction(SLICE, ArrProto));
587
630
 
588
631
  var objCreate = ObjClass["create"] || polyObjCreate;
632
+ /*#__NO_SIDE_EFFECTS__*/
589
633
  function polyObjCreate(obj) {
590
634
  if (!obj) {
591
635
  return {};
@@ -622,20 +666,21 @@ function _createCustomError(name, d, b) {
622
666
  d[PROTOTYPE] = b === NULL_VALUE ? objCreate(b) : (__[PROTOTYPE] = b[PROTOTYPE], new __());
623
667
  return d;
624
668
  }
625
- var _safeSetName = function (baseClass, name) {
669
+ function _safeSetName(baseClass, name) {
626
670
  try {
627
671
  name && (baseClass[NAME] = name);
628
672
  }
629
673
  catch (e) {
630
674
  }
631
- };
632
- var _safeDefineName = function (target, name) {
675
+ }
676
+ function _safeDefineName(target, name) {
633
677
  try {
634
678
  objDefine(target, NAME, { v: name, c: true, e: false });
635
679
  }
636
680
  catch (e) {
637
681
  }
638
- };
682
+ }
683
+ /*#__NO_SIDE_EFFECTS__*/
639
684
  function createCustomError(name, constructCb, errorBase) {
640
685
  var theBaseClass = errorBase || Error;
641
686
  var orgName = theBaseClass[PROTOTYPE][NAME];
@@ -661,13 +706,16 @@ function createCustomError(name, constructCb, errorBase) {
661
706
  }, theBaseClass);
662
707
  }
663
708
 
709
+ /*#__NO_SIDE_EFFECTS__*/
664
710
  function utcNow() {
665
711
  return (Date.now || polyUtcNow)();
666
712
  }
713
+ /*#__NO_SIDE_EFFECTS__*/
667
714
  function polyUtcNow() {
668
715
  return new Date().getTime();
669
716
  }
670
717
 
718
+ /*#__NO_SIDE_EFFECTS__*/
671
719
  function _createTrimFn(exp) {
672
720
  return function _doTrim(value) {
673
721
  if (isNullOrUndefined(value)) {
@@ -679,17 +727,14 @@ function _createTrimFn(exp) {
679
727
  return value;
680
728
  };
681
729
  }
682
- var polyStrTrim = ( _createTrimFn(/^\s+|(?=\s)\s+$/g));
683
- var polyStrTrimStart = ( _createTrimFn(/^\s+/g));
684
- var polyStrTrimEnd = ( _createTrimFn(/(?=\s)\s+$/g));
730
+ var polyStrTrim = ( /*#__PURE__*/_createTrimFn(/^\s+|(?=\s)\s+$/g));
685
731
 
686
- var strTrim = ( _unwrapFunctionWithPoly("trim", StrProto, polyStrTrim));
687
- ( _unwrapFunctionWithPoly("trimStart", StrProto, polyStrTrimStart));
688
- ( _unwrapFunctionWithPoly("trimEnd", StrProto, polyStrTrimEnd));
732
+ var strTrim = ( /*#__PURE__*/_unwrapFunctionWithPoly("trim", StrProto, polyStrTrim));
689
733
 
690
734
  var _fnToString;
691
735
  var _objCtrFnString;
692
736
  var _gblWindow;
737
+ /*#__NO_SIDE_EFFECTS__*/
693
738
  function isPlainObject(value) {
694
739
  if (!value || typeof value !== OBJECT) {
695
740
  return false;
@@ -719,8 +764,7 @@ function isPlainObject(value) {
719
764
  return result;
720
765
  }
721
766
 
722
- var strIndexOf = ( _unwrapFunction(INDEX_OF, StrProto));
723
- ( _unwrapFunction(LAST_INDEX_OF, StrProto));
767
+ var strIndexOf = ( /*#__PURE__*/_unwrapFunction(INDEX_OF, StrProto));
724
768
 
725
769
  var REF = "ref";
726
770
  var UNREF = "un" + REF;
@@ -811,8 +855,6 @@ function scheduleTimeout(callback, timeout) {
811
855
  return _createTimeoutWith(this, true, UNDEF_VALUE, arrSlice(arguments));
812
856
  }
813
857
 
814
- (getGlobal() || {})["Symbol"];
815
- (getGlobal() || {})["Reflect"];
816
858
  var strHasOwnProperty = "hasOwnProperty";
817
859
  var __objAssignFnImpl = function (t) {
818
860
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -921,13 +963,13 @@ function _forEachProp(target, func) {
921
963
  }
922
964
  }
923
965
  function _isDynamicCandidate(target, funcName, skipOwn) {
924
- return (funcName !== Constructor && typeof target[funcName] === strFunction && (skipOwn || objHasOwnProperty(target, funcName)));
966
+ return (funcName !== Constructor && typeof target[funcName] === strFunction && (skipOwn || objHasOwnProperty(target, funcName)) && funcName !== str__Proto && funcName !== Prototype);
925
967
  }
926
968
  function _throwTypeError(message) {
927
969
  throwTypeError("DynamicProto: " + message);
928
970
  }
929
971
  function _getInstanceFuncs(thisTarget) {
930
- var instFuncs = {};
972
+ var instFuncs = objCreate(null);
931
973
  _forEachProp(thisTarget, function (name) {
932
974
  if (!instFuncs[name] && _isDynamicCandidate(thisTarget, name, false)) {
933
975
  instFuncs[name] = thisTarget[name];
@@ -956,7 +998,7 @@ function _getBaseFuncs(classProto, thisTarget, instFuncs, useBaseInst) {
956
998
  return theFunc.apply(target, arguments);
957
999
  };
958
1000
  }
959
- var baseFuncs = {};
1001
+ var baseFuncs = objCreate(null);
960
1002
  _forEachProp(instFuncs, function (name) {
961
1003
  baseFuncs[name] = _instFuncProxy(thisTarget, instFuncs, name);
962
1004
  });
@@ -976,8 +1018,8 @@ function _getBaseFuncs(classProto, thisTarget, instFuncs, useBaseInst) {
976
1018
  function _getInstFunc(target, funcName, proto, currentDynProtoProxy) {
977
1019
  var instFunc = null;
978
1020
  if (target && objHasOwnProperty(proto, DynClassName)) {
979
- var instFuncTable = target[DynInstFuncTable] || {};
980
- instFunc = (instFuncTable[proto[DynClassName]] || {})[funcName];
1021
+ var instFuncTable = target[DynInstFuncTable] || objCreate(null);
1022
+ instFunc = (instFuncTable[proto[DynClassName]] || objCreate(null))[funcName];
981
1023
  if (!instFunc) {
982
1024
  _throwTypeError("Missing [" + funcName + "] " + strFunction);
983
1025
  }
@@ -1027,20 +1069,24 @@ function _populatePrototype(proto, className, target, baseInstFuncs, setInstance
1027
1069
  return dynProtoProxy;
1028
1070
  }
1029
1071
  if (!_isObjectOrArrayPrototype(proto)) {
1030
- var instFuncTable = target[DynInstFuncTable] = target[DynInstFuncTable] || {};
1031
- var instFuncs_1 = instFuncTable[className] = (instFuncTable[className] || {});
1032
- if (instFuncTable[DynAllowInstChkTag] !== false) {
1033
- instFuncTable[DynAllowInstChkTag] = !!setInstanceFunc;
1034
- }
1035
- _forEachProp(target, function (name) {
1036
- if (_isDynamicCandidate(target, name, false) && target[name] !== baseInstFuncs[name]) {
1037
- instFuncs_1[name] = target[name];
1038
- delete target[name];
1039
- if (!objHasOwnProperty(proto, name) || (proto[name] && !proto[name][DynProxyTag])) {
1040
- proto[name] = _createDynamicPrototype(proto, name);
1041
- }
1072
+ var instFuncTable = target[DynInstFuncTable] = target[DynInstFuncTable] || objCreate(null);
1073
+ if (!_isObjectOrArrayPrototype(instFuncTable)) {
1074
+ var instFuncs_1 = instFuncTable[className] = (instFuncTable[className] || objCreate(null));
1075
+ if (instFuncTable[DynAllowInstChkTag] !== false) {
1076
+ instFuncTable[DynAllowInstChkTag] = !!setInstanceFunc;
1077
+ }
1078
+ if (!_isObjectOrArrayPrototype(instFuncs_1)) {
1079
+ _forEachProp(target, function (name) {
1080
+ if (_isDynamicCandidate(target, name, false) && target[name] !== baseInstFuncs[name]) {
1081
+ instFuncs_1[name] = target[name];
1082
+ delete target[name];
1083
+ if (!objHasOwnProperty(proto, name) || (proto[name] && !proto[name][DynProxyTag])) {
1084
+ proto[name] = _createDynamicPrototype(proto, name);
1085
+ }
1086
+ }
1087
+ });
1042
1088
  }
1043
- });
1089
+ }
1044
1090
  }
1045
1091
  }
1046
1092
  function _checkPrototype(classProto, thisTarget) {
@@ -1803,7 +1849,7 @@ function newId(maxLength) {
1803
1849
  return result;
1804
1850
  }
1805
1851
 
1806
- var version = '3.1.0-nightly3.2401-09';
1852
+ var version = '3.1.0-nightly3.2401-10';
1807
1853
  var instanceName = "." + newId(6);
1808
1854
  var _dataUid = 0;
1809
1855
  function _canAcceptData(target) {
@@ -3801,11 +3847,6 @@ var StorageType = createEnumStyle({
3801
3847
  LocalStorage: 0 ,
3802
3848
  SessionStorage: 1
3803
3849
  });
3804
- createEnumStyle({
3805
- AI: 0 ,
3806
- AI_AND_W3C: 1 ,
3807
- W3C: 2
3808
- });
3809
3850
 
3810
3851
  var _canUseSessionStorage = undefined;
3811
3852
  var _storagePrefix = "";
@@ -4957,7 +4998,7 @@ function EnvelopeCreatorInit(logger, telemetryItem) {
4957
4998
  }
4958
4999
  }
4959
5000
  var EnvelopeCreator = {
4960
- Version: '3.1.0-nightly3.2401-09'
5001
+ Version: '3.1.0-nightly3.2401-10'
4961
5002
  };
4962
5003
  function DependencyEnvelopeCreator(logger, telemetryItem, customUndefinedValue) {
4963
5004
  EnvelopeCreatorInit(logger, telemetryItem);
@@ -6492,4 +6533,4 @@ var Sender = /** @class */ (function (_super) {
6492
6533
  exports.Sender = Sender;
6493
6534
 
6494
6535
  }));
6495
- //# sourceMappingURL=applicationinsights-channel-js.3.1.0-nightly3.2401-09.gbl.js.map
6536
+ //# sourceMappingURL=applicationinsights-channel-js.3.1.0-nightly3.2401-10.gbl.js.map