orion-design 0.1.30 → 0.1.31

Sign up to get free protection for your applications and to get access to all the features.
Files changed (199) hide show
  1. package/README.md +5 -5
  2. package/dist/Throne/index.js +30 -14
  3. package/dist/Throne/index.js.map +1 -1
  4. package/dist/_commonjsHelpers-DWwsNxpa.js +9 -0
  5. package/dist/_commonjsHelpers-DWwsNxpa.js.map +1 -0
  6. package/dist/components/Button/index.js +40 -33
  7. package/dist/components/Button/index.js.map +1 -1
  8. package/dist/components/Flex/index.js +122 -89
  9. package/dist/components/Flex/index.js.map +1 -1
  10. package/dist/components/Form/Form.js +2 -2
  11. package/dist/components/Form/Form.js.map +1 -1
  12. package/dist/components/Form/LovInput/LovInput.js +2 -2
  13. package/dist/components/Form/LovInput/LovInput.js.map +1 -1
  14. package/dist/components/Form/LovInput/hooks/useLov.js +5 -5
  15. package/dist/components/Form/LovInput/hooks/useLov.js.map +1 -1
  16. package/dist/components/Form/LovInput/index.js +4 -4
  17. package/dist/components/Form/hooks/FormItemValidateTrigger.js +2 -2
  18. package/dist/components/Form/hooks/FormItemValidateTrigger.js.map +1 -1
  19. package/dist/components/Form/hooks/index.js +128 -66
  20. package/dist/components/Form/hooks/index.js.map +1 -1
  21. package/dist/components/Form/index.js +836 -656
  22. package/dist/components/Form/index.js.map +1 -1
  23. package/dist/components/Form/utils/index.js +30 -18
  24. package/dist/components/Form/utils/index.js.map +1 -1
  25. package/dist/components/LovTable/index.js +179 -105
  26. package/dist/components/LovTable/index.js.map +1 -1
  27. package/dist/components/Modal/index.js +111 -56
  28. package/dist/components/Modal/index.js.map +1 -1
  29. package/dist/components/Modal/types.js +4 -3
  30. package/dist/components/Modal/types.js.map +1 -1
  31. package/dist/components/Modal/useModal.js +5 -5
  32. package/dist/components/Modal/useModal.js.map +1 -1
  33. package/dist/components/Pagetable/hooks/useColumns.js +88 -80
  34. package/dist/components/Pagetable/hooks/useColumns.js.map +1 -1
  35. package/dist/components/Pagetable/index.js +687 -542
  36. package/dist/components/Pagetable/index.js.map +1 -1
  37. package/dist/components/Pagetable/utils/index.js +92 -54
  38. package/dist/components/Pagetable/utils/index.js.map +1 -1
  39. package/dist/components/Querytable/hooks/useColumns.js +82 -74
  40. package/dist/components/Querytable/hooks/useColumns.js.map +1 -1
  41. package/dist/components/Querytable/index.js +579 -469
  42. package/dist/components/Querytable/index.js.map +1 -1
  43. package/dist/components/Querytable/utils/index.js +92 -54
  44. package/dist/components/Querytable/utils/index.js.map +1 -1
  45. package/dist/components/RichTextEditor/index.js +100 -74
  46. package/dist/components/RichTextEditor/index.js.map +1 -1
  47. package/dist/components/Tabs/constants.js +2 -2
  48. package/dist/components/Tabs/constants.js.map +1 -1
  49. package/dist/components/Tabs/index.js +603 -358
  50. package/dist/components/Tabs/index.js.map +1 -1
  51. package/dist/components/Tabs/tab-bar.js +6 -6
  52. package/dist/components/Tabs/tab-bar.js.map +1 -1
  53. package/dist/components/Tabs/tab-pane.js +3 -3
  54. package/dist/components/Tabs/tab-pane.js.map +1 -1
  55. package/dist/components/_constants/aria.js +2 -2
  56. package/dist/components/_constants/aria.js.map +1 -1
  57. package/dist/components/_constants/event.js +6 -4
  58. package/dist/components/_constants/event.js.map +1 -1
  59. package/dist/components/_constants/index.js +6 -6
  60. package/dist/components/_hooks/index.js +7 -7
  61. package/dist/components/_hooks/use-namespace/index.js +74 -39
  62. package/dist/components/_hooks/use-namespace/index.js.map +1 -1
  63. package/dist/components/_hooks/use-ordered-children/index.js +29 -19
  64. package/dist/components/_hooks/use-ordered-children/index.js.map +1 -1
  65. package/dist/components/_util/arrays.js +9 -5
  66. package/dist/components/_util/arrays.js.map +1 -1
  67. package/dist/components/_util/browser.js +6 -6
  68. package/dist/components/_util/browser.js.map +1 -1
  69. package/dist/components/_util/classNames.js +22 -17
  70. package/dist/components/_util/classNames.js.map +1 -1
  71. package/dist/components/_util/dom/aria.js +74 -39
  72. package/dist/components/_util/dom/aria.js.map +1 -1
  73. package/dist/components/_util/dom/element.js +9 -8
  74. package/dist/components/_util/dom/element.js.map +1 -1
  75. package/dist/components/_util/dom/event.js +14 -7
  76. package/dist/components/_util/dom/event.js.map +1 -1
  77. package/dist/components/_util/dom/index.js +36 -36
  78. package/dist/components/_util/dom/position.js +49 -25
  79. package/dist/components/_util/dom/position.js.map +1 -1
  80. package/dist/components/_util/dom/scroll.js +103 -61
  81. package/dist/components/_util/dom/scroll.js.map +1 -1
  82. package/dist/components/_util/dom/style.js +65 -50
  83. package/dist/components/_util/dom/style.js.map +1 -1
  84. package/dist/components/_util/easings.js +8 -4
  85. package/dist/components/_util/easings.js.map +1 -1
  86. package/dist/components/_util/error.js +12 -11
  87. package/dist/components/_util/error.js.map +1 -1
  88. package/dist/components/_util/functions.js +3 -3
  89. package/dist/components/_util/i18n.js +2 -2
  90. package/dist/components/_util/i18n.js.map +1 -1
  91. package/dist/components/_util/index.js +137 -137
  92. package/dist/components/_util/isValid.js +4 -2
  93. package/dist/components/_util/isValid.js.map +1 -1
  94. package/dist/components/_util/objects.js +18 -14
  95. package/dist/components/_util/objects.js.map +1 -1
  96. package/dist/components/_util/props-util/index.js +46 -20
  97. package/dist/components/_util/props-util/index.js.map +1 -1
  98. package/dist/components/_util/props-util/initDefaultProps.js +18 -10
  99. package/dist/components/_util/props-util/initDefaultProps.js.map +1 -1
  100. package/dist/components/_util/raf.js +5 -4
  101. package/dist/components/_util/raf.js.map +1 -1
  102. package/dist/components/_util/rand.js +4 -3
  103. package/dist/components/_util/rand.js.map +1 -1
  104. package/dist/components/_util/strings.js +9 -8
  105. package/dist/components/_util/strings.js.map +1 -1
  106. package/dist/components/_util/throttleByRaf.js +16 -10
  107. package/dist/components/_util/throttleByRaf.js.map +1 -1
  108. package/dist/components/_util/type.js +41 -38
  109. package/dist/components/_util/type.js.map +1 -1
  110. package/dist/components/_util/types.js +41 -22
  111. package/dist/components/_util/types.js.map +1 -1
  112. package/dist/components/_util/typescript.js +2 -2
  113. package/dist/components/_util/typescript.js.map +1 -1
  114. package/dist/components/_util/util.js +85 -43
  115. package/dist/components/_util/util.js.map +1 -1
  116. package/dist/components/_util/vue/global-node.js +27 -15
  117. package/dist/components/_util/vue/global-node.js.map +1 -1
  118. package/dist/components/_util/vue/icon.js +29 -25
  119. package/dist/components/_util/vue/icon.js.map +1 -1
  120. package/dist/components/_util/vue/index.js +41 -41
  121. package/dist/components/_util/vue/install.js +35 -18
  122. package/dist/components/_util/vue/install.js.map +1 -1
  123. package/dist/components/_util/vue/props/index.js +6 -6
  124. package/dist/components/_util/vue/props/runtime.js +46 -30
  125. package/dist/components/_util/vue/props/runtime.js.map +1 -1
  126. package/dist/components/_util/vue/refs.js +12 -6
  127. package/dist/components/_util/vue/refs.js.map +1 -1
  128. package/dist/components/_util/vue/size.js +5 -3
  129. package/dist/components/_util/vue/size.js.map +1 -1
  130. package/dist/components/_util/vue/validator.js +5 -4
  131. package/dist/components/_util/vue/validator.js.map +1 -1
  132. package/dist/components/_util/vue/vnode.js +100 -54
  133. package/dist/components/_util/vue/vnode.js.map +1 -1
  134. package/dist/components/_util/vue-types/index.js +231 -220
  135. package/dist/components/_util/vue-types/index.js.map +1 -1
  136. package/dist/components/components.js +20 -20
  137. package/dist/components/index.js +38 -35
  138. package/dist/components/index.js.map +1 -1
  139. package/dist/components-B3d9m_tn.js +27 -0
  140. package/dist/components-B3d9m_tn.js.map +1 -0
  141. package/dist/error/OrionError.js +8 -4
  142. package/dist/error/OrionError.js.map +1 -1
  143. package/dist/functions-BeMkokbY.js +63 -0
  144. package/dist/functions-BeMkokbY.js.map +1 -0
  145. package/dist/index-BOKLZnqH.js +54 -0
  146. package/dist/index-BOKLZnqH.js.map +1 -0
  147. package/dist/index-D1m0KTpK.js +69 -0
  148. package/dist/index-D1m0KTpK.js.map +1 -0
  149. package/dist/index-DR5ZP7mD.js +160 -0
  150. package/dist/index-DR5ZP7mD.js.map +1 -0
  151. package/dist/index-DkwIULcN.js +200 -0
  152. package/dist/index-DkwIULcN.js.map +1 -0
  153. package/dist/index.css +797 -1
  154. package/dist/index.js +36 -36
  155. package/dist/print/LodopFuncs.js +101 -43
  156. package/dist/print/LodopFuncs.js.map +1 -1
  157. package/dist/print/index.js +200 -108
  158. package/dist/print/index.js.map +1 -1
  159. package/dist/request/ErrorHandlerChain.js +17 -14
  160. package/dist/request/ErrorHandlerChain.js.map +1 -1
  161. package/dist/request/RequestFilterChain.js +16 -13
  162. package/dist/request/RequestFilterChain.js.map +1 -1
  163. package/dist/request/ResponseParserChain.js +17 -14
  164. package/dist/request/ResponseParserChain.js.map +1 -1
  165. package/dist/request/disivion/DateSerializer.js +47 -22
  166. package/dist/request/disivion/DateSerializer.js.map +1 -1
  167. package/dist/request/disivion/DivisionErrorHandler.js +40 -25
  168. package/dist/request/disivion/DivisionErrorHandler.js.map +1 -1
  169. package/dist/request/disivion/DivisionResponseParser.js +16 -10
  170. package/dist/request/disivion/DivisionResponseParser.js.map +1 -1
  171. package/dist/request/disivion/index.js +305 -201
  172. package/dist/request/disivion/index.js.map +1 -1
  173. package/dist/request/error/BizExceptionResponseError.js +11 -5
  174. package/dist/request/error/BizExceptionResponseError.js.map +1 -1
  175. package/dist/request/error/ExceptionResponseError.js +11 -5
  176. package/dist/request/error/ExceptionResponseError.js.map +1 -1
  177. package/dist/request/error/ResponseError.js +9 -4
  178. package/dist/request/error/ResponseError.js.map +1 -1
  179. package/dist/request/error/SessionExceptionResponseError.js +11 -5
  180. package/dist/request/error/SessionExceptionResponseError.js.map +1 -1
  181. package/dist/request/index.js +11 -11
  182. package/dist/utils/DateUtil.js +48 -33
  183. package/dist/utils/DateUtil.js.map +1 -1
  184. package/dist/utils/NumberUtil.js +6 -6
  185. package/dist/utils/NumberUtil.js.map +1 -1
  186. package/dist/utils/cloneDeep.js +2 -2
  187. package/dist/utils/delay.js +3 -3
  188. package/dist/utils/delay.js.map +1 -1
  189. package/dist/utils/functions.js +3 -3
  190. package/dist/utils/index.js +12 -12
  191. package/dist/utils/md5.js +191 -93
  192. package/dist/utils/md5.js.map +1 -1
  193. package/dist/utils/uuid.js +35 -25
  194. package/dist/utils/uuid.js.map +1 -1
  195. package/dist/version/index.js +2 -2
  196. package/dist/version/version.d.ts +1 -1
  197. package/dist/version/version.js +2 -2
  198. package/dist/version/version.js.map +1 -1
  199. package/package.json +1 -1
