@microsoft/applicationinsights-teechannel-js 3.3.7-nightly3.2504-10 → 3.3.7-nightly3.2504-11

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 (48) hide show
  1. package/browser/es5/{applicationinsights-teechannel-js.3.3.7-nightly3.2504-10.js → applicationinsights-teechannel-js.3.3.7-nightly3.2504-11.cjs.js} +284 -133
  2. package/browser/es5/applicationinsights-teechannel-js.3.3.7-nightly3.2504-11.cjs.js.map +1 -0
  3. package/browser/es5/applicationinsights-teechannel-js.3.3.7-nightly3.2504-11.cjs.min.js +6 -0
  4. package/browser/es5/applicationinsights-teechannel-js.3.3.7-nightly3.2504-11.cjs.min.js.map +1 -0
  5. package/browser/es5/{applicationinsights-teechannel-js.3.3.7-nightly3.2504-10.gbl.js → applicationinsights-teechannel-js.3.3.7-nightly3.2504-11.gbl.js} +286 -108
  6. package/browser/es5/applicationinsights-teechannel-js.3.3.7-nightly3.2504-11.gbl.js.map +1 -0
  7. package/browser/es5/applicationinsights-teechannel-js.3.3.7-nightly3.2504-11.gbl.min.js +6 -0
  8. package/browser/es5/applicationinsights-teechannel-js.3.3.7-nightly3.2504-11.gbl.min.js.map +1 -0
  9. package/browser/es5/applicationinsights-teechannel-js.3.3.7-nightly3.2504-11.integrity.json +66 -0
  10. package/browser/es5/{applicationinsights-teechannel-js.3.3.7-nightly3.2504-10.cjs.js → applicationinsights-teechannel-js.3.3.7-nightly3.2504-11.js} +311 -106
  11. package/browser/es5/applicationinsights-teechannel-js.3.3.7-nightly3.2504-11.js.map +1 -0
  12. package/browser/es5/applicationinsights-teechannel-js.3.3.7-nightly3.2504-11.min.js +6 -0
  13. package/browser/es5/applicationinsights-teechannel-js.3.3.7-nightly3.2504-11.min.js.map +1 -0
  14. package/browser/es5/applicationinsights-teechannel-js.3.cjs.js +283 -105
  15. package/browser/es5/applicationinsights-teechannel-js.3.cjs.js.map +1 -1
  16. package/browser/es5/applicationinsights-teechannel-js.3.cjs.min.js +2 -2
  17. package/browser/es5/applicationinsights-teechannel-js.3.cjs.min.js.map +1 -1
  18. package/browser/es5/applicationinsights-teechannel-js.3.gbl.js +285 -107
  19. package/browser/es5/applicationinsights-teechannel-js.3.gbl.js.map +1 -1
  20. package/browser/es5/applicationinsights-teechannel-js.3.gbl.min.js +2 -2
  21. package/browser/es5/applicationinsights-teechannel-js.3.gbl.min.js.map +1 -1
  22. package/browser/es5/applicationinsights-teechannel-js.3.integrity.json +25 -25
  23. package/browser/es5/applicationinsights-teechannel-js.3.js +285 -107
  24. package/browser/es5/applicationinsights-teechannel-js.3.js.map +1 -1
  25. package/browser/es5/applicationinsights-teechannel-js.3.min.js +2 -2
  26. package/browser/es5/applicationinsights-teechannel-js.3.min.js.map +1 -1
  27. package/dist/es5/applicationinsights-teechannel-js.js +283 -105
  28. package/dist/es5/applicationinsights-teechannel-js.js.map +1 -1
  29. package/dist/es5/applicationinsights-teechannel-js.min.js +2 -2
  30. package/dist/es5/applicationinsights-teechannel-js.min.js.map +1 -1
  31. package/dist-es5/ChannelController.js +1 -1
  32. package/dist-es5/Interfaces/ITeeChannelConfig.js +1 -1
  33. package/dist-es5/TeeChannel.js +1 -1
  34. package/dist-es5/__DynamicConstants.js +1 -1
  35. package/dist-es5/applicationinsights-teechannel-js.js +1 -1
  36. package/package.json +3 -3
  37. package/types/applicationinsights-teechannel-js.d.ts +1 -1
  38. package/types/applicationinsights-teechannel-js.namespaced.d.ts +1 -1
  39. package/browser/es5/applicationinsights-teechannel-js.3.3.7-nightly3.2504-10.cjs.js.map +0 -1
  40. package/browser/es5/applicationinsights-teechannel-js.3.3.7-nightly3.2504-10.cjs.min.js +0 -6
  41. package/browser/es5/applicationinsights-teechannel-js.3.3.7-nightly3.2504-10.cjs.min.js.map +0 -1
  42. package/browser/es5/applicationinsights-teechannel-js.3.3.7-nightly3.2504-10.gbl.js.map +0 -1
  43. package/browser/es5/applicationinsights-teechannel-js.3.3.7-nightly3.2504-10.gbl.min.js +0 -6
  44. package/browser/es5/applicationinsights-teechannel-js.3.3.7-nightly3.2504-10.gbl.min.js.map +0 -1
  45. package/browser/es5/applicationinsights-teechannel-js.3.3.7-nightly3.2504-10.integrity.json +0 -66
  46. package/browser/es5/applicationinsights-teechannel-js.3.3.7-nightly3.2504-10.js.map +0 -1
  47. package/browser/es5/applicationinsights-teechannel-js.3.3.7-nightly3.2504-10.min.js +0 -6
  48. package/browser/es5/applicationinsights-teechannel-js.3.3.7-nightly3.2504-10.min.js.map +0 -1
