asterui 0.12.0 → 0.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/components/Form.d.ts +27 -2
- package/dist/components/Radio.d.ts +7 -1
- package/dist/components/Status.d.ts +18 -0
- package/dist/index.d.ts +4 -2
- package/dist/index.js +61 -59
- package/dist/index.js.map +1 -1
- package/dist/index100.js +7 -12
- package/dist/index100.js.map +1 -1
- package/dist/index101.js +11 -29
- package/dist/index101.js.map +1 -1
- package/dist/index102.js +29 -16
- package/dist/index102.js.map +1 -1
- package/dist/index103.js +17 -10792
- package/dist/index103.js.map +1 -1
- package/dist/index104.js +10793 -5
- package/dist/index104.js.map +1 -1
- package/dist/index105.js +5 -42
- package/dist/index105.js.map +1 -1
- package/dist/index106.js +42 -2
- package/dist/index106.js.map +1 -1
- package/dist/index107.js +2 -7
- package/dist/index107.js.map +1 -1
- package/dist/index108.js +6 -151
- package/dist/index108.js.map +1 -1
- package/dist/index109.js +147 -25
- package/dist/index109.js.map +1 -1
- package/dist/index110.js +28 -28
- package/dist/index110.js.map +1 -1
- package/dist/index111.js +30 -2
- package/dist/index111.js.map +1 -1
- package/dist/index112.js +2 -72
- package/dist/index112.js.map +1 -1
- package/dist/index113.js +71 -38
- package/dist/index113.js.map +1 -1
- package/dist/index114.js +37 -24
- package/dist/index114.js.map +1 -1
- package/dist/index115.js +24 -19
- package/dist/index115.js.map +1 -1
- package/dist/index116.js +20 -23
- package/dist/index116.js.map +1 -1
- package/dist/index117.js +23 -19
- package/dist/index117.js.map +1 -1
- package/dist/index118.js +19 -99
- package/dist/index118.js.map +1 -1
- package/dist/index119.js +98 -358
- package/dist/index119.js.map +1 -1
- package/dist/index120.js +358 -23
- package/dist/index120.js.map +1 -1
- package/dist/index121.js +23 -71
- package/dist/index121.js.map +1 -1
- package/dist/index122.js +72 -15
- package/dist/index122.js.map +1 -1
- package/dist/index123.js +15 -65
- package/dist/index123.js.map +1 -1
- package/dist/index124.js +61 -139
- package/dist/index124.js.map +1 -1
- package/dist/index125.js +144 -2
- package/dist/index125.js.map +1 -1
- package/dist/index126.js +2 -56
- package/dist/index126.js.map +1 -1
- package/dist/index127.js +56 -2
- package/dist/index127.js.map +1 -1
- package/dist/index128.js +2 -2
- package/dist/index131.js +2 -2
- package/dist/index132.js +2 -2
- package/dist/index133.js +2 -2
- package/dist/index134.js +2 -2
- package/dist/index135.js +2 -32
- package/dist/index135.js.map +1 -1
- package/dist/index136.js +32 -2
- package/dist/index136.js.map +1 -1
- package/dist/index137.js +2 -8
- package/dist/index137.js.map +1 -1
- package/dist/index138.js +8 -2
- package/dist/index138.js.map +1 -1
- package/dist/index139.js +2 -2
- package/dist/index140.js +2 -21
- package/dist/index140.js.map +1 -1
- package/dist/index141.js +21 -2
- package/dist/index141.js.map +1 -1
- package/dist/index142.js +2 -24
- package/dist/index142.js.map +1 -1
- package/dist/index143.js +17 -64
- package/dist/index143.js.map +1 -1
- package/dist/index144.js +68 -18
- package/dist/index144.js.map +1 -1
- package/dist/index145.js +18 -31
- package/dist/index145.js.map +1 -1
- package/dist/index146.js +32 -68
- package/dist/index146.js.map +1 -1
- package/dist/index147.js +70 -2
- package/dist/index147.js.map +1 -1
- package/dist/index148.js +2 -22
- package/dist/index148.js.map +1 -1
- package/dist/index149.js +22 -2
- package/dist/index149.js.map +1 -1
- package/dist/index15.js +1 -1
- package/dist/index151.js +2 -2
- package/dist/index152.js +2 -2
- package/dist/index153.js +2 -4
- package/dist/index153.js.map +1 -1
- package/dist/index154.js +7 -0
- package/dist/index154.js.map +1 -0
- package/dist/index31.js +175 -116
- package/dist/index31.js.map +1 -1
- package/dist/index62.js +1 -1
- package/dist/index63.js +24 -24
- package/dist/index63.js.map +1 -1
- package/dist/index75.js +31 -22
- package/dist/index75.js.map +1 -1
- package/dist/index76.js +20 -327
- package/dist/index76.js.map +1 -1
- package/dist/index77.js +323 -50
- package/dist/index77.js.map +1 -1
- package/dist/index78.js +56 -40
- package/dist/index78.js.map +1 -1
- package/dist/index79.js +40 -23
- package/dist/index79.js.map +1 -1
- package/dist/index80.js +21 -93
- package/dist/index80.js.map +1 -1
- package/dist/index81.js +88 -123
- package/dist/index81.js.map +1 -1
- package/dist/index82.js +123 -154
- package/dist/index82.js.map +1 -1
- package/dist/index83.js +159 -63
- package/dist/index83.js.map +1 -1
- package/dist/index84.js +65 -35
- package/dist/index84.js.map +1 -1
- package/dist/index85.js +35 -234
- package/dist/index85.js.map +1 -1
- package/dist/index86.js +231 -31
- package/dist/index86.js.map +1 -1
- package/dist/index87.js +34 -210
- package/dist/index87.js.map +1 -1
- package/dist/index88.js +195 -198
- package/dist/index88.js.map +1 -1
- package/dist/index89.js +159 -241
- package/dist/index89.js.map +1 -1
- package/dist/index90.js +283 -166
- package/dist/index90.js.map +1 -1
- package/dist/index91.js +173 -253
- package/dist/index91.js.map +1 -1
- package/dist/index92.js +258 -14
- package/dist/index92.js.map +1 -1
- package/dist/index93.js +12 -31
- package/dist/index93.js.map +1 -1
- package/dist/index94.js +32 -5
- package/dist/index94.js.map +1 -1
- package/dist/index95.js +5 -13
- package/dist/index95.js.map +1 -1
- package/dist/index96.js +11 -43
- package/dist/index96.js.map +1 -1
- package/dist/index97.js +44 -11
- package/dist/index97.js.map +1 -1
- package/dist/index98.js +10 -12
- package/dist/index98.js.map +1 -1
- package/dist/index99.js +14 -7
- package/dist/index99.js.map +1 -1
- package/package.json +1 -1
package/dist/index142.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index142.js","sources":[
|
|
1
|
+
{"version":3,"file":"index142.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
package/dist/index143.js
CHANGED
|
@@ -1,74 +1,27 @@
|
|
|
1
|
-
import { __require as
|
|
2
|
-
var
|
|
3
|
-
function
|
|
4
|
-
if (
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
"0",
|
|
8
|
-
"1",
|
|
9
|
-
"2",
|
|
10
|
-
"3",
|
|
11
|
-
"4",
|
|
12
|
-
"5",
|
|
13
|
-
"6",
|
|
14
|
-
"7",
|
|
15
|
-
"8",
|
|
16
|
-
"9",
|
|
17
|
-
"A",
|
|
18
|
-
"B",
|
|
19
|
-
"C",
|
|
20
|
-
"D",
|
|
21
|
-
"E",
|
|
22
|
-
"F",
|
|
23
|
-
"G",
|
|
24
|
-
"H",
|
|
25
|
-
"I",
|
|
26
|
-
"J",
|
|
27
|
-
"K",
|
|
28
|
-
"L",
|
|
29
|
-
"M",
|
|
30
|
-
"N",
|
|
31
|
-
"O",
|
|
32
|
-
"P",
|
|
33
|
-
"Q",
|
|
34
|
-
"R",
|
|
35
|
-
"S",
|
|
36
|
-
"T",
|
|
37
|
-
"U",
|
|
38
|
-
"V",
|
|
39
|
-
"W",
|
|
40
|
-
"X",
|
|
41
|
-
"Y",
|
|
42
|
-
"Z",
|
|
43
|
-
" ",
|
|
44
|
-
"$",
|
|
45
|
-
"%",
|
|
46
|
-
"*",
|
|
47
|
-
"+",
|
|
48
|
-
"-",
|
|
49
|
-
".",
|
|
50
|
-
"/",
|
|
51
|
-
":"
|
|
52
|
-
];
|
|
1
|
+
import { __require as h } from "./index124.js";
|
|
2
|
+
var u, s;
|
|
3
|
+
function c() {
|
|
4
|
+
if (s) return u;
|
|
5
|
+
s = 1;
|
|
6
|
+
const g = h();
|
|
53
7
|
function t(i) {
|
|
54
|
-
this.mode =
|
|
8
|
+
this.mode = g.NUMERIC, this.data = i.toString();
|
|
55
9
|
}
|
|
56
|
-
return t.getBitsLength = function(
|
|
57
|
-
return
|
|
10
|
+
return t.getBitsLength = function(e) {
|
|
11
|
+
return 10 * Math.floor(e / 3) + (e % 3 ? e % 3 * 3 + 1 : 0);
|
|
58
12
|
}, t.prototype.getLength = function() {
|
|
59
13
|
return this.data.length;
|
|
60
14
|
}, t.prototype.getBitsLength = function() {
|
|
61
15
|
return t.getBitsLength(this.data.length);
|
|
62
|
-
}, t.prototype.write = function(
|
|
63
|
-
let
|
|
64
|
-
for (
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
}, r = t, r;
|
|
16
|
+
}, t.prototype.write = function(e) {
|
|
17
|
+
let r, n, a;
|
|
18
|
+
for (r = 0; r + 3 <= this.data.length; r += 3)
|
|
19
|
+
n = this.data.substr(r, 3), a = parseInt(n, 10), e.put(a, 10);
|
|
20
|
+
const o = this.data.length - r;
|
|
21
|
+
o > 0 && (n = this.data.substr(r), a = parseInt(n, 10), e.put(a, o * 3 + 1));
|
|
22
|
+
}, u = t, u;
|
|
70
23
|
}
|
|
71
24
|
export {
|
|
72
|
-
|
|
25
|
+
c as __require
|
|
73
26
|
};
|
|
74
27
|
//# sourceMappingURL=index143.js.map
|
package/dist/index143.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index143.js","sources":["../../../node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/
|
|
1
|
+
{"version":3,"file":"index143.js","sources":["../../../node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/numeric-data.js"],"sourcesContent":["const Mode = require('./mode')\n\nfunction NumericData (data) {\n this.mode = Mode.NUMERIC\n this.data = data.toString()\n}\n\nNumericData.getBitsLength = function getBitsLength (length) {\n return 10 * Math.floor(length / 3) + ((length % 3) ? ((length % 3) * 3 + 1) : 0)\n}\n\nNumericData.prototype.getLength = function getLength () {\n return this.data.length\n}\n\nNumericData.prototype.getBitsLength = function getBitsLength () {\n return NumericData.getBitsLength(this.data.length)\n}\n\nNumericData.prototype.write = function write (bitBuffer) {\n let i, group, value\n\n // The input data string is divided into groups of three digits,\n // and each group is converted to its 10-bit binary equivalent.\n for (i = 0; i + 3 <= this.data.length; i += 3) {\n group = this.data.substr(i, 3)\n value = parseInt(group, 10)\n\n bitBuffer.put(value, 10)\n }\n\n // If the number of input digits is not an exact multiple of three,\n // the final one or two digits are converted to 4 or 7 bits respectively.\n const remainingNum = this.data.length - i\n if (remainingNum > 0) {\n group = this.data.substr(i)\n value = parseInt(group, 10)\n\n bitBuffer.put(value, remainingNum * 3 + 1)\n }\n}\n\nmodule.exports = NumericData\n"],"names":["Mode","require$$0","NumericData","data","length","bitBuffer","i","group","value","remainingNum","numericData"],"mappings":";;;;;AAAA,QAAMA,IAAOC,EAAA;AAEb,WAASC,EAAaC,GAAM;AAC1B,SAAK,OAAOH,EAAK,SACjB,KAAK,OAAOG,EAAK,SAAQ;AAAA,EAC3B;AAEA,SAAAD,EAAY,gBAAgB,SAAwBE,GAAQ;AAC1D,WAAO,KAAK,KAAK,MAAMA,IAAS,CAAC,KAAMA,IAAS,IAAOA,IAAS,IAAK,IAAI,IAAK;AAAA,EAChF,GAEAF,EAAY,UAAU,YAAY,WAAsB;AACtD,WAAO,KAAK,KAAK;AAAA,EACnB,GAEAA,EAAY,UAAU,gBAAgB,WAA0B;AAC9D,WAAOA,EAAY,cAAc,KAAK,KAAK,MAAM;AAAA,EACnD,GAEAA,EAAY,UAAU,QAAQ,SAAgBG,GAAW;AACvD,QAAIC,GAAGC,GAAOC;AAId,SAAKF,IAAI,GAAGA,IAAI,KAAK,KAAK,KAAK,QAAQA,KAAK;AAC1C,MAAAC,IAAQ,KAAK,KAAK,OAAOD,GAAG,CAAC,GAC7BE,IAAQ,SAASD,GAAO,EAAE,GAE1BF,EAAU,IAAIG,GAAO,EAAE;AAKzB,UAAMC,IAAe,KAAK,KAAK,SAASH;AACxC,IAAIG,IAAe,MACjBF,IAAQ,KAAK,KAAK,OAAOD,CAAC,GAC1BE,IAAQ,SAASD,GAAO,EAAE,GAE1BF,EAAU,IAAIG,GAAOC,IAAe,IAAI,CAAC;AAAA,EAE7C,GAEAC,IAAiBR;;","x_google_ignoreList":[0]}
|
package/dist/index144.js
CHANGED
|
@@ -1,24 +1,74 @@
|
|
|
1
|
-
import { __require as
|
|
2
|
-
var r,
|
|
3
|
-
function
|
|
4
|
-
if (
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { __require as s } from "./index124.js";
|
|
2
|
+
var r, o;
|
|
3
|
+
function d() {
|
|
4
|
+
if (o) return r;
|
|
5
|
+
o = 1;
|
|
6
|
+
const u = s(), n = [
|
|
7
|
+
"0",
|
|
8
|
+
"1",
|
|
9
|
+
"2",
|
|
10
|
+
"3",
|
|
11
|
+
"4",
|
|
12
|
+
"5",
|
|
13
|
+
"6",
|
|
14
|
+
"7",
|
|
15
|
+
"8",
|
|
16
|
+
"9",
|
|
17
|
+
"A",
|
|
18
|
+
"B",
|
|
19
|
+
"C",
|
|
20
|
+
"D",
|
|
21
|
+
"E",
|
|
22
|
+
"F",
|
|
23
|
+
"G",
|
|
24
|
+
"H",
|
|
25
|
+
"I",
|
|
26
|
+
"J",
|
|
27
|
+
"K",
|
|
28
|
+
"L",
|
|
29
|
+
"M",
|
|
30
|
+
"N",
|
|
31
|
+
"O",
|
|
32
|
+
"P",
|
|
33
|
+
"Q",
|
|
34
|
+
"R",
|
|
35
|
+
"S",
|
|
36
|
+
"T",
|
|
37
|
+
"U",
|
|
38
|
+
"V",
|
|
39
|
+
"W",
|
|
40
|
+
"X",
|
|
41
|
+
"Y",
|
|
42
|
+
"Z",
|
|
43
|
+
" ",
|
|
44
|
+
"$",
|
|
45
|
+
"%",
|
|
46
|
+
"*",
|
|
47
|
+
"+",
|
|
48
|
+
"-",
|
|
49
|
+
".",
|
|
50
|
+
"/",
|
|
51
|
+
":"
|
|
52
|
+
];
|
|
53
|
+
function t(i) {
|
|
54
|
+
this.mode = u.ALPHANUMERIC, this.data = i;
|
|
9
55
|
}
|
|
10
|
-
return
|
|
11
|
-
return
|
|
12
|
-
},
|
|
56
|
+
return t.getBitsLength = function(a) {
|
|
57
|
+
return 11 * Math.floor(a / 2) + 6 * (a % 2);
|
|
58
|
+
}, t.prototype.getLength = function() {
|
|
13
59
|
return this.data.length;
|
|
14
|
-
},
|
|
15
|
-
return
|
|
16
|
-
},
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
60
|
+
}, t.prototype.getBitsLength = function() {
|
|
61
|
+
return t.getBitsLength(this.data.length);
|
|
62
|
+
}, t.prototype.write = function(a) {
|
|
63
|
+
let e;
|
|
64
|
+
for (e = 0; e + 2 <= this.data.length; e += 2) {
|
|
65
|
+
let h = n.indexOf(this.data[e]) * 45;
|
|
66
|
+
h += n.indexOf(this.data[e + 1]), a.put(h, 11);
|
|
67
|
+
}
|
|
68
|
+
this.data.length % 2 && a.put(n.indexOf(this.data[e]), 6);
|
|
69
|
+
}, r = t, r;
|
|
20
70
|
}
|
|
21
71
|
export {
|
|
22
|
-
|
|
72
|
+
d as __require
|
|
23
73
|
};
|
|
24
74
|
//# sourceMappingURL=index144.js.map
|
package/dist/index144.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index144.js","sources":["../../../node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/
|
|
1
|
+
{"version":3,"file":"index144.js","sources":["../../../node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/alphanumeric-data.js"],"sourcesContent":["const Mode = require('./mode')\n\n/**\n * Array of characters available in alphanumeric mode\n *\n * As per QR Code specification, to each character\n * is assigned a value from 0 to 44 which in this case coincides\n * with the array index\n *\n * @type {Array}\n */\nconst ALPHA_NUM_CHARS = [\n '0', '1', '2', '3', '4', '5', '6', '7', '8', '9',\n 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M',\n 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z',\n ' ', '$', '%', '*', '+', '-', '.', '/', ':'\n]\n\nfunction AlphanumericData (data) {\n this.mode = Mode.ALPHANUMERIC\n this.data = data\n}\n\nAlphanumericData.getBitsLength = function getBitsLength (length) {\n return 11 * Math.floor(length / 2) + 6 * (length % 2)\n}\n\nAlphanumericData.prototype.getLength = function getLength () {\n return this.data.length\n}\n\nAlphanumericData.prototype.getBitsLength = function getBitsLength () {\n return AlphanumericData.getBitsLength(this.data.length)\n}\n\nAlphanumericData.prototype.write = function write (bitBuffer) {\n let i\n\n // Input data characters are divided into groups of two characters\n // and encoded as 11-bit binary codes.\n for (i = 0; i + 2 <= this.data.length; i += 2) {\n // The character value of the first character is multiplied by 45\n let value = ALPHA_NUM_CHARS.indexOf(this.data[i]) * 45\n\n // The character value of the second digit is added to the product\n value += ALPHA_NUM_CHARS.indexOf(this.data[i + 1])\n\n // The sum is then stored as 11-bit binary number\n bitBuffer.put(value, 11)\n }\n\n // If the number of input data characters is not a multiple of two,\n // the character value of the final character is encoded as a 6-bit binary number.\n if (this.data.length % 2) {\n bitBuffer.put(ALPHA_NUM_CHARS.indexOf(this.data[i]), 6)\n }\n}\n\nmodule.exports = AlphanumericData\n"],"names":["Mode","require$$0","ALPHA_NUM_CHARS","AlphanumericData","data","length","bitBuffer","i","value","alphanumericData"],"mappings":";;;;;AAAA,QAAMA,IAAOC,EAAA,GAWPC,IAAkB;AAAA,IACtB;AAAA,IAAK;AAAA,IAAK;AAAA,IAAK;AAAA,IAAK;AAAA,IAAK;AAAA,IAAK;AAAA,IAAK;AAAA,IAAK;AAAA,IAAK;AAAA,IAC7C;AAAA,IAAK;AAAA,IAAK;AAAA,IAAK;AAAA,IAAK;AAAA,IAAK;AAAA,IAAK;AAAA,IAAK;AAAA,IAAK;AAAA,IAAK;AAAA,IAAK;AAAA,IAAK;AAAA,IAAK;AAAA,IAC5D;AAAA,IAAK;AAAA,IAAK;AAAA,IAAK;AAAA,IAAK;AAAA,IAAK;AAAA,IAAK;AAAA,IAAK;AAAA,IAAK;AAAA,IAAK;AAAA,IAAK;AAAA,IAAK;AAAA,IAAK;AAAA,IAC5D;AAAA,IAAK;AAAA,IAAK;AAAA,IAAK;AAAA,IAAK;AAAA,IAAK;AAAA,IAAK;AAAA,IAAK;AAAA,IAAK;AAAA,EAC1C;AAEA,WAASC,EAAkBC,GAAM;AAC/B,SAAK,OAAOJ,EAAK,cACjB,KAAK,OAAOI;AAAA,EACd;AAEA,SAAAD,EAAiB,gBAAgB,SAAwBE,GAAQ;AAC/D,WAAO,KAAK,KAAK,MAAMA,IAAS,CAAC,IAAI,KAAKA,IAAS;AAAA,EACrD,GAEAF,EAAiB,UAAU,YAAY,WAAsB;AAC3D,WAAO,KAAK,KAAK;AAAA,EACnB,GAEAA,EAAiB,UAAU,gBAAgB,WAA0B;AACnE,WAAOA,EAAiB,cAAc,KAAK,KAAK,MAAM;AAAA,EACxD,GAEAA,EAAiB,UAAU,QAAQ,SAAgBG,GAAW;AAC5D,QAAIC;AAIJ,SAAKA,IAAI,GAAGA,IAAI,KAAK,KAAK,KAAK,QAAQA,KAAK,GAAG;AAE7C,UAAIC,IAAQN,EAAgB,QAAQ,KAAK,KAAKK,CAAC,CAAC,IAAI;AAGpD,MAAAC,KAASN,EAAgB,QAAQ,KAAK,KAAKK,IAAI,CAAC,CAAC,GAGjDD,EAAU,IAAIE,GAAO,EAAE;AAAA,IAC3B;AAIE,IAAI,KAAK,KAAK,SAAS,KACrBF,EAAU,IAAIJ,EAAgB,QAAQ,KAAK,KAAKK,CAAC,CAAC,GAAG,CAAC;AAAA,EAE1D,GAEAE,IAAiBN;;","x_google_ignoreList":[0]}
|
package/dist/index145.js
CHANGED
|
@@ -1,37 +1,24 @@
|
|
|
1
|
-
import { __require as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
this.mode = o.KANJI, this.data = i;
|
|
1
|
+
import { __require as g } from "./index124.js";
|
|
2
|
+
var r, i;
|
|
3
|
+
function s() {
|
|
4
|
+
if (i) return r;
|
|
5
|
+
i = 1;
|
|
6
|
+
const o = g();
|
|
7
|
+
function e(t) {
|
|
8
|
+
this.mode = o.BYTE, typeof t == "string" ? this.data = new TextEncoder().encode(t) : this.data = new Uint8Array(t);
|
|
10
9
|
}
|
|
11
|
-
return
|
|
12
|
-
return
|
|
13
|
-
},
|
|
10
|
+
return e.getBitsLength = function(n) {
|
|
11
|
+
return n * 8;
|
|
12
|
+
}, e.prototype.getLength = function() {
|
|
14
13
|
return this.data.length;
|
|
15
|
-
},
|
|
16
|
-
return
|
|
17
|
-
},
|
|
18
|
-
let
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
if (t >= 33088 && t <= 40956)
|
|
22
|
-
t -= 33088;
|
|
23
|
-
else if (t >= 57408 && t <= 60351)
|
|
24
|
-
t -= 49472;
|
|
25
|
-
else
|
|
26
|
-
throw new Error(
|
|
27
|
-
"Invalid SJIS character: " + this.data[e] + `
|
|
28
|
-
Make sure your charset is UTF-8`
|
|
29
|
-
);
|
|
30
|
-
t = (t >>> 8 & 255) * 192 + (t & 255), i.put(t, 13);
|
|
31
|
-
}
|
|
32
|
-
}, a = r, a;
|
|
14
|
+
}, e.prototype.getBitsLength = function() {
|
|
15
|
+
return e.getBitsLength(this.data.length);
|
|
16
|
+
}, e.prototype.write = function(t) {
|
|
17
|
+
for (let n = 0, a = this.data.length; n < a; n++)
|
|
18
|
+
t.put(this.data[n], 8);
|
|
19
|
+
}, r = e, r;
|
|
33
20
|
}
|
|
34
21
|
export {
|
|
35
|
-
|
|
22
|
+
s as __require
|
|
36
23
|
};
|
|
37
24
|
//# sourceMappingURL=index145.js.map
|
package/dist/index145.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index145.js","sources":["../../../node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/
|
|
1
|
+
{"version":3,"file":"index145.js","sources":["../../../node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/byte-data.js"],"sourcesContent":["const Mode = require('./mode')\n\nfunction ByteData (data) {\n this.mode = Mode.BYTE\n if (typeof (data) === 'string') {\n this.data = new TextEncoder().encode(data)\n } else {\n this.data = new Uint8Array(data)\n }\n}\n\nByteData.getBitsLength = function getBitsLength (length) {\n return length * 8\n}\n\nByteData.prototype.getLength = function getLength () {\n return this.data.length\n}\n\nByteData.prototype.getBitsLength = function getBitsLength () {\n return ByteData.getBitsLength(this.data.length)\n}\n\nByteData.prototype.write = function (bitBuffer) {\n for (let i = 0, l = this.data.length; i < l; i++) {\n bitBuffer.put(this.data[i], 8)\n }\n}\n\nmodule.exports = ByteData\n"],"names":["Mode","require$$0","ByteData","data","length","bitBuffer","i","l","byteData"],"mappings":";;;;;AAAA,QAAMA,IAAOC,EAAA;AAEb,WAASC,EAAUC,GAAM;AACvB,SAAK,OAAOH,EAAK,MACb,OAAQG,KAAU,WACpB,KAAK,OAAO,IAAI,YAAW,EAAG,OAAOA,CAAI,IAEzC,KAAK,OAAO,IAAI,WAAWA,CAAI;AAAA,EAEnC;AAEA,SAAAD,EAAS,gBAAgB,SAAwBE,GAAQ;AACvD,WAAOA,IAAS;AAAA,EAClB,GAEAF,EAAS,UAAU,YAAY,WAAsB;AACnD,WAAO,KAAK,KAAK;AAAA,EACnB,GAEAA,EAAS,UAAU,gBAAgB,WAA0B;AAC3D,WAAOA,EAAS,cAAc,KAAK,KAAK,MAAM;AAAA,EAChD,GAEAA,EAAS,UAAU,QAAQ,SAAUG,GAAW;AAC9C,aAASC,IAAI,GAAGC,IAAI,KAAK,KAAK,QAAQD,IAAIC,GAAGD;AAC3C,MAAAD,EAAU,IAAI,KAAK,KAAKC,CAAC,GAAG,CAAC;AAAA,EAEjC,GAEAE,IAAiBN;;","x_google_ignoreList":[0]}
|
package/dist/index146.js
CHANGED
|
@@ -1,73 +1,37 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
return u.extract_shortest_path_from_predecessor_list(
|
|
30
|
-
r,
|
|
31
|
-
e
|
|
1
|
+
import { __require as u } from "./index124.js";
|
|
2
|
+
import { __require as h } from "./index113.js";
|
|
3
|
+
var a, n;
|
|
4
|
+
function c() {
|
|
5
|
+
if (n) return a;
|
|
6
|
+
n = 1;
|
|
7
|
+
const o = u(), s = h();
|
|
8
|
+
function r(i) {
|
|
9
|
+
this.mode = o.KANJI, this.data = i;
|
|
10
|
+
}
|
|
11
|
+
return r.getBitsLength = function(e) {
|
|
12
|
+
return e * 13;
|
|
13
|
+
}, r.prototype.getLength = function() {
|
|
14
|
+
return this.data.length;
|
|
15
|
+
}, r.prototype.getBitsLength = function() {
|
|
16
|
+
return r.getBitsLength(this.data.length);
|
|
17
|
+
}, r.prototype.write = function(i) {
|
|
18
|
+
let e;
|
|
19
|
+
for (e = 0; e < this.data.length; e++) {
|
|
20
|
+
let t = s.toSJIS(this.data[e]);
|
|
21
|
+
if (t >= 33088 && t <= 40956)
|
|
22
|
+
t -= 33088;
|
|
23
|
+
else if (t >= 57408 && t <= 60351)
|
|
24
|
+
t -= 49472;
|
|
25
|
+
else
|
|
26
|
+
throw new Error(
|
|
27
|
+
"Invalid SJIS character: " + this.data[e] + `
|
|
28
|
+
Make sure your charset is UTF-8`
|
|
32
29
|
);
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
*/
|
|
37
|
-
PriorityQueue: {
|
|
38
|
-
make: function(o) {
|
|
39
|
-
var t = u.PriorityQueue, e = {}, r;
|
|
40
|
-
o = o || {};
|
|
41
|
-
for (r in t)
|
|
42
|
-
t.hasOwnProperty(r) && (e[r] = t[r]);
|
|
43
|
-
return e.queue = [], e.sorter = o.sorter || t.default_sorter, e;
|
|
44
|
-
},
|
|
45
|
-
default_sorter: function(o, t) {
|
|
46
|
-
return o.cost - t.cost;
|
|
47
|
-
},
|
|
48
|
-
/**
|
|
49
|
-
* Add a new item to the queue and ensure the highest priority element
|
|
50
|
-
* is at the front of the queue.
|
|
51
|
-
*/
|
|
52
|
-
push: function(o, t) {
|
|
53
|
-
var e = { value: o, cost: t };
|
|
54
|
-
this.queue.push(e), this.queue.sort(this.sorter);
|
|
55
|
-
},
|
|
56
|
-
/**
|
|
57
|
-
* Return the highest priority element in the queue.
|
|
58
|
-
*/
|
|
59
|
-
pop: function() {
|
|
60
|
-
return this.queue.shift();
|
|
61
|
-
},
|
|
62
|
-
empty: function() {
|
|
63
|
-
return this.queue.length === 0;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
};
|
|
67
|
-
y.exports = u;
|
|
68
|
-
})(c), c.exports);
|
|
30
|
+
t = (t >>> 8 & 255) * 192 + (t & 255), i.put(t, 13);
|
|
31
|
+
}
|
|
32
|
+
}, a = r, a;
|
|
69
33
|
}
|
|
70
34
|
export {
|
|
71
|
-
|
|
35
|
+
c as __require
|
|
72
36
|
};
|
|
73
37
|
//# sourceMappingURL=index146.js.map
|
package/dist/index146.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index146.js","sources":["../../../node_modules/.pnpm/
|
|
1
|
+
{"version":3,"file":"index146.js","sources":["../../../node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/kanji-data.js"],"sourcesContent":["const Mode = require('./mode')\nconst Utils = require('./utils')\n\nfunction KanjiData (data) {\n this.mode = Mode.KANJI\n this.data = data\n}\n\nKanjiData.getBitsLength = function getBitsLength (length) {\n return length * 13\n}\n\nKanjiData.prototype.getLength = function getLength () {\n return this.data.length\n}\n\nKanjiData.prototype.getBitsLength = function getBitsLength () {\n return KanjiData.getBitsLength(this.data.length)\n}\n\nKanjiData.prototype.write = function (bitBuffer) {\n let i\n\n // In the Shift JIS system, Kanji characters are represented by a two byte combination.\n // These byte values are shifted from the JIS X 0208 values.\n // JIS X 0208 gives details of the shift coded representation.\n for (i = 0; i < this.data.length; i++) {\n let value = Utils.toSJIS(this.data[i])\n\n // For characters with Shift JIS values from 0x8140 to 0x9FFC:\n if (value >= 0x8140 && value <= 0x9FFC) {\n // Subtract 0x8140 from Shift JIS value\n value -= 0x8140\n\n // For characters with Shift JIS values from 0xE040 to 0xEBBF\n } else if (value >= 0xE040 && value <= 0xEBBF) {\n // Subtract 0xC140 from Shift JIS value\n value -= 0xC140\n } else {\n throw new Error(\n 'Invalid SJIS character: ' + this.data[i] + '\\n' +\n 'Make sure your charset is UTF-8')\n }\n\n // Multiply most significant byte of result by 0xC0\n // and add least significant byte to product\n value = (((value >>> 8) & 0xff) * 0xC0) + (value & 0xff)\n\n // Convert result to a 13-bit binary string\n bitBuffer.put(value, 13)\n }\n}\n\nmodule.exports = KanjiData\n"],"names":["Mode","require$$0","Utils","require$$1","KanjiData","data","length","bitBuffer","i","value","kanjiData"],"mappings":";;;;;;AAAA,QAAMA,IAAOC,EAAA,GACPC,IAAQC,EAAA;AAEd,WAASC,EAAWC,GAAM;AACxB,SAAK,OAAOL,EAAK,OACjB,KAAK,OAAOK;AAAA,EACd;AAEA,SAAAD,EAAU,gBAAgB,SAAwBE,GAAQ;AACxD,WAAOA,IAAS;AAAA,EAClB,GAEAF,EAAU,UAAU,YAAY,WAAsB;AACpD,WAAO,KAAK,KAAK;AAAA,EACnB,GAEAA,EAAU,UAAU,gBAAgB,WAA0B;AAC5D,WAAOA,EAAU,cAAc,KAAK,KAAK,MAAM;AAAA,EACjD,GAEAA,EAAU,UAAU,QAAQ,SAAUG,GAAW;AAC/C,QAAIC;AAKJ,SAAKA,IAAI,GAAGA,IAAI,KAAK,KAAK,QAAQA,KAAK;AACrC,UAAIC,IAAQP,EAAM,OAAO,KAAK,KAAKM,CAAC,CAAC;AAGrC,UAAIC,KAAS,SAAUA,KAAS;AAE9B,QAAAA,KAAS;AAAA,eAGAA,KAAS,SAAUA,KAAS;AAErC,QAAAA,KAAS;AAAA;AAET,cAAM,IAAI;AAAA,UACR,6BAA6B,KAAK,KAAKD,CAAC,IAAI;AAAA;AAAA,QACX;AAKrC,MAAAC,KAAWA,MAAU,IAAK,OAAQ,OAASA,IAAQ,MAGnDF,EAAU,IAAIE,GAAO,EAAE;AAAA,IAC3B;AAAA,EACA,GAEAC,IAAiBN;;","x_google_ignoreList":[0]}
|
package/dist/index147.js
CHANGED
|
@@ -1,5 +1,73 @@
|
|
|
1
|
-
|
|
1
|
+
import { __module as c } from "./index152.js";
|
|
2
|
+
var m;
|
|
3
|
+
function j() {
|
|
4
|
+
return m ? c.exports : (m = 1, (function(y) {
|
|
5
|
+
var u = {
|
|
6
|
+
single_source_shortest_paths: function(o, t, e) {
|
|
7
|
+
var r = {}, i = {};
|
|
8
|
+
i[t] = 0;
|
|
9
|
+
var n = u.PriorityQueue.make();
|
|
10
|
+
n.push(t, 0);
|
|
11
|
+
for (var f, p, s, h, _, d, a, v, l; !n.empty(); ) {
|
|
12
|
+
f = n.pop(), p = f.value, h = f.cost, _ = o[p] || {};
|
|
13
|
+
for (s in _)
|
|
14
|
+
_.hasOwnProperty(s) && (d = _[s], a = h + d, v = i[s], l = typeof i[s] > "u", (l || v > a) && (i[s] = a, n.push(s, a), r[s] = p));
|
|
15
|
+
}
|
|
16
|
+
if (typeof e < "u" && typeof i[e] > "u") {
|
|
17
|
+
var q = ["Could not find a path from ", t, " to ", e, "."].join("");
|
|
18
|
+
throw new Error(q);
|
|
19
|
+
}
|
|
20
|
+
return r;
|
|
21
|
+
},
|
|
22
|
+
extract_shortest_path_from_predecessor_list: function(o, t) {
|
|
23
|
+
for (var e = [], r = t; r; )
|
|
24
|
+
e.push(r), o[r], r = o[r];
|
|
25
|
+
return e.reverse(), e;
|
|
26
|
+
},
|
|
27
|
+
find_path: function(o, t, e) {
|
|
28
|
+
var r = u.single_source_shortest_paths(o, t, e);
|
|
29
|
+
return u.extract_shortest_path_from_predecessor_list(
|
|
30
|
+
r,
|
|
31
|
+
e
|
|
32
|
+
);
|
|
33
|
+
},
|
|
34
|
+
/**
|
|
35
|
+
* A very naive priority queue implementation.
|
|
36
|
+
*/
|
|
37
|
+
PriorityQueue: {
|
|
38
|
+
make: function(o) {
|
|
39
|
+
var t = u.PriorityQueue, e = {}, r;
|
|
40
|
+
o = o || {};
|
|
41
|
+
for (r in t)
|
|
42
|
+
t.hasOwnProperty(r) && (e[r] = t[r]);
|
|
43
|
+
return e.queue = [], e.sorter = o.sorter || t.default_sorter, e;
|
|
44
|
+
},
|
|
45
|
+
default_sorter: function(o, t) {
|
|
46
|
+
return o.cost - t.cost;
|
|
47
|
+
},
|
|
48
|
+
/**
|
|
49
|
+
* Add a new item to the queue and ensure the highest priority element
|
|
50
|
+
* is at the front of the queue.
|
|
51
|
+
*/
|
|
52
|
+
push: function(o, t) {
|
|
53
|
+
var e = { value: o, cost: t };
|
|
54
|
+
this.queue.push(e), this.queue.sort(this.sorter);
|
|
55
|
+
},
|
|
56
|
+
/**
|
|
57
|
+
* Return the highest priority element in the queue.
|
|
58
|
+
*/
|
|
59
|
+
pop: function() {
|
|
60
|
+
return this.queue.shift();
|
|
61
|
+
},
|
|
62
|
+
empty: function() {
|
|
63
|
+
return this.queue.length === 0;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
y.exports = u;
|
|
68
|
+
})(c), c.exports);
|
|
69
|
+
}
|
|
2
70
|
export {
|
|
3
|
-
|
|
71
|
+
j as __require
|
|
4
72
|
};
|
|
5
73
|
//# sourceMappingURL=index147.js.map
|
package/dist/index147.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index147.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
1
|
+
{"version":3,"file":"index147.js","sources":["../../../node_modules/.pnpm/dijkstrajs@1.0.3/node_modules/dijkstrajs/dijkstra.js"],"sourcesContent":["'use strict';\n\n/******************************************************************************\n * Created 2008-08-19.\n *\n * Dijkstra path-finding functions. Adapted from the Dijkstar Python project.\n *\n * Copyright (C) 2008\n * Wyatt Baldwin <self@wyattbaldwin.com>\n * All rights reserved\n *\n * Licensed under the MIT license.\n *\n * http://www.opensource.org/licenses/mit-license.php\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n *****************************************************************************/\nvar dijkstra = {\n single_source_shortest_paths: function(graph, s, d) {\n // Predecessor map for each node that has been encountered.\n // node ID => predecessor node ID\n var predecessors = {};\n\n // Costs of shortest paths from s to all nodes encountered.\n // node ID => cost\n var costs = {};\n costs[s] = 0;\n\n // Costs of shortest paths from s to all nodes encountered; differs from\n // `costs` in that it provides easy access to the node that currently has\n // the known shortest path from s.\n // XXX: Do we actually need both `costs` and `open`?\n var open = dijkstra.PriorityQueue.make();\n open.push(s, 0);\n\n var closest,\n u, v,\n cost_of_s_to_u,\n adjacent_nodes,\n cost_of_e,\n cost_of_s_to_u_plus_cost_of_e,\n cost_of_s_to_v,\n first_visit;\n while (!open.empty()) {\n // In the nodes remaining in graph that have a known cost from s,\n // find the node, u, that currently has the shortest path from s.\n closest = open.pop();\n u = closest.value;\n cost_of_s_to_u = closest.cost;\n\n // Get nodes adjacent to u...\n adjacent_nodes = graph[u] || {};\n\n // ...and explore the edges that connect u to those nodes, updating\n // the cost of the shortest paths to any or all of those nodes as\n // necessary. v is the node across the current edge from u.\n for (v in adjacent_nodes) {\n if (adjacent_nodes.hasOwnProperty(v)) {\n // Get the cost of the edge running from u to v.\n cost_of_e = adjacent_nodes[v];\n\n // Cost of s to u plus the cost of u to v across e--this is *a*\n // cost from s to v that may or may not be less than the current\n // known cost to v.\n cost_of_s_to_u_plus_cost_of_e = cost_of_s_to_u + cost_of_e;\n\n // If we haven't visited v yet OR if the current known cost from s to\n // v is greater than the new cost we just found (cost of s to u plus\n // cost of u to v across e), update v's cost in the cost list and\n // update v's predecessor in the predecessor list (it's now u).\n cost_of_s_to_v = costs[v];\n first_visit = (typeof costs[v] === 'undefined');\n if (first_visit || cost_of_s_to_v > cost_of_s_to_u_plus_cost_of_e) {\n costs[v] = cost_of_s_to_u_plus_cost_of_e;\n open.push(v, cost_of_s_to_u_plus_cost_of_e);\n predecessors[v] = u;\n }\n }\n }\n }\n\n if (typeof d !== 'undefined' && typeof costs[d] === 'undefined') {\n var msg = ['Could not find a path from ', s, ' to ', d, '.'].join('');\n throw new Error(msg);\n }\n\n return predecessors;\n },\n\n extract_shortest_path_from_predecessor_list: function(predecessors, d) {\n var nodes = [];\n var u = d;\n var predecessor;\n while (u) {\n nodes.push(u);\n predecessor = predecessors[u];\n u = predecessors[u];\n }\n nodes.reverse();\n return nodes;\n },\n\n find_path: function(graph, s, d) {\n var predecessors = dijkstra.single_source_shortest_paths(graph, s, d);\n return dijkstra.extract_shortest_path_from_predecessor_list(\n predecessors, d);\n },\n\n /**\n * A very naive priority queue implementation.\n */\n PriorityQueue: {\n make: function (opts) {\n var T = dijkstra.PriorityQueue,\n t = {},\n key;\n opts = opts || {};\n for (key in T) {\n if (T.hasOwnProperty(key)) {\n t[key] = T[key];\n }\n }\n t.queue = [];\n t.sorter = opts.sorter || T.default_sorter;\n return t;\n },\n\n default_sorter: function (a, b) {\n return a.cost - b.cost;\n },\n\n /**\n * Add a new item to the queue and ensure the highest priority element\n * is at the front of the queue.\n */\n push: function (value, cost) {\n var item = {value: value, cost: cost};\n this.queue.push(item);\n this.queue.sort(this.sorter);\n },\n\n /**\n * Return the highest priority element in the queue.\n */\n pop: function () {\n return this.queue.shift();\n },\n\n empty: function () {\n return this.queue.length === 0;\n }\n }\n};\n\n\n// node.js module exports\nif (typeof module !== 'undefined') {\n module.exports = dijkstra;\n}\n"],"names":["dijkstra","graph","s","d","predecessors","costs","open","closest","u","v","cost_of_s_to_u","adjacent_nodes","cost_of_e","cost_of_s_to_u_plus_cost_of_e","cost_of_s_to_v","first_visit","msg","nodes","opts","T","t","key","a","b","value","cost","item","module"],"mappings":";;;;AAuBA,QAAIA,IAAW;AAAA,MACb,8BAA8B,SAASC,GAAOC,GAAGC,GAAG;AAGlD,YAAIC,IAAe,CAAA,GAIfC,IAAQ,CAAA;AACZ,QAAAA,EAAMH,CAAC,IAAI;AAMX,YAAII,IAAON,EAAS,cAAc,KAAI;AACtC,QAAAM,EAAK,KAAKJ,GAAG,CAAC;AAUd,iBARIK,GACAC,GAAGC,GACHC,GACAC,GACAC,GACAC,GACAC,GACAC,GACG,CAACT,EAAK,WAAS;AAGpB,UAAAC,IAAUD,EAAK,IAAG,GAClBE,IAAID,EAAQ,OACZG,IAAiBH,EAAQ,MAGzBI,IAAiBV,EAAMO,CAAC,KAAK,CAAA;AAK7B,eAAKC,KAAKE;AACR,YAAIA,EAAe,eAAeF,CAAC,MAEjCG,IAAYD,EAAeF,CAAC,GAK5BI,IAAgCH,IAAiBE,GAMjDE,IAAiBT,EAAMI,CAAC,GACxBM,IAAe,OAAOV,EAAMI,CAAC,IAAM,MAC/BM,KAAeD,IAAiBD,OAClCR,EAAMI,CAAC,IAAII,GACXP,EAAK,KAAKG,GAAGI,CAA6B,GAC1CT,EAAaK,CAAC,IAAID;AAAA,QAI9B;AAEI,YAAI,OAAOL,IAAM,OAAe,OAAOE,EAAMF,CAAC,IAAM,KAAa;AAC/D,cAAIa,IAAM,CAAC,+BAA+Bd,GAAG,QAAQC,GAAG,GAAG,EAAE,KAAK,EAAE;AACpE,gBAAM,IAAI,MAAMa,CAAG;AAAA,QACzB;AAEI,eAAOZ;AAAA,MACX;AAAA,MAEE,6CAA6C,SAASA,GAAcD,GAAG;AAIrE,iBAHIc,IAAQ,CAAA,GACRT,IAAIL,GAEDK;AACL,UAAAS,EAAM,KAAKT,CAAC,GACEJ,EAAaI,CAAC,GAC5BA,IAAIJ,EAAaI,CAAC;AAEpB,eAAAS,EAAM,QAAO,GACNA;AAAA,MACX;AAAA,MAEE,WAAW,SAAShB,GAAOC,GAAGC,GAAG;AAC/B,YAAIC,IAAeJ,EAAS,6BAA6BC,GAAOC,GAAGC,CAAC;AACpE,eAAOH,EAAS;AAAA,UACdI;AAAA,UAAcD;AAAA,QAAC;AAAA,MACrB;AAAA;AAAA;AAAA;AAAA,MAKE,eAAe;AAAA,QACb,MAAM,SAAUe,GAAM;AACpB,cAAIC,IAAInB,EAAS,eACboB,IAAI,CAAA,GACJC;AACJ,UAAAH,IAAOA,KAAQ,CAAA;AACf,eAAKG,KAAOF;AACV,YAAIA,EAAE,eAAeE,CAAG,MACtBD,EAAEC,CAAG,IAAIF,EAAEE,CAAG;AAGlB,iBAAAD,EAAE,QAAQ,CAAA,GACVA,EAAE,SAASF,EAAK,UAAUC,EAAE,gBACrBC;AAAA,QACb;AAAA,QAEI,gBAAgB,SAAUE,GAAGC,GAAG;AAC9B,iBAAOD,EAAE,OAAOC,EAAE;AAAA,QACxB;AAAA;AAAA;AAAA;AAAA;AAAA,QAMI,MAAM,SAAUC,GAAOC,GAAM;AAC3B,cAAIC,IAAO,EAAC,OAAOF,GAAO,MAAMC,EAAI;AACpC,eAAK,MAAM,KAAKC,CAAI,GACpB,KAAK,MAAM,KAAK,KAAK,MAAM;AAAA,QACjC;AAAA;AAAA;AAAA;AAAA,QAKI,KAAK,WAAY;AACf,iBAAO,KAAK,MAAM,MAAK;AAAA,QAC7B;AAAA,QAEI,OAAO,WAAY;AACjB,iBAAO,KAAK,MAAM,WAAW;AAAA,QACnC;AAAA,MACA;AAAA;AAME,IAAAC,YAAiB3B;AAAA;;","x_google_ignoreList":[0]}
|
package/dist/index148.js
CHANGED
|
@@ -1,25 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
var u;
|
|
3
|
-
function f() {
|
|
4
|
-
if (u) return t;
|
|
5
|
-
u = 1;
|
|
6
|
-
const i = new Uint8Array(512), n = new Uint8Array(256);
|
|
7
|
-
return (function() {
|
|
8
|
-
let r = 1;
|
|
9
|
-
for (let e = 0; e < 255; e++)
|
|
10
|
-
i[e] = r, n[r] = e, r <<= 1, r & 256 && (r ^= 285);
|
|
11
|
-
for (let e = 255; e < 512; e++)
|
|
12
|
-
i[e] = i[e - 255];
|
|
13
|
-
})(), t.log = function(r) {
|
|
14
|
-
if (r < 1) throw new Error("log(" + r + ")");
|
|
15
|
-
return n[r];
|
|
16
|
-
}, t.exp = function(r) {
|
|
17
|
-
return i[r];
|
|
18
|
-
}, t.mul = function(r, e) {
|
|
19
|
-
return r === 0 || e === 0 ? 0 : i[n[r] + n[e]];
|
|
20
|
-
}, t;
|
|
21
|
-
}
|
|
1
|
+
var o = {};
|
|
22
2
|
export {
|
|
23
|
-
|
|
3
|
+
o as __exports
|
|
24
4
|
};
|
|
25
5
|
//# sourceMappingURL=index148.js.map
|
package/dist/index148.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index148.js","sources":[
|
|
1
|
+
{"version":3,"file":"index148.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
package/dist/index149.js
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
|
-
|
|
1
|
+
import { __exports as t } from "./index153.js";
|
|
2
|
+
var u;
|
|
3
|
+
function f() {
|
|
4
|
+
if (u) return t;
|
|
5
|
+
u = 1;
|
|
6
|
+
const i = new Uint8Array(512), n = new Uint8Array(256);
|
|
7
|
+
return (function() {
|
|
8
|
+
let r = 1;
|
|
9
|
+
for (let e = 0; e < 255; e++)
|
|
10
|
+
i[e] = r, n[r] = e, r <<= 1, r & 256 && (r ^= 285);
|
|
11
|
+
for (let e = 255; e < 512; e++)
|
|
12
|
+
i[e] = i[e - 255];
|
|
13
|
+
})(), t.log = function(r) {
|
|
14
|
+
if (r < 1) throw new Error("log(" + r + ")");
|
|
15
|
+
return n[r];
|
|
16
|
+
}, t.exp = function(r) {
|
|
17
|
+
return i[r];
|
|
18
|
+
}, t.mul = function(r, e) {
|
|
19
|
+
return r === 0 || e === 0 ? 0 : i[n[r] + n[e]];
|
|
20
|
+
}, t;
|
|
21
|
+
}
|
|
2
22
|
export {
|
|
3
|
-
|
|
23
|
+
f as __require
|
|
4
24
|
};
|
|
5
25
|
//# sourceMappingURL=index149.js.map
|