package/dist/utils/md5.js CHANGED
@@ -1,147 +1,245 @@
1
- import { g as E } from "../_commonjsHelpers-DaMA6jEr.js";
2
- var B = { exports: {} }, T = { exports: {} };
1
+ import { g as getDefaultExportFromCjs } from "../_commonjsHelpers-DWwsNxpa.js";
2
+ var md5$1 = { exports: {} };
3
+ var crypt = { exports: {} };
3
4
  (function() {
4
- var l = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", d = {
5
+ var base64map = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", crypt$1 = {
5
6
  // Bit-wise rotation left
6
- rotl: function(e, a) {
7
- return e << a | e >>> 32 - a;
7
+ rotl: function(n, b) {
8
+ return n << b | n >>> 32 - b;
8
9
  },
9
10
  // Bit-wise rotation right
10
- rotr: function(e, a) {
11
- return e << 32 - a | e >>> a;
11
+ rotr: function(n, b) {
12
+ return n << 32 - b | n >>> b;
12
13
  },
13
14
  // Swap big-endian to little-endian and vice versa
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;
15
+ endian: function(n) {
16
+ if (n.constructor == Number) {
17
+ return crypt$1.rotl(n, 8) & 16711935 | crypt$1.rotl(n, 24) & 4278255360;
18
+ }
19
+ for (var i = 0; i < n.length; i++)
20
+ n[i] = crypt$1.endian(n[i]);
21
+ return n;
20
22
  },
21
23
  // Generate an array of any length of random bytes
22
- randomBytes: function(e) {
23
- for (var a = []; e > 0; e--)
24
- a.push(Math.floor(Math.random() * 256));
25
- return a;
24
+ randomBytes: function(n) {
25
+ for (var bytes = []; n > 0; n--)
26
+ bytes.push(Math.floor(Math.random() * 256));
27
+ return bytes;
26
28
  },
27
29
  // Convert a byte array to big-endian 32-bit words
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;
30
+ bytesToWords: function(bytes) {
31
+ for (var words = [], i = 0, b = 0; i < bytes.length; i++, b += 8)
32
+ words[b >>> 5] |= bytes[i] << 24 - b % 32;
33
+ return words;
32
34
  },
33
35
  // Convert big-endian 32-bit words to a byte array
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;
36
+ wordsToBytes: function(words) {
37
+ for (var bytes = [], b = 0; b < words.length * 32; b += 8)
38
+ bytes.push(words[b >>> 5] >>> 24 - b % 32 & 255);
39
+ return bytes;
38
40
  },
39
41
  // Convert a byte array to a hex string
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("");
42
+ bytesToHex: function(bytes) {
43
+ for (var hex = [], i = 0; i < bytes.length; i++) {
44
+ hex.push((bytes[i] >>> 4).toString(16));
45
+ hex.push((bytes[i] & 15).toString(16));
46
+ }
47
+ return hex.join("");
44
48
  },
45
49
  // Convert a hex string to a byte array
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;
50
+ hexToBytes: function(hex) {
51
+ for (var bytes = [], c = 0; c < hex.length; c += 2)
52
+ bytes.push(parseInt(hex.substr(c, 2), 16));
53
+ return bytes;
50
54
  },
51
55
  // Convert a byte array to a base-64 string
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("");
56
+ bytesToBase64: function(bytes) {
57
+ for (var base64 = [], i = 0; i < bytes.length; i += 3) {
58
+ var triplet = bytes[i] << 16 | bytes[i + 1] << 8 | bytes[i + 2];
59
+ for (var j = 0; j < 4; j++)
60
+ if (i * 8 + j * 6 <= bytes.length * 8)
61
+ base64.push(base64map.charAt(triplet >>> 6 * (3 - j) & 63));
62
+ else
63
+ base64.push("=");
64
+ }
65
+ return base64.join("");
57
66
  },
58
67
  // Convert a base-64 string to a byte array
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;
68
+ base64ToBytes: function(base64) {
69
+ base64 = base64.replace(/[^A-Z0-9+\/]/ig, "");
70
+ for (var bytes = [], i = 0, imod4 = 0; i < base64.length; imod4 = ++i % 4) {
71
+ if (imod4 == 0) continue;
72
+ bytes.push((base64map.indexOf(base64.charAt(i - 1)) & Math.pow(2, -2 * imod4 + 8) - 1) << imod4 * 2 | base64map.indexOf(base64.charAt(i)) >>> 6 - imod4 * 2);
73
+ }
74
+ return bytes;
64
75
  }
65
76
  };
66
- T.exports = d;
77
+ crypt.exports = crypt$1;
67
78
  })();
68
- var w = T.exports, x = {
79
+ var cryptExports = crypt.exports;
80
+ var charenc = {
69
81
  // UTF-8 encoding
70
82
  utf8: {
71
83
  // Convert a string to a byte array
72
- stringToBytes: function(l) {
73
- return x.bin.stringToBytes(unescape(encodeURIComponent(l)));
84
+ stringToBytes: function(str) {
85
+ return charenc.bin.stringToBytes(unescape(encodeURIComponent(str)));
74
86
  },
75
87
  // Convert a byte array to a string
76
- bytesToString: function(l) {
77
- return decodeURIComponent(escape(x.bin.bytesToString(l)));
88
+ bytesToString: function(bytes) {
89
+ return decodeURIComponent(escape(charenc.bin.bytesToString(bytes)));
78
90
  }
79
91
  },
80
92
  // Binary encoding
81
93
  bin: {
82
94
  // Convert a string to a byte array
83
- stringToBytes: function(l) {
84
- for (var d = [], e = 0; e < l.length; e++)
85
- d.push(l.charCodeAt(e) & 255);
86
- return d;
95
+ stringToBytes: function(str) {
96
+ for (var bytes = [], i = 0; i < str.length; i++)
97
+ bytes.push(str.charCodeAt(i) & 255);
98
+ return bytes;
87
99
  },
88
100
  // Convert a byte array to a string
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("");
101
+ bytesToString: function(bytes) {
102
+ for (var str = [], i = 0; i < bytes.length; i++)
103
+ str.push(String.fromCharCode(bytes[i]));
104
+ return str.join("");
93
105
  }
94
106
  }
95
- }, y = x;
107
+ };
108
+ var charenc_1 = charenc;
96
109
  /*!
97
110
  * Determine if an object is a Buffer
98
111
  *
99
112
  * @author Feross Aboukhadijeh <https://feross.org>
100
113
  * @license MIT
101
114
  */
102
- var H = function(l) {
103
- return l != null && (_(l) || M(l) || !!l._isBuffer);
115
+ var isBuffer_1 = function(obj) {
116
+ return obj != null && (isBuffer(obj) || isSlowBuffer(obj) || !!obj._isBuffer);
104
117
  };
105
- function _(l) {
106
- return !!l.constructor && typeof l.constructor.isBuffer == "function" && l.constructor.isBuffer(l);
118
+ function isBuffer(obj) {
119
+ return !!obj.constructor && typeof obj.constructor.isBuffer === "function" && obj.constructor.isBuffer(obj);
107
120
  }
108
- function M(l) {
109
- return typeof l.readFloatLE == "function" && typeof l.slice == "function" && _(l.slice(0, 0));
121
+ function isSlowBuffer(obj) {
122
+ return typeof obj.readFloatLE === "function" && typeof obj.slice === "function" && isBuffer(obj.slice(0, 0));
110
123
  }
111
124
  (function() {
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;
125
+ var crypt2 = cryptExports, utf8 = charenc_1.utf8, isBuffer2 = isBuffer_1, bin = charenc_1.bin, md52 = function(message, options) {
126
+ if (message.constructor == String)
127
+ if (options && options.encoding === "binary")
128
+ message = bin.stringToBytes(message);
129
+ else
130
+ message = utf8.stringToBytes(message);
131
+ else if (isBuffer2(message))
132
+ message = Array.prototype.slice.call(message, 0);
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;
120
212
  }
121
- return l.endian([n, r, o, t]);
213
+ return crypt2.endian([a, b, c, d]);
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;
122
230
  };
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);
231
+ md52._blocksize = 16;
232
+ md52._digestsize = 16;
233
+ md5$1.exports = function(message, options) {
234
+ if (message === void 0 || message === null)
235
+ throw new Error("Illegal argument " + message);
236
+ var digestbytes = crypt2.wordsToBytes(md52(message, options));
237
+ return options && options.asBytes ? digestbytes : options && options.asString ? bin.bytesToString(digestbytes) : crypt2.bytesToHex(digestbytes);
140
238
  };
141
239
  })();
142
- var U = B.exports;
143
- const G = /* @__PURE__ */ E(U);
240
+ var md5Exports = md5$1.exports;
241
+ const md5 = /* @__PURE__ */ getDefaultExportFromCjs(md5Exports);
144
242
  export {
145
- G as default
243
+ md5 as default
146
244
  };
147
245
  //# sourceMappingURL=md5.js.map
@@ -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":["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,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;AACxC,QAAIzC,IAAI4B,KAAK3B,IAAI4B,IAAIC,MAAMS,MAAM,KAAKE;AACtC,YAASzC,KAAKwC,IAAMxC,MAAO,KAAKwC,KAAOvC;AAAA,EAC3C,GACEsB,EAAI,MAAO,SAAUK,GAAG3B,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]}
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","md5Module"],"mappings":";;;CAAC,WAAW;AACV,MAAI,YACE,oEAENA,UAAQ;AAAA;AAAA,IAEN,MAAM,SAAS,GAAG,GAAG;AACnB,aAAQ,KAAK,IAAM,MAAO,KAAK;AAAA,IAChC;AAAA;AAAA,IAGD,MAAM,SAAS,GAAG,GAAG;AACnB,aAAQ,KAAM,KAAK,IAAO,MAAM;AAAA,IACjC;AAAA;AAAA,IAGD,QAAQ,SAAS,GAAG;AAElB,UAAI,EAAE,eAAe,QAAQ;AAC3B,eAAOA,QAAM,KAAK,GAAG,CAAC,IAAI,WAAaA,QAAM,KAAK,GAAG,EAAE,IAAI;AAAA,MAC5D;AAGD,eAAS,IAAI,GAAG,IAAI,EAAE,QAAQ;AAC5B,UAAE,CAAC,IAAIA,QAAM,OAAO,EAAE,CAAC,CAAC;AAC1B,aAAO;AAAA,IACR;AAAA;AAAA,IAGD,aAAa,SAAS,GAAG;AACvB,eAAS,QAAQ,CAAA,GAAI,IAAI,GAAG;AAC1B,cAAM,KAAK,KAAK,MAAM,KAAK,OAAQ,IAAG,GAAG,CAAC;AAC5C,aAAO;AAAA,IACR;AAAA;AAAA,IAGD,cAAc,SAAS,OAAO;AAC5B,eAAS,QAAQ,CAAA,GAAI,IAAI,GAAG,IAAI,GAAG,IAAI,MAAM,QAAQ,KAAK,KAAK;AAC7D,cAAM,MAAM,CAAC,KAAK,MAAM,CAAC,KAAM,KAAK,IAAI;AAC1C,aAAO;AAAA,IACR;AAAA;AAAA,IAGD,cAAc,SAAS,OAAO;AAC5B,eAAS,QAAQ,IAAI,IAAI,GAAG,IAAI,MAAM,SAAS,IAAI,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AAW,IAC3DN,OAAM,WAAW,WAAW;AAAA,EACpC;AAEA;;;","x_google_ignoreList":[0,1,2,3]}
@@ -1,33 +1,43 @@
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();
1
+ var byteToHex = [];
2
+ for (var i = 0; i < 256; ++i) {
3
+ byteToHex.push((i + 256).toString(16).slice(1));
6
4
  }
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);
5
+ function unsafeStringify(arr, offset = 0) {
6
+ 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();
12
7
  }
13
- var i = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
14
- const a = {
15
- randomUUID: i
8
+ var getRandomValues;
9
+ var rnds8 = new Uint8Array(16);
10
+ function rng() {
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
16
22
  };
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;
23
+ function v4(options, buf, offset) {
24
+ if (native.randomUUID && !buf && !options) {
25
+ return native.randomUUID();
26
+ }
27
+ options = options || {};
28
+ var rnds = options.random || (options.rng || rng)();
29
+ rnds[6] = rnds[6] & 15 | 64;
30
+ rnds[8] = rnds[8] & 63 | 128;
31
+ if (buf) {
32
+ offset = offset || 0;
33
+ for (var i = 0; i < 16; ++i) {
34
+ buf[offset + i] = rnds[i];
35
+ }
36
+ return buf;
27
37
  }
28
- return p(r);
38
+ return unsafeStringify(rnds);
29
39
  }
30
40
  export {
31
- U as default
41
+ v4 as default
32
42
  };
33
43
  //# sourceMappingURL=uuid.js.map
@@ -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":["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]}
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,IAAI,YAAY,CAAA;AAChB,SAAS,IAAI,GAAG,IAAI,KAAK,EAAE,GAAG;AAC5B,YAAU,MAAM,IAAI,KAAO,SAAS,EAAE,EAAE,MAAM,CAAC,CAAC;AAClD;AACO,SAAS,gBAAgB,KAAK,SAAS,GAAG;AAM/C,UAAQ,UAAU,IAAI,SAAS,CAAC,CAAC,IAAI,UAAU,IAAI,SAAS,CAAC,CAAC,IAAI,UAAU,IAAI,SAAS,CAAC,CAAC,IAAI,UAAU,IAAI,SAAS,CAAC,CAAC,IAAI,MAAM,UAAU,IAAI,SAAS,CAAC,CAAC,IAAI,UAAU,IAAI,SAAS,CAAC,CAAC,IAAI,MAAM,UAAU,IAAI,SAAS,CAAC,CAAC,IAAI,UAAU,IAAI,SAAS,CAAC,CAAC,IAAI,MAAM,UAAU,IAAI,SAAS,CAAC,CAAC,IAAI,UAAU,IAAI,SAAS,CAAC,CAAC,IAAI,MAAM,UAAU,IAAI,SAAS,EAAE,CAAC,IAAI,UAAU,IAAI,SAAS,EAAE,CAAC,IAAI,UAAU,IAAI,SAAS,EAAE,CAAC,IAAI,UAAU,IAAI,SAAS,EAAE,CAAC,IAAI,UAAU,IAAI,SAAS,EAAE,CAAC,IAAI,UAAU,IAAI,SAAS,EAAE,CAAC,GAAG;AACvf;ACbA,IAAI;AACJ,IAAI,QAAQ,IAAI,WAAW,EAAE;AACd,SAAS,MAAM;AAE5B,MAAI,CAAC,iBAAiB;AAEpB,sBAAkB,OAAO,WAAW,eAAe,OAAO,mBAAmB,OAAO,gBAAgB,KAAK,MAAM;AAC/G,QAAI,CAAC,iBAAiB;AACpB,YAAM,IAAI,MAAM,0GAA0G;AAAA,IAC3H;AAAA,EACF;AACD,SAAO,gBAAgB,KAAK;AAC9B;AChBA,IAAI,aAAa,OAAO,WAAW,eAAe,OAAO,cAAc,OAAO,WAAW,KAAK,MAAM;AACpG,MAAe,SAAA;AAAA,EACb;AACF;ACAA,SAAS,GAAG,SAAS,KAAK,QAAQ;AAChC,MAAI,OAAO,cAAc,CAAC,OAAO,CAAC,SAAS;AACzC,WAAO,OAAO;EACf;AACD,YAAU,WAAW;AACrB,MAAI,OAAO,QAAQ,WAAW,QAAQ,OAAO;AAG7C,OAAK,CAAC,IAAI,KAAK,CAAC,IAAI,KAAO;AAC3B,OAAK,CAAC,IAAI,KAAK,CAAC,IAAI,KAAO;AAG3B,MAAI,KAAK;AACP,aAAS,UAAU;AACnB,aAAS,IAAI,GAAG,IAAI,IAAI,EAAE,GAAG;AAC3B,UAAI,SAAS,CAAC,IAAI,KAAK,CAAC;AAAA,IACzB;AACD,WAAO;AAAA,EACR;AACD,SAAO,gBAAgB,IAAI;AAC7B;","x_google_ignoreList":[0,1,2,3]}
@@ -1,5 +1,5 @@
1
- import r from "./version.js";
1
+ import version from "./version.js";
2
2
  export {
3
- r as default
3
+ version as default
4
4
  };
5
5
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- declare const _default: "0.1.30";
1
+ declare const _default: "0.1.31";
2
2
  export default _default;
@@ -1,5 +1,5 @@
1
- const e = "0.1.30";
1
+ const version = "0.1.31";
2
2
  export {
3
- e as default
3
+ version as default
4
4
  };
5
5
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sources":["../../src/version/version.ts"],"sourcesContent":["export default '0.1.30';"],"names":["version"],"mappings":"AAAA,MAAAA,IAAe;"}
1
+ {"version":3,"file":"version.js","sources":["../../src/version/version.ts"],"sourcesContent":["export default '0.1.31';"],"names":[],"mappings":"AAAA,MAAA,UAAe;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "orion-design",
3
- "version": "0.1.30",
3
+ "version": "0.1.31",
4
4
  "main": "dist/index.js",
5
5
  "type": "module",
6
6
  "types": "dist/index.d.ts",