@gct-paas/core 0.1.4-dev.3 → 0.1.4-dev.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (122) hide show
  1. package/dist/index.min.cjs +1 -1
  2. package/dist/index.system.min.js +1 -1
  3. package/es/controller/form/form.controller.mjs +1 -2
  4. package/es/controller/gct-form/gct-form.controller.mjs +1 -2
  5. package/es/global/gct/gct.d.ts +1 -1
  6. package/es/interface/controller/form/form.controller.mjs +1 -1
  7. package/es/interface/hooks/i-designer-hooks.mjs +1 -1
  8. package/es/interface/i-modal/i-modal.mjs +1 -1
  9. package/es/modules/api-service/api-manage.mjs +1 -1
  10. package/es/modules/api-service/api-service.interface.d.ts +2 -2
  11. package/es/modules/api-service/api-service.interface.mjs +2 -2
  12. package/es/modules/api-service/api-service.mjs +1 -1
  13. package/es/modules/api-service/index.mjs +2 -4
  14. package/es/modules/env-manager/env-manager.d.ts +1 -1
  15. package/es/modules/env-manager/env-manager.interface.d.ts +1 -1
  16. package/es/modules/platform-config/useBasicSetting.d.ts +2 -2
  17. package/es/modules/platform-config/useDeploySetting.d.ts +1 -1
  18. package/es/modules/platform-config/useLoginSetting.d.ts +1 -1
  19. package/es/modules/platform-config/useOrgSetting.d.ts +1 -1
  20. package/es/modules/platform-config/useSecuritySetting.d.ts +1 -1
  21. package/es/modules/platform-config/useThemeSetting.d.ts +1 -1
  22. package/es/modules/platform-config/useWatermarkSetting.d.ts +1 -1
  23. package/es/register/designer-register/designer-register.mjs +1 -2
  24. package/es/register/render-register/render-register.mjs +1 -2
  25. package/es/store/global-store.mjs +1 -1
  26. package/es/types/index.d.ts +2 -2
  27. package/es/utils/plugin-pkg-util/plugin-pkg-util.mjs +1 -1
  28. package/es/utils/plugin-static-resource/plugin-static-resource.mjs +1 -1
  29. package/es/utils/tools/tools.mjs +1 -2
  30. package/package.json +6 -8
  31. package/es/_virtual/_commonjs-dynamic-modules.mjs +0 -5
  32. package/es/_virtual/_commonjsHelpers.mjs +0 -44
  33. package/es/_virtual/aes.mjs +0 -3
  34. package/es/_virtual/blowfish.mjs +0 -3
  35. package/es/_virtual/cipher-core.mjs +0 -3
  36. package/es/_virtual/core.mjs +0 -3
  37. package/es/_virtual/enc-base64.mjs +0 -3
  38. package/es/_virtual/enc-base64url.mjs +0 -3
  39. package/es/_virtual/enc-utf16.mjs +0 -3
  40. package/es/_virtual/evpkdf.mjs +0 -3
  41. package/es/_virtual/format-hex.mjs +0 -3
  42. package/es/_virtual/hmac.mjs +0 -3
  43. package/es/_virtual/index.mjs +0 -7
  44. package/es/_virtual/index2.mjs +0 -7
  45. package/es/_virtual/index3.mjs +0 -3
  46. package/es/_virtual/lib-typedarrays.mjs +0 -3
  47. package/es/_virtual/md5.mjs +0 -3
  48. package/es/_virtual/mode-cfb.mjs +0 -3
  49. package/es/_virtual/mode-ctr-gladman.mjs +0 -3
  50. package/es/_virtual/mode-ctr.mjs +0 -3
  51. package/es/_virtual/mode-ecb.mjs +0 -3
  52. package/es/_virtual/mode-ofb.mjs +0 -3
  53. package/es/_virtual/pad-ansix923.mjs +0 -3
  54. package/es/_virtual/pad-iso10126.mjs +0 -3
  55. package/es/_virtual/pad-iso97971.mjs +0 -3
  56. package/es/_virtual/pad-nopadding.mjs +0 -3
  57. package/es/_virtual/pad-zeropadding.mjs +0 -3
  58. package/es/_virtual/pbkdf2.mjs +0 -3
  59. package/es/_virtual/rabbit-legacy.mjs +0 -3
  60. package/es/_virtual/rabbit.mjs +0 -3
  61. package/es/_virtual/rc4.mjs +0 -3
  62. package/es/_virtual/ripemd160.mjs +0 -3
  63. package/es/_virtual/sha1.mjs +0 -3
  64. package/es/_virtual/sha224.mjs +0 -3
  65. package/es/_virtual/sha256.mjs +0 -3
  66. package/es/_virtual/sha3.mjs +0 -3
  67. package/es/_virtual/sha384.mjs +0 -3
  68. package/es/_virtual/sha512.mjs +0 -3
  69. package/es/_virtual/tripledes.mjs +0 -3
  70. package/es/_virtual/x64-core.mjs +0 -3
  71. package/es/node_modules/.pnpm/@gct-paas_api-apaas@0.0.2-dev.4/node_modules/@gct-paas/api-apaas/es/index.mjs +0 -3
  72. package/es/node_modules/.pnpm/@gct-paas_api-apaas@0.0.2-dev.4/node_modules/@gct-paas/api-apaas/es/service/api-config.mjs +0 -8213
  73. package/es/node_modules/.pnpm/@gct-paas_api-platform@0.0.2-dev.4/node_modules/@gct-paas/api-platform/es/index.mjs +0 -3
  74. package/es/node_modules/.pnpm/@gct-paas_api-platform@0.0.2-dev.4/node_modules/@gct-paas/api-platform/es/service/api-config.mjs +0 -7156
  75. package/es/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/aes.mjs +0 -255
  76. package/es/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/blowfish.mjs +0 -492
  77. package/es/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/cipher-core.mjs +0 -913
  78. package/es/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/core.mjs +0 -824
  79. package/es/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/enc-base64.mjs +0 -153
  80. package/es/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/enc-base64url.mjs +0 -165
  81. package/es/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/enc-utf16.mjs +0 -166
  82. package/es/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/evpkdf.mjs +0 -153
  83. package/es/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/format-hex.mjs +0 -84
  84. package/es/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/hmac.mjs +0 -160
  85. package/es/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/index.mjs +0 -69
  86. package/es/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/lib-typedarrays.mjs +0 -93
  87. package/es/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/md5.mjs +0 -285
  88. package/es/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mode-cfb.mjs +0 -98
  89. package/es/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mode-ctr-gladman.mjs +0 -134
  90. package/es/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mode-ctr.mjs +0 -76
  91. package/es/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mode-ecb.mjs +0 -58
  92. package/es/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mode-ofb.mjs +0 -72
  93. package/es/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pad-ansix923.mjs +0 -67
  94. package/es/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pad-iso10126.mjs +0 -62
  95. package/es/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pad-iso97971.mjs +0 -58
  96. package/es/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pad-nopadding.mjs +0 -48
  97. package/es/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pad-zeropadding.mjs +0 -65
  98. package/es/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pbkdf2.mjs +0 -164
  99. package/es/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/rabbit-legacy.mjs +0 -211
  100. package/es/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/rabbit.mjs +0 -213
  101. package/es/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/rc4.mjs +0 -160
  102. package/es/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/ripemd160.mjs +0 -284
  103. package/es/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/sha1.mjs +0 -167
  104. package/es/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/sha224.mjs +0 -98
  105. package/es/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/sha256.mjs +0 -216
  106. package/es/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/sha3.mjs +0 -344
  107. package/es/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/sha384.mjs +0 -102
  108. package/es/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/sha512.mjs +0 -344
  109. package/es/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/tripledes.mjs +0 -800
  110. package/es/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/x64-core.mjs +0 -321
  111. package/es/node_modules/.pnpm/path-browserify@1.0.1/node_modules/path-browserify/index.mjs +0 -541
  112. package/es/node_modules/.pnpm/qx-util@0.4.8/node_modules/qx-util/out/hook/async-series-hook/async-series-hook.mjs +0 -73
  113. package/es/node_modules/.pnpm/qx-util@0.4.8/node_modules/qx-util/out/hook/index.mjs +0 -2
  114. package/es/node_modules/.pnpm/qx-util@0.4.8/node_modules/qx-util/out/hook/sync-series-hook/sync-series-hook.mjs +0 -100
  115. package/es/node_modules/.pnpm/qx-util@0.4.8/node_modules/qx-util/out/index.mjs +0 -2
  116. package/es/node_modules/.pnpm/qx-util@0.4.8/node_modules/qx-util/out/utils/array/array.mjs +0 -47
  117. package/es/node_modules/.pnpm/qx-util@0.4.8/node_modules/qx-util/out/utils/index.mjs +0 -5
  118. package/es/node_modules/.pnpm/qx-util@0.4.8/node_modules/qx-util/out/utils/object/object.mjs +0 -24
  119. package/es/node_modules/.pnpm/qx-util@0.4.8/node_modules/qx-util/out/utils/qx-event/qx-event.mjs +0 -94
  120. package/es/node_modules/.pnpm/qx-util@0.4.8/node_modules/qx-util/out/utils/qx-event-emitter/qx-event-emitter.mjs +0 -146
  121. package/es/node_modules/.pnpm/qx-util@0.4.8/node_modules/qx-util/out/utils/type-util/type-util.mjs +0 -149
  122. package/es/node_modules/.pnpm/qx-util@0.4.8/node_modules/qx-util/out/utils/util/util.mjs +0 -227
