@fast-china/utils 1.0.31 → 1.0.33
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/README.md +4 -4
- package/README.zh.md +3 -3
- package/dist/index.global.js +123 -151
- package/dist/index.global.js.map +1 -1
- package/dist/index.global.min.js +1 -37
- package/dist/index.global.min.js.map +1 -1
- package/es/array/index.mjs +1 -52
- package/es/array/index.mjs.map +1 -1
- package/es/base64/index.mjs +1 -137
- package/es/base64/index.mjs.map +1 -1
- package/es/click/index.mjs +1 -81
- package/es/click/index.mjs.map +1 -1
- package/es/color/index.mjs +1 -60
- package/es/color/index.mjs.map +1 -1
- package/es/console/index.mjs +1 -65
- package/es/console/index.mjs.map +1 -1
- package/es/crypto/index.mjs +1 -105
- package/es/crypto/index.mjs.map +1 -1
- package/es/date/index.mjs +1 -267
- package/es/date/index.mjs.map +1 -1
- package/es/dom/index.mjs +1 -5
- package/es/dom/index.mjs.map +1 -1
- package/es/dom/style.mjs +1 -34
- package/es/dom/style.mjs.map +1 -1
- package/es/env/index.mjs +1 -37
- package/es/env/index.mjs.map +1 -1
- package/es/error/index.mjs +1 -9
- package/es/error/index.mjs.map +1 -1
- package/es/identity/index.mjs +1 -34
- package/es/identity/index.mjs.map +1 -1
- package/es/index.mjs +1 -59
- package/es/index.mjs.map +1 -1
- package/es/object/index.mjs +1 -45
- package/es/object/index.mjs.map +1 -1
- package/es/storage/index.mjs +1 -307
- package/es/storage/index.mjs.map +1 -1
- package/es/string/index.mjs +1 -314
- package/es/string/index.mjs.map +1 -1
- package/es/vue/expose.mjs +1 -7
- package/es/vue/expose.mjs.map +1 -1
- package/es/vue/func.mjs +1 -25
- package/es/vue/func.mjs.map +1 -1
- package/es/vue/index.mjs +1 -19
- package/es/vue/index.mjs.map +1 -1
- package/es/vue/install.mjs +1 -30
- package/es/vue/install.mjs.map +1 -1
- package/es/vue/props.mjs +1 -14
- package/es/vue/props.mjs.map +1 -1
- package/es/vue/slots.mjs +1 -6
- package/es/vue/slots.mjs.map +1 -1
- package/es/vue/useRender.mjs +1 -12
- package/es/vue/useRender.mjs.map +1 -1
- package/es/vue/with.mjs +1 -6
- package/es/vue/with.mjs.map +1 -1
- package/lib/array/index.js +1 -1
- package/lib/array/index.js.map +1 -1
- package/lib/base64/index.js +1 -1
- package/lib/base64/index.js.map +1 -1
- package/lib/click/index.js +1 -1
- package/lib/click/index.js.map +1 -1
- package/lib/color/index.js.map +1 -1
- package/lib/console/index.js +1 -1
- package/lib/console/index.js.map +1 -1
- package/lib/crypto/index.js.map +1 -1
- package/lib/date/index.js.map +1 -1
- package/lib/dom/style.js +1 -1
- package/lib/dom/style.js.map +1 -1
- package/lib/env/index.js.map +1 -1
- package/lib/error/index.js.map +1 -1
- package/lib/identity/index.js +1 -1
- package/lib/identity/index.js.map +1 -1
- package/lib/object/index.js +1 -1
- package/lib/object/index.js.map +1 -1
- package/lib/storage/index.js +1 -1
- package/lib/storage/index.js.map +1 -1
- package/lib/string/index.js +1 -1
- package/lib/string/index.js.map +1 -1
- package/lib/vue/func.js +1 -1
- package/lib/vue/func.js.map +1 -1
- package/lib/vue/install.js.map +1 -1
- package/lib/vue/props.js +1 -1
- package/lib/vue/props.js.map +1 -1
- package/lib/vue/useRender.js.map +1 -1
- package/package.json +18 -8
package/dist/index.global.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var FastUtils = function(exports, vue) {
|
|
1
|
+
var FastUtils = (function(exports, vue) {
|
|
2
2
|
"use strict";
|
|
3
3
|
const arrayUtil = {
|
|
4
4
|
/**
|
|
@@ -507,10 +507,10 @@ var FastUtils = function(exports, vue) {
|
|
|
507
507
|
return tag == funcTag$2 || tag == genTag$1 || tag == asyncTag || tag == proxyTag;
|
|
508
508
|
}
|
|
509
509
|
var coreJsData = root["__core-js_shared__"];
|
|
510
|
-
var maskSrcKey = function() {
|
|
510
|
+
var maskSrcKey = (function() {
|
|
511
511
|
var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
|
|
512
512
|
return uid ? "Symbol(src)_1." + uid : "";
|
|
513
|
-
}();
|
|
513
|
+
})();
|
|
514
514
|
function isMasked(func2) {
|
|
515
515
|
return !!maskSrcKey && maskSrcKey in func2;
|
|
516
516
|
}
|
|
@@ -558,7 +558,7 @@ var FastUtils = function(exports, vue) {
|
|
|
558
558
|
return func2;
|
|
559
559
|
};
|
|
560
560
|
var objectCreate = Object.create;
|
|
561
|
-
var baseCreate = /* @__PURE__ */ function() {
|
|
561
|
+
var baseCreate = /* @__PURE__ */ (function() {
|
|
562
562
|
function object2() {
|
|
563
563
|
}
|
|
564
564
|
return function(proto) {
|
|
@@ -573,7 +573,7 @@ var FastUtils = function(exports, vue) {
|
|
|
573
573
|
object2.prototype = void 0;
|
|
574
574
|
return result2;
|
|
575
575
|
};
|
|
576
|
-
}();
|
|
576
|
+
})();
|
|
577
577
|
function createCtor(Ctor) {
|
|
578
578
|
return function() {
|
|
579
579
|
var args = arguments;
|
|
@@ -787,14 +787,14 @@ var FastUtils = function(exports, vue) {
|
|
|
787
787
|
return value;
|
|
788
788
|
};
|
|
789
789
|
}
|
|
790
|
-
var defineProperty = function() {
|
|
790
|
+
var defineProperty = (function() {
|
|
791
791
|
try {
|
|
792
792
|
var func2 = getNative(Object, "defineProperty");
|
|
793
793
|
func2({}, "", {});
|
|
794
794
|
return func2;
|
|
795
795
|
} catch (e) {
|
|
796
796
|
}
|
|
797
|
-
}();
|
|
797
|
+
})();
|
|
798
798
|
var baseSetToString = !defineProperty ? identity : function(func2, string2) {
|
|
799
799
|
return defineProperty(func2, "toString", {
|
|
800
800
|
"configurable": true,
|
|
@@ -1235,9 +1235,9 @@ var FastUtils = function(exports, vue) {
|
|
|
1235
1235
|
var objectProto$l = Object.prototype;
|
|
1236
1236
|
var hasOwnProperty$j = objectProto$l.hasOwnProperty;
|
|
1237
1237
|
var propertyIsEnumerable$1 = objectProto$l.propertyIsEnumerable;
|
|
1238
|
-
var isArguments = baseIsArguments(/* @__PURE__ */ function() {
|
|
1238
|
+
var isArguments = baseIsArguments(/* @__PURE__ */ (function() {
|
|
1239
1239
|
return arguments;
|
|
1240
|
-
}()) ? baseIsArguments : function(value) {
|
|
1240
|
+
})()) ? baseIsArguments : function(value) {
|
|
1241
1241
|
return isObjectLike(value) && hasOwnProperty$j.call(value, "callee") && !propertyIsEnumerable$1.call(value, "callee");
|
|
1242
1242
|
};
|
|
1243
1243
|
function stubFalse() {
|
|
@@ -1266,7 +1266,7 @@ var FastUtils = function(exports, vue) {
|
|
|
1266
1266
|
var freeModule$1 = freeExports$1 && typeof module == "object" && module && !module.nodeType && module;
|
|
1267
1267
|
var moduleExports$1 = freeModule$1 && freeModule$1.exports === freeExports$1;
|
|
1268
1268
|
var freeProcess = moduleExports$1 && freeGlobal.process;
|
|
1269
|
-
var nodeUtil = function() {
|
|
1269
|
+
var nodeUtil = (function() {
|
|
1270
1270
|
try {
|
|
1271
1271
|
var types = freeModule$1 && freeModule$1.require && freeModule$1.require("util").types;
|
|
1272
1272
|
if (types) {
|
|
@@ -1275,7 +1275,7 @@ var FastUtils = function(exports, vue) {
|
|
|
1275
1275
|
return freeProcess && freeProcess.binding && freeProcess.binding("util");
|
|
1276
1276
|
} catch (e) {
|
|
1277
1277
|
}
|
|
1278
|
-
}();
|
|
1278
|
+
})();
|
|
1279
1279
|
var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
|
|
1280
1280
|
var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
|
|
1281
1281
|
var objectProto$k = Object.prototype;
|
|
@@ -5837,15 +5837,6 @@ var FastUtils = function(exports, vue) {
|
|
|
5837
5837
|
}
|
|
5838
5838
|
return result2;
|
|
5839
5839
|
}
|
|
5840
|
-
/**
|
|
5841
|
-
* @license
|
|
5842
|
-
* Lodash (Custom Build) <https://lodash.com/>
|
|
5843
|
-
* Build: `lodash modularize exports="es" -o ./`
|
|
5844
|
-
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
5845
|
-
* Released under MIT license <https://lodash.com/license>
|
|
5846
|
-
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
5847
|
-
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
5848
|
-
*/
|
|
5849
5840
|
var VERSION = "4.17.21";
|
|
5850
5841
|
var WRAP_BIND_KEY_FLAG = 2;
|
|
5851
5842
|
var LAZY_FILTER_FLAG = 1, LAZY_WHILE_FLAG = 3;
|
|
@@ -5854,7 +5845,7 @@ var FastUtils = function(exports, vue) {
|
|
|
5854
5845
|
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
5855
5846
|
var symIterator = Symbol$1 ? Symbol$1.iterator : void 0;
|
|
5856
5847
|
var nativeMax = Math.max, nativeMin = Math.min;
|
|
5857
|
-
var mixin = /* @__PURE__ */ function(func2) {
|
|
5848
|
+
var mixin = /* @__PURE__ */ (function(func2) {
|
|
5858
5849
|
return function(object2, source, options) {
|
|
5859
5850
|
if (options == null) {
|
|
5860
5851
|
var isObj = isObject(source), props = isObj && keys(source), methodNames = props && props.length && baseFunctions(source, props);
|
|
@@ -5866,7 +5857,7 @@ var FastUtils = function(exports, vue) {
|
|
|
5866
5857
|
}
|
|
5867
5858
|
return func2(object2, source, options);
|
|
5868
5859
|
};
|
|
5869
|
-
}(mixin$1);
|
|
5860
|
+
})(mixin$1);
|
|
5870
5861
|
lodash.after = func.after;
|
|
5871
5862
|
lodash.ary = func.ary;
|
|
5872
5863
|
lodash.assign = object.assign;
|
|
@@ -6171,7 +6162,7 @@ var FastUtils = function(exports, vue) {
|
|
|
6171
6162
|
lodash.each = collection.forEach;
|
|
6172
6163
|
lodash.eachRight = collection.forEachRight;
|
|
6173
6164
|
lodash.first = array.head;
|
|
6174
|
-
mixin(lodash, function() {
|
|
6165
|
+
mixin(lodash, (function() {
|
|
6175
6166
|
var source = {};
|
|
6176
6167
|
baseForOwn(lodash, function(func2, methodName) {
|
|
6177
6168
|
if (!hasOwnProperty.call(lodash.prototype, methodName)) {
|
|
@@ -6179,7 +6170,7 @@ var FastUtils = function(exports, vue) {
|
|
|
6179
6170
|
}
|
|
6180
6171
|
});
|
|
6181
6172
|
return source;
|
|
6182
|
-
}(), { "chain": false });
|
|
6173
|
+
})(), { "chain": false });
|
|
6183
6174
|
lodash.VERSION = VERSION;
|
|
6184
6175
|
(lodash.templateSettings = string.templateSettings).imports._ = lodash;
|
|
6185
6176
|
arrayEach(["bind", "bindKey", "curry", "curryRight", "partial", "partialRight"], function(methodName) {
|
|
@@ -6339,15 +6330,6 @@ var FastUtils = function(exports, vue) {
|
|
|
6339
6330
|
if (symIterator) {
|
|
6340
6331
|
lodash.prototype[symIterator] = seq.toIterator;
|
|
6341
6332
|
}
|
|
6342
|
-
/**
|
|
6343
|
-
* @license
|
|
6344
|
-
* Lodash (Custom Build) <https://lodash.com/>
|
|
6345
|
-
* Build: `lodash modularize exports="es" -o ./`
|
|
6346
|
-
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
6347
|
-
* Released under MIT license <https://lodash.com/license>
|
|
6348
|
-
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
6349
|
-
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
6350
|
-
*/
|
|
6351
6333
|
const state$2 = vue.reactive({
|
|
6352
6334
|
/** @description Uni-App 在 APP-PLUS 下是否拆分输出 @default false */
|
|
6353
6335
|
uniAppPlusSplit: false
|
|
@@ -6417,7 +6399,12 @@ var FastUtils = function(exports, vue) {
|
|
|
6417
6399
|
var f = n.default;
|
|
6418
6400
|
if (typeof f == "function") {
|
|
6419
6401
|
var a = function a2() {
|
|
6420
|
-
|
|
6402
|
+
var isInstance = false;
|
|
6403
|
+
try {
|
|
6404
|
+
isInstance = this instanceof a2;
|
|
6405
|
+
} catch {
|
|
6406
|
+
}
|
|
6407
|
+
if (isInstance) {
|
|
6421
6408
|
return Reflect.construct(f, arguments, this.constructor);
|
|
6422
6409
|
}
|
|
6423
6410
|
return f.apply(this, arguments);
|
|
@@ -6452,18 +6439,18 @@ var FastUtils = function(exports, vue) {
|
|
|
6452
6439
|
function requireCore() {
|
|
6453
6440
|
if (hasRequiredCore) return core$1.exports;
|
|
6454
6441
|
hasRequiredCore = 1;
|
|
6455
|
-
(function(module2,
|
|
6442
|
+
(function(module2, exports$1) {
|
|
6456
6443
|
;
|
|
6457
6444
|
(function(root2, factory) {
|
|
6458
6445
|
if (true) {
|
|
6459
|
-
module2.exports =
|
|
6446
|
+
module2.exports = exports$1 = factory();
|
|
6460
6447
|
} else if (false) {
|
|
6461
6448
|
(void 0)([], factory);
|
|
6462
6449
|
} else {
|
|
6463
6450
|
root2.CryptoJS = factory();
|
|
6464
6451
|
}
|
|
6465
6452
|
})(core, function() {
|
|
6466
|
-
var CryptoJS = CryptoJS || function(Math2, undefined$1) {
|
|
6453
|
+
var CryptoJS = CryptoJS || (function(Math2, undefined$1) {
|
|
6467
6454
|
var crypto;
|
|
6468
6455
|
if (typeof window !== "undefined" && window.crypto) {
|
|
6469
6456
|
crypto = window.crypto;
|
|
@@ -6503,7 +6490,7 @@ var FastUtils = function(exports, vue) {
|
|
|
6503
6490
|
}
|
|
6504
6491
|
throw new Error("Native crypto module could not be used to get secure random number.");
|
|
6505
6492
|
};
|
|
6506
|
-
var create2 = Object.create || /* @__PURE__ */ function() {
|
|
6493
|
+
var create2 = Object.create || /* @__PURE__ */ (function() {
|
|
6507
6494
|
function F() {
|
|
6508
6495
|
}
|
|
6509
6496
|
return function(obj) {
|
|
@@ -6513,10 +6500,10 @@ var FastUtils = function(exports, vue) {
|
|
|
6513
6500
|
F.prototype = null;
|
|
6514
6501
|
return subtype;
|
|
6515
6502
|
};
|
|
6516
|
-
}();
|
|
6503
|
+
})();
|
|
6517
6504
|
var C = {};
|
|
6518
6505
|
var C_lib = C.lib = {};
|
|
6519
|
-
var Base = C_lib.Base = /* @__PURE__ */ function() {
|
|
6506
|
+
var Base = C_lib.Base = /* @__PURE__ */ (function() {
|
|
6520
6507
|
return {
|
|
6521
6508
|
/**
|
|
6522
6509
|
* Creates a new object that inherits from this object.
|
|
@@ -6615,7 +6602,7 @@ var FastUtils = function(exports, vue) {
|
|
|
6615
6602
|
return this.init.prototype.extend(this);
|
|
6616
6603
|
}
|
|
6617
6604
|
};
|
|
6618
|
-
}();
|
|
6605
|
+
})();
|
|
6619
6606
|
var WordArray = C_lib.WordArray = Base.extend({
|
|
6620
6607
|
/**
|
|
6621
6608
|
* Initializes a newly created word array.
|
|
@@ -7053,7 +7040,7 @@ var FastUtils = function(exports, vue) {
|
|
|
7053
7040
|
});
|
|
7054
7041
|
var C_algo = C.algo = {};
|
|
7055
7042
|
return C;
|
|
7056
|
-
}(Math);
|
|
7043
|
+
})(Math);
|
|
7057
7044
|
return CryptoJS;
|
|
7058
7045
|
});
|
|
7059
7046
|
})(core$1, core$1.exports);
|
|
@@ -7065,11 +7052,11 @@ var FastUtils = function(exports, vue) {
|
|
|
7065
7052
|
function requireX64Core() {
|
|
7066
7053
|
if (hasRequiredX64Core) return x64Core$1.exports;
|
|
7067
7054
|
hasRequiredX64Core = 1;
|
|
7068
|
-
(function(module2,
|
|
7055
|
+
(function(module2, exports$1) {
|
|
7069
7056
|
;
|
|
7070
7057
|
(function(root2, factory) {
|
|
7071
7058
|
if (true) {
|
|
7072
|
-
module2.exports =
|
|
7059
|
+
module2.exports = exports$1 = factory(requireCore());
|
|
7073
7060
|
} else if (false) {
|
|
7074
7061
|
(void 0)(["./core"], factory);
|
|
7075
7062
|
} else {
|
|
@@ -7327,11 +7314,11 @@ var FastUtils = function(exports, vue) {
|
|
|
7327
7314
|
function requireLibTypedarrays() {
|
|
7328
7315
|
if (hasRequiredLibTypedarrays) return libTypedarrays$1.exports;
|
|
7329
7316
|
hasRequiredLibTypedarrays = 1;
|
|
7330
|
-
(function(module2,
|
|
7317
|
+
(function(module2, exports$1) {
|
|
7331
7318
|
;
|
|
7332
7319
|
(function(root2, factory) {
|
|
7333
7320
|
if (true) {
|
|
7334
|
-
module2.exports =
|
|
7321
|
+
module2.exports = exports$1 = factory(requireCore());
|
|
7335
7322
|
} else if (false) {
|
|
7336
7323
|
(void 0)(["./core"], factory);
|
|
7337
7324
|
} else {
|
|
@@ -7377,11 +7364,11 @@ var FastUtils = function(exports, vue) {
|
|
|
7377
7364
|
function requireEncUtf16() {
|
|
7378
7365
|
if (hasRequiredEncUtf16) return encUtf16$1.exports;
|
|
7379
7366
|
hasRequiredEncUtf16 = 1;
|
|
7380
|
-
(function(module2,
|
|
7367
|
+
(function(module2, exports$1) {
|
|
7381
7368
|
;
|
|
7382
7369
|
(function(root2, factory) {
|
|
7383
7370
|
if (true) {
|
|
7384
|
-
module2.exports =
|
|
7371
|
+
module2.exports = exports$1 = factory(requireCore());
|
|
7385
7372
|
} else if (false) {
|
|
7386
7373
|
(void 0)(["./core"], factory);
|
|
7387
7374
|
} else {
|
|
@@ -7500,11 +7487,11 @@ var FastUtils = function(exports, vue) {
|
|
|
7500
7487
|
function requireEncBase64() {
|
|
7501
7488
|
if (hasRequiredEncBase64) return encBase64$1.exports;
|
|
7502
7489
|
hasRequiredEncBase64 = 1;
|
|
7503
|
-
(function(module2,
|
|
7490
|
+
(function(module2, exports$1) {
|
|
7504
7491
|
;
|
|
7505
7492
|
(function(root2, factory) {
|
|
7506
7493
|
if (true) {
|
|
7507
|
-
module2.exports =
|
|
7494
|
+
module2.exports = exports$1 = factory(requireCore());
|
|
7508
7495
|
} else if (false) {
|
|
7509
7496
|
(void 0)(["./core"], factory);
|
|
7510
7497
|
} else {
|
|
@@ -7613,11 +7600,11 @@ var FastUtils = function(exports, vue) {
|
|
|
7613
7600
|
function requireEncBase64url() {
|
|
7614
7601
|
if (hasRequiredEncBase64url) return encBase64url$1.exports;
|
|
7615
7602
|
hasRequiredEncBase64url = 1;
|
|
7616
|
-
(function(module2,
|
|
7603
|
+
(function(module2, exports$1) {
|
|
7617
7604
|
;
|
|
7618
7605
|
(function(root2, factory) {
|
|
7619
7606
|
if (true) {
|
|
7620
|
-
module2.exports =
|
|
7607
|
+
module2.exports = exports$1 = factory(requireCore());
|
|
7621
7608
|
} else if (false) {
|
|
7622
7609
|
(void 0)(["./core"], factory);
|
|
7623
7610
|
} else {
|
|
@@ -7737,11 +7724,11 @@ var FastUtils = function(exports, vue) {
|
|
|
7737
7724
|
function requireMd5() {
|
|
7738
7725
|
if (hasRequiredMd5) return md5$1.exports;
|
|
7739
7726
|
hasRequiredMd5 = 1;
|
|
7740
|
-
(function(module2,
|
|
7727
|
+
(function(module2, exports$1) {
|
|
7741
7728
|
;
|
|
7742
7729
|
(function(root2, factory) {
|
|
7743
7730
|
if (true) {
|
|
7744
|
-
module2.exports =
|
|
7731
|
+
module2.exports = exports$1 = factory(requireCore());
|
|
7745
7732
|
} else if (false) {
|
|
7746
7733
|
(void 0)(["./core"], factory);
|
|
7747
7734
|
} else {
|
|
@@ -7921,11 +7908,11 @@ var FastUtils = function(exports, vue) {
|
|
|
7921
7908
|
function requireSha1() {
|
|
7922
7909
|
if (hasRequiredSha1) return sha1$1.exports;
|
|
7923
7910
|
hasRequiredSha1 = 1;
|
|
7924
|
-
(function(module2,
|
|
7911
|
+
(function(module2, exports$1) {
|
|
7925
7912
|
;
|
|
7926
7913
|
(function(root2, factory) {
|
|
7927
7914
|
if (true) {
|
|
7928
|
-
module2.exports =
|
|
7915
|
+
module2.exports = exports$1 = factory(requireCore());
|
|
7929
7916
|
} else if (false) {
|
|
7930
7917
|
(void 0)(["./core"], factory);
|
|
7931
7918
|
} else {
|
|
@@ -8017,11 +8004,11 @@ var FastUtils = function(exports, vue) {
|
|
|
8017
8004
|
function requireSha256() {
|
|
8018
8005
|
if (hasRequiredSha256) return sha256$1.exports;
|
|
8019
8006
|
hasRequiredSha256 = 1;
|
|
8020
|
-
(function(module2,
|
|
8007
|
+
(function(module2, exports$1) {
|
|
8021
8008
|
;
|
|
8022
8009
|
(function(root2, factory) {
|
|
8023
8010
|
if (true) {
|
|
8024
|
-
module2.exports =
|
|
8011
|
+
module2.exports = exports$1 = factory(requireCore());
|
|
8025
8012
|
} else if (false) {
|
|
8026
8013
|
(void 0)(["./core"], factory);
|
|
8027
8014
|
} else {
|
|
@@ -8143,11 +8130,11 @@ var FastUtils = function(exports, vue) {
|
|
|
8143
8130
|
function requireSha224() {
|
|
8144
8131
|
if (hasRequiredSha224) return sha224$1.exports;
|
|
8145
8132
|
hasRequiredSha224 = 1;
|
|
8146
|
-
(function(module2,
|
|
8133
|
+
(function(module2, exports$1) {
|
|
8147
8134
|
;
|
|
8148
8135
|
(function(root2, factory, undef) {
|
|
8149
8136
|
if (true) {
|
|
8150
|
-
module2.exports =
|
|
8137
|
+
module2.exports = exports$1 = factory(requireCore(), requireSha256());
|
|
8151
8138
|
} else if (false) {
|
|
8152
8139
|
(void 0)(["./core", "./sha256"], factory);
|
|
8153
8140
|
} else {
|
|
@@ -8193,11 +8180,11 @@ var FastUtils = function(exports, vue) {
|
|
|
8193
8180
|
function requireSha512() {
|
|
8194
8181
|
if (hasRequiredSha512) return sha512$1.exports;
|
|
8195
8182
|
hasRequiredSha512 = 1;
|
|
8196
|
-
(function(module2,
|
|
8183
|
+
(function(module2, exports$1) {
|
|
8197
8184
|
;
|
|
8198
8185
|
(function(root2, factory, undef) {
|
|
8199
8186
|
if (true) {
|
|
8200
|
-
module2.exports =
|
|
8187
|
+
module2.exports = exports$1 = factory(requireCore(), requireX64Core());
|
|
8201
8188
|
} else if (false) {
|
|
8202
8189
|
(void 0)(["./core", "./x64-core"], factory);
|
|
8203
8190
|
} else {
|
|
@@ -8480,11 +8467,11 @@ var FastUtils = function(exports, vue) {
|
|
|
8480
8467
|
function requireSha384() {
|
|
8481
8468
|
if (hasRequiredSha384) return sha384$1.exports;
|
|
8482
8469
|
hasRequiredSha384 = 1;
|
|
8483
|
-
(function(module2,
|
|
8470
|
+
(function(module2, exports$1) {
|
|
8484
8471
|
;
|
|
8485
8472
|
(function(root2, factory, undef) {
|
|
8486
8473
|
if (true) {
|
|
8487
|
-
module2.exports =
|
|
8474
|
+
module2.exports = exports$1 = factory(requireCore(), requireX64Core(), requireSha512());
|
|
8488
8475
|
} else if (false) {
|
|
8489
8476
|
(void 0)(["./core", "./x64-core", "./sha512"], factory);
|
|
8490
8477
|
} else {
|
|
@@ -8531,11 +8518,11 @@ var FastUtils = function(exports, vue) {
|
|
|
8531
8518
|
function requireSha3() {
|
|
8532
8519
|
if (hasRequiredSha3) return sha3$1.exports;
|
|
8533
8520
|
hasRequiredSha3 = 1;
|
|
8534
|
-
(function(module2,
|
|
8521
|
+
(function(module2, exports$1) {
|
|
8535
8522
|
;
|
|
8536
8523
|
(function(root2, factory, undef) {
|
|
8537
8524
|
if (true) {
|
|
8538
|
-
module2.exports =
|
|
8525
|
+
module2.exports = exports$1 = factory(requireCore(), requireX64Core());
|
|
8539
8526
|
} else if (false) {
|
|
8540
8527
|
(void 0)(["./core", "./x64-core"], factory);
|
|
8541
8528
|
} else {
|
|
@@ -8738,27 +8725,17 @@ var FastUtils = function(exports, vue) {
|
|
|
8738
8725
|
function requireRipemd160() {
|
|
8739
8726
|
if (hasRequiredRipemd160) return ripemd160$1.exports;
|
|
8740
8727
|
hasRequiredRipemd160 = 1;
|
|
8741
|
-
(function(module2,
|
|
8728
|
+
(function(module2, exports$1) {
|
|
8742
8729
|
;
|
|
8743
8730
|
(function(root2, factory) {
|
|
8744
8731
|
if (true) {
|
|
8745
|
-
module2.exports =
|
|
8732
|
+
module2.exports = exports$1 = factory(requireCore());
|
|
8746
8733
|
} else if (false) {
|
|
8747
8734
|
(void 0)(["./core"], factory);
|
|
8748
8735
|
} else {
|
|
8749
8736
|
factory(root2.CryptoJS);
|
|
8750
8737
|
}
|
|
8751
8738
|
})(ripemd160, function(CryptoJS) {
|
|
8752
|
-
/** @preserve
|
|
8753
|
-
(c) 2012 by Cédric Mesnil. All rights reserved.
|
|
8754
|
-
|
|
8755
|
-
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
|
8756
|
-
|
|
8757
|
-
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
|
8758
|
-
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
|
8759
|
-
|
|
8760
|
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
8761
|
-
*/
|
|
8762
8739
|
(function(Math2) {
|
|
8763
8740
|
var C = CryptoJS;
|
|
8764
8741
|
var C_lib = C.lib;
|
|
@@ -9224,11 +9201,11 @@ var FastUtils = function(exports, vue) {
|
|
|
9224
9201
|
function requireHmac() {
|
|
9225
9202
|
if (hasRequiredHmac) return hmac$1.exports;
|
|
9226
9203
|
hasRequiredHmac = 1;
|
|
9227
|
-
(function(module2,
|
|
9204
|
+
(function(module2, exports$1) {
|
|
9228
9205
|
;
|
|
9229
9206
|
(function(root2, factory) {
|
|
9230
9207
|
if (true) {
|
|
9231
|
-
module2.exports =
|
|
9208
|
+
module2.exports = exports$1 = factory(requireCore());
|
|
9232
9209
|
} else if (false) {
|
|
9233
9210
|
(void 0)(["./core"], factory);
|
|
9234
9211
|
} else {
|
|
@@ -9336,11 +9313,11 @@ var FastUtils = function(exports, vue) {
|
|
|
9336
9313
|
function requirePbkdf2() {
|
|
9337
9314
|
if (hasRequiredPbkdf2) return pbkdf2$1.exports;
|
|
9338
9315
|
hasRequiredPbkdf2 = 1;
|
|
9339
|
-
(function(module2,
|
|
9316
|
+
(function(module2, exports$1) {
|
|
9340
9317
|
;
|
|
9341
9318
|
(function(root2, factory, undef) {
|
|
9342
9319
|
if (true) {
|
|
9343
|
-
module2.exports =
|
|
9320
|
+
module2.exports = exports$1 = factory(requireCore(), requireSha256(), requireHmac());
|
|
9344
9321
|
} else if (false) {
|
|
9345
9322
|
(void 0)(["./core", "./sha256", "./hmac"], factory);
|
|
9346
9323
|
} else {
|
|
@@ -9439,11 +9416,11 @@ var FastUtils = function(exports, vue) {
|
|
|
9439
9416
|
function requireEvpkdf() {
|
|
9440
9417
|
if (hasRequiredEvpkdf) return evpkdf$1.exports;
|
|
9441
9418
|
hasRequiredEvpkdf = 1;
|
|
9442
|
-
(function(module2,
|
|
9419
|
+
(function(module2, exports$1) {
|
|
9443
9420
|
;
|
|
9444
9421
|
(function(root2, factory, undef) {
|
|
9445
9422
|
if (true) {
|
|
9446
|
-
module2.exports =
|
|
9423
|
+
module2.exports = exports$1 = factory(requireCore(), requireSha1(), requireHmac());
|
|
9447
9424
|
} else if (false) {
|
|
9448
9425
|
(void 0)(["./core", "./sha1", "./hmac"], factory);
|
|
9449
9426
|
} else {
|
|
@@ -9535,18 +9512,18 @@ var FastUtils = function(exports, vue) {
|
|
|
9535
9512
|
function requireCipherCore() {
|
|
9536
9513
|
if (hasRequiredCipherCore) return cipherCore$1.exports;
|
|
9537
9514
|
hasRequiredCipherCore = 1;
|
|
9538
|
-
(function(module2,
|
|
9515
|
+
(function(module2, exports$1) {
|
|
9539
9516
|
;
|
|
9540
9517
|
(function(root2, factory, undef) {
|
|
9541
9518
|
if (true) {
|
|
9542
|
-
module2.exports =
|
|
9519
|
+
module2.exports = exports$1 = factory(requireCore(), requireEvpkdf());
|
|
9543
9520
|
} else if (false) {
|
|
9544
9521
|
(void 0)(["./core", "./evpkdf"], factory);
|
|
9545
9522
|
} else {
|
|
9546
9523
|
factory(root2.CryptoJS);
|
|
9547
9524
|
}
|
|
9548
9525
|
})(cipherCore, function(CryptoJS) {
|
|
9549
|
-
CryptoJS.lib.Cipher || function(undefined$1) {
|
|
9526
|
+
CryptoJS.lib.Cipher || (function(undefined$1) {
|
|
9550
9527
|
var C = CryptoJS;
|
|
9551
9528
|
var C_lib = C.lib;
|
|
9552
9529
|
var Base = C_lib.Base;
|
|
@@ -9680,7 +9657,7 @@ var FastUtils = function(exports, vue) {
|
|
|
9680
9657
|
*
|
|
9681
9658
|
* var AES = CryptoJS.lib.Cipher._createHelper(CryptoJS.algo.AES);
|
|
9682
9659
|
*/
|
|
9683
|
-
_createHelper: /* @__PURE__ */ function() {
|
|
9660
|
+
_createHelper: /* @__PURE__ */ (function() {
|
|
9684
9661
|
function selectCipherStrategy(key) {
|
|
9685
9662
|
if (typeof key == "string") {
|
|
9686
9663
|
return PasswordBasedCipher;
|
|
@@ -9698,7 +9675,7 @@ var FastUtils = function(exports, vue) {
|
|
|
9698
9675
|
}
|
|
9699
9676
|
};
|
|
9700
9677
|
};
|
|
9701
|
-
}()
|
|
9678
|
+
})()
|
|
9702
9679
|
});
|
|
9703
9680
|
var StreamCipher = C_lib.StreamCipher = Cipher.extend({
|
|
9704
9681
|
_doFinalize: function() {
|
|
@@ -9754,7 +9731,7 @@ var FastUtils = function(exports, vue) {
|
|
|
9754
9731
|
this._iv = iv;
|
|
9755
9732
|
}
|
|
9756
9733
|
});
|
|
9757
|
-
var CBC = C_mode.CBC = function() {
|
|
9734
|
+
var CBC = C_mode.CBC = (function() {
|
|
9758
9735
|
var CBC2 = BlockCipherMode.extend();
|
|
9759
9736
|
CBC2.Encryptor = CBC2.extend({
|
|
9760
9737
|
/**
|
|
@@ -9809,7 +9786,7 @@ var FastUtils = function(exports, vue) {
|
|
|
9809
9786
|
}
|
|
9810
9787
|
}
|
|
9811
9788
|
return CBC2;
|
|
9812
|
-
}();
|
|
9789
|
+
})();
|
|
9813
9790
|
var C_pad = C.pad = {};
|
|
9814
9791
|
var Pkcs7 = C_pad.Pkcs7 = {
|
|
9815
9792
|
/**
|
|
@@ -10173,7 +10150,7 @@ var FastUtils = function(exports, vue) {
|
|
|
10173
10150
|
return plaintext;
|
|
10174
10151
|
}
|
|
10175
10152
|
});
|
|
10176
|
-
}();
|
|
10153
|
+
})();
|
|
10177
10154
|
});
|
|
10178
10155
|
})(cipherCore$1, cipherCore$1.exports);
|
|
10179
10156
|
return cipherCore$1.exports;
|
|
@@ -10184,18 +10161,18 @@ var FastUtils = function(exports, vue) {
|
|
|
10184
10161
|
function requireModeCfb() {
|
|
10185
10162
|
if (hasRequiredModeCfb) return modeCfb$1.exports;
|
|
10186
10163
|
hasRequiredModeCfb = 1;
|
|
10187
|
-
(function(module2,
|
|
10164
|
+
(function(module2, exports$1) {
|
|
10188
10165
|
;
|
|
10189
10166
|
(function(root2, factory, undef) {
|
|
10190
10167
|
if (true) {
|
|
10191
|
-
module2.exports =
|
|
10168
|
+
module2.exports = exports$1 = factory(requireCore(), requireCipherCore());
|
|
10192
10169
|
} else if (false) {
|
|
10193
10170
|
(void 0)(["./core", "./cipher-core"], factory);
|
|
10194
10171
|
} else {
|
|
10195
10172
|
factory(root2.CryptoJS);
|
|
10196
10173
|
}
|
|
10197
10174
|
})(modeCfb, function(CryptoJS) {
|
|
10198
|
-
CryptoJS.mode.CFB = function() {
|
|
10175
|
+
CryptoJS.mode.CFB = (function() {
|
|
10199
10176
|
var CFB = CryptoJS.lib.BlockCipherMode.extend();
|
|
10200
10177
|
CFB.Encryptor = CFB.extend({
|
|
10201
10178
|
processBlock: function(words2, offset) {
|
|
@@ -10229,7 +10206,7 @@ var FastUtils = function(exports, vue) {
|
|
|
10229
10206
|
}
|
|
10230
10207
|
}
|
|
10231
10208
|
return CFB;
|
|
10232
|
-
}();
|
|
10209
|
+
})();
|
|
10233
10210
|
return CryptoJS.mode.CFB;
|
|
10234
10211
|
});
|
|
10235
10212
|
})(modeCfb$1, modeCfb$1.exports);
|
|
@@ -10241,18 +10218,18 @@ var FastUtils = function(exports, vue) {
|
|
|
10241
10218
|
function requireModeCtr() {
|
|
10242
10219
|
if (hasRequiredModeCtr) return modeCtr$1.exports;
|
|
10243
10220
|
hasRequiredModeCtr = 1;
|
|
10244
|
-
(function(module2,
|
|
10221
|
+
(function(module2, exports$1) {
|
|
10245
10222
|
;
|
|
10246
10223
|
(function(root2, factory, undef) {
|
|
10247
10224
|
if (true) {
|
|
10248
|
-
module2.exports =
|
|
10225
|
+
module2.exports = exports$1 = factory(requireCore(), requireCipherCore());
|
|
10249
10226
|
} else if (false) {
|
|
10250
10227
|
(void 0)(["./core", "./cipher-core"], factory);
|
|
10251
10228
|
} else {
|
|
10252
10229
|
factory(root2.CryptoJS);
|
|
10253
10230
|
}
|
|
10254
10231
|
})(modeCtr, function(CryptoJS) {
|
|
10255
|
-
CryptoJS.mode.CTR = function() {
|
|
10232
|
+
CryptoJS.mode.CTR = (function() {
|
|
10256
10233
|
var CTR = CryptoJS.lib.BlockCipherMode.extend();
|
|
10257
10234
|
var Encryptor = CTR.Encryptor = CTR.extend({
|
|
10258
10235
|
processBlock: function(words2, offset) {
|
|
@@ -10274,7 +10251,7 @@ var FastUtils = function(exports, vue) {
|
|
|
10274
10251
|
});
|
|
10275
10252
|
CTR.Decryptor = Encryptor;
|
|
10276
10253
|
return CTR;
|
|
10277
|
-
}();
|
|
10254
|
+
})();
|
|
10278
10255
|
return CryptoJS.mode.CTR;
|
|
10279
10256
|
});
|
|
10280
10257
|
})(modeCtr$1, modeCtr$1.exports);
|
|
@@ -10286,23 +10263,18 @@ var FastUtils = function(exports, vue) {
|
|
|
10286
10263
|
function requireModeCtrGladman() {
|
|
10287
10264
|
if (hasRequiredModeCtrGladman) return modeCtrGladman$1.exports;
|
|
10288
10265
|
hasRequiredModeCtrGladman = 1;
|
|
10289
|
-
(function(module2,
|
|
10266
|
+
(function(module2, exports$1) {
|
|
10290
10267
|
;
|
|
10291
10268
|
(function(root2, factory, undef) {
|
|
10292
10269
|
if (true) {
|
|
10293
|
-
module2.exports =
|
|
10270
|
+
module2.exports = exports$1 = factory(requireCore(), requireCipherCore());
|
|
10294
10271
|
} else if (false) {
|
|
10295
10272
|
(void 0)(["./core", "./cipher-core"], factory);
|
|
10296
10273
|
} else {
|
|
10297
10274
|
factory(root2.CryptoJS);
|
|
10298
10275
|
}
|
|
10299
10276
|
})(modeCtrGladman, function(CryptoJS) {
|
|
10300
|
-
|
|
10301
|
-
* Counter block mode compatible with Dr Brian Gladman fileenc.c
|
|
10302
|
-
* derived from CryptoJS.mode.CTR
|
|
10303
|
-
* Jan Hruby jhruby.web@gmail.com
|
|
10304
|
-
*/
|
|
10305
|
-
CryptoJS.mode.CTRGladman = function() {
|
|
10277
|
+
CryptoJS.mode.CTRGladman = (function() {
|
|
10306
10278
|
var CTRGladman = CryptoJS.lib.BlockCipherMode.extend();
|
|
10307
10279
|
function incWord(word) {
|
|
10308
10280
|
if ((word >> 24 & 255) === 255) {
|
|
@@ -10359,7 +10331,7 @@ var FastUtils = function(exports, vue) {
|
|
|
10359
10331
|
});
|
|
10360
10332
|
CTRGladman.Decryptor = Encryptor;
|
|
10361
10333
|
return CTRGladman;
|
|
10362
|
-
}();
|
|
10334
|
+
})();
|
|
10363
10335
|
return CryptoJS.mode.CTRGladman;
|
|
10364
10336
|
});
|
|
10365
10337
|
})(modeCtrGladman$1, modeCtrGladman$1.exports);
|
|
@@ -10371,18 +10343,18 @@ var FastUtils = function(exports, vue) {
|
|
|
10371
10343
|
function requireModeOfb() {
|
|
10372
10344
|
if (hasRequiredModeOfb) return modeOfb$1.exports;
|
|
10373
10345
|
hasRequiredModeOfb = 1;
|
|
10374
|
-
(function(module2,
|
|
10346
|
+
(function(module2, exports$1) {
|
|
10375
10347
|
;
|
|
10376
10348
|
(function(root2, factory, undef) {
|
|
10377
10349
|
if (true) {
|
|
10378
|
-
module2.exports =
|
|
10350
|
+
module2.exports = exports$1 = factory(requireCore(), requireCipherCore());
|
|
10379
10351
|
} else if (false) {
|
|
10380
10352
|
(void 0)(["./core", "./cipher-core"], factory);
|
|
10381
10353
|
} else {
|
|
10382
10354
|
factory(root2.CryptoJS);
|
|
10383
10355
|
}
|
|
10384
10356
|
})(modeOfb, function(CryptoJS) {
|
|
10385
|
-
CryptoJS.mode.OFB = function() {
|
|
10357
|
+
CryptoJS.mode.OFB = (function() {
|
|
10386
10358
|
var OFB = CryptoJS.lib.BlockCipherMode.extend();
|
|
10387
10359
|
var Encryptor = OFB.Encryptor = OFB.extend({
|
|
10388
10360
|
processBlock: function(words2, offset) {
|
|
@@ -10402,7 +10374,7 @@ var FastUtils = function(exports, vue) {
|
|
|
10402
10374
|
});
|
|
10403
10375
|
OFB.Decryptor = Encryptor;
|
|
10404
10376
|
return OFB;
|
|
10405
|
-
}();
|
|
10377
|
+
})();
|
|
10406
10378
|
return CryptoJS.mode.OFB;
|
|
10407
10379
|
});
|
|
10408
10380
|
})(modeOfb$1, modeOfb$1.exports);
|
|
@@ -10414,18 +10386,18 @@ var FastUtils = function(exports, vue) {
|
|
|
10414
10386
|
function requireModeEcb() {
|
|
10415
10387
|
if (hasRequiredModeEcb) return modeEcb$1.exports;
|
|
10416
10388
|
hasRequiredModeEcb = 1;
|
|
10417
|
-
(function(module2,
|
|
10389
|
+
(function(module2, exports$1) {
|
|
10418
10390
|
;
|
|
10419
10391
|
(function(root2, factory, undef) {
|
|
10420
10392
|
if (true) {
|
|
10421
|
-
module2.exports =
|
|
10393
|
+
module2.exports = exports$1 = factory(requireCore(), requireCipherCore());
|
|
10422
10394
|
} else if (false) {
|
|
10423
10395
|
(void 0)(["./core", "./cipher-core"], factory);
|
|
10424
10396
|
} else {
|
|
10425
10397
|
factory(root2.CryptoJS);
|
|
10426
10398
|
}
|
|
10427
10399
|
})(modeEcb, function(CryptoJS) {
|
|
10428
|
-
CryptoJS.mode.ECB = function() {
|
|
10400
|
+
CryptoJS.mode.ECB = (function() {
|
|
10429
10401
|
var ECB = CryptoJS.lib.BlockCipherMode.extend();
|
|
10430
10402
|
ECB.Encryptor = ECB.extend({
|
|
10431
10403
|
processBlock: function(words2, offset) {
|
|
@@ -10438,7 +10410,7 @@ var FastUtils = function(exports, vue) {
|
|
|
10438
10410
|
}
|
|
10439
10411
|
});
|
|
10440
10412
|
return ECB;
|
|
10441
|
-
}();
|
|
10413
|
+
})();
|
|
10442
10414
|
return CryptoJS.mode.ECB;
|
|
10443
10415
|
});
|
|
10444
10416
|
})(modeEcb$1, modeEcb$1.exports);
|
|
@@ -10450,11 +10422,11 @@ var FastUtils = function(exports, vue) {
|
|
|
10450
10422
|
function requirePadAnsix923() {
|
|
10451
10423
|
if (hasRequiredPadAnsix923) return padAnsix923$1.exports;
|
|
10452
10424
|
hasRequiredPadAnsix923 = 1;
|
|
10453
|
-
(function(module2,
|
|
10425
|
+
(function(module2, exports$1) {
|
|
10454
10426
|
;
|
|
10455
10427
|
(function(root2, factory, undef) {
|
|
10456
10428
|
if (true) {
|
|
10457
|
-
module2.exports =
|
|
10429
|
+
module2.exports = exports$1 = factory(requireCore(), requireCipherCore());
|
|
10458
10430
|
} else if (false) {
|
|
10459
10431
|
(void 0)(["./core", "./cipher-core"], factory);
|
|
10460
10432
|
} else {
|
|
@@ -10487,11 +10459,11 @@ var FastUtils = function(exports, vue) {
|
|
|
10487
10459
|
function requirePadIso10126() {
|
|
10488
10460
|
if (hasRequiredPadIso10126) return padIso10126$1.exports;
|
|
10489
10461
|
hasRequiredPadIso10126 = 1;
|
|
10490
|
-
(function(module2,
|
|
10462
|
+
(function(module2, exports$1) {
|
|
10491
10463
|
;
|
|
10492
10464
|
(function(root2, factory, undef) {
|
|
10493
10465
|
if (true) {
|
|
10494
|
-
module2.exports =
|
|
10466
|
+
module2.exports = exports$1 = factory(requireCore(), requireCipherCore());
|
|
10495
10467
|
} else if (false) {
|
|
10496
10468
|
(void 0)(["./core", "./cipher-core"], factory);
|
|
10497
10469
|
} else {
|
|
@@ -10520,11 +10492,11 @@ var FastUtils = function(exports, vue) {
|
|
|
10520
10492
|
function requirePadIso97971() {
|
|
10521
10493
|
if (hasRequiredPadIso97971) return padIso97971$1.exports;
|
|
10522
10494
|
hasRequiredPadIso97971 = 1;
|
|
10523
|
-
(function(module2,
|
|
10495
|
+
(function(module2, exports$1) {
|
|
10524
10496
|
;
|
|
10525
10497
|
(function(root2, factory, undef) {
|
|
10526
10498
|
if (true) {
|
|
10527
|
-
module2.exports =
|
|
10499
|
+
module2.exports = exports$1 = factory(requireCore(), requireCipherCore());
|
|
10528
10500
|
} else if (false) {
|
|
10529
10501
|
(void 0)(["./core", "./cipher-core"], factory);
|
|
10530
10502
|
} else {
|
|
@@ -10552,11 +10524,11 @@ var FastUtils = function(exports, vue) {
|
|
|
10552
10524
|
function requirePadZeropadding() {
|
|
10553
10525
|
if (hasRequiredPadZeropadding) return padZeropadding$1.exports;
|
|
10554
10526
|
hasRequiredPadZeropadding = 1;
|
|
10555
|
-
(function(module2,
|
|
10527
|
+
(function(module2, exports$1) {
|
|
10556
10528
|
;
|
|
10557
10529
|
(function(root2, factory, undef) {
|
|
10558
10530
|
if (true) {
|
|
10559
|
-
module2.exports =
|
|
10531
|
+
module2.exports = exports$1 = factory(requireCore(), requireCipherCore());
|
|
10560
10532
|
} else if (false) {
|
|
10561
10533
|
(void 0)(["./core", "./cipher-core"], factory);
|
|
10562
10534
|
} else {
|
|
@@ -10591,11 +10563,11 @@ var FastUtils = function(exports, vue) {
|
|
|
10591
10563
|
function requirePadNopadding() {
|
|
10592
10564
|
if (hasRequiredPadNopadding) return padNopadding$1.exports;
|
|
10593
10565
|
hasRequiredPadNopadding = 1;
|
|
10594
|
-
(function(module2,
|
|
10566
|
+
(function(module2, exports$1) {
|
|
10595
10567
|
;
|
|
10596
10568
|
(function(root2, factory, undef) {
|
|
10597
10569
|
if (true) {
|
|
10598
|
-
module2.exports =
|
|
10570
|
+
module2.exports = exports$1 = factory(requireCore(), requireCipherCore());
|
|
10599
10571
|
} else if (false) {
|
|
10600
10572
|
(void 0)(["./core", "./cipher-core"], factory);
|
|
10601
10573
|
} else {
|
|
@@ -10619,11 +10591,11 @@ var FastUtils = function(exports, vue) {
|
|
|
10619
10591
|
function requireFormatHex() {
|
|
10620
10592
|
if (hasRequiredFormatHex) return formatHex$1.exports;
|
|
10621
10593
|
hasRequiredFormatHex = 1;
|
|
10622
|
-
(function(module2,
|
|
10594
|
+
(function(module2, exports$1) {
|
|
10623
10595
|
;
|
|
10624
10596
|
(function(root2, factory, undef) {
|
|
10625
10597
|
if (true) {
|
|
10626
|
-
module2.exports =
|
|
10598
|
+
module2.exports = exports$1 = factory(requireCore(), requireCipherCore());
|
|
10627
10599
|
} else if (false) {
|
|
10628
10600
|
(void 0)(["./core", "./cipher-core"], factory);
|
|
10629
10601
|
} else {
|
|
@@ -10684,11 +10656,11 @@ var FastUtils = function(exports, vue) {
|
|
|
10684
10656
|
function requireAes() {
|
|
10685
10657
|
if (hasRequiredAes) return aes$1.exports;
|
|
10686
10658
|
hasRequiredAes = 1;
|
|
10687
|
-
(function(module2,
|
|
10659
|
+
(function(module2, exports$1) {
|
|
10688
10660
|
;
|
|
10689
10661
|
(function(root2, factory, undef) {
|
|
10690
10662
|
if (true) {
|
|
10691
|
-
module2.exports =
|
|
10663
|
+
module2.exports = exports$1 = factory(requireCore(), requireEncBase64(), requireMd5(), requireEvpkdf(), requireCipherCore());
|
|
10692
10664
|
} else if (false) {
|
|
10693
10665
|
(void 0)(["./core", "./enc-base64", "./md5", "./evpkdf", "./cipher-core"], factory);
|
|
10694
10666
|
} else {
|
|
@@ -10843,11 +10815,11 @@ var FastUtils = function(exports, vue) {
|
|
|
10843
10815
|
function requireTripledes() {
|
|
10844
10816
|
if (hasRequiredTripledes) return tripledes$1.exports;
|
|
10845
10817
|
hasRequiredTripledes = 1;
|
|
10846
|
-
(function(module2,
|
|
10818
|
+
(function(module2, exports$1) {
|
|
10847
10819
|
;
|
|
10848
10820
|
(function(root2, factory, undef) {
|
|
10849
10821
|
if (true) {
|
|
10850
|
-
module2.exports =
|
|
10822
|
+
module2.exports = exports$1 = factory(requireCore(), requireEncBase64(), requireMd5(), requireEvpkdf(), requireCipherCore());
|
|
10851
10823
|
} else if (false) {
|
|
10852
10824
|
(void 0)(["./core", "./enc-base64", "./md5", "./evpkdf", "./cipher-core"], factory);
|
|
10853
10825
|
} else {
|
|
@@ -11629,11 +11601,11 @@ var FastUtils = function(exports, vue) {
|
|
|
11629
11601
|
function requireRc4() {
|
|
11630
11602
|
if (hasRequiredRc4) return rc4$1.exports;
|
|
11631
11603
|
hasRequiredRc4 = 1;
|
|
11632
|
-
(function(module2,
|
|
11604
|
+
(function(module2, exports$1) {
|
|
11633
11605
|
;
|
|
11634
11606
|
(function(root2, factory, undef) {
|
|
11635
11607
|
if (true) {
|
|
11636
|
-
module2.exports =
|
|
11608
|
+
module2.exports = exports$1 = factory(requireCore(), requireEncBase64(), requireMd5(), requireEvpkdf(), requireCipherCore());
|
|
11637
11609
|
} else if (false) {
|
|
11638
11610
|
(void 0)(["./core", "./enc-base64", "./md5", "./evpkdf", "./cipher-core"], factory);
|
|
11639
11611
|
} else {
|
|
@@ -11717,11 +11689,11 @@ var FastUtils = function(exports, vue) {
|
|
|
11717
11689
|
function requireRabbit() {
|
|
11718
11690
|
if (hasRequiredRabbit) return rabbit$1.exports;
|
|
11719
11691
|
hasRequiredRabbit = 1;
|
|
11720
|
-
(function(module2,
|
|
11692
|
+
(function(module2, exports$1) {
|
|
11721
11693
|
;
|
|
11722
11694
|
(function(root2, factory, undef) {
|
|
11723
11695
|
if (true) {
|
|
11724
|
-
module2.exports =
|
|
11696
|
+
module2.exports = exports$1 = factory(requireCore(), requireEncBase64(), requireMd5(), requireEvpkdf(), requireCipherCore());
|
|
11725
11697
|
} else if (false) {
|
|
11726
11698
|
(void 0)(["./core", "./enc-base64", "./md5", "./evpkdf", "./cipher-core"], factory);
|
|
11727
11699
|
} else {
|
|
@@ -11851,11 +11823,11 @@ var FastUtils = function(exports, vue) {
|
|
|
11851
11823
|
function requireRabbitLegacy() {
|
|
11852
11824
|
if (hasRequiredRabbitLegacy) return rabbitLegacy$1.exports;
|
|
11853
11825
|
hasRequiredRabbitLegacy = 1;
|
|
11854
|
-
(function(module2,
|
|
11826
|
+
(function(module2, exports$1) {
|
|
11855
11827
|
;
|
|
11856
11828
|
(function(root2, factory, undef) {
|
|
11857
11829
|
if (true) {
|
|
11858
|
-
module2.exports =
|
|
11830
|
+
module2.exports = exports$1 = factory(requireCore(), requireEncBase64(), requireMd5(), requireEvpkdf(), requireCipherCore());
|
|
11859
11831
|
} else if (false) {
|
|
11860
11832
|
(void 0)(["./core", "./enc-base64", "./md5", "./evpkdf", "./cipher-core"], factory);
|
|
11861
11833
|
} else {
|
|
@@ -11982,11 +11954,11 @@ var FastUtils = function(exports, vue) {
|
|
|
11982
11954
|
function requireBlowfish() {
|
|
11983
11955
|
if (hasRequiredBlowfish) return blowfish$1.exports;
|
|
11984
11956
|
hasRequiredBlowfish = 1;
|
|
11985
|
-
(function(module2,
|
|
11957
|
+
(function(module2, exports$1) {
|
|
11986
11958
|
;
|
|
11987
11959
|
(function(root2, factory, undef) {
|
|
11988
11960
|
if (true) {
|
|
11989
|
-
module2.exports =
|
|
11961
|
+
module2.exports = exports$1 = factory(requireCore(), requireEncBase64(), requireMd5(), requireEvpkdf(), requireCipherCore());
|
|
11990
11962
|
} else if (false) {
|
|
11991
11963
|
(void 0)(["./core", "./enc-base64", "./md5", "./evpkdf", "./cipher-core"], factory);
|
|
11992
11964
|
} else {
|
|
@@ -13175,11 +13147,11 @@ var FastUtils = function(exports, vue) {
|
|
|
13175
13147
|
function requireCryptoJs() {
|
|
13176
13148
|
if (hasRequiredCryptoJs) return cryptoJs$1.exports;
|
|
13177
13149
|
hasRequiredCryptoJs = 1;
|
|
13178
|
-
(function(module2,
|
|
13150
|
+
(function(module2, exports$1) {
|
|
13179
13151
|
;
|
|
13180
13152
|
(function(root2, factory, undef) {
|
|
13181
13153
|
if (true) {
|
|
13182
|
-
module2.exports =
|
|
13154
|
+
module2.exports = exports$1 = factory(requireCore(), requireX64Core(), requireLibTypedarrays(), requireEncUtf16(), requireEncBase64(), requireEncBase64url(), requireMd5(), requireSha1(), requireSha256(), requireSha224(), requireSha512(), requireSha384(), requireSha3(), requireRipemd160(), requireHmac(), requirePbkdf2(), requireEvpkdf(), requireCipherCore(), requireModeCfb(), requireModeCtr(), requireModeCtrGladman(), requireModeOfb(), requireModeEcb(), requirePadAnsix923(), requirePadIso10126(), requirePadIso97971(), requirePadZeropadding(), requirePadNopadding(), requireFormatHex(), requireAes(), requireTripledes(), requireRc4(), requireRabbit(), requireRabbitLegacy(), requireBlowfish());
|
|
13183
13155
|
} else if (false) {
|
|
13184
13156
|
(void 0)(["./core", "./x64-core", "./lib-typedarrays", "./enc-utf16", "./enc-base64", "./enc-base64url", "./md5", "./sha1", "./sha256", "./sha224", "./sha512", "./sha384", "./sha3", "./ripemd160", "./hmac", "./pbkdf2", "./evpkdf", "./cipher-core", "./mode-cfb", "./mode-ctr", "./mode-ctr-gladman", "./mode-ofb", "./mode-ecb", "./pad-ansix923", "./pad-iso10126", "./pad-iso97971", "./pad-zeropadding", "./pad-nopadding", "./format-hex", "./aes", "./tripledes", "./rc4", "./rabbit", "./rabbit-legacy", "./blowfish"], factory);
|
|
13185
13157
|
} else {
|
|
@@ -13575,7 +13547,7 @@ var FastUtils = function(exports, vue) {
|
|
|
13575
13547
|
const styleToString = (styles) => {
|
|
13576
13548
|
if (!styles) return "";
|
|
13577
13549
|
if (isArray(styles)) {
|
|
13578
|
-
return styles.filter((item) => item &&
|
|
13550
|
+
return styles.filter((item) => item && item?.length > 0).map((item) => styleToString(item)).join(" ");
|
|
13579
13551
|
} else if (isString(styles)) {
|
|
13580
13552
|
return styles.trimEnd().endsWith(";") ? styles.trimEnd() : `${styles.trimEnd()};`;
|
|
13581
13553
|
} else {
|
|
@@ -13699,7 +13671,7 @@ var FastUtils = function(exports, vue) {
|
|
|
13699
13671
|
*/
|
|
13700
13672
|
set(key, val, expire, encrypt) {
|
|
13701
13673
|
try {
|
|
13702
|
-
encrypt
|
|
13674
|
+
encrypt ??= state$1.crypto;
|
|
13703
13675
|
if (expire) {
|
|
13704
13676
|
if (isNaN(expire) || expire < 1) {
|
|
13705
13677
|
throw new FastError("有效期应为一个有效数值");
|
|
@@ -13728,7 +13700,7 @@ var FastUtils = function(exports, vue) {
|
|
|
13728
13700
|
*/
|
|
13729
13701
|
get(key, decrypt) {
|
|
13730
13702
|
try {
|
|
13731
|
-
decrypt
|
|
13703
|
+
decrypt ??= state$1.crypto;
|
|
13732
13704
|
let valJson = storage.get(`${state$1.prefix}${key}`);
|
|
13733
13705
|
if (valJson) {
|
|
13734
13706
|
if (decrypt) {
|
|
@@ -13806,7 +13778,7 @@ var FastUtils = function(exports, vue) {
|
|
|
13806
13778
|
return;
|
|
13807
13779
|
}
|
|
13808
13780
|
try {
|
|
13809
|
-
encrypt
|
|
13781
|
+
encrypt ??= state$1.crypto;
|
|
13810
13782
|
if (expire) {
|
|
13811
13783
|
if (isNaN(expire) || expire < 1) {
|
|
13812
13784
|
throw new FastError("有效期应为一个有效数值");
|
|
@@ -13839,7 +13811,7 @@ var FastUtils = function(exports, vue) {
|
|
|
13839
13811
|
return;
|
|
13840
13812
|
}
|
|
13841
13813
|
try {
|
|
13842
|
-
decrypt
|
|
13814
|
+
decrypt ??= state$1.crypto;
|
|
13843
13815
|
let valJson = window.sessionStorage.getItem(`${state$1.prefix}${key}`);
|
|
13844
13816
|
if (valJson) {
|
|
13845
13817
|
if (decrypt) {
|
|
@@ -14045,7 +14017,7 @@ var FastUtils = function(exports, vue) {
|
|
|
14045
14017
|
});
|
|
14046
14018
|
});
|
|
14047
14019
|
} else {
|
|
14048
|
-
if (
|
|
14020
|
+
if (navigator?.clipboard && window.isSecureContext) {
|
|
14049
14021
|
await navigator.clipboard.writeText(value);
|
|
14050
14022
|
} else {
|
|
14051
14023
|
const textareaEl = document.createElement("textarea");
|
|
@@ -14231,7 +14203,7 @@ var FastUtils = function(exports, vue) {
|
|
|
14231
14203
|
});
|
|
14232
14204
|
const uuidRegExp = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
|
|
14233
14205
|
const makeIdentity = (deviceID) => {
|
|
14234
|
-
deviceID
|
|
14206
|
+
deviceID ??= state.deviceId;
|
|
14235
14207
|
if (deviceID && uuidRegExp.test(deviceID)) {
|
|
14236
14208
|
Local.set(state.cacheKey, deviceID);
|
|
14237
14209
|
state.deviceId = deviceID;
|
|
@@ -14400,5 +14372,5 @@ var FastUtils = function(exports, vue) {
|
|
|
14400
14372
|
exports.withNoopInstall = withNoopInstall;
|
|
14401
14373
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
14402
14374
|
return exports;
|
|
14403
|
-
}({}, Vue);
|
|
14375
|
+
})({}, Vue);
|
|
14404
14376
|
//# sourceMappingURL=index.global.js.map
|