@microsoft/applicationinsights-teechannel-js 3.4.0-nightlybeta3.2504-05 → 3.4.0-nightlybeta3.2504-17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/browser/es5/{applicationinsights-teechannel-js.3.4.0-nightlybeta3.2504-05.js → applicationinsights-teechannel-js.3.4.0-nightlybeta3.2504-17.cjs.js} +210 -145
- package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta3.2504-17.cjs.js.map +1 -0
- package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta3.2504-17.cjs.min.js +6 -0
- package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta3.2504-17.cjs.min.js.map +1 -0
- package/browser/es5/{applicationinsights-teechannel-js.3.4.0-nightlybeta3.2504-05.gbl.js → applicationinsights-teechannel-js.3.4.0-nightlybeta3.2504-17.gbl.js} +212 -120
- package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta3.2504-17.gbl.js.map +1 -0
- package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta3.2504-17.gbl.min.js +6 -0
- package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta3.2504-17.gbl.min.js.map +1 -0
- package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta3.2504-17.integrity.json +66 -0
- package/browser/es5/{applicationinsights-teechannel-js.3.4.0-nightlybeta3.2504-05.cjs.js → applicationinsights-teechannel-js.3.4.0-nightlybeta3.2504-17.js} +237 -118
- package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta3.2504-17.js.map +1 -0
- package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta3.2504-17.min.js +6 -0
- package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta3.2504-17.min.js.map +1 -0
- package/browser/es5/applicationinsights-teechannel-js.3.cjs.js +209 -117
- package/browser/es5/applicationinsights-teechannel-js.3.cjs.js.map +1 -1
- package/browser/es5/applicationinsights-teechannel-js.3.cjs.min.js +2 -2
- package/browser/es5/applicationinsights-teechannel-js.3.cjs.min.js.map +1 -1
- package/browser/es5/applicationinsights-teechannel-js.3.gbl.js +211 -119
- package/browser/es5/applicationinsights-teechannel-js.3.gbl.js.map +1 -1
- package/browser/es5/applicationinsights-teechannel-js.3.gbl.min.js +2 -2
- package/browser/es5/applicationinsights-teechannel-js.3.gbl.min.js.map +1 -1
- package/browser/es5/applicationinsights-teechannel-js.3.integrity.json +25 -25
- package/browser/es5/applicationinsights-teechannel-js.3.js +211 -119
- package/browser/es5/applicationinsights-teechannel-js.3.js.map +1 -1
- package/browser/es5/applicationinsights-teechannel-js.3.min.js +2 -2
- package/browser/es5/applicationinsights-teechannel-js.3.min.js.map +1 -1
- package/dist/es5/applicationinsights-teechannel-js.js +209 -117
- package/dist/es5/applicationinsights-teechannel-js.js.map +1 -1
- package/dist/es5/applicationinsights-teechannel-js.min.js +2 -2
- package/dist/es5/applicationinsights-teechannel-js.min.js.map +1 -1
- package/dist-es5/ChannelController.js +1 -1
- package/dist-es5/Interfaces/ITeeChannelConfig.js +1 -1
- package/dist-es5/TeeChannel.js +1 -1
- package/dist-es5/__DynamicConstants.js +1 -1
- package/dist-es5/applicationinsights-teechannel-js.js +1 -1
- package/package.json +3 -3
- package/types/applicationinsights-teechannel-js.d.ts +1 -1
- package/types/applicationinsights-teechannel-js.namespaced.d.ts +33 -1
- package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta3.2504-05.cjs.js.map +0 -1
- package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta3.2504-05.cjs.min.js +0 -6
- package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta3.2504-05.cjs.min.js.map +0 -1
- package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta3.2504-05.gbl.js.map +0 -1
- package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta3.2504-05.gbl.min.js +0 -6
- package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta3.2504-05.gbl.min.js.map +0 -1
- package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta3.2504-05.integrity.json +0 -66
- package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta3.2504-05.js.map +0 -1
- package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta3.2504-05.min.js +0 -6
- package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta3.2504-05.min.js.map +0 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Application Insights JavaScript SDK - Tee Channel, 3.4.0-nightlybeta3.2504-
|
|
2
|
+
* Application Insights JavaScript SDK - Tee Channel, 3.4.0-nightlybeta3.2504-17
|
|
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 = "
|
|
8
|
-
var mods={}, modDetail=mods[modName]={}, ver="3.4.0-nightlybeta3.2504-
|
|
7
|
+
var nsKey, key, nm, theExports = {}, modName = "es5_applicationinsights_teechannel_js_3_4_0_nightlybeta3_2504_17", msMod="__ms$mod__";
|
|
8
|
+
var mods={}, modDetail=mods[modName]={}, ver="3.4.0-nightlybeta3.2504-17";
|
|
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]||{});
|
|
@@ -32,7 +32,7 @@ var strShimUndefined = "undefined";
|
|
|
32
32
|
var strShimPrototype = "prototype";
|
|
33
33
|
var ObjClass$1 = Object;
|
|
34
34
|
|
|
35
|
-
/*! https://github.com/nevware21/ts-utils v0.
|
|
35
|
+
/*! https://github.com/nevware21/ts-utils v0.12.2 */
|
|
36
36
|
/*#__NO_SIDE_EFFECTS__*/
|
|
37
37
|
function _pureAssign(func1, func2) {
|
|
38
38
|
return func1 || func2;
|
|
@@ -51,7 +51,6 @@ var __PROTO__ = "__proto__";
|
|
|
51
51
|
var UNDEFINED = "undefined";
|
|
52
52
|
var CONSTRUCTOR = "constructor";
|
|
53
53
|
var SYMBOL = "Symbol";
|
|
54
|
-
var POLYFILL_TAG = "_polyfill";
|
|
55
54
|
var LENGTH = "length";
|
|
56
55
|
var NAME = "name";
|
|
57
56
|
var CALL = "call";
|
|
@@ -64,6 +63,8 @@ var MathCls = ( /*#__PURE__*/_pureAssign(Math));
|
|
|
64
63
|
var ArrCls = ( /*#__PURE__*/_pureAssign(Array));
|
|
65
64
|
var ArrProto = ( /*#__PURE__*/_pureRef(ArrCls, PROTOTYPE));
|
|
66
65
|
var ArrSlice = ( /*#__PURE__*/_pureRef(ArrProto, "slice"));
|
|
66
|
+
var POLYFILL_TAG = "_polyfill";
|
|
67
|
+
var POLYFILL_TYPE_NAME = "__nw21$polytype__";
|
|
67
68
|
function safe(func, argArray) {
|
|
68
69
|
try {
|
|
69
70
|
return {
|
|
@@ -86,7 +87,7 @@ function isUndefined(value) {
|
|
|
86
87
|
}
|
|
87
88
|
/*#__NO_SIDE_EFFECTS__*/
|
|
88
89
|
function isStrictUndefined(arg) {
|
|
89
|
-
return
|
|
90
|
+
return arg === UNDEF_VALUE;
|
|
90
91
|
}
|
|
91
92
|
/*#__NO_SIDE_EFFECTS__*/
|
|
92
93
|
function isNullOrUndefined(value) {
|
|
@@ -94,7 +95,7 @@ function isNullOrUndefined(value) {
|
|
|
94
95
|
}
|
|
95
96
|
/*#__NO_SIDE_EFFECTS__*/
|
|
96
97
|
function isStrictNullOrUndefined(value) {
|
|
97
|
-
return value === NULL_VALUE ||
|
|
98
|
+
return value === NULL_VALUE || value === UNDEF_VALUE;
|
|
98
99
|
}
|
|
99
100
|
/*#__NO_SIDE_EFFECTS__*/
|
|
100
101
|
function isDefined(arg) {
|
|
@@ -116,18 +117,51 @@ var isBoolean = ( /*#__PURE__*/_createIs("boolean"));
|
|
|
116
117
|
function isPromiseLike(value) {
|
|
117
118
|
return !!(value && value.then && isFunction(value.then));
|
|
118
119
|
}
|
|
119
|
-
var
|
|
120
|
+
var asString = ( /* #__PURE__ */_pureAssign(StrCls));
|
|
121
|
+
var ERROR_TYPE = "[object Error]";
|
|
122
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
123
|
+
function dumpObj(object, format) {
|
|
124
|
+
var propertyValueDump = EMPTY;
|
|
125
|
+
var objType = ObjProto[TO_STRING][CALL](object);
|
|
126
|
+
if (objType === ERROR_TYPE) {
|
|
127
|
+
object = { stack: asString(object.stack), message: asString(object.message), name: asString(object.name) };
|
|
128
|
+
}
|
|
129
|
+
try {
|
|
130
|
+
propertyValueDump = JSON.stringify(object, NULL_VALUE, format ? ((typeof format === "number") ? format : 4) : UNDEF_VALUE);
|
|
131
|
+
propertyValueDump = (propertyValueDump ? propertyValueDump.replace(/"(\w+)"\s*:\s{0,1}/g, "$1: ") : NULL_VALUE) || asString(object);
|
|
132
|
+
}
|
|
133
|
+
catch (e) {
|
|
134
|
+
propertyValueDump = " - " + dumpObj(e, format);
|
|
135
|
+
}
|
|
136
|
+
return objType + ": " + propertyValueDump;
|
|
137
|
+
}
|
|
138
|
+
function throwError(message) {
|
|
139
|
+
throw new Error(message);
|
|
140
|
+
}
|
|
141
|
+
function throwTypeError(message) {
|
|
142
|
+
throw new TypeError(message);
|
|
143
|
+
}
|
|
144
|
+
function _throwIfNullOrUndefined(obj) {
|
|
145
|
+
if (isStrictNullOrUndefined(obj)) {
|
|
146
|
+
throwTypeError("Cannot convert undefined or null to object");
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
function _returnNothing() {
|
|
150
|
+
return UNDEF_VALUE;
|
|
151
|
+
}
|
|
152
|
+
var objGetOwnPropertyDescriptor = ( /* #__PURE__ */_pureAssign(( /* #__PURE__ */_pureRef(ObjClass, "getOwnPropertyDescriptor")), _returnNothing));
|
|
120
153
|
/*#__NO_SIDE_EFFECTS__*/
|
|
121
154
|
function objHasOwnProperty(obj, prop) {
|
|
122
155
|
return !!obj && ObjProto.hasOwnProperty[CALL](obj, prop);
|
|
123
156
|
}
|
|
124
|
-
var objHasOwn = ( /*#__PURE__*/_pureAssign(( /* #__PURE__ */_pureRef(ObjClass, "hasOwn")), polyObjHasOwn));
|
|
125
157
|
/*#__NO_SIDE_EFFECTS__*/
|
|
126
158
|
function polyObjHasOwn(obj, prop) {
|
|
159
|
+
_throwIfNullOrUndefined(obj);
|
|
127
160
|
return objHasOwnProperty(obj, prop) || !!objGetOwnPropertyDescriptor(obj, prop);
|
|
128
161
|
}
|
|
162
|
+
var objHasOwn = ( /*#__PURE__*/_pureAssign(( /* #__PURE__ */_pureRef(ObjClass, "hasOwn")), polyObjHasOwn));
|
|
129
163
|
function objForEachKey(theObject, callbackfn, thisArg) {
|
|
130
|
-
if (theObject && isObject(theObject)) {
|
|
164
|
+
if (theObject && (isObject(theObject) || isFunction(theObject))) {
|
|
131
165
|
for (var prop in theObject) {
|
|
132
166
|
if (objHasOwn(theObject, prop)) {
|
|
133
167
|
if (callbackfn[CALL](thisArg || theObject, prop, theObject[prop]) === -1) {
|
|
@@ -137,6 +171,31 @@ function objForEachKey(theObject, callbackfn, thisArg) {
|
|
|
137
171
|
}
|
|
138
172
|
}
|
|
139
173
|
}
|
|
174
|
+
function arrForEach(theArray, callbackfn, thisArg) {
|
|
175
|
+
if (theArray) {
|
|
176
|
+
var len = theArray[LENGTH] >>> 0;
|
|
177
|
+
for (var idx = 0; idx < len; idx++) {
|
|
178
|
+
if (idx in theArray) {
|
|
179
|
+
if (callbackfn[CALL](thisArg || theArray, theArray[idx], idx, theArray) === -1) {
|
|
180
|
+
break;
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
var _unwrapFunction = ( _unwrapFunctionWithPoly);
|
|
187
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
188
|
+
function _unwrapFunctionWithPoly(funcName, clsProto, polyFunc) {
|
|
189
|
+
var clsFn = clsProto ? clsProto[funcName] : NULL_VALUE;
|
|
190
|
+
return function (thisArg) {
|
|
191
|
+
var theFunc = (thisArg ? thisArg[funcName] : NULL_VALUE) || clsFn;
|
|
192
|
+
if (theFunc || polyFunc) {
|
|
193
|
+
var theArgs = arguments;
|
|
194
|
+
return (theFunc || polyFunc).apply(thisArg, theFunc ? ArrSlice[CALL](theArgs, 1) : theArgs);
|
|
195
|
+
}
|
|
196
|
+
throwTypeError("\"" + asString(funcName) + "\" not defined for " + dumpObj(thisArg));
|
|
197
|
+
};
|
|
198
|
+
}
|
|
140
199
|
var propMap = {
|
|
141
200
|
e: "enumerable",
|
|
142
201
|
c: "configurable",
|
|
@@ -165,6 +224,7 @@ function _createProp(value) {
|
|
|
165
224
|
return prop;
|
|
166
225
|
}
|
|
167
226
|
var objDefineProp = ( /*#__PURE__*/_pureRef(ObjClass, "defineProperty"));
|
|
227
|
+
var objDefineProperties = ( /*#__PURE__*/_pureRef(ObjClass, "defineProperties"));
|
|
168
228
|
function objDefine(target, key, propDesc) {
|
|
169
229
|
return objDefineProp(target, key, _createProp(propDesc));
|
|
170
230
|
}
|
|
@@ -184,48 +244,37 @@ function _assignMapValue(theMap, key, value, writable) {
|
|
|
184
244
|
writable: false
|
|
185
245
|
});
|
|
186
246
|
}
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
/*#__NO_SIDE_EFFECTS__*/
|
|
190
|
-
function dumpObj(object, format) {
|
|
191
|
-
var propertyValueDump = EMPTY;
|
|
192
|
-
var objType = ObjProto[TO_STRING][CALL](object);
|
|
193
|
-
if (objType === ERROR_TYPE) {
|
|
194
|
-
object = { stack: asString(object.stack), message: asString(object.message), name: asString(object.name) };
|
|
195
|
-
}
|
|
196
|
-
try {
|
|
197
|
-
propertyValueDump = JSON.stringify(object, NULL_VALUE, format ? ((typeof format === "number") ? format : 4) : UNDEF_VALUE);
|
|
198
|
-
propertyValueDump = (propertyValueDump ? propertyValueDump.replace(/"(\w+)"\s*:\s{0,1}/g, "$1: ") : NULL_VALUE) || asString(object);
|
|
199
|
-
}
|
|
200
|
-
catch (e) {
|
|
201
|
-
propertyValueDump = " - " + dumpObj(e, format);
|
|
202
|
-
}
|
|
203
|
-
return objType + ": " + propertyValueDump;
|
|
204
|
-
}
|
|
205
|
-
function throwError(message) {
|
|
206
|
-
throw new Error(message);
|
|
207
|
-
}
|
|
208
|
-
function throwTypeError(message) {
|
|
209
|
-
throw new TypeError(message);
|
|
247
|
+
function _returnFalse() {
|
|
248
|
+
return false;
|
|
210
249
|
}
|
|
250
|
+
var objIsFrozen = ( /* #__PURE__*/_pureAssign(( /* #__PURE__ */_pureRef(ObjClass, "isFrozen")), _returnFalse));
|
|
211
251
|
var _objFreeze = ( /* #__PURE__ */_pureRef(ObjClass, "freeze"));
|
|
212
252
|
function _doNothing(value) {
|
|
213
253
|
return value;
|
|
214
254
|
}
|
|
215
255
|
/*#__NO_SIDE_EFFECTS__*/
|
|
216
256
|
function _getProto(value) {
|
|
257
|
+
_throwIfNullOrUndefined(value);
|
|
217
258
|
return value[__PROTO__] || NULL_VALUE;
|
|
218
259
|
}
|
|
219
260
|
var objKeys = ( /*#__PURE__*/_pureRef(ObjClass, "keys"));
|
|
220
|
-
function
|
|
221
|
-
if (
|
|
222
|
-
|
|
223
|
-
if (
|
|
224
|
-
|
|
261
|
+
function _deepFreeze(val, visited) {
|
|
262
|
+
if ((isArray(val) || isObject(val) || isFunction(val)) && !objIsFrozen(val)) {
|
|
263
|
+
for (var lp = 0; lp < visited.length; lp++) {
|
|
264
|
+
if (visited[lp] === val) {
|
|
265
|
+
return val;
|
|
225
266
|
}
|
|
267
|
+
}
|
|
268
|
+
visited.push(val);
|
|
269
|
+
objForEachKey(val, function (_key, propValue) {
|
|
270
|
+
_deepFreeze(propValue, visited);
|
|
226
271
|
});
|
|
272
|
+
objFreeze(val);
|
|
227
273
|
}
|
|
228
|
-
return
|
|
274
|
+
return val;
|
|
275
|
+
}
|
|
276
|
+
function objDeepFreeze(value) {
|
|
277
|
+
return _objFreeze ? _deepFreeze(value, []) : value;
|
|
229
278
|
}
|
|
230
279
|
var objFreeze = ( /* #__PURE__*/_pureAssign(_objFreeze, _doNothing));
|
|
231
280
|
var objGetPrototypeOf = ( /* #__PURE__*/_pureAssign(( /* #__PURE__*/_pureRef(ObjClass, "getPrototypeOf")), _getProto));
|
|
@@ -275,21 +324,94 @@ function _getGlobalConfig() {
|
|
|
275
324
|
}
|
|
276
325
|
return _globalCfg;
|
|
277
326
|
}
|
|
278
|
-
|
|
327
|
+
function _tagAsPolyfill(target, polyfillTypeName) {
|
|
328
|
+
if (target) {
|
|
329
|
+
safe(function () {
|
|
330
|
+
target[POLYFILL_TAG] = true;
|
|
331
|
+
target[POLYFILL_TYPE_NAME] = polyfillTypeName;
|
|
332
|
+
});
|
|
333
|
+
safe(objDefine, [target, POLYFILL_TAG, {
|
|
334
|
+
v: true,
|
|
335
|
+
w: false,
|
|
336
|
+
e: false
|
|
337
|
+
}]);
|
|
338
|
+
safe(objDefine, [target, POLYFILL_TYPE_NAME, {
|
|
339
|
+
v: polyfillTypeName,
|
|
340
|
+
w: false,
|
|
341
|
+
e: false
|
|
342
|
+
}]);
|
|
343
|
+
}
|
|
344
|
+
return target;
|
|
345
|
+
}
|
|
346
|
+
var objCreate = ( /* #__PURE__*/_pureAssign(( /* #__PURE__*/_pureRef(ObjClass, "create")), polyObjCreate));
|
|
279
347
|
/*#__NO_SIDE_EFFECTS__*/
|
|
280
|
-
function
|
|
281
|
-
var
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
348
|
+
function polyObjCreate(obj, properties) {
|
|
349
|
+
var newObj = null;
|
|
350
|
+
function tempFunc() { }
|
|
351
|
+
if (!isStrictNullOrUndefined(obj)) {
|
|
352
|
+
var type = typeof obj;
|
|
353
|
+
if (type !== OBJECT && type !== FUNCTION) {
|
|
354
|
+
throwTypeError("Prototype must be an Object or function: " + dumpObj(obj));
|
|
355
|
+
}
|
|
356
|
+
tempFunc[PROTOTYPE] = obj;
|
|
357
|
+
safe(function () {
|
|
358
|
+
tempFunc[__PROTO__] = obj;
|
|
359
|
+
});
|
|
360
|
+
newObj = new tempFunc();
|
|
361
|
+
}
|
|
362
|
+
else {
|
|
363
|
+
newObj = {};
|
|
364
|
+
}
|
|
365
|
+
if (properties) {
|
|
366
|
+
safe(objDefineProperties, [newObj, properties]);
|
|
367
|
+
}
|
|
368
|
+
return newObj;
|
|
369
|
+
}
|
|
370
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
371
|
+
function utcNow() {
|
|
372
|
+
return (Date.now || polyUtcNow)();
|
|
373
|
+
}
|
|
374
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
375
|
+
function polyUtcNow() {
|
|
376
|
+
return new Date().getTime();
|
|
377
|
+
}
|
|
378
|
+
var _globalLazyTestHooks;
|
|
379
|
+
function _initTestHooks() {
|
|
380
|
+
_globalLazyTestHooks = _getGlobalConfig();
|
|
381
|
+
}
|
|
382
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
383
|
+
function getLazy(cb) {
|
|
384
|
+
var lazyValue = {};
|
|
385
|
+
!_globalLazyTestHooks && _initTestHooks();
|
|
386
|
+
lazyValue.b = _globalLazyTestHooks.lzy;
|
|
387
|
+
objDefineProp(lazyValue, "v", {
|
|
388
|
+
configurable: true,
|
|
389
|
+
get: function () {
|
|
390
|
+
var result = cb();
|
|
391
|
+
if (!_globalLazyTestHooks.lzy) {
|
|
392
|
+
objDefineProp(lazyValue, "v", {
|
|
393
|
+
value: result
|
|
394
|
+
});
|
|
395
|
+
}
|
|
396
|
+
lazyValue.b = _globalLazyTestHooks.lzy;
|
|
397
|
+
return result;
|
|
287
398
|
}
|
|
288
|
-
|
|
289
|
-
|
|
399
|
+
});
|
|
400
|
+
return lazyValue;
|
|
290
401
|
}
|
|
402
|
+
var mathRandom = ( /*#__PURE__*/_pureRef(MathCls, "random"));
|
|
403
|
+
var _uniqueInstanceId = ( /*#__PURE__*/getLazy(function () {
|
|
404
|
+
var value = (utcNow().toString(36).slice(2));
|
|
405
|
+
while (value.length < 16) {
|
|
406
|
+
value += mathRandom().toString(36).slice(2);
|
|
407
|
+
}
|
|
408
|
+
value = value.substring(0, 16);
|
|
409
|
+
return value;
|
|
410
|
+
}));
|
|
291
411
|
var UNIQUE_REGISTRY_ID = "_urid";
|
|
412
|
+
var POLY_SYM = "$nw21sym";
|
|
292
413
|
var _polySymbols;
|
|
414
|
+
var _polyId = 0;
|
|
293
415
|
/*#__NO_SIDE_EFFECTS__*/
|
|
294
416
|
function _globalSymbolRegistry() {
|
|
295
417
|
if (!_polySymbols) {
|
|
@@ -301,12 +423,22 @@ function _globalSymbolRegistry() {
|
|
|
301
423
|
var _wellKnownSymbolCache;
|
|
302
424
|
/*#__NO_SIDE_EFFECTS__*/
|
|
303
425
|
function polyNewSymbol(description) {
|
|
304
|
-
var
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
426
|
+
var uniqueId = "_" + _polyId++ + "_" + _uniqueInstanceId.v;
|
|
427
|
+
var symString = SYMBOL + "(" + description + ")";
|
|
428
|
+
function _setProp(name, value) {
|
|
429
|
+
objDefine(theSymbol, name, {
|
|
430
|
+
v: value,
|
|
431
|
+
e: false,
|
|
432
|
+
w: false
|
|
433
|
+
});
|
|
434
|
+
}
|
|
435
|
+
var theSymbol = objCreate(null);
|
|
436
|
+
_setProp("description", asString(description));
|
|
437
|
+
_setProp(TO_STRING, function () { return symString + POLY_SYM + uniqueId; });
|
|
438
|
+
_setProp("valueOf", function () { return theSymbol; });
|
|
439
|
+
_setProp("v", symString);
|
|
440
|
+
_setProp("_uid", uniqueId);
|
|
441
|
+
return _tagAsPolyfill(theSymbol, "symbol");
|
|
310
442
|
}
|
|
311
443
|
/*#__NO_SIDE_EFFECTS__*/
|
|
312
444
|
function polySymbolFor(key) {
|
|
@@ -330,10 +462,6 @@ function polyGetKnownSymbol(name) {
|
|
|
330
462
|
}
|
|
331
463
|
return result;
|
|
332
464
|
}
|
|
333
|
-
var _globalLazyTestHooks;
|
|
334
|
-
function _initTestHooks() {
|
|
335
|
-
_globalLazyTestHooks = _getGlobalConfig();
|
|
336
|
-
}
|
|
337
465
|
/*#__NO_SIDE_EFFECTS__*/
|
|
338
466
|
function createCachedValue(value) {
|
|
339
467
|
return objDefineProp({
|
|
@@ -497,45 +625,17 @@ function arrAppend(target, elms) {
|
|
|
497
625
|
}
|
|
498
626
|
return target;
|
|
499
627
|
}
|
|
500
|
-
function arrForEach(theArray, callbackfn, thisArg) {
|
|
501
|
-
if (theArray) {
|
|
502
|
-
var len = theArray[LENGTH] >>> 0;
|
|
503
|
-
for (var idx = 0; idx < len; idx++) {
|
|
504
|
-
if (idx in theArray) {
|
|
505
|
-
if (callbackfn[CALL](thisArg || theArray, theArray[idx], idx, theArray) === -1) {
|
|
506
|
-
break;
|
|
507
|
-
}
|
|
508
|
-
}
|
|
509
|
-
}
|
|
510
|
-
}
|
|
511
|
-
}
|
|
512
628
|
var arrIndexOf = ( /*#__PURE__*/_unwrapFunction("indexOf", ArrProto));
|
|
513
629
|
function arrSlice(theArray, start, end) {
|
|
514
630
|
return ((theArray ? theArray["slice"] : NULL_VALUE) || ArrSlice).apply(theArray, ArrSlice[CALL](arguments, 1));
|
|
515
631
|
}
|
|
516
|
-
var objCreate = ( /* #__PURE__*/_pureAssign(( /* #__PURE__*/_pureRef(ObjClass, "create")), polyObjCreate));
|
|
517
|
-
/*#__NO_SIDE_EFFECTS__*/
|
|
518
|
-
function polyObjCreate(obj) {
|
|
519
|
-
if (!obj) {
|
|
520
|
-
return {};
|
|
521
|
-
}
|
|
522
|
-
var type = typeof obj;
|
|
523
|
-
if (type !== OBJECT && type !== FUNCTION) {
|
|
524
|
-
throwTypeError("Prototype must be an Object or function: " + dumpObj(obj));
|
|
525
|
-
}
|
|
526
|
-
function tempFunc() { }
|
|
527
|
-
tempFunc[PROTOTYPE] = obj;
|
|
528
|
-
return new tempFunc();
|
|
529
|
-
}
|
|
530
632
|
var _isProtoArray;
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
};
|
|
538
|
-
return fn(obj, proto);
|
|
633
|
+
var objSetPrototypeOf = ( /* #__PURE__*/_pureAssign(( /* #__PURE__ */_pureRef(ObjClass, "setPrototypeOf")), _polyObjSetPrototypeOf));
|
|
634
|
+
function _polyObjSetPrototypeOf(obj, proto) {
|
|
635
|
+
var _a;
|
|
636
|
+
!_isProtoArray && (_isProtoArray = createCachedValue((_a = {}, _a[__PROTO__] = [], _a) instanceof Array));
|
|
637
|
+
_isProtoArray.v ? obj[__PROTO__] = proto : objForEachKey(proto, function (key, value) { return obj[key] = value; });
|
|
638
|
+
return obj;
|
|
539
639
|
}
|
|
540
640
|
/*#__NO_SIDE_EFFECTS__*/
|
|
541
641
|
function _createCustomError(name, d, b) {
|
|
@@ -577,14 +677,6 @@ function createCustomError(name, constructCb, errorBase) {
|
|
|
577
677
|
}
|
|
578
678
|
}, theBaseClass);
|
|
579
679
|
}
|
|
580
|
-
/*#__NO_SIDE_EFFECTS__*/
|
|
581
|
-
function utcNow() {
|
|
582
|
-
return (Date.now || polyUtcNow)();
|
|
583
|
-
}
|
|
584
|
-
/*#__NO_SIDE_EFFECTS__*/
|
|
585
|
-
function polyUtcNow() {
|
|
586
|
-
return new Date().getTime();
|
|
587
|
-
}
|
|
588
680
|
var mathFloor = ( /*#__PURE__*/_pureRef(MathCls, "floor"));
|
|
589
681
|
var _fnToString;
|
|
590
682
|
var _objCtrFnString;
|
|
@@ -1289,6 +1381,23 @@ var STR_PRIORITY = "priority";
|
|
|
1289
1381
|
var STR_GET_PERF_MGR = "getPerfMgr";
|
|
1290
1382
|
var STR_NOT_DYNAMIC_ERROR = "Not dynamic - ";
|
|
1291
1383
|
|
|
1384
|
+
function _stringToBoolOrDefault(theValue, defaultValue, theConfig) {
|
|
1385
|
+
if (!theValue && isNullOrUndefined(theValue)) {
|
|
1386
|
+
return defaultValue;
|
|
1387
|
+
}
|
|
1388
|
+
if (isBoolean(theValue)) {
|
|
1389
|
+
return theValue;
|
|
1390
|
+
}
|
|
1391
|
+
return asString(theValue)[_DYN_TO_LOWER_CASE ]() === "true";
|
|
1392
|
+
}
|
|
1393
|
+
function cfgDfBoolean(defaultValue, fallBackName) {
|
|
1394
|
+
return {
|
|
1395
|
+
fb: fallBackName,
|
|
1396
|
+
set: _stringToBoolOrDefault,
|
|
1397
|
+
v: !!defaultValue
|
|
1398
|
+
};
|
|
1399
|
+
}
|
|
1400
|
+
|
|
1292
1401
|
var rCamelCase = /-([a-z])/g;
|
|
1293
1402
|
var rNormalizeInvalid = /([^\w\d_$])/g;
|
|
1294
1403
|
var rLeadingNumeric = /^(\d+[\w\d_$])/;
|
|
@@ -1460,7 +1569,7 @@ function newId(maxLength) {
|
|
|
1460
1569
|
return result;
|
|
1461
1570
|
}
|
|
1462
1571
|
|
|
1463
|
-
var version = '3.4.0-nightlybeta3.2504-
|
|
1572
|
+
var version = '3.4.0-nightlybeta3.2504-17';
|
|
1464
1573
|
var instanceName = "." + newId(6);
|
|
1465
1574
|
var _dataUid = 0;
|
|
1466
1575
|
function _canAcceptData(target) {
|
|
@@ -2126,23 +2235,6 @@ function onConfigChange(config, configHandler, logger) {
|
|
|
2126
2235
|
return createDynamicConfig(config, null, logger)[_DYN_WATCH ](configHandler);
|
|
2127
2236
|
}
|
|
2128
2237
|
|
|
2129
|
-
function _stringToBoolOrDefault(theValue, defaultValue, theConfig) {
|
|
2130
|
-
if (!theValue && isNullOrUndefined(theValue)) {
|
|
2131
|
-
return defaultValue;
|
|
2132
|
-
}
|
|
2133
|
-
if (isBoolean(theValue)) {
|
|
2134
|
-
return theValue;
|
|
2135
|
-
}
|
|
2136
|
-
return asString(theValue)[_DYN_TO_LOWER_CASE ]() === "true";
|
|
2137
|
-
}
|
|
2138
|
-
function cfgDfBoolean(defaultValue, fallBackName) {
|
|
2139
|
-
return {
|
|
2140
|
-
fb: fallBackName,
|
|
2141
|
-
set: _stringToBoolOrDefault,
|
|
2142
|
-
v: !!defaultValue
|
|
2143
|
-
};
|
|
2144
|
-
}
|
|
2145
|
-
|
|
2146
2238
|
var _aiNamespace = null;
|
|
2147
2239
|
function _getExtensionNamespace() {
|
|
2148
2240
|
var target = getInst("Microsoft");
|
|
@@ -3310,4 +3402,4 @@ var TeeChannel = /** @class */ (function (_super) {
|
|
|
3310
3402
|
exports.TeeChannel = TeeChannel;
|
|
3311
3403
|
|
|
3312
3404
|
}));
|
|
3313
|
-
//# sourceMappingURL=applicationinsights-teechannel-js.3.4.0-nightlybeta3.2504-
|
|
3405
|
+
//# sourceMappingURL=applicationinsights-teechannel-js.3.4.0-nightlybeta3.2504-17.gbl.js.map
|