@@ -1,11 +1,11 @@
1
1
  /*!
2
- * Application Insights JavaScript SDK - Tee Channel, 3.3.7-nightly3.2504-10
2
+ * Application Insights JavaScript SDK - Tee Channel, 3.3.7-nightly3.2504-11
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_teechannel_js_3_3_7_nightly3_2504_10", msMod="__ms$mod__";
8
- var mods={}, modDetail=mods[modName]={}, ver="3.3.7-nightly3.2504-10";
7
+ var nsKey, key, nm, theExports = {}, modName = "es5_applicationinsights_teechannel_js_3_3_7_nightly3_2504_11", msMod="__ms$mod__";
8
+ var mods={}, modDetail=mods[modName]={}, ver="3.3.7-nightly3.2504-11";
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.11.8 */
35
+ /*! https://github.com/nevware21/ts-utils v0.12.1 */
36
36
  /*#__NO_SIDE_EFFECTS__*/
37
37
  function _pureAssign(func1, func2) {
38
38
  return func1 || func2;
@@ -51,11 +51,12 @@ 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";
58
57
  var TO_STRING = "toString";
58
+ var GETTER_NAME = "__lookupGetter__";
59
+ var SETTER_NAME = "__lookupSetter__";
59
60
  var ObjClass = ( /*#__PURE__*/_pureAssign(Object));
60
61
  var ObjProto = ( /*#__PURE__*/_pureRef(ObjClass, PROTOTYPE));
61
62
  var StrCls = ( /*#__PURE__*/_pureAssign(String));
@@ -64,6 +65,8 @@ var MathCls = ( /*#__PURE__*/_pureAssign(Math));
64
65
  var ArrCls = ( /*#__PURE__*/_pureAssign(Array));
65
66
  var ArrProto = ( /*#__PURE__*/_pureRef(ArrCls, PROTOTYPE));
66
67
  var ArrSlice = ( /*#__PURE__*/_pureRef(ArrProto, "slice"));
68
+ var POLYFILL_TAG = "_polyfill";
69
+ var POLYFILL_TYPE_NAME = "__nw21$polytype__";
67
70
  function safe(func, argArray) {
68
71
  try {
69
72
  return {
@@ -86,7 +89,7 @@ function isUndefined(value) {
86
89
  }
87
90
  /*#__NO_SIDE_EFFECTS__*/
88
91
  function isStrictUndefined(arg) {
89
- return !isDefined(arg);
92
+ return arg === UNDEF_VALUE;
90
93
  }
91
94
  /*#__NO_SIDE_EFFECTS__*/
92
95
  function isNullOrUndefined(value) {
@@ -94,7 +97,7 @@ function isNullOrUndefined(value) {
94
97
  }
95
98
  /*#__NO_SIDE_EFFECTS__*/
96
99
  function isStrictNullOrUndefined(value) {
97
- return value === NULL_VALUE || !isDefined(value);
100
+ return value === NULL_VALUE || value === UNDEF_VALUE;
98
101
  }
99
102
  /*#__NO_SIDE_EFFECTS__*/
100
103
  function isDefined(arg) {
@@ -116,18 +119,122 @@ var isBoolean = ( /*#__PURE__*/_createIs("boolean"));
116
119
  function isPromiseLike(value) {
117
120
  return !!(value && value.then && isFunction(value.then));
118
121
  }
119
- var objGetOwnPropertyDescriptor = ( /* #__PURE__ */_pureRef(ObjClass, "getOwnPropertyDescriptor"));
122
+ var asString = ( /* #__PURE__ */_pureAssign(StrCls));
123
+ var ERROR_TYPE = "[object Error]";
124
+ /*#__NO_SIDE_EFFECTS__*/
125
+ function dumpObj(object, format) {
126
+ var propertyValueDump = EMPTY;
127
+ var objType = ObjProto[TO_STRING][CALL](object);
128
+ if (objType === ERROR_TYPE) {
129
+ object = { stack: asString(object.stack), message: asString(object.message), name: asString(object.name) };
130
+ }
131
+ try {
132
+ propertyValueDump = JSON.stringify(object, NULL_VALUE, format ? ((typeof format === "number") ? format : 4) : UNDEF_VALUE);
133
+ propertyValueDump = (propertyValueDump ? propertyValueDump.replace(/"(\w+)"\s*:\s{0,1}/g, "$1: ") : NULL_VALUE) || asString(object);
134
+ }
135
+ catch (e) {
136
+ propertyValueDump = " - " + dumpObj(e, format);
137
+ }
138
+ return objType + ": " + propertyValueDump;
139
+ }
140
+ function throwError(message) {
141
+ throw new Error(message);
142
+ }
143
+ function throwTypeError(message) {
144
+ throw new TypeError(message);
145
+ }
146
+ function _throwIfNullOrUndefined(obj) {
147
+ if (isStrictNullOrUndefined(obj)) {
148
+ throwTypeError("Cannot convert undefined or null to object");
149
+ }
150
+ }
120
151
  /*#__NO_SIDE_EFFECTS__*/
121
152
  function objHasOwnProperty(obj, prop) {
122
153
  return !!obj && ObjProto.hasOwnProperty[CALL](obj, prop);
123
154
  }
124
- var objHasOwn = ( /*#__PURE__*/_pureAssign(( /* #__PURE__ */_pureRef(ObjClass, "hasOwn")), polyObjHasOwn));
155
+ var _unwrapFunction = ( _unwrapFunctionWithPoly);
156
+ /*#__NO_SIDE_EFFECTS__*/
157
+ function _unwrapFunctionWithPoly(funcName, clsProto, polyFunc) {
158
+ var clsFn = clsProto ? clsProto[funcName] : NULL_VALUE;
159
+ return function (thisArg) {
160
+ var theFunc = (thisArg ? thisArg[funcName] : NULL_VALUE) || clsFn;
161
+ if (theFunc || polyFunc) {
162
+ var theArgs = arguments;
163
+ return (theFunc || polyFunc).apply(thisArg, theFunc ? ArrSlice[CALL](theArgs, 1) : theArgs);
164
+ }
165
+ throwTypeError("\"" + asString(funcName) + "\" not defined for " + dumpObj(thisArg));
166
+ };
167
+ }
168
+ function _objPropertyIsEnum(obj, propKey) {
169
+ var desc;
170
+ var fn = ObjClass.getOwnPropertyDescriptor;
171
+ if (!isStrictNullOrUndefined(obj) && fn) {
172
+ desc = safe(fn, [obj, propKey]).v || NULL_VALUE;
173
+ }
174
+ if (!desc) {
175
+ desc = safe(function () {
176
+ for (var key in obj) {
177
+ if (key === propKey) {
178
+ return { enumerable: true };
179
+ }
180
+ }
181
+ }).v;
182
+ }
183
+ return (desc && desc.enumerable) || false;
184
+ }
185
+ var objPropertyIsEnumerable = ( /*#__PURE__*/_unwrapFunctionWithPoly("propertyIsEnumerable", NULL_VALUE, _objPropertyIsEnum));
186
+ function _isPropertyWritable(obj, prop) {
187
+ var result = false;
188
+ if (!(isString(obj) && (prop === LENGTH || isNumber(prop) || (isString(prop) && !isNaN(Number(prop)))))) {
189
+ var originalValue = obj[prop];
190
+ try {
191
+ obj[prop] = originalValue;
192
+ result = true;
193
+ }
194
+ catch (e) {
195
+ }
196
+ }
197
+ return result;
198
+ }
199
+ function polyObjGetOwnPropertyDescriptor(obj, prop) {
200
+ var descriptor;
201
+ _throwIfNullOrUndefined(obj);
202
+ var isLength = (prop === LENGTH && (isArray(obj) || isString(obj)));
203
+ if (isLength || objHasOwnProperty(obj, prop)) {
204
+ descriptor = {
205
+ configurable: !isLength,
206
+ enumerable: !isLength ? objPropertyIsEnumerable(obj, prop) : false
207
+ };
208
+ var isData = true;
209
+ if (GETTER_NAME in ObjProto && SETTER_NAME in ObjProto) {
210
+ var getter = obj[GETTER_NAME](prop);
211
+ var setter = obj[SETTER_NAME](prop);
212
+ if (getter || setter) {
213
+ isData = false;
214
+ if (getter) {
215
+ descriptor.get = getter;
216
+ }
217
+ if (setter) {
218
+ descriptor.set = setter;
219
+ }
220
+ }
221
+ }
222
+ if (isData) {
223
+ descriptor.value = obj[prop];
224
+ descriptor.writable = _isPropertyWritable(obj, prop);
225
+ }
226
+ }
227
+ return descriptor;
228
+ }
229
+ var objGetOwnPropertyDescriptor = ( /* #__PURE__ */_pureAssign(( /* #__PURE__ */_pureRef(ObjClass, "getOwnPropertyDescriptor")), polyObjGetOwnPropertyDescriptor));
125
230
  /*#__NO_SIDE_EFFECTS__*/
126
231
  function polyObjHasOwn(obj, prop) {
232
+ _throwIfNullOrUndefined(obj);
127
233
  return objHasOwnProperty(obj, prop) || !!objGetOwnPropertyDescriptor(obj, prop);
128
234
  }
235
+ var objHasOwn = ( /*#__PURE__*/_pureAssign(( /* #__PURE__ */_pureRef(ObjClass, "hasOwn")), polyObjHasOwn));
129
236
  function objForEachKey(theObject, callbackfn, thisArg) {
130
- if (theObject && isObject(theObject)) {
237
+ if (theObject && (isObject(theObject) || isFunction(theObject))) {
131
238
  for (var prop in theObject) {
132
239
  if (objHasOwn(theObject, prop)) {
133
240
  if (callbackfn[CALL](thisArg || theObject, prop, theObject[prop]) === -1) {
@@ -137,6 +244,18 @@ function objForEachKey(theObject, callbackfn, thisArg) {
137
244
  }
138
245
  }
139
246
  }
247
+ function arrForEach(theArray, callbackfn, thisArg) {
248
+ if (theArray) {
249
+ var len = theArray[LENGTH] >>> 0;
250
+ for (var idx = 0; idx < len; idx++) {
251
+ if (idx in theArray) {
252
+ if (callbackfn[CALL](thisArg || theArray, theArray[idx], idx, theArray) === -1) {
253
+ break;
254
+ }
255
+ }
256
+ }
257
+ }
258
+ }
140
259
  var propMap = {
141
260
  e: "enumerable",
142
261
  c: "configurable",
@@ -165,6 +284,7 @@ function _createProp(value) {
165
284
  return prop;
166
285
  }
167
286
  var objDefineProp = ( /*#__PURE__*/_pureRef(ObjClass, "defineProperty"));
287
+ var objDefineProperties = ( /*#__PURE__*/_pureRef(ObjClass, "defineProperties"));
168
288
  function objDefine(target, key, propDesc) {
169
289
  return objDefineProp(target, key, _createProp(propDesc));
170
290
  }
@@ -184,48 +304,49 @@ function _assignMapValue(theMap, key, value, writable) {
184
304
  writable: false
185
305
  });
186
306
  }
187
- var asString = ( /* #__PURE__ */_pureAssign(StrCls));
188
- var ERROR_TYPE = "[object Error]";
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) };
307
+ function polyObjIsFrozen(obj) {
308
+ if (isStrictNullOrUndefined(obj) || (!isObject(obj) && !isFunction(obj))) {
309
+ return true;
195
310
  }
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);
311
+ if (isFunction(obj)) {
312
+ return false;
199
313
  }
200
- catch (e) {
201
- propertyValueDump = " - " + dumpObj(e, format);
314
+ for (var prop in obj) {
315
+ var desc = objGetOwnPropertyDescriptor(obj, prop);
316
+ if (desc && (desc.configurable || (desc.writable !== false && "value" in desc))) {
317
+ return false;
318
+ }
202
319
  }
203
- return objType + ": " + propertyValueDump;
204
- }
205
- function throwError(message) {
206
- throw new Error(message);
207
- }
208
- function throwTypeError(message) {
209
- throw new TypeError(message);
320
+ return true;
210
321
  }
322
+ var objIsFrozen = ( /* #__PURE__*/_pureAssign(( /* #__PURE__ */_pureRef(ObjClass, "isFrozen")), polyObjIsFrozen));
211
323
  var _objFreeze = ( /* #__PURE__ */_pureRef(ObjClass, "freeze"));
212
324
  function _doNothing(value) {
213
325
  return value;
214
326
  }
215
327
  /*#__NO_SIDE_EFFECTS__*/
216
328
  function _getProto(value) {
329
+ _throwIfNullOrUndefined(value);
217
330
  return value[__PROTO__] || NULL_VALUE;
218
331
  }
219
332
  var objKeys = ( /*#__PURE__*/_pureRef(ObjClass, "keys"));
220
- function objDeepFreeze(value) {
221
- if (_objFreeze) {
222
- objForEachKey(value, function (key, value) {
223
- if (isArray(value) || isObject(value)) {
224
- objDeepFreeze(value);
333
+ function _deepFreeze(val, visited) {
334
+ if ((isArray(val) || isObject(val) || isFunction(val)) && !objIsFrozen(val)) {
335
+ for (var lp = 0; lp < visited.length; lp++) {
336
+ if (visited[lp] === val) {
337
+ return val;
225
338
  }
339
+ }
340
+ visited.push(val);
341
+ objForEachKey(val, function (_key, propValue) {
342
+ _deepFreeze(propValue, visited);
226
343
  });
344
+ objFreeze(val);
227
345
  }
228
- return objFreeze(value);
346
+ return val;
347
+ }
348
+ function objDeepFreeze(value) {
349
+ return _objFreeze ? _deepFreeze(value, []) : value;
229
350
  }
230
351
  var objFreeze = ( /* #__PURE__*/_pureAssign(_objFreeze, _doNothing));
231
352
  var objGetPrototypeOf = ( /* #__PURE__*/_pureAssign(( /* #__PURE__*/_pureRef(ObjClass, "getPrototypeOf")), _getProto));
@@ -275,21 +396,109 @@ function _getGlobalConfig() {
275
396
  }
276
397
  return _globalCfg;
277
398
  }
278
- var _unwrapFunction = ( _unwrapFunctionWithPoly);
399
+ function _tagAsPolyfill(target, polyfillTypeName) {
400
+ if (target) {
401
+ safe(function () {
402
+ target[POLYFILL_TAG] = true;
403
+ target[POLYFILL_TYPE_NAME] = polyfillTypeName;
404
+ });
405
+ safe(objDefine, [target, POLYFILL_TAG, {
406
+ v: true,
407
+ w: false,
408
+ e: false
409
+ }]);
410
+ safe(objDefine, [target, POLYFILL_TYPE_NAME, {
411
+ v: polyfillTypeName,
412
+ w: false,
413
+ e: false
414
+ }]);
415
+ }
416
+ return target;
417
+ }
279
418
  /*#__NO_SIDE_EFFECTS__*/
280
- function _unwrapFunctionWithPoly(funcName, clsProto, polyFunc) {
281
- var clsFn = clsProto ? clsProto[funcName] : NULL_VALUE;
282
- return function (thisArg) {
283
- var theFunc = (thisArg ? thisArg[funcName] : NULL_VALUE) || clsFn;
284
- if (theFunc || polyFunc) {
285
- var theArgs = arguments;
286
- return (theFunc || polyFunc).apply(thisArg, theFunc ? ArrSlice[CALL](theArgs, 1) : theArgs);
419
+ function createCachedValue(value) {
420
+ return objDefineProp({
421
+ toJSON: function () { return value; }
422
+ }, "v", { value: value });
423
+ }
424
+ var _isProtoArray;
425
+ var objSetPrototypeOf = ( /* #__PURE__*/_pureAssign(( /* #__PURE__ */_pureRef(ObjClass, "setPrototypeOf")), _polyObjSetPrototypeOf));
426
+ function _polyObjSetPrototypeOf(obj, proto) {
427
+ var _a;
428
+ !_isProtoArray && (_isProtoArray = createCachedValue((_a = {}, _a[__PROTO__] = [], _a) instanceof Array));
429
+ _isProtoArray.v ? obj[__PROTO__] = proto : objForEachKey(proto, function (key, value) { return obj[key] = value; });
430
+ return obj;
431
+ }
432
+ var objCreate = ( /* #__PURE__*/_pureAssign(( /* #__PURE__*/_pureRef(ObjClass, "create")), polyObjCreate));
433
+ /*#__NO_SIDE_EFFECTS__*/
434
+ function polyObjCreate(obj, properties) {
435
+ var newObj;
436
+ function tempFunc() { }
437
+ if (!isStrictNullOrUndefined(obj)) {
438
+ var type = typeof obj;
439
+ if (type !== OBJECT && type !== FUNCTION) {
440
+ throwTypeError("Prototype must be an Object or function: " + dumpObj(obj));
441
+ }
442
+ tempFunc[PROTOTYPE] = obj;
443
+ safe(function () {
444
+ tempFunc[__PROTO__] = obj;
445
+ });
446
+ newObj = new tempFunc();
447
+ }
448
+ else {
449
+ newObj = {};
450
+ }
451
+ safe(_polyObjSetPrototypeOf, [newObj, obj]);
452
+ if (properties) {
453
+ safe(objDefineProperties, [newObj, properties]);
454
+ }
455
+ return newObj;
456
+ }
457
+ /*#__NO_SIDE_EFFECTS__*/
458
+ function utcNow() {
459
+ return (Date.now || polyUtcNow)();
460
+ }
461
+ /*#__NO_SIDE_EFFECTS__*/
462
+ function polyUtcNow() {
463
+ return new Date().getTime();
464
+ }
465
+ var _globalLazyTestHooks;
466
+ function _initTestHooks() {
467
+ _globalLazyTestHooks = _getGlobalConfig();
468
+ }
469
+ /*#__NO_SIDE_EFFECTS__*/
470
+ function getLazy(cb) {
471
+ var lazyValue = {};
472
+ !_globalLazyTestHooks && _initTestHooks();
473
+ lazyValue.b = _globalLazyTestHooks.lzy;
474
+ objDefineProp(lazyValue, "v", {
475
+ configurable: true,
476
+ get: function () {
477
+ var result = cb();
478
+ if (!_globalLazyTestHooks.lzy) {
479
+ objDefineProp(lazyValue, "v", {
480
+ value: result
481
+ });
482
+ }
483
+ lazyValue.b = _globalLazyTestHooks.lzy;
484
+ return result;
287
485
  }
288
- throwTypeError("\"" + asString(funcName) + "\" not defined for " + dumpObj(thisArg));
289
- };
486
+ });
487
+ return lazyValue;
290
488
  }
489
+ var mathRandom = ( /*#__PURE__*/_pureRef(MathCls, "random"));
490
+ var _uniqueInstanceId = ( /*#__PURE__*/getLazy(function () {
491
+ var value = (utcNow().toString(36).slice(2));
492
+ while (value.length < 16) {
493
+ value += mathRandom().toString(36).slice(2);
494
+ }
495
+ value = value.substring(0, 16);
496
+ return value;
497
+ }));
291
498
  var UNIQUE_REGISTRY_ID = "_urid";
499
+ var POLY_SYM = "$nw21sym";
292
500
  var _polySymbols;
501
+ var _polyId = 0;
293
502
  /*#__NO_SIDE_EFFECTS__*/
294
503
  function _globalSymbolRegistry() {
295
504
  if (!_polySymbols) {
@@ -301,12 +510,35 @@ function _globalSymbolRegistry() {
301
510
  var _wellKnownSymbolCache;
302
511
  /*#__NO_SIDE_EFFECTS__*/
303
512
  function polyNewSymbol(description) {
304
- var theSymbol = {
305
- description: asString(description),
306
- toString: function () { return SYMBOL + "(" + description + ")"; }
307
- };
308
- theSymbol[POLYFILL_TAG] = true;
309
- return theSymbol;
513
+ var uniqueId = "_" + _polyId++ + "_" + _uniqueInstanceId.v;
514
+ var symString = SYMBOL + "(" + description + ")";
515
+ var theSymbol = objCreate(null);
516
+ objDefine(theSymbol, "description", {
517
+ v: asString(description),
518
+ e: false,
519
+ w: false
520
+ });
521
+ objDefine(theSymbol, TO_STRING, {
522
+ v: function () { return symString + POLY_SYM + uniqueId; },
523
+ e: false,
524
+ w: false
525
+ });
526
+ objDefine(theSymbol, "valueOf", {
527
+ v: function () { return theSymbol; },
528
+ e: false,
529
+ w: false
530
+ });
531
+ objDefine(theSymbol, "v", {
532
+ v: symString,
533
+ e: false,
534
+ w: false
535
+ });
536
+ objDefine(theSymbol, "_uid", {
537
+ v: uniqueId,
538
+ e: false,
539
+ w: false
540
+ });
541
+ return _tagAsPolyfill(theSymbol, "symbol");
310
542
  }
311
543
  /*#__NO_SIDE_EFFECTS__*/
312
544
  function polySymbolFor(key) {
@@ -330,16 +562,6 @@ function polyGetKnownSymbol(name) {
330
562
  }
331
563
  return result;
332
564
  }
333
- var _globalLazyTestHooks;
334
- function _initTestHooks() {
335
- _globalLazyTestHooks = _getGlobalConfig();
336
- }
337
- /*#__NO_SIDE_EFFECTS__*/
338
- function createCachedValue(value) {
339
- return objDefineProp({
340
- toJSON: function () { return value; }
341
- }, "v", { value: value });
342
- }
343
565
  var WINDOW = "window";
344
566
  var _cachedGlobal;
345
567
  function _getGlobalInstFn(getFn, theArgs) {
@@ -497,46 +719,10 @@ function arrAppend(target, elms) {
497
719
  }
498
720
  return target;
499
721
  }
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
722
  var arrIndexOf = ( /*#__PURE__*/_unwrapFunction("indexOf", ArrProto));
513
723
  function arrSlice(theArray, start, end) {
514
724
  return ((theArray ? theArray["slice"] : NULL_VALUE) || ArrSlice).apply(theArray, ArrSlice[CALL](arguments, 1));
515
725
  }
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
- var _isProtoArray;
531
- function objSetPrototypeOf(obj, proto) {
532
- var fn = ObjClass["setPrototypeOf"] ||
533
- function (d, b) {
534
- var _a;
535
- !_isProtoArray && (_isProtoArray = createCachedValue((_a = {}, _a[__PROTO__] = [], _a) instanceof Array));
536
- _isProtoArray.v ? d[__PROTO__] = b : objForEachKey(b, function (key, value) { return d[key] = value; });
537
- };
538
- return fn(obj, proto);
539
- }
540
726
  /*#__NO_SIDE_EFFECTS__*/
541
727
  function _createCustomError(name, d, b) {
542
728
  safe(objDefine, [d, NAME, { v: name, c: true, e: false }]);
@@ -577,14 +763,6 @@ function createCustomError(name, constructCb, errorBase) {
577
763
  }
578
764
  }, theBaseClass);
579
765
  }
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
766
  var mathFloor = ( /*#__PURE__*/_pureRef(MathCls, "floor"));
589
767
  var _fnToString;
590
768
  var _objCtrFnString;
@@ -1460,7 +1638,7 @@ function newId(maxLength) {
1460
1638
  return result;
1461
1639
  }
1462
1640
 
1463
- var version = '3.3.7-nightly3.2504-10';
1641
+ var version = '3.3.7-nightly3.2504-11';
1464
1642
  var instanceName = "." + newId(6);
1465
1643
  var _dataUid = 0;
1466
1644
  function _canAcceptData(target) {