@microsoft/applicationinsights-dependencies-js 3.3.7-nightly3.2504-08 → 3.3.7-nightly3.2504-12

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 (28) hide show
  1. package/browser/es5/applicationinsights-dependencies-js.cjs.js +263 -113
  2. package/browser/es5/applicationinsights-dependencies-js.cjs.js.map +1 -1
  3. package/browser/es5/applicationinsights-dependencies-js.cjs.min.js +2 -2
  4. package/browser/es5/applicationinsights-dependencies-js.cjs.min.js.map +1 -1
  5. package/browser/es5/applicationinsights-dependencies-js.gbl.js +265 -115
  6. package/browser/es5/applicationinsights-dependencies-js.gbl.js.map +1 -1
  7. package/browser/es5/applicationinsights-dependencies-js.gbl.min.js +2 -2
  8. package/browser/es5/applicationinsights-dependencies-js.gbl.min.js.map +1 -1
  9. package/browser/es5/applicationinsights-dependencies-js.integrity.json +25 -25
  10. package/browser/es5/applicationinsights-dependencies-js.js +265 -115
  11. package/browser/es5/applicationinsights-dependencies-js.js.map +1 -1
  12. package/browser/es5/applicationinsights-dependencies-js.min.js +2 -2
  13. package/browser/es5/applicationinsights-dependencies-js.min.js.map +1 -1
  14. package/dist/es5/applicationinsights-dependencies-js.js +263 -113
  15. package/dist/es5/applicationinsights-dependencies-js.js.map +1 -1
  16. package/dist/es5/applicationinsights-dependencies-js.min.js +2 -2
  17. package/dist/es5/applicationinsights-dependencies-js.min.js.map +1 -1
  18. package/dist-es5/DependencyInitializer.js +1 -1
  19. package/dist-es5/DependencyListener.js +1 -1
  20. package/dist-es5/InternalConstants.js +1 -1
  21. package/dist-es5/__DynamicConstants.js +1 -1
  22. package/dist-es5/ajax.js +1 -1
  23. package/dist-es5/ajaxRecord.js +1 -1
  24. package/dist-es5/ajaxUtils.js +1 -1
  25. package/dist-es5/applicationinsights-dependencies-js.js +1 -1
  26. package/package.json +3 -3
  27. package/types/applicationinsights-dependencies-js.d.ts +1 -1
  28. package/types/applicationinsights-dependencies-js.namespaced.d.ts +1 -1
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Application Insights JavaScript SDK - Dependencies Plugin, 3.3.7-nightly3.2504-08
2
+ * Application Insights JavaScript SDK - Dependencies Plugin, 3.3.7-nightly3.2504-12
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  (function (global, factory) {
@@ -15,7 +15,7 @@
15
15
  var ObjClass$1 = Object;
16
16
  var ObjProto$1 = ObjClass$1[strShimPrototype];
17
17
 
18
- /*! https://github.com/nevware21/ts-utils v0.11.8 */
18
+ /*! https://github.com/nevware21/ts-utils v0.12.1 */
19
19
  /*#__NO_SIDE_EFFECTS__*/
20
20
  function _pureAssign(func1, func2) {
21
21
  return func1 || func2;
@@ -34,11 +34,12 @@
34
34
  var UNDEFINED = "undefined";
35
35
  var CONSTRUCTOR = "constructor";
36
36
  var SYMBOL = "Symbol";
37
- var POLYFILL_TAG = "_polyfill";
38
37
  var LENGTH = "length";
39
38
  var NAME = "name";
40
39
  var CALL = "call";
41
40
  var TO_STRING = "toString";
41
+ var GETTER_NAME = "__lookupGetter__";
42
+ var SETTER_NAME = "__lookupSetter__";
42
43
  var ObjClass = ( /*#__PURE__*/_pureAssign(Object));
43
44
  var ObjProto = ( /*#__PURE__*/_pureRef(ObjClass, PROTOTYPE));
44
45
  var StrCls = ( /*#__PURE__*/_pureAssign(String));
@@ -47,6 +48,8 @@
47
48
  var ArrCls = ( /*#__PURE__*/_pureAssign(Array));
48
49
  var ArrProto = ( /*#__PURE__*/_pureRef(ArrCls, PROTOTYPE));
49
50
  var ArrSlice = ( /*#__PURE__*/_pureRef(ArrProto, "slice"));
51
+ var POLYFILL_TAG = "_polyfill";
52
+ var POLYFILL_TYPE_NAME = "__nw21$polytype__";
50
53
  function safe(func, argArray) {
51
54
  try {
52
55
  return {
@@ -80,7 +83,7 @@
80
83
  }
81
84
  /*#__NO_SIDE_EFFECTS__*/
82
85
  function isStrictUndefined(arg) {
83
- return !isDefined(arg);
86
+ return arg === UNDEF_VALUE;
84
87
  }
85
88
  /*#__NO_SIDE_EFFECTS__*/
86
89
  function isNullOrUndefined(value) {
@@ -88,7 +91,7 @@
88
91
  }
89
92
  /*#__NO_SIDE_EFFECTS__*/
90
93
  function isStrictNullOrUndefined(value) {
91
- return value === NULL_VALUE || !isDefined(value);
94
+ return value === NULL_VALUE || value === UNDEF_VALUE;
92
95
  }
93
96
  /*#__NO_SIDE_EFFECTS__*/
94
97
  function isDefined(arg) {
@@ -106,18 +109,122 @@
106
109
  var isArray = ( /* #__PURE__*/_pureRef(ArrCls, "isArray"));
107
110
  var isNumber = ( /*#__PURE__*/_createIs("number"));
108
111
  var isError = ( /*#__PURE__*/_createObjIs("Error"));
109
- var objGetOwnPropertyDescriptor = ( /* #__PURE__ */_pureRef(ObjClass, "getOwnPropertyDescriptor"));
112
+ var asString = ( /* #__PURE__ */_pureAssign(StrCls));
113
+ var ERROR_TYPE = "[object Error]";
114
+ /*#__NO_SIDE_EFFECTS__*/
115
+ function dumpObj(object, format) {
116
+ var propertyValueDump = EMPTY;
117
+ var objType = ObjProto[TO_STRING][CALL](object);
118
+ if (objType === ERROR_TYPE) {
119
+ object = { stack: asString(object.stack), message: asString(object.message), name: asString(object.name) };
120
+ }
121
+ try {
122
+ propertyValueDump = JSON.stringify(object, NULL_VALUE, format ? ((typeof format === "number") ? format : 4) : UNDEF_VALUE);
123
+ propertyValueDump = (propertyValueDump ? propertyValueDump.replace(/"(\w+)"\s*:\s{0,1}/g, "$1: ") : NULL_VALUE) || asString(object);
124
+ }
125
+ catch (e) {
126
+ propertyValueDump = " - " + dumpObj(e, format);
127
+ }
128
+ return objType + ": " + propertyValueDump;
129
+ }
130
+ function throwError(message) {
131
+ throw new Error(message);
132
+ }
133
+ function throwTypeError(message) {
134
+ throw new TypeError(message);
135
+ }
136
+ function _throwIfNullOrUndefined(obj) {
137
+ if (isStrictNullOrUndefined(obj)) {
138
+ throwTypeError("Cannot convert undefined or null to object");
139
+ }
140
+ }
110
141
  /*#__NO_SIDE_EFFECTS__*/
111
142
  function objHasOwnProperty(obj, prop) {
112
143
  return !!obj && ObjProto.hasOwnProperty[CALL](obj, prop);
113
144
  }
114
- var objHasOwn = ( /*#__PURE__*/_pureAssign(( /* #__PURE__ */_pureRef(ObjClass, "hasOwn")), polyObjHasOwn));
145
+ var _unwrapFunction = ( _unwrapFunctionWithPoly);
146
+ /*#__NO_SIDE_EFFECTS__*/
147
+ function _unwrapFunctionWithPoly(funcName, clsProto, polyFunc) {
148
+ var clsFn = clsProto ? clsProto[funcName] : NULL_VALUE;
149
+ return function (thisArg) {
150
+ var theFunc = (thisArg ? thisArg[funcName] : NULL_VALUE) || clsFn;
151
+ if (theFunc || polyFunc) {
152
+ var theArgs = arguments;
153
+ return (theFunc || polyFunc).apply(thisArg, theFunc ? ArrSlice[CALL](theArgs, 1) : theArgs);
154
+ }
155
+ throwTypeError("\"" + asString(funcName) + "\" not defined for " + dumpObj(thisArg));
156
+ };
157
+ }
158
+ function _objPropertyIsEnum(obj, propKey) {
159
+ var desc;
160
+ var fn = ObjClass.getOwnPropertyDescriptor;
161
+ if (!isStrictNullOrUndefined(obj) && fn) {
162
+ desc = safe(fn, [obj, propKey]).v || NULL_VALUE;
163
+ }
164
+ if (!desc) {
165
+ desc = safe(function () {
166
+ for (var key in obj) {
167
+ if (key === propKey) {
168
+ return { enumerable: true };
169
+ }
170
+ }
171
+ }).v;
172
+ }
173
+ return (desc && desc.enumerable) || false;
174
+ }
175
+ var objPropertyIsEnumerable = ( /*#__PURE__*/_unwrapFunctionWithPoly("propertyIsEnumerable", NULL_VALUE, _objPropertyIsEnum));
176
+ function _isPropertyWritable(obj, prop) {
177
+ var result = false;
178
+ if (!(isString(obj) && (prop === LENGTH || isNumber(prop) || (isString(prop) && !isNaN(Number(prop)))))) {
179
+ var originalValue = obj[prop];
180
+ try {
181
+ obj[prop] = originalValue;
182
+ result = true;
183
+ }
184
+ catch (e) {
185
+ }
186
+ }
187
+ return result;
188
+ }
189
+ function polyObjGetOwnPropertyDescriptor(obj, prop) {
190
+ var descriptor;
191
+ _throwIfNullOrUndefined(obj);
192
+ var isLength = (prop === LENGTH && (isArray(obj) || isString(obj)));
193
+ if (isLength || objHasOwnProperty(obj, prop)) {
194
+ descriptor = {
195
+ configurable: !isLength,
196
+ enumerable: !isLength ? objPropertyIsEnumerable(obj, prop) : false
197
+ };
198
+ var isData = true;
199
+ if (GETTER_NAME in ObjProto && SETTER_NAME in ObjProto) {
200
+ var getter = obj[GETTER_NAME](prop);
201
+ var setter = obj[SETTER_NAME](prop);
202
+ if (getter || setter) {
203
+ isData = false;
204
+ if (getter) {
205
+ descriptor.get = getter;
206
+ }
207
+ if (setter) {
208
+ descriptor.set = setter;
209
+ }
210
+ }
211
+ }
212
+ if (isData) {
213
+ descriptor.value = obj[prop];
214
+ descriptor.writable = _isPropertyWritable(obj, prop);
215
+ }
216
+ }
217
+ return descriptor;
218
+ }
219
+ var objGetOwnPropertyDescriptor = ( /* #__PURE__ */_pureAssign(( /* #__PURE__ */_pureRef(ObjClass, "getOwnPropertyDescriptor")), polyObjGetOwnPropertyDescriptor));
115
220
  /*#__NO_SIDE_EFFECTS__*/
116
221
  function polyObjHasOwn(obj, prop) {
222
+ _throwIfNullOrUndefined(obj);
117
223
  return objHasOwnProperty(obj, prop) || !!objGetOwnPropertyDescriptor(obj, prop);
118
224
  }
225
+ var objHasOwn = ( /*#__PURE__*/_pureAssign(( /* #__PURE__ */_pureRef(ObjClass, "hasOwn")), polyObjHasOwn));
119
226
  function objForEachKey(theObject, callbackfn, thisArg) {
120
- if (theObject && isObject(theObject)) {
227
+ if (theObject && (isObject(theObject) || isFunction(theObject))) {
121
228
  for (var prop in theObject) {
122
229
  if (objHasOwn(theObject, prop)) {
123
230
  if (callbackfn[CALL](thisArg || theObject, prop, theObject[prop]) === -1) {
@@ -127,6 +234,18 @@
127
234
  }
128
235
  }
129
236
  }
237
+ function arrForEach(theArray, callbackfn, thisArg) {
238
+ if (theArray) {
239
+ var len = theArray[LENGTH] >>> 0;
240
+ for (var idx = 0; idx < len; idx++) {
241
+ if (idx in theArray) {
242
+ if (callbackfn[CALL](thisArg || theArray, theArray[idx], idx, theArray) === -1) {
243
+ break;
244
+ }
245
+ }
246
+ }
247
+ }
248
+ }
130
249
  var propMap = {
131
250
  e: "enumerable",
132
251
  c: "configurable",
@@ -155,6 +274,7 @@
155
274
  return prop;
156
275
  }
157
276
  var objDefineProp = ( /*#__PURE__*/_pureRef(ObjClass, "defineProperty"));
277
+ var objDefineProperties = ( /*#__PURE__*/_pureRef(ObjClass, "defineProperties"));
158
278
  function objDefine(target, key, propDesc) {
159
279
  return objDefineProp(target, key, _createProp(propDesc));
160
280
  }
@@ -174,36 +294,13 @@
174
294
  writable: false
175
295
  });
176
296
  }
177
- var asString = ( /* #__PURE__ */_pureAssign(StrCls));
178
- var ERROR_TYPE = "[object Error]";
179
- /*#__NO_SIDE_EFFECTS__*/
180
- function dumpObj(object, format) {
181
- var propertyValueDump = EMPTY;
182
- var objType = ObjProto[TO_STRING][CALL](object);
183
- if (objType === ERROR_TYPE) {
184
- object = { stack: asString(object.stack), message: asString(object.message), name: asString(object.name) };
185
- }
186
- try {
187
- propertyValueDump = JSON.stringify(object, NULL_VALUE, format ? ((typeof format === "number") ? format : 4) : UNDEF_VALUE);
188
- propertyValueDump = (propertyValueDump ? propertyValueDump.replace(/"(\w+)"\s*:\s{0,1}/g, "$1: ") : NULL_VALUE) || asString(object);
189
- }
190
- catch (e) {
191
- propertyValueDump = " - " + dumpObj(e, format);
192
- }
193
- return objType + ": " + propertyValueDump;
194
- }
195
- function throwError(message) {
196
- throw new Error(message);
197
- }
198
- function throwTypeError(message) {
199
- throw new TypeError(message);
200
- }
201
297
  var _objFreeze = ( /* #__PURE__ */_pureRef(ObjClass, "freeze"));
202
298
  function _doNothing(value) {
203
299
  return value;
204
300
  }
205
301
  /*#__NO_SIDE_EFFECTS__*/
206
302
  function _getProto(value) {
303
+ _throwIfNullOrUndefined(value);
207
304
  return value[__PROTO__] || NULL_VALUE;
208
305
  }
209
306
  var objAssign = ( /*#__PURE__*/_pureRef(ObjClass, "assign"));
@@ -269,28 +366,13 @@
269
366
  }
270
367
  return _globalCfg;
271
368
  }
272
- var _unwrapFunction = ( _unwrapFunctionWithPoly);
273
- /*#__NO_SIDE_EFFECTS__*/
274
- function _unwrapFunctionWithPoly(funcName, clsProto, polyFunc) {
275
- var clsFn = clsProto ? clsProto[funcName] : NULL_VALUE;
276
- return function (thisArg) {
277
- var theFunc = (thisArg ? thisArg[funcName] : NULL_VALUE) || clsFn;
278
- if (theFunc || polyFunc) {
279
- var theArgs = arguments;
280
- return (theFunc || polyFunc).apply(thisArg, theFunc ? ArrSlice[CALL](theArgs, 1) : theArgs);
281
- }
282
- throwTypeError("\"" + asString(funcName) + "\" not defined for " + dumpObj(thisArg));
283
- };
284
- }
285
369
  var mathMax = ( /*#__PURE__*/_pureRef(MathCls, "max"));
286
370
  var strSlice = ( /*#__PURE__*/_unwrapFunction("slice", StrProto));
287
371
  var strSubstring = ( /*#__PURE__*/_unwrapFunction("substring", StrProto));
288
372
  var strSubstr = ( /*#__PURE__*/_unwrapFunctionWithPoly("substr", StrProto, polyStrSubstr));
289
373
  /*#__NO_SIDE_EFFECTS__*/
290
374
  function polyStrSubstr(value, start, length) {
291
- if (isNullOrUndefined(value)) {
292
- throwTypeError("Invalid " + dumpObj(value));
293
- }
375
+ _throwIfNullOrUndefined(value);
294
376
  if (length < 0) {
295
377
  return EMPTY;
296
378
  }
@@ -307,8 +389,109 @@
307
389
  function strLeft(value, count) {
308
390
  return strSubstring(value, 0, count);
309
391
  }
392
+ function _tagAsPolyfill(target, polyfillTypeName) {
393
+ if (target) {
394
+ safe(function () {
395
+ target[POLYFILL_TAG] = true;
396
+ target[POLYFILL_TYPE_NAME] = polyfillTypeName;
397
+ });
398
+ safe(objDefine, [target, POLYFILL_TAG, {
399
+ v: true,
400
+ w: false,
401
+ e: false
402
+ }]);
403
+ safe(objDefine, [target, POLYFILL_TYPE_NAME, {
404
+ v: polyfillTypeName,
405
+ w: false,
406
+ e: false
407
+ }]);
408
+ }
409
+ return target;
410
+ }
411
+ /*#__NO_SIDE_EFFECTS__*/
412
+ function createCachedValue(value) {
413
+ return objDefineProp({
414
+ toJSON: function () { return value; }
415
+ }, "v", { value: value });
416
+ }
417
+ var _isProtoArray;
418
+ var objSetPrototypeOf = ( /* #__PURE__*/_pureAssign(( /* #__PURE__ */_pureRef(ObjClass, "setPrototypeOf")), _polyObjSetPrototypeOf));
419
+ function _polyObjSetPrototypeOf(obj, proto) {
420
+ var _a;
421
+ !_isProtoArray && (_isProtoArray = createCachedValue((_a = {}, _a[__PROTO__] = [], _a) instanceof Array));
422
+ _isProtoArray.v ? obj[__PROTO__] = proto : objForEachKey(proto, function (key, value) { return obj[key] = value; });
423
+ return obj;
424
+ }
425
+ var objCreate = ( /* #__PURE__*/_pureAssign(( /* #__PURE__*/_pureRef(ObjClass, "create")), polyObjCreate));
426
+ /*#__NO_SIDE_EFFECTS__*/
427
+ function polyObjCreate(obj, properties) {
428
+ var newObj;
429
+ function tempFunc() { }
430
+ if (!isStrictNullOrUndefined(obj)) {
431
+ var type = typeof obj;
432
+ if (type !== OBJECT && type !== FUNCTION) {
433
+ throwTypeError("Prototype must be an Object or function: " + dumpObj(obj));
434
+ }
435
+ tempFunc[PROTOTYPE] = obj;
436
+ safe(function () {
437
+ tempFunc[__PROTO__] = obj;
438
+ });
439
+ newObj = new tempFunc();
440
+ }
441
+ else {
442
+ newObj = {};
443
+ }
444
+ safe(_polyObjSetPrototypeOf, [newObj, obj]);
445
+ if (properties) {
446
+ safe(objDefineProperties, [newObj, properties]);
447
+ }
448
+ return newObj;
449
+ }
450
+ /*#__NO_SIDE_EFFECTS__*/
451
+ function utcNow() {
452
+ return (Date.now || polyUtcNow)();
453
+ }
454
+ /*#__NO_SIDE_EFFECTS__*/
455
+ function polyUtcNow() {
456
+ return new Date().getTime();
457
+ }
458
+ var _globalLazyTestHooks;
459
+ function _initTestHooks() {
460
+ _globalLazyTestHooks = _getGlobalConfig();
461
+ }
462
+ /*#__NO_SIDE_EFFECTS__*/
463
+ function getLazy(cb) {
464
+ var lazyValue = {};
465
+ !_globalLazyTestHooks && _initTestHooks();
466
+ lazyValue.b = _globalLazyTestHooks.lzy;
467
+ objDefineProp(lazyValue, "v", {
468
+ configurable: true,
469
+ get: function () {
470
+ var result = cb();
471
+ if (!_globalLazyTestHooks.lzy) {
472
+ objDefineProp(lazyValue, "v", {
473
+ value: result
474
+ });
475
+ }
476
+ lazyValue.b = _globalLazyTestHooks.lzy;
477
+ return result;
478
+ }
479
+ });
480
+ return lazyValue;
481
+ }
482
+ var mathRandom = ( /*#__PURE__*/_pureRef(MathCls, "random"));
483
+ var _uniqueInstanceId = ( /*#__PURE__*/getLazy(function () {
484
+ var value = (utcNow().toString(36).slice(2));
485
+ while (value.length < 16) {
486
+ value += mathRandom().toString(36).slice(2);
487
+ }
488
+ value = value.substring(0, 16);
489
+ return value;
490
+ }));
310
491
  var UNIQUE_REGISTRY_ID = "_urid";
492
+ var POLY_SYM = "$nw21sym";
311
493
  var _polySymbols;
494
+ var _polyId = 0;
312
495
  /*#__NO_SIDE_EFFECTS__*/
313
496
  function _globalSymbolRegistry() {
314
497
  if (!_polySymbols) {
@@ -320,12 +503,35 @@
320
503
  var _wellKnownSymbolCache;
321
504
  /*#__NO_SIDE_EFFECTS__*/
322
505
  function polyNewSymbol(description) {
323
- var theSymbol = {
324
- description: asString(description),
325
- toString: function () { return SYMBOL + "(" + description + ")"; }
326
- };
327
- theSymbol[POLYFILL_TAG] = true;
328
- return theSymbol;
506
+ var uniqueId = "_" + _polyId++ + "_" + _uniqueInstanceId.v;
507
+ var symString = SYMBOL + "(" + description + ")";
508
+ var theSymbol = objCreate(null);
509
+ objDefine(theSymbol, "description", {
510
+ v: asString(description),
511
+ e: false,
512
+ w: false
513
+ });
514
+ objDefine(theSymbol, TO_STRING, {
515
+ v: function () { return symString + POLY_SYM + uniqueId; },
516
+ e: false,
517
+ w: false
518
+ });
519
+ objDefine(theSymbol, "valueOf", {
520
+ v: function () { return theSymbol; },
521
+ e: false,
522
+ w: false
523
+ });
524
+ objDefine(theSymbol, "v", {
525
+ v: symString,
526
+ e: false,
527
+ w: false
528
+ });
529
+ objDefine(theSymbol, "_uid", {
530
+ v: uniqueId,
531
+ e: false,
532
+ w: false
533
+ });
534
+ return _tagAsPolyfill(theSymbol, "symbol");
329
535
  }
330
536
  /*#__NO_SIDE_EFFECTS__*/
331
537
  function polySymbolFor(key) {
@@ -349,16 +555,6 @@
349
555
  }
350
556
  return result;
351
557
  }
352
- var _globalLazyTestHooks;
353
- function _initTestHooks() {
354
- _globalLazyTestHooks = _getGlobalConfig();
355
- }
356
- /*#__NO_SIDE_EFFECTS__*/
357
- function createCachedValue(value) {
358
- return objDefineProp({
359
- toJSON: function () { return value; }
360
- }, "v", { value: value });
361
- }
362
558
  var WINDOW = "window";
363
559
  var _cachedGlobal;
364
560
  function _getGlobalInstFn(getFn, theArgs) {
@@ -507,43 +703,7 @@
507
703
  }
508
704
  return target;
509
705
  }
510
- function arrForEach(theArray, callbackfn, thisArg) {
511
- if (theArray) {
512
- var len = theArray[LENGTH] >>> 0;
513
- for (var idx = 0; idx < len; idx++) {
514
- if (idx in theArray) {
515
- if (callbackfn[CALL](thisArg || theArray, theArray[idx], idx, theArray) === -1) {
516
- break;
517
- }
518
- }
519
- }
520
- }
521
- }
522
706
  var arrIndexOf = ( /*#__PURE__*/_unwrapFunction("indexOf", ArrProto));
523
- var objCreate = ( /* #__PURE__*/_pureAssign(( /* #__PURE__*/_pureRef(ObjClass, "create")), polyObjCreate));
524
- /*#__NO_SIDE_EFFECTS__*/
525
- function polyObjCreate(obj) {
526
- if (!obj) {
527
- return {};
528
- }
529
- var type = typeof obj;
530
- if (type !== OBJECT && type !== FUNCTION) {
531
- throwTypeError("Prototype must be an Object or function: " + dumpObj(obj));
532
- }
533
- function tempFunc() { }
534
- tempFunc[PROTOTYPE] = obj;
535
- return new tempFunc();
536
- }
537
- var _isProtoArray;
538
- function objSetPrototypeOf(obj, proto) {
539
- var fn = ObjClass["setPrototypeOf"] ||
540
- function (d, b) {
541
- var _a;
542
- !_isProtoArray && (_isProtoArray = createCachedValue((_a = {}, _a[__PROTO__] = [], _a) instanceof Array));
543
- _isProtoArray.v ? d[__PROTO__] = b : objForEachKey(b, function (key, value) { return d[key] = value; });
544
- };
545
- return fn(obj, proto);
546
- }
547
707
  /*#__NO_SIDE_EFFECTS__*/
548
708
  function _createCustomError(name, d, b) {
549
709
  safe(objDefine, [d, NAME, { v: name, c: true, e: false }]);
@@ -585,19 +745,9 @@
585
745
  }, theBaseClass);
586
746
  }
587
747
  /*#__NO_SIDE_EFFECTS__*/
588
- function utcNow() {
589
- return (Date.now || polyUtcNow)();
590
- }
591
- /*#__NO_SIDE_EFFECTS__*/
592
- function polyUtcNow() {
593
- return new Date().getTime();
594
- }
595
- /*#__NO_SIDE_EFFECTS__*/
596
748
  function _createTrimFn(exp) {
597
749
  return function _doTrim(value) {
598
- if (isNullOrUndefined(value)) {
599
- throwTypeError("strTrim called [" + dumpObj(value) + "]");
600
- }
750
+ _throwIfNullOrUndefined(value);
601
751
  if (value && value.replace) {
602
752
  value = value.replace(exp, EMPTY);
603
753
  }
@@ -639,6 +789,7 @@
639
789
  }
640
790
  return result;
641
791
  }
792
+ var strSplit = ( /*#__PURE__*/_unwrapFunction("split", StrProto));
642
793
  var _perf;
643
794
  /*#__NO_SIDE_EFFECTS__*/
644
795
  function getPerformance() {
@@ -649,7 +800,6 @@
649
800
  return _perf.v;
650
801
  }
651
802
  var mathRound = ( /*#__PURE__*/_pureRef(MathCls, "round"));
652
- var strSplit = ( /*#__PURE__*/_unwrapFunction("split", StrProto));
653
803
  var strIndexOf = ( /*#__PURE__*/_unwrapFunction("indexOf", StrProto));
654
804
  var REF = "ref";
655
805
  var UNREF = "unref";
@@ -1321,7 +1471,7 @@
1321
1471
  return result;
1322
1472
  }
1323
1473
 
1324
- var version = '3.3.7-nightly3.2504-08';
1474
+ var version = '3.3.7-nightly3.2504-12';
1325
1475
  var instanceName = "." + newId(6);
1326
1476
  var _dataUid = 0;
1327
1477
  function _canAcceptData(target) {