@wavemaker/angular-codegen 11.14.1-27.647700 → 11.14.1-29.647719
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/angular-app/dependency-report.html +1 -1
- package/angular-app/npm-shrinkwrap.json +869 -686
- package/angular-app/package-lock.json +869 -686
- package/angular-app/package.json +6 -6
- package/dependencies/custom-widgets-bundle.cjs.js +14 -37
- package/dependencies/pipe-provider.cjs.js +550 -168
- package/dependencies/transpilation-web.cjs.js +269 -79
- package/npm-shrinkwrap.json +53 -53
- package/package-lock.json +53 -53
- package/package.json +2 -2
|
@@ -124642,17 +124642,17 @@ var root$1 = freeGlobal$1 || freeSelf$1 || Function('return this')();
|
|
|
124642
124642
|
var Symbol$1$1 = root$1.Symbol;
|
|
124643
124643
|
|
|
124644
124644
|
/** Used for built-in method references. */
|
|
124645
|
-
var objectProto$
|
|
124645
|
+
var objectProto$i$1 = Object.prototype;
|
|
124646
124646
|
|
|
124647
124647
|
/** Used to check objects for own properties. */
|
|
124648
|
-
var hasOwnProperty$
|
|
124648
|
+
var hasOwnProperty$f$1 = objectProto$i$1.hasOwnProperty;
|
|
124649
124649
|
|
|
124650
124650
|
/**
|
|
124651
124651
|
* Used to resolve the
|
|
124652
124652
|
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
124653
124653
|
* of values.
|
|
124654
124654
|
*/
|
|
124655
|
-
var nativeObjectToString$1$1 = objectProto$
|
|
124655
|
+
var nativeObjectToString$1$1 = objectProto$i$1.toString;
|
|
124656
124656
|
|
|
124657
124657
|
/** Built-in value references. */
|
|
124658
124658
|
var symToStringTag$1$1 = Symbol$1$1 ? Symbol$1$1.toStringTag : undefined;
|
|
@@ -124665,7 +124665,7 @@ var symToStringTag$1$1 = Symbol$1$1 ? Symbol$1$1.toStringTag : undefined;
|
|
|
124665
124665
|
* @returns {string} Returns the raw `toStringTag`.
|
|
124666
124666
|
*/
|
|
124667
124667
|
function getRawTag$1(value) {
|
|
124668
|
-
var isOwn = hasOwnProperty$
|
|
124668
|
+
var isOwn = hasOwnProperty$f$1.call(value, symToStringTag$1$1),
|
|
124669
124669
|
tag = value[symToStringTag$1$1];
|
|
124670
124670
|
|
|
124671
124671
|
try {
|
|
@@ -124685,14 +124685,14 @@ function getRawTag$1(value) {
|
|
|
124685
124685
|
}
|
|
124686
124686
|
|
|
124687
124687
|
/** Used for built-in method references. */
|
|
124688
|
-
var objectProto$
|
|
124688
|
+
var objectProto$h$1 = Object.prototype;
|
|
124689
124689
|
|
|
124690
124690
|
/**
|
|
124691
124691
|
* Used to resolve the
|
|
124692
124692
|
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
124693
124693
|
* of values.
|
|
124694
124694
|
*/
|
|
124695
|
-
var nativeObjectToString$2 = objectProto$
|
|
124695
|
+
var nativeObjectToString$2 = objectProto$h$1.toString;
|
|
124696
124696
|
|
|
124697
124697
|
/**
|
|
124698
124698
|
* Converts `value` to a string using `Object.prototype.toString`.
|
|
@@ -125158,17 +125158,17 @@ var reIsHostCtor$1 = /^\[object .+?Constructor\]$/;
|
|
|
125158
125158
|
|
|
125159
125159
|
/** Used for built-in method references. */
|
|
125160
125160
|
var funcProto$1$1 = Function.prototype,
|
|
125161
|
-
objectProto$
|
|
125161
|
+
objectProto$g$1 = Object.prototype;
|
|
125162
125162
|
|
|
125163
125163
|
/** Used to resolve the decompiled source of functions. */
|
|
125164
125164
|
var funcToString$1$1 = funcProto$1$1.toString;
|
|
125165
125165
|
|
|
125166
125166
|
/** Used to check objects for own properties. */
|
|
125167
|
-
var hasOwnProperty$
|
|
125167
|
+
var hasOwnProperty$e$1 = objectProto$g$1.hasOwnProperty;
|
|
125168
125168
|
|
|
125169
125169
|
/** Used to detect if a method is native. */
|
|
125170
125170
|
var reIsNative$1 = RegExp('^' +
|
|
125171
|
-
funcToString$1$1.call(hasOwnProperty$
|
|
125171
|
+
funcToString$1$1.call(hasOwnProperty$e$1).replace(reRegExpChar$1, '\\$&')
|
|
125172
125172
|
.replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
|
|
125173
125173
|
);
|
|
125174
125174
|
|
|
@@ -125583,10 +125583,10 @@ function eq$1(value, other) {
|
|
|
125583
125583
|
}
|
|
125584
125584
|
|
|
125585
125585
|
/** Used for built-in method references. */
|
|
125586
|
-
var objectProto$
|
|
125586
|
+
var objectProto$f$1 = Object.prototype;
|
|
125587
125587
|
|
|
125588
125588
|
/** Used to check objects for own properties. */
|
|
125589
|
-
var hasOwnProperty$
|
|
125589
|
+
var hasOwnProperty$d$1 = objectProto$f$1.hasOwnProperty;
|
|
125590
125590
|
|
|
125591
125591
|
/**
|
|
125592
125592
|
* Assigns `value` to `key` of `object` if the existing value is not equivalent
|
|
@@ -125600,7 +125600,7 @@ var hasOwnProperty$c$1 = objectProto$e$1.hasOwnProperty;
|
|
|
125600
125600
|
*/
|
|
125601
125601
|
function assignValue$1(object, key, value) {
|
|
125602
125602
|
var objValue = object[key];
|
|
125603
|
-
if (!(hasOwnProperty$
|
|
125603
|
+
if (!(hasOwnProperty$d$1.call(object, key) && eq$1(objValue, value)) ||
|
|
125604
125604
|
(value === undefined && !(key in object))) {
|
|
125605
125605
|
baseAssignValue$1(object, key, value);
|
|
125606
125606
|
}
|
|
@@ -125806,7 +125806,7 @@ function createAssigner$1(assigner) {
|
|
|
125806
125806
|
}
|
|
125807
125807
|
|
|
125808
125808
|
/** Used for built-in method references. */
|
|
125809
|
-
var objectProto$
|
|
125809
|
+
var objectProto$e$1 = Object.prototype;
|
|
125810
125810
|
|
|
125811
125811
|
/**
|
|
125812
125812
|
* Checks if `value` is likely a prototype object.
|
|
@@ -125817,7 +125817,7 @@ var objectProto$d$1 = Object.prototype;
|
|
|
125817
125817
|
*/
|
|
125818
125818
|
function isPrototype$1(value) {
|
|
125819
125819
|
var Ctor = value && value.constructor,
|
|
125820
|
-
proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto$
|
|
125820
|
+
proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto$e$1;
|
|
125821
125821
|
|
|
125822
125822
|
return value === proto;
|
|
125823
125823
|
}
|
|
@@ -125856,13 +125856,13 @@ function baseIsArguments$1(value) {
|
|
|
125856
125856
|
}
|
|
125857
125857
|
|
|
125858
125858
|
/** Used for built-in method references. */
|
|
125859
|
-
var objectProto$
|
|
125859
|
+
var objectProto$d$1 = Object.prototype;
|
|
125860
125860
|
|
|
125861
125861
|
/** Used to check objects for own properties. */
|
|
125862
|
-
var hasOwnProperty$
|
|
125862
|
+
var hasOwnProperty$c$1 = objectProto$d$1.hasOwnProperty;
|
|
125863
125863
|
|
|
125864
125864
|
/** Built-in value references. */
|
|
125865
|
-
var propertyIsEnumerable$1$1 = objectProto$
|
|
125865
|
+
var propertyIsEnumerable$1$1 = objectProto$d$1.propertyIsEnumerable;
|
|
125866
125866
|
|
|
125867
125867
|
/**
|
|
125868
125868
|
* Checks if `value` is likely an `arguments` object.
|
|
@@ -125883,7 +125883,7 @@ var propertyIsEnumerable$1$1 = objectProto$c$1.propertyIsEnumerable;
|
|
|
125883
125883
|
* // => false
|
|
125884
125884
|
*/
|
|
125885
125885
|
var isArguments$1 = baseIsArguments$1(function() { return arguments; }()) ? baseIsArguments$1 : function(value) {
|
|
125886
|
-
return isObjectLike$1(value) && hasOwnProperty$
|
|
125886
|
+
return isObjectLike$1(value) && hasOwnProperty$c$1.call(value, 'callee') &&
|
|
125887
125887
|
!propertyIsEnumerable$1$1.call(value, 'callee');
|
|
125888
125888
|
};
|
|
125889
125889
|
|
|
@@ -126056,10 +126056,10 @@ var nodeIsTypedArray$1 = nodeUtil$1 && nodeUtil$1.isTypedArray;
|
|
|
126056
126056
|
var isTypedArray$1 = nodeIsTypedArray$1 ? baseUnary$1(nodeIsTypedArray$1) : baseIsTypedArray$1;
|
|
126057
126057
|
|
|
126058
126058
|
/** Used for built-in method references. */
|
|
126059
|
-
var objectProto$
|
|
126059
|
+
var objectProto$c$1 = Object.prototype;
|
|
126060
126060
|
|
|
126061
126061
|
/** Used to check objects for own properties. */
|
|
126062
|
-
var hasOwnProperty$
|
|
126062
|
+
var hasOwnProperty$b$1 = objectProto$c$1.hasOwnProperty;
|
|
126063
126063
|
|
|
126064
126064
|
/**
|
|
126065
126065
|
* Creates an array of the enumerable property names of the array-like `value`.
|
|
@@ -126079,7 +126079,7 @@ function arrayLikeKeys$1(value, inherited) {
|
|
|
126079
126079
|
length = result.length;
|
|
126080
126080
|
|
|
126081
126081
|
for (var key in value) {
|
|
126082
|
-
if ((inherited || hasOwnProperty$
|
|
126082
|
+
if ((inherited || hasOwnProperty$b$1.call(value, key)) &&
|
|
126083
126083
|
!(skipIndexes && (
|
|
126084
126084
|
// Safari 9 has enumerable `arguments.length` in strict mode.
|
|
126085
126085
|
key == 'length' ||
|
|
@@ -126114,10 +126114,10 @@ function overArg$1(func, transform) {
|
|
|
126114
126114
|
var nativeKeys$1 = overArg$1(Object.keys, Object);
|
|
126115
126115
|
|
|
126116
126116
|
/** Used for built-in method references. */
|
|
126117
|
-
var objectProto$
|
|
126117
|
+
var objectProto$b$1 = Object.prototype;
|
|
126118
126118
|
|
|
126119
126119
|
/** Used to check objects for own properties. */
|
|
126120
|
-
var hasOwnProperty$
|
|
126120
|
+
var hasOwnProperty$a$1 = objectProto$b$1.hasOwnProperty;
|
|
126121
126121
|
|
|
126122
126122
|
/**
|
|
126123
126123
|
* The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
|
|
@@ -126132,7 +126132,7 @@ function baseKeys$1(object) {
|
|
|
126132
126132
|
}
|
|
126133
126133
|
var result = [];
|
|
126134
126134
|
for (var key in Object(object)) {
|
|
126135
|
-
if (hasOwnProperty$
|
|
126135
|
+
if (hasOwnProperty$a$1.call(object, key) && key != 'constructor') {
|
|
126136
126136
|
result.push(key);
|
|
126137
126137
|
}
|
|
126138
126138
|
}
|
|
@@ -126172,10 +126172,10 @@ function keys$1(object) {
|
|
|
126172
126172
|
}
|
|
126173
126173
|
|
|
126174
126174
|
/** Used for built-in method references. */
|
|
126175
|
-
var objectProto$
|
|
126175
|
+
var objectProto$a$1 = Object.prototype;
|
|
126176
126176
|
|
|
126177
126177
|
/** Used to check objects for own properties. */
|
|
126178
|
-
var hasOwnProperty$
|
|
126178
|
+
var hasOwnProperty$9$1 = objectProto$a$1.hasOwnProperty;
|
|
126179
126179
|
|
|
126180
126180
|
/**
|
|
126181
126181
|
* Assigns own enumerable string keyed properties of source objects to the
|
|
@@ -126215,7 +126215,7 @@ var assign$1 = createAssigner$1(function(object, source) {
|
|
|
126215
126215
|
return;
|
|
126216
126216
|
}
|
|
126217
126217
|
for (var key in source) {
|
|
126218
|
-
if (hasOwnProperty$
|
|
126218
|
+
if (hasOwnProperty$9$1.call(source, key)) {
|
|
126219
126219
|
assignValue$1(object, key, source[key]);
|
|
126220
126220
|
}
|
|
126221
126221
|
}
|
|
@@ -126241,10 +126241,10 @@ function nativeKeysIn$1(object) {
|
|
|
126241
126241
|
}
|
|
126242
126242
|
|
|
126243
126243
|
/** Used for built-in method references. */
|
|
126244
|
-
var objectProto$
|
|
126244
|
+
var objectProto$9$1 = Object.prototype;
|
|
126245
126245
|
|
|
126246
126246
|
/** Used to check objects for own properties. */
|
|
126247
|
-
var hasOwnProperty$
|
|
126247
|
+
var hasOwnProperty$8$1 = objectProto$9$1.hasOwnProperty;
|
|
126248
126248
|
|
|
126249
126249
|
/**
|
|
126250
126250
|
* The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.
|
|
@@ -126261,7 +126261,7 @@ function baseKeysIn$1(object) {
|
|
|
126261
126261
|
result = [];
|
|
126262
126262
|
|
|
126263
126263
|
for (var key in object) {
|
|
126264
|
-
if (!(key == 'constructor' && (isProto || !hasOwnProperty$
|
|
126264
|
+
if (!(key == 'constructor' && (isProto || !hasOwnProperty$8$1.call(object, key)))) {
|
|
126265
126265
|
result.push(key);
|
|
126266
126266
|
}
|
|
126267
126267
|
}
|
|
@@ -126355,10 +126355,10 @@ function hashDelete$1(key) {
|
|
|
126355
126355
|
var HASH_UNDEFINED$2$1 = '__lodash_hash_undefined__';
|
|
126356
126356
|
|
|
126357
126357
|
/** Used for built-in method references. */
|
|
126358
|
-
var objectProto$
|
|
126358
|
+
var objectProto$8$1 = Object.prototype;
|
|
126359
126359
|
|
|
126360
126360
|
/** Used to check objects for own properties. */
|
|
126361
|
-
var hasOwnProperty$
|
|
126361
|
+
var hasOwnProperty$7$1 = objectProto$8$1.hasOwnProperty;
|
|
126362
126362
|
|
|
126363
126363
|
/**
|
|
126364
126364
|
* Gets the hash value for `key`.
|
|
@@ -126375,14 +126375,14 @@ function hashGet$1(key) {
|
|
|
126375
126375
|
var result = data[key];
|
|
126376
126376
|
return result === HASH_UNDEFINED$2$1 ? undefined : result;
|
|
126377
126377
|
}
|
|
126378
|
-
return hasOwnProperty$
|
|
126378
|
+
return hasOwnProperty$7$1.call(data, key) ? data[key] : undefined;
|
|
126379
126379
|
}
|
|
126380
126380
|
|
|
126381
126381
|
/** Used for built-in method references. */
|
|
126382
|
-
var objectProto$
|
|
126382
|
+
var objectProto$7$1 = Object.prototype;
|
|
126383
126383
|
|
|
126384
126384
|
/** Used to check objects for own properties. */
|
|
126385
|
-
var hasOwnProperty$
|
|
126385
|
+
var hasOwnProperty$6$1 = objectProto$7$1.hasOwnProperty;
|
|
126386
126386
|
|
|
126387
126387
|
/**
|
|
126388
126388
|
* Checks if a hash value for `key` exists.
|
|
@@ -126395,7 +126395,7 @@ var hasOwnProperty$5$1 = objectProto$6$1.hasOwnProperty;
|
|
|
126395
126395
|
*/
|
|
126396
126396
|
function hashHas$1(key) {
|
|
126397
126397
|
var data = this.__data__;
|
|
126398
|
-
return nativeCreate$1 ? (data[key] !== undefined) : hasOwnProperty$
|
|
126398
|
+
return nativeCreate$1 ? (data[key] !== undefined) : hasOwnProperty$6$1.call(data, key);
|
|
126399
126399
|
}
|
|
126400
126400
|
|
|
126401
126401
|
/** Used to stand-in for `undefined` hash values. */
|
|
@@ -127040,13 +127040,13 @@ var objectTag$3$1 = '[object Object]';
|
|
|
127040
127040
|
|
|
127041
127041
|
/** Used for built-in method references. */
|
|
127042
127042
|
var funcProto$3 = Function.prototype,
|
|
127043
|
-
objectProto$
|
|
127043
|
+
objectProto$6$1 = Object.prototype;
|
|
127044
127044
|
|
|
127045
127045
|
/** Used to resolve the decompiled source of functions. */
|
|
127046
127046
|
var funcToString$3 = funcProto$3.toString;
|
|
127047
127047
|
|
|
127048
127048
|
/** Used to check objects for own properties. */
|
|
127049
|
-
var hasOwnProperty$
|
|
127049
|
+
var hasOwnProperty$5$1 = objectProto$6$1.hasOwnProperty;
|
|
127050
127050
|
|
|
127051
127051
|
/** Used to infer the `Object` constructor. */
|
|
127052
127052
|
var objectCtorString$1 = funcToString$3.call(Object);
|
|
@@ -127087,7 +127087,7 @@ function isPlainObject$1(value) {
|
|
|
127087
127087
|
if (proto === null) {
|
|
127088
127088
|
return true;
|
|
127089
127089
|
}
|
|
127090
|
-
var Ctor = hasOwnProperty$
|
|
127090
|
+
var Ctor = hasOwnProperty$5$1.call(proto, 'constructor') && proto.constructor;
|
|
127091
127091
|
return typeof Ctor == 'function' && Ctor instanceof Ctor &&
|
|
127092
127092
|
funcToString$3.call(Ctor) == objectCtorString$1;
|
|
127093
127093
|
}
|
|
@@ -127892,10 +127892,10 @@ function stubArray$1() {
|
|
|
127892
127892
|
}
|
|
127893
127893
|
|
|
127894
127894
|
/** Used for built-in method references. */
|
|
127895
|
-
var objectProto$
|
|
127895
|
+
var objectProto$5$1 = Object.prototype;
|
|
127896
127896
|
|
|
127897
127897
|
/** Built-in value references. */
|
|
127898
|
-
var propertyIsEnumerable$2 = objectProto$
|
|
127898
|
+
var propertyIsEnumerable$2 = objectProto$5$1.propertyIsEnumerable;
|
|
127899
127899
|
|
|
127900
127900
|
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
127901
127901
|
var nativeGetSymbols$1$1 = Object.getOwnPropertySymbols;
|
|
@@ -128058,10 +128058,10 @@ if ((DataView$1$1 && getTag$1(new DataView$1$1(new ArrayBuffer(1))) != dataViewT
|
|
|
128058
128058
|
}
|
|
128059
128059
|
|
|
128060
128060
|
/** Used for built-in method references. */
|
|
128061
|
-
var objectProto$
|
|
128061
|
+
var objectProto$4$1 = Object.prototype;
|
|
128062
128062
|
|
|
128063
128063
|
/** Used to check objects for own properties. */
|
|
128064
|
-
var hasOwnProperty$
|
|
128064
|
+
var hasOwnProperty$4$1 = objectProto$4$1.hasOwnProperty;
|
|
128065
128065
|
|
|
128066
128066
|
/**
|
|
128067
128067
|
* Initializes an array clone.
|
|
@@ -128075,7 +128075,7 @@ function initCloneArray$1(array) {
|
|
|
128075
128075
|
result = new array.constructor(length);
|
|
128076
128076
|
|
|
128077
128077
|
// Add properties assigned by `RegExp#exec`.
|
|
128078
|
-
if (length && typeof array[0] == 'string' && hasOwnProperty$
|
|
128078
|
+
if (length && typeof array[0] == 'string' && hasOwnProperty$4$1.call(array, 'index')) {
|
|
128079
128079
|
result.index = array.index;
|
|
128080
128080
|
result.input = array.input;
|
|
128081
128081
|
}
|
|
@@ -128536,7 +128536,7 @@ function setCacheAdd$1(value) {
|
|
|
128536
128536
|
* @name has
|
|
128537
128537
|
* @memberOf SetCache
|
|
128538
128538
|
* @param {*} value The value to search for.
|
|
128539
|
-
* @returns {
|
|
128539
|
+
* @returns {boolean} Returns `true` if `value` is found, else `false`.
|
|
128540
128540
|
*/
|
|
128541
128541
|
function setCacheHas$1(value) {
|
|
128542
128542
|
return this.__data__.has(value);
|
|
@@ -128819,10 +128819,10 @@ function equalByTag$1(object, other, tag, bitmask, customizer, equalFunc, stack)
|
|
|
128819
128819
|
var COMPARE_PARTIAL_FLAG$3$1 = 1;
|
|
128820
128820
|
|
|
128821
128821
|
/** Used for built-in method references. */
|
|
128822
|
-
var objectProto$
|
|
128822
|
+
var objectProto$3$1 = Object.prototype;
|
|
128823
128823
|
|
|
128824
128824
|
/** Used to check objects for own properties. */
|
|
128825
|
-
var hasOwnProperty$
|
|
128825
|
+
var hasOwnProperty$3$1 = objectProto$3$1.hasOwnProperty;
|
|
128826
128826
|
|
|
128827
128827
|
/**
|
|
128828
128828
|
* A specialized version of `baseIsEqualDeep` for objects with support for
|
|
@@ -128850,7 +128850,7 @@ function equalObjects$1(object, other, bitmask, customizer, equalFunc, stack) {
|
|
|
128850
128850
|
var index = objLength;
|
|
128851
128851
|
while (index--) {
|
|
128852
128852
|
var key = objProps[index];
|
|
128853
|
-
if (!(isPartial ? key in other : hasOwnProperty$
|
|
128853
|
+
if (!(isPartial ? key in other : hasOwnProperty$3$1.call(other, key))) {
|
|
128854
128854
|
return false;
|
|
128855
128855
|
}
|
|
128856
128856
|
}
|
|
@@ -128911,10 +128911,10 @@ var argsTag$4 = '[object Arguments]',
|
|
|
128911
128911
|
objectTag$5 = '[object Object]';
|
|
128912
128912
|
|
|
128913
128913
|
/** Used for built-in method references. */
|
|
128914
|
-
var objectProto$
|
|
128914
|
+
var objectProto$2$1 = Object.prototype;
|
|
128915
128915
|
|
|
128916
128916
|
/** Used to check objects for own properties. */
|
|
128917
|
-
var hasOwnProperty$
|
|
128917
|
+
var hasOwnProperty$2$1 = objectProto$2$1.hasOwnProperty;
|
|
128918
128918
|
|
|
128919
128919
|
/**
|
|
128920
128920
|
* A specialized version of `baseIsEqual` for arrays and objects which performs
|
|
@@ -128957,8 +128957,8 @@ function baseIsEqualDeep$1(object, other, bitmask, customizer, equalFunc, stack)
|
|
|
128957
128957
|
: equalByTag$1(object, other, objTag, bitmask, customizer, equalFunc, stack);
|
|
128958
128958
|
}
|
|
128959
128959
|
if (!(bitmask & COMPARE_PARTIAL_FLAG$2$1)) {
|
|
128960
|
-
var objIsWrapped = objIsObj && hasOwnProperty$
|
|
128961
|
-
othIsWrapped = othIsObj && hasOwnProperty$
|
|
128960
|
+
var objIsWrapped = objIsObj && hasOwnProperty$2$1.call(object, '__wrapped__'),
|
|
128961
|
+
othIsWrapped = othIsObj && hasOwnProperty$2$1.call(other, '__wrapped__');
|
|
128962
128962
|
|
|
128963
128963
|
if (objIsWrapped || othIsWrapped) {
|
|
128964
128964
|
var objUnwrapped = objIsWrapped ? object.value() : object,
|
|
@@ -130372,10 +130372,10 @@ var mapTag$7 = '[object Map]',
|
|
|
130372
130372
|
setTag$7 = '[object Set]';
|
|
130373
130373
|
|
|
130374
130374
|
/** Used for built-in method references. */
|
|
130375
|
-
var objectProto$
|
|
130375
|
+
var objectProto$1$1 = Object.prototype;
|
|
130376
130376
|
|
|
130377
130377
|
/** Used to check objects for own properties. */
|
|
130378
|
-
var hasOwnProperty$
|
|
130378
|
+
var hasOwnProperty$1$1 = objectProto$1$1.hasOwnProperty;
|
|
130379
130379
|
|
|
130380
130380
|
/**
|
|
130381
130381
|
* Checks if `value` is an empty object, collection, map, or set.
|
|
@@ -130427,7 +130427,7 @@ function isEmpty$1(value) {
|
|
|
130427
130427
|
return !baseKeys$1(value).length;
|
|
130428
130428
|
}
|
|
130429
130429
|
for (var key in value) {
|
|
130430
|
-
if (hasOwnProperty$
|
|
130430
|
+
if (hasOwnProperty$1$1.call(value, key)) {
|
|
130431
130431
|
return false;
|
|
130432
130432
|
}
|
|
130433
130433
|
}
|
|
@@ -130651,6 +130651,12 @@ var merge$2 = createAssigner$1(function(object, source, srcIndex) {
|
|
|
130651
130651
|
baseMerge$1(object, source, srcIndex);
|
|
130652
130652
|
});
|
|
130653
130653
|
|
|
130654
|
+
/** Used for built-in method references. */
|
|
130655
|
+
var objectProto$j = Object.prototype;
|
|
130656
|
+
|
|
130657
|
+
/** Used to check objects for own properties. */
|
|
130658
|
+
var hasOwnProperty$g = objectProto$j.hasOwnProperty;
|
|
130659
|
+
|
|
130654
130660
|
/**
|
|
130655
130661
|
* The base implementation of `_.unset`.
|
|
130656
130662
|
*
|
|
@@ -130661,8 +130667,34 @@ var merge$2 = createAssigner$1(function(object, source, srcIndex) {
|
|
|
130661
130667
|
*/
|
|
130662
130668
|
function baseUnset$1(object, path) {
|
|
130663
130669
|
path = castPath$1(path, object);
|
|
130664
|
-
|
|
130665
|
-
|
|
130670
|
+
|
|
130671
|
+
// Prevent prototype pollution:
|
|
130672
|
+
// https://github.com/lodash/lodash/security/advisories/GHSA-xxjr-mmjv-4gpg
|
|
130673
|
+
// https://github.com/lodash/lodash/security/advisories/GHSA-f23m-r3pf-42rh
|
|
130674
|
+
var index = -1,
|
|
130675
|
+
length = path.length;
|
|
130676
|
+
|
|
130677
|
+
if (!length) {
|
|
130678
|
+
return true;
|
|
130679
|
+
}
|
|
130680
|
+
|
|
130681
|
+
while (++index < length) {
|
|
130682
|
+
var key = toKey$1(path[index]);
|
|
130683
|
+
|
|
130684
|
+
// Always block "__proto__" anywhere in the path if it's not expected
|
|
130685
|
+
if (key === '__proto__' && !hasOwnProperty$g.call(object, '__proto__')) {
|
|
130686
|
+
return false;
|
|
130687
|
+
}
|
|
130688
|
+
|
|
130689
|
+
// Block constructor/prototype as non-terminal traversal keys to prevent
|
|
130690
|
+
// escaping the object graph into built-in constructors and prototypes.
|
|
130691
|
+
if ((key === 'constructor' || key === 'prototype') && index < length - 1) {
|
|
130692
|
+
return false;
|
|
130693
|
+
}
|
|
130694
|
+
}
|
|
130695
|
+
|
|
130696
|
+
var obj = parent$1$1(object, path);
|
|
130697
|
+
return obj == null || delete obj[toKey$1(last$2(path))];
|
|
130666
130698
|
}
|
|
130667
130699
|
|
|
130668
130700
|
/**
|
|
@@ -131422,6 +131454,13 @@ function requireDom$1 () {
|
|
|
131422
131454
|
* used for attributes or DocumentType entities
|
|
131423
131455
|
*/
|
|
131424
131456
|
function NamedNodeMap() {
|
|
131457
|
+
// nodeName -> Attr membership index; lets the parse-time de-duplication in
|
|
131458
|
+
// setNamedItem resolve an existing attribute in O(1) instead of scanning the
|
|
131459
|
+
// list, so building an element with M attributes costs O(M) rather than O(M^2).
|
|
131460
|
+
// The numbered entries and length remain the sole authority for attribute order.
|
|
131461
|
+
// Object.create(null) so an attribute named __proto__ or constructor is an
|
|
131462
|
+
// ordinary key.
|
|
131463
|
+
this._nameIndex = Object.create(null);
|
|
131425
131464
|
}
|
|
131426
131465
|
function _findNodeIndex(list,node){
|
|
131427
131466
|
var i = list.length;
|
|
@@ -131430,12 +131469,27 @@ function requireDom$1 () {
|
|
|
131430
131469
|
}
|
|
131431
131470
|
}
|
|
131432
131471
|
|
|
131472
|
+
function _nnmIndexAdd(list, attr) {
|
|
131473
|
+
list._nameIndex[attr.nodeName] = attr;
|
|
131474
|
+
}
|
|
131475
|
+
function _nnmIndexRemove(list, attr) {
|
|
131476
|
+
// Only drop the entry if it still points at this attribute; a replacement with
|
|
131477
|
+
// a different nodeName may already have re-keyed it.
|
|
131478
|
+
if (list._nameIndex[attr.nodeName] === attr) {
|
|
131479
|
+
delete list._nameIndex[attr.nodeName];
|
|
131480
|
+
}
|
|
131481
|
+
}
|
|
131482
|
+
|
|
131433
131483
|
function _addNamedNode(el,list,newAttr,oldAttr){
|
|
131434
131484
|
if(oldAttr){
|
|
131435
131485
|
list[_findNodeIndex(list,oldAttr)] = newAttr;
|
|
131486
|
+
// oldAttr leaves the list; drop its index entry (its nodeName may differ
|
|
131487
|
+
// from newAttr's when the replacement came via setNamedItemNS).
|
|
131488
|
+
_nnmIndexRemove(list, oldAttr);
|
|
131436
131489
|
}else {
|
|
131437
131490
|
list[list.length++] = newAttr;
|
|
131438
131491
|
}
|
|
131492
|
+
_nnmIndexAdd(list, newAttr);
|
|
131439
131493
|
if(el){
|
|
131440
131494
|
newAttr.ownerElement = el;
|
|
131441
131495
|
var doc = el.ownerDocument;
|
|
@@ -131454,6 +131508,7 @@ function requireDom$1 () {
|
|
|
131454
131508
|
list[i] = list[++i];
|
|
131455
131509
|
}
|
|
131456
131510
|
list.length = lastIndex;
|
|
131511
|
+
_nnmIndexRemove(list, attr);
|
|
131457
131512
|
if(el){
|
|
131458
131513
|
var doc = el.ownerDocument;
|
|
131459
131514
|
if(doc){
|
|
@@ -131487,7 +131542,11 @@ function requireDom$1 () {
|
|
|
131487
131542
|
if(el && el!=this._ownerElement){
|
|
131488
131543
|
throw new DOMException(INUSE_ATTRIBUTE_ERR);
|
|
131489
131544
|
}
|
|
131490
|
-
|
|
131545
|
+
// Resolve any existing attribute with the same nodeName through the O(1)
|
|
131546
|
+
// membership index rather than an O(M) scan — this is the parse-dedup hot
|
|
131547
|
+
// path (setAttributeNode per attribute during parse). Absent -> undefined,
|
|
131548
|
+
// matching getNamedItem's contract.
|
|
131549
|
+
var oldAttr = this._nameIndex[attr.nodeName];
|
|
131491
131550
|
_addNamedNode(this._ownerElement,this,attr,oldAttr);
|
|
131492
131551
|
return oldAttr;
|
|
131493
131552
|
},
|
|
@@ -131720,9 +131779,38 @@ function requireDom$1 () {
|
|
|
131720
131779
|
while (child) {
|
|
131721
131780
|
var next = child.nextSibling;
|
|
131722
131781
|
if (next !== null && next.nodeType === TEXT_NODE && child.nodeType === TEXT_NODE) {
|
|
131723
|
-
|
|
131724
|
-
|
|
131725
|
-
//
|
|
131782
|
+
// Merge the whole run of adjacent text nodes at once: gather the
|
|
131783
|
+
// following text siblings' data, unlink them in a single pass, and
|
|
131784
|
+
// re-index the child list a single time. Per-sibling `removeChild`
|
|
131785
|
+
// (each an O(K) re-index) plus per-sibling `appendData` (each an O(K)
|
|
131786
|
+
// string rebuild) is O(K^2) over a long run of single-character text
|
|
131787
|
+
// nodes; this keeps it O(K). The first text node of the run survives
|
|
131788
|
+
// and carries the concatenated data, preserving node identity and
|
|
131789
|
+
// locator semantics.
|
|
131790
|
+
var tail = [];
|
|
131791
|
+
var sibling = next;
|
|
131792
|
+
while (sibling !== null && sibling.nodeType === TEXT_NODE) {
|
|
131793
|
+
tail.push(sibling.data);
|
|
131794
|
+
sibling = sibling.nextSibling;
|
|
131795
|
+
}
|
|
131796
|
+
// `sibling` is now the first non-text node after the run, or null.
|
|
131797
|
+
var removed = child.nextSibling;
|
|
131798
|
+
while (removed !== sibling) {
|
|
131799
|
+
var following = removed.nextSibling;
|
|
131800
|
+
removed.parentNode = null;
|
|
131801
|
+
removed.previousSibling = null;
|
|
131802
|
+
removed.nextSibling = null;
|
|
131803
|
+
removed = following;
|
|
131804
|
+
}
|
|
131805
|
+
child.nextSibling = sibling;
|
|
131806
|
+
if (sibling !== null) {
|
|
131807
|
+
sibling.previousSibling = child;
|
|
131808
|
+
} else {
|
|
131809
|
+
node.lastChild = child;
|
|
131810
|
+
}
|
|
131811
|
+
child.appendData(tail.join('')); // single O(K) string rebuild
|
|
131812
|
+
_onUpdateChild(node.ownerDocument, node); // single O(K) re-index
|
|
131813
|
+
child = sibling;
|
|
131726
131814
|
} else {
|
|
131727
131815
|
child = next;
|
|
131728
131816
|
}
|
|
@@ -132533,8 +132621,10 @@ function requireDom$1 () {
|
|
|
132533
132621
|
* - it does not do any input validation on the arguments and doesn't throw "InvalidCharacterError".
|
|
132534
132622
|
*
|
|
132535
132623
|
* Note: When the resulting document is serialized with `requireWellFormed: true`, the
|
|
132536
|
-
* serializer throws with code `INVALID_STATE_ERR` if `.
|
|
132537
|
-
*
|
|
132624
|
+
* serializer throws with code `INVALID_STATE_ERR` if `.target` is not a valid XML `NCName`
|
|
132625
|
+
* (a `Name` with no colon) or is an ASCII case-insensitive match for `"xml"`, or if `.data`
|
|
132626
|
+
* contains `?>` (W3C DOM Parsing §3.2.1.7). Without that option the target and data are
|
|
132627
|
+
* emitted verbatim.
|
|
132538
132628
|
*
|
|
132539
132629
|
* @param {string} target
|
|
132540
132630
|
* @param {string} data
|
|
@@ -132559,7 +132649,27 @@ function requireDom$1 () {
|
|
|
132559
132649
|
node.specified = true;
|
|
132560
132650
|
return node;
|
|
132561
132651
|
},
|
|
132652
|
+
/**
|
|
132653
|
+
* Creates an EntityReference object, serialized as `&name;`.
|
|
132654
|
+
*
|
|
132655
|
+
* The `name` is validated against the XML `Name` production at creation time; an invalid name
|
|
132656
|
+
* throws a `DOMException` with code `INVALID_CHARACTER_ERR`. When the resulting node is
|
|
132657
|
+
* serialized with `requireWellFormed: true`, the serializer re-validates `nodeName` and throws
|
|
132658
|
+
* a `DOMException` with code `INVALID_STATE_ERR` if a later `nodeName` mutation made it invalid;
|
|
132659
|
+
* without that option the name is emitted verbatim.
|
|
132660
|
+
*
|
|
132661
|
+
* Note: xmldom does not expand entities — the parser resolves entity references inline and never
|
|
132662
|
+
* constructs `EntityReference` nodes, so this method is the only producer.
|
|
132663
|
+
*
|
|
132664
|
+
* @param {string} name The name of the entity to reference.
|
|
132665
|
+
* @returns {EntityReference}
|
|
132666
|
+
* @throws {DOMException} With code `INVALID_CHARACTER_ERR` when `name` is not a valid XML `Name`.
|
|
132667
|
+
* @see https://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-392B75AE
|
|
132668
|
+
*/
|
|
132562
132669
|
createEntityReference : function(name){
|
|
132670
|
+
if (!tagNamePattern.test(name)) {
|
|
132671
|
+
throw new DOMException(INVALID_CHARACTER_ERR, 'not a valid xml name "' + name + '"');
|
|
132672
|
+
}
|
|
132563
132673
|
var node = new EntityReference();
|
|
132564
132674
|
node.ownerDocument = this;
|
|
132565
132675
|
node.nodeName = name;
|
|
@@ -132771,15 +132881,16 @@ function requireDom$1 () {
|
|
|
132771
132881
|
/**
|
|
132772
132882
|
* Represents a DocumentType node (the `<!DOCTYPE ...>` declaration).
|
|
132773
132883
|
*
|
|
132774
|
-
* `publicId`, `systemId`, and `internalSubset` are plain own-property assignments.
|
|
132884
|
+
* `name`, `publicId`, `systemId`, and `internalSubset` are plain own-property assignments.
|
|
132775
132885
|
* xmldom does not enforce the `readonly` constraint declared by the WHATWG DOM spec —
|
|
132776
132886
|
* direct property writes succeed silently. Values are serialized verbatim when
|
|
132777
132887
|
* `requireWellFormed` is false (the default). When the serializer is invoked with
|
|
132778
132888
|
* `requireWellFormed: true` (via the 4th-parameter options object), it validates each
|
|
132779
|
-
* field
|
|
132889
|
+
* field — including `name`, which is checked against the XML `Name` production — and throws
|
|
132890
|
+
* `DOMException` with code `INVALID_STATE_ERR` on invalid values.
|
|
132780
132891
|
*
|
|
132781
132892
|
* @class
|
|
132782
|
-
* @see https://developer.mozilla.org/
|
|
132893
|
+
* @see https://developer.mozilla.org/docs/Web/API/DocumentType MDN
|
|
132783
132894
|
*/
|
|
132784
132895
|
function DocumentType() {
|
|
132785
132896
|
} DocumentType.prototype.nodeType = DOCUMENT_TYPE_NODE;
|
|
@@ -132793,6 +132904,20 @@ function requireDom$1 () {
|
|
|
132793
132904
|
} Entity.prototype.nodeType = ENTITY_NODE;
|
|
132794
132905
|
_extends(Entity,Node);
|
|
132795
132906
|
|
|
132907
|
+
/**
|
|
132908
|
+
* Represents an EntityReference node, serialized as `&nodeName;`.
|
|
132909
|
+
*
|
|
132910
|
+
* `nodeName` is the referenced entity's name, stored verbatim. When serialized with
|
|
132911
|
+
* `requireWellFormed: true`, the serializer validates `nodeName` against the XML `Name` production
|
|
132912
|
+
* and throws a `DOMException` with code `INVALID_STATE_ERR` if it does not match; without that
|
|
132913
|
+
* option the name is emitted verbatim between `&` and `;`.
|
|
132914
|
+
*
|
|
132915
|
+
* Note: xmldom does not expand entities — the parser resolves entity references inline and never
|
|
132916
|
+
* constructs `EntityReference` nodes, so the only producer is `Document.createEntityReference`.
|
|
132917
|
+
*
|
|
132918
|
+
* @class
|
|
132919
|
+
* @see https://www.w3.org/TR/xml/#NT-Name
|
|
132920
|
+
*/
|
|
132796
132921
|
function EntityReference() {
|
|
132797
132922
|
} EntityReference.prototype.nodeType = ENTITY_REFERENCE_NODE;
|
|
132798
132923
|
_extends(EntityReference,Node);
|
|
@@ -132835,12 +132960,15 @@ function requireDom$1 () {
|
|
|
132835
132960
|
* not a valid XML QName,
|
|
132836
132961
|
* - a CDATASection node's data contains `"]]>"`,
|
|
132837
132962
|
* - a Comment node's data contains `"-->"` (bare `"--"` does not throw on this branch),
|
|
132838
|
-
* - a ProcessingInstruction's
|
|
132963
|
+
* - a ProcessingInstruction's target is not a valid XML `NCName` (a `Name` with no colon) or is
|
|
132964
|
+
* an ASCII case-insensitive match for `"xml"`, or its data contains `"?>"`,
|
|
132965
|
+
* - a DocumentType's `name` is not a valid XML `Name` (XML 1.0 production [5]),
|
|
132839
132966
|
* - a DocumentType's `publicId` is non-empty and does not match the XML `PubidLiteral`
|
|
132840
132967
|
* production,
|
|
132841
132968
|
* - a DocumentType's `systemId` is non-empty and does not match the XML `SystemLiteral`
|
|
132842
|
-
* production,
|
|
132843
|
-
* - a DocumentType's `internalSubset` contains `"]>"
|
|
132969
|
+
* production,
|
|
132970
|
+
* - a DocumentType's `internalSubset` contains `"]>"`, or
|
|
132971
|
+
* - an EntityReference's `nodeName` is not a valid XML `Name` (XML 1.0 production [5]).
|
|
132844
132972
|
* Note: xmldom does not enforce `readonly` on DocumentType fields — direct property
|
|
132845
132973
|
* writes succeed and are covered by the serializer-level checks above.
|
|
132846
132974
|
* @see https://html.spec.whatwg.org/#dom-xmlserializer-serializetostring
|
|
@@ -133095,6 +133223,9 @@ function requireDom$1 () {
|
|
|
133095
133223
|
|
|
133096
133224
|
case DOCUMENT_TYPE_NODE:
|
|
133097
133225
|
if (requireWellFormed) {
|
|
133226
|
+
if (!tagNamePattern.test(n.name)) {
|
|
133227
|
+
throw new DOMException(INVALID_STATE_ERR, 'The doctype name "' + n.name + '" is not a valid XML Name');
|
|
133228
|
+
}
|
|
133098
133229
|
if (n.publicId && !/^("[\x20\r\na-zA-Z0-9\-()+,.\/:=?;!*#@$_%']*"|'[\x20\r\na-zA-Z0-9\-()+,.\/:=?;!*#@$_%'"]*')$/.test(n.publicId)) {
|
|
133099
133230
|
throw new DOMException(INVALID_STATE_ERR, 'DocumentType publicId is not a valid PubidLiteral');
|
|
133100
133231
|
}
|
|
@@ -133126,13 +133257,27 @@ function requireDom$1 () {
|
|
|
133126
133257
|
return null;
|
|
133127
133258
|
|
|
133128
133259
|
case PROCESSING_INSTRUCTION_NODE:
|
|
133129
|
-
if (requireWellFormed
|
|
133130
|
-
|
|
133260
|
+
if (requireWellFormed) {
|
|
133261
|
+
if (!tagNamePattern.test(n.target) || n.target.indexOf(':') !== -1 || n.target.toLowerCase() === 'xml') {
|
|
133262
|
+
throw new DOMException(
|
|
133263
|
+
INVALID_STATE_ERR,
|
|
133264
|
+
'The processing instruction target "' + n.target + '" is not a valid XML NCName or is reserved'
|
|
133265
|
+
);
|
|
133266
|
+
}
|
|
133267
|
+
if (n.data.indexOf('?>') !== -1) {
|
|
133268
|
+
throw new DOMException(INVALID_STATE_ERR, 'The ProcessingInstruction data contains "?>"');
|
|
133269
|
+
}
|
|
133131
133270
|
}
|
|
133132
133271
|
buf.push('<?', n.target, ' ', n.data, '?>');
|
|
133133
133272
|
return null;
|
|
133134
133273
|
|
|
133135
133274
|
case ENTITY_REFERENCE_NODE:
|
|
133275
|
+
if (requireWellFormed && !tagNamePattern.test(n.nodeName)) {
|
|
133276
|
+
throw new DOMException(
|
|
133277
|
+
INVALID_STATE_ERR,
|
|
133278
|
+
'The entity reference name "' + n.nodeName + '" is not a valid XML Name'
|
|
133279
|
+
);
|
|
133280
|
+
}
|
|
133136
133281
|
buf.push('&', n.nodeName, ';');
|
|
133137
133282
|
return null;
|
|
133138
133283
|
|
|
@@ -135625,7 +135770,13 @@ function requireSax$1 () {
|
|
|
135625
135770
|
switch(source.charAt(tagStart+1)){
|
|
135626
135771
|
case '/':
|
|
135627
135772
|
var end = source.indexOf('>',tagStart+3);
|
|
135628
|
-
|
|
135773
|
+
// Anchored trailing-whitespace trim. The former `/[ \t\n\r]+$/g` backtracked
|
|
135774
|
+
// quadratically on a name shaped `whitespace-run + non-whitespace char`
|
|
135775
|
+
// (an end tag `</ … x>`): from every start position it extended `[ws]+`
|
|
135776
|
+
// to the end and then failed the `$` anchor. This anchored form matches the
|
|
135777
|
+
// whole string once and captures everything up to the last non-whitespace
|
|
135778
|
+
// character, so it trims in linear time with byte-identical output.
|
|
135779
|
+
var tagName = source.substring(tagStart + 2, end).replace(/^([\s\S]*?[^ \t\n\r])?[ \t\n\r]*$/, '$1');
|
|
135629
135780
|
var config = parseStack.pop();
|
|
135630
135781
|
if(end<0){
|
|
135631
135782
|
|
|
@@ -135636,6 +135787,14 @@ function requireSax$1 () {
|
|
|
135636
135787
|
tagName = tagName.replace(/[\s<].*/,'');
|
|
135637
135788
|
errorHandler.error("end tag name: "+tagName+' maybe not complete');
|
|
135638
135789
|
end = tagStart+1+tagName.length;
|
|
135790
|
+
}else if(/[ \t\n\r]/.test(tagName) && tagNamePattern.test(tagName.split(/[ \t\n\r]/)[0])){
|
|
135791
|
+
// The XML `ETag` production is `'</' Name S? '>'`: only optional whitespace may follow
|
|
135792
|
+
// the `Name`. A valid `Name` followed by whitespace and non-whitespace residue (e.g.
|
|
135793
|
+
// `</a\nbogus>` or `</a bogus>`) is not well-formed, but historically it was silently
|
|
135794
|
+
// accepted (the malformed end tag ignored, the residue dropped, the element left on the
|
|
135795
|
+
// stack). Report it as a recoverable `error` (which a custom errorHandler may escalate to
|
|
135796
|
+
// fatal) while keeping the existing recovery so the parsed DOM stays byte-identical.
|
|
135797
|
+
errorHandler.error('end tag name is followed by whitespace and trailing content: "'+tagName+'"');
|
|
135639
135798
|
}
|
|
135640
135799
|
var localNSMap = config.localNSMap;
|
|
135641
135800
|
var endMatch = config.tagName == tagName;
|
|
@@ -135759,6 +135918,15 @@ function requireSax$1 () {
|
|
|
135759
135918
|
var s = S_TAG;//status
|
|
135760
135919
|
while(true){
|
|
135761
135920
|
var c = source.charAt(p);
|
|
135921
|
+
if (s === S_TAG && c === '<') {
|
|
135922
|
+
// A `<` can never occur inside a tag name. Without this guard the scan runs
|
|
135923
|
+
// on to the next `>` (or EOF) before the tag name is rejected, so a document
|
|
135924
|
+
// with many `<` inside a malformed tag makes each one-character recovery step
|
|
135925
|
+
// re-scan to the distant `>` — O(n^2). Stopping at the `<` keeps each recovery
|
|
135926
|
+
// step bounded. The candidate scanned so far is reported raw, consistent with
|
|
135927
|
+
// the sibling invalid-tag-name throw below.
|
|
135928
|
+
throw new Error('unexpected < in tag name: ' + source.slice(start, p));
|
|
135929
|
+
}
|
|
135762
135930
|
switch(c){
|
|
135763
135931
|
case '=':
|
|
135764
135932
|
if(s === S_ATTR){//attrName
|
|
@@ -135951,9 +136119,13 @@ function requireSax$1 () {
|
|
|
135951
136119
|
if(nsPrefix !== false){//hack!!
|
|
135952
136120
|
if(localNSMap == null){
|
|
135953
136121
|
localNSMap = {};
|
|
135954
|
-
//
|
|
135955
|
-
|
|
135956
|
-
//
|
|
136122
|
+
// Derive the child scope's namespace map by prototype-chain inheritance
|
|
136123
|
+
// instead of a flat copy: lookups inherit ancestor prefixes transparently,
|
|
136124
|
+
// so a document nesting N scopes retains O(N) map entries rather than
|
|
136125
|
+
// sum(1..N) = O(N^2). localNSMap stays a flat own-only record of the
|
|
136126
|
+
// prefixes declared at THIS element, so own-property enumeration
|
|
136127
|
+
// (endPrefixMapping below) still reports only local declarations.
|
|
136128
|
+
currentNSMap = Object.create(currentNSMap);
|
|
135957
136129
|
}
|
|
135958
136130
|
currentNSMap[nsPrefix] = localNSMap[nsPrefix] = value;
|
|
135959
136131
|
a.uri = NAMESPACE.XMLNS;
|
|
@@ -148131,13 +148303,13 @@ const FIRST_TIME_WATCH$1 = {};
|
|
|
148131
148303
|
Object.freeze(FIRST_TIME_WATCH$1);
|
|
148132
148304
|
const arrayConsumer$1 = (listenerFn, restExpr, newVal, oldVal) => {
|
|
148133
148305
|
let data = newVal, formattedData;
|
|
148134
|
-
if (isArray
|
|
148306
|
+
if (_.isArray(data)) {
|
|
148135
148307
|
formattedData = data.map(function (datum) {
|
|
148136
148308
|
return findValueOf$1(datum, restExpr);
|
|
148137
148309
|
});
|
|
148138
148310
|
// If resulting structure is an array of array, flatten it
|
|
148139
|
-
if (isArray
|
|
148140
|
-
formattedData = flatten
|
|
148311
|
+
if (_.isArray(formattedData[0])) {
|
|
148312
|
+
formattedData = _.flatten(formattedData);
|
|
148141
148313
|
}
|
|
148142
148314
|
listenerFn(formattedData, oldVal);
|
|
148143
148315
|
}
|
|
@@ -148182,6 +148354,19 @@ const $watch$1 = (expr, $scope, $locals, listener, identifier = watchIdGenerator
|
|
|
148182
148354
|
};
|
|
148183
148355
|
const $unwatch$1 = identifier => registry$1.delete(identifier);
|
|
148184
148356
|
window.watchRegistry = registry$1;
|
|
148357
|
+
window.__WM_DEBUG_WATCHERS__ = false;
|
|
148358
|
+
/*export const $invokeWatchers = (force?: boolean, ignoreMuted?: boolean) => {
|
|
148359
|
+
if (force) {
|
|
148360
|
+
triggerWatchers(ignoreMuted);
|
|
148361
|
+
} else {
|
|
148362
|
+
|
|
148363
|
+
if (skipWatchers) {
|
|
148364
|
+
skipWatchers = false;
|
|
148365
|
+
return;
|
|
148366
|
+
}
|
|
148367
|
+
debouncedTriggerWatchers();
|
|
148368
|
+
}
|
|
148369
|
+
};*/
|
|
148185
148370
|
const $appDigest$1 = (() => {
|
|
148186
148371
|
return (force) => {
|
|
148187
148372
|
{
|
|
@@ -148244,8 +148429,8 @@ var Operation$1;
|
|
|
148244
148429
|
const DataSource$1 = {
|
|
148245
148430
|
Operation: Operation$1
|
|
148246
148431
|
};
|
|
148247
|
-
class App {
|
|
148248
|
-
}
|
|
148432
|
+
let App$1 = class App {
|
|
148433
|
+
};
|
|
148249
148434
|
let AbstractI18nService$1 = class AbstractI18nService {
|
|
148250
148435
|
};
|
|
148251
148436
|
|
|
@@ -148263,6 +148448,7 @@ const REGEX$1 = {
|
|
|
148263
148448
|
SUPPORTED_AUDIO_FORMAT: /\.(mp3|ogg|webm|wma|3gp|wav|m4a)$/i,
|
|
148264
148449
|
SUPPORTED_VIDEO_FORMAT: /\.(mp4|ogg|webm|wmv|mpeg|mpg|avi|mov)$/i,
|
|
148265
148450
|
VALID_WEB_URL: /^(http[s]?:\/\/)(www\.){0,1}[a-zA-Z0-9=:?\/\.\-]+(\.[a-zA-Z]{2,5}[\.]{0,1})?/,
|
|
148451
|
+
VALID_IMAGE_URL: /^(https?|blob|data|file|ftp):/i,
|
|
148266
148452
|
REPLACE_PATTERN: /\$\{([^\}]+)\}/g,
|
|
148267
148453
|
DATA_URL: /^\s*data:([a-z]+\/[a-z0-9-+.]+(;[a-z-]+=[a-z0-9-]+)?)?(;base64)?,([a-z0-9!$&',()*+;=\-._~:@\/?%\s]*)\s*$/i,
|
|
148268
148454
|
ISO_DATE_FORMAT: /(\d{4}-\d{2}-\d{2})T(\d{2}:\d{2}:\d{2})(\.\d+)?([+-]\d{2}:?\d{2}|Z)$/
|
|
@@ -148485,6 +148671,9 @@ const isVideoFile$1 = (fileName) => {
|
|
|
148485
148671
|
const isValidWebURL$1 = (url) => {
|
|
148486
148672
|
return (REGEX$1.VALID_WEB_URL).test(url);
|
|
148487
148673
|
};
|
|
148674
|
+
const isValidImageUrl$1 = (url) => {
|
|
148675
|
+
return (REGEX$1.VALID_IMAGE_URL).test(url?.trim());
|
|
148676
|
+
};
|
|
148488
148677
|
/*This function returns the url to the resource after checking the validity of url*/
|
|
148489
148678
|
const getResourceURL$1 = (urlString) => {
|
|
148490
148679
|
return urlString;
|
|
@@ -149738,6 +149927,7 @@ var Utils$1 = /*#__PURE__*/Object.freeze({
|
|
|
149738
149927
|
isPageable: isPageable$1,
|
|
149739
149928
|
isSafari: isSafari$1,
|
|
149740
149929
|
isTablet: isTablet$1,
|
|
149930
|
+
isValidImageUrl: isValidImageUrl$1,
|
|
149741
149931
|
isValidWebURL: isValidWebURL$1,
|
|
149742
149932
|
isVideoFile: isVideoFile$1,
|
|
149743
149933
|
loadScript: loadScript$1,
|
|
@@ -150972,14 +151162,14 @@ class ToDatePipe extends WmPipe {
|
|
|
150972
151162
|
}
|
|
150973
151163
|
return this.returnFn('', arguments, this.app.Variables);
|
|
150974
151164
|
}
|
|
150975
|
-
constructor(datePipe, i18nService, customPipeManager) {
|
|
151165
|
+
constructor(datePipe, i18nService, app, customPipeManager) {
|
|
150976
151166
|
super('toDate', customPipeManager);
|
|
150977
151167
|
this.datePipe = datePipe;
|
|
150978
151168
|
this.i18nService = i18nService;
|
|
151169
|
+
this.app = app;
|
|
150979
151170
|
this.customPipeManager = customPipeManager;
|
|
150980
|
-
this.app = inject(App);
|
|
150981
151171
|
}
|
|
150982
|
-
static { this.ɵfac = function ToDatePipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ToDatePipe)(ɵɵdirectiveInject(DatePipe, 16), ɵɵdirectiveInject(AbstractI18nService$1, 16), ɵɵdirectiveInject(CustomPipeManager$1, 16)); }; }
|
|
151172
|
+
static { this.ɵfac = function ToDatePipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ToDatePipe)(ɵɵdirectiveInject(DatePipe, 16), ɵɵdirectiveInject(AbstractI18nService$1, 16), ɵɵdirectiveInject(App$1, 16), ɵɵdirectiveInject(CustomPipeManager$1, 16)); }; }
|
|
150983
151173
|
static { this.ɵpipe = /*@__PURE__*/ ɵɵdefinePipe({ name: "toDate", type: ToDatePipe, pure: true, standalone: true }); }
|
|
150984
151174
|
}
|
|
150985
151175
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(ToDatePipe, [{
|
|
@@ -150988,7 +151178,7 @@ class ToDatePipe extends WmPipe {
|
|
|
150988
151178
|
standalone: true,
|
|
150989
151179
|
name: 'toDate'
|
|
150990
151180
|
}]
|
|
150991
|
-
}], () => [{ type: DatePipe }, { type: AbstractI18nService$1 }, { type: CustomPipeManager$1 }], null); })();
|
|
151181
|
+
}], () => [{ type: DatePipe }, { type: AbstractI18nService$1 }, { type: App$1 }, { type: CustomPipeManager$1 }], null); })();
|
|
150992
151182
|
class ToNumberPipe {
|
|
150993
151183
|
transform(data, fracSize) {
|
|
150994
151184
|
if (fracSize && !String(fracSize).match(/^(\d+)?\.((\d+)(-(\d+))?)?$/)) {
|
|
@@ -151076,9 +151266,9 @@ class SuffixPipe {
|
|
|
151076
151266
|
* Custom pipe: It is work as interceptor between the user custom pipe function and angular pipe
|
|
151077
151267
|
*/
|
|
151078
151268
|
class CustomPipe {
|
|
151079
|
-
constructor(custmeUserPipe) {
|
|
151269
|
+
constructor(app, custmeUserPipe) {
|
|
151270
|
+
this.app = app;
|
|
151080
151271
|
this.custmeUserPipe = custmeUserPipe;
|
|
151081
|
-
this.app = inject(App);
|
|
151082
151272
|
}
|
|
151083
151273
|
transform(data, pipename) {
|
|
151084
151274
|
let argumentArr = [];
|
|
@@ -151098,7 +151288,7 @@ class CustomPipe {
|
|
|
151098
151288
|
return data;
|
|
151099
151289
|
}
|
|
151100
151290
|
}
|
|
151101
|
-
static { this.ɵfac = function CustomPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CustomPipe)(ɵɵdirectiveInject(CustomPipeManager$1, 16)); }; }
|
|
151291
|
+
static { this.ɵfac = function CustomPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CustomPipe)(ɵɵdirectiveInject(App$1, 16), ɵɵdirectiveInject(CustomPipeManager$1, 16)); }; }
|
|
151102
151292
|
static { this.ɵpipe = /*@__PURE__*/ ɵɵdefinePipe({ name: "custom", type: CustomPipe, pure: true, standalone: true }); }
|
|
151103
151293
|
}
|
|
151104
151294
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(CustomPipe, [{
|
|
@@ -151107,7 +151297,7 @@ class CustomPipe {
|
|
|
151107
151297
|
standalone: true,
|
|
151108
151298
|
name: 'custom'
|
|
151109
151299
|
}]
|
|
151110
|
-
}], () => [{ type: CustomPipeManager$1 }], null); })();
|
|
151300
|
+
}], () => [{ type: App$1 }, { type: CustomPipeManager$1 }], null); })();
|
|
151111
151301
|
class TimeFromNowPipe {
|
|
151112
151302
|
transform(data) {
|
|
151113
151303
|
let timestamp;
|
|
@@ -181597,17 +181787,17 @@ var root = freeGlobal || freeSelf || Function('return this')();
|
|
|
181597
181787
|
var Symbol$1 = root.Symbol;
|
|
181598
181788
|
|
|
181599
181789
|
/** Used for built-in method references. */
|
|
181600
|
-
var objectProto$
|
|
181790
|
+
var objectProto$i = Object.prototype;
|
|
181601
181791
|
|
|
181602
181792
|
/** Used to check objects for own properties. */
|
|
181603
|
-
var hasOwnProperty$
|
|
181793
|
+
var hasOwnProperty$f = objectProto$i.hasOwnProperty;
|
|
181604
181794
|
|
|
181605
181795
|
/**
|
|
181606
181796
|
* Used to resolve the
|
|
181607
181797
|
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
181608
181798
|
* of values.
|
|
181609
181799
|
*/
|
|
181610
|
-
var nativeObjectToString$1 = objectProto$
|
|
181800
|
+
var nativeObjectToString$1 = objectProto$i.toString;
|
|
181611
181801
|
|
|
181612
181802
|
/** Built-in value references. */
|
|
181613
181803
|
var symToStringTag$1 = Symbol$1 ? Symbol$1.toStringTag : undefined;
|
|
@@ -181620,7 +181810,7 @@ var symToStringTag$1 = Symbol$1 ? Symbol$1.toStringTag : undefined;
|
|
|
181620
181810
|
* @returns {string} Returns the raw `toStringTag`.
|
|
181621
181811
|
*/
|
|
181622
181812
|
function getRawTag(value) {
|
|
181623
|
-
var isOwn = hasOwnProperty$
|
|
181813
|
+
var isOwn = hasOwnProperty$f.call(value, symToStringTag$1),
|
|
181624
181814
|
tag = value[symToStringTag$1];
|
|
181625
181815
|
|
|
181626
181816
|
try {
|
|
@@ -181640,14 +181830,14 @@ function getRawTag(value) {
|
|
|
181640
181830
|
}
|
|
181641
181831
|
|
|
181642
181832
|
/** Used for built-in method references. */
|
|
181643
|
-
var objectProto$
|
|
181833
|
+
var objectProto$h = Object.prototype;
|
|
181644
181834
|
|
|
181645
181835
|
/**
|
|
181646
181836
|
* Used to resolve the
|
|
181647
181837
|
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
181648
181838
|
* of values.
|
|
181649
181839
|
*/
|
|
181650
|
-
var nativeObjectToString = objectProto$
|
|
181840
|
+
var nativeObjectToString = objectProto$h.toString;
|
|
181651
181841
|
|
|
181652
181842
|
/**
|
|
181653
181843
|
* Converts `value` to a string using `Object.prototype.toString`.
|
|
@@ -182113,17 +182303,17 @@ var reIsHostCtor = /^\[object .+?Constructor\]$/;
|
|
|
182113
182303
|
|
|
182114
182304
|
/** Used for built-in method references. */
|
|
182115
182305
|
var funcProto$1 = Function.prototype,
|
|
182116
|
-
objectProto$
|
|
182306
|
+
objectProto$g = Object.prototype;
|
|
182117
182307
|
|
|
182118
182308
|
/** Used to resolve the decompiled source of functions. */
|
|
182119
182309
|
var funcToString$1 = funcProto$1.toString;
|
|
182120
182310
|
|
|
182121
182311
|
/** Used to check objects for own properties. */
|
|
182122
|
-
var hasOwnProperty$
|
|
182312
|
+
var hasOwnProperty$e = objectProto$g.hasOwnProperty;
|
|
182123
182313
|
|
|
182124
182314
|
/** Used to detect if a method is native. */
|
|
182125
182315
|
var reIsNative = RegExp('^' +
|
|
182126
|
-
funcToString$1.call(hasOwnProperty$
|
|
182316
|
+
funcToString$1.call(hasOwnProperty$e).replace(reRegExpChar, '\\$&')
|
|
182127
182317
|
.replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
|
|
182128
182318
|
);
|
|
182129
182319
|
|
|
@@ -182538,10 +182728,10 @@ function eq(value, other) {
|
|
|
182538
182728
|
}
|
|
182539
182729
|
|
|
182540
182730
|
/** Used for built-in method references. */
|
|
182541
|
-
var objectProto$
|
|
182731
|
+
var objectProto$f = Object.prototype;
|
|
182542
182732
|
|
|
182543
182733
|
/** Used to check objects for own properties. */
|
|
182544
|
-
var hasOwnProperty$
|
|
182734
|
+
var hasOwnProperty$d = objectProto$f.hasOwnProperty;
|
|
182545
182735
|
|
|
182546
182736
|
/**
|
|
182547
182737
|
* Assigns `value` to `key` of `object` if the existing value is not equivalent
|
|
@@ -182555,7 +182745,7 @@ var hasOwnProperty$c = objectProto$e.hasOwnProperty;
|
|
|
182555
182745
|
*/
|
|
182556
182746
|
function assignValue(object, key, value) {
|
|
182557
182747
|
var objValue = object[key];
|
|
182558
|
-
if (!(hasOwnProperty$
|
|
182748
|
+
if (!(hasOwnProperty$d.call(object, key) && eq(objValue, value)) ||
|
|
182559
182749
|
(value === undefined && !(key in object))) {
|
|
182560
182750
|
baseAssignValue(object, key, value);
|
|
182561
182751
|
}
|
|
@@ -182761,7 +182951,7 @@ function createAssigner(assigner) {
|
|
|
182761
182951
|
}
|
|
182762
182952
|
|
|
182763
182953
|
/** Used for built-in method references. */
|
|
182764
|
-
var objectProto$
|
|
182954
|
+
var objectProto$e = Object.prototype;
|
|
182765
182955
|
|
|
182766
182956
|
/**
|
|
182767
182957
|
* Checks if `value` is likely a prototype object.
|
|
@@ -182772,7 +182962,7 @@ var objectProto$d = Object.prototype;
|
|
|
182772
182962
|
*/
|
|
182773
182963
|
function isPrototype(value) {
|
|
182774
182964
|
var Ctor = value && value.constructor,
|
|
182775
|
-
proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto$
|
|
182965
|
+
proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto$e;
|
|
182776
182966
|
|
|
182777
182967
|
return value === proto;
|
|
182778
182968
|
}
|
|
@@ -182811,13 +183001,13 @@ function baseIsArguments(value) {
|
|
|
182811
183001
|
}
|
|
182812
183002
|
|
|
182813
183003
|
/** Used for built-in method references. */
|
|
182814
|
-
var objectProto$
|
|
183004
|
+
var objectProto$d = Object.prototype;
|
|
182815
183005
|
|
|
182816
183006
|
/** Used to check objects for own properties. */
|
|
182817
|
-
var hasOwnProperty$
|
|
183007
|
+
var hasOwnProperty$c = objectProto$d.hasOwnProperty;
|
|
182818
183008
|
|
|
182819
183009
|
/** Built-in value references. */
|
|
182820
|
-
var propertyIsEnumerable$1 = objectProto$
|
|
183010
|
+
var propertyIsEnumerable$1 = objectProto$d.propertyIsEnumerable;
|
|
182821
183011
|
|
|
182822
183012
|
/**
|
|
182823
183013
|
* Checks if `value` is likely an `arguments` object.
|
|
@@ -182838,7 +183028,7 @@ var propertyIsEnumerable$1 = objectProto$c.propertyIsEnumerable;
|
|
|
182838
183028
|
* // => false
|
|
182839
183029
|
*/
|
|
182840
183030
|
var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {
|
|
182841
|
-
return isObjectLike(value) && hasOwnProperty$
|
|
183031
|
+
return isObjectLike(value) && hasOwnProperty$c.call(value, 'callee') &&
|
|
182842
183032
|
!propertyIsEnumerable$1.call(value, 'callee');
|
|
182843
183033
|
};
|
|
182844
183034
|
|
|
@@ -183011,10 +183201,10 @@ var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
|
|
|
183011
183201
|
var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
|
|
183012
183202
|
|
|
183013
183203
|
/** Used for built-in method references. */
|
|
183014
|
-
var objectProto$
|
|
183204
|
+
var objectProto$c = Object.prototype;
|
|
183015
183205
|
|
|
183016
183206
|
/** Used to check objects for own properties. */
|
|
183017
|
-
var hasOwnProperty$
|
|
183207
|
+
var hasOwnProperty$b = objectProto$c.hasOwnProperty;
|
|
183018
183208
|
|
|
183019
183209
|
/**
|
|
183020
183210
|
* Creates an array of the enumerable property names of the array-like `value`.
|
|
@@ -183034,7 +183224,7 @@ function arrayLikeKeys(value, inherited) {
|
|
|
183034
183224
|
length = result.length;
|
|
183035
183225
|
|
|
183036
183226
|
for (var key in value) {
|
|
183037
|
-
if ((inherited || hasOwnProperty$
|
|
183227
|
+
if ((inherited || hasOwnProperty$b.call(value, key)) &&
|
|
183038
183228
|
!(skipIndexes && (
|
|
183039
183229
|
// Safari 9 has enumerable `arguments.length` in strict mode.
|
|
183040
183230
|
key == 'length' ||
|
|
@@ -183069,10 +183259,10 @@ function overArg(func, transform) {
|
|
|
183069
183259
|
var nativeKeys = overArg(Object.keys, Object);
|
|
183070
183260
|
|
|
183071
183261
|
/** Used for built-in method references. */
|
|
183072
|
-
var objectProto$
|
|
183262
|
+
var objectProto$b = Object.prototype;
|
|
183073
183263
|
|
|
183074
183264
|
/** Used to check objects for own properties. */
|
|
183075
|
-
var hasOwnProperty$
|
|
183265
|
+
var hasOwnProperty$a = objectProto$b.hasOwnProperty;
|
|
183076
183266
|
|
|
183077
183267
|
/**
|
|
183078
183268
|
* The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
|
|
@@ -183087,7 +183277,7 @@ function baseKeys(object) {
|
|
|
183087
183277
|
}
|
|
183088
183278
|
var result = [];
|
|
183089
183279
|
for (var key in Object(object)) {
|
|
183090
|
-
if (hasOwnProperty$
|
|
183280
|
+
if (hasOwnProperty$a.call(object, key) && key != 'constructor') {
|
|
183091
183281
|
result.push(key);
|
|
183092
183282
|
}
|
|
183093
183283
|
}
|
|
@@ -183127,10 +183317,10 @@ function keys(object) {
|
|
|
183127
183317
|
}
|
|
183128
183318
|
|
|
183129
183319
|
/** Used for built-in method references. */
|
|
183130
|
-
var objectProto$
|
|
183320
|
+
var objectProto$a = Object.prototype;
|
|
183131
183321
|
|
|
183132
183322
|
/** Used to check objects for own properties. */
|
|
183133
|
-
var hasOwnProperty$
|
|
183323
|
+
var hasOwnProperty$9 = objectProto$a.hasOwnProperty;
|
|
183134
183324
|
|
|
183135
183325
|
/**
|
|
183136
183326
|
* Assigns own enumerable string keyed properties of source objects to the
|
|
@@ -183170,7 +183360,7 @@ var assign = createAssigner(function(object, source) {
|
|
|
183170
183360
|
return;
|
|
183171
183361
|
}
|
|
183172
183362
|
for (var key in source) {
|
|
183173
|
-
if (hasOwnProperty$
|
|
183363
|
+
if (hasOwnProperty$9.call(source, key)) {
|
|
183174
183364
|
assignValue(object, key, source[key]);
|
|
183175
183365
|
}
|
|
183176
183366
|
}
|
|
@@ -183196,10 +183386,10 @@ function nativeKeysIn(object) {
|
|
|
183196
183386
|
}
|
|
183197
183387
|
|
|
183198
183388
|
/** Used for built-in method references. */
|
|
183199
|
-
var objectProto$
|
|
183389
|
+
var objectProto$9 = Object.prototype;
|
|
183200
183390
|
|
|
183201
183391
|
/** Used to check objects for own properties. */
|
|
183202
|
-
var hasOwnProperty$
|
|
183392
|
+
var hasOwnProperty$8 = objectProto$9.hasOwnProperty;
|
|
183203
183393
|
|
|
183204
183394
|
/**
|
|
183205
183395
|
* The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.
|
|
@@ -183216,7 +183406,7 @@ function baseKeysIn(object) {
|
|
|
183216
183406
|
result = [];
|
|
183217
183407
|
|
|
183218
183408
|
for (var key in object) {
|
|
183219
|
-
if (!(key == 'constructor' && (isProto || !hasOwnProperty$
|
|
183409
|
+
if (!(key == 'constructor' && (isProto || !hasOwnProperty$8.call(object, key)))) {
|
|
183220
183410
|
result.push(key);
|
|
183221
183411
|
}
|
|
183222
183412
|
}
|
|
@@ -183310,10 +183500,10 @@ function hashDelete(key) {
|
|
|
183310
183500
|
var HASH_UNDEFINED$2 = '__lodash_hash_undefined__';
|
|
183311
183501
|
|
|
183312
183502
|
/** Used for built-in method references. */
|
|
183313
|
-
var objectProto$
|
|
183503
|
+
var objectProto$8 = Object.prototype;
|
|
183314
183504
|
|
|
183315
183505
|
/** Used to check objects for own properties. */
|
|
183316
|
-
var hasOwnProperty$
|
|
183506
|
+
var hasOwnProperty$7 = objectProto$8.hasOwnProperty;
|
|
183317
183507
|
|
|
183318
183508
|
/**
|
|
183319
183509
|
* Gets the hash value for `key`.
|
|
@@ -183330,14 +183520,14 @@ function hashGet(key) {
|
|
|
183330
183520
|
var result = data[key];
|
|
183331
183521
|
return result === HASH_UNDEFINED$2 ? undefined : result;
|
|
183332
183522
|
}
|
|
183333
|
-
return hasOwnProperty$
|
|
183523
|
+
return hasOwnProperty$7.call(data, key) ? data[key] : undefined;
|
|
183334
183524
|
}
|
|
183335
183525
|
|
|
183336
183526
|
/** Used for built-in method references. */
|
|
183337
|
-
var objectProto$
|
|
183527
|
+
var objectProto$7 = Object.prototype;
|
|
183338
183528
|
|
|
183339
183529
|
/** Used to check objects for own properties. */
|
|
183340
|
-
var hasOwnProperty$
|
|
183530
|
+
var hasOwnProperty$6 = objectProto$7.hasOwnProperty;
|
|
183341
183531
|
|
|
183342
183532
|
/**
|
|
183343
183533
|
* Checks if a hash value for `key` exists.
|
|
@@ -183350,7 +183540,7 @@ var hasOwnProperty$5 = objectProto$6.hasOwnProperty;
|
|
|
183350
183540
|
*/
|
|
183351
183541
|
function hashHas(key) {
|
|
183352
183542
|
var data = this.__data__;
|
|
183353
|
-
return nativeCreate ? (data[key] !== undefined) : hasOwnProperty$
|
|
183543
|
+
return nativeCreate ? (data[key] !== undefined) : hasOwnProperty$6.call(data, key);
|
|
183354
183544
|
}
|
|
183355
183545
|
|
|
183356
183546
|
/** Used to stand-in for `undefined` hash values. */
|
|
@@ -183995,13 +184185,13 @@ var objectTag$3 = '[object Object]';
|
|
|
183995
184185
|
|
|
183996
184186
|
/** Used for built-in method references. */
|
|
183997
184187
|
var funcProto = Function.prototype,
|
|
183998
|
-
objectProto$
|
|
184188
|
+
objectProto$6 = Object.prototype;
|
|
183999
184189
|
|
|
184000
184190
|
/** Used to resolve the decompiled source of functions. */
|
|
184001
184191
|
var funcToString = funcProto.toString;
|
|
184002
184192
|
|
|
184003
184193
|
/** Used to check objects for own properties. */
|
|
184004
|
-
var hasOwnProperty$
|
|
184194
|
+
var hasOwnProperty$5 = objectProto$6.hasOwnProperty;
|
|
184005
184195
|
|
|
184006
184196
|
/** Used to infer the `Object` constructor. */
|
|
184007
184197
|
var objectCtorString = funcToString.call(Object);
|
|
@@ -184042,7 +184232,7 @@ function isPlainObject(value) {
|
|
|
184042
184232
|
if (proto === null) {
|
|
184043
184233
|
return true;
|
|
184044
184234
|
}
|
|
184045
|
-
var Ctor = hasOwnProperty$
|
|
184235
|
+
var Ctor = hasOwnProperty$5.call(proto, 'constructor') && proto.constructor;
|
|
184046
184236
|
return typeof Ctor == 'function' && Ctor instanceof Ctor &&
|
|
184047
184237
|
funcToString.call(Ctor) == objectCtorString;
|
|
184048
184238
|
}
|
|
@@ -184847,10 +185037,10 @@ function stubArray() {
|
|
|
184847
185037
|
}
|
|
184848
185038
|
|
|
184849
185039
|
/** Used for built-in method references. */
|
|
184850
|
-
var objectProto$
|
|
185040
|
+
var objectProto$5 = Object.prototype;
|
|
184851
185041
|
|
|
184852
185042
|
/** Built-in value references. */
|
|
184853
|
-
var propertyIsEnumerable = objectProto$
|
|
185043
|
+
var propertyIsEnumerable = objectProto$5.propertyIsEnumerable;
|
|
184854
185044
|
|
|
184855
185045
|
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
184856
185046
|
var nativeGetSymbols$1 = Object.getOwnPropertySymbols;
|
|
@@ -185013,10 +185203,10 @@ if ((DataView$1 && getTag(new DataView$1(new ArrayBuffer(1))) != dataViewTag$3)
|
|
|
185013
185203
|
}
|
|
185014
185204
|
|
|
185015
185205
|
/** Used for built-in method references. */
|
|
185016
|
-
var objectProto$
|
|
185206
|
+
var objectProto$4 = Object.prototype;
|
|
185017
185207
|
|
|
185018
185208
|
/** Used to check objects for own properties. */
|
|
185019
|
-
var hasOwnProperty$
|
|
185209
|
+
var hasOwnProperty$4 = objectProto$4.hasOwnProperty;
|
|
185020
185210
|
|
|
185021
185211
|
/**
|
|
185022
185212
|
* Initializes an array clone.
|
|
@@ -185030,7 +185220,7 @@ function initCloneArray(array) {
|
|
|
185030
185220
|
result = new array.constructor(length);
|
|
185031
185221
|
|
|
185032
185222
|
// Add properties assigned by `RegExp#exec`.
|
|
185033
|
-
if (length && typeof array[0] == 'string' && hasOwnProperty$
|
|
185223
|
+
if (length && typeof array[0] == 'string' && hasOwnProperty$4.call(array, 'index')) {
|
|
185034
185224
|
result.index = array.index;
|
|
185035
185225
|
result.input = array.input;
|
|
185036
185226
|
}
|
|
@@ -185491,7 +185681,7 @@ function setCacheAdd(value) {
|
|
|
185491
185681
|
* @name has
|
|
185492
185682
|
* @memberOf SetCache
|
|
185493
185683
|
* @param {*} value The value to search for.
|
|
185494
|
-
* @returns {
|
|
185684
|
+
* @returns {boolean} Returns `true` if `value` is found, else `false`.
|
|
185495
185685
|
*/
|
|
185496
185686
|
function setCacheHas(value) {
|
|
185497
185687
|
return this.__data__.has(value);
|
|
@@ -185774,10 +185964,10 @@ function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {
|
|
|
185774
185964
|
var COMPARE_PARTIAL_FLAG$3 = 1;
|
|
185775
185965
|
|
|
185776
185966
|
/** Used for built-in method references. */
|
|
185777
|
-
var objectProto$
|
|
185967
|
+
var objectProto$3 = Object.prototype;
|
|
185778
185968
|
|
|
185779
185969
|
/** Used to check objects for own properties. */
|
|
185780
|
-
var hasOwnProperty$
|
|
185970
|
+
var hasOwnProperty$3 = objectProto$3.hasOwnProperty;
|
|
185781
185971
|
|
|
185782
185972
|
/**
|
|
185783
185973
|
* A specialized version of `baseIsEqualDeep` for objects with support for
|
|
@@ -185805,7 +185995,7 @@ function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {
|
|
|
185805
185995
|
var index = objLength;
|
|
185806
185996
|
while (index--) {
|
|
185807
185997
|
var key = objProps[index];
|
|
185808
|
-
if (!(isPartial ? key in other : hasOwnProperty$
|
|
185998
|
+
if (!(isPartial ? key in other : hasOwnProperty$3.call(other, key))) {
|
|
185809
185999
|
return false;
|
|
185810
186000
|
}
|
|
185811
186001
|
}
|
|
@@ -185866,10 +186056,10 @@ var argsTag = '[object Arguments]',
|
|
|
185866
186056
|
objectTag = '[object Object]';
|
|
185867
186057
|
|
|
185868
186058
|
/** Used for built-in method references. */
|
|
185869
|
-
var objectProto$
|
|
186059
|
+
var objectProto$2 = Object.prototype;
|
|
185870
186060
|
|
|
185871
186061
|
/** Used to check objects for own properties. */
|
|
185872
|
-
var hasOwnProperty$
|
|
186062
|
+
var hasOwnProperty$2 = objectProto$2.hasOwnProperty;
|
|
185873
186063
|
|
|
185874
186064
|
/**
|
|
185875
186065
|
* A specialized version of `baseIsEqual` for arrays and objects which performs
|
|
@@ -185912,8 +186102,8 @@ function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {
|
|
|
185912
186102
|
: equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);
|
|
185913
186103
|
}
|
|
185914
186104
|
if (!(bitmask & COMPARE_PARTIAL_FLAG$2)) {
|
|
185915
|
-
var objIsWrapped = objIsObj && hasOwnProperty$
|
|
185916
|
-
othIsWrapped = othIsObj && hasOwnProperty$
|
|
186105
|
+
var objIsWrapped = objIsObj && hasOwnProperty$2.call(object, '__wrapped__'),
|
|
186106
|
+
othIsWrapped = othIsObj && hasOwnProperty$2.call(other, '__wrapped__');
|
|
185917
186107
|
|
|
185918
186108
|
if (objIsWrapped || othIsWrapped) {
|
|
185919
186109
|
var objUnwrapped = objIsWrapped ? object.value() : object,
|
|
@@ -187327,10 +187517,10 @@ var mapTag = '[object Map]',
|
|
|
187327
187517
|
setTag = '[object Set]';
|
|
187328
187518
|
|
|
187329
187519
|
/** Used for built-in method references. */
|
|
187330
|
-
var objectProto = Object.prototype;
|
|
187520
|
+
var objectProto$1 = Object.prototype;
|
|
187331
187521
|
|
|
187332
187522
|
/** Used to check objects for own properties. */
|
|
187333
|
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
187523
|
+
var hasOwnProperty$1 = objectProto$1.hasOwnProperty;
|
|
187334
187524
|
|
|
187335
187525
|
/**
|
|
187336
187526
|
* Checks if `value` is an empty object, collection, map, or set.
|
|
@@ -187382,7 +187572,7 @@ function isEmpty(value) {
|
|
|
187382
187572
|
return !baseKeys(value).length;
|
|
187383
187573
|
}
|
|
187384
187574
|
for (var key in value) {
|
|
187385
|
-
if (hasOwnProperty.call(value, key)) {
|
|
187575
|
+
if (hasOwnProperty$1.call(value, key)) {
|
|
187386
187576
|
return false;
|
|
187387
187577
|
}
|
|
187388
187578
|
}
|
|
@@ -187606,6 +187796,12 @@ var merge = createAssigner(function(object, source, srcIndex) {
|
|
|
187606
187796
|
baseMerge(object, source, srcIndex);
|
|
187607
187797
|
});
|
|
187608
187798
|
|
|
187799
|
+
/** Used for built-in method references. */
|
|
187800
|
+
var objectProto = Object.prototype;
|
|
187801
|
+
|
|
187802
|
+
/** Used to check objects for own properties. */
|
|
187803
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
187804
|
+
|
|
187609
187805
|
/**
|
|
187610
187806
|
* The base implementation of `_.unset`.
|
|
187611
187807
|
*
|
|
@@ -187616,8 +187812,34 @@ var merge = createAssigner(function(object, source, srcIndex) {
|
|
|
187616
187812
|
*/
|
|
187617
187813
|
function baseUnset(object, path) {
|
|
187618
187814
|
path = castPath(path, object);
|
|
187619
|
-
|
|
187620
|
-
|
|
187815
|
+
|
|
187816
|
+
// Prevent prototype pollution:
|
|
187817
|
+
// https://github.com/lodash/lodash/security/advisories/GHSA-xxjr-mmjv-4gpg
|
|
187818
|
+
// https://github.com/lodash/lodash/security/advisories/GHSA-f23m-r3pf-42rh
|
|
187819
|
+
var index = -1,
|
|
187820
|
+
length = path.length;
|
|
187821
|
+
|
|
187822
|
+
if (!length) {
|
|
187823
|
+
return true;
|
|
187824
|
+
}
|
|
187825
|
+
|
|
187826
|
+
while (++index < length) {
|
|
187827
|
+
var key = toKey(path[index]);
|
|
187828
|
+
|
|
187829
|
+
// Always block "__proto__" anywhere in the path if it's not expected
|
|
187830
|
+
if (key === '__proto__' && !hasOwnProperty.call(object, '__proto__')) {
|
|
187831
|
+
return false;
|
|
187832
|
+
}
|
|
187833
|
+
|
|
187834
|
+
// Block constructor/prototype as non-terminal traversal keys to prevent
|
|
187835
|
+
// escaping the object graph into built-in constructors and prototypes.
|
|
187836
|
+
if ((key === 'constructor' || key === 'prototype') && index < length - 1) {
|
|
187837
|
+
return false;
|
|
187838
|
+
}
|
|
187839
|
+
}
|
|
187840
|
+
|
|
187841
|
+
var obj = parent$1(object, path);
|
|
187842
|
+
return obj == null || delete obj[toKey(last(path))];
|
|
187621
187843
|
}
|
|
187622
187844
|
|
|
187623
187845
|
/**
|
|
@@ -188377,6 +188599,13 @@ function requireDom () {
|
|
|
188377
188599
|
* used for attributes or DocumentType entities
|
|
188378
188600
|
*/
|
|
188379
188601
|
function NamedNodeMap() {
|
|
188602
|
+
// nodeName -> Attr membership index; lets the parse-time de-duplication in
|
|
188603
|
+
// setNamedItem resolve an existing attribute in O(1) instead of scanning the
|
|
188604
|
+
// list, so building an element with M attributes costs O(M) rather than O(M^2).
|
|
188605
|
+
// The numbered entries and length remain the sole authority for attribute order.
|
|
188606
|
+
// Object.create(null) so an attribute named __proto__ or constructor is an
|
|
188607
|
+
// ordinary key.
|
|
188608
|
+
this._nameIndex = Object.create(null);
|
|
188380
188609
|
}
|
|
188381
188610
|
function _findNodeIndex(list,node){
|
|
188382
188611
|
var i = list.length;
|
|
@@ -188385,12 +188614,27 @@ function requireDom () {
|
|
|
188385
188614
|
}
|
|
188386
188615
|
}
|
|
188387
188616
|
|
|
188617
|
+
function _nnmIndexAdd(list, attr) {
|
|
188618
|
+
list._nameIndex[attr.nodeName] = attr;
|
|
188619
|
+
}
|
|
188620
|
+
function _nnmIndexRemove(list, attr) {
|
|
188621
|
+
// Only drop the entry if it still points at this attribute; a replacement with
|
|
188622
|
+
// a different nodeName may already have re-keyed it.
|
|
188623
|
+
if (list._nameIndex[attr.nodeName] === attr) {
|
|
188624
|
+
delete list._nameIndex[attr.nodeName];
|
|
188625
|
+
}
|
|
188626
|
+
}
|
|
188627
|
+
|
|
188388
188628
|
function _addNamedNode(el,list,newAttr,oldAttr){
|
|
188389
188629
|
if(oldAttr){
|
|
188390
188630
|
list[_findNodeIndex(list,oldAttr)] = newAttr;
|
|
188631
|
+
// oldAttr leaves the list; drop its index entry (its nodeName may differ
|
|
188632
|
+
// from newAttr's when the replacement came via setNamedItemNS).
|
|
188633
|
+
_nnmIndexRemove(list, oldAttr);
|
|
188391
188634
|
}else {
|
|
188392
188635
|
list[list.length++] = newAttr;
|
|
188393
188636
|
}
|
|
188637
|
+
_nnmIndexAdd(list, newAttr);
|
|
188394
188638
|
if(el){
|
|
188395
188639
|
newAttr.ownerElement = el;
|
|
188396
188640
|
var doc = el.ownerDocument;
|
|
@@ -188409,6 +188653,7 @@ function requireDom () {
|
|
|
188409
188653
|
list[i] = list[++i];
|
|
188410
188654
|
}
|
|
188411
188655
|
list.length = lastIndex;
|
|
188656
|
+
_nnmIndexRemove(list, attr);
|
|
188412
188657
|
if(el){
|
|
188413
188658
|
var doc = el.ownerDocument;
|
|
188414
188659
|
if(doc){
|
|
@@ -188442,7 +188687,11 @@ function requireDom () {
|
|
|
188442
188687
|
if(el && el!=this._ownerElement){
|
|
188443
188688
|
throw new DOMException(INUSE_ATTRIBUTE_ERR);
|
|
188444
188689
|
}
|
|
188445
|
-
|
|
188690
|
+
// Resolve any existing attribute with the same nodeName through the O(1)
|
|
188691
|
+
// membership index rather than an O(M) scan — this is the parse-dedup hot
|
|
188692
|
+
// path (setAttributeNode per attribute during parse). Absent -> undefined,
|
|
188693
|
+
// matching getNamedItem's contract.
|
|
188694
|
+
var oldAttr = this._nameIndex[attr.nodeName];
|
|
188446
188695
|
_addNamedNode(this._ownerElement,this,attr,oldAttr);
|
|
188447
188696
|
return oldAttr;
|
|
188448
188697
|
},
|
|
@@ -188675,9 +188924,38 @@ function requireDom () {
|
|
|
188675
188924
|
while (child) {
|
|
188676
188925
|
var next = child.nextSibling;
|
|
188677
188926
|
if (next !== null && next.nodeType === TEXT_NODE && child.nodeType === TEXT_NODE) {
|
|
188678
|
-
|
|
188679
|
-
|
|
188680
|
-
//
|
|
188927
|
+
// Merge the whole run of adjacent text nodes at once: gather the
|
|
188928
|
+
// following text siblings' data, unlink them in a single pass, and
|
|
188929
|
+
// re-index the child list a single time. Per-sibling `removeChild`
|
|
188930
|
+
// (each an O(K) re-index) plus per-sibling `appendData` (each an O(K)
|
|
188931
|
+
// string rebuild) is O(K^2) over a long run of single-character text
|
|
188932
|
+
// nodes; this keeps it O(K). The first text node of the run survives
|
|
188933
|
+
// and carries the concatenated data, preserving node identity and
|
|
188934
|
+
// locator semantics.
|
|
188935
|
+
var tail = [];
|
|
188936
|
+
var sibling = next;
|
|
188937
|
+
while (sibling !== null && sibling.nodeType === TEXT_NODE) {
|
|
188938
|
+
tail.push(sibling.data);
|
|
188939
|
+
sibling = sibling.nextSibling;
|
|
188940
|
+
}
|
|
188941
|
+
// `sibling` is now the first non-text node after the run, or null.
|
|
188942
|
+
var removed = child.nextSibling;
|
|
188943
|
+
while (removed !== sibling) {
|
|
188944
|
+
var following = removed.nextSibling;
|
|
188945
|
+
removed.parentNode = null;
|
|
188946
|
+
removed.previousSibling = null;
|
|
188947
|
+
removed.nextSibling = null;
|
|
188948
|
+
removed = following;
|
|
188949
|
+
}
|
|
188950
|
+
child.nextSibling = sibling;
|
|
188951
|
+
if (sibling !== null) {
|
|
188952
|
+
sibling.previousSibling = child;
|
|
188953
|
+
} else {
|
|
188954
|
+
node.lastChild = child;
|
|
188955
|
+
}
|
|
188956
|
+
child.appendData(tail.join('')); // single O(K) string rebuild
|
|
188957
|
+
_onUpdateChild(node.ownerDocument, node); // single O(K) re-index
|
|
188958
|
+
child = sibling;
|
|
188681
188959
|
} else {
|
|
188682
188960
|
child = next;
|
|
188683
188961
|
}
|
|
@@ -189488,8 +189766,10 @@ function requireDom () {
|
|
|
189488
189766
|
* - it does not do any input validation on the arguments and doesn't throw "InvalidCharacterError".
|
|
189489
189767
|
*
|
|
189490
189768
|
* Note: When the resulting document is serialized with `requireWellFormed: true`, the
|
|
189491
|
-
* serializer throws with code `INVALID_STATE_ERR` if `.
|
|
189492
|
-
*
|
|
189769
|
+
* serializer throws with code `INVALID_STATE_ERR` if `.target` is not a valid XML `NCName`
|
|
189770
|
+
* (a `Name` with no colon) or is an ASCII case-insensitive match for `"xml"`, or if `.data`
|
|
189771
|
+
* contains `?>` (W3C DOM Parsing §3.2.1.7). Without that option the target and data are
|
|
189772
|
+
* emitted verbatim.
|
|
189493
189773
|
*
|
|
189494
189774
|
* @param {string} target
|
|
189495
189775
|
* @param {string} data
|
|
@@ -189514,7 +189794,27 @@ function requireDom () {
|
|
|
189514
189794
|
node.specified = true;
|
|
189515
189795
|
return node;
|
|
189516
189796
|
},
|
|
189797
|
+
/**
|
|
189798
|
+
* Creates an EntityReference object, serialized as `&name;`.
|
|
189799
|
+
*
|
|
189800
|
+
* The `name` is validated against the XML `Name` production at creation time; an invalid name
|
|
189801
|
+
* throws a `DOMException` with code `INVALID_CHARACTER_ERR`. When the resulting node is
|
|
189802
|
+
* serialized with `requireWellFormed: true`, the serializer re-validates `nodeName` and throws
|
|
189803
|
+
* a `DOMException` with code `INVALID_STATE_ERR` if a later `nodeName` mutation made it invalid;
|
|
189804
|
+
* without that option the name is emitted verbatim.
|
|
189805
|
+
*
|
|
189806
|
+
* Note: xmldom does not expand entities — the parser resolves entity references inline and never
|
|
189807
|
+
* constructs `EntityReference` nodes, so this method is the only producer.
|
|
189808
|
+
*
|
|
189809
|
+
* @param {string} name The name of the entity to reference.
|
|
189810
|
+
* @returns {EntityReference}
|
|
189811
|
+
* @throws {DOMException} With code `INVALID_CHARACTER_ERR` when `name` is not a valid XML `Name`.
|
|
189812
|
+
* @see https://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-392B75AE
|
|
189813
|
+
*/
|
|
189517
189814
|
createEntityReference : function(name){
|
|
189815
|
+
if (!tagNamePattern.test(name)) {
|
|
189816
|
+
throw new DOMException(INVALID_CHARACTER_ERR, 'not a valid xml name "' + name + '"');
|
|
189817
|
+
}
|
|
189518
189818
|
var node = new EntityReference();
|
|
189519
189819
|
node.ownerDocument = this;
|
|
189520
189820
|
node.nodeName = name;
|
|
@@ -189726,15 +190026,16 @@ function requireDom () {
|
|
|
189726
190026
|
/**
|
|
189727
190027
|
* Represents a DocumentType node (the `<!DOCTYPE ...>` declaration).
|
|
189728
190028
|
*
|
|
189729
|
-
* `publicId`, `systemId`, and `internalSubset` are plain own-property assignments.
|
|
190029
|
+
* `name`, `publicId`, `systemId`, and `internalSubset` are plain own-property assignments.
|
|
189730
190030
|
* xmldom does not enforce the `readonly` constraint declared by the WHATWG DOM spec —
|
|
189731
190031
|
* direct property writes succeed silently. Values are serialized verbatim when
|
|
189732
190032
|
* `requireWellFormed` is false (the default). When the serializer is invoked with
|
|
189733
190033
|
* `requireWellFormed: true` (via the 4th-parameter options object), it validates each
|
|
189734
|
-
* field
|
|
190034
|
+
* field — including `name`, which is checked against the XML `Name` production — and throws
|
|
190035
|
+
* `DOMException` with code `INVALID_STATE_ERR` on invalid values.
|
|
189735
190036
|
*
|
|
189736
190037
|
* @class
|
|
189737
|
-
* @see https://developer.mozilla.org/
|
|
190038
|
+
* @see https://developer.mozilla.org/docs/Web/API/DocumentType MDN
|
|
189738
190039
|
*/
|
|
189739
190040
|
function DocumentType() {
|
|
189740
190041
|
} DocumentType.prototype.nodeType = DOCUMENT_TYPE_NODE;
|
|
@@ -189748,6 +190049,20 @@ function requireDom () {
|
|
|
189748
190049
|
} Entity.prototype.nodeType = ENTITY_NODE;
|
|
189749
190050
|
_extends(Entity,Node);
|
|
189750
190051
|
|
|
190052
|
+
/**
|
|
190053
|
+
* Represents an EntityReference node, serialized as `&nodeName;`.
|
|
190054
|
+
*
|
|
190055
|
+
* `nodeName` is the referenced entity's name, stored verbatim. When serialized with
|
|
190056
|
+
* `requireWellFormed: true`, the serializer validates `nodeName` against the XML `Name` production
|
|
190057
|
+
* and throws a `DOMException` with code `INVALID_STATE_ERR` if it does not match; without that
|
|
190058
|
+
* option the name is emitted verbatim between `&` and `;`.
|
|
190059
|
+
*
|
|
190060
|
+
* Note: xmldom does not expand entities — the parser resolves entity references inline and never
|
|
190061
|
+
* constructs `EntityReference` nodes, so the only producer is `Document.createEntityReference`.
|
|
190062
|
+
*
|
|
190063
|
+
* @class
|
|
190064
|
+
* @see https://www.w3.org/TR/xml/#NT-Name
|
|
190065
|
+
*/
|
|
189751
190066
|
function EntityReference() {
|
|
189752
190067
|
} EntityReference.prototype.nodeType = ENTITY_REFERENCE_NODE;
|
|
189753
190068
|
_extends(EntityReference,Node);
|
|
@@ -189790,12 +190105,15 @@ function requireDom () {
|
|
|
189790
190105
|
* not a valid XML QName,
|
|
189791
190106
|
* - a CDATASection node's data contains `"]]>"`,
|
|
189792
190107
|
* - a Comment node's data contains `"-->"` (bare `"--"` does not throw on this branch),
|
|
189793
|
-
* - a ProcessingInstruction's
|
|
190108
|
+
* - a ProcessingInstruction's target is not a valid XML `NCName` (a `Name` with no colon) or is
|
|
190109
|
+
* an ASCII case-insensitive match for `"xml"`, or its data contains `"?>"`,
|
|
190110
|
+
* - a DocumentType's `name` is not a valid XML `Name` (XML 1.0 production [5]),
|
|
189794
190111
|
* - a DocumentType's `publicId` is non-empty and does not match the XML `PubidLiteral`
|
|
189795
190112
|
* production,
|
|
189796
190113
|
* - a DocumentType's `systemId` is non-empty and does not match the XML `SystemLiteral`
|
|
189797
|
-
* production,
|
|
189798
|
-
* - a DocumentType's `internalSubset` contains `"]>"
|
|
190114
|
+
* production,
|
|
190115
|
+
* - a DocumentType's `internalSubset` contains `"]>"`, or
|
|
190116
|
+
* - an EntityReference's `nodeName` is not a valid XML `Name` (XML 1.0 production [5]).
|
|
189799
190117
|
* Note: xmldom does not enforce `readonly` on DocumentType fields — direct property
|
|
189800
190118
|
* writes succeed and are covered by the serializer-level checks above.
|
|
189801
190119
|
* @see https://html.spec.whatwg.org/#dom-xmlserializer-serializetostring
|
|
@@ -190050,6 +190368,9 @@ function requireDom () {
|
|
|
190050
190368
|
|
|
190051
190369
|
case DOCUMENT_TYPE_NODE:
|
|
190052
190370
|
if (requireWellFormed) {
|
|
190371
|
+
if (!tagNamePattern.test(n.name)) {
|
|
190372
|
+
throw new DOMException(INVALID_STATE_ERR, 'The doctype name "' + n.name + '" is not a valid XML Name');
|
|
190373
|
+
}
|
|
190053
190374
|
if (n.publicId && !/^("[\x20\r\na-zA-Z0-9\-()+,.\/:=?;!*#@$_%']*"|'[\x20\r\na-zA-Z0-9\-()+,.\/:=?;!*#@$_%'"]*')$/.test(n.publicId)) {
|
|
190054
190375
|
throw new DOMException(INVALID_STATE_ERR, 'DocumentType publicId is not a valid PubidLiteral');
|
|
190055
190376
|
}
|
|
@@ -190081,13 +190402,27 @@ function requireDom () {
|
|
|
190081
190402
|
return null;
|
|
190082
190403
|
|
|
190083
190404
|
case PROCESSING_INSTRUCTION_NODE:
|
|
190084
|
-
if (requireWellFormed
|
|
190085
|
-
|
|
190405
|
+
if (requireWellFormed) {
|
|
190406
|
+
if (!tagNamePattern.test(n.target) || n.target.indexOf(':') !== -1 || n.target.toLowerCase() === 'xml') {
|
|
190407
|
+
throw new DOMException(
|
|
190408
|
+
INVALID_STATE_ERR,
|
|
190409
|
+
'The processing instruction target "' + n.target + '" is not a valid XML NCName or is reserved'
|
|
190410
|
+
);
|
|
190411
|
+
}
|
|
190412
|
+
if (n.data.indexOf('?>') !== -1) {
|
|
190413
|
+
throw new DOMException(INVALID_STATE_ERR, 'The ProcessingInstruction data contains "?>"');
|
|
190414
|
+
}
|
|
190086
190415
|
}
|
|
190087
190416
|
buf.push('<?', n.target, ' ', n.data, '?>');
|
|
190088
190417
|
return null;
|
|
190089
190418
|
|
|
190090
190419
|
case ENTITY_REFERENCE_NODE:
|
|
190420
|
+
if (requireWellFormed && !tagNamePattern.test(n.nodeName)) {
|
|
190421
|
+
throw new DOMException(
|
|
190422
|
+
INVALID_STATE_ERR,
|
|
190423
|
+
'The entity reference name "' + n.nodeName + '" is not a valid XML Name'
|
|
190424
|
+
);
|
|
190425
|
+
}
|
|
190091
190426
|
buf.push('&', n.nodeName, ';');
|
|
190092
190427
|
return null;
|
|
190093
190428
|
|
|
@@ -192580,7 +192915,13 @@ function requireSax () {
|
|
|
192580
192915
|
switch(source.charAt(tagStart+1)){
|
|
192581
192916
|
case '/':
|
|
192582
192917
|
var end = source.indexOf('>',tagStart+3);
|
|
192583
|
-
|
|
192918
|
+
// Anchored trailing-whitespace trim. The former `/[ \t\n\r]+$/g` backtracked
|
|
192919
|
+
// quadratically on a name shaped `whitespace-run + non-whitespace char`
|
|
192920
|
+
// (an end tag `</ … x>`): from every start position it extended `[ws]+`
|
|
192921
|
+
// to the end and then failed the `$` anchor. This anchored form matches the
|
|
192922
|
+
// whole string once and captures everything up to the last non-whitespace
|
|
192923
|
+
// character, so it trims in linear time with byte-identical output.
|
|
192924
|
+
var tagName = source.substring(tagStart + 2, end).replace(/^([\s\S]*?[^ \t\n\r])?[ \t\n\r]*$/, '$1');
|
|
192584
192925
|
var config = parseStack.pop();
|
|
192585
192926
|
if(end<0){
|
|
192586
192927
|
|
|
@@ -192591,6 +192932,14 @@ function requireSax () {
|
|
|
192591
192932
|
tagName = tagName.replace(/[\s<].*/,'');
|
|
192592
192933
|
errorHandler.error("end tag name: "+tagName+' maybe not complete');
|
|
192593
192934
|
end = tagStart+1+tagName.length;
|
|
192935
|
+
}else if(/[ \t\n\r]/.test(tagName) && tagNamePattern.test(tagName.split(/[ \t\n\r]/)[0])){
|
|
192936
|
+
// The XML `ETag` production is `'</' Name S? '>'`: only optional whitespace may follow
|
|
192937
|
+
// the `Name`. A valid `Name` followed by whitespace and non-whitespace residue (e.g.
|
|
192938
|
+
// `</a\nbogus>` or `</a bogus>`) is not well-formed, but historically it was silently
|
|
192939
|
+
// accepted (the malformed end tag ignored, the residue dropped, the element left on the
|
|
192940
|
+
// stack). Report it as a recoverable `error` (which a custom errorHandler may escalate to
|
|
192941
|
+
// fatal) while keeping the existing recovery so the parsed DOM stays byte-identical.
|
|
192942
|
+
errorHandler.error('end tag name is followed by whitespace and trailing content: "'+tagName+'"');
|
|
192594
192943
|
}
|
|
192595
192944
|
var localNSMap = config.localNSMap;
|
|
192596
192945
|
var endMatch = config.tagName == tagName;
|
|
@@ -192714,6 +193063,15 @@ function requireSax () {
|
|
|
192714
193063
|
var s = S_TAG;//status
|
|
192715
193064
|
while(true){
|
|
192716
193065
|
var c = source.charAt(p);
|
|
193066
|
+
if (s === S_TAG && c === '<') {
|
|
193067
|
+
// A `<` can never occur inside a tag name. Without this guard the scan runs
|
|
193068
|
+
// on to the next `>` (or EOF) before the tag name is rejected, so a document
|
|
193069
|
+
// with many `<` inside a malformed tag makes each one-character recovery step
|
|
193070
|
+
// re-scan to the distant `>` — O(n^2). Stopping at the `<` keeps each recovery
|
|
193071
|
+
// step bounded. The candidate scanned so far is reported raw, consistent with
|
|
193072
|
+
// the sibling invalid-tag-name throw below.
|
|
193073
|
+
throw new Error('unexpected < in tag name: ' + source.slice(start, p));
|
|
193074
|
+
}
|
|
192717
193075
|
switch(c){
|
|
192718
193076
|
case '=':
|
|
192719
193077
|
if(s === S_ATTR){//attrName
|
|
@@ -192906,9 +193264,13 @@ function requireSax () {
|
|
|
192906
193264
|
if(nsPrefix !== false){//hack!!
|
|
192907
193265
|
if(localNSMap == null){
|
|
192908
193266
|
localNSMap = {};
|
|
192909
|
-
//
|
|
192910
|
-
|
|
192911
|
-
//
|
|
193267
|
+
// Derive the child scope's namespace map by prototype-chain inheritance
|
|
193268
|
+
// instead of a flat copy: lookups inherit ancestor prefixes transparently,
|
|
193269
|
+
// so a document nesting N scopes retains O(N) map entries rather than
|
|
193270
|
+
// sum(1..N) = O(N^2). localNSMap stays a flat own-only record of the
|
|
193271
|
+
// prefixes declared at THIS element, so own-property enumeration
|
|
193272
|
+
// (endPrefixMapping below) still reports only local declarations.
|
|
193273
|
+
currentNSMap = Object.create(currentNSMap);
|
|
192912
193274
|
}
|
|
192913
193275
|
currentNSMap[nsPrefix] = localNSMap[nsPrefix] = value;
|
|
192914
193276
|
a.uri = NAMESPACE.XMLNS;
|
|
@@ -204021,13 +204383,13 @@ const FIRST_TIME_WATCH = {};
|
|
|
204021
204383
|
Object.freeze(FIRST_TIME_WATCH);
|
|
204022
204384
|
const arrayConsumer = (listenerFn, restExpr, newVal, oldVal) => {
|
|
204023
204385
|
let data = newVal, formattedData;
|
|
204024
|
-
if (isArray(data)) {
|
|
204386
|
+
if (_.isArray(data)) {
|
|
204025
204387
|
formattedData = data.map(function (datum) {
|
|
204026
204388
|
return findValueOf(datum, restExpr);
|
|
204027
204389
|
});
|
|
204028
204390
|
// If resulting structure is an array of array, flatten it
|
|
204029
|
-
if (isArray(formattedData[0])) {
|
|
204030
|
-
formattedData = flatten(formattedData);
|
|
204391
|
+
if (_.isArray(formattedData[0])) {
|
|
204392
|
+
formattedData = _.flatten(formattedData);
|
|
204031
204393
|
}
|
|
204032
204394
|
listenerFn(formattedData, oldVal);
|
|
204033
204395
|
}
|
|
@@ -204072,6 +204434,19 @@ const $watch = (expr, $scope, $locals, listener, identifier = watchIdGenerator.n
|
|
|
204072
204434
|
};
|
|
204073
204435
|
const $unwatch = identifier => registry.delete(identifier);
|
|
204074
204436
|
window.watchRegistry = registry;
|
|
204437
|
+
window.__WM_DEBUG_WATCHERS__ = false;
|
|
204438
|
+
/*export const $invokeWatchers = (force?: boolean, ignoreMuted?: boolean) => {
|
|
204439
|
+
if (force) {
|
|
204440
|
+
triggerWatchers(ignoreMuted);
|
|
204441
|
+
} else {
|
|
204442
|
+
|
|
204443
|
+
if (skipWatchers) {
|
|
204444
|
+
skipWatchers = false;
|
|
204445
|
+
return;
|
|
204446
|
+
}
|
|
204447
|
+
debouncedTriggerWatchers();
|
|
204448
|
+
}
|
|
204449
|
+
};*/
|
|
204075
204450
|
const $appDigest = (() => {
|
|
204076
204451
|
return (force) => {
|
|
204077
204452
|
{
|
|
@@ -204134,6 +204509,8 @@ var Operation;
|
|
|
204134
204509
|
const DataSource = {
|
|
204135
204510
|
Operation
|
|
204136
204511
|
};
|
|
204512
|
+
class App {
|
|
204513
|
+
}
|
|
204137
204514
|
class AbstractI18nService {
|
|
204138
204515
|
}
|
|
204139
204516
|
|
|
@@ -204151,6 +204528,7 @@ const REGEX = {
|
|
|
204151
204528
|
SUPPORTED_AUDIO_FORMAT: /\.(mp3|ogg|webm|wma|3gp|wav|m4a)$/i,
|
|
204152
204529
|
SUPPORTED_VIDEO_FORMAT: /\.(mp4|ogg|webm|wmv|mpeg|mpg|avi|mov)$/i,
|
|
204153
204530
|
VALID_WEB_URL: /^(http[s]?:\/\/)(www\.){0,1}[a-zA-Z0-9=:?\/\.\-]+(\.[a-zA-Z]{2,5}[\.]{0,1})?/,
|
|
204531
|
+
VALID_IMAGE_URL: /^(https?|blob|data|file|ftp):/i,
|
|
204154
204532
|
REPLACE_PATTERN: /\$\{([^\}]+)\}/g,
|
|
204155
204533
|
DATA_URL: /^\s*data:([a-z]+\/[a-z0-9-+.]+(;[a-z-]+=[a-z0-9-]+)?)?(;base64)?,([a-z0-9!$&',()*+;=\-._~:@\/?%\s]*)\s*$/i,
|
|
204156
204534
|
ISO_DATE_FORMAT: /(\d{4}-\d{2}-\d{2})T(\d{2}:\d{2}:\d{2})(\.\d+)?([+-]\d{2}:?\d{2}|Z)$/
|
|
@@ -204373,6 +204751,9 @@ const isVideoFile = (fileName) => {
|
|
|
204373
204751
|
const isValidWebURL = (url) => {
|
|
204374
204752
|
return (REGEX.VALID_WEB_URL).test(url);
|
|
204375
204753
|
};
|
|
204754
|
+
const isValidImageUrl = (url) => {
|
|
204755
|
+
return (REGEX.VALID_IMAGE_URL).test(url?.trim());
|
|
204756
|
+
};
|
|
204376
204757
|
/*This function returns the url to the resource after checking the validity of url*/
|
|
204377
204758
|
const getResourceURL = (urlString) => {
|
|
204378
204759
|
return urlString;
|
|
@@ -205626,6 +206007,7 @@ var Utils = /*#__PURE__*/Object.freeze({
|
|
|
205626
206007
|
isPageable: isPageable,
|
|
205627
206008
|
isSafari: isSafari,
|
|
205628
206009
|
isTablet: isTablet,
|
|
206010
|
+
isValidImageUrl: isValidImageUrl,
|
|
205629
206011
|
isValidWebURL: isValidWebURL,
|
|
205630
206012
|
isVideoFile: isVideoFile,
|
|
205631
206013
|
loadScript: loadScript,
|
|
@@ -208465,7 +208847,7 @@ class PipeProvider {
|
|
|
208465
208847
|
this.preparePipeMeta(CurrencyPipe$1, 'currency', true, [this._locale]),
|
|
208466
208848
|
this.preparePipeMeta(DatePipe$1, 'date', true, [this._locale]),
|
|
208467
208849
|
this.preparePipeMeta(ToDatePipe, 'toDate', true, [
|
|
208468
|
-
new DatePipe$1(this._locale), undefined, this.injector.get(CustomPipeManager)
|
|
208850
|
+
new DatePipe$1(this._locale), undefined, this.injector.get(App), this.injector.get(CustomPipeManager)
|
|
208469
208851
|
]),
|
|
208470
208852
|
this.preparePipeMeta(ToNumberPipe, 'toNumber', true, [
|
|
208471
208853
|
new DecimalPipe$1(this._locale),
|
|
@@ -208482,7 +208864,7 @@ class PipeProvider {
|
|
|
208482
208864
|
new DecimalPipe$1(this._locale)
|
|
208483
208865
|
]),
|
|
208484
208866
|
this.preparePipeMeta(StringToNumberPipe, 'stringToNumber', true),
|
|
208485
|
-
this.preparePipeMeta(CustomPipe, 'custom', true, [this.injector.get(CustomPipeManager)]),
|
|
208867
|
+
this.preparePipeMeta(CustomPipe, 'custom', true, [this.injector.get(App), this.injector.get(CustomPipeManager)]),
|
|
208486
208868
|
this.preparePipeMeta(TrustAsPipe, 'trustAs', true, [this.domSanitizer]),
|
|
208487
208869
|
this.preparePipeMeta(SanitizePipe, 'sanitize', true, [this.domSanitizer]),
|
|
208488
208870
|
this.preparePipeMeta(TemplateReplacePipe, 'templateReplace', true),
|