orion-design 0.1.31 → 0.1.33
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +5 -5
- package/dist/Throne/hooks/use-throne-context.d.ts +5 -0
- package/dist/Throne/hooks/use-throne-context.js +15 -0
- package/dist/Throne/hooks/use-throne-context.js.map +1 -0
- package/dist/Throne/index.d.ts +1 -1
- package/dist/Throne/index.js +14 -30
- package/dist/Throne/index.js.map +1 -1
- package/dist/components/Button/ButtonGroup/ButtonGroup.d.ts +2 -0
- package/dist/components/Button/index.js +36 -41
- package/dist/components/Button/index.js.map +1 -1
- package/dist/components/Flex/index.js +89 -122
- package/dist/components/Flex/index.js.map +1 -1
- package/dist/components/Form/FileInput/FileInput.vue.d.ts +4 -4
- package/dist/components/Form/Form.js +2 -2
- package/dist/components/Form/Form.js.map +1 -1
- package/dist/components/Form/LovInput/LovInput.js +2 -2
- package/dist/components/Form/LovInput/LovInput.js.map +1 -1
- package/dist/components/Form/LovInput/LovInput.vue.d.ts +894 -0
- package/dist/components/Form/LovInput/hooks/useLov.js +5 -5
- package/dist/components/Form/LovInput/hooks/useLov.js.map +1 -1
- package/dist/components/Form/LovInput/index.js +4 -4
- package/dist/components/Form/MultiTableSelect/MultiTableSelect.d.ts +26 -0
- package/dist/components/Form/MultiTableSelect/MultiTableSelect.js +5 -0
- package/dist/components/Form/MultiTableSelect/MultiTableSelect.js.map +1 -0
- package/dist/components/Form/MultiTableSelect/MultiTableSelect.vue.d.ts +6249 -0
- package/dist/components/Form/MultiTableSelect/hooks/useMultiTableSelect.d.ts +1 -0
- package/dist/components/Form/MultiTableSelect/hooks/useMultiTableSelect.js +9 -0
- package/dist/components/Form/MultiTableSelect/hooks/useMultiTableSelect.js.map +1 -0
- package/dist/components/Form/MultiTableSelect/index.d.ts +2 -0
- package/dist/components/Form/MultiTableSelect/index.js +7 -0
- package/dist/components/Form/MultiTableSelect/index.js.map +1 -0
- package/dist/components/Form/hooks/FormItemValidateTrigger.js +2 -2
- package/dist/components/Form/hooks/FormItemValidateTrigger.js.map +1 -1
- package/dist/components/Form/hooks/index.js +69 -127
- package/dist/components/Form/hooks/index.js.map +1 -1
- package/dist/components/Form/index.d.ts +3 -0
- package/dist/components/Form/index.js +790 -829
- package/dist/components/Form/index.js.map +1 -1
- package/dist/components/Form/utils/index.js +18 -30
- package/dist/components/Form/utils/index.js.map +1 -1
- package/dist/components/LovTable/LovPagetable.vue.d.ts +510 -6
- package/dist/components/LovTable/LovQuerytable.vue.d.ts +468 -4
- package/dist/components/LovTable/index.d.ts +489 -5
- package/dist/components/LovTable/index.js +104 -179
- package/dist/components/LovTable/index.js.map +1 -1
- package/dist/components/Modal/index.js +56 -111
- package/dist/components/Modal/index.js.map +1 -1
- package/dist/components/Modal/types.d.ts +1 -1
- package/dist/components/Modal/types.js +3 -4
- package/dist/components/Modal/types.js.map +1 -1
- package/dist/components/Modal/useModal.js +5 -5
- package/dist/components/Modal/useModal.js.map +1 -1
- package/dist/components/MultiTableSelectPagetable/MultiTableSelectPagetable.vue.d.ts +880 -0
- package/dist/components/MultiTableSelectPagetable/index.d.ts +462 -0
- package/dist/components/MultiTableSelectPagetable/index.js +164 -0
- package/dist/components/MultiTableSelectPagetable/index.js.map +1 -0
- package/dist/components/Pagetable/Pagetable.d.ts +96 -3
- package/dist/components/Pagetable/columns/PagetableColumnButtongroup.d.ts +14 -1
- package/dist/components/Pagetable/columns/PagetableColumnDate.d.ts +14 -1
- package/dist/components/Pagetable/columns/PagetableColumnDiy.d.ts +1 -1
- package/dist/components/Pagetable/columns/PagetableColumnLink.d.ts +14 -1
- package/dist/components/Pagetable/columns/PagetableColumnMultiselect.d.ts +14 -1
- package/dist/components/Pagetable/columns/PagetableColumnNumber.d.ts +14 -1
- package/dist/components/Pagetable/columns/PagetableColumnSingleselect.d.ts +14 -1
- package/dist/components/Pagetable/columns/PagetableColumnString.d.ts +14 -1
- package/dist/components/Pagetable/hooks/useCode.d.ts +2 -0
- package/dist/components/Pagetable/hooks/useCode.js +24 -0
- package/dist/components/Pagetable/hooks/useCode.js.map +1 -0
- package/dist/components/Pagetable/hooks/useColumns.js +85 -88
- package/dist/components/Pagetable/hooks/useColumns.js.map +1 -1
- package/dist/components/Pagetable/index.d.ts +159 -2
- package/dist/components/Pagetable/index.js +601 -684
- package/dist/components/Pagetable/index.js.map +1 -1
- package/dist/components/Pagetable/utils/index.js +54 -92
- package/dist/components/Pagetable/utils/index.js.map +1 -1
- package/dist/components/Querytable/Querytable.d.ts +80 -2
- package/dist/components/Querytable/columns/QuerytableColumnButtongroup.d.ts +14 -1
- package/dist/components/Querytable/columns/QuerytableColumnDate.d.ts +14 -1
- package/dist/components/Querytable/columns/QuerytableColumnDiy.d.ts +1 -1
- package/dist/components/Querytable/columns/QuerytableColumnLink.d.ts +14 -1
- package/dist/components/Querytable/columns/QuerytableColumnMultiselect.d.ts +14 -1
- package/dist/components/Querytable/columns/QuerytableColumnNumber.d.ts +14 -1
- package/dist/components/Querytable/columns/QuerytableColumnSingleselect.d.ts +14 -1
- package/dist/components/Querytable/columns/QuerytableColumnString.d.ts +14 -1
- package/dist/components/Querytable/hooks/useColumns.js +79 -82
- package/dist/components/Querytable/hooks/useColumns.js.map +1 -1
- package/dist/components/Querytable/index.d.ts +147 -1
- package/dist/components/Querytable/index.js +526 -579
- package/dist/components/Querytable/index.js.map +1 -1
- package/dist/components/Querytable/utils/index.js +54 -92
- package/dist/components/Querytable/utils/index.js.map +1 -1
- package/dist/components/RichTextEditor/index.js +74 -100
- package/dist/components/RichTextEditor/index.js.map +1 -1
- package/dist/components/Tabs/constants.js +2 -2
- package/dist/components/Tabs/constants.js.map +1 -1
- package/dist/components/Tabs/index.js +358 -603
- package/dist/components/Tabs/index.js.map +1 -1
- package/dist/components/Tabs/tab-bar.js +6 -6
- package/dist/components/Tabs/tab-bar.js.map +1 -1
- package/dist/components/Tabs/tab-pane.js +3 -3
- package/dist/components/Tabs/tab-pane.js.map +1 -1
- package/dist/components/Throne/ThroneContextProvider.d.ts +25 -0
- package/dist/components/_constants/aria.js +2 -2
- package/dist/components/_constants/aria.js.map +1 -1
- package/dist/components/_constants/event.js +4 -6
- package/dist/components/_constants/event.js.map +1 -1
- package/dist/components/_constants/index.js +6 -6
- package/dist/components/_hooks/index.js +7 -7
- package/dist/components/_hooks/use-namespace/index.js +39 -74
- package/dist/components/_hooks/use-namespace/index.js.map +1 -1
- package/dist/components/_hooks/use-ordered-children/index.js +19 -29
- package/dist/components/_hooks/use-ordered-children/index.js.map +1 -1
- package/dist/components/_util/arrays.js +5 -9
- package/dist/components/_util/arrays.js.map +1 -1
- package/dist/components/_util/browser.js +6 -6
- package/dist/components/_util/browser.js.map +1 -1
- package/dist/components/_util/classNames.js +17 -22
- package/dist/components/_util/classNames.js.map +1 -1
- package/dist/components/_util/dom/aria.js +39 -74
- package/dist/components/_util/dom/aria.js.map +1 -1
- package/dist/components/_util/dom/element.js +8 -9
- package/dist/components/_util/dom/element.js.map +1 -1
- package/dist/components/_util/dom/event.js +7 -14
- package/dist/components/_util/dom/event.js.map +1 -1
- package/dist/components/_util/dom/index.js +36 -36
- package/dist/components/_util/dom/position.js +25 -49
- package/dist/components/_util/dom/position.js.map +1 -1
- package/dist/components/_util/dom/scroll.js +61 -103
- package/dist/components/_util/dom/scroll.js.map +1 -1
- package/dist/components/_util/dom/style.js +50 -65
- package/dist/components/_util/dom/style.js.map +1 -1
- package/dist/components/_util/easings.js +4 -8
- package/dist/components/_util/easings.js.map +1 -1
- package/dist/components/_util/error.js +11 -12
- package/dist/components/_util/error.js.map +1 -1
- package/dist/components/_util/functions.js +3 -3
- package/dist/components/_util/i18n.js +2 -2
- package/dist/components/_util/i18n.js.map +1 -1
- package/dist/components/_util/index.js +137 -137
- package/dist/components/_util/isValid.js +2 -4
- package/dist/components/_util/isValid.js.map +1 -1
- package/dist/components/_util/objects.js +14 -18
- package/dist/components/_util/objects.js.map +1 -1
- package/dist/components/_util/props-util/index.js +20 -46
- package/dist/components/_util/props-util/index.js.map +1 -1
- package/dist/components/_util/props-util/initDefaultProps.js +10 -18
- package/dist/components/_util/props-util/initDefaultProps.js.map +1 -1
- package/dist/components/_util/raf.js +4 -5
- package/dist/components/_util/raf.js.map +1 -1
- package/dist/components/_util/rand.js +3 -4
- package/dist/components/_util/rand.js.map +1 -1
- package/dist/components/_util/strings.js +8 -9
- package/dist/components/_util/strings.js.map +1 -1
- package/dist/components/_util/throttleByRaf.js +10 -16
- package/dist/components/_util/throttleByRaf.js.map +1 -1
- package/dist/components/_util/type.js +38 -41
- package/dist/components/_util/type.js.map +1 -1
- package/dist/components/_util/types.js +22 -41
- package/dist/components/_util/types.js.map +1 -1
- package/dist/components/_util/typescript.js +2 -2
- package/dist/components/_util/typescript.js.map +1 -1
- package/dist/components/_util/util.js +43 -85
- package/dist/components/_util/util.js.map +1 -1
- package/dist/components/_util/vue/global-node.js +15 -27
- package/dist/components/_util/vue/global-node.js.map +1 -1
- package/dist/components/_util/vue/icon.js +25 -29
- package/dist/components/_util/vue/icon.js.map +1 -1
- package/dist/components/_util/vue/index.js +41 -41
- package/dist/components/_util/vue/install.js +18 -35
- package/dist/components/_util/vue/install.js.map +1 -1
- package/dist/components/_util/vue/props/index.js +6 -6
- package/dist/components/_util/vue/props/runtime.js +30 -46
- package/dist/components/_util/vue/props/runtime.js.map +1 -1
- package/dist/components/_util/vue/refs.js +6 -12
- package/dist/components/_util/vue/refs.js.map +1 -1
- package/dist/components/_util/vue/size.js +3 -5
- package/dist/components/_util/vue/size.js.map +1 -1
- package/dist/components/_util/vue/validator.js +4 -5
- package/dist/components/_util/vue/validator.js.map +1 -1
- package/dist/components/_util/vue/vnode.js +54 -100
- package/dist/components/_util/vue/vnode.js.map +1 -1
- package/dist/components/_util/vue-types/index.js +220 -231
- package/dist/components/_util/vue-types/index.js.map +1 -1
- package/dist/components/components.d.ts +2 -0
- package/dist/components/components.js +24 -20
- package/dist/components/components.js.map +1 -1
- package/dist/components/index.js +43 -38
- package/dist/components/index.js.map +1 -1
- package/dist/components-DP9bnDLm.js +48 -0
- package/dist/components-DP9bnDLm.js.map +1 -0
- package/dist/error/OrionError.js +4 -8
- package/dist/error/OrionError.js.map +1 -1
- package/dist/{index-C6P_0wAy.js → index-ChkLOmNK.js} +76 -46
- package/dist/{index-C6P_0wAy.js.map → index-ChkLOmNK.js.map} +1 -1
- package/dist/index.css +1 -797
- package/dist/index.d.ts +1 -0
- package/dist/index.js +46 -36
- package/dist/index.js.map +1 -1
- package/dist/print/LodopFuncs.js +43 -101
- package/dist/print/LodopFuncs.js.map +1 -1
- package/dist/print/index.js +108 -200
- package/dist/print/index.js.map +1 -1
- package/dist/request/ErrorHandlerChain.js +14 -17
- package/dist/request/ErrorHandlerChain.js.map +1 -1
- package/dist/request/RequestFilterChain.js +13 -16
- package/dist/request/RequestFilterChain.js.map +1 -1
- package/dist/request/ResponseParserChain.js +14 -17
- package/dist/request/ResponseParserChain.js.map +1 -1
- package/dist/request/disivion/DateSerializer.js +22 -47
- package/dist/request/disivion/DateSerializer.js.map +1 -1
- package/dist/request/disivion/DivisionErrorHandler.js +25 -40
- package/dist/request/disivion/DivisionErrorHandler.js.map +1 -1
- package/dist/request/disivion/DivisionResponseParser.js +10 -16
- package/dist/request/disivion/DivisionResponseParser.js.map +1 -1
- package/dist/request/disivion/index.js +201 -305
- package/dist/request/disivion/index.js.map +1 -1
- package/dist/request/error/BizExceptionResponseError.js +5 -11
- package/dist/request/error/BizExceptionResponseError.js.map +1 -1
- package/dist/request/error/ExceptionResponseError.js +5 -11
- package/dist/request/error/ExceptionResponseError.js.map +1 -1
- package/dist/request/error/ResponseError.js +4 -9
- package/dist/request/error/ResponseError.js.map +1 -1
- package/dist/request/error/SessionExceptionResponseError.js +5 -11
- package/dist/request/error/SessionExceptionResponseError.js.map +1 -1
- package/dist/request/index.js +11 -11
- package/dist/utils/DateUtil.js +33 -48
- package/dist/utils/DateUtil.js.map +1 -1
- package/dist/utils/NumberUtil.js +6 -6
- package/dist/utils/NumberUtil.js.map +1 -1
- package/dist/utils/cloneDeep.js +2 -2
- package/dist/utils/delay.js +3 -3
- package/dist/utils/delay.js.map +1 -1
- package/dist/utils/functions.js +3 -3
- package/dist/utils/index.js +12 -12
- package/dist/utils/md5.js +93 -191
- package/dist/utils/md5.js.map +1 -1
- package/dist/utils/uuid.js +25 -35
- package/dist/utils/uuid.js.map +1 -1
- package/dist/version/index.js +2 -2
- package/dist/version/version.d.ts +1 -1
- package/dist/version/version.js +2 -2
- package/dist/version/version.js.map +1 -1
- package/package.json +1 -1
- package/dist/_commonjsHelpers-DWwsNxpa.js +0 -9
- package/dist/_commonjsHelpers-DWwsNxpa.js.map +0 -1
- package/dist/components-8oZ2kpUC.js +0 -27
- package/dist/components-8oZ2kpUC.js.map +0 -1
- package/dist/components-B3d9m_tn.js +0 -27
- package/dist/components-B3d9m_tn.js.map +0 -1
- package/dist/functions-BeMkokbY.js +0 -63
- package/dist/functions-BeMkokbY.js.map +0 -1
- package/dist/index-BOKLZnqH.js +0 -54
- package/dist/index-BOKLZnqH.js.map +0 -1
- package/dist/index-D1m0KTpK.js +0 -69
- package/dist/index-D1m0KTpK.js.map +0 -1
- package/dist/index-DR5ZP7mD.js +0 -160
- package/dist/index-DR5ZP7mD.js.map +0 -1
- package/dist/index-DkwIULcN.js +0 -200
- package/dist/index-DkwIULcN.js.map +0 -1
package/dist/utils/md5.js
CHANGED
@@ -1,245 +1,147 @@
|
|
1
|
-
import { g as
|
2
|
-
var
|
3
|
-
var crypt = { exports: {} };
|
1
|
+
import { g as E } from "../_commonjsHelpers-DaMA6jEr.js";
|
2
|
+
var B = { exports: {} }, T = { exports: {} };
|
4
3
|
(function() {
|
5
|
-
var
|
4
|
+
var l = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", d = {
|
6
5
|
// Bit-wise rotation left
|
7
|
-
rotl: function(
|
8
|
-
return
|
6
|
+
rotl: function(e, a) {
|
7
|
+
return e << a | e >>> 32 - a;
|
9
8
|
},
|
10
9
|
// Bit-wise rotation right
|
11
|
-
rotr: function(
|
12
|
-
return
|
10
|
+
rotr: function(e, a) {
|
11
|
+
return e << 32 - a | e >>> a;
|
13
12
|
},
|
14
13
|
// Swap big-endian to little-endian and vice versa
|
15
|
-
endian: function(
|
16
|
-
if (
|
17
|
-
return
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
return n;
|
14
|
+
endian: function(e) {
|
15
|
+
if (e.constructor == Number)
|
16
|
+
return d.rotl(e, 8) & 16711935 | d.rotl(e, 24) & 4278255360;
|
17
|
+
for (var a = 0; a < e.length; a++)
|
18
|
+
e[a] = d.endian(e[a]);
|
19
|
+
return e;
|
22
20
|
},
|
23
21
|
// Generate an array of any length of random bytes
|
24
|
-
randomBytes: function(
|
25
|
-
for (var
|
26
|
-
|
27
|
-
return
|
22
|
+
randomBytes: function(e) {
|
23
|
+
for (var a = []; e > 0; e--)
|
24
|
+
a.push(Math.floor(Math.random() * 256));
|
25
|
+
return a;
|
28
26
|
},
|
29
27
|
// Convert a byte array to big-endian 32-bit words
|
30
|
-
bytesToWords: function(
|
31
|
-
for (var
|
32
|
-
|
33
|
-
return
|
28
|
+
bytesToWords: function(e) {
|
29
|
+
for (var a = [], c = 0, i = 0; c < e.length; c++, i += 8)
|
30
|
+
a[i >>> 5] |= e[c] << 24 - i % 32;
|
31
|
+
return a;
|
34
32
|
},
|
35
33
|
// Convert big-endian 32-bit words to a byte array
|
36
|
-
wordsToBytes: function(
|
37
|
-
for (var
|
38
|
-
|
39
|
-
return
|
34
|
+
wordsToBytes: function(e) {
|
35
|
+
for (var a = [], c = 0; c < e.length * 32; c += 8)
|
36
|
+
a.push(e[c >>> 5] >>> 24 - c % 32 & 255);
|
37
|
+
return a;
|
40
38
|
},
|
41
39
|
// Convert a byte array to a hex string
|
42
|
-
bytesToHex: function(
|
43
|
-
for (var
|
44
|
-
|
45
|
-
|
46
|
-
}
|
47
|
-
return hex.join("");
|
40
|
+
bytesToHex: function(e) {
|
41
|
+
for (var a = [], c = 0; c < e.length; c++)
|
42
|
+
a.push((e[c] >>> 4).toString(16)), a.push((e[c] & 15).toString(16));
|
43
|
+
return a.join("");
|
48
44
|
},
|
49
45
|
// Convert a hex string to a byte array
|
50
|
-
hexToBytes: function(
|
51
|
-
for (var
|
52
|
-
|
53
|
-
return
|
46
|
+
hexToBytes: function(e) {
|
47
|
+
for (var a = [], c = 0; c < e.length; c += 2)
|
48
|
+
a.push(parseInt(e.substr(c, 2), 16));
|
49
|
+
return a;
|
54
50
|
},
|
55
51
|
// Convert a byte array to a base-64 string
|
56
|
-
bytesToBase64: function(
|
57
|
-
for (var
|
58
|
-
var
|
59
|
-
|
60
|
-
|
61
|
-
base64.push(base64map.charAt(triplet >>> 6 * (3 - j) & 63));
|
62
|
-
else
|
63
|
-
base64.push("=");
|
64
|
-
}
|
65
|
-
return base64.join("");
|
52
|
+
bytesToBase64: function(e) {
|
53
|
+
for (var a = [], c = 0; c < e.length; c += 3)
|
54
|
+
for (var i = e[c] << 16 | e[c + 1] << 8 | e[c + 2], h = 0; h < 4; h++)
|
55
|
+
c * 8 + h * 6 <= e.length * 8 ? a.push(l.charAt(i >>> 6 * (3 - h) & 63)) : a.push("=");
|
56
|
+
return a.join("");
|
66
57
|
},
|
67
58
|
// Convert a base-64 string to a byte array
|
68
|
-
base64ToBytes: function(
|
69
|
-
|
70
|
-
for (var
|
71
|
-
|
72
|
-
|
73
|
-
}
|
74
|
-
return bytes;
|
59
|
+
base64ToBytes: function(e) {
|
60
|
+
e = e.replace(/[^A-Z0-9+\/]/ig, "");
|
61
|
+
for (var a = [], c = 0, i = 0; c < e.length; i = ++c % 4)
|
62
|
+
i != 0 && a.push((l.indexOf(e.charAt(c - 1)) & Math.pow(2, -2 * i + 8) - 1) << i * 2 | l.indexOf(e.charAt(c)) >>> 6 - i * 2);
|
63
|
+
return a;
|
75
64
|
}
|
76
65
|
};
|
77
|
-
|
66
|
+
T.exports = d;
|
78
67
|
})();
|
79
|
-
var
|
80
|
-
var charenc = {
|
68
|
+
var w = T.exports, x = {
|
81
69
|
// UTF-8 encoding
|
82
70
|
utf8: {
|
83
71
|
// Convert a string to a byte array
|
84
|
-
stringToBytes: function(
|
85
|
-
return
|
72
|
+
stringToBytes: function(l) {
|
73
|
+
return x.bin.stringToBytes(unescape(encodeURIComponent(l)));
|
86
74
|
},
|
87
75
|
// Convert a byte array to a string
|
88
|
-
bytesToString: function(
|
89
|
-
return decodeURIComponent(escape(
|
76
|
+
bytesToString: function(l) {
|
77
|
+
return decodeURIComponent(escape(x.bin.bytesToString(l)));
|
90
78
|
}
|
91
79
|
},
|
92
80
|
// Binary encoding
|
93
81
|
bin: {
|
94
82
|
// Convert a string to a byte array
|
95
|
-
stringToBytes: function(
|
96
|
-
for (var
|
97
|
-
|
98
|
-
return
|
83
|
+
stringToBytes: function(l) {
|
84
|
+
for (var d = [], e = 0; e < l.length; e++)
|
85
|
+
d.push(l.charCodeAt(e) & 255);
|
86
|
+
return d;
|
99
87
|
},
|
100
88
|
// Convert a byte array to a string
|
101
|
-
bytesToString: function(
|
102
|
-
for (var
|
103
|
-
|
104
|
-
return
|
89
|
+
bytesToString: function(l) {
|
90
|
+
for (var d = [], e = 0; e < l.length; e++)
|
91
|
+
d.push(String.fromCharCode(l[e]));
|
92
|
+
return d.join("");
|
105
93
|
}
|
106
94
|
}
|
107
|
-
};
|
108
|
-
var charenc_1 = charenc;
|
95
|
+
}, y = x;
|
109
96
|
/*!
|
110
97
|
* Determine if an object is a Buffer
|
111
98
|
*
|
112
99
|
* @author Feross Aboukhadijeh <https://feross.org>
|
113
100
|
* @license MIT
|
114
101
|
*/
|
115
|
-
var
|
116
|
-
return
|
102
|
+
var H = function(l) {
|
103
|
+
return l != null && (_(l) || M(l) || !!l._isBuffer);
|
117
104
|
};
|
118
|
-
function
|
119
|
-
return !!
|
105
|
+
function _(l) {
|
106
|
+
return !!l.constructor && typeof l.constructor.isBuffer == "function" && l.constructor.isBuffer(l);
|
120
107
|
}
|
121
|
-
function
|
122
|
-
return typeof
|
108
|
+
function M(l) {
|
109
|
+
return typeof l.readFloatLE == "function" && typeof l.slice == "function" && _(l.slice(0, 0));
|
123
110
|
}
|
124
111
|
(function() {
|
125
|
-
var
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
else if (!Array.isArray(message) && message.constructor !== Uint8Array)
|
134
|
-
message = message.toString();
|
135
|
-
var m = crypt2.bytesToWords(message), l = message.length * 8, a = 1732584193, b = -271733879, c = -1732584194, d = 271733878;
|
136
|
-
for (var i = 0; i < m.length; i++) {
|
137
|
-
m[i] = (m[i] << 8 | m[i] >>> 24) & 16711935 | (m[i] << 24 | m[i] >>> 8) & 4278255360;
|
138
|
-
}
|
139
|
-
m[l >>> 5] |= 128 << l % 32;
|
140
|
-
m[(l + 64 >>> 9 << 4) + 14] = l;
|
141
|
-
var FF = md52._ff, GG = md52._gg, HH = md52._hh, II = md52._ii;
|
142
|
-
for (var i = 0; i < m.length; i += 16) {
|
143
|
-
var aa = a, bb = b, cc = c, dd = d;
|
144
|
-
a = FF(a, b, c, d, m[i + 0], 7, -680876936);
|
145
|
-
d = FF(d, a, b, c, m[i + 1], 12, -389564586);
|
146
|
-
c = FF(c, d, a, b, m[i + 2], 17, 606105819);
|
147
|
-
b = FF(b, c, d, a, m[i + 3], 22, -1044525330);
|
148
|
-
a = FF(a, b, c, d, m[i + 4], 7, -176418897);
|
149
|
-
d = FF(d, a, b, c, m[i + 5], 12, 1200080426);
|
150
|
-
c = FF(c, d, a, b, m[i + 6], 17, -1473231341);
|
151
|
-
b = FF(b, c, d, a, m[i + 7], 22, -45705983);
|
152
|
-
a = FF(a, b, c, d, m[i + 8], 7, 1770035416);
|
153
|
-
d = FF(d, a, b, c, m[i + 9], 12, -1958414417);
|
154
|
-
c = FF(c, d, a, b, m[i + 10], 17, -42063);
|
155
|
-
b = FF(b, c, d, a, m[i + 11], 22, -1990404162);
|
156
|
-
a = FF(a, b, c, d, m[i + 12], 7, 1804603682);
|
157
|
-
d = FF(d, a, b, c, m[i + 13], 12, -40341101);
|
158
|
-
c = FF(c, d, a, b, m[i + 14], 17, -1502002290);
|
159
|
-
b = FF(b, c, d, a, m[i + 15], 22, 1236535329);
|
160
|
-
a = GG(a, b, c, d, m[i + 1], 5, -165796510);
|
161
|
-
d = GG(d, a, b, c, m[i + 6], 9, -1069501632);
|
162
|
-
c = GG(c, d, a, b, m[i + 11], 14, 643717713);
|
163
|
-
b = GG(b, c, d, a, m[i + 0], 20, -373897302);
|
164
|
-
a = GG(a, b, c, d, m[i + 5], 5, -701558691);
|
165
|
-
d = GG(d, a, b, c, m[i + 10], 9, 38016083);
|
166
|
-
c = GG(c, d, a, b, m[i + 15], 14, -660478335);
|
167
|
-
b = GG(b, c, d, a, m[i + 4], 20, -405537848);
|
168
|
-
a = GG(a, b, c, d, m[i + 9], 5, 568446438);
|
169
|
-
d = GG(d, a, b, c, m[i + 14], 9, -1019803690);
|
170
|
-
c = GG(c, d, a, b, m[i + 3], 14, -187363961);
|
171
|
-
b = GG(b, c, d, a, m[i + 8], 20, 1163531501);
|
172
|
-
a = GG(a, b, c, d, m[i + 13], 5, -1444681467);
|
173
|
-
d = GG(d, a, b, c, m[i + 2], 9, -51403784);
|
174
|
-
c = GG(c, d, a, b, m[i + 7], 14, 1735328473);
|
175
|
-
b = GG(b, c, d, a, m[i + 12], 20, -1926607734);
|
176
|
-
a = HH(a, b, c, d, m[i + 5], 4, -378558);
|
177
|
-
d = HH(d, a, b, c, m[i + 8], 11, -2022574463);
|
178
|
-
c = HH(c, d, a, b, m[i + 11], 16, 1839030562);
|
179
|
-
b = HH(b, c, d, a, m[i + 14], 23, -35309556);
|
180
|
-
a = HH(a, b, c, d, m[i + 1], 4, -1530992060);
|
181
|
-
d = HH(d, a, b, c, m[i + 4], 11, 1272893353);
|
182
|
-
c = HH(c, d, a, b, m[i + 7], 16, -155497632);
|
183
|
-
b = HH(b, c, d, a, m[i + 10], 23, -1094730640);
|
184
|
-
a = HH(a, b, c, d, m[i + 13], 4, 681279174);
|
185
|
-
d = HH(d, a, b, c, m[i + 0], 11, -358537222);
|
186
|
-
c = HH(c, d, a, b, m[i + 3], 16, -722521979);
|
187
|
-
b = HH(b, c, d, a, m[i + 6], 23, 76029189);
|
188
|
-
a = HH(a, b, c, d, m[i + 9], 4, -640364487);
|
189
|
-
d = HH(d, a, b, c, m[i + 12], 11, -421815835);
|
190
|
-
c = HH(c, d, a, b, m[i + 15], 16, 530742520);
|
191
|
-
b = HH(b, c, d, a, m[i + 2], 23, -995338651);
|
192
|
-
a = II(a, b, c, d, m[i + 0], 6, -198630844);
|
193
|
-
d = II(d, a, b, c, m[i + 7], 10, 1126891415);
|
194
|
-
c = II(c, d, a, b, m[i + 14], 15, -1416354905);
|
195
|
-
b = II(b, c, d, a, m[i + 5], 21, -57434055);
|
196
|
-
a = II(a, b, c, d, m[i + 12], 6, 1700485571);
|
197
|
-
d = II(d, a, b, c, m[i + 3], 10, -1894986606);
|
198
|
-
c = II(c, d, a, b, m[i + 10], 15, -1051523);
|
199
|
-
b = II(b, c, d, a, m[i + 1], 21, -2054922799);
|
200
|
-
a = II(a, b, c, d, m[i + 8], 6, 1873313359);
|
201
|
-
d = II(d, a, b, c, m[i + 15], 10, -30611744);
|
202
|
-
c = II(c, d, a, b, m[i + 6], 15, -1560198380);
|
203
|
-
b = II(b, c, d, a, m[i + 13], 21, 1309151649);
|
204
|
-
a = II(a, b, c, d, m[i + 4], 6, -145523070);
|
205
|
-
d = II(d, a, b, c, m[i + 11], 10, -1120210379);
|
206
|
-
c = II(c, d, a, b, m[i + 2], 15, 718787259);
|
207
|
-
b = II(b, c, d, a, m[i + 9], 21, -343485551);
|
208
|
-
a = a + aa >>> 0;
|
209
|
-
b = b + bb >>> 0;
|
210
|
-
c = c + cc >>> 0;
|
211
|
-
d = d + dd >>> 0;
|
112
|
+
var l = w, d = y.utf8, e = H, a = y.bin, c = function(i, h) {
|
113
|
+
i.constructor == String ? h && h.encoding === "binary" ? i = a.stringToBytes(i) : i = d.stringToBytes(i) : e(i) ? i = Array.prototype.slice.call(i, 0) : !Array.isArray(i) && i.constructor !== Uint8Array && (i = i.toString());
|
114
|
+
for (var u = l.bytesToWords(i), s = i.length * 8, n = 1732584193, r = -271733879, o = -1732584194, t = 271733878, f = 0; f < u.length; f++)
|
115
|
+
u[f] = (u[f] << 8 | u[f] >>> 24) & 16711935 | (u[f] << 24 | u[f] >>> 8) & 4278255360;
|
116
|
+
u[s >>> 5] |= 128 << s % 32, u[(s + 64 >>> 9 << 4) + 14] = s;
|
117
|
+
for (var p = c._ff, v = c._gg, F = c._hh, g = c._ii, f = 0; f < u.length; f += 16) {
|
118
|
+
var S = n, A = r, C = o, I = t;
|
119
|
+
n = p(n, r, o, t, u[f + 0], 7, -680876936), t = p(t, n, r, o, u[f + 1], 12, -389564586), o = p(o, t, n, r, u[f + 2], 17, 606105819), r = p(r, o, t, n, u[f + 3], 22, -1044525330), n = p(n, r, o, t, u[f + 4], 7, -176418897), t = p(t, n, r, o, u[f + 5], 12, 1200080426), o = p(o, t, n, r, u[f + 6], 17, -1473231341), r = p(r, o, t, n, u[f + 7], 22, -45705983), n = p(n, r, o, t, u[f + 8], 7, 1770035416), t = p(t, n, r, o, u[f + 9], 12, -1958414417), o = p(o, t, n, r, u[f + 10], 17, -42063), r = p(r, o, t, n, u[f + 11], 22, -1990404162), n = p(n, r, o, t, u[f + 12], 7, 1804603682), t = p(t, n, r, o, u[f + 13], 12, -40341101), o = p(o, t, n, r, u[f + 14], 17, -1502002290), r = p(r, o, t, n, u[f + 15], 22, 1236535329), n = v(n, r, o, t, u[f + 1], 5, -165796510), t = v(t, n, r, o, u[f + 6], 9, -1069501632), o = v(o, t, n, r, u[f + 11], 14, 643717713), r = v(r, o, t, n, u[f + 0], 20, -373897302), n = v(n, r, o, t, u[f + 5], 5, -701558691), t = v(t, n, r, o, u[f + 10], 9, 38016083), o = v(o, t, n, r, u[f + 15], 14, -660478335), r = v(r, o, t, n, u[f + 4], 20, -405537848), n = v(n, r, o, t, u[f + 9], 5, 568446438), t = v(t, n, r, o, u[f + 14], 9, -1019803690), o = v(o, t, n, r, u[f + 3], 14, -187363961), r = v(r, o, t, n, u[f + 8], 20, 1163531501), n = v(n, r, o, t, u[f + 13], 5, -1444681467), t = v(t, n, r, o, u[f + 2], 9, -51403784), o = v(o, t, n, r, u[f + 7], 14, 1735328473), r = v(r, o, t, n, u[f + 12], 20, -1926607734), n = F(n, r, o, t, u[f + 5], 4, -378558), t = F(t, n, r, o, u[f + 8], 11, -2022574463), o = F(o, t, n, r, u[f + 11], 16, 1839030562), r = F(r, o, t, n, u[f + 14], 23, -35309556), n = F(n, r, o, t, u[f + 1], 4, -1530992060), t = F(t, n, r, o, u[f + 4], 11, 1272893353), o = F(o, t, n, r, u[f + 7], 16, -155497632), r = F(r, o, t, n, u[f + 10], 23, -1094730640), n = F(n, r, o, t, u[f + 13], 4, 681279174), t = F(t, n, r, o, u[f + 0], 11, -358537222), o = F(o, t, n, r, u[f + 3], 16, -722521979), r = F(r, o, t, n, u[f + 6], 23, 76029189), n = F(n, r, o, t, u[f + 9], 4, -640364487), t = F(t, n, r, o, u[f + 12], 11, -421815835), o = F(o, t, n, r, u[f + 15], 16, 530742520), r = F(r, o, t, n, u[f + 2], 23, -995338651), n = g(n, r, o, t, u[f + 0], 6, -198630844), t = g(t, n, r, o, u[f + 7], 10, 1126891415), o = g(o, t, n, r, u[f + 14], 15, -1416354905), r = g(r, o, t, n, u[f + 5], 21, -57434055), n = g(n, r, o, t, u[f + 12], 6, 1700485571), t = g(t, n, r, o, u[f + 3], 10, -1894986606), o = g(o, t, n, r, u[f + 10], 15, -1051523), r = g(r, o, t, n, u[f + 1], 21, -2054922799), n = g(n, r, o, t, u[f + 8], 6, 1873313359), t = g(t, n, r, o, u[f + 15], 10, -30611744), o = g(o, t, n, r, u[f + 6], 15, -1560198380), r = g(r, o, t, n, u[f + 13], 21, 1309151649), n = g(n, r, o, t, u[f + 4], 6, -145523070), t = g(t, n, r, o, u[f + 11], 10, -1120210379), o = g(o, t, n, r, u[f + 2], 15, 718787259), r = g(r, o, t, n, u[f + 9], 21, -343485551), n = n + S >>> 0, r = r + A >>> 0, o = o + C >>> 0, t = t + I >>> 0;
|
212
120
|
}
|
213
|
-
return
|
214
|
-
};
|
215
|
-
md52._ff = function(a, b, c, d, x, s, t) {
|
216
|
-
var n = a + (b & c | ~b & d) + (x >>> 0) + t;
|
217
|
-
return (n << s | n >>> 32 - s) + b;
|
218
|
-
};
|
219
|
-
md52._gg = function(a, b, c, d, x, s, t) {
|
220
|
-
var n = a + (b & d | c & ~d) + (x >>> 0) + t;
|
221
|
-
return (n << s | n >>> 32 - s) + b;
|
222
|
-
};
|
223
|
-
md52._hh = function(a, b, c, d, x, s, t) {
|
224
|
-
var n = a + (b ^ c ^ d) + (x >>> 0) + t;
|
225
|
-
return (n << s | n >>> 32 - s) + b;
|
226
|
-
};
|
227
|
-
md52._ii = function(a, b, c, d, x, s, t) {
|
228
|
-
var n = a + (c ^ (b | ~d)) + (x >>> 0) + t;
|
229
|
-
return (n << s | n >>> 32 - s) + b;
|
121
|
+
return l.endian([n, r, o, t]);
|
230
122
|
};
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
123
|
+
c._ff = function(i, h, u, s, n, r, o) {
|
124
|
+
var t = i + (h & u | ~h & s) + (n >>> 0) + o;
|
125
|
+
return (t << r | t >>> 32 - r) + h;
|
126
|
+
}, c._gg = function(i, h, u, s, n, r, o) {
|
127
|
+
var t = i + (h & s | u & ~s) + (n >>> 0) + o;
|
128
|
+
return (t << r | t >>> 32 - r) + h;
|
129
|
+
}, c._hh = function(i, h, u, s, n, r, o) {
|
130
|
+
var t = i + (h ^ u ^ s) + (n >>> 0) + o;
|
131
|
+
return (t << r | t >>> 32 - r) + h;
|
132
|
+
}, c._ii = function(i, h, u, s, n, r, o) {
|
133
|
+
var t = i + (u ^ (h | ~s)) + (n >>> 0) + o;
|
134
|
+
return (t << r | t >>> 32 - r) + h;
|
135
|
+
}, c._blocksize = 16, c._digestsize = 16, B.exports = function(i, h) {
|
136
|
+
if (i == null)
|
137
|
+
throw new Error("Illegal argument " + i);
|
138
|
+
var u = l.wordsToBytes(c(i, h));
|
139
|
+
return h && h.asBytes ? u : h && h.asString ? a.bytesToString(u) : l.bytesToHex(u);
|
238
140
|
};
|
239
141
|
})();
|
240
|
-
var
|
241
|
-
const
|
142
|
+
var U = B.exports;
|
143
|
+
const G = /* @__PURE__ */ E(U);
|
242
144
|
export {
|
243
|
-
|
145
|
+
G as default
|
244
146
|
};
|
245
147
|
//# sourceMappingURL=md5.js.map
|
package/dist/utils/md5.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"md5.js","sources":["../../node_modules/crypt/crypt.js","../../node_modules/charenc/charenc.js","../../node_modules/is-buffer/index.js","../../node_modules/md5/md5.js"],"sourcesContent":["(function() {\n var base64map\n = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',\n\n crypt = {\n // Bit-wise rotation left\n rotl: function(n, b) {\n return (n << b) | (n >>> (32 - b));\n },\n\n // Bit-wise rotation right\n rotr: function(n, b) {\n return (n << (32 - b)) | (n >>> b);\n },\n\n // Swap big-endian to little-endian and vice versa\n endian: function(n) {\n // If number given, swap endian\n if (n.constructor == Number) {\n return crypt.rotl(n, 8) & 0x00FF00FF | crypt.rotl(n, 24) & 0xFF00FF00;\n }\n\n // Else, assume array and swap all items\n for (var i = 0; i < n.length; i++)\n n[i] = crypt.endian(n[i]);\n return n;\n },\n\n // Generate an array of any length of random bytes\n randomBytes: function(n) {\n for (var bytes = []; n > 0; n--)\n bytes.push(Math.floor(Math.random() * 256));\n return bytes;\n },\n\n // Convert a byte array to big-endian 32-bit words\n bytesToWords: function(bytes) {\n for (var words = [], i = 0, b = 0; i < bytes.length; i++, b += 8)\n words[b >>> 5] |= bytes[i] << (24 - b % 32);\n return words;\n },\n\n // Convert big-endian 32-bit words to a byte array\n wordsToBytes: function(words) {\n for (var bytes = [], b = 0; b < words.length * 32; b += 8)\n bytes.push((words[b >>> 5] >>> (24 - b % 32)) & 0xFF);\n return bytes;\n },\n\n // Convert a byte array to a hex string\n bytesToHex: function(bytes) {\n for (var hex = [], i = 0; i < bytes.length; i++) {\n hex.push((bytes[i] >>> 4).toString(16));\n hex.push((bytes[i] & 0xF).toString(16));\n }\n return hex.join('');\n },\n\n // Convert a hex string to a byte array\n hexToBytes: function(hex) {\n for (var bytes = [], c = 0; c < hex.length; c += 2)\n bytes.push(parseInt(hex.substr(c, 2), 16));\n return bytes;\n },\n\n // Convert a byte array to a base-64 string\n bytesToBase64: function(bytes) {\n for (var base64 = [], i = 0; i < bytes.length; i += 3) {\n var triplet = (bytes[i] << 16) | (bytes[i + 1] << 8) | bytes[i + 2];\n for (var j = 0; j < 4; j++)\n if (i * 8 + j * 6 <= bytes.length * 8)\n base64.push(base64map.charAt((triplet >>> 6 * (3 - j)) & 0x3F));\n else\n base64.push('=');\n }\n return base64.join('');\n },\n\n // Convert a base-64 string to a byte array\n base64ToBytes: function(base64) {\n // Remove non-base-64 characters\n base64 = base64.replace(/[^A-Z0-9+\\/]/ig, '');\n\n for (var bytes = [], i = 0, imod4 = 0; i < base64.length;\n imod4 = ++i % 4) {\n if (imod4 == 0) continue;\n bytes.push(((base64map.indexOf(base64.charAt(i - 1))\n & (Math.pow(2, -2 * imod4 + 8) - 1)) << (imod4 * 2))\n | (base64map.indexOf(base64.charAt(i)) >>> (6 - imod4 * 2)));\n }\n return bytes;\n }\n };\n\n module.exports = crypt;\n})();\n","var charenc = {\n // UTF-8 encoding\n utf8: {\n // Convert a string to a byte array\n stringToBytes: function(str) {\n return charenc.bin.stringToBytes(unescape(encodeURIComponent(str)));\n },\n\n // Convert a byte array to a string\n bytesToString: function(bytes) {\n return decodeURIComponent(escape(charenc.bin.bytesToString(bytes)));\n }\n },\n\n // Binary encoding\n bin: {\n // Convert a string to a byte array\n stringToBytes: function(str) {\n for (var bytes = [], i = 0; i < str.length; i++)\n bytes.push(str.charCodeAt(i) & 0xFF);\n return bytes;\n },\n\n // Convert a byte array to a string\n bytesToString: function(bytes) {\n for (var str = [], i = 0; i < bytes.length; i++)\n str.push(String.fromCharCode(bytes[i]));\n return str.join('');\n }\n }\n};\n\nmodule.exports = charenc;\n","/*!\n * Determine if an object is a Buffer\n *\n * @author Feross Aboukhadijeh <https://feross.org>\n * @license MIT\n */\n\n// The _isBuffer check is for Safari 5-7 support, because it's missing\n// Object.prototype.constructor. Remove this eventually\nmodule.exports = function (obj) {\n return obj != null && (isBuffer(obj) || isSlowBuffer(obj) || !!obj._isBuffer)\n}\n\nfunction isBuffer (obj) {\n return !!obj.constructor && typeof obj.constructor.isBuffer === 'function' && obj.constructor.isBuffer(obj)\n}\n\n// For Node v0.10 support. Remove this eventually.\nfunction isSlowBuffer (obj) {\n return typeof obj.readFloatLE === 'function' && typeof obj.slice === 'function' && isBuffer(obj.slice(0, 0))\n}\n","(function(){\r\n var crypt = require('crypt'),\r\n utf8 = require('charenc').utf8,\r\n isBuffer = require('is-buffer'),\r\n bin = require('charenc').bin,\r\n\r\n // The core\r\n md5 = function (message, options) {\r\n // Convert to byte array\r\n if (message.constructor == String)\r\n if (options && options.encoding === 'binary')\r\n message = bin.stringToBytes(message);\r\n else\r\n message = utf8.stringToBytes(message);\r\n else if (isBuffer(message))\r\n message = Array.prototype.slice.call(message, 0);\r\n else if (!Array.isArray(message) && message.constructor !== Uint8Array)\r\n message = message.toString();\r\n // else, assume byte array already\r\n\r\n var m = crypt.bytesToWords(message),\r\n l = message.length * 8,\r\n a = 1732584193,\r\n b = -271733879,\r\n c = -1732584194,\r\n d = 271733878;\r\n\r\n // Swap endian\r\n for (var i = 0; i < m.length; i++) {\r\n m[i] = ((m[i] << 8) | (m[i] >>> 24)) & 0x00FF00FF |\r\n ((m[i] << 24) | (m[i] >>> 8)) & 0xFF00FF00;\r\n }\r\n\r\n // Padding\r\n m[l >>> 5] |= 0x80 << (l % 32);\r\n m[(((l + 64) >>> 9) << 4) + 14] = l;\r\n\r\n // Method shortcuts\r\n var FF = md5._ff,\r\n GG = md5._gg,\r\n HH = md5._hh,\r\n II = md5._ii;\r\n\r\n for (var i = 0; i < m.length; i += 16) {\r\n\r\n var aa = a,\r\n bb = b,\r\n cc = c,\r\n dd = d;\r\n\r\n a = FF(a, b, c, d, m[i+ 0], 7, -680876936);\r\n d = FF(d, a, b, c, m[i+ 1], 12, -389564586);\r\n c = FF(c, d, a, b, m[i+ 2], 17, 606105819);\r\n b = FF(b, c, d, a, m[i+ 3], 22, -1044525330);\r\n a = FF(a, b, c, d, m[i+ 4], 7, -176418897);\r\n d = FF(d, a, b, c, m[i+ 5], 12, 1200080426);\r\n c = FF(c, d, a, b, m[i+ 6], 17, -1473231341);\r\n b = FF(b, c, d, a, m[i+ 7], 22, -45705983);\r\n a = FF(a, b, c, d, m[i+ 8], 7, 1770035416);\r\n d = FF(d, a, b, c, m[i+ 9], 12, -1958414417);\r\n c = FF(c, d, a, b, m[i+10], 17, -42063);\r\n b = FF(b, c, d, a, m[i+11], 22, -1990404162);\r\n a = FF(a, b, c, d, m[i+12], 7, 1804603682);\r\n d = FF(d, a, b, c, m[i+13], 12, -40341101);\r\n c = FF(c, d, a, b, m[i+14], 17, -1502002290);\r\n b = FF(b, c, d, a, m[i+15], 22, 1236535329);\r\n\r\n a = GG(a, b, c, d, m[i+ 1], 5, -165796510);\r\n d = GG(d, a, b, c, m[i+ 6], 9, -1069501632);\r\n c = GG(c, d, a, b, m[i+11], 14, 643717713);\r\n b = GG(b, c, d, a, m[i+ 0], 20, -373897302);\r\n a = GG(a, b, c, d, m[i+ 5], 5, -701558691);\r\n d = GG(d, a, b, c, m[i+10], 9, 38016083);\r\n c = GG(c, d, a, b, m[i+15], 14, -660478335);\r\n b = GG(b, c, d, a, m[i+ 4], 20, -405537848);\r\n a = GG(a, b, c, d, m[i+ 9], 5, 568446438);\r\n d = GG(d, a, b, c, m[i+14], 9, -1019803690);\r\n c = GG(c, d, a, b, m[i+ 3], 14, -187363961);\r\n b = GG(b, c, d, a, m[i+ 8], 20, 1163531501);\r\n a = GG(a, b, c, d, m[i+13], 5, -1444681467);\r\n d = GG(d, a, b, c, m[i+ 2], 9, -51403784);\r\n c = GG(c, d, a, b, m[i+ 7], 14, 1735328473);\r\n b = GG(b, c, d, a, m[i+12], 20, -1926607734);\r\n\r\n a = HH(a, b, c, d, m[i+ 5], 4, -378558);\r\n d = HH(d, a, b, c, m[i+ 8], 11, -2022574463);\r\n c = HH(c, d, a, b, m[i+11], 16, 1839030562);\r\n b = HH(b, c, d, a, m[i+14], 23, -35309556);\r\n a = HH(a, b, c, d, m[i+ 1], 4, -1530992060);\r\n d = HH(d, a, b, c, m[i+ 4], 11, 1272893353);\r\n c = HH(c, d, a, b, m[i+ 7], 16, -155497632);\r\n b = HH(b, c, d, a, m[i+10], 23, -1094730640);\r\n a = HH(a, b, c, d, m[i+13], 4, 681279174);\r\n d = HH(d, a, b, c, m[i+ 0], 11, -358537222);\r\n c = HH(c, d, a, b, m[i+ 3], 16, -722521979);\r\n b = HH(b, c, d, a, m[i+ 6], 23, 76029189);\r\n a = HH(a, b, c, d, m[i+ 9], 4, -640364487);\r\n d = HH(d, a, b, c, m[i+12], 11, -421815835);\r\n c = HH(c, d, a, b, m[i+15], 16, 530742520);\r\n b = HH(b, c, d, a, m[i+ 2], 23, -995338651);\r\n\r\n a = II(a, b, c, d, m[i+ 0], 6, -198630844);\r\n d = II(d, a, b, c, m[i+ 7], 10, 1126891415);\r\n c = II(c, d, a, b, m[i+14], 15, -1416354905);\r\n b = II(b, c, d, a, m[i+ 5], 21, -57434055);\r\n a = II(a, b, c, d, m[i+12], 6, 1700485571);\r\n d = II(d, a, b, c, m[i+ 3], 10, -1894986606);\r\n c = II(c, d, a, b, m[i+10], 15, -1051523);\r\n b = II(b, c, d, a, m[i+ 1], 21, -2054922799);\r\n a = II(a, b, c, d, m[i+ 8], 6, 1873313359);\r\n d = II(d, a, b, c, m[i+15], 10, -30611744);\r\n c = II(c, d, a, b, m[i+ 6], 15, -1560198380);\r\n b = II(b, c, d, a, m[i+13], 21, 1309151649);\r\n a = II(a, b, c, d, m[i+ 4], 6, -145523070);\r\n d = II(d, a, b, c, m[i+11], 10, -1120210379);\r\n c = II(c, d, a, b, m[i+ 2], 15, 718787259);\r\n b = II(b, c, d, a, m[i+ 9], 21, -343485551);\r\n\r\n a = (a + aa) >>> 0;\r\n b = (b + bb) >>> 0;\r\n c = (c + cc) >>> 0;\r\n d = (d + dd) >>> 0;\r\n }\r\n\r\n return crypt.endian([a, b, c, d]);\r\n };\r\n\r\n // Auxiliary functions\r\n md5._ff = function (a, b, c, d, x, s, t) {\r\n var n = a + (b & c | ~b & d) + (x >>> 0) + t;\r\n return ((n << s) | (n >>> (32 - s))) + b;\r\n };\r\n md5._gg = function (a, b, c, d, x, s, t) {\r\n var n = a + (b & d | c & ~d) + (x >>> 0) + t;\r\n return ((n << s) | (n >>> (32 - s))) + b;\r\n };\r\n md5._hh = function (a, b, c, d, x, s, t) {\r\n var n = a + (b ^ c ^ d) + (x >>> 0) + t;\r\n return ((n << s) | (n >>> (32 - s))) + b;\r\n };\r\n md5._ii = function (a, b, c, d, x, s, t) {\r\n var n = a + (c ^ (b | ~d)) + (x >>> 0) + t;\r\n return ((n << s) | (n >>> (32 - s))) + b;\r\n };\r\n\r\n // Package private blocksize\r\n md5._blocksize = 16;\r\n md5._digestsize = 16;\r\n\r\n module.exports = function (message, options) {\r\n if (message === undefined || message === null)\r\n throw new Error('Illegal argument ' + message);\r\n\r\n var digestbytes = crypt.wordsToBytes(md5(message, options));\r\n return options && options.asBytes ? digestbytes :\r\n options && options.asString ? bin.bytesToString(digestbytes) :\r\n crypt.bytesToHex(digestbytes);\r\n };\r\n\r\n})();\r\n"],"names":["crypt","cryptModule","require$$0","require$$1","isBuffer","require$$2","md5","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AG,GAAG,GAAG,GAAG,GAAG,GAAG;AACxC,QAAI,IAAI,KAAK,IAAI,IAAI,CAAC,IAAI,MAAM,MAAM,KAAK;AAC3C,YAAS,KAAK,IAAM,MAAO,KAAK,KAAO;AAAA,EAC3C;AACE,EAAAA,KAAI,MAAO,SAAU,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG;AACxC,QAAI,IAAI,KAAK,IAAI,IAAI,IAAI,CAAC,MAAM,MAAM,KAAK;AAC3C,YAAS,KAAK,IAAM,MAAO,KAAK,KAAO;AAAA,EAC3C;AACE,EAAAA,KAAI,MAAO,SAAU,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG;AACxC,QAAI,IAAI,KAAK,IAAI,IAAI,MAAM,MAAM,KAAK;AACtC,YAAS,KAAK,IAAM,MAAO,KAAK,KAAO;AAAA,EAC3C;AACE,EAAAA,KAAI,MAAO,SAAU,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG;AACxC,QAAI,IAAI,KAAK,KAAK,IAAI,CAAC,OAAO,MAAM,KAAK;AACzC,YAAS,KAAK,IAAM,MAAO,KAAK,KAAO;AAAA,EAC3C;AAGE,EAAAA,KAAI,aAAa;AACjB,EAAAA,KAAI,cAAc;AAElBC,kBAAiB,SAAU,SAAS,SAAS;AAC3C,QAAI,YAAY,UAAa,YAAY;AACvC,YAAM,IAAI,MAAM,sBAAsB,OAAO;AAE/C,QAAI,cAAcP,OAAM,aAAaM,KAAI,SAAS,OAAO,CAAC;AAC1D,WAAO,WAAW,QAAQ,UAAU,cAChC,WAAW,QAAQ,WAAW,IAAI,cAAc,WAAW,IAC3DN,OAAM,WAAW,WAAW;AAAA,EACpC;AAEA;;;","x_google_ignoreList":[0,1,2,3]}
|
1
|
+
{"version":3,"file":"md5.js","sources":["../../node_modules/crypt/crypt.js","../../node_modules/charenc/charenc.js","../../node_modules/is-buffer/index.js","../../node_modules/md5/md5.js"],"sourcesContent":["(function() {\n var base64map\n = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',\n\n crypt = {\n // Bit-wise rotation left\n rotl: function(n, b) {\n return (n << b) | (n >>> (32 - b));\n },\n\n // Bit-wise rotation right\n rotr: function(n, b) {\n return (n << (32 - b)) | (n >>> b);\n },\n\n // Swap big-endian to little-endian and vice versa\n endian: function(n) {\n // If number given, swap endian\n if (n.constructor == Number) {\n return crypt.rotl(n, 8) & 0x00FF00FF | crypt.rotl(n, 24) & 0xFF00FF00;\n }\n\n // Else, assume array and swap all items\n for (var i = 0; i < n.length; i++)\n n[i] = crypt.endian(n[i]);\n return n;\n },\n\n // Generate an array of any length of random bytes\n randomBytes: function(n) {\n for (var bytes = []; n > 0; n--)\n bytes.push(Math.floor(Math.random() * 256));\n return bytes;\n },\n\n // Convert a byte array to big-endian 32-bit words\n bytesToWords: function(bytes) {\n for (var words = [], i = 0, b = 0; i < bytes.length; i++, b += 8)\n words[b >>> 5] |= bytes[i] << (24 - b % 32);\n return words;\n },\n\n // Convert big-endian 32-bit words to a byte array\n wordsToBytes: function(words) {\n for (var bytes = [], b = 0; b < words.length * 32; b += 8)\n bytes.push((words[b >>> 5] >>> (24 - b % 32)) & 0xFF);\n return bytes;\n },\n\n // Convert a byte array to a hex string\n bytesToHex: function(bytes) {\n for (var hex = [], i = 0; i < bytes.length; i++) {\n hex.push((bytes[i] >>> 4).toString(16));\n hex.push((bytes[i] & 0xF).toString(16));\n }\n return hex.join('');\n },\n\n // Convert a hex string to a byte array\n hexToBytes: function(hex) {\n for (var bytes = [], c = 0; c < hex.length; c += 2)\n bytes.push(parseInt(hex.substr(c, 2), 16));\n return bytes;\n },\n\n // Convert a byte array to a base-64 string\n bytesToBase64: function(bytes) {\n for (var base64 = [], i = 0; i < bytes.length; i += 3) {\n var triplet = (bytes[i] << 16) | (bytes[i + 1] << 8) | bytes[i + 2];\n for (var j = 0; j < 4; j++)\n if (i * 8 + j * 6 <= bytes.length * 8)\n base64.push(base64map.charAt((triplet >>> 6 * (3 - j)) & 0x3F));\n else\n base64.push('=');\n }\n return base64.join('');\n },\n\n // Convert a base-64 string to a byte array\n base64ToBytes: function(base64) {\n // Remove non-base-64 characters\n base64 = base64.replace(/[^A-Z0-9+\\/]/ig, '');\n\n for (var bytes = [], i = 0, imod4 = 0; i < base64.length;\n imod4 = ++i % 4) {\n if (imod4 == 0) continue;\n bytes.push(((base64map.indexOf(base64.charAt(i - 1))\n & (Math.pow(2, -2 * imod4 + 8) - 1)) << (imod4 * 2))\n | (base64map.indexOf(base64.charAt(i)) >>> (6 - imod4 * 2)));\n }\n return bytes;\n }\n };\n\n module.exports = crypt;\n})();\n","var charenc = {\n // UTF-8 encoding\n utf8: {\n // Convert a string to a byte array\n stringToBytes: function(str) {\n return charenc.bin.stringToBytes(unescape(encodeURIComponent(str)));\n },\n\n // Convert a byte array to a string\n bytesToString: function(bytes) {\n return decodeURIComponent(escape(charenc.bin.bytesToString(bytes)));\n }\n },\n\n // Binary encoding\n bin: {\n // Convert a string to a byte array\n stringToBytes: function(str) {\n for (var bytes = [], i = 0; i < str.length; i++)\n bytes.push(str.charCodeAt(i) & 0xFF);\n return bytes;\n },\n\n // Convert a byte array to a string\n bytesToString: function(bytes) {\n for (var str = [], i = 0; i < bytes.length; i++)\n str.push(String.fromCharCode(bytes[i]));\n return str.join('');\n }\n }\n};\n\nmodule.exports = charenc;\n","/*!\n * Determine if an object is a Buffer\n *\n * @author Feross Aboukhadijeh <https://feross.org>\n * @license MIT\n */\n\n// The _isBuffer check is for Safari 5-7 support, because it's missing\n// Object.prototype.constructor. Remove this eventually\nmodule.exports = function (obj) {\n return obj != null && (isBuffer(obj) || isSlowBuffer(obj) || !!obj._isBuffer)\n}\n\nfunction isBuffer (obj) {\n return !!obj.constructor && typeof obj.constructor.isBuffer === 'function' && obj.constructor.isBuffer(obj)\n}\n\n// For Node v0.10 support. Remove this eventually.\nfunction isSlowBuffer (obj) {\n return typeof obj.readFloatLE === 'function' && typeof obj.slice === 'function' && isBuffer(obj.slice(0, 0))\n}\n","(function(){\r\n var crypt = require('crypt'),\r\n utf8 = require('charenc').utf8,\r\n isBuffer = require('is-buffer'),\r\n bin = require('charenc').bin,\r\n\r\n // The core\r\n md5 = function (message, options) {\r\n // Convert to byte array\r\n if (message.constructor == String)\r\n if (options && options.encoding === 'binary')\r\n message = bin.stringToBytes(message);\r\n else\r\n message = utf8.stringToBytes(message);\r\n else if (isBuffer(message))\r\n message = Array.prototype.slice.call(message, 0);\r\n else if (!Array.isArray(message) && message.constructor !== Uint8Array)\r\n message = message.toString();\r\n // else, assume byte array already\r\n\r\n var m = crypt.bytesToWords(message),\r\n l = message.length * 8,\r\n a = 1732584193,\r\n b = -271733879,\r\n c = -1732584194,\r\n d = 271733878;\r\n\r\n // Swap endian\r\n for (var i = 0; i < m.length; i++) {\r\n m[i] = ((m[i] << 8) | (m[i] >>> 24)) & 0x00FF00FF |\r\n ((m[i] << 24) | (m[i] >>> 8)) & 0xFF00FF00;\r\n }\r\n\r\n // Padding\r\n m[l >>> 5] |= 0x80 << (l % 32);\r\n m[(((l + 64) >>> 9) << 4) + 14] = l;\r\n\r\n // Method shortcuts\r\n var FF = md5._ff,\r\n GG = md5._gg,\r\n HH = md5._hh,\r\n II = md5._ii;\r\n\r\n for (var i = 0; i < m.length; i += 16) {\r\n\r\n var aa = a,\r\n bb = b,\r\n cc = c,\r\n dd = d;\r\n\r\n a = FF(a, b, c, d, m[i+ 0], 7, -680876936);\r\n d = FF(d, a, b, c, m[i+ 1], 12, -389564586);\r\n c = FF(c, d, a, b, m[i+ 2], 17, 606105819);\r\n b = FF(b, c, d, a, m[i+ 3], 22, -1044525330);\r\n a = FF(a, b, c, d, m[i+ 4], 7, -176418897);\r\n d = FF(d, a, b, c, m[i+ 5], 12, 1200080426);\r\n c = FF(c, d, a, b, m[i+ 6], 17, -1473231341);\r\n b = FF(b, c, d, a, m[i+ 7], 22, -45705983);\r\n a = FF(a, b, c, d, m[i+ 8], 7, 1770035416);\r\n d = FF(d, a, b, c, m[i+ 9], 12, -1958414417);\r\n c = FF(c, d, a, b, m[i+10], 17, -42063);\r\n b = FF(b, c, d, a, m[i+11], 22, -1990404162);\r\n a = FF(a, b, c, d, m[i+12], 7, 1804603682);\r\n d = FF(d, a, b, c, m[i+13], 12, -40341101);\r\n c = FF(c, d, a, b, m[i+14], 17, -1502002290);\r\n b = FF(b, c, d, a, m[i+15], 22, 1236535329);\r\n\r\n a = GG(a, b, c, d, m[i+ 1], 5, -165796510);\r\n d = GG(d, a, b, c, m[i+ 6], 9, -1069501632);\r\n c = GG(c, d, a, b, m[i+11], 14, 643717713);\r\n b = GG(b, c, d, a, m[i+ 0], 20, -373897302);\r\n a = GG(a, b, c, d, m[i+ 5], 5, -701558691);\r\n d = GG(d, a, b, c, m[i+10], 9, 38016083);\r\n c = GG(c, d, a, b, m[i+15], 14, -660478335);\r\n b = GG(b, c, d, a, m[i+ 4], 20, -405537848);\r\n a = GG(a, b, c, d, m[i+ 9], 5, 568446438);\r\n d = GG(d, a, b, c, m[i+14], 9, -1019803690);\r\n c = GG(c, d, a, b, m[i+ 3], 14, -187363961);\r\n b = GG(b, c, d, a, m[i+ 8], 20, 1163531501);\r\n a = GG(a, b, c, d, m[i+13], 5, -1444681467);\r\n d = GG(d, a, b, c, m[i+ 2], 9, -51403784);\r\n c = GG(c, d, a, b, m[i+ 7], 14, 1735328473);\r\n b = GG(b, c, d, a, m[i+12], 20, -1926607734);\r\n\r\n a = HH(a, b, c, d, m[i+ 5], 4, -378558);\r\n d = HH(d, a, b, c, m[i+ 8], 11, -2022574463);\r\n c = HH(c, d, a, b, m[i+11], 16, 1839030562);\r\n b = HH(b, c, d, a, m[i+14], 23, -35309556);\r\n a = HH(a, b, c, d, m[i+ 1], 4, -1530992060);\r\n d = HH(d, a, b, c, m[i+ 4], 11, 1272893353);\r\n c = HH(c, d, a, b, m[i+ 7], 16, -155497632);\r\n b = HH(b, c, d, a, m[i+10], 23, -1094730640);\r\n a = HH(a, b, c, d, m[i+13], 4, 681279174);\r\n d = HH(d, a, b, c, m[i+ 0], 11, -358537222);\r\n c = HH(c, d, a, b, m[i+ 3], 16, -722521979);\r\n b = HH(b, c, d, a, m[i+ 6], 23, 76029189);\r\n a = HH(a, b, c, d, m[i+ 9], 4, -640364487);\r\n d = HH(d, a, b, c, m[i+12], 11, -421815835);\r\n c = HH(c, d, a, b, m[i+15], 16, 530742520);\r\n b = HH(b, c, d, a, m[i+ 2], 23, -995338651);\r\n\r\n a = II(a, b, c, d, m[i+ 0], 6, -198630844);\r\n d = II(d, a, b, c, m[i+ 7], 10, 1126891415);\r\n c = II(c, d, a, b, m[i+14], 15, -1416354905);\r\n b = II(b, c, d, a, m[i+ 5], 21, -57434055);\r\n a = II(a, b, c, d, m[i+12], 6, 1700485571);\r\n d = II(d, a, b, c, m[i+ 3], 10, -1894986606);\r\n c = II(c, d, a, b, m[i+10], 15, -1051523);\r\n b = II(b, c, d, a, m[i+ 1], 21, -2054922799);\r\n a = II(a, b, c, d, m[i+ 8], 6, 1873313359);\r\n d = II(d, a, b, c, m[i+15], 10, -30611744);\r\n c = II(c, d, a, b, m[i+ 6], 15, -1560198380);\r\n b = II(b, c, d, a, m[i+13], 21, 1309151649);\r\n a = II(a, b, c, d, m[i+ 4], 6, -145523070);\r\n d = II(d, a, b, c, m[i+11], 10, -1120210379);\r\n c = II(c, d, a, b, m[i+ 2], 15, 718787259);\r\n b = II(b, c, d, a, m[i+ 9], 21, -343485551);\r\n\r\n a = (a + aa) >>> 0;\r\n b = (b + bb) >>> 0;\r\n c = (c + cc) >>> 0;\r\n d = (d + dd) >>> 0;\r\n }\r\n\r\n return crypt.endian([a, b, c, d]);\r\n };\r\n\r\n // Auxiliary functions\r\n md5._ff = function (a, b, c, d, x, s, t) {\r\n var n = a + (b & c | ~b & d) + (x >>> 0) + t;\r\n return ((n << s) | (n >>> (32 - s))) + b;\r\n };\r\n md5._gg = function (a, b, c, d, x, s, t) {\r\n var n = a + (b & d | c & ~d) + (x >>> 0) + t;\r\n return ((n << s) | (n >>> (32 - s))) + b;\r\n };\r\n md5._hh = function (a, b, c, d, x, s, t) {\r\n var n = a + (b ^ c ^ d) + (x >>> 0) + t;\r\n return ((n << s) | (n >>> (32 - s))) + b;\r\n };\r\n md5._ii = function (a, b, c, d, x, s, t) {\r\n var n = a + (c ^ (b | ~d)) + (x >>> 0) + t;\r\n return ((n << s) | (n >>> (32 - s))) + b;\r\n };\r\n\r\n // Package private blocksize\r\n md5._blocksize = 16;\r\n md5._digestsize = 16;\r\n\r\n module.exports = function (message, options) {\r\n if (message === undefined || message === null)\r\n throw new Error('Illegal argument ' + message);\r\n\r\n var digestbytes = crypt.wordsToBytes(md5(message, options));\r\n return options && options.asBytes ? digestbytes :\r\n options && options.asString ? bin.bytesToString(digestbytes) :\r\n crypt.bytesToHex(digestbytes);\r\n };\r\n\r\n})();\r\n"],"names":["base64map","crypt","n","b","i","bytes","words","hex","base64","triplet","j","imod4","cryptModule","charenc","str","charenc_1","isBuffer_1","obj","isBuffer","isSlowBuffer","require$$0","utf8","require$$1","require$$2","bin","md5","message","options","m","l","a","c","d","FF","GG","HH","II","aa","bb","cc","dd","x","s","t","md5Module","digestbytes"],"mappings":";;CAAC,WAAW;AACV,MAAIA,IACE,oEAENC,IAAQ;AAAA;AAAA,IAEN,MAAM,SAASC,GAAGC,GAAG;AACnB,aAAQD,KAAKC,IAAMD,MAAO,KAAKC;AAAA,IAChC;AAAA;AAAA,IAGD,MAAM,SAASD,GAAGC,GAAG;AACnB,aAAQD,KAAM,KAAKC,IAAOD,MAAMC;AAAA,IACjC;AAAA;AAAA,IAGD,QAAQ,SAASD,GAAG;AAElB,UAAIA,EAAE,eAAe;AACnB,eAAOD,EAAM,KAAKC,GAAG,CAAC,IAAI,WAAaD,EAAM,KAAKC,GAAG,EAAE,IAAI;AAI7D,eAASE,IAAI,GAAGA,IAAIF,EAAE,QAAQE;AAC5B,QAAAF,EAAEE,CAAC,IAAIH,EAAM,OA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B,GAAG4B,GAAGC,GAAGS,GAAGC,GAAGC,GAAG;AACxC,QAAIzC,IAAI4B,KAAKC,KAAK5B,IAAI,CAAC6B,OAAOS,MAAM,KAAKE;AACzC,YAASzC,KAAKwC,IAAMxC,MAAO,KAAKwC,KAAOvC;AAAA,EAC3C,GAGEsB,EAAI,aAAa,IACjBA,EAAI,cAAc,IAElBmB,YAAiB,SAAUlB,GAASC,GAAS;AAC3C,QAA6BD,KAAY;AACvC,YAAM,IAAI,MAAM,sBAAsBA,CAAO;AAE/C,QAAImB,IAAc5C,EAAM,aAAawB,EAAIC,GAASC,CAAO,CAAC;AAC1D,WAAOA,KAAWA,EAAQ,UAAUkB,IAChClB,KAAWA,EAAQ,WAAWH,EAAI,cAAcqB,CAAW,IAC3D5C,EAAM,WAAW4C,CAAW;AAAA,EACpC;AAEA;;;","x_google_ignoreList":[0,1,2,3]}
|
package/dist/utils/uuid.js
CHANGED
@@ -1,43 +1,33 @@
|
|
1
|
-
var
|
2
|
-
for (var
|
3
|
-
|
1
|
+
var u = [];
|
2
|
+
for (var o = 0; o < 256; ++o)
|
3
|
+
u.push((o + 256).toString(16).slice(1));
|
4
|
+
function p(n, d = 0) {
|
5
|
+
return (u[n[d + 0]] + u[n[d + 1]] + u[n[d + 2]] + u[n[d + 3]] + "-" + u[n[d + 4]] + u[n[d + 5]] + "-" + u[n[d + 6]] + u[n[d + 7]] + "-" + u[n[d + 8]] + u[n[d + 9]] + "-" + u[n[d + 10]] + u[n[d + 11]] + u[n[d + 12]] + u[n[d + 13]] + u[n[d + 14]] + u[n[d + 15]]).toLowerCase();
|
4
6
|
}
|
5
|
-
|
6
|
-
|
7
|
+
var e, y = new Uint8Array(16);
|
8
|
+
function m() {
|
9
|
+
if (!e && (e = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !e))
|
10
|
+
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
11
|
+
return e(y);
|
7
12
|
}
|
8
|
-
var
|
9
|
-
|
10
|
-
|
11
|
-
if (!getRandomValues) {
|
12
|
-
getRandomValues = typeof crypto !== "undefined" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto);
|
13
|
-
if (!getRandomValues) {
|
14
|
-
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
15
|
-
}
|
16
|
-
}
|
17
|
-
return getRandomValues(rnds8);
|
18
|
-
}
|
19
|
-
var randomUUID = typeof crypto !== "undefined" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
|
20
|
-
const native = {
|
21
|
-
randomUUID
|
13
|
+
var i = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
|
14
|
+
const a = {
|
15
|
+
randomUUID: i
|
22
16
|
};
|
23
|
-
function
|
24
|
-
if (
|
25
|
-
return
|
26
|
-
}
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
for (var i = 0; i < 16; ++i) {
|
34
|
-
buf[offset + i] = rnds[i];
|
35
|
-
}
|
36
|
-
return buf;
|
17
|
+
function U(n, d, c) {
|
18
|
+
if (a.randomUUID && !d && !n)
|
19
|
+
return a.randomUUID();
|
20
|
+
n = n || {};
|
21
|
+
var r = n.random || (n.rng || m)();
|
22
|
+
if (r[6] = r[6] & 15 | 64, r[8] = r[8] & 63 | 128, d) {
|
23
|
+
c = c || 0;
|
24
|
+
for (var t = 0; t < 16; ++t)
|
25
|
+
d[c + t] = r[t];
|
26
|
+
return d;
|
37
27
|
}
|
38
|
-
return
|
28
|
+
return p(r);
|
39
29
|
}
|
40
30
|
export {
|
41
|
-
|
31
|
+
U as default
|
42
32
|
};
|
43
33
|
//# sourceMappingURL=uuid.js.map
|
package/dist/utils/uuid.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"uuid.js","sources":["../../node_modules/uuid/dist/esm-browser/stringify.js","../../node_modules/uuid/dist/esm-browser/rng.js","../../node_modules/uuid/dist/esm-browser/native.js","../../node_modules/uuid/dist/esm-browser/v4.js"],"sourcesContent":["import validate from './validate.js';\n\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\nvar byteToHex = [];\nfor (var i = 0; i < 256; ++i) {\n byteToHex.push((i + 0x100).toString(16).slice(1));\n}\nexport function unsafeStringify(arr, offset = 0) {\n // Note: Be careful editing this code! It's been tuned for performance\n // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434\n //\n // Note to future-self: No, you can't remove the `toLowerCase()` call.\n // REF: https://github.com/uuidjs/uuid/pull/677#issuecomment-1757351351\n return (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase();\n}\nfunction stringify(arr, offset = 0) {\n var uuid = unsafeStringify(arr, offset);\n // Consistency check for valid UUID. If this throws, it's likely due to one\n // of the following:\n // - One or more input array values don't map to a hex octet (leading to\n // \"undefined\" in the uuid)\n // - Invalid input values for the RFC `version` or `variant` fields\n if (!validate(uuid)) {\n throw TypeError('Stringified UUID is invalid');\n }\n return uuid;\n}\nexport default stringify;","// Unique ID creation requires a high quality random # generator. In the browser we therefore\n// require the crypto API and do not support built-in fallback to lower quality random number\n// generators (like Math.random()).\n\nvar getRandomValues;\nvar rnds8 = new Uint8Array(16);\nexport default function rng() {\n // lazy load so that environments that need to polyfill have a chance to do so\n if (!getRandomValues) {\n // getRandomValues needs to be invoked in a context where \"this\" is a Crypto implementation.\n getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto);\n if (!getRandomValues) {\n throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');\n }\n }\n return getRandomValues(rnds8);\n}","var randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto);\nexport default {\n randomUUID\n};","import native from './native.js';\nimport rng from './rng.js';\nimport { unsafeStringify } from './stringify.js';\nfunction v4(options, buf, offset) {\n if (native.randomUUID && !buf && !options) {\n return native.randomUUID();\n }\n options = options || {};\n var rnds = options.random || (options.rng || rng)();\n\n // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n rnds[6] = rnds[6] & 0x0f | 0x40;\n rnds[8] = rnds[8] & 0x3f | 0x80;\n\n // Copy bytes to buffer, if provided\n if (buf) {\n offset = offset || 0;\n for (var i = 0; i < 16; ++i) {\n buf[offset + i] = rnds[i];\n }\n return buf;\n }\n return unsafeStringify(rnds);\n}\nexport default v4;"],"names":[],"mappings":"AAMA,
|
1
|
+
{"version":3,"file":"uuid.js","sources":["../../node_modules/uuid/dist/esm-browser/stringify.js","../../node_modules/uuid/dist/esm-browser/rng.js","../../node_modules/uuid/dist/esm-browser/native.js","../../node_modules/uuid/dist/esm-browser/v4.js"],"sourcesContent":["import validate from './validate.js';\n\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\nvar byteToHex = [];\nfor (var i = 0; i < 256; ++i) {\n byteToHex.push((i + 0x100).toString(16).slice(1));\n}\nexport function unsafeStringify(arr, offset = 0) {\n // Note: Be careful editing this code! It's been tuned for performance\n // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434\n //\n // Note to future-self: No, you can't remove the `toLowerCase()` call.\n // REF: https://github.com/uuidjs/uuid/pull/677#issuecomment-1757351351\n return (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase();\n}\nfunction stringify(arr, offset = 0) {\n var uuid = unsafeStringify(arr, offset);\n // Consistency check for valid UUID. If this throws, it's likely due to one\n // of the following:\n // - One or more input array values don't map to a hex octet (leading to\n // \"undefined\" in the uuid)\n // - Invalid input values for the RFC `version` or `variant` fields\n if (!validate(uuid)) {\n throw TypeError('Stringified UUID is invalid');\n }\n return uuid;\n}\nexport default stringify;","// Unique ID creation requires a high quality random # generator. In the browser we therefore\n// require the crypto API and do not support built-in fallback to lower quality random number\n// generators (like Math.random()).\n\nvar getRandomValues;\nvar rnds8 = new Uint8Array(16);\nexport default function rng() {\n // lazy load so that environments that need to polyfill have a chance to do so\n if (!getRandomValues) {\n // getRandomValues needs to be invoked in a context where \"this\" is a Crypto implementation.\n getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto);\n if (!getRandomValues) {\n throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');\n }\n }\n return getRandomValues(rnds8);\n}","var randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto);\nexport default {\n randomUUID\n};","import native from './native.js';\nimport rng from './rng.js';\nimport { unsafeStringify } from './stringify.js';\nfunction v4(options, buf, offset) {\n if (native.randomUUID && !buf && !options) {\n return native.randomUUID();\n }\n options = options || {};\n var rnds = options.random || (options.rng || rng)();\n\n // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n rnds[6] = rnds[6] & 0x0f | 0x40;\n rnds[8] = rnds[8] & 0x3f | 0x80;\n\n // Copy bytes to buffer, if provided\n if (buf) {\n offset = offset || 0;\n for (var i = 0; i < 16; ++i) {\n buf[offset + i] = rnds[i];\n }\n return buf;\n }\n return unsafeStringify(rnds);\n}\nexport default v4;"],"names":["byteToHex","i","unsafeStringify","arr","offset","getRandomValues","rnds8","rng","randomUUID","native","v4","options","buf","rnds"],"mappings":"AAMA,IAAIA,IAAY,CAAA;AAChB,SAASC,IAAI,GAAGA,IAAI,KAAK,EAAEA;AACzB,EAAAD,EAAU,MAAMC,IAAI,KAAO,SAAS,EAAE,EAAE,MAAM,CAAC,CAAC;AAE3C,SAASC,EAAgBC,GAAKC,IAAS,GAAG;AAM/C,UAAQJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAI,MAAMJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAI,MAAMJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAI,MAAMJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAI,MAAMJ,EAAUG,EAAIC,IAAS,EAAE,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,EAAE,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,EAAE,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,EAAE,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,EAAE,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,EAAE,CAAC,GAAG;AACvf;ACbA,IAAIC,GACAC,IAAQ,IAAI,WAAW,EAAE;AACd,SAASC,IAAM;AAE5B,MAAI,CAACF,MAEHA,IAAkB,OAAO,SAAW,OAAe,OAAO,mBAAmB,OAAO,gBAAgB,KAAK,MAAM,GAC3G,CAACA;AACH,UAAM,IAAI,MAAM,0GAA0G;AAG9H,SAAOA,EAAgBC,CAAK;AAC9B;AChBA,IAAIE,IAAa,OAAO,SAAW,OAAe,OAAO,cAAc,OAAO,WAAW,KAAK,MAAM;AACpG,MAAeC,IAAA;AAAA,EACb,YAAAD;AACF;ACAA,SAASE,EAAGC,GAASC,GAAKR,GAAQ;AAChC,MAAIK,EAAO,cAAc,CAACG,KAAO,CAACD;AAChC,WAAOF,EAAO;AAEhB,EAAAE,IAAUA,KAAW;AACrB,MAAIE,IAAOF,EAAQ,WAAWA,EAAQ,OAAOJ;AAO7C,MAJAM,EAAK,CAAC,IAAIA,EAAK,CAAC,IAAI,KAAO,IAC3BA,EAAK,CAAC,IAAIA,EAAK,CAAC,IAAI,KAAO,KAGvBD,GAAK;AACP,IAAAR,IAASA,KAAU;AACnB,aAASH,IAAI,GAAGA,IAAI,IAAI,EAAEA;AACxB,MAAAW,EAAIR,IAASH,CAAC,IAAIY,EAAKZ,CAAC;AAE1B,WAAOW;AAAA,EACR;AACD,SAAOV,EAAgBW,CAAI;AAC7B;","x_google_ignoreList":[0,1,2,3]}
|
package/dist/version/index.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: "0.1.
|
1
|
+
declare const _default: "0.1.33";
|
2
2
|
export default _default;
|
package/dist/version/version.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"version.js","sources":["../../src/version/version.ts"],"sourcesContent":["export default '0.1.
|
1
|
+
{"version":3,"file":"version.js","sources":["../../src/version/version.ts"],"sourcesContent":["export default '0.1.33';"],"names":["version"],"mappings":"AAAA,MAAAA,IAAe;"}
|
package/package.json
CHANGED
@@ -1,9 +0,0 @@
|
|
1
|
-
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
2
|
-
function getDefaultExportFromCjs(x) {
|
3
|
-
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
|
4
|
-
}
|
5
|
-
export {
|
6
|
-
commonjsGlobal as c,
|
7
|
-
getDefaultExportFromCjs as g
|
8
|
-
};
|
9
|
-
//# sourceMappingURL=_commonjsHelpers-DWwsNxpa.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"_commonjsHelpers-DWwsNxpa.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|