@@ -1,84 +0,0 @@
1
- import '../../../../../_virtual/_commonjsHelpers.mjs';
2
- import { __module as formatHex$1 } from '../../../../../_virtual/format-hex.mjs';
3
- import { __require as requireCore } from './core.mjs';
4
- import { __require as requireCipherCore } from './cipher-core.mjs';
5
-
6
- var formatHex = formatHex$1.exports;
7
-
8
- var hasRequiredFormatHex;
9
-
10
- function requireFormatHex () {
11
- if (hasRequiredFormatHex) return formatHex$1.exports;
12
- hasRequiredFormatHex = 1;
13
- (function (module, exports) {
14
- ;(function (root, factory, undef) {
15
- if ('object' === "object") {
16
- // CommonJS
17
- module.exports = exports = factory(requireCore(), requireCipherCore());
18
- }
19
- else if (typeof undefined === "function" && undefined.amd) {
20
- // AMD
21
- undefined(["./core", "./cipher-core"], factory);
22
- }
23
- else {
24
- // Global (browser)
25
- factory(root.CryptoJS);
26
- }
27
- }(formatHex, function (CryptoJS) {
28
-
29
- (function (undefined$1) {
30
- // Shortcuts
31
- var C = CryptoJS;
32
- var C_lib = C.lib;
33
- var CipherParams = C_lib.CipherParams;
34
- var C_enc = C.enc;
35
- var Hex = C_enc.Hex;
36
- var C_format = C.format;
37
-
38
- var HexFormatter = C_format.Hex = {
39
- /**
40
- * Converts the ciphertext of a cipher params object to a hexadecimally encoded string.
41
- *
42
- * @param {CipherParams} cipherParams The cipher params object.
43
- *
44
- * @return {string} The hexadecimally encoded string.
45
- *
46
- * @static
47
- *
48
- * @example
49
- *
50
- * var hexString = CryptoJS.format.Hex.stringify(cipherParams);
51
- */
52
- stringify: function (cipherParams) {
53
- return cipherParams.ciphertext.toString(Hex);
54
- },
55
-
56
- /**
57
- * Converts a hexadecimally encoded ciphertext string to a cipher params object.
58
- *
59
- * @param {string} input The hexadecimally encoded string.
60
- *
61
- * @return {CipherParams} The cipher params object.
62
- *
63
- * @static
64
- *
65
- * @example
66
- *
67
- * var cipherParams = CryptoJS.format.Hex.parse(hexString);
68
- */
69
- parse: function (input) {
70
- var ciphertext = Hex.parse(input);
71
- return CipherParams.create({ ciphertext: ciphertext });
72
- }
73
- };
74
- }());
75
-
76
-
77
- return CryptoJS.format.Hex;
78
-
79
- }));
80
- } (formatHex$1, formatHex$1.exports));
81
- return formatHex$1.exports;
82
- }
83
-
84
- export { requireFormatHex as __require };
@@ -1,160 +0,0 @@
1
- import '../../../../../_virtual/_commonjsHelpers.mjs';
2
- import { __module as hmac$1 } from '../../../../../_virtual/hmac.mjs';
3
- import { __require as requireCore } from './core.mjs';
4
-
5
- var hmac = hmac$1.exports;
6
-
7
- var hasRequiredHmac;
8
-
9
- function requireHmac () {
10
- if (hasRequiredHmac) return hmac$1.exports;
11
- hasRequiredHmac = 1;
12
- (function (module, exports) {
13
- ;(function (root, factory) {
14
- if ('object' === "object") {
15
- // CommonJS
16
- module.exports = exports = factory(requireCore());
17
- }
18
- else if (typeof undefined === "function" && undefined.amd) {
19
- // AMD
20
- undefined(["./core"], factory);
21
- }
22
- else {
23
- // Global (browser)
24
- factory(root.CryptoJS);
25
- }
26
- }(hmac, function (CryptoJS) {
27
-
28
- (function () {
29
- // Shortcuts
30
- var C = CryptoJS;
31
- var C_lib = C.lib;
32
- var Base = C_lib.Base;
33
- var C_enc = C.enc;
34
- var Utf8 = C_enc.Utf8;
35
- var C_algo = C.algo;
36
-
37
- /**
38
- * HMAC algorithm.
39
- */
40
- var HMAC = C_algo.HMAC = Base.extend({
41
- /**
42
- * Initializes a newly created HMAC.
43
- *
44
- * @param {Hasher} hasher The hash algorithm to use.
45
- * @param {WordArray|string} key The secret key.
46
- *
47
- * @example
48
- *
49
- * var hmacHasher = CryptoJS.algo.HMAC.create(CryptoJS.algo.SHA256, key);
50
- */
51
- init: function (hasher, key) {
52
- // Init hasher
53
- hasher = this._hasher = new hasher.init();
54
-
55
- // Convert string to WordArray, else assume WordArray already
56
- if (typeof key == 'string') {
57
- key = Utf8.parse(key);
58
- }
59
-
60
- // Shortcuts
61
- var hasherBlockSize = hasher.blockSize;
62
- var hasherBlockSizeBytes = hasherBlockSize * 4;
63
-
64
- // Allow arbitrary length keys
65
- if (key.sigBytes > hasherBlockSizeBytes) {
66
- key = hasher.finalize(key);
67
- }
68
-
69
- // Clamp excess bits
70
- key.clamp();
71
-
72
- // Clone key for inner and outer pads
73
- var oKey = this._oKey = key.clone();
74
- var iKey = this._iKey = key.clone();
75
-
76
- // Shortcuts
77
- var oKeyWords = oKey.words;
78
- var iKeyWords = iKey.words;
79
-
80
- // XOR keys with pad constants
81
- for (var i = 0; i < hasherBlockSize; i++) {
82
- oKeyWords[i] ^= 0x5c5c5c5c;
83
- iKeyWords[i] ^= 0x36363636;
84
- }
85
- oKey.sigBytes = iKey.sigBytes = hasherBlockSizeBytes;
86
-
87
- // Set initial values
88
- this.reset();
89
- },
90
-
91
- /**
92
- * Resets this HMAC to its initial state.
93
- *
94
- * @example
95
- *
96
- * hmacHasher.reset();
97
- */
98
- reset: function () {
99
- // Shortcut
100
- var hasher = this._hasher;
101
-
102
- // Reset
103
- hasher.reset();
104
- hasher.update(this._iKey);
105
- },
106
-
107
- /**
108
- * Updates this HMAC with a message.
109
- *
110
- * @param {WordArray|string} messageUpdate The message to append.
111
- *
112
- * @return {HMAC} This HMAC instance.
113
- *
114
- * @example
115
- *
116
- * hmacHasher.update('message');
117
- * hmacHasher.update(wordArray);
118
- */
119
- update: function (messageUpdate) {
120
- this._hasher.update(messageUpdate);
121
-
122
- // Chainable
123
- return this;
124
- },
125
-
126
- /**
127
- * Finalizes the HMAC computation.
128
- * Note that the finalize operation is effectively a destructive, read-once operation.
129
- *
130
- * @param {WordArray|string} messageUpdate (Optional) A final message update.
131
- *
132
- * @return {WordArray} The HMAC.
133
- *
134
- * @example
135
- *
136
- * var hmac = hmacHasher.finalize();
137
- * var hmac = hmacHasher.finalize('message');
138
- * var hmac = hmacHasher.finalize(wordArray);
139
- */
140
- finalize: function (messageUpdate) {
141
- // Shortcut
142
- var hasher = this._hasher;
143
-
144
- // Compute HMAC
145
- var innerHash = hasher.finalize(messageUpdate);
146
- hasher.reset();
147
- var hmac = hasher.finalize(this._oKey.clone().concat(innerHash));
148
-
149
- return hmac;
150
- }
151
- });
152
- }());
153
-
154
-
155
- }));
156
- } (hmac$1, hmac$1.exports));
157
- return hmac$1.exports;
158
- }
159
-
160
- export { requireHmac as __require };
@@ -1,69 +0,0 @@
1
- import '../../../../../_virtual/_commonjsHelpers.mjs';
2
- import { __module as cryptoJs$1 } from '../../../../../_virtual/index3.mjs';
3
- import { __require as requireCore } from './core.mjs';
4
- import { __require as requireX64Core } from './x64-core.mjs';
5
- import { __require as requireLibTypedarrays } from './lib-typedarrays.mjs';
6
- import { __require as requireEncUtf16 } from './enc-utf16.mjs';
7
- import { __require as requireEncBase64 } from './enc-base64.mjs';
8
- import { __require as requireEncBase64url } from './enc-base64url.mjs';
9
- import { __require as requireMd5 } from './md5.mjs';
10
- import { __require as requireSha1 } from './sha1.mjs';
11
- import { __require as requireSha256 } from './sha256.mjs';
12
- import { __require as requireSha224 } from './sha224.mjs';
13
- import { __require as requireSha512 } from './sha512.mjs';
14
- import { __require as requireSha384 } from './sha384.mjs';
15
- import { __require as requireSha3 } from './sha3.mjs';
16
- import { __require as requireRipemd160 } from './ripemd160.mjs';
17
- import { __require as requireHmac } from './hmac.mjs';
18
- import { __require as requirePbkdf2 } from './pbkdf2.mjs';
19
- import { __require as requireEvpkdf } from './evpkdf.mjs';
20
- import { __require as requireCipherCore } from './cipher-core.mjs';
21
- import { __require as requireModeCfb } from './mode-cfb.mjs';
22
- import { __require as requireModeCtr } from './mode-ctr.mjs';
23
- import { __require as requireModeCtrGladman } from './mode-ctr-gladman.mjs';
24
- import { __require as requireModeOfb } from './mode-ofb.mjs';
25
- import { __require as requireModeEcb } from './mode-ecb.mjs';
26
- import { __require as requirePadAnsix923 } from './pad-ansix923.mjs';
27
- import { __require as requirePadIso10126 } from './pad-iso10126.mjs';
28
- import { __require as requirePadIso97971 } from './pad-iso97971.mjs';
29
- import { __require as requirePadZeropadding } from './pad-zeropadding.mjs';
30
- import { __require as requirePadNopadding } from './pad-nopadding.mjs';
31
- import { __require as requireFormatHex } from './format-hex.mjs';
32
- import { __require as requireAes } from './aes.mjs';
33
- import { __require as requireTripledes } from './tripledes.mjs';
34
- import { __require as requireRc4 } from './rc4.mjs';
35
- import { __require as requireRabbit } from './rabbit.mjs';
36
- import { __require as requireRabbitLegacy } from './rabbit-legacy.mjs';
37
- import { __require as requireBlowfish } from './blowfish.mjs';
38
-
39
- var cryptoJs = cryptoJs$1.exports;
40
-
41
- var hasRequiredCryptoJs;
42
-
43
- function requireCryptoJs () {
44
- if (hasRequiredCryptoJs) return cryptoJs$1.exports;
45
- hasRequiredCryptoJs = 1;
46
- (function (module, exports) {
47
- ;(function (root, factory, undef) {
48
- if ('object' === "object") {
49
- // CommonJS
50
- module.exports = exports = factory(requireCore(), requireX64Core(), requireLibTypedarrays(), requireEncUtf16(), requireEncBase64(), requireEncBase64url(), requireMd5(), requireSha1(), requireSha256(), requireSha224(), requireSha512(), requireSha384(), requireSha3(), requireRipemd160(), requireHmac(), requirePbkdf2(), requireEvpkdf(), requireCipherCore(), requireModeCfb(), requireModeCtr(), requireModeCtrGladman(), requireModeOfb(), requireModeEcb(), requirePadAnsix923(), requirePadIso10126(), requirePadIso97971(), requirePadZeropadding(), requirePadNopadding(), requireFormatHex(), requireAes(), requireTripledes(), requireRc4(), requireRabbit(), requireRabbitLegacy(), requireBlowfish());
51
- }
52
- else if (typeof undefined === "function" && undefined.amd) {
53
- // AMD
54
- undefined(["./core", "./x64-core", "./lib-typedarrays", "./enc-utf16", "./enc-base64", "./enc-base64url", "./md5", "./sha1", "./sha256", "./sha224", "./sha512", "./sha384", "./sha3", "./ripemd160", "./hmac", "./pbkdf2", "./evpkdf", "./cipher-core", "./mode-cfb", "./mode-ctr", "./mode-ctr-gladman", "./mode-ofb", "./mode-ecb", "./pad-ansix923", "./pad-iso10126", "./pad-iso97971", "./pad-zeropadding", "./pad-nopadding", "./format-hex", "./aes", "./tripledes", "./rc4", "./rabbit", "./rabbit-legacy", "./blowfish"], factory);
55
- }
56
- else {
57
- // Global (browser)
58
- root.CryptoJS = factory(root.CryptoJS);
59
- }
60
- }(cryptoJs, function (CryptoJS) {
61
-
62
- return CryptoJS;
63
-
64
- }));
65
- } (cryptoJs$1, cryptoJs$1.exports));
66
- return cryptoJs$1.exports;
67
- }
68
-
69
- export { requireCryptoJs as __require };
@@ -1,93 +0,0 @@
1
- import '../../../../../_virtual/_commonjsHelpers.mjs';
2
- import { __module as libTypedarrays$1 } from '../../../../../_virtual/lib-typedarrays.mjs';
3
- import { __require as requireCore } from './core.mjs';
4
-
5
- var libTypedarrays = libTypedarrays$1.exports;
6
-
7
- var hasRequiredLibTypedarrays;
8
-
9
- function requireLibTypedarrays () {
10
- if (hasRequiredLibTypedarrays) return libTypedarrays$1.exports;
11
- hasRequiredLibTypedarrays = 1;
12
- (function (module, exports) {
13
- ;(function (root, factory) {
14
- if ('object' === "object") {
15
- // CommonJS
16
- module.exports = exports = factory(requireCore());
17
- }
18
- else if (typeof undefined === "function" && undefined.amd) {
19
- // AMD
20
- undefined(["./core"], factory);
21
- }
22
- else {
23
- // Global (browser)
24
- factory(root.CryptoJS);
25
- }
26
- }(libTypedarrays, function (CryptoJS) {
27
-
28
- (function () {
29
- // Check if typed arrays are supported
30
- if (typeof ArrayBuffer != 'function') {
31
- return;
32
- }
33
-
34
- // Shortcuts
35
- var C = CryptoJS;
36
- var C_lib = C.lib;
37
- var WordArray = C_lib.WordArray;
38
-
39
- // Reference original init
40
- var superInit = WordArray.init;
41
-
42
- // Augment WordArray.init to handle typed arrays
43
- var subInit = WordArray.init = function (typedArray) {
44
- // Convert buffers to uint8
45
- if (typedArray instanceof ArrayBuffer) {
46
- typedArray = new Uint8Array(typedArray);
47
- }
48
-
49
- // Convert other array views to uint8
50
- if (
51
- typedArray instanceof Int8Array ||
52
- (typeof Uint8ClampedArray !== "undefined" && typedArray instanceof Uint8ClampedArray) ||
53
- typedArray instanceof Int16Array ||
54
- typedArray instanceof Uint16Array ||
55
- typedArray instanceof Int32Array ||
56
- typedArray instanceof Uint32Array ||
57
- typedArray instanceof Float32Array ||
58
- typedArray instanceof Float64Array
59
- ) {
60
- typedArray = new Uint8Array(typedArray.buffer, typedArray.byteOffset, typedArray.byteLength);
61
- }
62
-
63
- // Handle Uint8Array
64
- if (typedArray instanceof Uint8Array) {
65
- // Shortcut
66
- var typedArrayByteLength = typedArray.byteLength;
67
-
68
- // Extract bytes
69
- var words = [];
70
- for (var i = 0; i < typedArrayByteLength; i++) {
71
- words[i >>> 2] |= typedArray[i] << (24 - (i % 4) * 8);
72
- }
73
-
74
- // Initialize this word array
75
- superInit.call(this, words, typedArrayByteLength);
76
- } else {
77
- // Else call normal init
78
- superInit.apply(this, arguments);
79
- }
80
- };
81
-
82
- subInit.prototype = WordArray;
83
- }());
84
-
85
-
86
- return CryptoJS.lib.WordArray;
87
-
88
- }));
89
- } (libTypedarrays$1, libTypedarrays$1.exports));
90
- return libTypedarrays$1.exports;
91
- }
92
-
93
- export { requireLibTypedarrays as __require };
@@ -1,285 +0,0 @@
1
- import '../../../../../_virtual/_commonjsHelpers.mjs';
2
- import { __module as md5$1 } from '../../../../../_virtual/md5.mjs';
3
- import { __require as requireCore } from './core.mjs';
4
-
5
- var md5 = md5$1.exports;
6
-
7
- var hasRequiredMd5;
8
-
9
- function requireMd5 () {
10
- if (hasRequiredMd5) return md5$1.exports;
11
- hasRequiredMd5 = 1;
12
- (function (module, exports) {
13
- ;(function (root, factory) {
14
- if ('object' === "object") {
15
- // CommonJS
16
- module.exports = exports = factory(requireCore());
17
- }
18
- else if (typeof undefined === "function" && undefined.amd) {
19
- // AMD
20
- undefined(["./core"], factory);
21
- }
22
- else {
23
- // Global (browser)
24
- factory(root.CryptoJS);
25
- }
26
- }(md5, function (CryptoJS) {
27
-
28
- (function (Math) {
29
- // Shortcuts
30
- var C = CryptoJS;
31
- var C_lib = C.lib;
32
- var WordArray = C_lib.WordArray;
33
- var Hasher = C_lib.Hasher;
34
- var C_algo = C.algo;
35
-
36
- // Constants table
37
- var T = [];
38
-
39
- // Compute constants
40
- (function () {
41
- for (var i = 0; i < 64; i++) {
42
- T[i] = (Math.abs(Math.sin(i + 1)) * 0x100000000) | 0;
43
- }
44
- }());
45
-
46
- /**
47
- * MD5 hash algorithm.
48
- */
49
- var MD5 = C_algo.MD5 = Hasher.extend({
50
- _doReset: function () {
51
- this._hash = new WordArray.init([
52
- 0x67452301, 0xefcdab89,
53
- 0x98badcfe, 0x10325476
54
- ]);
55
- },
56
-
57
- _doProcessBlock: function (M, offset) {
58
- // Swap endian
59
- for (var i = 0; i < 16; i++) {
60
- // Shortcuts
61
- var offset_i = offset + i;
62
- var M_offset_i = M[offset_i];
63
-
64
- M[offset_i] = (
65
- (((M_offset_i << 8) | (M_offset_i >>> 24)) & 0x00ff00ff) |
66
- (((M_offset_i << 24) | (M_offset_i >>> 8)) & 0xff00ff00)
67
- );
68
- }
69
-
70
- // Shortcuts
71
- var H = this._hash.words;
72
-
73
- var M_offset_0 = M[offset + 0];
74
- var M_offset_1 = M[offset + 1];
75
- var M_offset_2 = M[offset + 2];
76
- var M_offset_3 = M[offset + 3];
77
- var M_offset_4 = M[offset + 4];
78
- var M_offset_5 = M[offset + 5];
79
- var M_offset_6 = M[offset + 6];
80
- var M_offset_7 = M[offset + 7];
81
- var M_offset_8 = M[offset + 8];
82
- var M_offset_9 = M[offset + 9];
83
- var M_offset_10 = M[offset + 10];
84
- var M_offset_11 = M[offset + 11];
85
- var M_offset_12 = M[offset + 12];
86
- var M_offset_13 = M[offset + 13];
87
- var M_offset_14 = M[offset + 14];
88
- var M_offset_15 = M[offset + 15];
89
-
90
- // Working variables
91
- var a = H[0];
92
- var b = H[1];
93
- var c = H[2];
94
- var d = H[3];
95
-
96
- // Computation
97
- a = FF(a, b, c, d, M_offset_0, 7, T[0]);
98
- d = FF(d, a, b, c, M_offset_1, 12, T[1]);
99
- c = FF(c, d, a, b, M_offset_2, 17, T[2]);
100
- b = FF(b, c, d, a, M_offset_3, 22, T[3]);
101
- a = FF(a, b, c, d, M_offset_4, 7, T[4]);
102
- d = FF(d, a, b, c, M_offset_5, 12, T[5]);
103
- c = FF(c, d, a, b, M_offset_6, 17, T[6]);
104
- b = FF(b, c, d, a, M_offset_7, 22, T[7]);
105
- a = FF(a, b, c, d, M_offset_8, 7, T[8]);
106
- d = FF(d, a, b, c, M_offset_9, 12, T[9]);
107
- c = FF(c, d, a, b, M_offset_10, 17, T[10]);
108
- b = FF(b, c, d, a, M_offset_11, 22, T[11]);
109
- a = FF(a, b, c, d, M_offset_12, 7, T[12]);
110
- d = FF(d, a, b, c, M_offset_13, 12, T[13]);
111
- c = FF(c, d, a, b, M_offset_14, 17, T[14]);
112
- b = FF(b, c, d, a, M_offset_15, 22, T[15]);
113
-
114
- a = GG(a, b, c, d, M_offset_1, 5, T[16]);
115
- d = GG(d, a, b, c, M_offset_6, 9, T[17]);
116
- c = GG(c, d, a, b, M_offset_11, 14, T[18]);
117
- b = GG(b, c, d, a, M_offset_0, 20, T[19]);
118
- a = GG(a, b, c, d, M_offset_5, 5, T[20]);
119
- d = GG(d, a, b, c, M_offset_10, 9, T[21]);
120
- c = GG(c, d, a, b, M_offset_15, 14, T[22]);
121
- b = GG(b, c, d, a, M_offset_4, 20, T[23]);
122
- a = GG(a, b, c, d, M_offset_9, 5, T[24]);
123
- d = GG(d, a, b, c, M_offset_14, 9, T[25]);
124
- c = GG(c, d, a, b, M_offset_3, 14, T[26]);
125
- b = GG(b, c, d, a, M_offset_8, 20, T[27]);
126
- a = GG(a, b, c, d, M_offset_13, 5, T[28]);
127
- d = GG(d, a, b, c, M_offset_2, 9, T[29]);
128
- c = GG(c, d, a, b, M_offset_7, 14, T[30]);
129
- b = GG(b, c, d, a, M_offset_12, 20, T[31]);
130
-
131
- a = HH(a, b, c, d, M_offset_5, 4, T[32]);
132
- d = HH(d, a, b, c, M_offset_8, 11, T[33]);
133
- c = HH(c, d, a, b, M_offset_11, 16, T[34]);
134
- b = HH(b, c, d, a, M_offset_14, 23, T[35]);
135
- a = HH(a, b, c, d, M_offset_1, 4, T[36]);
136
- d = HH(d, a, b, c, M_offset_4, 11, T[37]);
137
- c = HH(c, d, a, b, M_offset_7, 16, T[38]);
138
- b = HH(b, c, d, a, M_offset_10, 23, T[39]);
139
- a = HH(a, b, c, d, M_offset_13, 4, T[40]);
140
- d = HH(d, a, b, c, M_offset_0, 11, T[41]);
141
- c = HH(c, d, a, b, M_offset_3, 16, T[42]);
142
- b = HH(b, c, d, a, M_offset_6, 23, T[43]);
143
- a = HH(a, b, c, d, M_offset_9, 4, T[44]);
144
- d = HH(d, a, b, c, M_offset_12, 11, T[45]);
145
- c = HH(c, d, a, b, M_offset_15, 16, T[46]);
146
- b = HH(b, c, d, a, M_offset_2, 23, T[47]);
147
-
148
- a = II(a, b, c, d, M_offset_0, 6, T[48]);
149
- d = II(d, a, b, c, M_offset_7, 10, T[49]);
150
- c = II(c, d, a, b, M_offset_14, 15, T[50]);
151
- b = II(b, c, d, a, M_offset_5, 21, T[51]);
152
- a = II(a, b, c, d, M_offset_12, 6, T[52]);
153
- d = II(d, a, b, c, M_offset_3, 10, T[53]);
154
- c = II(c, d, a, b, M_offset_10, 15, T[54]);
155
- b = II(b, c, d, a, M_offset_1, 21, T[55]);
156
- a = II(a, b, c, d, M_offset_8, 6, T[56]);
157
- d = II(d, a, b, c, M_offset_15, 10, T[57]);
158
- c = II(c, d, a, b, M_offset_6, 15, T[58]);
159
- b = II(b, c, d, a, M_offset_13, 21, T[59]);
160
- a = II(a, b, c, d, M_offset_4, 6, T[60]);
161
- d = II(d, a, b, c, M_offset_11, 10, T[61]);
162
- c = II(c, d, a, b, M_offset_2, 15, T[62]);
163
- b = II(b, c, d, a, M_offset_9, 21, T[63]);
164
-
165
- // Intermediate hash value
166
- H[0] = (H[0] + a) | 0;
167
- H[1] = (H[1] + b) | 0;
168
- H[2] = (H[2] + c) | 0;
169
- H[3] = (H[3] + d) | 0;
170
- },
171
-
172
- _doFinalize: function () {
173
- // Shortcuts
174
- var data = this._data;
175
- var dataWords = data.words;
176
-
177
- var nBitsTotal = this._nDataBytes * 8;
178
- var nBitsLeft = data.sigBytes * 8;
179
-
180
- // Add padding
181
- dataWords[nBitsLeft >>> 5] |= 0x80 << (24 - nBitsLeft % 32);
182
-
183
- var nBitsTotalH = Math.floor(nBitsTotal / 0x100000000);
184
- var nBitsTotalL = nBitsTotal;
185
- dataWords[(((nBitsLeft + 64) >>> 9) << 4) + 15] = (
186
- (((nBitsTotalH << 8) | (nBitsTotalH >>> 24)) & 0x00ff00ff) |
187
- (((nBitsTotalH << 24) | (nBitsTotalH >>> 8)) & 0xff00ff00)
188
- );
189
- dataWords[(((nBitsLeft + 64) >>> 9) << 4) + 14] = (
190
- (((nBitsTotalL << 8) | (nBitsTotalL >>> 24)) & 0x00ff00ff) |
191
- (((nBitsTotalL << 24) | (nBitsTotalL >>> 8)) & 0xff00ff00)
192
- );
193
-
194
- data.sigBytes = (dataWords.length + 1) * 4;
195
-
196
- // Hash final blocks
197
- this._process();
198
-
199
- // Shortcuts
200
- var hash = this._hash;
201
- var H = hash.words;
202
-
203
- // Swap endian
204
- for (var i = 0; i < 4; i++) {
205
- // Shortcut
206
- var H_i = H[i];
207
-
208
- H[i] = (((H_i << 8) | (H_i >>> 24)) & 0x00ff00ff) |
209
- (((H_i << 24) | (H_i >>> 8)) & 0xff00ff00);
210
- }
211
-
212
- // Return final computed hash
213
- return hash;
214
- },
215
-
216
- clone: function () {
217
- var clone = Hasher.clone.call(this);
218
- clone._hash = this._hash.clone();
219
-
220
- return clone;
221
- }
222
- });
223
-
224
- function FF(a, b, c, d, x, s, t) {
225
- var n = a + ((b & c) | (~b & d)) + x + t;
226
- return ((n << s) | (n >>> (32 - s))) + b;
227
- }
228
-
229
- function GG(a, b, c, d, x, s, t) {
230
- var n = a + ((b & d) | (c & ~d)) + x + t;
231
- return ((n << s) | (n >>> (32 - s))) + b;
232
- }
233
-
234
- function HH(a, b, c, d, x, s, t) {
235
- var n = a + (b ^ c ^ d) + x + t;
236
- return ((n << s) | (n >>> (32 - s))) + b;
237
- }
238
-
239
- function II(a, b, c, d, x, s, t) {
240
- var n = a + (c ^ (b | ~d)) + x + t;
241
- return ((n << s) | (n >>> (32 - s))) + b;
242
- }
243
-
244
- /**
245
- * Shortcut function to the hasher's object interface.
246
- *
247
- * @param {WordArray|string} message The message to hash.
248
- *
249
- * @return {WordArray} The hash.
250
- *
251
- * @static
252
- *
253
- * @example
254
- *
255
- * var hash = CryptoJS.MD5('message');
256
- * var hash = CryptoJS.MD5(wordArray);
257
- */
258
- C.MD5 = Hasher._createHelper(MD5);
259
-
260
- /**
261
- * Shortcut function to the HMAC's object interface.
262
- *
263
- * @param {WordArray|string} message The message to hash.
264
- * @param {WordArray|string} key The secret key.
265
- *
266
- * @return {WordArray} The HMAC.
267
- *
268
- * @static
269
- *
270
- * @example
271
- *
272
- * var hmac = CryptoJS.HmacMD5(message, key);
273
- */
274
- C.HmacMD5 = Hasher._createHmacHelper(MD5);
275
- }(Math));
276
-
277
-
278
- return CryptoJS.MD5;
279
-
280
- }));
281
- } (md5$1, md5$1.exports));
282
- return md5$1.exports;
283
- }
284
-
285
- export { requireMd5 as __require };