Compare commits
1300
Commits
v4
...
1f0e7ffe82
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1f0e7ffe82 | ||
|
|
66e167eb63 | ||
|
|
499ed53d09 | ||
|
|
011db6df9b | ||
|
|
22673da032 | ||
|
|
7014313cfc | ||
|
|
2ad34f80cd | ||
|
|
785b2c185b | ||
|
|
374ebf7282 | ||
|
|
c8ecbc8916 | ||
|
|
f287e5d692 | ||
|
|
5cea039003 | ||
|
|
be1747b673 | ||
|
|
2e65c9a720 | ||
|
|
18030fc609 | ||
|
|
a44737d7ed | ||
|
|
e342a50486 | ||
|
|
2d6082870f | ||
|
|
e00332bbd9 | ||
|
|
28d305ae21 | ||
|
|
e8a7b4f2fe | ||
|
|
4da6c094f5 | ||
|
|
1419cc3e91 | ||
|
|
25cab4cd5e | ||
|
|
165666462b | ||
|
|
a8cf1d802d | ||
|
|
41b47e775c | ||
|
|
0a17b8dbd8 | ||
|
|
ab84bf497c | ||
|
|
2484d11c3d | ||
|
|
83262be0c5 | ||
|
|
73a6b40206 | ||
|
|
4e42e40a38 | ||
|
|
7b999e6f25 | ||
|
|
2911164e4f | ||
|
|
e4639a106d | ||
|
|
f857308e7f | ||
|
|
490c14fd76 | ||
|
|
f7b744333a | ||
|
|
e25956b09f | ||
|
|
ab64d8859b | ||
|
|
9f5ba6bc80 | ||
|
|
efc8a9cba5 | ||
|
|
eefd81426c | ||
|
|
df5d461f7b | ||
|
|
682db35518 | ||
|
|
65a0ec9cfd | ||
|
|
a608c5d35b | ||
|
|
27ac3f76ac | ||
|
|
7b29ba061e | ||
|
|
a7d695d39b | ||
|
|
ca40905a53 | ||
|
|
36bca3d4b7 | ||
|
|
e7ed5a87ed | ||
|
|
9584276e69 | ||
|
|
5a03a34714 | ||
|
|
43e8f5b529 | ||
|
|
1e5060c345 | ||
|
|
7e220e1f83 | ||
|
|
ad16cd4671 | ||
|
|
21517be6cf | ||
|
|
04e6671dd2 | ||
|
|
5ef0c3e11c | ||
|
|
3069cc0f67 | ||
|
|
5e97652b1f | ||
|
|
5e3c76df8a | ||
|
|
07fa615fb4 | ||
|
|
c5b43e1cec | ||
|
|
0d90865091 | ||
|
|
fd21715f64 | ||
|
|
7db9db2767 | ||
|
|
adc923a865 | ||
|
|
80eecd4e0b | ||
|
|
22cd3cc07a | ||
|
|
91fb38c187 | ||
|
|
2f5101f2fe | ||
|
|
a2be5f9e71 | ||
|
|
69f3f17c7c | ||
|
|
fc6dbc3900 | ||
|
|
f1661a2667 | ||
|
|
c80bcedf2c | ||
|
|
8b1d8fcd96 | ||
|
|
b3383aa85a | ||
|
|
19f309753c | ||
|
|
d65d378ff9 | ||
|
|
c54336886d | ||
|
|
02bfe8956f | ||
|
|
fff1ac4cd0 | ||
|
|
8ed68e29cb | ||
|
|
5737649081 | ||
|
|
fcbdc4109b | ||
|
|
f1fd9def04 | ||
|
|
8f5221a9a8 | ||
|
|
800be4d610 | ||
|
|
5fc6cc0f91 | ||
|
|
0a84fa70b1 | ||
|
|
70f13cbd76 | ||
|
|
1aefab5cc6 | ||
|
|
47259b3f09 | ||
|
|
7a45837e60 | ||
|
|
37d73e7927 | ||
|
|
5f73b9bbb2 | ||
|
|
cac82879f3 | ||
|
|
861018bd3c | ||
|
|
6f0812c718 | ||
|
|
4f38f7cf19 | ||
|
|
dc1d1b8e04 | ||
|
|
62fdeec6f2 | ||
|
|
96be8270c1 | ||
|
|
09c491fae1 | ||
|
|
c066ff020b | ||
|
|
529e37c7b3 | ||
|
|
e153f22760 | ||
|
|
783aacbe9c | ||
|
|
c7f2caf380 | ||
|
|
be2927ad89 | ||
|
|
3ee1344528 | ||
|
|
0f012a8be7 | ||
|
|
73303dac6e | ||
|
|
9e26db043f | ||
|
|
58f15f24a9 | ||
|
|
c80e556fd0 | ||
|
|
6bfdd9f8ee | ||
|
|
048ad8b2cf | ||
|
|
ab9c25f12e | ||
|
|
ee52476f88 | ||
|
|
db74a2302d | ||
|
|
bf7787fa36 | ||
|
|
8681977218 | ||
|
|
a5aa22a613 | ||
|
|
011cfb5431 | ||
|
|
3abe265898 | ||
|
|
21d1db73ce | ||
|
|
58b4a0a9a1 | ||
|
|
fb67893563 | ||
|
|
d990614f5e | ||
|
|
a3efb2582d | ||
|
|
a19d1800d8 | ||
|
|
306cb05444 | ||
|
|
4bec575f50 | ||
|
|
37c327d379 | ||
|
|
801942b2da | ||
|
|
72ccb241b0 | ||
|
|
aa1b557b93 | ||
|
|
a36a843bdb | ||
|
|
f8bc13b5a7 | ||
|
|
564a0ab242 | ||
|
|
978f16c77f | ||
|
|
887063bc12 | ||
|
|
c253509ade | ||
|
|
20d31948ed | ||
|
|
4cc21b9ad9 | ||
|
|
521e5918aa | ||
|
|
084c03f463 | ||
|
|
e958a03e07 | ||
|
|
076d049768 | ||
|
|
a394eb6264 | ||
|
|
3352a3a9b0 | ||
|
|
242386b789 | ||
|
|
6140acbd5a | ||
|
|
22ddd1d6be | ||
|
|
60173a878c | ||
|
|
4b5abf861a | ||
|
|
7bca7fe882 | ||
|
|
83d6da5087 | ||
|
|
b509dc0220 | ||
|
|
c76abb9917 | ||
|
|
562de4835c | ||
|
|
037260f41b | ||
|
|
04a2c0197c | ||
|
|
49b7bd8f67 | ||
|
|
d45782bb98 | ||
|
|
09ce2daa64 | ||
|
|
e7b98310a8 | ||
|
|
c083b3d5fa | ||
|
|
4b8e498c32 | ||
|
|
fead322f60 | ||
|
|
60ee756315 | ||
|
|
6f4d677690 | ||
|
|
398246bbd3 | ||
|
|
90eb599551 | ||
|
|
9204709b5e | ||
|
|
2f8971954a | ||
|
|
4bc4407595 | ||
|
|
1b6220be41 | ||
|
|
d56e2581a1 | ||
|
|
e2aed60ba4 | ||
|
|
ab19f2a2e3 | ||
|
|
99d7e66269 | ||
|
|
6f245cd28b | ||
|
|
4a14a55154 | ||
|
|
4890856ab3 | ||
|
|
1b0bed27db | ||
|
|
f31aefd373 | ||
|
|
8061e35017 | ||
|
|
fa434bcb2e | ||
|
|
8455859c72 | ||
|
|
4980286afb | ||
|
|
4ed11b0d71 | ||
|
|
10c59e3d86 | ||
|
|
c18e2fabae | ||
|
|
e225747abd | ||
|
|
d546b02cc4 | ||
|
|
521d59343e | ||
|
|
72368b208c | ||
|
|
50f4e6759f | ||
|
|
490679e0d2 | ||
|
|
5e85a7e892 | ||
|
|
b106a8a6e2 | ||
|
|
7ce766a019 | ||
|
|
644568a59d | ||
|
|
7b7221a63c | ||
|
|
37e69bad88 | ||
|
|
d688c44393 | ||
|
|
312a2330c3 | ||
|
|
3b46993254 | ||
|
|
e6a60765c6 | ||
|
|
8e8079517d | ||
|
|
4d220cce8c | ||
|
|
c046d3cc92 | ||
|
|
f0fde08efc | ||
|
|
8ea3b6748e | ||
|
|
8d80ff7897 | ||
|
|
9a8bd6b00c | ||
|
|
b7197d8a7a | ||
|
|
69910468f3 | ||
|
|
0b623b7fdc | ||
|
|
d8b8fb3e9f | ||
|
|
55d9265841 | ||
|
|
3aca09571c | ||
|
|
998c0f6adc | ||
|
|
99644a6873 | ||
|
|
37e9b8ae05 | ||
|
|
776b6bc9e1 | ||
|
|
c2807956af | ||
|
|
14c815dafe | ||
|
|
5c9f7e329c | ||
|
|
3db89750fa | ||
|
|
d2184c96a5 | ||
|
|
b6a9fd071a | ||
|
|
f95ac996a7 | ||
|
|
4e844474c1 | ||
|
|
5e324d85a3 | ||
|
|
a819753644 | ||
|
|
0915a0b789 | ||
|
|
20fffdc681 | ||
|
|
af4add37d3 | ||
|
|
3cdab47ed4 | ||
|
|
3370e79584 | ||
|
|
be97626988 | ||
|
|
846535a3ab | ||
|
|
893b47a6d8 | ||
|
|
af0e152a9b | ||
|
|
6863dde05f | ||
|
|
ad059fe2e6 | ||
|
|
9c668eaa78 | ||
|
|
2a6eaaa499 | ||
|
|
d48240b412 | ||
|
|
bf1c3388ca | ||
|
|
95c35accfe | ||
|
|
4284907c8a | ||
|
|
ca28b2a958 | ||
|
|
2647a23c98 | ||
|
|
10d60d4797 | ||
|
|
62474e397d | ||
|
|
1d9f52e1aa | ||
|
|
08ac0c3f8c | ||
|
|
5c199ae6ef | ||
|
|
a7271f762c | ||
|
|
649af60c24 | ||
|
|
3f5f0f83d4 | ||
|
|
fb76f71f7a | ||
|
|
b9db466d85 | ||
|
|
5affbb1945 | ||
|
|
d809f0e50a | ||
|
|
804eefd9d1 | ||
|
|
15076e7985 | ||
|
|
9cba6cd188 | ||
|
|
138e7436d0 | ||
|
|
420b59c41e | ||
|
|
e47e4bd56f | ||
|
|
16c7cc245c | ||
|
|
a39b0f0b18 | ||
|
|
05152eb6be | ||
|
|
3fe7116627 | ||
|
|
6a70b122d3 | ||
|
|
29c7af6dc0 | ||
|
|
a061e398d3 | ||
|
|
943c997608 | ||
|
|
df8794cea8 | ||
|
|
d0290e40fa | ||
|
|
86f94c6bee | ||
|
|
cb925d21aa | ||
|
|
62ae4d7a87 | ||
|
|
ae602f72e4 | ||
|
|
7d7c6feaae | ||
|
|
042ce7f9ca | ||
|
|
945b331970 | ||
|
|
3e2aa4cfa4 | ||
|
|
8542666642 | ||
|
|
fadd5c0ca4 | ||
|
|
9d80efcf31 | ||
|
|
5c45dba816 | ||
|
|
23a3e9108e | ||
|
|
52048cf8ee | ||
|
|
6efd2e4bf8 | ||
|
|
7c3211ded7 | ||
|
|
3b51e9f622 | ||
|
|
8b6007ff7a | ||
|
|
93324a7672 | ||
|
|
6533e82863 | ||
|
|
7b883fa5d7 | ||
|
|
1e58d8fd70 | ||
|
|
76f2664277 | ||
|
|
74777118a7 | ||
|
|
8223465bda | ||
|
|
cf6ab9e933 | ||
|
|
74c63e448e | ||
|
|
43d638a6de | ||
|
|
d1551872ff | ||
|
|
275bea3051 | ||
|
|
bc02791734 | ||
|
|
bf603c49c2 | ||
|
|
f67356c3d2 | ||
|
|
5d666d1860 | ||
|
|
22b7cf135e | ||
|
|
50a87d0d86 | ||
|
|
134b6ed582 | ||
|
|
99e8f5944f | ||
|
|
e9f4e28a2d | ||
|
|
ee396942a9 | ||
|
|
2a6b9a9ea0 | ||
|
|
513f4efbac | ||
|
|
60ea9da011 | ||
|
|
a4a43cb9b3 | ||
|
|
e806c30fa1 | ||
|
|
aac7b7e97d | ||
|
|
101e9946bd | ||
|
|
539ff307fb | ||
|
|
7a22b26d71 | ||
|
|
9287d5b862 | ||
|
|
a62a97c7ab | ||
|
|
bbc9ad26c8 | ||
|
|
aaf3a684b4 | ||
|
|
2fac375635 | ||
|
|
923b72fb67 | ||
|
|
05a1c34c6f | ||
|
|
aa55096339 | ||
|
|
6d71518278 | ||
|
|
947e10829f | ||
|
|
06ccb89cd7 | ||
|
|
d5f649295f | ||
|
|
ce4613814f | ||
|
|
01fc8e4640 | ||
|
|
b36689f9a1 | ||
|
|
de6f8dfe7d | ||
|
|
7c01e8dde0 | ||
|
|
b7ae7a99db | ||
|
|
60b3bc34cb | ||
|
|
dc834015d0 | ||
|
|
1e357ef5ac | ||
|
|
337b7fc281 | ||
|
|
2381eb927f | ||
|
|
8d5573a23f | ||
|
|
54e722a55d | ||
|
|
86d16b12a2 | ||
|
|
ed971800c0 | ||
|
|
2b0ac4e9b7 | ||
|
|
b7e3f137f6 | ||
|
|
66cbcac93c | ||
|
|
74792a90d2 | ||
|
|
6b668fb78b | ||
|
|
046e4ebac7 | ||
|
|
287afd85db | ||
|
|
af9ddadc4d | ||
|
|
111f489c73 | ||
|
|
c75cafa863 | ||
|
|
d06791c36e | ||
|
|
52dd22f8d6 | ||
|
|
cf6721d7e6 | ||
|
|
be538ab694 | ||
|
|
85dddfbc12 | ||
|
|
6411a10e48 | ||
|
|
654d0d513d | ||
|
|
cebf1d14a7 | ||
|
|
06d66b775a | ||
|
|
b3455a2e8a | ||
|
|
da0a062c05 | ||
|
|
f66d2c23ac | ||
|
|
b8d54e2e39 | ||
|
|
c07a42b56d | ||
|
|
3268d45a20 | ||
|
|
afa163f2fe | ||
|
|
cec4877adb | ||
|
|
cf0c090e3c | ||
|
|
0c75030975 | ||
|
|
b20f2ba4e1 | ||
|
|
ee0044e1d8 | ||
|
|
3e0538af3e | ||
|
|
a870136101 | ||
|
|
a071baa0e9 | ||
|
|
472beb6eda | ||
|
|
9dd15552cc | ||
|
|
c8f5dbbad3 | ||
|
|
ab5efac75f | ||
|
|
2f99339dcf | ||
|
|
5232d09af5 | ||
|
|
0138085c16 | ||
|
|
0b61f6fbfd | ||
|
|
d4c122646c | ||
|
|
d22c3c107a | ||
|
|
8483b09fad | ||
|
|
f357140611 | ||
|
|
0b04582f9b | ||
|
|
0899073b79 | ||
|
|
697bffdb8b | ||
|
|
ea5742c328 | ||
|
|
95eec5b49d | ||
|
|
1e16323db5 | ||
|
|
c5b9137f12 | ||
|
|
13c8673226 | ||
|
|
a897cc1f53 | ||
|
|
d93599364a | ||
|
|
fa69c2a565 | ||
|
|
8eb1554b13 | ||
|
|
dcdeae4e7b | ||
|
|
18c405dcb6 | ||
|
|
48452231d5 | ||
|
|
16d33fb771 | ||
|
|
b029eeadab | ||
|
|
6a9e6352e8 | ||
|
|
70e029d151 | ||
|
|
0bad3ce799 | ||
|
|
52a172d1a4 | ||
|
|
d6301fae90 | ||
|
|
13ed4b4aef | ||
|
|
0b01766272 | ||
|
|
6300f12b7a | ||
|
|
4883c31da7 | ||
|
|
27a6087dd5 | ||
|
|
1bf7e3d8b3 | ||
|
|
c3eda5082d | ||
|
|
0a955d60d0 | ||
|
|
cc31a40b0c | ||
|
|
0d3cf29226 | ||
|
|
6a2e0b3ad3 | ||
|
|
e67f409ec1 | ||
|
|
4afb099bf3 | ||
|
|
6914d4b40c | ||
|
|
af41f34bfd | ||
|
|
7ac772fca8 | ||
|
|
5cc9253c41 | ||
|
|
94a04ab1c9 | ||
|
|
9358f73f1c | ||
|
|
f7029012df | ||
|
|
fea352849c | ||
|
|
3d8c470c0d | ||
|
|
31d16fbd2c | ||
|
|
036a33f70b | ||
|
|
58aea1cb07 | ||
|
|
c7d3474ba8 | ||
|
|
422ba5c365 | ||
|
|
9ae6343dd0 | ||
|
|
5dcb7e83fc | ||
|
|
91f9ae2d71 | ||
|
|
21028fefbe | ||
|
|
1b6804ac3d | ||
|
|
62b76466c0 | ||
|
|
13e1788cf0 | ||
|
|
32c55a4034 | ||
|
|
789a9ccb7b | ||
|
|
42dc46225d | ||
|
|
14cbbdb8a2 | ||
|
|
933be7698a | ||
|
|
cce389c81d | ||
|
|
4461748a85 | ||
|
|
7823a00d96 | ||
|
|
ee3b168ea9 | ||
|
|
6ecdcb5e24 | ||
|
|
9992aa0301 | ||
|
|
a54f8990cd | ||
|
|
e3b879741b | ||
|
|
60a3c54339 | ||
|
|
6e24f72b37 | ||
|
|
71d81bde1d | ||
|
|
1e2d05fa57 | ||
|
|
9cbf260dfe | ||
|
|
0771d3b221 | ||
|
|
a19df64be8 | ||
|
|
4e23e67244 | ||
|
|
a66c239797 | ||
|
|
0debcdc0b4 | ||
|
|
9f1447e904 | ||
|
|
53f1c88738 | ||
|
|
4348d1ede0 | ||
|
|
0ae7156fc5 | ||
|
|
6dc88712ce | ||
|
|
6e3e2e1c03 | ||
|
|
08922166dc | ||
|
|
45142da964 | ||
|
|
d9915df08e | ||
|
|
b948b2f036 | ||
|
|
06df00b186 | ||
|
|
2525bfbab5 | ||
|
|
828aa71fe3 | ||
|
|
ef1ead31dc | ||
|
|
989bee5979 | ||
|
|
8d6029b7b8 | ||
|
|
2d52eba413 | ||
|
|
ee969b7214 | ||
|
|
f06a9a063e | ||
|
|
bbb99a4bd0 | ||
|
|
6ef4246cf1 | ||
|
|
616a7f148a | ||
|
|
e8a04efaf1 | ||
|
|
7e42be8e46 | ||
|
|
8c354f6261 | ||
|
|
505673acd7 | ||
|
|
2ab0f79f5d | ||
|
|
7e82654d98 | ||
|
|
23f43045c4 | ||
|
|
90dac31216 | ||
|
|
b772cafdfc | ||
|
|
d30b091322 | ||
|
|
8c29c1d863 | ||
|
|
abd5e4f1f8 | ||
|
|
2d6dc176c3 | ||
|
|
b213ba45e2 | ||
|
|
8352adc21d | ||
|
|
b740e7b746 | ||
|
|
457613d19c | ||
|
|
26ec5454ef | ||
|
|
5fa6fc9789 | ||
|
|
1cc09ef76d | ||
|
|
e6c5f36164 | ||
|
|
86ad9fdc21 | ||
|
|
3d89c48027 | ||
|
|
ee640c2e1f | ||
|
|
895ecb8739 | ||
|
|
4675e382db | ||
|
|
a743aa4b89 | ||
|
|
c35cd422c6 | ||
|
|
340cc478aa | ||
|
|
3e627d2906 | ||
|
|
20690b853e | ||
|
|
082fdf2e80 | ||
|
|
13252846e3 | ||
|
|
b6b1dabde0 | ||
|
|
4b89202f7e | ||
|
|
52ca312f41 | ||
|
|
2c5d94b5b9 | ||
|
|
d022bd79ec | ||
|
|
a76170f53b | ||
|
|
4a7ccbd982 | ||
|
|
c91e62c376 | ||
|
|
ad4145fb10 | ||
|
|
74c3ebb7bd | ||
|
|
e3265f8416 | ||
|
|
6c9c420133 | ||
|
|
bc543f81d9 | ||
|
|
5c6d1e27ba | ||
|
|
c3a63b2f82 | ||
|
|
340e3ef511 | ||
|
|
76ee7cfce5 | ||
|
|
5ca3f801d6 | ||
|
|
9ae9fe1a6a | ||
|
|
3ccf081a45 | ||
|
|
953ef29f4e | ||
|
|
94ce0883e7 | ||
|
|
8cf7280614 | ||
|
|
c8412a5b0a | ||
|
|
fc4b8f3d3f | ||
|
|
6cd0612d40 | ||
|
|
9851697b58 | ||
|
|
c36a9f3fb7 | ||
|
|
98d82415dc | ||
|
|
9d2340e90b | ||
|
|
e0687258e3 | ||
|
|
18f2c9c4ff | ||
|
|
22f5c77fd1 | ||
|
|
dd528e9b2d | ||
|
|
8200c8d040 | ||
|
|
2e0e518f5d | ||
|
|
632c27b7ec | ||
|
|
bfb416b35a | ||
|
|
960c1814d0 | ||
|
|
eed4472aee | ||
|
|
b99eb7ebce | ||
|
|
0aaf88b852 | ||
|
|
a1a1e7e1e0 | ||
|
|
3209f7c3b7 | ||
|
|
cde1e26129 | ||
|
|
1128efcf23 | ||
|
|
d2f5254995 | ||
|
|
3064839c2d | ||
|
|
b444c5c13b | ||
|
|
36548d5986 | ||
|
|
99dbe525d9 | ||
|
|
8b63ff882a | ||
|
|
b991cf2ee8 | ||
|
|
bb677840fc | ||
|
|
c60b3d5e34 | ||
|
|
8e2bf1e498 | ||
|
|
e64a999319 | ||
|
|
e10de3febf | ||
|
|
b69556c918 | ||
|
|
ce70571072 | ||
|
|
295ce5beb1 | ||
|
|
8c943f47d6 | ||
|
|
2774e976d2 | ||
|
|
e1960d270e | ||
|
|
ae35a32ace | ||
|
|
ef8d098916 | ||
|
|
6b35aa6f33 | ||
|
|
74b79f75ac | ||
|
|
04c04f02ba | ||
|
|
a1b527d175 | ||
|
|
86ca26ff1a | ||
|
|
bb93ac1c83 | ||
|
|
777ff51c7a | ||
|
|
4e42d52e16 | ||
|
|
b06b792576 | ||
|
|
4985c373b9 | ||
|
|
d0f67d9935 | ||
|
|
952d6cb3dd | ||
|
|
173ec240d2 | ||
|
|
425c9789a4 | ||
|
|
7b7064ad2b | ||
|
|
ca17af4ae2 | ||
|
|
71471117c5 | ||
|
|
e65ea48fae | ||
|
|
b99d4cd8ce | ||
|
|
1bb00e72bb | ||
|
|
236130ac22 | ||
|
|
5adf3c67a8 | ||
|
|
9d77edaf94 | ||
|
|
0ef1b5b522 | ||
|
|
cfb7d1232e | ||
|
|
ad561c0e4f | ||
|
|
03fd62496f | ||
|
|
0314a3f912 | ||
|
|
d205eb5686 | ||
|
|
96a3bfeafb | ||
|
|
95fb6ccfcb | ||
|
|
e262482921 | ||
|
|
eb4d3dc5b4 | ||
|
|
90d6c1ed24 | ||
|
|
443c182890 | ||
|
|
791b8e2d9f | ||
|
|
905afb6675 | ||
|
|
a6236d97cf | ||
|
|
b1debaebff | ||
|
|
3fa3fe1cd1 | ||
|
|
67406117c2 | ||
|
|
7b8017413c | ||
|
|
6681f28af0 | ||
|
|
78f4cdbe10 | ||
|
|
dd47be1bc6 | ||
|
|
c874e7e937 | ||
|
|
3201f83b70 | ||
|
|
d8bec631b6 | ||
|
|
6f1f820289 | ||
|
|
8bc7a50dfa | ||
|
|
569beb410b | ||
|
|
5713d30670 | ||
|
|
a130945443 | ||
|
|
e10f6da011 | ||
|
|
a7cca3242a | ||
|
|
0998bc355e | ||
|
|
07a327e05a | ||
|
|
58d9dc0528 | ||
|
|
0c199975f2 | ||
|
|
a3504f315d | ||
|
|
5a8b329a93 | ||
|
|
30d1cd5875 | ||
|
|
ce5462700e | ||
|
|
a129db048a | ||
|
|
ccea97fa1a | ||
|
|
2dc0ae279c | ||
|
|
2f6747b166 | ||
|
|
76872877f9 | ||
|
|
363e228c7f | ||
|
|
9bc3c473fa | ||
|
|
b0d14c9000 | ||
|
|
232652149a | ||
|
|
bc48e81f00 | ||
|
|
39b7031bd9 | ||
|
|
3185e7eb16 | ||
|
|
868924a992 | ||
|
|
e83af62867 | ||
|
|
80490a6588 | ||
|
|
690c1a8fc1 | ||
|
|
0a8f7bbae1 | ||
|
|
44af757473 | ||
|
|
7bde99b4e2 | ||
|
|
f1c9ca495e | ||
|
|
061404c876 | ||
|
|
2dea7fa892 | ||
|
|
4f4b04eeb4 | ||
|
|
d6e73f221c | ||
|
|
6d9ffd6da5 | ||
|
|
c89f8b1a9a | ||
|
|
8fd496bbef | ||
|
|
aed3f5fccb | ||
|
|
c55d54f068 | ||
|
|
7bffc2183e | ||
|
|
827dd91847 | ||
|
|
e1dd6aee86 | ||
|
|
83269ac26e | ||
|
|
ed62ece491 | ||
|
|
736c3981c4 | ||
|
|
79e828696a | ||
|
|
0ac7a8559e | ||
|
|
bccc60eaa9 | ||
|
|
2f50462981 | ||
|
|
259d0a6d9a | ||
|
|
df02ea20d7 | ||
|
|
21cc6a5da9 | ||
|
|
cefbca4753 | ||
|
|
1f99817547 | ||
|
|
bad07d3725 | ||
|
|
a5d686f5af | ||
|
|
1c10f77ce3 | ||
|
|
4f54e8cdb0 | ||
|
|
46e84f3577 | ||
|
|
663fe2f7fe | ||
|
|
0c2502ed93 | ||
|
|
9ef0e7b5ac | ||
|
|
269c027ea9 | ||
|
|
97a5d61318 | ||
|
|
9dd6eb34be | ||
|
|
9ba7e1233c | ||
|
|
982a5ee386 | ||
|
|
05133b6536 | ||
|
|
0244d46cd7 | ||
|
|
4cf8422b77 | ||
|
|
5c3bbfe97f | ||
|
|
3e26451f57 | ||
|
|
b0e50f7c65 | ||
|
|
4feef95d40 | ||
|
|
3848da2c2a | ||
|
|
c3a1baa74b | ||
|
|
196c87a1fb | ||
|
|
8e7c1ab280 | ||
|
|
477481ed9f | ||
|
|
a2c2d422c2 | ||
|
|
31ec57931b | ||
|
|
7b94525de4 | ||
|
|
d5d55cd5df | ||
|
|
501f90542b | ||
|
|
5a6abb0a94 | ||
|
|
acb78d6366 | ||
|
|
c22474e7ba | ||
|
|
c85da04c1c | ||
|
|
b4ca02a576 | ||
|
|
439a626765 | ||
|
|
8db429df02 | ||
|
|
ad3f7b2d5f | ||
|
|
ebf3263b7e | ||
|
|
2b6b9e2c65 | ||
|
|
67fc5bbb95 | ||
|
|
6994be0624 | ||
|
|
4001fc8416 | ||
|
|
30b0e6e08c | ||
|
|
c568026ec3 | ||
|
|
b0e129e3bd | ||
|
|
d182311c62 | ||
|
|
b169860470 | ||
|
|
2e436e060c | ||
|
|
7c874bb0b1 | ||
|
|
5f17137e7b | ||
|
|
39b39cc2cf | ||
|
|
4a00cf18d6 | ||
|
|
f53506ba3f | ||
|
|
b4b2b95d0d | ||
|
|
916469f3b1 | ||
|
|
707525e9a0 | ||
|
|
b1c8ce9036 | ||
|
|
c42f12c237 | ||
|
|
fdeb85a808 | ||
|
|
cde0df5eed | ||
|
|
cea6834fef | ||
|
|
a4f4be5dac | ||
|
|
68ccd1d79d | ||
|
|
49bd6bc3ff | ||
|
|
389e40b6e5 | ||
|
|
36a394cd62 | ||
|
|
6955b0dd56 | ||
|
|
e4950e06a1 | ||
|
|
e21f0f9bb9 | ||
|
|
3d74e4b658 | ||
|
|
9be2874378 | ||
|
|
ee9ed4f287 | ||
|
|
2706a137a0 | ||
|
|
09d4eb0684 | ||
|
|
533d68e642 | ||
|
|
774a162850 | ||
|
|
2ac5dd49da | ||
|
|
527ce6546e | ||
|
|
d02af6a8ae | ||
|
|
b4cacd5956 | ||
|
|
cd9dc6ecb5 | ||
|
|
d8d9dd22c9 | ||
|
|
075ac33474 | ||
|
|
3adc73a703 | ||
|
|
028bcec62c | ||
|
|
db6054a8c1 | ||
|
|
a0d651d64d | ||
|
|
1da467d214 | ||
|
|
7c09627df4 | ||
|
|
c402f0c385 | ||
|
|
9e76b257d4 | ||
|
|
21a7ec2307 | ||
|
|
6423f85614 | ||
|
|
3a2eae0a16 | ||
|
|
2acfb9e870 | ||
|
|
93986c6e7c | ||
|
|
4877a9c934 | ||
|
|
6457496b4b | ||
|
|
fdf1e2a41d | ||
|
|
663c41fa41 | ||
|
|
de72dd4e4a | ||
|
|
5537ca41e0 | ||
|
|
558a509164 | ||
|
|
d7842e0ce7 | ||
|
|
264ea3d544 | ||
|
|
0a33ff7a82 | ||
|
|
429f331c21 | ||
|
|
9a0f20012a | ||
|
|
c8c108c7f7 | ||
|
|
aaae7d46c2 | ||
|
|
a70e846b0a | ||
|
|
cbae88fc4e | ||
|
|
cc79502670 | ||
|
|
45f9087f03 | ||
|
|
1c1a569023 | ||
|
|
cee2883c08 | ||
|
|
c0278a8c65 | ||
|
|
e82ba97a39 | ||
|
|
041a4ce7bc | ||
|
|
569ff1a801 | ||
|
|
351b4ab13b | ||
|
|
4811500b1b | ||
|
|
236ba56be1 | ||
|
|
7c2bb4ee4c | ||
|
|
8fd75ffbfd | ||
|
|
55a1fb8c41 | ||
|
|
9e83af04a7 | ||
|
|
000eb4c3c0 | ||
|
|
5599eb590e | ||
|
|
ae2e3b463a | ||
|
|
fd7c33c537 | ||
|
|
76fdb3b4d8 | ||
|
|
27a5f7ef8e | ||
|
|
ab228748ab | ||
|
|
76fa9bbe00 | ||
|
|
7db2eda76c | ||
|
|
2034b970b6 | ||
|
|
8dd73704e6 | ||
|
|
b7966ff7fa | ||
|
|
01d7d8e554 | ||
|
|
83d47f7aaa | ||
|
|
76c092dcf2 | ||
|
|
410fc9c8d3 | ||
|
|
8e0ba45789 | ||
|
|
f82282367e | ||
|
|
a3e4c86a4c | ||
|
|
3ac6b42e16 | ||
|
|
906f91f8ee | ||
|
|
08f8e3b4a4 | ||
|
|
b90590b9f4 | ||
|
|
b3480bdc49 | ||
|
|
9cbacca2d4 | ||
|
|
05d1ca01c3 | ||
|
|
f7bf4038dc | ||
|
|
465804a389 | ||
|
|
92ca787092 | ||
|
|
fe2852ff25 | ||
|
|
974b0da308 | ||
|
|
2a17431460 | ||
|
|
38cff2d670 | ||
|
|
ab9da02c60 | ||
|
|
e0ebee5aa9 | ||
|
|
4c904d88ab | ||
|
|
ba9f243728 | ||
|
|
24348b24a9 | ||
|
|
fd5c8d17d3 | ||
|
|
c4cf0dcb02 | ||
|
|
8bfee04c8c | ||
|
|
cb89cce183 | ||
|
|
b587782450 | ||
|
|
6d5491fdcb | ||
|
|
917d5791ac | ||
|
|
9d2024b11c | ||
|
|
2bfe90b7e6 | ||
|
|
352075ae81 | ||
|
|
b8c011410d | ||
|
|
3a29f4c86e | ||
|
|
59109a8c1d | ||
|
|
317cce9314 | ||
|
|
dde36fa558 | ||
|
|
1cb4dadf13 | ||
|
|
0813f127a3 | ||
|
|
4d3579ca98 | ||
|
|
89e0311a98 | ||
|
|
700036e84c | ||
|
|
1406ee0f05 | ||
|
|
9ad89997a5 | ||
|
|
4bdc17d4a1 | ||
|
|
fcd81353f8 | ||
|
|
04eeb2d10c | ||
|
|
42d3a7de17 | ||
|
|
c1c46ad67e | ||
|
|
3636c052eb | ||
|
|
21c007e2fc | ||
|
|
ad6ce0d73f | ||
|
|
a757521313 | ||
|
|
7b1da7a845 | ||
|
|
e482fa1097 | ||
|
|
ba7a968881 | ||
|
|
db27557aa3 | ||
|
|
b7c305e002 | ||
|
|
74fe4d6813 | ||
|
|
d6c31595b3 | ||
|
|
aa5ab03d4a | ||
|
|
ecba6071b8 | ||
|
|
983efab94c | ||
|
|
10e41743e5 | ||
|
|
bde44fadf2 | ||
|
|
6885651f7b | ||
|
|
7df2bb6f5e | ||
|
|
11959de11c | ||
|
|
a73aca8ed9 | ||
|
|
93610e232b | ||
|
|
712dab5c8c | ||
|
|
77b3907b23 | ||
|
|
8fc63586c4 | ||
|
|
24c9777a52 | ||
|
|
7a8811a184 | ||
|
|
eb2f6aeca8 | ||
|
|
b78008532f | ||
|
|
c5b103c85f | ||
|
|
614a6222a1 | ||
|
|
dc43737896 | ||
|
|
ea37486309 | ||
|
|
c1b0eafce6 | ||
|
|
ce5df837f5 | ||
|
|
4cd6f7efdf | ||
|
|
5a7936e23a | ||
|
|
5fd707714f | ||
|
|
717a13a580 | ||
|
|
5f3d430699 | ||
|
|
66f3e249fe | ||
|
|
e374e3abd4 | ||
|
|
f08a76a738 | ||
|
|
d80f6946c8 | ||
|
|
120d104230 | ||
|
|
e9aa6ae9e7 | ||
|
|
c12af32a5a | ||
|
|
de2b6b9a1b | ||
|
|
7f9f58860d | ||
|
|
151b9851d6 | ||
|
|
d56a58044d | ||
|
|
689201bfbd | ||
|
|
9b72edcd9c | ||
|
|
8704edcca2 | ||
|
|
0a602eda1b | ||
|
|
72571a7588 | ||
|
|
3409a49f15 | ||
|
|
666ffebe90 | ||
|
|
8ea1525df4 | ||
|
|
dd11d56dd9 | ||
|
|
cd7e2088d5 | ||
|
|
169ef442b9 | ||
|
|
8e3042df49 | ||
|
|
2145e92b00 | ||
|
|
e6c7a4e1e2 | ||
|
|
ca84da5b31 | ||
|
|
0d1670adba | ||
|
|
5c770f965a | ||
|
|
ce55eca73b | ||
|
|
591c4813ec | ||
|
|
83e7aec3c9 | ||
|
|
25ba1159ad | ||
|
|
e38eaa94d6 | ||
|
|
a78926ede5 | ||
|
|
5c76d8dad9 | ||
|
|
3dcc1f1106 | ||
|
|
ff770927fd | ||
|
|
7ffc907907 | ||
|
|
6dd4c64a4c | ||
|
|
8fc6b8e28e | ||
|
|
b10b23a47b | ||
|
|
23380d0519 | ||
|
|
dd047305af | ||
|
|
54a8fd4a56 | ||
|
|
5ef9aad501 | ||
|
|
14b89105dc | ||
|
|
93d039fe7c | ||
|
|
234c707a93 | ||
|
|
728d8529ec | ||
|
|
e142f37e8d | ||
|
|
d747b19e61 | ||
|
|
1f3da4b829 | ||
|
|
e15e39155d | ||
|
|
dff5ae0d4d | ||
|
|
b2555ced61 | ||
|
|
7ccff2cf3d | ||
|
|
e0b6606d50 | ||
|
|
d7a42a2fd7 | ||
|
|
422b6cc25b | ||
|
|
22c8981bb9 | ||
|
|
8b2a82a96a | ||
|
|
81af8c459b | ||
|
|
ffe22689eb | ||
|
|
c1b8fe1221 | ||
|
|
b7a619bbd7 | ||
|
|
74993d19b7 | ||
|
|
25a4d3b6e1 | ||
|
|
aaf31f419e | ||
|
|
f54df35767 | ||
|
|
015ed4cfa2 | ||
|
|
a8137edf24 | ||
|
|
eda370334a | ||
|
|
d3e20b8b94 | ||
|
|
8d7a7b712f | ||
|
|
0896814959 | ||
|
|
8b2fba895a | ||
|
|
e884f4927f | ||
|
|
2b0482ae4c | ||
|
|
8a100edeb8 | ||
|
|
200c605142 | ||
|
|
f2078ee621 | ||
|
|
916c51c19c | ||
|
|
67a7ba37e8 | ||
|
|
72941965ab | ||
|
|
b732293f65 | ||
|
|
7070a1992a | ||
|
|
997937af5a | ||
|
|
a334b45b17 | ||
|
|
473ea2c66f | ||
|
|
34b0353797 | ||
|
|
52a185f73b | ||
|
|
69c74ca6b5 | ||
|
|
ab809249c8 | ||
|
|
84c75d0546 | ||
|
|
dbd4fb7595 | ||
|
|
a275123be2 | ||
|
|
c88f31c364 | ||
|
|
d261655d96 | ||
|
|
c0800a8749 | ||
|
|
ac0dd50c04 | ||
|
|
e809896338 | ||
|
|
19606ba63d | ||
|
|
1e237ef677 | ||
|
|
5a1fbc9374 | ||
|
|
a1293f820a | ||
|
|
84c6e1efed | ||
|
|
8673a7bc3d | ||
|
|
775a1b2490 | ||
|
|
006b74ec6f | ||
|
|
8aba612a00 | ||
|
|
cbc2bea413 | ||
|
|
ae240ff82c | ||
|
|
ba586adc76 | ||
|
|
159deabfe1 | ||
|
|
44984cdaf4 | ||
|
|
683cb53cbd | ||
|
|
232bd2f016 | ||
|
|
e0fd9570d7 | ||
|
|
bc32bbeaed | ||
|
|
efb6c7845f | ||
|
|
bd316d8249 | ||
|
|
0293c12217 | ||
|
|
0439c163a0 | ||
|
|
0b6711c218 | ||
|
|
ed9a8efd1f | ||
|
|
e302f6c423 | ||
|
|
b21b27d1d3 | ||
|
|
364aee36fc | ||
|
|
cea0f3eb74 | ||
|
|
8b855b522a | ||
|
|
7b3696b877 | ||
|
|
b4ff12ca0b | ||
|
|
b67a389bea | ||
|
|
2b5c03c972 | ||
|
|
aaed5dc1f1 | ||
|
|
1a5d158fce | ||
|
|
a09974446d | ||
|
|
9fc71603ba | ||
|
|
d38f9bec70 | ||
|
|
771ebd8031 | ||
|
|
e4cc625c33 | ||
|
|
3789df80e4 | ||
|
|
037426217c | ||
|
|
e646cdb0be | ||
|
|
8d092a3a4a | ||
|
|
32c79a561f | ||
|
|
3c660dd9b5 | ||
|
|
4cca3c1f2d | ||
|
|
9d3bbd6076 | ||
|
|
9c71f07355 | ||
|
|
77485b754d | ||
|
|
6e6dd4cb0b | ||
|
|
81fe2d2493 | ||
|
|
24d08d580d | ||
|
|
321e19dc41 | ||
|
|
12d33619a2 | ||
|
|
97607c3ca5 | ||
|
|
4197ad460a | ||
|
|
fc89ff2680 | ||
|
|
e9a33c04b5 | ||
|
|
b0e15e0cbc | ||
|
|
9ba0a4b34f | ||
|
|
f1b85fb6d9 | ||
|
|
66304da027 | ||
|
|
40d216759c | ||
|
|
5c602ab16f | ||
|
|
87144fca21 | ||
|
|
a9523dd39b | ||
|
|
bcb166c21c | ||
|
|
416dc0b85c | ||
|
|
b8a660e208 | ||
|
|
ec86cca97b | ||
|
|
87b5a7a251 | ||
|
|
c8d390dbc5 | ||
|
|
3c7ece5405 | ||
|
|
f7027e7ecd | ||
|
|
0cfd93c57c | ||
|
|
3f8c473678 | ||
|
|
f05ff5e62d | ||
|
|
12ed9722d8 | ||
|
|
887d4d4f5e | ||
|
|
f9c7cdf928 | ||
|
|
2d55b6ac2e | ||
|
|
d5884aedb7 | ||
|
|
66eaa444a4 | ||
|
|
0ddc48a452 | ||
|
|
cd19159c53 | ||
|
|
7808c66c4d | ||
|
|
a7abc6ab96 | ||
|
|
9509a64354 | ||
|
|
53242b1e57 | ||
|
|
3ce6944c18 | ||
|
|
3cec4fd950 | ||
|
|
e245505082 | ||
|
|
fc4b9ded76 | ||
|
|
27c4761fe0 | ||
|
|
3583265f80 | ||
|
|
3781b67707 | ||
|
|
671fe05312 | ||
|
|
1613511f39 | ||
|
|
acab488784 | ||
|
|
ff91dcd196 | ||
|
|
a287d11246 | ||
|
|
575288ece9 | ||
|
|
25b5ac43dd | ||
|
|
1d9c0e4a44 | ||
|
|
e62d512d95 | ||
|
|
8f15c5f8c1 | ||
|
|
efeaf9b49c | ||
|
|
91c4e3fb3a | ||
|
|
22f11711b2 | ||
|
|
5c3ef884c7 | ||
|
|
16b177ce66 | ||
|
|
14c6181d24 | ||
|
|
e6e04c03c4 | ||
|
|
146e975932 | ||
|
|
c117e38899 | ||
|
|
4fd983277e | ||
|
|
cc86136bcb | ||
|
|
8e083d4a93 | ||
|
|
03b574b160 | ||
|
|
a469653f75 | ||
|
|
c51573efa9 | ||
|
|
902d0f2a0f | ||
|
|
1ddd15afc6 | ||
|
|
16f8cd7100 | ||
|
|
9c5ecccf25 | ||
|
|
e3cd531c53 | ||
|
|
3674df48b8 | ||
|
|
9e8c5587e4 | ||
|
|
6605b13b86 | ||
|
|
6edc979896 | ||
|
|
fc43922445 | ||
|
|
54a68e6e5c | ||
|
|
a6ab2f92ef | ||
|
|
fda481fbb9 | ||
|
|
94e987dab5 | ||
|
|
e981c76ed4 | ||
|
|
f70128a3de | ||
|
|
651bfc5cd2 | ||
|
|
6079420178 | ||
|
|
b96c60edfc | ||
|
|
978d5ca1ae | ||
|
|
907270992d | ||
|
|
6f9283e95b | ||
|
|
0fad5570d3 | ||
|
|
dc9b421e21 | ||
|
|
8779e72c77 | ||
|
|
7f6523337c | ||
|
|
7e0f2e4449 | ||
|
|
1313bd9779 | ||
|
|
5234fae080 | ||
|
|
0ee0855e1c | ||
|
|
e06e341468 | ||
|
|
73e526a7d5 | ||
|
|
cdc4f1a840 | ||
|
|
714b4fcfa3 | ||
|
|
9c04ca0266 | ||
|
|
388a2bf78b | ||
|
|
f192f9a23d | ||
|
|
3b3e6ec3b2 | ||
|
|
8e85e274f6 | ||
|
|
fcd5d2807d | ||
|
|
4587b13360 | ||
|
|
fb9ea8dcb8 | ||
|
|
c520db4882 | ||
|
|
10f9843bb6 | ||
|
|
0dc51ff39c | ||
|
|
c35086c510 | ||
|
|
31297b7e5a | ||
|
|
fa3bc3de92 | ||
|
|
41c443dbf0 | ||
|
|
a271fb9d74 | ||
|
|
49cdca5dfc | ||
|
|
9645f00317 | ||
|
|
57ebf4c21c | ||
|
|
54e3e071d1 | ||
|
|
d46e223831 | ||
|
|
6f9a29c174 | ||
|
|
532bc61025 | ||
|
|
99aea48260 | ||
|
|
4a3766db56 | ||
|
|
4e639979f8 | ||
|
|
e49a1ac9db | ||
|
|
4a3c4fdef5 | ||
|
|
2b432d7f0b | ||
|
|
7507fd2991 | ||
|
|
ca886e4075 | ||
|
|
3722e600ee | ||
|
|
efeaf0f4e4 | ||
|
|
1a8cdaad24 | ||
|
|
e4caa0d1d7 | ||
|
|
a45856d788 | ||
|
|
dbe9b338cc | ||
|
|
000fcdbf99 | ||
|
|
612c44d719 | ||
|
|
e1911a58ff | ||
|
|
b4e2697116 | ||
|
|
094ab9d064 | ||
|
|
39592347cc | ||
|
|
165d33810d | ||
|
|
6fbfa7170b | ||
|
|
43837f9e2e | ||
|
|
2ba01c8311 | ||
|
|
114b7ca913 | ||
|
|
5bd5642c99 | ||
|
|
48d01810c4 | ||
|
|
3a98c8b554 | ||
|
|
69c86e407f | ||
|
|
56d2382c28 | ||
|
|
091be7040b | ||
|
|
09b5522a48 | ||
|
|
b9d7adafcc | ||
|
|
afeb18212d | ||
|
|
bc90955959 | ||
|
|
c64322ad3f | ||
|
|
48eb9ebc5f | ||
|
|
82ba843e42 | ||
|
|
8ca31df3f2 | ||
|
|
df23b99951 | ||
|
|
6005a2e0a0 | ||
|
|
de940d6a4b | ||
|
|
806d11f874 | ||
|
|
1fc2da4fe2 | ||
|
|
9292de6333 | ||
|
|
2477662404 | ||
|
|
a14d06aa3d | ||
|
|
e0535dbe32 | ||
|
|
8eca1e60f7 | ||
|
|
03bb3a3bae | ||
|
|
f7b89db8ee | ||
|
|
1835b97a7a | ||
|
|
f56642f13c | ||
|
|
22a9c0ddfc | ||
|
|
c1c061fbea | ||
|
|
6fd19069de | ||
|
|
299533a4f4 | ||
|
|
e1366ecb61 | ||
|
|
776ef084c9 | ||
|
|
fc00ad5bff | ||
|
|
228f96e74d | ||
|
|
071984a12d | ||
|
|
ae2f7efde0 | ||
|
|
cb38667c1d | ||
|
|
27c33f8334 | ||
|
|
f9920f6d73 | ||
|
|
8850976d8d | ||
|
|
bb6a1e8c34 |
No files matched your search
+24
-22
@@ -1,42 +1,44 @@
|
|||||||
name: Build and Test
|
name: Build
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- v4
|
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- v4
|
- v4
|
||||||
workflow_dispatch:
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
env:
|
||||||
|
RUNNER_TOOL_CACHE: /toolcache
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# needs: build-and-test
|
|
||||||
steps:
|
steps:
|
||||||
- run: git config --global core.quotepath false
|
- run: git config --global core.quotepath false
|
||||||
|
- name: Install apt packages
|
||||||
|
run: apt update && apt install -y rsync
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
- uses: https://github.com/actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: 'latest'
|
||||||
|
- uses: https://github.com/actions/setup-go@v4
|
||||||
|
with:
|
||||||
|
go-version: '^1.20'
|
||||||
|
- uses: https://gitea.com/actions/[email protected]
|
||||||
|
id: get-hash
|
||||||
|
with:
|
||||||
|
patterns: |-
|
||||||
|
**/package-lock.json
|
||||||
- name: Cache dependencies
|
- name: Cache dependencies
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: ~/.npm
|
path: ~/.npm
|
||||||
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
key: ${{ runner.os }}-node-${{ steps.get-hash.outputs.hash }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-node-
|
${{ runner.os }}-node-
|
||||||
- run: npm i
|
- run: npm i
|
||||||
- run: npx quartz build
|
- run: npx quartz build
|
||||||
- name: Upload artifact
|
- name: Create private key
|
||||||
uses: actions/upload-pages-artifact@v2
|
run: |
|
||||||
with:
|
echo "${{ secrets.PRIVATE_KEY }}" > /tmp/act_runner_key
|
||||||
path: ./public
|
chmod 600 /tmp/act_runner_key
|
||||||
deploy:
|
- name: rsync public directory
|
||||||
environment:
|
run: |
|
||||||
name: github-pages
|
rsync -avz --delete -e "ssh -i /tmp/act_runner_key -o StrictHostKeyChecking=no -p ${{ vars.WEBSERVER_PORT }}" ${{ gitea.workspace }}/public/* ${{ vars.WEBSERVER_USER }}@${{ vars.WEBSERVER_HOST }}:/var/www/html
|
||||||
url: ${{ steps.deployment.outputs.page_url}}
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
needs: build
|
|
||||||
steps:
|
|
||||||
- name: Deploy to GitHub Pages
|
|
||||||
id: deployment
|
|
||||||
uses: actions/deploy-pages@v2
|
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
# To get started with Dependabot version updates, you'll need to specify which
|
||||||
|
# package ecosystems to update and where the package manifests are located.
|
||||||
|
# Please see the documentation for all configuration options:
|
||||||
|
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
|
||||||
|
|
||||||
|
version: 2
|
||||||
|
updates:
|
||||||
|
- package-ecosystem: "npm"
|
||||||
|
directory: "/"
|
||||||
|
schedule:
|
||||||
|
interval: "weekly"
|
||||||
+2
-2
@@ -4,10 +4,10 @@ node_modules
|
|||||||
public
|
public
|
||||||
prof
|
prof
|
||||||
tsconfig.tsbuildinfo
|
tsconfig.tsbuildinfo
|
||||||
content/.obsidian/plugins
|
|
||||||
content/.obsidian/workspace.json
|
content/.obsidian/workspace.json
|
||||||
|
content/.obsidian/workspace-mobile.json
|
||||||
|
content/.obsidian/plugins
|
||||||
.quartz-cache
|
.quartz-cache
|
||||||
private/
|
|
||||||
.replit
|
.replit
|
||||||
replit.nix
|
replit.nix
|
||||||
content/.pandoc/*.json
|
content/.pandoc/*.json
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
[submodule "content/private"]
|
||||||
|
path = content/private
|
||||||
|
url = gitea:tomoyanonymous/quartz-research-note-private.git
|
||||||
|
branch = main
|
||||||
Executable
+39
@@ -0,0 +1,39 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
cwd=`dirname "${0}"`
|
||||||
|
|
||||||
|
function rewritedate () {
|
||||||
|
echo "$1 : $2"
|
||||||
|
echo $2 | xargs -I{} yq -i --front-matter="process" '.date="{}"' "$1"
|
||||||
|
}
|
||||||
|
FILES=$(find $cwd/content -name "*.md")
|
||||||
|
IFS=$'\n'
|
||||||
|
for f in $FILES
|
||||||
|
do
|
||||||
|
BDATE=$(stat -f "%SB" "$f");
|
||||||
|
DATE=$(LC_ALL=C date -j -f "%b %d %H:%M:%S %Y" "$BDATE" "+%FT%T%z");
|
||||||
|
FLINE=$(head -n 1 "$f");
|
||||||
|
|
||||||
|
LOCALDATE=$(LC_ALL=C date -j -f "%b %d %H:%M:%S %Y" "$BDATE" "+%s" );
|
||||||
|
GITDATERAW=$(git blame $f |tail -1| grep -Eo '\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}');
|
||||||
|
GITDATE=$(LC_ALL=C date -j -f "%Y-%m-%d %H:%M:%S" "$GITDATERAW" "+%s");
|
||||||
|
GITDATE_2=$(LC_ALL=C date -j -f "%Y-%m-%d %H:%M:%S" "$GITDATERAW" "+%FT%T%z");
|
||||||
|
if [[ "$FLINE" == "---" ]];
|
||||||
|
then
|
||||||
|
ORIGINDATE_RAW=$(yq --front-matter=extract '.date' "$f")
|
||||||
|
ORIGINDATE=$(date -j -f "%FT%T%z" "$ORIGINDATE_RAW" "+%s")
|
||||||
|
|
||||||
|
if [ $LOCALDATE -lt $ORIGINDATE ]; then
|
||||||
|
echo "$f has frontmatter and date of local file is older. overwriting."
|
||||||
|
rewritedate $f $DATE
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ $GITDATE -lt $LOCALDATE ]; then
|
||||||
|
echo "Oldest commit date is older than birth date. overwriting"
|
||||||
|
rewritedate $f $GITDATE_2
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
echo "$f has no frontmatter, adding to it";
|
||||||
|
gsed -i '1i---\n---' "$f"
|
||||||
|
rewritedate $f $DATE
|
||||||
|
fi
|
||||||
|
done
|
||||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"alwaysUpdateLinks": true,
|
"alwaysUpdateLinks": true,
|
||||||
"attachmentFolderPath": "./",
|
"attachmentFolderPath": "img",
|
||||||
"newFileLocation": "current",
|
"newFileLocation": "current",
|
||||||
"newFileFolderPath": "",
|
"newFileFolderPath": "",
|
||||||
"newLinkFormat": "absolute",
|
"newLinkFormat": "absolute",
|
||||||
|
|||||||
Vendored
+2
-1
@@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
"accentColor": "",
|
"accentColor": "",
|
||||||
"cssTheme": "",
|
"cssTheme": "",
|
||||||
"translucency": true
|
"translucency": true,
|
||||||
|
"baseFontSize": 14
|
||||||
}
|
}
|
||||||
Vendored
+1
-1
@@ -1,3 +1,3 @@
|
|||||||
{
|
{
|
||||||
"backlinkInDocument": true
|
"backlinkInDocument": false
|
||||||
}
|
}
|
||||||
Vendored
+5
@@ -10,6 +10,11 @@
|
|||||||
"type": "file",
|
"type": "file",
|
||||||
"ctime": 1706505206787,
|
"ctime": 1706505206787,
|
||||||
"path": "この研究ノートについて.md"
|
"path": "この研究ノートについて.md"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "file",
|
||||||
|
"ctime": 1707151795595,
|
||||||
|
"path": "読書メモ.md"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
+6
-2
@@ -1,7 +1,11 @@
|
|||||||
[
|
[
|
||||||
"obsidian-git",
|
|
||||||
"obsidian-zotero-desktop-connector",
|
"obsidian-zotero-desktop-connector",
|
||||||
"2hop-links-plus",
|
"2hop-links-plus",
|
||||||
"obsidian-auto-link-title",
|
"obsidian-auto-link-title",
|
||||||
"obsidian-pandoc-reference-list"
|
"obsidian-pandoc-reference-list",
|
||||||
|
"templater-obsidian",
|
||||||
|
"better-word-count",
|
||||||
|
"obsidian-git",
|
||||||
|
"obsidian-local-rest-api",
|
||||||
|
"obsidian-excalidraw-plugin"
|
||||||
]
|
]
|
||||||
Vendored
+3
-3
@@ -4,7 +4,7 @@
|
|||||||
"showTags": false,
|
"showTags": false,
|
||||||
"showAttachments": false,
|
"showAttachments": false,
|
||||||
"hideUnresolved": false,
|
"hideUnresolved": false,
|
||||||
"showOrphans": true,
|
"showOrphans": false,
|
||||||
"collapse-color-groups": false,
|
"collapse-color-groups": false,
|
||||||
"colorGroups": [],
|
"colorGroups": [],
|
||||||
"collapse-display": true,
|
"collapse-display": true,
|
||||||
@@ -17,6 +17,6 @@
|
|||||||
"repelStrength": 11.1808268229167,
|
"repelStrength": 11.1808268229167,
|
||||||
"linkStrength": 0.893798828125,
|
"linkStrength": 0.893798828125,
|
||||||
"linkDistance": 48,
|
"linkDistance": 48,
|
||||||
"scale": 0.2427437296865788,
|
"scale": 1.0136432647705076,
|
||||||
"close": false
|
"close": true
|
||||||
}
|
}
|
||||||
+22281
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"id": "2hop-links-plus",
|
||||||
|
"name": "2Hop Links Plus",
|
||||||
|
"version": "0.37.0",
|
||||||
|
"minAppVersion": "1.3.5",
|
||||||
|
"description": "Related links up to 2 hops away are displayed in a card format, allowing for easy browsing through connections between notes. Each card contains a preview of the corresponding note.",
|
||||||
|
"author": "Tokuhiro Matsuno, L7Cy",
|
||||||
|
"authorUrl": "https://github.com/L7Cy",
|
||||||
|
"isDesktopOnly": false
|
||||||
|
}
|
||||||
@@ -0,0 +1,259 @@
|
|||||||
|
:root {
|
||||||
|
--box-width: 139px;
|
||||||
|
--box-height: 170px;
|
||||||
|
--box-font-size: 100%;
|
||||||
|
}
|
||||||
|
/* switch light/dark mode */
|
||||||
|
.theme-light {
|
||||||
|
--bg-box: #ffffff;
|
||||||
|
--bg-box-top: #e2e2e2;
|
||||||
|
--title-box: #363c49;
|
||||||
|
--text-box: #b7b7b7;
|
||||||
|
--bg-header-twohop: #9babc1;
|
||||||
|
--title-header-twohop: #ffffff;
|
||||||
|
--bg-header-new: #fd7373;
|
||||||
|
--title-header-new: #ffffff;
|
||||||
|
--bg-header-connected: #5e8af6;
|
||||||
|
--title-header-connected: #ffffff;
|
||||||
|
--bg-header-properties: #46af5d;
|
||||||
|
--title-header-properties: #ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-dark {
|
||||||
|
--bg-box: #373b44;
|
||||||
|
--bg-box-top: #2b2e38;
|
||||||
|
--title-box: #f0f0f0;
|
||||||
|
--text-box: #b4b5b6;
|
||||||
|
--bg-header-twohop: #2b2e38;
|
||||||
|
--title-header-twohop: #dddede;
|
||||||
|
--bg-header-new: #fb7476;
|
||||||
|
--title-header-new: #ffffff;
|
||||||
|
--bg-header-connected: #80c9fe;
|
||||||
|
--title-header-connected: #202277;
|
||||||
|
--bg-header-properties: #46af5d;
|
||||||
|
--title-header-properties: #ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* the container */
|
||||||
|
.twohop-links-container {
|
||||||
|
margin-bottom: 55px;
|
||||||
|
user-select: none;
|
||||||
|
-webkit-user-select: none;
|
||||||
|
}
|
||||||
|
.twohop-links-section {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: repeat(auto-fill, minmax(var(--box-width), 1fr));
|
||||||
|
grid-gap: 8px;
|
||||||
|
margin: 20px;
|
||||||
|
font-size: var(--box-font-size);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* common */
|
||||||
|
.twohop-links-box {
|
||||||
|
box-sizing: border-box;
|
||||||
|
max-height: var(--box-height);
|
||||||
|
padding: 10px;
|
||||||
|
background-color: var(--bg-box);
|
||||||
|
border-radius: 2px;
|
||||||
|
overflow: hidden;
|
||||||
|
box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.25);
|
||||||
|
cursor: pointer;
|
||||||
|
word-break: break-word;
|
||||||
|
}
|
||||||
|
|
||||||
|
.twohop-links-box:hover {
|
||||||
|
filter: brightness(0.8) contrast(0.8);
|
||||||
|
}
|
||||||
|
|
||||||
|
.twohop-links-box-title {
|
||||||
|
color: var(--title-box);
|
||||||
|
font-size: 90%;
|
||||||
|
font-weight: 500;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
display: -webkit-box;
|
||||||
|
overflow: hidden;
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
|
white-space: unset;
|
||||||
|
-webkit-line-clamp: 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
.twohop-links-box img {
|
||||||
|
margin: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Non-header box */
|
||||||
|
.twohop-links-box:not([class*=" "]) {
|
||||||
|
border-top: 10px solid var(--bg-box-top);
|
||||||
|
}
|
||||||
|
|
||||||
|
.twohop-links-box-preview {
|
||||||
|
color: var(--text-box);
|
||||||
|
font-size: 70%;
|
||||||
|
white-space: pre-line;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* connected links */
|
||||||
|
.twohop-links-connected-links-header {
|
||||||
|
background-color: var(--bg-header-connected);
|
||||||
|
color: var(--title-header-connected);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* two hop links */
|
||||||
|
.twohop-links-twohop-header {
|
||||||
|
background-color: var(--bg-header-twohop);
|
||||||
|
color: var(--title-header-twohop);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* properties */
|
||||||
|
.twohop-links-properties-header {
|
||||||
|
background-color: var(--bg-header-properties);
|
||||||
|
color: var(--title-header-properties);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* new links */
|
||||||
|
.twohop-links-new-links-header {
|
||||||
|
background-color: var(--bg-header-new);
|
||||||
|
color: var(--title-header-new);
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown-embed-content .twohop-links-container {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
body:not(.zoom-off)
|
||||||
|
.view-content
|
||||||
|
div:not(.canvas-node-content)
|
||||||
|
.twohop-links-box
|
||||||
|
img {
|
||||||
|
cursor: pointer !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.load-more-button {
|
||||||
|
width: -webkit-fill-available;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.TwoHopLinks {
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.settings-button {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* @settings
|
||||||
|
|
||||||
|
name: 2Hop Links Plus
|
||||||
|
id: 2hop-links-plus
|
||||||
|
settings:
|
||||||
|
-
|
||||||
|
id: box-width
|
||||||
|
title: Box min width (px)
|
||||||
|
type: variable-number
|
||||||
|
default: 139
|
||||||
|
format: px
|
||||||
|
-
|
||||||
|
id: box-height
|
||||||
|
title: Box max height (px)
|
||||||
|
type: variable-number
|
||||||
|
default: 170
|
||||||
|
format: px
|
||||||
|
-
|
||||||
|
id: box-font-size
|
||||||
|
title: Font size (%)
|
||||||
|
type: variable-number
|
||||||
|
default: 100
|
||||||
|
format: '%'
|
||||||
|
-
|
||||||
|
id: title-box
|
||||||
|
title: Title color
|
||||||
|
type: variable-themed-color
|
||||||
|
format: hex
|
||||||
|
default-light: '#363c49'
|
||||||
|
default-dark: '#f0f0f0'
|
||||||
|
-
|
||||||
|
id: text-box
|
||||||
|
title: Text color
|
||||||
|
type: variable-themed-color
|
||||||
|
format: hex
|
||||||
|
default-light: '#b7b7b7'
|
||||||
|
default-dark: '#b4b5b6'
|
||||||
|
-
|
||||||
|
id: bg-box-top
|
||||||
|
title: Box color (Top)
|
||||||
|
type: variable-themed-color
|
||||||
|
format: hex
|
||||||
|
default-light: '#e2e2e2'
|
||||||
|
default-dark: '#2b2e38'
|
||||||
|
-
|
||||||
|
id: bg-box
|
||||||
|
title: Box color
|
||||||
|
type: variable-themed-color
|
||||||
|
format: hex
|
||||||
|
default-light: '#ffffff'
|
||||||
|
default-dark: '#373b44'
|
||||||
|
-
|
||||||
|
id: bg-header-connected
|
||||||
|
title: Header box color (Links & Backlinks)
|
||||||
|
type: variable-themed-color
|
||||||
|
format: hex
|
||||||
|
default-light: '#5e8af6'
|
||||||
|
default-dark: '#80c9fe'
|
||||||
|
-
|
||||||
|
id: title-header-connected
|
||||||
|
title: Header title color (Links & Backlinks)
|
||||||
|
type: variable-themed-color
|
||||||
|
format: hex
|
||||||
|
default-light: '#ffffff'
|
||||||
|
default-dark: '#202277'
|
||||||
|
-
|
||||||
|
id: bg-header-twohop
|
||||||
|
title: Header box color (2Hop links)
|
||||||
|
type: variable-themed-color
|
||||||
|
format: hex
|
||||||
|
default-light: '#9babc1'
|
||||||
|
default-dark: '#2b2e38'
|
||||||
|
-
|
||||||
|
id: title-header-twohop
|
||||||
|
title: Header title color (2Hop links)
|
||||||
|
type: variable-themed-color
|
||||||
|
format: hex
|
||||||
|
default-light: '#ffffff'
|
||||||
|
default-dark: '#dddede'
|
||||||
|
-
|
||||||
|
id: bg-header-new
|
||||||
|
title: Header box color (New links)
|
||||||
|
type: variable-themed-color
|
||||||
|
format: hex
|
||||||
|
default-light: '#fd7373'
|
||||||
|
default-dark: '#fb7476'
|
||||||
|
-
|
||||||
|
id: title-header-new
|
||||||
|
title: Header title color (New links)
|
||||||
|
type: variable-themed-color
|
||||||
|
format: hex
|
||||||
|
default-light: '#ffffff'
|
||||||
|
default-dark: '#ffffff'
|
||||||
|
-
|
||||||
|
id: bg-header-properties
|
||||||
|
title: Header box color (Properties)
|
||||||
|
type: variable-themed-color
|
||||||
|
format: hex
|
||||||
|
default-light: '#46af5d'
|
||||||
|
default-dark: '#46af5d'
|
||||||
|
-
|
||||||
|
id: title-header-properties
|
||||||
|
title: Header title color (Properties)
|
||||||
|
type: variable-themed-color
|
||||||
|
format: hex
|
||||||
|
default-light: '#ffffff'
|
||||||
|
default-dark: '#ffffff'
|
||||||
|
-
|
||||||
|
id: property-info
|
||||||
|
title: About Properties
|
||||||
|
description: "Each property header is assigned a css class in the form twohop-links-{key}-header, so you can use css snippets to style each property."
|
||||||
|
type: info-text
|
||||||
|
markdown: true
|
||||||
|
*/
|
||||||
@@ -0,0 +1,56 @@
|
|||||||
|
{
|
||||||
|
"commitMessage": "[obsidian] vault backup: {{date}}",
|
||||||
|
"commitDateFormat": "YYYY-MM-DD HH:mm:ss",
|
||||||
|
"autoSaveInterval": 60,
|
||||||
|
"autoPushInterval": 0,
|
||||||
|
"autoPullInterval": 0,
|
||||||
|
"autoPullOnBoot": true,
|
||||||
|
"disablePush": false,
|
||||||
|
"pullBeforePush": true,
|
||||||
|
"disablePopups": false,
|
||||||
|
"disablePopupsForNoChanges": false,
|
||||||
|
"listChangedFilesInMessageBody": false,
|
||||||
|
"showStatusBar": true,
|
||||||
|
"updateSubmodules": true,
|
||||||
|
"syncMethod": "merge",
|
||||||
|
"customMessageOnAutoBackup": false,
|
||||||
|
"autoBackupAfterFileChange": false,
|
||||||
|
"treeStructure": false,
|
||||||
|
"refreshSourceControl": true,
|
||||||
|
"basePath": "../",
|
||||||
|
"differentIntervalCommitAndPush": false,
|
||||||
|
"changedFilesInStatusBar": false,
|
||||||
|
"showedMobileNotice": true,
|
||||||
|
"refreshSourceControlTimer": 7000,
|
||||||
|
"showBranchStatusBar": true,
|
||||||
|
"setLastSaveToLastCommit": false,
|
||||||
|
"submoduleRecurseCheckout": true,
|
||||||
|
"gitDir": "",
|
||||||
|
"showFileMenu": true,
|
||||||
|
"lineAuthor": {
|
||||||
|
"show": false,
|
||||||
|
"followMovement": "inactive",
|
||||||
|
"authorDisplay": "initials",
|
||||||
|
"showCommitHash": false,
|
||||||
|
"dateTimeFormatOptions": "date",
|
||||||
|
"dateTimeFormatCustomString": "YYYY-MM-DD HH:mm",
|
||||||
|
"dateTimeTimezone": "viewer-local",
|
||||||
|
"coloringMaxAge": "1y",
|
||||||
|
"colorNew": {
|
||||||
|
"r": 255,
|
||||||
|
"g": 150,
|
||||||
|
"b": 150
|
||||||
|
},
|
||||||
|
"colorOld": {
|
||||||
|
"r": 120,
|
||||||
|
"g": 160,
|
||||||
|
"b": 255
|
||||||
|
},
|
||||||
|
"textColorCss": "var(--text-muted)",
|
||||||
|
"ignoreWhitespace": false,
|
||||||
|
"gutterSpacingFallbackLength": 5,
|
||||||
|
"lastShownAuthorDisplay": "initials",
|
||||||
|
"lastShownDateTimeFormatOptions": "date"
|
||||||
|
},
|
||||||
|
"autoCommitMessage": "[obsidian] vault backup: {{date}}["
|
||||||
|
}
|
||||||
+44394
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"id": "obsidian-git",
|
||||||
|
"name": "Git",
|
||||||
|
"description": "Backup your vault with Git.",
|
||||||
|
"isDesktopOnly": false,
|
||||||
|
"fundingUrl": "https://ko-fi.com/vinzent",
|
||||||
|
"js": "main.js",
|
||||||
|
"version": "2.23.2"
|
||||||
|
}
|
||||||
+512
@@ -0,0 +1,512 @@
|
|||||||
|
@keyframes loading {
|
||||||
|
0% {
|
||||||
|
transform: rotate(0deg);
|
||||||
|
}
|
||||||
|
|
||||||
|
100% {
|
||||||
|
transform: rotate(360deg);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type='git-view'] .button-border {
|
||||||
|
border: 2px solid var(--interactive-accent);
|
||||||
|
border-radius: var(--radius-s);
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type='git-view'] .view-content {
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type='git-history-view'] .view-content {
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.loading>svg {
|
||||||
|
animation: 2s linear infinite loading;
|
||||||
|
transform-origin: 50% 50%;
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.obsidian-git-center {
|
||||||
|
margin: auto;
|
||||||
|
text-align: center;
|
||||||
|
width: 50%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.obsidian-git-textarea {
|
||||||
|
display: block;
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.obsidian-git-center-button {
|
||||||
|
display: block;
|
||||||
|
margin: 20px auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tooltip.mod-left {
|
||||||
|
overflow-wrap: break-word;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tooltip.mod-right {
|
||||||
|
overflow-wrap: break-word;
|
||||||
|
}
|
||||||
|
.git-tools {
|
||||||
|
display: flex;
|
||||||
|
margin-left: auto;
|
||||||
|
}
|
||||||
|
.git-tools .type {
|
||||||
|
padding-left: var(--size-2-1);
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
width: 11px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.git-tools .type[data-type="M"] {
|
||||||
|
color: orange;
|
||||||
|
}
|
||||||
|
.git-tools .type[data-type="D"] {
|
||||||
|
color: red;
|
||||||
|
}
|
||||||
|
.git-tools .buttons {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
.git-tools .buttons > * {
|
||||||
|
padding: 0 0;
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-d-none {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-wrapper {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-header {
|
||||||
|
background-color: var(--background-primary);
|
||||||
|
border-bottom: 1px solid var(--interactive-accent);
|
||||||
|
font-family: var(--font-monospace);
|
||||||
|
height: 35px;
|
||||||
|
padding: 5px 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-header,
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-stats {
|
||||||
|
display: -webkit-box;
|
||||||
|
display: -ms-flexbox;
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-stats {
|
||||||
|
font-size: 14px;
|
||||||
|
margin-left: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-lines-added {
|
||||||
|
border: 1px solid #b4e2b4;
|
||||||
|
border-radius: 5px 0 0 5px;
|
||||||
|
color: #399839;
|
||||||
|
padding: 2px;
|
||||||
|
text-align: right;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-lines-deleted {
|
||||||
|
border: 1px solid #e9aeae;
|
||||||
|
border-radius: 0 5px 5px 0;
|
||||||
|
color: #c33;
|
||||||
|
margin-left: 1px;
|
||||||
|
padding: 2px;
|
||||||
|
text-align: left;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-name-wrapper {
|
||||||
|
-webkit-box-align: center;
|
||||||
|
-ms-flex-align: center;
|
||||||
|
align-items: center;
|
||||||
|
display: -webkit-box;
|
||||||
|
display: -ms-flexbox;
|
||||||
|
display: flex;
|
||||||
|
font-size: 15px;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-name {
|
||||||
|
overflow-x: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-wrapper {
|
||||||
|
border: 1px solid var(--background-modifier-border);
|
||||||
|
border-radius: 3px;
|
||||||
|
margin-bottom: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-collapse {
|
||||||
|
-webkit-box-pack: end;
|
||||||
|
-ms-flex-pack: end;
|
||||||
|
-webkit-box-align: center;
|
||||||
|
-ms-flex-align: center;
|
||||||
|
align-items: center;
|
||||||
|
border: 1px solid var(--background-modifier-border);
|
||||||
|
border-radius: 3px;
|
||||||
|
cursor: pointer;
|
||||||
|
display: none;
|
||||||
|
font-size: 12px;
|
||||||
|
justify-content: flex-end;
|
||||||
|
padding: 4px 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-collapse.d2h-selected {
|
||||||
|
background-color: #c8e1ff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-collapse-input {
|
||||||
|
margin: 0 4px 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-diff-table {
|
||||||
|
border-collapse: collapse;
|
||||||
|
font-family: Menlo, Consolas, monospace;
|
||||||
|
font-size: 13px;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-files-diff {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-diff {
|
||||||
|
overflow-y: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-side-diff {
|
||||||
|
display: inline-block;
|
||||||
|
margin-bottom: -8px;
|
||||||
|
margin-right: -4px;
|
||||||
|
overflow-x: scroll;
|
||||||
|
overflow-y: hidden;
|
||||||
|
width: 50%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line {
|
||||||
|
padding: 0 8em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line,
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line {
|
||||||
|
display: inline-block;
|
||||||
|
-webkit-user-select: none;
|
||||||
|
-moz-user-select: none;
|
||||||
|
-ms-user-select: none;
|
||||||
|
user-select: none;
|
||||||
|
white-space: nowrap;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line {
|
||||||
|
padding: 0 4.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line-ctn {
|
||||||
|
word-wrap: normal;
|
||||||
|
background: none;
|
||||||
|
display: inline-block;
|
||||||
|
padding: 0;
|
||||||
|
-webkit-user-select: text;
|
||||||
|
-moz-user-select: text;
|
||||||
|
-ms-user-select: text;
|
||||||
|
user-select: text;
|
||||||
|
vertical-align: middle;
|
||||||
|
white-space: pre;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-code-line del,
|
||||||
|
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line del {
|
||||||
|
background-color: #ffb6ba;
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-code-line del,
|
||||||
|
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line del {
|
||||||
|
background-color: #8d232881;
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line del,
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line ins,
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line del,
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line ins {
|
||||||
|
border-radius: 0.2em;
|
||||||
|
display: inline-block;
|
||||||
|
margin-top: -1px;
|
||||||
|
text-decoration: none;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-code-line ins,
|
||||||
|
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line ins {
|
||||||
|
background-color: #97f295;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-code-line ins,
|
||||||
|
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line ins {
|
||||||
|
background-color: #1d921996;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line-prefix {
|
||||||
|
word-wrap: normal;
|
||||||
|
background: none;
|
||||||
|
display: inline;
|
||||||
|
padding: 0;
|
||||||
|
white-space: pre;
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .line-num1 {
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .line-num1,
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .line-num2 {
|
||||||
|
-webkit-box-sizing: border-box;
|
||||||
|
box-sizing: border-box;
|
||||||
|
overflow: hidden;
|
||||||
|
padding: 0 0.5em;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
width: 3.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .line-num2 {
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-linenumber {
|
||||||
|
background-color: var(--background-primary);
|
||||||
|
border: solid var(--background-modifier-border);
|
||||||
|
border-width: 0 1px;
|
||||||
|
-webkit-box-sizing: border-box;
|
||||||
|
box-sizing: border-box;
|
||||||
|
color: var(--text-muted);
|
||||||
|
cursor: pointer;
|
||||||
|
display: inline-block;
|
||||||
|
position: absolute;
|
||||||
|
text-align: right;
|
||||||
|
width: 7.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-linenumber:after {
|
||||||
|
content: "\200b";
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-linenumber {
|
||||||
|
background-color: var(--background-primary);
|
||||||
|
border: solid var(--background-modifier-border);
|
||||||
|
border-width: 0 1px;
|
||||||
|
-webkit-box-sizing: border-box;
|
||||||
|
box-sizing: border-box;
|
||||||
|
color: var(--text-muted);
|
||||||
|
cursor: pointer;
|
||||||
|
display: inline-block;
|
||||||
|
overflow: hidden;
|
||||||
|
padding: 0 0.5em;
|
||||||
|
position: absolute;
|
||||||
|
text-align: right;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
width: 4em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-diff-tbody tr {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-linenumber:after {
|
||||||
|
content: "\200b";
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-emptyplaceholder,
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-emptyplaceholder {
|
||||||
|
background-color: var(--background-primary);
|
||||||
|
border-color: var(--background-modifier-border);
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line-prefix,
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-linenumber,
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-linenumber,
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-emptyplaceholder {
|
||||||
|
-webkit-user-select: none;
|
||||||
|
-moz-user-select: none;
|
||||||
|
-ms-user-select: none;
|
||||||
|
user-select: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-linenumber,
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-linenumber {
|
||||||
|
direction: rtl;
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-del {
|
||||||
|
background-color: #fee8e9;
|
||||||
|
border-color: #e9aeae;
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-ins {
|
||||||
|
background-color: #dfd;
|
||||||
|
border-color: #b4e2b4;
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-del {
|
||||||
|
background-color: #521b1d83;
|
||||||
|
border-color: #691d1d73;
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-ins {
|
||||||
|
background-color: rgba(30, 71, 30, 0.5);
|
||||||
|
border-color: #13501381;
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-info {
|
||||||
|
background-color: var(--background-primary);
|
||||||
|
border-color: var(--background-modifier-border);
|
||||||
|
color: var(--text-normal);
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-file-diff .d2h-del.d2h-change {
|
||||||
|
background-color: #fdf2d0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-file-diff .d2h-del.d2h-change {
|
||||||
|
background-color: #55492480;
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-file-diff .d2h-ins.d2h-change {
|
||||||
|
background-color: #ded;
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-file-diff .d2h-ins.d2h-change {
|
||||||
|
background-color: rgba(37, 78, 37, 0.418);
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-wrapper {
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-wrapper a {
|
||||||
|
color: #3572b0;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-wrapper a:visited {
|
||||||
|
color: #3572b0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-header {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-title {
|
||||||
|
font-weight: 700;
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-line {
|
||||||
|
display: -webkit-box;
|
||||||
|
display: -ms-flexbox;
|
||||||
|
display: flex;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list {
|
||||||
|
display: block;
|
||||||
|
list-style: none;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list>li {
|
||||||
|
border-bottom: 1px solid var(--background-modifier-border);
|
||||||
|
margin: 0;
|
||||||
|
padding: 5px 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list>li:last-child {
|
||||||
|
border-bottom: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-switch {
|
||||||
|
cursor: pointer;
|
||||||
|
display: none;
|
||||||
|
font-size: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-icon {
|
||||||
|
fill: currentColor;
|
||||||
|
margin-right: 10px;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-deleted {
|
||||||
|
color: #c33;
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-added {
|
||||||
|
color: #399839;
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-changed {
|
||||||
|
color: #d0b44c;
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-moved {
|
||||||
|
color: #3572b0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-tag {
|
||||||
|
background-color: var(--background-primary);
|
||||||
|
display: -webkit-box;
|
||||||
|
display: -ms-flexbox;
|
||||||
|
display: flex;
|
||||||
|
font-size: 10px;
|
||||||
|
margin-left: 5px;
|
||||||
|
padding: 0 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-deleted-tag {
|
||||||
|
border: 2px solid #c33;
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-added-tag {
|
||||||
|
border: 1px solid #399839;
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-changed-tag {
|
||||||
|
border: 1px solid #d0b44c;
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-leaf-content[data-type="diff-view"] .d2h-moved-tag {
|
||||||
|
border: 1px solid #3572b0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ====================== Line Authoring Information ====================== */
|
||||||
|
|
||||||
|
.cm-gutterElement.obs-git-blame-gutter {
|
||||||
|
/* Add background color to spacing inbetween and around the gutter for better aesthetics */
|
||||||
|
border-width: 0px 2px 0.2px 2px;
|
||||||
|
border-style: solid;
|
||||||
|
border-color: var(--background-secondary);
|
||||||
|
background-color: var(--background-secondary);
|
||||||
|
}
|
||||||
|
|
||||||
|
.cm-gutterElement.obs-git-blame-gutter > div, .line-author-settings-preview {
|
||||||
|
/* delegate text color to settings */
|
||||||
|
color: var(--obs-git-gutter-text);
|
||||||
|
font-family: monospace;
|
||||||
|
height: 100%; /* ensure, that age-based background color occupies entire parent */
|
||||||
|
text-align: right;
|
||||||
|
padding: 0px 6px 0px 6px;
|
||||||
|
white-space: pre; /* Keep spaces and do not collapse them. */
|
||||||
|
}
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
{
|
||||||
|
"database": "Zotero",
|
||||||
|
"noteImportFolder": "",
|
||||||
|
"pdfExportImageDPI": 120,
|
||||||
|
"pdfExportImageFormat": "jpg",
|
||||||
|
"pdfExportImageQuality": 90,
|
||||||
|
"citeFormats": [
|
||||||
|
{
|
||||||
|
"name": "cite as pandoc",
|
||||||
|
"format": "pandoc",
|
||||||
|
"brackets": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "cite as Chicago",
|
||||||
|
"format": "formatted-citation",
|
||||||
|
"cslStyle": "chicago-author-date"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"exportFormats": [
|
||||||
|
{
|
||||||
|
"name": "Import from Zotero",
|
||||||
|
"outputPathTemplate": "{{title}}.md",
|
||||||
|
"imageOutputPathTemplate": "img/{{citekey}}/",
|
||||||
|
"imageBaseNameTemplate": "image",
|
||||||
|
"cslStyle": "chicago-author-date",
|
||||||
|
"templatePath": "templates/zotero_template.md"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"citeSuggestTemplate": "[[{{citekey}}]]",
|
||||||
|
"openNoteAfterImport": false,
|
||||||
|
"whichNotesToOpenAfterImport": "first-imported-note",
|
||||||
|
"pdfExportImageOCR": true,
|
||||||
|
"pdfExportImageTesseractPath": "/usr/local/bin/tesseract"
|
||||||
|
}
|
||||||
@@ -0,0 +1,191 @@
|
|||||||
|
var aT=Object.create;var Yr=Object.defineProperty;var nT=Object.getOwnPropertyDescriptor;var iT=Object.getOwnPropertyNames;var rT=Object.getPrototypeOf,oT=Object.prototype.hasOwnProperty;var O=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),sT=(e,t)=>{for(var a in t)Yr(e,a,{get:t[a],enumerable:!0})},Tm=(e,t,a,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of iT(t))!oT.call(e,i)&&i!==a&&Yr(e,i,{get:()=>t[i],enumerable:!(n=nT(t,i))||n.enumerable});return e};var _e=(e,t,a)=>(a=e!=null?aT(rT(e)):{},Tm(t||!e||!e.__esModule?Yr(a,"default",{value:e,enumerable:!0}):a,e)),lT=e=>Tm(Yr({},"__esModule",{value:!0}),e);var Rm=O((hD,Om)=>{Om.exports=Pm;Pm.sync=uT;var km=require("fs");function cT(e,t){var a=t.pathExt!==void 0?t.pathExt:process.env.PATHEXT;if(!a||(a=a.split(";"),a.indexOf("")!==-1))return!0;for(var n=0;n<a.length;n++){var i=a[n].toLowerCase();if(i&&e.substr(-i.length).toLowerCase()===i)return!0}return!1}function Fm(e,t,a){return!e.isSymbolicLink()&&!e.isFile()?!1:cT(t,a)}function Pm(e,t,a){km.stat(e,function(n,i){a(n,n?!1:Fm(i,e,t))})}function uT(e,t){return Fm(km.statSync(e),e,t)}});var Mm=O((vD,Lm)=>{Lm.exports=Nm;Nm.sync=pT;var Bm=require("fs");function Nm(e,t,a){Bm.stat(e,function(n,i){a(n,n?!1:jm(i,t))})}function pT(e,t){return jm(Bm.statSync(e),t)}function jm(e,t){return e.isFile()&&dT(e,t)}function dT(e,t){var a=e.mode,n=e.uid,i=e.gid,r=t.uid!==void 0?t.uid:process.getuid&&process.getuid(),o=t.gid!==void 0?t.gid:process.getgid&&process.getgid(),s=parseInt("100",8),l=parseInt("010",8),u=parseInt("001",8),c=s|l,f=a&u||a&l&&i===o||a&s&&n===r||a&c&&r===0;return f}});var Mc=O((gD,Dm)=>{var bD=require("fs"),Kr;process.platform==="win32"||global.TESTING_WINDOWS?Kr=Rm():Kr=Mm();Dm.exports=Lc;Lc.sync=fT;function Lc(e,t,a){if(typeof t=="function"&&(a=t,t={}),!a){if(typeof Promise!="function")throw new TypeError("callback not provided");return new Promise(function(n,i){Lc(e,t||{},function(r,o){r?i(r):n(o)})})}Kr(e,t||{},function(n,i){n&&(n.code==="EACCES"||t&&t.ignoreErrors)&&(n=null,i=!1),a(n,i)})}function fT(e,t){try{return Kr.sync(e,t||{})}catch(a){if(t&&t.ignoreErrors||a.code==="EACCES")return!1;throw a}}});var Jm=O((xD,Um)=>{var Cn=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys",zm=require("path"),mT=Cn?";":":",Gm=Mc(),Hm=e=>Object.assign(new Error(`not found: ${e}`),{code:"ENOENT"}),Wm=(e,t)=>{let a=t.colon||mT,n=e.match(/\//)||Cn&&e.match(/\\/)?[""]:[...Cn?[process.cwd()]:[],...(t.path||process.env.PATH||"").split(a)],i=Cn?t.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",r=Cn?i.split(a):[""];return Cn&&e.indexOf(".")!==-1&&r[0]!==""&&r.unshift(""),{pathEnv:n,pathExt:r,pathExtExe:i}},Vm=(e,t,a)=>{typeof t=="function"&&(a=t,t={}),t||(t={});let{pathEnv:n,pathExt:i,pathExtExe:r}=Wm(e,t),o=[],s=u=>new Promise((c,f)=>{if(u===n.length)return t.all&&o.length?c(o):f(Hm(e));let p=n[u],b=/^".*"$/.test(p)?p.slice(1,-1):p,d=zm.join(b,e),m=!b&&/^\.[\\\/]/.test(e)?e.slice(0,2)+d:d;c(l(m,u,0))}),l=(u,c,f)=>new Promise((p,b)=>{if(f===i.length)return p(s(c+1));let d=i[f];Gm(u+d,{pathExt:r},(m,h)=>{if(!m&&h)if(t.all)o.push(u+d);else return p(u+d);return p(l(u,c,f+1))})});return a?s(0).then(u=>a(null,u),a):s(0)},hT=(e,t)=>{t=t||{};let{pathEnv:a,pathExt:n,pathExtExe:i}=Wm(e,t),r=[];for(let o=0;o<a.length;o++){let s=a[o],l=/^".*"$/.test(s)?s.slice(1,-1):s,u=zm.join(l,e),c=!l&&/^\.[\\\/]/.test(e)?e.slice(0,2)+u:u;for(let f=0;f<n.length;f++){let p=c+n[f];try{if(Gm.sync(p,{pathExt:i}))if(t.all)r.push(p);else return p}catch(b){}}}if(t.all&&r.length)return r;if(t.nothrow)return null;throw Hm(e)};Um.exports=Vm;Vm.sync=hT});var zc=O((yD,Dc)=>{"use strict";var Zm=(e={})=>{let t=e.env||process.env;return(e.platform||process.platform)!=="win32"?"PATH":Object.keys(t).reverse().find(n=>n.toUpperCase()==="PATH")||"Path"};Dc.exports=Zm;Dc.exports.default=Zm});var Ym=O((wD,$m)=>{"use strict";var qm=require("path"),vT=Jm(),bT=zc();function Xm(e,t){let a=e.options.env||process.env,n=process.cwd(),i=e.options.cwd!=null,r=i&&process.chdir!==void 0&&!process.chdir.disabled;if(r)try{process.chdir(e.options.cwd)}catch(s){}let o;try{o=vT.sync(e.command,{path:a[bT({env:a})],pathExt:t?qm.delimiter:void 0})}catch(s){}finally{r&&process.chdir(n)}return o&&(o=qm.resolve(i?e.options.cwd:"",o)),o}function gT(e){return Xm(e)||Xm(e,!0)}$m.exports=gT});var Km=O((ED,Hc)=>{"use strict";var Gc=/([()\][%!^"`<>&|;, *?])/g;function xT(e){return e=e.replace(Gc,"^$1"),e}function yT(e,t){return e=`${e}`,e=e.replace(/(\\*)"/g,'$1$1\\"'),e=e.replace(/(\\*)$/,"$1$1"),e=`"${e}"`,e=e.replace(Gc,"^$1"),t&&(e=e.replace(Gc,"^$1")),e}Hc.exports.command=xT;Hc.exports.argument=yT});var eh=O((SD,Qm)=>{"use strict";Qm.exports=/^#!(.*)/});var ah=O((CD,th)=>{"use strict";var wT=eh();th.exports=(e="")=>{let t=e.match(wT);if(!t)return null;let[a,n]=t[0].replace(/#! ?/,"").split(" "),i=a.split("/").pop();return i==="env"?n:n?`${i} ${n}`:i}});var ih=O((AD,nh)=>{"use strict";var Wc=require("fs"),ET=ah();function ST(eLine truncated
|
||||||
|
`:`
|
||||||
|
`.charCodeAt(),a=typeof e=="string"?"\r":"\r".charCodeAt();return e[e.length-1]===t&&(e=e.slice(0,e.length-1)),e[e.length-1]===a&&(e=e.slice(0,e.length-1)),e}});var gh=O((FD,ki)=>{"use strict";var Ti=require("path"),vh=zc(),bh=e=>{e={cwd:process.cwd(),path:process.env[vh()],execPath:process.execPath,...e};let t,a=Ti.resolve(e.cwd),n=[];for(;t!==a;)n.push(Ti.join(a,"node_modules/.bin")),t=a,a=Ti.resolve(a,"..");let i=Ti.resolve(e.cwd,e.execPath,"..");return n.push(i),n.concat(e.path).join(Ti.delimiter)};ki.exports=bh;ki.exports.default=bh;ki.exports.env=e=>{e={env:process.env,...e};let t={...e.env},a=vh({env:t});return e.path=t[a],t[a]=ki.exports(e),t}});var yh=O((PD,Xc)=>{"use strict";var xh=(e,t)=>{for(let a of Reflect.ownKeys(t))Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(t,a));return e};Xc.exports=xh;Xc.exports.default=xh});var Eh=O((OD,eo)=>{"use strict";var NT=yh(),Qr=new WeakMap,wh=(e,t={})=>{if(typeof e!="function")throw new TypeError("Expected a function");let a,n=0,i=e.displayName||e.name||"<anonymous>",r=function(...o){if(Qr.set(r,++n),n===1)a=e.apply(this,o),e=null;else if(t.throw===!0)throw new Error(`Function \`${i}\` can only be called once`);return a};return NT(r,e),Qr.set(r,n),r};eo.exports=wh;eo.exports.default=wh;eo.exports.callCount=e=>{if(!Qr.has(e))throw new Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return Qr.get(e)}});var Sh=O(to=>{"use strict";Object.defineProperty(to,"__esModule",{value:!0});to.SIGNALS=void 0;var jT=[{name:"SIGHUP",number:1,action:"terminate",description:"Terminal closed",standard:"posix"},{name:"SIGINT",number:2,action:"terminate",description:"User interruption with CTRL-C",standard:"ansi"},{name:"SIGQUIT",number:3,action:"core",description:"User interruption with CTRL-\\",standard:"posix"},{name:"SIGILL",number:4,action:"core",description:"Invalid machine instruction",standard:"ansi"},{name:"SIGTRAP",number:5,action:"core",description:"Debugger breakpoint",standard:"posix"},{name:"SIGABRT",number:6,action:"core",description:"Aborted",standard:"ansi"},{name:"SIGIOT",number:6,action:"core",description:"Aborted",standard:"bsd"},{name:"SIGBUS",number:7,action:"core",description:"Bus error due to misaligned, non-existing address or paging error",standard:"bsd"},{name:"SIGEMT",number:7,action:"terminate",description:"Command should be emulated but is not implemented",standard:"other"},{name:"SIGFPE",number:8,action:"core",description:"Floating point arithmetic error",standard:"ansi"},{name:"SIGKILL",number:9,action:"terminate",description:"Forced termination",standard:"posix",forced:!0},{name:"SIGUSR1",number:10,action:"terminate",description:"Application-specific signal",standard:"posix"},{name:"SIGSEGV",number:11,action:"core",description:"Segmentation fault",standard:"ansi"},{name:"SIGUSR2",number:12,action:"terminate",description:"Application-specific signal",standard:"posix"},{name:"SIGPIPE",number:13,action:"terminate",description:"Broken pipe or socket",standard:"posix"},{name:"SIGALRM",number:14,action:"terminate",description:"Timeout or timer",standard:"posix"},{name:"SIGTERM",number:15,action:"terminate",description:"Termination",standard:"ansi"},{name:"SIGSTKFLT",number:16,action:"terminate",description:"Stack is empty or overflowed",standard:"other"},{name:"SIGCHLD",number:17,action:"ignore",description:"Child process terminated, paused or unpaused",standard:"posix"},{name:"SIGCLD",number:17,action:"ignore",description:"Child process terminated, paused or unpaused",standard:"other"},{name:"SIGCONT",number:18,action:"unpause",description:"Unpaused",standard:"posix",forced:!0},{name:"SIGSTOP",number:19,action:"pause",description:"Paused",standard:"posix",forced:!0},{name:"SIGTSTP",number:20,action:"pause",description:'Paused using CTRL-Z or "suspend"',standard:"posix"},{name:"SIGTTIN",number:21,action:"pause",description:"Background process cannot read terminal input",standard:"posix"},{name:"SIGBREAK",number:21,action:"terminate",description:"User interruption with CTRL-BREAK",standard:"other"},{name:"SIGTTOU",number:22,action:"pause",description:"Background process cannot write to terminal output",standard:"posix"},{name:"SIGURG",number:23,action:"ignore",description:"Socket received out-of-band data",standard:"bsd"},{name:"SIGXCPU",number:24,action:"core",description:"Process timed out",standard:"bsd"},{name:"SIGXFSZ",number:25,action:"core",description:"File too big",standard:"bsd"},{name:"SIGVTALRM",number:26,action:"terminate",description:"Timeout or timer",standard:"bsd"},{name:"SIGPROF",number:27,action:"terminate",description:"Timeout or timer",standard:"bsd"},{name:"SIGWINCH",number:28,action:"ignore",description:"Terminal window size changed",standard:"bsd"},{name:"SIGIO",number:29,action:"terminate",description:"I/O is available",standard:"other"},{name:"SIGPOLL",number:29,action:"terminate",description:"Watched event",standard:"other"},{name:"SIGINFO",number:29,action:"ignore",description:"ReLine truncated
|
||||||
|
${n.message}`:m,x=[v,t,e].filter(Boolean).join(`
|
||||||
|
`);return h?(n.originalMessage=n.message,n.message=x):n=new Error(x),n.shortMessage=v,n.command=o,n.escapedCommand=s,n.exitCode=r,n.signal=i,n.signalDescription=p,n.stdout=e,n.stderr=t,a!==void 0&&(n.all=a),"bufferedData"in n&&delete n.bufferedData,n.failed=!0,n.timedOut=!!l,n.isCanceled=u,n.killed=c&&!l,n};kh.exports=t4});var Oh=O((MD,Yc)=>{"use strict";var no=["stdin","stdout","stderr"],a4=e=>no.some(t=>e[t]!==void 0),Ph=e=>{if(!e)return;let{stdio:t}=e;if(t===void 0)return no.map(n=>e[n]);if(a4(e))throw new Error(`It's not possible to provide \`stdio\` in combination with one of ${no.map(n=>`\`${n}\``).join(", ")}`);if(typeof t=="string")return t;if(!Array.isArray(t))throw new TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof t}\``);let a=Math.max(t.length,no.length);return Array.from({length:a},(n,i)=>t[i])};Yc.exports=Ph;Yc.exports.node=e=>{let t=Ph(e);return t==="ipc"?"ipc":t===void 0||typeof t=="string"?[t,t,t,"ipc"]:t.includes("ipc")?t:[...t,"ipc"]}});var Rh=O((DD,io)=>{io.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];process.platform!=="win32"&&io.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");process.platform==="linux"&&io.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")});var eu=O((zD,Fn)=>{var Ge=global.process,qa=function(e){return e&&typeof e=="object"&&typeof e.removeListener=="function"&&typeof e.emit=="function"&&typeof e.reallyExit=="function"&&typeof e.listeners=="function"&&typeof e.kill=="function"&&typeof e.pid=="number"&&typeof e.on=="function"};qa(Ge)?(Bh=require("assert"),Tn=Rh(),Nh=/^win/i.test(Ge.platform),Fi=require("events"),typeof Fi!="function"&&(Fi=Fi.EventEmitter),Ge.__signal_exit_emitter__?at=Ge.__signal_exit_emitter__:(at=Ge.__signal_exit_emitter__=new Fi,at.count=0,at.emitted={}),at.infinite||(at.setMaxListeners(1/0),at.infinite=!0),Fn.exports=function(e,t){if(!qa(global.process))return function(){};Bh.equal(typeof e,"function","a callback must be provided for exit handler"),kn===!1&&Kc();var a="exit";t&&t.alwaysLast&&(a="afterexit");var n=function(){at.removeListener(a,e),at.listeners("exit").length===0&&at.listeners("afterexit").length===0&&ro()};return at.on(a,e),n},ro=function(){!kn||!qa(global.process)||(kn=!1,Tn.forEach(function(t){try{Ge.removeListener(t,oo[t])}catch(a){}}),Ge.emit=so,Ge.reallyExit=Qc,at.count-=1)},Fn.exports.unload=ro,Xa=function(t,a,n){at.emitted[t]||(at.emitted[t]=!0,at.emit(t,a,n))},oo={},Tn.forEach(function(e){oo[e]=function(){if(qa(global.process)){var a=Ge.listeners(e);a.length===at.count&&(ro(),Xa("exit",null,e),Xa("afterexit",null,e),Nh&&e==="SIGHUP"&&(e="SIGINT"),Ge.kill(Ge.pid,e))}}}),Fn.exports.signals=function(){return Tn},kn=!1,Kc=function(){kn||!qa(global.process)||(kn=!0,at.count+=1,Tn=Tn.filter(function(t){try{return Ge.on(t,oo[t]),!0}catch(a){return!1}}),Ge.emit=Lh,Ge.reallyExit=jh)},Fn.exports.load=Kc,Qc=Ge.reallyExit,jh=function(t){qa(global.process)&&(Ge.exitCode=t||0,Xa("exit",Ge.exitCode,null),Xa("afterexit",Ge.exitCode,null),Qc.call(Ge,Ge.exitCode))},so=Ge.emit,Lh=function(t,a){if(t==="exit"&&qa(global.process)){a!==void 0&&(Ge.exitCode=a);var n=so.apply(this,arguments);return Xa("exit",Ge.exitCode,null),Xa("afterexit",Ge.exitCode,null),n}else return so.apply(this,arguments)}):Fn.exports=function(){return function(){}};var Bh,Tn,Nh,Fi,at,ro,Xa,oo,kn,Kc,Qc,jh,so,Lh});var Dh=O((GD,Mh)=>{"use strict";var n4=require("os"),i4=eu(),r4=1e3*5,o4=(e,t="SIGTERM",a={})=>{let n=e(t);return s4(e,t,a,n),n},s4=(e,t,a,n)=>{if(!l4(t,a,n))return;let i=u4(a),r=setTimeout(()=>{e("SIGKILL")},i);r.unref&&r.unref()},l4=(e,{forceKillAfterTimeout:t},a)=>c4(e)&&t!==!1&&a,c4=e=>e===n4.constants.signals.SIGTERM||typeof e=="string"&&e.toUpperCase()==="SIGTERM",u4=({forceKillAfterTimeout:e=!0})=>{if(e===!0)return r4;if(!Number.isFinite(e)||e<0)throw new TypeError(`Expected the \`forceKillAfterTimeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);return e},p4=(e,t)=>{e.kill()&&(t.isCanceled=!0)},d4=(e,t,a)=>{e.kill(t),a(Object.assign(new Error("Timed out"),{timedOut:!0,signal:t}))},f4=(e,{timeout:t,killSignal:a="SIGTERM"},n)=>{if(t===0||t===void 0)return n;let i,r=new Promise((s,l)=>{i=setTimeout(()=>{d4(e,a,l)},t)}),o=n.finally(()=>{clearTimeout(i)});return Promise.race([r,o])},m4=({timeout:e})=>{if(e!==void 0&&(!Number.isFinite(e)||e<0))throw new TypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`)},h4=async(e,{cleanup:t,detached:a},n)=>{if(!t||a)return n;let i=i4(()=>{e.kill()});return n.finally(()=>{i()})};Mh.exports={spawnedKill:o4,spawnedCancel:p4,setupTimeout:f4,validateTimeout:m4,setExitHandler:h4}});var Gh=O((HD,zh)=>{"use strict";var Xt=e=>e!==null&&typeof e=="object"&&typeof e.pipe=="function";Xt.writable=e=>Xt(e)&&e.writable!==!1&&typeof e._write=="function"&&typeof e._writableState=="object";Xt.readable=e=>Xt(e)&&e.readable!==!1&&typeof e._read=="function"&&typeof eLine truncated
|
||||||
|
/* [wrapped with `+t+`] */
|
||||||
|
`)}function GF(e,t){return t=t==null?K5:t,!!t&&(typeof e=="number"||fF.test(e))&&e>-1&&e%1==0&&e<t}function HF(e){return!!$b&&$b in e}function WF(e,t){for(var a=e.length,n=kF(t.length,a),i=BF(e);n--;){var r=t[n];e[n]=GF(r,a)?i[r]:void 0}return e}var cg=Yb?function(e,t,a){var n=t+"";return Yb(e,"toString",{configurable:!0,enumerable:!1,value:YF(zF(n,UF(DF(n),a)))})}:KF;function VF(e){if(e!=null){try{return rg.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function UF(e,t){return bF(eF,function(a){var n="_."+a[0];t&a[1]&&!gF(e,n)&&e.push(n)}),e.sort()}function Gu(e,t,a){t=a?void 0:t;var n=MF(e,Qa,void 0,void 0,void 0,void 0,void 0,t);return n.placeholder=Gu.placeholder,n}function JF(e){var t=Dn(e)?og.call(e):"";return t==tF||t==aF}function Dn(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function ZF(e){return!!e&&typeof e=="object"}function qF(e){return typeof e=="symbol"||ZF(e)&&og.call(e)==nF}function XF(e){if(!e)return e===0?e:0;if(e=$F(e),e===qb||e===-qb){var t=e<0?-1:1;return t*Q5}return e===e?e:0}function Qb(e){var t=XF(e),a=t%1;return t===t?a?t-a:t:0}function $F(e){if(typeof e=="number")return e;if(qF(e))return Xb;if(Dn(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Dn(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(rF,"");var a=uF.test(e);return a||dF.test(e)?mF(e.slice(2),a?2:8):cF.test(e)?Xb:+e}function YF(e){return function(){return e}}function KF(e){return e}Gu.placeholder={};ug.exports=Gu});var Zg=O((mz,Jg)=>{"use strict";var{PassThrough:LP}=require("stream");Jg.exports=e=>{e={...e};let{array:t}=e,{encoding:a}=e,n=a==="buffer",i=!1;t?i=!(a||n):a=a||"utf8",n&&(a=null);let r=new LP({objectMode:i});a&&r.setEncoding(a);let o=0,s=[];return r.on("data",l=>{s.push(l),i?o=s.length:o+=l.length}),r.getBufferedValue=()=>t?s:n?Buffer.concat(s,o):s.join(""),r.getBufferedLength=()=>o,r}});var qg=O((hz,Yi)=>{"use strict";var{constants:MP}=require("buffer"),DP=require("stream"),{promisify:zP}=require("util"),GP=Zg(),HP=zP(DP.pipeline),vs=class extends Error{constructor(){super("maxBuffer exceeded"),this.name="MaxBufferError"}};async function Yu(e,t){if(!e)throw new Error("Expected a stream");t={maxBuffer:1/0,...t};let{maxBuffer:a}=t,n=GP(t);return await new Promise((i,r)=>{let o=s=>{s&&n.getBufferedLength()<=MP.MAX_LENGTH&&(s.bufferedData=n.getBufferedValue()),r(s)};(async()=>{try{await HP(e,n),i()}catch(s){o(s)}})(),n.on("data",()=>{n.getBufferedLength()>a&&o(new vs)})}),n.getBufferedValue()}Yi.exports=Yu;Yi.exports.buffer=(e,t)=>Yu(e,{...t,encoding:"buffer"});Yi.exports.array=(e,t)=>Yu(e,{...t,array:!0});Yi.exports.MaxBufferError=vs});var Ax=O((tr,up)=>{(function(t,a){typeof tr=="object"&&typeof up=="object"?up.exports=a():typeof define=="function"&&define.amd?define([],a):typeof tr=="object"?tr.nunjucks=a():t.nunjucks=a()})(typeof self!="undefined"?self:tr,function(){return function(e){var t={};function a(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,a),i.l=!0,i.exports}return a.m=e,a.c=t,a.d=function(n,i,r){a.o(n,i)||Object.defineProperty(n,i,{configurable:!1,enumerable:!0,get:r})},a.n=function(n){var i=n&&n.__esModule?function(){return n.default}:function(){return n};return a.d(i,"a",i),i},a.o=function(n,i){return Object.prototype.hasOwnProperty.call(n,i)},a.p="",a(a.s=11)}([function(e,s,a){"use strict";var n=Array.prototype,i=Object.prototype,r={"&":"&",'"':""","'":"'","<":"<",">":">","\\":"\"},o=/[&"'<>\\]/g,s=e.exports={};function l(T,N){return i.hasOwnProperty.call(T,N)}s.hasOwnProp=l;function u(T){return r[T]}function c(T,N,M){if(M.Update||(M=new s.TemplateError(M)),M.Update(T),!N){var D=M;M=new Error(D.message),M.name=D.name}return M}s._prettifyError=c;function f(T,N,M){var D,V;T instanceof Error&&(V=T,T=V.name+": "+V.message),Object.setPrototypeOf?(D=new Error(T),Object.setPrototypeOf(D,f.prototype)):(D=this,Object.defineProperty(D,"message",{enumerable:!1,writable:!0,value:T})),Object.defineProperty(D,"name",{value:"Template render error"}),Error.captureStackTrace&&Error.captureStackTrace(D,this.constructor);var q;if(V){var Z=Object.getOwnPropertyDescriptor(V,"stack");q=Z&&(Z.get||function(){return Z.value}),q||(q=function(){return V.stack})}else{var pe=new Error(T).stack;q=function(){return pe}}return Object.defineProperty(D,"stack",{get:function(){return q.call(D)}}),Object.defineProperty(D,"cause",{value:V}),D.lineno=N,D.colno=M,D.firstUpdate=!0,D.Update=function(ee){var oe="("+(ee||"unknown path")+")";return this.firstUpdate&&(this.lineno&&this.colno?oe+=" [Line "+this.lineno+", Column "+this.colno+"]":this.lineno&&(oe+=" [Line "+this.lineno+"]")),oe+=`
|
||||||
|
`,this.firstUpdate&&(oe+=" "),this.message=oe+(this.message||""),this.firstUpdate=!1,this},D}Object.setPrototypeOf?Object.setPrototypeOf(f.prototype,Error.prototype):f.prototype=Object.create(Error.prototype,{constructor:{value:f}}),s.TemplateError=f;function p(T){return T.replace(o,u)}s.escape=p;function b(T){return i.toString.call(T)==="[object Function]"}s.isFunction=b;function d(T){return i.toString.call(T)==="[object Array]"}s.isArray=d;function m(T){return i.toString.call(T)==="[object String]"}s.isString=m;function h(T){return i.toString.call(T)==="[object Object]"}s.isObject=h;function v(T){return T?typeof T=="string"?T.split("."):[T]:[]}function x(T){var N=v(T);return function(D){for(var V=D,q=0;q<N.length;q++){var Z=N[q];if(l(V,Z))V=V[Z];else return}return V}}s.getAttrGetter=x;function E(T,N,M){for(var D={},V=b(N)?N:x(N),q=0;q<T.length;q++){var Z=T[q],pe=V(Z,q);if(pe===void 0&&M===!0)throw new TypeError('groupby: attribute "'+N+'" resolved to undefined');(D[pe]||(D[pe]=[])).push(Z)}return D}s.groupBy=E;function g(T){return Array.prototype.slice.call(T)}s.toArray=g;function w(T){var N=[];if(!T)return N;for(var M=T.length,D=g(arguments).slice(1),V=-1;++V<M;)P(D,T[V])===-1&&N.push(T[V]);return N}s.without=w;function C(T,N){for(var M="",D=0;D<N;D++)M+=T;return M}s.repeat=C;function y(T,N,M){if(T!=null){if(n.forEach&&T.forEach===n.forEach)T.forEach(N,M);else if(T.length===+T.length)for(var D=0,V=T.length;D<V;D++)N.call(M,T[D],D,T)}}s.each=y;function S(T,N){var M=[];if(T==null)return M;if(n.map&&T.map===n.map)return T.map(N);for(var D=0;D<T.length;D++)M[M.length]=N(T[D],D);return T.length===+T.length&&(M.length=T.length),M}s.map=S;function A(T,N,M){var D=-1;function V(){D++,D<T.length?N(T[D],D,V,M):M()}V()}s.asyncIter=A;function _(T,N,M){var D=F(T||{}),V=D.length,q=-1;function Z(){q++;var pe=D[q];q<V?N(pe,T[pe],q,V,Z):M()}Z()}s.asyncFor=_;function P(T,N,M){return Array.prototype.indexOf.call(T||[],N,M)}s.indexOf=P;function F(T){var N=[];for(var M in T)l(T,M)&&N.push(M);return N}s.keys=F;function B(T){return F(T).map(function(N){return[N,T[N]]})}s._entries=B;function j(T){return F(T).map(function(N){return T[N]})}s._values=j;function L(T,N){return T=T||{},F(N).forEach(function(M){T[M]=N[M]}),T}s._assign=s.extend=L;function k(T,N){if(d(N)||m(N))return N.indexOf(T)!==-1;if(h(N))return T in N;throw new Error('Cannot use "in" operator to search for "'+T+'" in unexpected types.')}s.inOperator=k},function(e,t,a){"use strict";function n(m,h){for(var v=0;v<h.length;v++){var x=h[v];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,r(x.key),x)}}function i(m,h,v){return h&&n(m.prototype,h),v&&n(m,v),Object.defineProperty(m,"prototype",{writable:!1}),m}function r(m){var h=o(m,"string");return typeof h=="symbol"?h:String(h)}function o(m,h){if(typeof m!="object"||m===null)return m;var v=m[Symbol.toPrimitive];if(v!==void 0){var x=v.call(m,h||"default");if(typeof x!="object")return x;throw new TypeError("@@toPrimitive must return a primitive value.")}return(h==="string"?String:Number)(m)}function s(m,h){m.prototype=Object.create(h.prototype),m.prototype.constructor=m,l(m,h)}function l(m,h){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(x,E){return x.__proto__=E,x},l(m,h)}var u=a(16),c=a(0);function f(m,h){return typeof m!="function"||typeof h!="function"?h:function(){var x=this.parent;this.parent=m;var E=h.apply(this,arguments);return this.parent=x,E}}function p(m,h,v){v=v||{},c.keys(v).forEach(function(E){v[E]=f(m.prototype[E],v[E])});var x=function(E){s(g,E);function g(){return E.apply(this,arguments)||this}return i(g,[{key:"typename",get:function(){return h}}]),g}(m);return c._assign(x.prototype,v),x}var b=function(){function m(){this.init.apply(this,arguments)}var h=m.prototype;return h.init=function(){},m.extend=function(x,E){return typeof x=="object"&&(E=x,x="anonymous"),p(this,x,E)},i(m,[{key:"typename",get:function(){return this.constructor.name}}]),m}(),d=function(m){s(h,m);function h(){var x,E;return E=m.call(this)||this,(x=E).init.apply(x,arguments),E}var v=h.prototype;return v.init=function(){},h.extend=function(E,g){return typeof E=="object"&&(g=E,E="anonymous"),p(this,E,g)},i(h,[{key:"typename",get:function(){return this.constructor.name}}]),h}(u);e.exports={Obj:b,EmitterObj:d}},function(e,t,a){"use strict";var n=a(0),i=Array.from,r=typeof Symbol=="function"&&Symbol.iterator&&typeof i=="function",o=function(){function S(_,P){this.variables=Object.create(null),this.parent=_,this.topLevel=!1,this.isolateWrites=P}var A=S.prototype;return A.set=function(P,F,B){var j=P.split("."),L=this.variables,k=this;if(B&&(k=this.resolve(j[0],!0))){k.set(P,F);return}for(var T=0;T<j.length-1;T++){var N=j[T];L[N]||(L[N]={}),L=L[N]}L[j[j.length-1]]=F},A.get=function(P){var F=this.variables[P];return F!==void 0?F:null},A.lookup=function(P){var F=this.parent,B=this.variables[P];return B!==void 0?B:F&&F.lookup(P)},A.resolve=function(P,F){var B=F&&this.isol
Line truncated
|
||||||
|
`);ge.forEach(function(Ie,Xe){Ie&&(we&&Xe>0||!we)&&process.stdout.write(" ".repeat(ie));var St=Xe===ge.length-1?"":`
|
||||||
|
`;process.stdout.write(""+Ie+St)})}function Ii(te,ie){if(ie=ie||0,Sn(te.typename+": ",ie),te instanceof d)Sn(`
|
||||||
|
`),te.children.forEach(function(Ie){Ii(Ie,ie+2)});else if(te instanceof Nc)Sn(te.extName+"."+te.prop+`
|
||||||
|
`),te.args&&Ii(te.args,ie+2),te.contentArgs&&te.contentArgs.forEach(function(Ie){Ii(Ie,ie+2)});else{var we=[],ge=null;te.iterFields(function(Ie,Xe){Ie instanceof p?we.push([Xe,Ie]):(ge=ge||{},ge[Xe]=Ie)}),ge?Sn(JSON.stringify(ge,null,2)+`
|
||||||
|
`,null,!0):Sn(`
|
||||||
|
`),we.forEach(function(Ie){var Xe=Ie[0],St=Ie[1];Sn("["+Xe+"] =>",ie+2),Ii(St,ie+4)})}}e.exports={Node:p,Root:m,NodeList:d,Value:b,Literal:h,Symbol:v,Group:x,Array:E,Pair:g,Dict:w,Output:X,Capture:$,TemplateData:he,If:y,IfAsync:S,InlineIf:A,For:_,AsyncEach:P,AsyncAll:F,Macro:B,Caller:j,Import:L,FromImport:k,FunCall:T,Filter:N,FilterAsync:M,KeywordArgs:D,Block:V,Super:q,Extends:pe,Include:fe,Set:ee,Switch:oe,Case:U,LookupVal:C,BinOp:ze,In:ht,Is:R,Or:z,And:J,Not:H,Add:ne,Concat:K,Sub:Ae,Mul:ue,Div:Ne,FloorDiv:Nt,Mod:Vt,Pow:Ia,Neg:q_,Pos:X_,Compare:$_,CompareOperand:Y_,CallExtension:Nc,CallExtensionAsync:K_,printNodes:Ii}},function(e,t){},function(e,t,a){"use strict";function n(h,v){h.prototype=Object.create(v.prototype),h.prototype.constructor=h,i(h,v)}function i(h,v){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(E,g){return E.__proto__=g,E},i(h,v)}var r=a(8),o=a(17),s=a(3),l=a(0),u=l.TemplateError,c=a(2),f=c.Frame,p=a(1),b=p.Obj,d={"==":"==","===":"===","!=":"!=","!==":"!==","<":"<",">":">","<=":"<=",">=":">="},m=function(h){n(v,h);function v(){return h.apply(this,arguments)||this}var x=v.prototype;return x.init=function(g,w){this.templateName=g,this.codebuf=[],this.lastId=0,this.buffer=null,this.bufferStack=[],this._scopeClosers="",this.inBlock=!1,this.throwOnUndefined=w},x.fail=function(g,w,C){throw w!==void 0&&(w+=1),C!==void 0&&(C+=1),new u(g,w,C)},x._pushBuffer=function(){var g=this._tmpid();return this.bufferStack.push(this.buffer),this.buffer=g,this._emit("var "+this.buffer+' = "";'),g},x._popBuffer=function(){this.buffer=this.bufferStack.pop()},x._emit=function(g){this.codebuf.push(g)},x._emitLine=function(g){this._emit(g+`
|
||||||
|
`)},x._emitLines=function(){for(var g=this,w=arguments.length,C=new Array(w),y=0;y<w;y++)C[y]=arguments[y];C.forEach(function(S){return g._emitLine(S)})},x._emitFuncBegin=function(g,w){this.buffer="output",this._scopeClosers="",this._emitLine("function "+w+"(env, context, frame, runtime, cb) {"),this._emitLine("var lineno = "+g.lineno+";"),this._emitLine("var colno = "+g.colno+";"),this._emitLine("var "+this.buffer+' = "";'),this._emitLine("try {")},x._emitFuncEnd=function(g){g||this._emitLine("cb(null, "+this.buffer+");"),this._closeScopeLevels(),this._emitLine("} catch (e) {"),this._emitLine(" cb(runtime.handleError(e, lineno, colno));"),this._emitLine("}"),this._emitLine("}"),this.buffer=null},x._addScopeLevel=function(){this._scopeClosers+="})"},x._closeScopeLevels=function(){this._emitLine(this._scopeClosers+";"),this._scopeClosers=""},x._withScopedSyntax=function(g){var w=this._scopeClosers;this._scopeClosers="",g.call(this),this._closeScopeLevels(),this._scopeClosers=w},x._makeCallback=function(g){var w=this._tmpid();return"function("+w+(g?","+g:"")+`) {
|
||||||
|
if(`+w+") { cb("+w+"); return; }"},x._tmpid=function(){return this.lastId++,"t_"+this.lastId},x._templateName=function(){return this.templateName==null?"undefined":JSON.stringify(this.templateName)},x._compileChildren=function(g,w){var C=this;g.children.forEach(function(y){C.compile(y,w)})},x._compileAggregate=function(g,w,C,y){var S=this;C&&this._emit(C),g.children.forEach(function(A,_){_>0&&S._emit(","),S.compile(A,w)}),y&&this._emit(y)},x._compileExpression=function(g,w){this.assertType(g,s.Literal,s.Symbol,s.Group,s.Array,s.Dict,s.FunCall,s.Caller,s.Filter,s.LookupVal,s.Compare,s.InlineIf,s.In,s.Is,s.And,s.Or,s.Not,s.Add,s.Concat,s.Sub,s.Mul,s.Div,s.FloorDiv,s.Mod,s.Pow,s.Neg,s.Pos,s.Compare,s.NodeList),this.compile(g,w)},x.assertType=function(g){for(var w=arguments.length,C=new Array(w>1?w-1:0),y=1;y<w;y++)C[y-1]=arguments[y];C.some(function(S){return g instanceof S})||this.fail("assertType: invalid type: "+g.typename,g.lineno,g.colno)},x.compileCallExtension=function(g,w,C){var y=this,S=g.args,A=g.contentArgs,_=typeof g.autoescape=="boolean"?g.autoescape:!0;if(C||this._emit(this.buffer+" += runtime.suppressValue("),this._emit('env.getExtension("'+g.extName+'")["'+g.prop+'"]('),this._emit("context"),(S||A)&&this._emit(","),S&&(S instanceof s.NodeList||this.fail("compileCallExtension: arguments must be a NodeList, use `parser.parseSignature`"),S.children.forEach(function(F,B){y._compileExpression(F,w),(B!==S.children.length-1||A.length)&&y._emit(",")})),A.length&&A.forEach(function(F,B){if(B>0&&y._emit(","),F){y._emitLine("function(cb) {"),y._emitLine("if(!cb) { cb = function(err) { if(err) { throw err; }}}");var j=y._pushBuffer();y._withScopedSyntax(function(){y.compile(F,w),y._emitLine("cb(null, "+j+");")}),y._popBuffer(),y._emitLine("return "+j+";"),y._emitLine("}")}else y._emit("null")}),C){var P=this._tmpid();this._emitLine(", "+this._makeCallback(P)),this._emitLine(this.buffer+" += runtime.suppressValue("+P+", "+_+" && env.opts.autoescape);"),this._addScopeLevel()}else this._emit(")"),this._emit(", "+_+` && env.opts.autoescape);
|
||||||
|
`)},x.compileCallExtensionAsync=function(g,w){this.compileCallExtension(g,w,!0)},x.compileNodeList=function(g,w){this._compileChildren(g,w)},x.compileLiteral=function(g){if(typeof g.value=="string"){var w=g.value.replace(/\\/g,"\\\\");w=w.replace(/"/g,'\\"'),w=w.replace(/\n/g,"\\n"),w=w.replace(/\r/g,"\\r"),w=w.replace(/\t/g,"\\t"),w=w.replace(/\u2028/g,"\\u2028"),this._emit('"'+w+'"')}else g.value===null?this._emit("null"):this._emit(g.value.toString())},x.compileSymbol=function(g,w){var C=g.value,y=w.lookup(C);y?this._emit(y):this._emit('runtime.contextOrFrameLookup(context, frame, "'+C+'")')},x.compileGroup=function(g,w){this._compileAggregate(g,w,"(",")")},x.compileArray=function(g,w){this._compileAggregate(g,w,"[","]")},x.compileDict=function(g,w){this._compileAggregate(g,w,"{","}")},x.compilePair=function(g,w){var C=g.key,y=g.value;C instanceof s.Symbol?C=new s.Literal(C.lineno,C.colno,C.value):C instanceof s.Literal&&typeof C.value=="string"||this.fail("compilePair: Dict keys must be strings or names",C.lineno,C.colno),this.compile(C,w),this._emit(": "),this._compileExpression(y,w)},x.compileInlineIf=function(g,w){this._emit("("),this.compile(g.cond,w),this._emit("?"),this.compile(g.body,w),this._emit(":"),g.else_!==null?this.compile(g.else_,w):this._emit('""'),this._emit(")")},x.compileIn=function(g,w){this._emit("runtime.inOperator("),this.compile(g.left,w),this._emit(","),this.compile(g.right,w),this._emit(")")},x.compileIs=function(g,w){var C=g.right.name?g.right.name.value:g.right.value;this._emit('env.getTest("'+C+'").call(context, '),this.compile(g.left,w),g.right.args&&(this._emit(","),this.compile(g.right.args,w)),this._emit(") === true")},x._binOpEmitter=function(g,w,C){this.compile(g.left,w),this._emit(C),this.compile(g.right,w)},x.compileOr=function(g,w){return this._binOpEmitter(g,w," || ")},x.compileAnd=function(g,w){return this._binOpEmitter(g,w," && ")},x.compileAdd=function(g,w){return this._binOpEmitter(g,w," + ")},x.compileConcat=function(g,w){return this._binOpEmitter(g,w,' + "" + ')},x.compileSub=function(g,w){return this._binOpEmitter(g,w," - ")},x.compileMul=function(g,w){return this._binOpEmitter(g,w," * ")},x.compileDiv=function(g,w){return this._binOpEmitter(g,w," / ")},x.compileMod=function(g,w){return this._binOpEmitter(g,w," % ")},x.compileNot=function(g,w){this._emit("!"),this.compile(g.target,w)},x.compileFloorDiv=function(g,w){this._emit("Math.floor("),this.compile(g.left,w),this._emit(" / "),this.compile(g.right,w),this._emit(")")},x.compilePow=function(g,w){this._emit("Math.pow("),this.compile(g.left,w),this._emit(", "),this.compile(g.right,w),this._emit(")")},x.compileNeg=function(g,w){this._emit("-"),this.compile(g.target,w)},x.compilePos=function(g,w){this._emit("+"),this.compile(g.target,w)},x.compileCompare=function(g,w){var C=this;this.compile(g.expr,w),g.ops.forEach(function(y){C._emit(" "+d[y.type]+" "),C.compile(y.expr,w)})},x.compileLookupVal=function(g,w){this._emit("runtime.memberLookup(("),this._compileExpression(g.target,w),this._emit("),"),this._compileExpression(g.val,w),this._emit(")")},x._getNodeName=function(g){switch(g.typename){case"Symbol":return g.value;case"FunCall":return"the return value of ("+this._getNodeName(g.name)+")";case"LookupVal":return this._getNodeName(g.target)+'["'+this._getNodeName(g.val)+'"]';case"Literal":return g.value.toString();default:return"--expression--"}},x.compileFunCall=function(g,w){this._emit("(lineno = "+g.lineno+", colno = "+g.colno+", "),this._emit("runtime.callWrap("),this._compileExpression(g.name,w),this._emit(', "'+this._getNodeName(g.name).replace(/"/g,'\\"')+'", context, '),this._compileAggregate(g.args,w,"[","])"),this._emit(")")},x.compileFilter=function(g,w){var C=g.name;this.assertType(C,s.Symbol),this._emit('env.getFilter("'+C.value+'").call(context, '),this._compileAggregate(g.args,w),this._emit(")")},x.compileFilterAsync=function(g,w){var C=g.name,y=g.symbol.value;this.assertType(C,s.Symbol),w.set(y,y),this._emit('env.getFilter("'+C.value+'").call(context, '),this._compileAggregate(g.args,w),this._emitLine(", "+this._makeCallback(y)),this._addScopeLevel()},x.compileKeywordArgs=function(g,w){this._emit("runtime.makeKeywordArgs("),this.compileDict(g,w),this._emit(")")},x.compileSet=function(g,w){var C=this,y=[];g.targets.forEach(function(S){var A=S.value,_=w.lookup(A);_==null&&(_=C._tmpid(),C._emitLine("var "+_+";")),y.push(_)}),g.value?(this._emit(y.join(" = ")+" = "),this._compileExpression(g.value,w),this._emitLine(";")):(this._emit(y.join(" = ")+" = "),this.compile(g.body,w),this._emitLine(";")),g.targets.forEach(function(S,A){var _=y[A],P=S.value;C._emitLine('frame.set("'+P+'", '+_+", true);"),C._emitLine("if(frame.topLevel) {"),C._emitLine('context.setVariable("'+P+'", '+_+");"),C._emitLine("}"),P.charAt(0)!=="_"&&(C._emitLine("if(frame.topLevel) {"),C._emitLine('context.addExport("'+P+'", '+_+");"),C._emitLine("}"))})},x.compileSwitch=function(g,w){var C=this;this._emit("switch ("),this.compi
Line truncated
|
||||||
|
else {`),this._withScopedSyntax(function(){y.compile(g.else_,w),C&&y._emit("cb()")})):C&&(this._emitLine(`}
|
||||||
|
else {`),this._emit("cb()")),this._emitLine("}")},x.compileIfAsync=function(g,w){this._emit("(function(cb) {"),this.compileIf(g,w,!0),this._emit("})("+this._makeCallback()),this._addScopeLevel()},x._emitLoopBindings=function(g,w,C,y){var S=this,A=[{name:"index",val:C+" + 1"},{name:"index0",val:C},{name:"revindex",val:y+" - "+C},{name:"revindex0",val:y+" - "+C+" - 1"},{name:"first",val:C+" === 0"},{name:"last",val:C+" === "+y+" - 1"},{name:"length",val:y}];A.forEach(function(_){S._emitLine('frame.set("loop.'+_.name+'", '+_.val+");")})},x.compileFor=function(g,w){var C=this,y=this._tmpid(),S=this._tmpid(),A=this._tmpid();if(w=w.push(),this._emitLine("frame = frame.push();"),this._emit("var "+A+" = "),this._compileExpression(g.arr,w),this._emitLine(";"),this._emit("if("+A+") {"),this._emitLine(A+" = runtime.fromIterator("+A+");"),g.name instanceof s.Array){this._emitLine("var "+y+";"),this._emitLine("if(runtime.isArray("+A+")) {"),this._emitLine("var "+S+" = "+A+".length;"),this._emitLine("for("+y+"=0; "+y+" < "+A+".length; "+y+"++) {"),g.name.children.forEach(function(k,T){var N=C._tmpid();C._emitLine("var "+N+" = "+A+"["+y+"]["+T+"];"),C._emitLine('frame.set("'+k+'", '+A+"["+y+"]["+T+"]);"),w.set(g.name.children[T].value,N)}),this._emitLoopBindings(g,A,y,S),this._withScopedSyntax(function(){C.compile(g.body,w)}),this._emitLine("}"),this._emitLine("} else {");var _=g.name.children,P=_[0],F=_[1],B=this._tmpid(),j=this._tmpid();w.set(P.value,B),w.set(F.value,j),this._emitLine(y+" = -1;"),this._emitLine("var "+S+" = runtime.keys("+A+").length;"),this._emitLine("for(var "+B+" in "+A+") {"),this._emitLine(y+"++;"),this._emitLine("var "+j+" = "+A+"["+B+"];"),this._emitLine('frame.set("'+P.value+'", '+B+");"),this._emitLine('frame.set("'+F.value+'", '+j+");"),this._emitLoopBindings(g,A,y,S),this._withScopedSyntax(function(){C.compile(g.body,w)}),this._emitLine("}"),this._emitLine("}")}else{var L=this._tmpid();w.set(g.name.value,L),this._emitLine("var "+S+" = "+A+".length;"),this._emitLine("for(var "+y+"=0; "+y+" < "+A+".length; "+y+"++) {"),this._emitLine("var "+L+" = "+A+"["+y+"];"),this._emitLine('frame.set("'+g.name.value+'", '+L+");"),this._emitLoopBindings(g,A,y,S),this._withScopedSyntax(function(){C.compile(g.body,w)}),this._emitLine("}")}this._emitLine("}"),g.else_&&(this._emitLine("if (!"+S+") {"),this.compile(g.else_,w),this._emitLine("}")),this._emitLine("frame = frame.pop();")},x._compileAsyncLoop=function(g,w,C){var y=this,S=this._tmpid(),A=this._tmpid(),_=this._tmpid(),P=C?"asyncAll":"asyncEach";if(w=w.push(),this._emitLine("frame = frame.push();"),this._emit("var "+_+" = runtime.fromIterator("),this._compileExpression(g.arr,w),this._emitLine(");"),g.name instanceof s.Array){var F=g.name.children.length;this._emit("runtime."+P+"("+_+", "+F+", function("),g.name.children.forEach(function(L){y._emit(L.value+",")}),this._emit(S+","+A+",next) {"),g.name.children.forEach(function(L){var k=L.value;w.set(k,k),y._emitLine('frame.set("'+k+'", '+k+");")})}else{var B=g.name.value;this._emitLine("runtime."+P+"("+_+", 1, function("+B+", "+S+", "+A+",next) {"),this._emitLine('frame.set("'+B+'", '+B+");"),w.set(B,B)}this._emitLoopBindings(g,_,S,A),this._withScopedSyntax(function(){var L;C&&(L=y._pushBuffer()),y.compile(g.body,w),y._emitLine("next("+S+(L?","+L:"")+");"),C&&y._popBuffer()});var j=this._tmpid();this._emitLine("}, "+this._makeCallback(j)),this._addScopeLevel(),C&&this._emitLine(this.buffer+" += "+j+";"),g.else_&&(this._emitLine("if (!"+_+".length) {"),this.compile(g.else_,w),this._emitLine("}")),this._emitLine("frame = frame.pop();")},x.compileAsyncEach=function(g,w){this._compileAsyncLoop(g,w)},x.compileAsyncAll=function(g,w){this._compileAsyncLoop(g,w,!0)},x._compileMacro=function(g,w){var C=this,y=[],S=null,A="macro_"+this._tmpid(),_=w!==void 0;g.args.children.forEach(function(k,T){T===g.args.children.length-1&&k instanceof s.Dict?S=k:(C.assertType(k,s.Symbol),y.push(k))});var P=[].concat(y.map(function(k){return"l_"+k.value}),["kwargs"]),F=y.map(function(k){return'"'+k.value+'"'}),B=(S&&S.children||[]).map(function(k){return'"'+k.key.value+'"'}),j;_?j=w.push(!0):j=new f,this._emitLines("var "+A+" = runtime.makeMacro(","["+F.join(", ")+"], ","["+B.join(", ")+"], ","function ("+P.join(", ")+") {","var callerFrame = frame;","frame = "+(_?"frame.push(true);":"new runtime.Frame();"),"kwargs = kwargs || {};",'if (Object.prototype.hasOwnProperty.call(kwargs, "caller")) {','frame.set("caller", kwargs.caller); }'),y.forEach(function(k){C._emitLine('frame.set("'+k.value+'", l_'+k.value+");"),j.set(k.value,"l_"+k.value)}),S&&S.children.forEach(function(k){var T=k.key.value;C._emit('frame.set("'+T+'", '),C._emit('Object.prototype.hasOwnProperty.call(kwargs, "'+T+'")'),C._emit(' ? kwargs["'+T+'"] : '),C._compileExpression(k.value,j),C._emit(");")});var L=this._pushBuffer();return this._withScopedSyntax(function(){C.compile(g.body,j)}),this._emitLine("frame = "+(_?"frame.pop();":"callerFrame;")),this._emitLine("re
Line truncated
|
||||||
|
`))})},x.compileRoot=function(g,w){var C=this;w&&this.fail("compileRoot: root node can't have frame"),w=new f,this._emitFuncBegin(g,"root"),this._emitLine("var parentTemplate = null;"),this._compileChildren(g,w),this._emitLine("if(parentTemplate) {"),this._emitLine("parentTemplate.rootRenderFunc(env, context, frame, runtime, cb);"),this._emitLine("} else {"),this._emitLine("cb(null, "+this.buffer+");"),this._emitLine("}"),this._emitFuncEnd(!0),this.inBlock=!0;var y=[],S=g.findAll(s.Block);S.forEach(function(A,_){var P=A.name.value;if(y.indexOf(P)!==-1)throw new Error('Block "'+P+'" defined more than once.');y.push(P),C._emitFuncBegin(A,"b_"+P);var F=new f;C._emitLine("var frame = frame.push(true);"),C.compile(A.body,F),C._emitFuncEnd()}),this._emitLine("return {"),S.forEach(function(A,_){var P="b_"+A.name.value;C._emitLine(P+": "+P+",")}),this._emitLine(`root: root
|
||||||
|
};`)},x.compile=function(g,w){var C=this["compile"+g.typename];C?C.call(this,g,w):this.fail("compile: Cannot compile node: "+g.typename,g.lineno,g.colno)},x.getCode=function(){return this.codebuf.join("")},v}(b);e.exports={compile:function(v,x,E,g,w){w===void 0&&(w={});var C=new m(g,w.throwOnUndefined),y=(E||[]).map(function(A){return A.preprocess}).filter(function(A){return!!A}),S=y.reduce(function(A,_){return _(A)},v);return C.compile(o.transform(r.parse(S,E,w),x,g)),C.getCode()},Compiler:m}},function(e,t,a){"use strict";function n(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,i(l,u)}function i(l,u){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(f,p){return f.__proto__=p,f},i(l,u)}var r=a(4),o=a(1),s=o.EmitterObj;e.exports=function(l){n(u,l);function u(){return l.apply(this,arguments)||this}var c=u.prototype;return c.resolve=function(p,b){return r.resolve(r.dirname(p),b)},c.isRelative=function(p){return p.indexOf("./")===0||p.indexOf("../")===0},u}(s)},function(e,t,a){"use strict";function n(F,B){F.prototype=Object.create(B.prototype),F.prototype.constructor=F,i(F,B)}function i(F,B){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(L,k){return L.__proto__=k,L},i(F,B)}var r=a(12),o=a(15),s=a(0),l=a(5),u=a(18),c=a(10),f=c.FileSystemLoader,p=c.WebLoader,b=c.PrecompiledLoader,d=a(20),m=a(21),h=a(1),v=h.Obj,x=h.EmitterObj,E=a(2),g=E.handleError,w=E.Frame,C=a(22);function y(F,B,j){r(function(){F(B,j)})}var S={type:"code",obj:{root:function(B,j,L,k,T){try{T(null,"")}catch(N){T(g(N,null,null))}}}},A=function(F){n(B,F);function B(){return F.apply(this,arguments)||this}var j=B.prototype;return j.init=function(k,T){var N=this;T=this.opts=T||{},this.opts.dev=!!T.dev,this.opts.autoescape=T.autoescape!=null?T.autoescape:!0,this.opts.throwOnUndefined=!!T.throwOnUndefined,this.opts.trimBlocks=!!T.trimBlocks,this.opts.lstripBlocks=!!T.lstripBlocks,this.loaders=[],k?this.loaders=s.isArray(k)?k:[k]:f?this.loaders=[new f("views")]:p&&(this.loaders=[new p("/views")]),typeof window!="undefined"&&window.nunjucksPrecompiled&&this.loaders.unshift(new b(window.nunjucksPrecompiled)),this._initLoaders(),this.globals=m(),this.filters={},this.tests={},this.asyncFilters=[],this.extensions={},this.extensionsList=[],s._entries(u).forEach(function(M){var D=M[0],V=M[1];return N.addFilter(D,V)}),s._entries(d).forEach(function(M){var D=M[0],V=M[1];return N.addTest(D,V)})},j._initLoaders=function(){var k=this;this.loaders.forEach(function(T){T.cache={},typeof T.on=="function"&&(T.on("update",function(N,M){T.cache[N]=null,k.emit("update",N,M,T)}),T.on("load",function(N,M){k.emit("load",N,M,T)}))})},j.invalidateCache=function(){this.loaders.forEach(function(k){k.cache={}})},j.addExtension=function(k,T){return T.__name=k,this.extensions[k]=T,this.extensionsList.push(T),this},j.removeExtension=function(k){var T=this.getExtension(k);T&&(this.extensionsList=s.without(this.extensionsList,T),delete this.extensions[k])},j.getExtension=function(k){return this.extensions[k]},j.hasExtension=function(k){return!!this.extensions[k]},j.addGlobal=function(k,T){return this.globals[k]=T,this},j.getGlobal=function(k){if(typeof this.globals[k]=="undefined")throw new Error("global not found: "+k);return this.globals[k]},j.addFilter=function(k,T,N){var M=T;return N&&this.asyncFilters.push(k),this.filters[k]=M,this},j.getFilter=function(k){if(!this.filters[k])throw new Error("filter not found: "+k);return this.filters[k]},j.addTest=function(k,T){return this.tests[k]=T,this},j.getTest=function(k){if(!this.tests[k])throw new Error("test not found: "+k);return this.tests[k]},j.resolveTemplate=function(k,T,N){var M=k.isRelative&&T?k.isRelative(N):!1;return M&&k.resolve?k.resolve(T,N):N},j.getTemplate=function(k,T,N,M,D){var V=this,q=this,Z=null;if(k&&k.raw&&(k=k.raw),s.isFunction(N)&&(D=N,N=null,T=T||!1),s.isFunction(T)&&(D=T,T=!1),k instanceof P)Z=k;else{if(typeof k!="string")throw new Error("template names must be a string: "+k);for(var pe=0;pe<this.loaders.length;pe++){var fe=this.loaders[pe];if(Z=fe.cache[this.resolveTemplate(fe,N,k)],Z)break}}if(Z)if(T&&Z.compile(),D){D(null,Z);return}else return Z;var ee,oe=function(X,$){if(!$&&!X&&!M&&(X=new Error("template not found: "+k)),X)if(D){D(X);return}else throw X;var he;$?(he=new P($.src,V,$.path,T),$.noCache||($.loader.cache[k]=he)):he=new P(S,V,"",T),D?D(null,he):ee=he};return s.asyncIter(this.loaders,function(U,X,$,he){function qe(ze,ht){ze?he(ze):ht?(ht.loader=U,he(null,ht)):$()}k=q.resolveTemplate(U,N,k),U.async?U.getSource(k,qe):qe(null,U.getSource(k))},oe),ee},j.express=function(k){return C(this,k)},j.render=function(k,T,N){s.isFunction(T)&&(N=T,T=null);var M=null;return this.getTemplate(k,function(D,V){if(D&&N)y(N,D);else{if(D)throw D;M=V.render(T,N)}}),M},j.renderString=function(k,T,N,M){s.isFunction(N)&&(M=N,N={}),N=N||{};var D=new P(k,this,N.path);return D.render(T,M)},j.waterfall=function(k,T,N){return o(k,T,N)},B}(x),_=function(F){n(B,F);func
Line truncated
|
||||||
|
\r\xA0`,r="()[]{}%*-+~/#,:|.<>=!",o="0123456789",s="{%",l="%}",u="{{",c="}}",f="{#",p="#}",b="string",d="whitespace",m="data",h="block-start",v="block-end",x="variable-start",E="variable-end",g="comment",w="left-paren",C="right-paren",y="left-bracket",S="right-bracket",A="left-curly",_="right-curly",P="operator",F="comma",B="colon",j="tilde",L="pipe",k="int",T="float",N="boolean",M="none",D="symbol",V="special",q="regex";function Z(fe,ee,oe,U){return{type:fe,value:ee,lineno:oe,colno:U}}var pe=function(){function fe(oe,U){this.str=oe,this.index=0,this.len=oe.length,this.lineno=0,this.colno=0,this.in_code=!1,U=U||{};var X=U.tags||{};this.tags={BLOCK_START:X.blockStart||s,BLOCK_END:X.blockEnd||l,VARIABLE_START:X.variableStart||u,VARIABLE_END:X.variableEnd||c,COMMENT_START:X.commentStart||f,COMMENT_END:X.commentEnd||p},this.trimBlocks=!!U.trimBlocks,this.lstripBlocks=!!U.lstripBlocks}var ee=fe.prototype;return ee.nextToken=function(){var U=this.lineno,X=this.colno,$;if(this.in_code){var he=this.current();if(this.isFinished())return null;if(he==='"'||he==="'")return Z(b,this._parseString(he),U,X);if($=this._extract(i))return Z(d,$,U,X);if(($=this._extractString(this.tags.BLOCK_END))||($=this._extractString("-"+this.tags.BLOCK_END)))return this.in_code=!1,this.trimBlocks&&(he=this.current(),he===`
|
||||||
|
`?this.forward():he==="\r"&&(this.forward(),he=this.current(),he===`
|
||||||
|
`?this.forward():this.back())),Z(v,$,U,X);if(($=this._extractString(this.tags.VARIABLE_END))||($=this._extractString("-"+this.tags.VARIABLE_END)))return this.in_code=!1,Z(E,$,U,X);if(he==="r"&&this.str.charAt(this.index+1)==="/"){this.forwardN(2);for(var qe="";!this.isFinished();)if(this.current()==="/"&&this.previous()!=="\\"){this.forward();break}else qe+=this.current(),this.forward();for(var ze=["g","i","m","y"],ht="";!this.isFinished();){var R=ze.indexOf(this.current())!==-1;if(R)ht+=this.current(),this.forward();else break}return Z(q,{body:qe,flags:ht},U,X)}else if(r.indexOf(he)!==-1){this.forward();var z=["==","===","!=","!==","<=",">=","//","**"],J=he+this.current(),H;switch(n.indexOf(z,J)!==-1&&(this.forward(),he=J,n.indexOf(z,J+this.current())!==-1&&(he=J+this.current(),this.forward())),he){case"(":H=w;break;case")":H=C;break;case"[":H=y;break;case"]":H=S;break;case"{":H=A;break;case"}":H=_;break;case",":H=F;break;case":":H=B;break;case"~":H=j;break;case"|":H=L;break;default:H=P}return Z(H,he,U,X)}else if($=this._extractUntil(i+r),$.match(/^[-+]?[0-9]+$/))if(this.current()==="."){this.forward();var ne=this._extract(o);return Z(T,$+"."+ne,U,X)}else return Z(k,$,U,X);else{if($.match(/^(true|false)$/))return Z(N,$,U,X);if($==="none")return Z(M,$,U,X);if($==="null")return Z(M,$,U,X);if($)return Z(D,$,U,X);throw new Error("Unexpected value while parsing: "+$)}}else{var K=this.tags.BLOCK_START.charAt(0)+this.tags.VARIABLE_START.charAt(0)+this.tags.COMMENT_START.charAt(0)+this.tags.COMMENT_END.charAt(0);if(this.isFinished())return null;if(($=this._extractString(this.tags.BLOCK_START+"-"))||($=this._extractString(this.tags.BLOCK_START)))return this.in_code=!0,Z(h,$,U,X);if(($=this._extractString(this.tags.VARIABLE_START+"-"))||($=this._extractString(this.tags.VARIABLE_START)))return this.in_code=!0,Z(x,$,U,X);$="";var Ae,ue=!1;for(this._matches(this.tags.COMMENT_START)&&(ue=!0,$=this._extractString(this.tags.COMMENT_START));(Ae=this._extractUntil(K))!==null;)if($+=Ae,(this._matches(this.tags.BLOCK_START)||this._matches(this.tags.VARIABLE_START)||this._matches(this.tags.COMMENT_START))&&!ue){if(this.lstripBlocks&&this._matches(this.tags.BLOCK_START)&&this.colno>0&&this.colno<=$.length){var Ne=$.slice(-this.colno);if(/^\s+$/.test(Ne)&&($=$.slice(0,-this.colno),!$.length))return this.nextToken()}break}else if(this._matches(this.tags.COMMENT_END)){if(!ue)throw new Error("unexpected end of comment");$+=this._extractString(this.tags.COMMENT_END);break}else $+=this.current(),this.forward();if(Ae===null&&ue)throw new Error("expected end of comment, got end of file");return Z(ue?g:m,$,U,X)}},ee._parseString=function(U){this.forward();for(var X="";!this.isFinished()&&this.current()!==U;){var $=this.current();if($==="\\"){switch(this.forward(),this.current()){case"n":X+=`
|
||||||
|
`;break;case"t":X+=" ";break;case"r":X+="\r";break;default:X+=this.current()}this.forward()}else X+=$,this.forward()}return this.forward(),X},ee._matches=function(U){if(this.index+U.length>this.len)return null;var X=this.str.slice(this.index,this.index+U.length);return X===U},ee._extractString=function(U){return this._matches(U)?(this.forwardN(U.length),U):null},ee._extractUntil=function(U){return this._extractMatching(!0,U||"")},ee._extract=function(U){return this._extractMatching(!1,U)},ee._extractMatching=function(U,X){if(this.isFinished())return null;var $=X.indexOf(this.current());if(U&&$===-1||!U&&$!==-1){var he=this.current();this.forward();for(var qe=X.indexOf(this.current());(U&&qe===-1||!U&&qe!==-1)&&!this.isFinished();)he+=this.current(),this.forward(),qe=X.indexOf(this.current());return he}return""},ee._extractRegex=function(U){var X=this.currentStr().match(U);return X?(this.forwardN(X[0].length),X):null},ee.isFinished=function(){return this.index>=this.len},ee.forwardN=function(U){for(var X=0;X<U;X++)this.forward()},ee.forward=function(){this.index++,this.previous()===`
|
||||||
|
`?(this.lineno++,this.colno=0):this.colno++},ee.backN=function(U){for(var X=0;X<U;X++)this.back()},ee.back=function(){if(this.index--,this.current()===`
|
||||||
|
`){this.lineno--;var U=this.src.lastIndexOf(`
|
||||||
|
`,this.index-1);U===-1?this.colno=this.index:this.colno=this.index-U}else this.colno--},ee.current=function(){return this.isFinished()?"":this.str.charAt(this.index)},ee.currentStr=function(){return this.isFinished()?"":this.str.substr(this.index)},ee.previous=function(){return this.str.charAt(this.index-1)},fe}();e.exports={lex:function(ee,oe){return new pe(ee,oe)},TOKEN_STRING:b,TOKEN_WHITESPACE:d,TOKEN_DATA:m,TOKEN_BLOCK_START:h,TOKEN_BLOCK_END:v,TOKEN_VARIABLE_START:x,TOKEN_VARIABLE_END:E,TOKEN_COMMENT:g,TOKEN_LEFT_PAREN:w,TOKEN_RIGHT_PAREN:C,TOKEN_LEFT_BRACKET:y,TOKEN_RIGHT_BRACKET:S,TOKEN_LEFT_CURLY:A,TOKEN_RIGHT_CURLY:_,TOKEN_OPERATOR:P,TOKEN_COMMA:F,TOKEN_COLON:B,TOKEN_TILDE:j,TOKEN_PIPE:L,TOKEN_INT:k,TOKEN_FLOAT:T,TOKEN_BOOLEAN:N,TOKEN_NONE:M,TOKEN_SYMBOL:D,TOKEN_SPECIAL:V,TOKEN_REGEX:q}},function(e,t,a){"use strict";function n(u,c){u.prototype=Object.create(c.prototype),u.prototype.constructor=u,i(u,c)}function i(u,c){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,b){return p.__proto__=b,p},i(u,c)}var r=a(6),o=a(19),s=o.PrecompiledLoader,l=function(u){n(c,u);function c(p,b){var d;return d=u.call(this)||this,d.baseURL=p||".",b=b||{},d.useCache=!!b.useCache,d.async=!!b.async,d}var f=c.prototype;return f.resolve=function(b,d){throw new Error("relative templates not support in the browser yet")},f.getSource=function(b,d){var m=this,h=this.useCache,v;return this.fetch(this.baseURL+"/"+b,function(x,E){if(x)if(d)d(x.content);else if(x.status===404)v=null;else throw x.content;else v={src:E,path:b,noCache:!h},m.emit("load",b,v),d&&d(null,v)}),v},f.fetch=function(b,d){if(typeof window=="undefined")throw new Error("WebLoader can only by used in a browser");var m=new XMLHttpRequest,h=!0;m.onreadystatechange=function(){m.readyState===4&&h&&(h=!1,m.status===0||m.status===200?d(null,m.responseText):d({status:m.status,content:m.responseText}))},b+=(b.indexOf("?")===-1?"?":"&")+"s="+new Date().getTime(),m.open("GET",b,this.async),m.send()},c}(r);e.exports={WebLoader:l,PrecompiledLoader:s}},function(e,t,a){"use strict";var n=a(0),i=a(7),r=i.Environment,o=i.Template,s=a(6),l=a(10),u=a(23),c=a(5),f=a(8),p=a(9),b=a(2),d=a(3),m=a(25),h;function v(x,E){E=E||{},n.isObject(x)&&(E=x,x=null);var g;return l.FileSystemLoader?g=new l.FileSystemLoader(x,{watch:E.watch,noCache:E.noCache}):l.WebLoader&&(g=new l.WebLoader(x,{useCache:E.web&&E.web.useCache,async:E.web&&E.web.async})),h=new r(g,E),E&&E.express&&h.express(E.express),h}e.exports={Environment:r,Template:o,Loader:s,FileSystemLoader:l.FileSystemLoader,NodeResolveLoader:l.NodeResolveLoader,PrecompiledLoader:l.PrecompiledLoader,WebLoader:l.WebLoader,compiler:c,parser:f,lexer:p,runtime:b,lib:n,nodes:d,installJinjaCompat:m,configure:v,reset:function(){h=void 0},compile:function(E,g,w,C){return h||v(),new o(E,g,w,C)},render:function(E,g,w){return h||v(),h.render(E,g,w)},renderString:function(E,g,w){return h||v(),h.renderString(E,g,w)},precompile:u?u.precompile:void 0,precompileString:u?u.precompileString:void 0}},function(e,t,a){"use strict";var n=a(13),i=[],r=[],o=n.makeRequestCallFromTimer(s);function s(){if(r.length)throw r.shift()}e.exports=l;function l(c){var f;i.length?f=i.pop():f=new u,f.task=c,n(f)}function u(){this.task=null}u.prototype.call=function(){try{this.task.call()}catch(c){l.onerror?l.onerror(c):(r.push(c),o())}finally{this.task=null,i[i.length]=this}}},function(e,t,a){"use strict";(function(n){e.exports=i;function i(m){r.length||(s(),o=!0),r[r.length]=m}var r=[],o=!1,s,l=0,u=1024;function c(){for(;l<r.length;){var m=l;if(l=l+1,r[m].call(),l>u){for(var h=0,v=r.length-l;h<v;h++)r[h]=r[h+l];r.length-=l,l=0}}r.length=0,l=0,o=!1}var f=typeof n!="undefined"?n:self,p=f.MutationObserver||f.WebKitMutationObserver;typeof p=="function"?s=b(c):s=d(c),i.requestFlush=s;function b(m){var h=1,v=new p(m),x=document.createTextNode("");return v.observe(x,{characterData:!0}),function(){h=-h,x.data=h}}function d(m){return function(){var v=setTimeout(E,0),x=setInterval(E,50);function E(){clearTimeout(v),clearInterval(x),m()}}}i.makeRequestCallFromTimer=d}).call(t,a(14))},function(e,t){var a;a=function(){return this}();try{a=a||Function("return this")()||(0,eval)("this")}catch(n){typeof window=="object"&&(a=window)}e.exports=a},function(e,t,a){var n,i;(function(r){"use strict";var o=function(){var f=Array.prototype.slice.call(arguments);typeof f[0]=="function"&&f[0].apply(null,f.splice(1))},s=function(f){typeof setImmediate=="function"?setImmediate(f):typeof process!="undefined"&&process.nextTick?process.nextTick(f):setTimeout(f,0)},l=function(f){var p=function(b){var d=function(){return f.length&&f[b].apply(null,arguments),d.next()};return d.next=function(){return b<f.length-1?p(b+1):null},d};return p(0)},u=Array.isArray||function(f){return Object.prototype.toString.call(f)==="[object Array]"},c=function(f,p,b){var d=b?s:o;if(p=p||function(){},!u(f)){var m=new Error("First argument to waterfall must be an array of functions");return p(m)}if(!f.length)ret
Line truncated
|
||||||
|
`),ne=n.repeat(" ",z),K=H.map(function(Ae,ue){return ue===0&&!J?Ae:""+ne+Ae}).join(`
|
||||||
|
`);return i.copySafeness(R,K)}r.indent=E;function g(R,z,J){return z=z||"",J&&(R=n.map(R,function(H){return H[J]})),R.join(z)}r.join=g;function w(R){return R[R.length-1]}r.last=w;function C(R){var z=o(R,"");return z!==void 0?typeof Map=="function"&&z instanceof Map||typeof Set=="function"&&z instanceof Set?z.size:n.isObject(z)&&!(z instanceof i.SafeString)?n.keys(z).length:z.length:0}r.length=C;function y(R){if(n.isString(R))return R.split("");if(n.isObject(R))return n._entries(R||{}).map(function(z){var J=z[0],H=z[1];return{key:J,value:H}});if(n.isArray(R))return R;throw new n.TemplateError("list filter: type not iterable")}r.list=y;function S(R){return R=o(R,""),R.toLowerCase()}r.lower=S;function A(R){return R==null?"":i.copySafeness(R,R.replace(/\r\n|\n/g,`<br />
|
||||||
|
`))}r.nl2br=A;function _(R){return R[Math.floor(Math.random()*R.length)]}r.random=_;function P(R){function z(J,H,ne){H===void 0&&(H="truthy");var K=this,Ae=K.env.getTest(H);return n.toArray(J).filter(function(Ne){return Ae.call(K,Ne,ne)===R})}return z}r.reject=P(!1);function F(R,z){return R.filter(function(J){return!J[z]})}r.rejectattr=F,r.select=P(!0);function B(R,z){return R.filter(function(J){return!!J[z]})}r.selectattr=B;function j(R,z,J,H){var ne=R;if(z instanceof RegExp)return R.replace(z,J);typeof H=="undefined"&&(H=-1);var K="";if(typeof z=="number")z=""+z;else if(typeof z!="string")return R;if(typeof R=="number"&&(R=""+R),typeof R!="string"&&!(R instanceof i.SafeString))return R;if(z==="")return K=J+R.split("").join(J)+J,i.copySafeness(R,K);var Ae=R.indexOf(z);if(H===0||Ae===-1)return R;for(var ue=0,Ne=0;Ae>-1&&(H===-1||Ne<H);)K+=R.substring(ue,Ae)+J,ue=Ae+z.length,Ne++,Ae=R.indexOf(z,ue);return ue<R.length&&(K+=R.substring(ue)),i.copySafeness(ne,K)}r.replace=j;function L(R){var z;return n.isString(R)?z=y(R):z=n.map(R,function(J){return J}),z.reverse(),n.isString(R)?i.copySafeness(R,z.join("")):z}r.reverse=L;function k(R,z,J){z=z||0;var H=Math.pow(10,z),ne;return J==="ceil"?ne=Math.ceil:J==="floor"?ne=Math.floor:ne=Math.round,ne(R*H)/H}r.round=k;function T(R,z,J){for(var H=Math.floor(R.length/z),ne=R.length%z,K=[],Ae=0,ue=0;ue<z;ue++){var Ne=Ae+ue*H;ue<ne&&Ae++;var Nt=Ae+(ue+1)*H,Vt=R.slice(Ne,Nt);J&&ue>=ne&&Vt.push(J),K.push(Vt)}return K}r.slice=T;function N(R,z,J){return J===void 0&&(J=0),z&&(R=n.map(R,function(H){return H[z]})),J+R.reduce(function(H,ne){return H+ne},0)}r.sum=N,r.sort=i.makeMacro(["value","reverse","case_sensitive","attribute"],[],function(z,J,H,ne){var K=this,Ae=n.map(z,function(Ne){return Ne}),ue=n.getAttrGetter(ne);return Ae.sort(function(Ne,Nt){var Vt=ne?ue(Ne):Ne,Ia=ne?ue(Nt):Nt;if(K.env.opts.throwOnUndefined&&ne&&(Vt===void 0||Ia===void 0))throw new TypeError('sort: attribute "'+ne+'" resolved to undefined');return!H&&n.isString(Vt)&&n.isString(Ia)&&(Vt=Vt.toLowerCase(),Ia=Ia.toLowerCase()),Vt<Ia?J?1:-1:Vt>Ia?J?-1:1:0}),Ae});function M(R){return i.copySafeness(R,R)}r.string=M;function D(R,z){R=o(R,"");var J=/<\/?([a-z][a-z0-9]*)\b[^>]*>|<!--[\s\S]*?-->/gi,H=q(R.replace(J,"")),ne="";return z?ne=H.replace(/^ +| +$/gm,"").replace(/ +/g," ").replace(/(\r\n)/g,`
|
||||||
|
`).replace(/\n\n\n+/g,`
|
||||||
|
|
||||||
|
`):ne=H.replace(/\s+/gi," "),i.copySafeness(R,ne)}r.striptags=D;function V(R){R=o(R,"");var z=R.split(" ").map(function(J){return u(J)});return i.copySafeness(R,z.join(" "))}r.title=V;function q(R){return i.copySafeness(R,R.replace(/^\s*|\s*$/g,""))}r.trim=q;function Z(R,z,J,H){var ne=R;if(R=o(R,""),z=z||255,R.length<=z)return R;if(J)R=R.substring(0,z);else{var K=R.lastIndexOf(" ",z);K===-1&&(K=z),R=R.substring(0,K)}return R+=H!=null?H:"...",i.copySafeness(ne,R)}r.truncate=Z;function pe(R){return R=o(R,""),R.toUpperCase()}r.upper=pe;function fe(R){var z=encodeURIComponent;if(n.isString(R))return z(R);var J=n.isArray(R)?R:n._entries(R);return J.map(function(H){var ne=H[0],K=H[1];return z(ne)+"="+z(K)}).join("&")}r.urlencode=fe;var ee=/^(?:\(|<|<)?(.*?)(?:\.|,|\)|\n|>)?$/,oe=/^[\w.!#$%&'*+\-\/=?\^`{|}~]+@[a-z\d\-]+(\.[a-z\d\-]+)+$/i,U=/^https?:\/\/.*$/,X=/^www\./,$=/\.(?:org|net|com)(?:\:|\/|$)/;function he(R,z,J){s(z)&&(z=1/0);var H=J===!0?' rel="nofollow"':"",ne=R.split(/(\s+)/).filter(function(K){return K&&K.length}).map(function(K){var Ae=K.match(ee),ue=Ae?Ae[1]:K,Ne=ue.substr(0,z);return U.test(ue)?'<a href="'+ue+'"'+H+">"+Ne+"</a>":X.test(ue)?'<a href="http://'+ue+'"'+H+">"+Ne+"</a>":oe.test(ue)?'<a href="mailto:'+ue+'">'+ue+"</a>":$.test(ue)?'<a href="http://'+ue+'"'+H+">"+Ne+"</a>":K});return ne.join("")}r.urlize=he;function qe(R){R=o(R,"");var z=R?R.match(/\w+/g):null;return z?z.length:null}r.wordcount=qe;function ze(R,z){var J=parseFloat(R);return s(J)?z:J}r.float=ze;var ht=i.makeMacro(["value","default","base"],[],function(z,J,H){H===void 0&&(H=10);var ne=parseInt(z,H);return s(ne)?J:ne});r.int=ht,r.d=r.default,r.e=r.escape},function(e,t,a){"use strict";function n(s,l){s.prototype=Object.create(l.prototype),s.prototype.constructor=s,i(s,l)}function i(s,l){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,f){return c.__proto__=f,c},i(s,l)}var r=a(6),o=function(s){n(l,s);function l(c){var f;return f=s.call(this)||this,f.precompiled=c||{},f}var u=l.prototype;return u.getSource=function(f){return this.precompiled[f]?{src:{type:"code",obj:this.precompiled[f]},path:f}:null},l}(r);e.exports={PrecompiledLoader:o}},function(e,t,a){"use strict";var n=a(2).SafeString;function i(_){return typeof _=="function"}t.callable=i;function r(_){return _!==void 0}t.defined=r;function o(_,P){return _%P===0}t.divisibleby=o;function s(_){return _ instanceof n}t.escaped=s;function l(_,P){return _===P}t.equalto=l,t.eq=t.equalto,t.sameas=t.equalto;function u(_){return _%2===0}t.even=u;function c(_){return!_}t.falsy=c;function f(_,P){return _>=P}t.ge=f;function p(_,P){return _>P}t.greaterthan=p,t.gt=t.greaterthan;function b(_,P){return _<=P}t.le=b;function d(_,P){return _<P}t.lessthan=d,t.lt=t.lessthan;function m(_){return _.toLowerCase()===_}t.lower=m;function h(_,P){return _!==P}t.ne=h;function v(_){return _===null}t.null=v;function x(_){return typeof _=="number"}t.number=x;function E(_){return _%2===1}t.odd=E;function g(_){return typeof _=="string"}t.string=g;function w(_){return!!_}t.truthy=w;function C(_){return _===void 0}t.undefined=C;function y(_){return _.toUpperCase()===_}t.upper=y;function S(_){return typeof Symbol!="undefined"?!!_[Symbol.iterator]:Array.isArray(_)||typeof _=="string"}t.iterable=S;function A(_){var P=_!=null&&typeof _=="object"&&!Array.isArray(_);return Set?P&&!(_ instanceof Set):P}t.mapping=A},function(e,t,a){"use strict";function n(o){var s=-1;return{current:null,reset:function(){s=-1,this.current=null},next:function(){return s++,s>=o.length&&(s=0),this.current=o[s],this.current}}}function i(o){o=o||",";var s=!0;return function(){var l=s?"":o;return s=!1,l}}function r(){return{range:function(s,l,u){typeof l=="undefined"?(l=s,s=0,u=1):u||(u=1);var c=[];if(u>0)for(var f=s;f<l;f+=u)c.push(f);else for(var p=s;p>l;p+=u)c.push(p);return c},cycler:function(){return n(Array.prototype.slice.call(arguments))},joiner:function(s){return i(s)}}}e.exports=r},function(e,t,a){var n=a(4);e.exports=function(r,o){function s(l,u){if(this.name=l,this.path=l,this.defaultEngine=u.defaultEngine,this.ext=n.extname(l),!this.ext&&!this.defaultEngine)throw new Error("No default engine was specified and no extension was provided.");this.ext||(this.name+=this.ext=(this.defaultEngine[0]!=="."?".":"")+this.defaultEngine)}return s.prototype.render=function(u,c){r.render(this.name,u,c)},o.set("view",s),o.set("nunjucksEnv",r),r}},function(e,t,a){"use strict";var n=a(4),i=a(4),r=a(0),o=r._prettifyError,s=a(5),l=a(7),u=l.Environment,c=a(24);function f(m,h){return Array.isArray(h)?h.some(function(v){return m.match(v)}):!1}function p(m,h){h=h||{},h.isString=!0;var v=h.env||new u([]),x=h.wrapper||c;if(!h.name)throw new Error('the "name" option is required when compiling a string');return x([d(m,h.name,v)],h)}function b(m,h){h=h||{};var v=h.env||new u([]),x=h.wrapper||c;if(h.isString)return p(m,h);var E=n.existsSync(m)&&n.statSync(m),g=[],w=[];function C(A){n.readdirSync(A).forEach(function(_){var P=i.join(A,_Line truncated
|
||||||
|
`+u+`
|
||||||
|
})();
|
||||||
|
`,r.asFunction&&(o+="return function(ctx, cb) { return nunjucks.render("+l+`, ctx, cb); }
|
||||||
|
`),o+=`})();
|
||||||
|
`}return o}e.exports=n},function(e,t,a){function n(){"use strict";var i=this.runtime,r=this.lib,o=this.compiler.Compiler,s=this.parser.Parser,l=this.nodes,u=this.lexer,c=i.contextOrFrameLookup,f=i.memberLookup,p,b;o&&(p=o.prototype.assertType),s&&(b=s.prototype.parseAggregate);function d(){i.contextOrFrameLookup=c,i.memberLookup=f,o&&(o.prototype.assertType=p),s&&(s.prototype.parseAggregate=b)}i.contextOrFrameLookup=function(C,y,S){var A=c.apply(this,arguments);if(A!==void 0)return A;switch(S){case"True":return!0;case"False":return!1;case"None":return null;default:return}};function m(w){return{index:w.index,lineno:w.lineno,colno:w.colno}}if(l&&o&&s){var h=l.Node.extend("Slice",{fields:["start","stop","step"],init:function(C,y,S,A,_){S=S||new l.Literal(C,y,null),A=A||new l.Literal(C,y,null),_=_||new l.Literal(C,y,1),this.parent(C,y,S,A,_)}});o.prototype.assertType=function(C){C instanceof h||p.apply(this,arguments)},o.prototype.compileSlice=function(C,y){this._emit("("),this._compileExpression(C.start,y),this._emit("),("),this._compileExpression(C.stop,y),this._emit("),("),this._compileExpression(C.step,y),this._emit(")")},s.prototype.parseAggregate=function(){var C=this,y=m(this.tokens);y.colno--,y.index--;try{return b.apply(this)}catch(L){var S=m(this.tokens),A=function(){return r._assign(C.tokens,S),L};r._assign(this.tokens,y),this.peeked=!1;var _=this.peekToken();if(_.type!==u.TOKEN_LEFT_BRACKET)throw A();this.nextToken();for(var P=new h(_.lineno,_.colno),F=!1,B=0;B<=P.fields.length&&!this.skip(u.TOKEN_RIGHT_BRACKET);B++){if(B===P.fields.length)if(F)this.fail("parseSlice: too many slice components",_.lineno,_.colno);else break;if(this.skip(u.TOKEN_COLON))F=!0;else{var j=P.fields[B];P[j]=this.parseExpression(),F=this.skip(u.TOKEN_COLON)||F}}if(!F)throw A();return new l.Array(_.lineno,_.colno,[P])}}}function v(w,C,y,S){w=w||[],C===null&&(C=S<0?w.length-1:0),y===null?y=S<0?-1:w.length:y<0&&(y+=w.length),C<0&&(C+=w.length);for(var A=[],_=C;!(_<0||_>w.length||S>0&&_>=y||S<0&&_<=y);_+=S)A.push(i.memberLookup(w,_));return A}function x(w,C){return Object.prototype.hasOwnProperty.call(w,C)}var E={pop:function(C){if(C===void 0)return this.pop();if(C>=this.length||C<0)throw new Error("KeyError");return this.splice(C,1)},append:function(C){return this.push(C)},remove:function(C){for(var y=0;y<this.length;y++)if(this[y]===C)return this.splice(y,1);throw new Error("ValueError")},count:function(C){for(var y=0,S=0;S<this.length;S++)this[S]===C&&y++;return y},index:function(C){var y;if((y=this.indexOf(C))===-1)throw new Error("ValueError");return y},find:function(C){return this.indexOf(C)},insert:function(C,y){return this.splice(C,0,y)}},g={items:function(){return r._entries(this)},values:function(){return r._values(this)},keys:function(){return r.keys(this)},get:function(C,y){var S=this[C];return S===void 0&&(S=y),S},has_key:function(C){return x(this,C)},pop:function(C,y){var S=this[C];if(S===void 0&&y!==void 0)S=y;else{if(S===void 0)throw new Error("KeyError");delete this[C]}return S},popitem:function(){var C=r.keys(this);if(!C.length)throw new Error("KeyError");var y=C[0],S=this[y];return delete this[y],[y,S]},setdefault:function(C,y){return y===void 0&&(y=null),C in this||(this[C]=y),this[C]},update:function(C){return r._assign(this,C),null}};return g.iteritems=g.items,g.itervalues=g.values,g.iterkeys=g.keys,i.memberLookup=function(C,y,S){return arguments.length===4?v.apply(this,arguments):(C=C||{},r.isArray(C)&&x(E,y)?E[y].bind(C):r.isObject(C)&&x(g,y)?g[y].bind(C):f.apply(this,arguments))},d}e.exports=n}])})});var Bs=O((Sp,ey)=>{var Rs=require("buffer"),ea=Rs.Buffer;function Qx(e,t){for(var a in e)t[a]=e[a]}ea.from&&ea.alloc&&ea.allocUnsafe&&ea.allocUnsafeSlow?ey.exports=Rs:(Qx(Rs,Sp),Sp.Buffer=pn);function pn(e,t,a){return ea(e,t,a)}pn.prototype=Object.create(ea.prototype);Qx(ea,pn);pn.from=function(e,t,a){if(typeof e=="number")throw new TypeError("Argument must not be a number");return ea(e,t,a)};pn.alloc=function(e,t,a){if(typeof e!="number")throw new TypeError("Argument must be a number");var n=ea(e);return t!==void 0?typeof a=="string"?n.fill(t,a):n.fill(t):n.fill(0),n};pn.allocUnsafe=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return ea(e)};pn.allocUnsafeSlow=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return Rs.SlowBuffer(e)}});var oy=O((JG,Cp)=>{"use strict";Cp.exports=VO;Cp.exports.parse=qO;var ty=require("path").basename,BO=Bs().Buffer,NO=/[\x00-\x20"'()*,/:;<=>?@[\\\]{}\x7f]/g,jO=/%[0-9A-Fa-f]{2}/,LO=/%([0-9A-Fa-f]{2})/g,ny=/[^\x20-\x7e\xa0-\xff]/g,MO=/\\([\u0000-\u007f])/g,DO=/([\\"])/g,ay=/;[\x09\x20]*([!#$%&'*+.0-9A-Z^_`a-z|~-]+)[\x09\x20]*=[\x09\x20]*("(?:[\x20!\x23-\x5b\x5d-\x7e\x80-\xff]|\\[\x20-\x7e])*"|[!#$%&'*+.0-9A-Z^_`a-z|~-]+)[\x09\x20]*/g,zO=/^[\x20-\x7e\x80-\xff]+$/,GO=/^[!#$%&'*+.0-9A-Z^_`a-z|~-]+$/,HO=/^([A-Za-z0-9!#$%&+\-^_`{}~]+)'(?:[A-Za-z]{2,3}(?:-[A-Za-z]{3}){0,3}|[A-Za-z]{4,8}|)'((?:%[0-9A-Fa-f]{2}|[A-Za-Line truncated
|
||||||
|
GFS4: `),console.error(e)});We[ct]||(gy=global[ct]||[],yy(We,gy),We.close=function(e){function t(a,n){return e.call(We,a,function(i){i||xy(),typeof n=="function"&&n.apply(this,arguments)})}return Object.defineProperty(t,Ms,{value:e}),t}(We.close),We.closeSync=function(e){function t(a){e.apply(We,arguments),xy()}return Object.defineProperty(t,Ms,{value:e}),t}(We.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&process.on("exit",function(){dn(We[ct]),require("assert").equal(We[ct].length,0)}));var gy;global[ct]||yy(global,We[ct]);Tp.exports=Ip(c3(We));process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!We.__patched&&(Tp.exports=Ip(We),We.__patched=!0);function Ip(e){s3(e),e.gracefulify=Ip,e.createReadStream=w,e.createWriteStream=C;var t=e.readFile;e.readFile=a;function a(A,_,P){return typeof _=="function"&&(P=_,_=null),F(A,_,P);function F(B,j,L,k){return t(B,j,function(T){T&&(T.code==="EMFILE"||T.code==="ENFILE")?Jn([F,[B,j,L],T,k||Date.now(),Date.now()]):typeof L=="function"&&L.apply(this,arguments)})}}var n=e.writeFile;e.writeFile=i;function i(A,_,P,F){return typeof P=="function"&&(F=P,P=null),B(A,_,P,F);function B(j,L,k,T,N){return n(j,L,k,function(M){M&&(M.code==="EMFILE"||M.code==="ENFILE")?Jn([B,[j,L,k,T],M,N||Date.now(),Date.now()]):typeof T=="function"&&T.apply(this,arguments)})}}var r=e.appendFile;r&&(e.appendFile=o);function o(A,_,P,F){return typeof P=="function"&&(F=P,P=null),B(A,_,P,F);function B(j,L,k,T,N){return r(j,L,k,function(M){M&&(M.code==="EMFILE"||M.code==="ENFILE")?Jn([B,[j,L,k,T],M,N||Date.now(),Date.now()]):typeof T=="function"&&T.apply(this,arguments)})}}var s=e.copyFile;s&&(e.copyFile=l);function l(A,_,P,F){return typeof P=="function"&&(F=P,P=0),B(A,_,P,F);function B(j,L,k,T,N){return s(j,L,k,function(M){M&&(M.code==="EMFILE"||M.code==="ENFILE")?Jn([B,[j,L,k,T],M,N||Date.now(),Date.now()]):typeof T=="function"&&T.apply(this,arguments)})}}var u=e.readdir;e.readdir=f;var c=/^v[0-5]\./;function f(A,_,P){typeof _=="function"&&(P=_,_=null);var F=c.test(process.version)?function(L,k,T,N){return u(L,B(L,k,T,N))}:function(L,k,T,N){return u(L,k,B(L,k,T,N))};return F(A,_,P);function B(j,L,k,T){return function(N,M){N&&(N.code==="EMFILE"||N.code==="ENFILE")?Jn([F,[j,L,k],N,T||Date.now(),Date.now()]):(M&&M.sort&&M.sort(),typeof k=="function"&&k.call(this,N,M))}}}if(process.version.substr(0,4)==="v0.8"){var p=l3(e);v=p.ReadStream,E=p.WriteStream}var b=e.ReadStream;b&&(v.prototype=Object.create(b.prototype),v.prototype.open=x);var d=e.WriteStream;d&&(E.prototype=Object.create(d.prototype),E.prototype.open=g),Object.defineProperty(e,"ReadStream",{get:function(){return v},set:function(A){v=A},enumerable:!0,configurable:!0}),Object.defineProperty(e,"WriteStream",{get:function(){return E},set:function(A){E=A},enumerable:!0,configurable:!0});var m=v;Object.defineProperty(e,"FileReadStream",{get:function(){return m},set:function(A){m=A},enumerable:!0,configurable:!0});var h=E;Object.defineProperty(e,"FileWriteStream",{get:function(){return h},set:function(A){h=A},enumerable:!0,configurable:!0});function v(A,_){return this instanceof v?(b.apply(this,arguments),this):v.apply(Object.create(v.prototype),arguments)}function x(){var A=this;S(A.path,A.flags,A.mode,function(_,P){_?(A.autoClose&&A.destroy(),A.emit("error",_)):(A.fd=P,A.emit("open",P),A.read())})}function E(A,_){return this instanceof E?(d.apply(this,arguments),this):E.apply(Object.create(E.prototype),arguments)}function g(){var A=this;S(A.path,A.flags,A.mode,function(_,P){_?(A.destroy(),A.emit("error",_)):(A.fd=P,A.emit("open",P))})}function w(A,_){return new e.ReadStream(A,_)}function C(A,_){return new e.WriteStream(A,_)}var y=e.open;e.open=S;function S(A,_,P,F){return typeof P=="function"&&(F=P,P=null),B(A,_,P,F);function B(j,L,k,T,N){return y(j,L,k,function(M,D){M&&(M.code==="EMFILE"||M.code==="ENFILE")?Jn([B,[j,L,k,T],M,N||Date.now(),Date.now()]):typeof T=="function"&&T.apply(this,arguments)})}}return e}function Jn(e){dn("ENQUEUE",e[0].name,e[1]),We[ct].push(e),_p()}var Ls;function xy(){for(var e=Date.now(),t=0;t<We[ct].length;++t)We[ct][t].length>2&&(We[ct][t][3]=e,We[ct][t][4]=e);_p()}function _p(){if(clearTimeout(Ls),Ls=void 0,We[ct].length!==0){var e=We[ct].shift(),t=e[0],a=e[1],n=e[2],i=e[3],r=e[4];if(i===void 0)dn("RETRY",t.name,a),t.apply(null,a);else if(Date.now()-i>=6e4){dn("TIMEOUT",t.name,a);var o=a.pop();typeof o=="function"&&o.call(null,n)}else{var s=Date.now()-r,l=Math.max(r-i,1),u=Math.min(l*1.2,100);s>=u?(dn("RETRY",t.name,a),t.apply(null,a.concat([i]))):We[ct].push(e)}Ls===void 0&&(Ls=setTimeout(_p,0))}}});var Sy=O((QG,Ey)=>{"use strict";Ey.exports=e=>{let t=new Uint8Array(e);if(!(t&&t.length>1))return null;let a=(n,i)=>{i=Object.assign({offset:0},i);for(let r=0;r<n.length;r++)if(n[r]!==t[r+i.offset])return!1;return!0};if(a([255,216,255]))return{ext:"jpg",mime:"image/jpeg"};if(a([137,80,78,71,13,10,26,10]))return{ext:"png",mime:"image/png"};if(a([71,73,70]))return{ext:"gif",mime:"image/gif"};if(a([87,69,66,80],{offset:8}))re
Line truncated
|
||||||
|
`)),e.linkname&&(t+=$p(" linkpath="+e.linkname+`
|
||||||
|
`));var a=e.pax;if(a)for(var n in a)t+=$p(" "+n+"="+a[n]+`
|
||||||
|
`);return k6(t)};ei.decodePax=function(e){for(var t={};e.length;){for(var a=0;a<e.length&&e[a]!==32;)a++;var n=parseInt(e.slice(0,a).toString(),10);if(!n)return t;var i=e.slice(a+1,n-1).toString(),r=i.indexOf("=");if(r===-1)return t;t[i.slice(0,r)]=i.slice(r+1),e=e.slice(n)}return t};ei.encode=function(e){var t=F6(512),a=e.name,n="";if(e.typeflag===5&&a[a.length-1]!=="/"&&(a+="/"),Buffer.byteLength(a)!==a.length)return null;for(;Buffer.byteLength(a)>100;){var i=a.indexOf("/");if(i===-1)return null;n+=n?"/"+a.slice(0,i):a.slice(0,i),a=a.slice(i+1)}return Buffer.byteLength(a)>100||Buffer.byteLength(n)>155||e.linkname&&Buffer.byteLength(e.linkname)>100?null:(t.write(a),t.write(La(e.mode&B6,6),100),t.write(La(e.uid,6),108),t.write(La(e.gid,6),116),t.write(La(e.size,11),124),t.write(La(e.mtime.getTime()/1e3|0,11),136),t[156]=xw+L6(e.type),e.linkname&&t.write(e.linkname,157),t.write(R6,257),e.uname&&t.write(e.uname,265),e.gname&&t.write(e.gname,297),t.write(La(e.devmajor||0,6),329),t.write(La(e.devminor||0,6),337),n&&t.write(n,345),t.write(La(ww(t),6),148),t)};ei.decode=function(e,t){var a=e[156]===0?0:e[156]-xw,n=Qn(e,0,100,t),i=Ma(e,100,8),r=Ma(e,108,8),o=Ma(e,116,8),s=Ma(e,124,12),l=Ma(e,136,12),u=j6(a),c=e[157]===0?null:Qn(e,157,100,t),f=Qn(e,265,32),p=Qn(e,297,32),b=Ma(e,329,8),d=Ma(e,337,8);e[345]&&(n=Qn(e,345,155,t)+"/"+n),a===0&&n&&n[n.length-1]==="/"&&(a=5);var m=ww(e);if(m===8*32)return null;if(m!==Ma(e,148,8))throw new Error("Invalid tar header. Maybe the tar is corrupted or it needs to be gunzipped?");return{name:n,mode:i,uid:r,gid:o,size:s,mtime:new Date(1e3*l),type:u,linkname:c,uname:f,gname:p,devmajor:b,devminor:d}}});var Kp=O((wH,Cw)=>{"use strict";Cw.exports=xa;var Ys=ja(),Sw=Object.create(Zn());Sw.inherits=fn();Sw.inherits(xa,Ys);function D6(e,t){var a=this._transformState;a.transforming=!1;var n=a.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));a.writechunk=null,a.writecb=null,t!=null&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function xa(e){if(!(this instanceof xa))return new xa(e);Ys.call(this,e),this._transformState={afterTransform:D6.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&(typeof e.transform=="function"&&(this._transform=e.transform),typeof e.flush=="function"&&(this._flush=e.flush)),this.on("prefinish",z6)}function z6(){var e=this;typeof this._flush=="function"?this._flush(function(t,a){Ew(e,t,a)}):Ew(this,null,null)}xa.prototype.push=function(e,t){return this._transformState.needTransform=!1,Ys.prototype.push.call(this,e,t)};xa.prototype._transform=function(e,t,a){throw new Error("_transform() is not implemented")};xa.prototype._write=function(e,t,a){var n=this._transformState;if(n.writecb=a,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}};xa.prototype._read=function(e){var t=this._transformState;t.writechunk!==null&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0};xa.prototype._destroy=function(e,t){var a=this;Ys.prototype._destroy.call(this,e,function(n){t(n),a.emit("close")})};function Ew(e,t,a){if(t)return e.emit("error",t);if(a!=null&&e.push(a),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}});var Tw=O((EH,_w)=>{"use strict";_w.exports=ur;var Aw=Kp(),Iw=Object.create(Zn());Iw.inherits=fn();Iw.inherits(ur,Aw);function ur(e){if(!(this instanceof ur))return new ur(e);Aw.call(this,e)}ur.prototype._transform=function(e,t,a){a(null,e)}});var ti=O((ta,kw)=>{ta=kw.exports=Gp();ta.Stream=ta;ta.Readable=ta;ta.Writable=Vp();ta.Duplex=ja();ta.Transform=Kp();ta.PassThrough=Tw()});var jw=O((SH,Nw)=>{var Pw=require("util"),G6=lw(),H6=uw(),pr=Yp(),Ow=ti().Writable,Rw=ti().PassThrough,Bw=function(){},Fw=function(e){return e&=511,e&&512-e},W6=function(e,t){var a=new Ks(e,t);return a.end(),a},V6=function(e,t){return t.path&&(e.name=t.path),t.linkpath&&(e.linkname=t.linkpath),t.size&&(e.size=parseInt(t.size,10)),e.pax=t,e},Ks=function(e,t){this._parent=e,this.offset=t,Rw.call(this)};Pw.inherits(Ks,Rw);Ks.prototype.destroy=function(e){this._parent.destroy(e)};var ya=function(e){if(!(this instanceof ya))return new ya(e);Ow.call(this,e),e=e||{},this._offset=0,this._buffer=G6(),this._missing=0,this._partial=!1,this._onparse=Bw,this._header=null,this._stream=null,this._overflow=null,this._cb=null,this._locked=!1,this._destroyed=!1,this._pax=null,this._paxGlobal=null,this._gnuLongPath=null,this._gnuLongLinkPath=null;var t=this,a=t._buffer,n=function(){t._continue()},i=function(p){if(t._locked=!1,p)return t.destr
Line truncated
|
||||||
|
${n.slice(0,77)}...`,e,a),this.name="ParseError",this.statusCode=t,this.statusMessage=ef.STATUS_CODES[this.statusCode]}};la.exports.HTTPError=class extends sa{constructor(e,t,a,n){t?t=t.replace(/\r?\n/g," ").trim():t=ef.STATUS_CODES[e],super(`Response code ${e} (${t})`,{},n),this.name="HTTPError",this.statusCode=e,this.statusMessage=t,this.headers=a}};la.exports.MaxRedirectsError=class extends sa{constructor(e,t,a){super("Redirected 10 times. Aborting.",{},a),this.name="MaxRedirectsError",this.statusCode=e,this.statusMessage=ef.STATUS_CODES[this.statusCode],this.redirectUrls=t}};la.exports.UnsupportedProtocolError=class extends sa{constructor(e){super(`Unsupported protocol "${e.protocol}"`,{},e),this.name="UnsupportedProtocolError"}};la.exports.CancelError=MN.CancelError});var qC=O((pV,ZC)=>{"use strict";var WC=require("events"),zN=require("http"),GN=require("https"),NC=require("stream").PassThrough,HN=require("stream").Transform,Tr=require("url"),jC=require("fs"),LC=require("querystring"),MC=ZS(),WN=qS(),VN=rC(),xe=Zd(),DC=cC(),UN=pC(),JN=fC(),ZN=hC(),qN=jd(),zC=vC(),XN=Md(),$N=gC(),YN=_C(),KN=Yd(),QN=Qd(),GC=OC(),Rl=Bs().Buffer,HC=RC(),ej=BC(),tj=new Set([300,301,302,303,304,305,307,308]),aj=new Set([300,303,307,308]),tf=e=>xe.nodeStream(e)&&xe.function(e.getBoundary),nj=e=>{let t=e.body;return e.headers["content-length"]?Number(e.headers["content-length"]):!t&&!e.stream?0:xe.string(t)?Rl.byteLength(t):tf(t)?GC(t.getLength.bind(t))():t instanceof jC.ReadStream?GC(jC.stat)(t.path).then(a=>a.size):xe.nodeStream(t)&&xe.buffer(t._buffer)?t._buffer.length:null};function VC(e){e=e||{};let t=new WC,a=e.href||Tr.resolve(Tr.format(e),e.path),n=[],i=xe.object(e.agent)?e.agent:null,r=0,o,s,l=0,u=c=>{if(c.protocol!=="http:"&&c.protocol!=="https:"){t.emit("error",new tt.UnsupportedProtocolError(c));return}let f=c.protocol==="https:"?GN:zN;if(i){let m=c.protocol==="https:"?"https":"http";c.agent=i[m]||c.agent}if(c.useElectronNet&&process.versions.electron){let m=require("electron");f=m.net||m.remote.net}let p,d=new MC(f.request,c.cache)(c,m=>{clearInterval(p),t.emit("uploadProgress",{percent:1,transferred:l,total:s});let h=m.statusCode;m.url=o||a,m.requestUrl=a;let v=c.followRedirect&&"location"in m.headers,x=v&&tj.has(h);if(v&&aj.has(h)||x&&(c.method==="GET"||c.method==="HEAD")){if(m.resume(),h===303&&(c.method="GET"),n.length>=10){t.emit("error",new tt.MaxRedirectsError(h,n,c),null,m);return}let g=Rl.from(m.headers.location,"binary").toString();o=Tr.resolve(Tr.format(c),g),n.push(o);let w=Object.assign({},c,Tr.parse(o));t.emit("redirect",m,w),u(w);return}setImmediate(()=>{try{ij(m,c,t,n)}catch(g){t.emit("error",g)}})});d.on("error",m=>{m instanceof MC.RequestError?t.emit("error",new tt.RequestError(m,c)):t.emit("error",new tt.CacheError(m,c))}),d.once("request",m=>{let h=!1;m.once("abort",v=>{h=!0}),m.once("error",v=>{if(clearInterval(p),h)return;let x=c.retries(++r,v);if(x){setTimeout(u,x,c);return}t.emit("error",new tt.RequestError(v,c))}),t.once("request",v=>{t.emit("uploadProgress",{percent:0,transferred:0,total:s});let x=v.connection;if(x){let E=x.connecting===void 0?x._connecting:x.connecting,g=()=>{p=setInterval(()=>{if(x.destroyed){clearInterval(p);return}let C=l,y=v._header?Rl.byteLength(v._header):0;l=x.bytesWritten-y,s&&l>s&&(l=s),!(l===C||l===s)&&t.emit("uploadProgress",{percent:s?l/s:0,transferred:l,total:s})},150)};E?x.once("connect",g):g()}}),c.gotTimeout&&(clearInterval(p),UN(m,c.gotTimeout)),setImmediate(()=>{t.emit("request",m)})})};return setImmediate(()=>{Promise.resolve(nj(e)).then(c=>{s=c,xe.undefined(e.headers["content-length"])&&xe.undefined(e.headers["transfer-encoding"])&&tf(e.body)&&(e.headers["content-length"]=c),u(e)}).catch(c=>{t.emit("error",c)})}),t}function ij(e,t,a,n){let i=Number(e.headers["content-length"])||null,r=0,o=new HN({transform(l,u,c){r+=l.length;let f=i?r/i:0;f<1&&a.emit("downloadProgress",{percent:f,transferred:r,total:i}),c(null,l)},flush(l){a.emit("downloadProgress",{percent:1,transferred:r,total:i}),l()}});XN(e,o),o.redirectUrls=n;let s=t.decompress===!0&&xe.function(zC)&&t.method!=="HEAD"?zC(o):o;!t.decompress&&["gzip","deflate"].indexOf(e.headers["content-encoding"])!==-1&&(t.encoding=null),a.emit("response",s),a.emit("downloadProgress",{percent:0,transferred:0,total:i}),e.pipe(o)}function rj(e){let t=r=>e.gotTimeout&&e.gotTimeout.request?QN(r,e.gotTimeout.request,new tt.RequestError({message:"Request timed out",code:"ETIMEDOUT"},e)):r,a=new WC,n=new KN((r,o,s)=>{let l=VC(e),u=!1;s(()=>{u=!0}),l.on("request",c=>{if(u&&c.abort(),s(()=>{c.abort()}),xe.nodeStream(e.body)){e.body.pipe(c),e.body=void 0;return}c.end(e.body)}),l.on("response",c=>{(xe.null(e.encoding)?DC.buffer(c):DC(c,e)).catch(p=>o(new tt.ReadError(p,e))).then(p=>{let b=c.statusCode,d=e.followRedirect?299:399;if(c.body=p,e.json&&c.body)try{c.body=JSON.parse(c.body)}catch(m){if(b>=200&&b<300)throw new tt.ParseError(m,b,e,p)}if(e.throwHttpErrors&&b!==304&&(b<200||b>d))throw new tt.HTTPError(b,c.statusMessa
Line truncated
|
||||||
|
`).filter(n=>!!n)){let[n,...i]=a.split("=");t[n]=i.join("=")}return t};async function pv(e){if(fo.default.platform==="win32")return fo.default.env;try{let{stdout:t}=await(0,uv.default)(e||cv,rk,{env:ok});return sk(t)}catch(t){if(e)throw t;return fo.default.env}}async function dv(){let{PATH:e}=await pv();return e}var Ba=require("obsidian");var Ni,Q,bv,lk,$a,fv,gv,lu,xv,mo={},yv=[],ck=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,bo=Array.isArray;function ma(e,t){for(var a in t)e[a]=t[a];return e}function wv(e){var t=e.parentNode;t&&t.removeChild(e)}function se(e,t,a){var n,i,r,o={};for(r in t)r=="key"?n=t[r]:r=="ref"?i=t[r]:o[r]=t[r];if(arguments.length>2&&(o.children=arguments.length>3?Ni.call(arguments,2):a),typeof e=="function"&&e.defaultProps!=null)for(r in e.defaultProps)o[r]===void 0&&(o[r]=e.defaultProps[r]);return Ri(e,o,n,i,null)}function Ri(e,t,a,n,i){var r={type:e,props:t,key:a,ref:n,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:i==null?++bv:i};return i==null&&Q.vnode!=null&&Q.vnode(r),r}function uu(){return{current:null}}function rt(e){return e.children}function Ct(e,t){this.props=e,this.context=t}function Bi(e,t){if(t==null)return e.__?Bi(e.__,e.__.__k.indexOf(e)+1):null;for(var a;t<e.__k.length;t++)if((a=e.__k[t])!=null&&a.__e!=null)return a.__e;return typeof e.type=="function"?Bi(e):null}function Ev(e){var t,a;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((a=e.__k[t])!=null&&a.__e!=null){e.__e=e.__c.base=a.__e;break}return Ev(e)}}function cu(e){(!e.__d&&(e.__d=!0)&&$a.push(e)&&!ho.__r++||fv!==Q.debounceRendering)&&((fv=Q.debounceRendering)||gv)(ho)}function ho(){var e,t,a,n,i,r,o,s;for($a.sort(lu);e=$a.shift();)e.__d&&(t=$a.length,n=void 0,i=void 0,o=(r=(a=e).__v).__e,(s=a.__P)&&(n=[],(i=ma({},r)).__v=r.__v+1,pu(s,r,i,a.__n,s.ownerSVGElement!==void 0,r.__h!=null?[o]:null,n,o==null?Bi(r):o,r.__h),_v(n,r),r.__e!=o&&Ev(r)),$a.length>t&&$a.sort(lu));ho.__r=0}function Sv(e,t,a,n,i,r,o,s,l,u){var c,f,p,b,d,m,h,v=n&&n.__k||yv,x=v.length;for(a.__k=[],c=0;c<t.length;c++)if((b=a.__k[c]=(b=t[c])==null||typeof b=="boolean"||typeof b=="function"?null:typeof b=="string"||typeof b=="number"||typeof b=="bigint"?Ri(null,b,null,null,b):bo(b)?Ri(rt,{children:b},null,null,null):b.__b>0?Ri(b.type,b.props,b.key,b.ref?b.ref:null,b.__v):b)!=null){if(b.__=a,b.__b=a.__b+1,(p=v[c])===null||p&&b.key==p.key&&b.type===p.type)v[c]=void 0;else for(f=0;f<x;f++){if((p=v[f])&&b.key==p.key&&b.type===p.type){v[f]=void 0;break}p=null}pu(e,b,p=p||mo,i,r,o,s,l,u),d=b.__e,(f=b.ref)&&p.ref!=f&&(h||(h=[]),p.ref&&h.push(p.ref,null,b),h.push(f,b.__c||d,b)),d!=null?(m==null&&(m=d),typeof b.type=="function"&&b.__k===p.__k?b.__d=l=Cv(b,l,e):l=Av(e,b,p,v,d,l),typeof a.type=="function"&&(a.__d=l)):l&&p.__e==l&&l.parentNode!=e&&(l=Bi(p))}for(a.__e=m,c=x;c--;)v[c]!=null&&(typeof a.type=="function"&&v[c].__e!=null&&v[c].__e==a.__d&&(a.__d=Iv(n).nextSibling),kv(v[c],v[c]));if(h)for(c=0;c<h.length;c++)Tv(h[c],h[++c],h[++c])}function Cv(e,t,a){for(var n,i=e.__k,r=0;i&&r<i.length;r++)(n=i[r])&&(n.__=e,t=typeof n.type=="function"?Cv(n,t,a):Av(a,n,n,i,n.__e,t));return t}function $t(e,t){return t=t||[],e==null||typeof e=="boolean"||(bo(e)?e.some(function(a){$t(a,t)}):t.push(e)),t}function Av(e,t,a,n,i,r){var o,s,l;if(t.__d!==void 0)o=t.__d,t.__d=void 0;else if(a==null||i!=r||i.parentNode==null)e:if(r==null||r.parentNode!==e)e.appendChild(i),o=null;else{for(s=r,l=0;(s=s.nextSibling)&&l<n.length;l+=1)if(s==i)break e;e.insertBefore(i,r),o=r}return o!==void 0?o:i.nextSibling}function Iv(e){var t,a,n;if(e.type==null||typeof e.type=="string")return e.__e;if(e.__k){for(t=e.__k.length-1;t>=0;t--)if((a=e.__k[t])&&(n=Iv(a)))return n}return null}function uk(e,t,a,n,i){var r;for(r in a)r==="children"||r==="key"||r in t||vo(e,r,null,a[r],n);for(r in t)i&&typeof t[r]!="function"||r==="children"||r==="key"||r==="value"||r==="checked"||a[r]===t[r]||vo(e,r,t[r],a[r],n)}function mv(e,t,a){t[0]==="-"?e.setProperty(t,a==null?"":a):e[t]=a==null?"":typeof a!="number"||ck.test(t)?a:a+"px"}function vo(e,t,a,n,i){var r;e:if(t==="style")if(typeof a=="string")e.style.cssText=a;else{if(typeof n=="string"&&(e.style.cssText=n=""),n)for(t in n)a&&t in a||mv(e.style,t,"");if(a)for(t in a)n&&a[t]===n[t]||mv(e.style,t,a[t])}else if(t[0]==="o"&&t[1]==="n")r=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+r]=a,a?n||e.addEventListener(t,r?vv:hv,r):e.removeEventListener(t,r?vv:hv,r);else if(t!=="dangerouslySetInnerHTML"){if(i)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!=="width"&&t!=="height"&&t!=="href"&&t!=="list"&&t!=="form"&&t!=="tabIndex"&&t!=="download"&&t!=="rowSpan"&&t!=="colSpan"&&t in e)try{e[t]=a==null?"":a;break e}catch(o){}typeof a=="function"||(a==null||a===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,a))}}function hv(e){return this.l[e.type+!1](Q.event?Q.event(e):e)}function vv(e){return t
Line truncated
|
||||||
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Le(e,t){return Fu(e)||Pu(e,t)||Gi(e,t)||Ou()}var Uu=_e(Ab()),Hu=_e(Jb()),Wu=_e(pg());function dg(e){var t=e[0],a=e[1],n=e[2],i,r,o;return i=t*1+a*0+n*1.13983,r=t*1+a*-.39465+n*-.5806,o=t*1+a*2.02311+n*0,i=Math.min(Math.max(0,i),1),r=Math.min(Math.max(0,r),1),o=Math.min(Math.max(0,o),1),[i*255,r*255,o*255]}function fg(e){var t=e[0]/255,a=e[1]/255,n=e[2]/255,i=t*.299+a*.587+n*.114,r=t*-.14713+a*-.28886+n*.436,o=t*.615+a*-.51499+n*-.10001;return[i,r,o]}function mg(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),a.push.apply(a,n)}return a}function It(e){for(var t=1;t<arguments.length;t++){var a=arguments[t]!=null?arguments[t]:{};t%2?mg(Object(a),!0).forEach(function(n){jt(e,n,a[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):mg(Object(a)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(a,n))})}return e}var vg=Uu.default,hg=Object.keys(vg),QF=function(t){return t<.25?1:t<.5?.9-t:1.1-t},eP=function(t){var a=(0,Hu.default)(t),n=fg(a.array()),i=Le(n,3),r=i[0],o=i[1],s=i[2],l=[QF(r),o,s],u=dg(l);return Hu.default.rgb(u).hex()},zn=function(t){return function(a){return{className:[a.className,t.className].filter(Boolean).join(" "),style:It(It({},a.style||{}),t.style||{})}}},tP=function(t,a){if(t===void 0)return a;if(a===void 0)return t;var n=ft(t),i=ft(a);switch(n){case"string":switch(i){case"string":return[a,t].filter(Boolean).join(" ");case"object":return zn({className:t,style:a});case"function":return function(r){for(var o=arguments.length,s=new Array(o>1?o-1:0),l=1;l<o;l++)s[l-1]=arguments[l];return zn({className:t})(a.apply(void 0,[r].concat(s)))}}break;case"object":switch(i){case"string":return zn({className:a,style:t});case"object":return It(It({},a),t);case"function":return function(r){for(var o=arguments.length,s=new Array(o>1?o-1:0),l=1;l<o;l++)s[l-1]=arguments[l];return zn({style:t})(a.apply(void 0,[r].concat(s)))}}break;case"function":switch(i){case"string":return function(r){for(var o=arguments.length,s=new Array(o>1?o-1:0),l=1;l<o;l++)s[l-1]=arguments[l];return t.apply(void 0,[zn(r)({className:a})].concat(s))};case"object":return function(r){for(var o=arguments.length,s=new Array(o>1?o-1:0),l=1;l<o;l++)s[l-1]=arguments[l];return t.apply(void 0,[zn(r)({style:a})].concat(s))};case"function":return function(r){for(var o=arguments.length,s=new Array(o>1?o-1:0),l=1;l<o;l++)s[l-1]=arguments[l];return t.apply(void 0,[a.apply(void 0,[r].concat(s))].concat(s))}}}},aP=function(t,a){var n=Object.keys(a);for(var i in t)n.indexOf(i)===-1&&n.push(i);return n.reduce(function(r,o){return r[o]=tP(t[o],a[o]),r},{})},nP=function(t,a){for(var n=arguments.length,i=new Array(n>2?n-2:0),r=2;r<n;r++)i[r-2]=arguments[r];if(a===null)return t;Array.isArray(a)||(a=[a]);var o=a.map(function(l){return t[l]}).filter(Boolean),s=o.reduce(function(l,u){return typeof u=="string"?l.className=[l.className,u].filter(Boolean).join(" "):ft(u)==="object"?l.style=It(It({},l.style),u):typeof u=="function"&&(l=It(It({},l),u.apply(void 0,[l].concat(i)))),l},{className:"",style:{}});return s.className||delete s.className,Object.keys(s.style).length===0&&delete s.style,s},Vu=function(t){return Object.keys(t).reduce(function(a,n){return a[n]=/^base/.test(n)?eP(t[n]):n==="scheme"?t[n]+":inverted":t[n],a},{})},bg=(0,Wu.default)(function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=t.defaultBase16,i=n===void 0?vg:n,r=t.base16Themes,o=r===void 0?null:r,s=iP(a,o);s&&(a=It(It({},s),a));for(var l=hg.reduce(function(m,h){return m[h]=a[h]||i[h],m},{}),u=Object.keys(a).reduce(function(m,h){return hg.indexOf(h)===-1&&(m[h]=a[h]),m},{}),c=e(l),f=aP(u,c),p=arguments.length,b=new Array(p>3?p-3:0),d=3;d<p;d++)b[d-3]=arguments[d];return(0,Wu.default)(nP,2).apply(void 0,[f].concat(b))},3),gg=function(t){return!!t.extend},iP=function(t,a){if(t&&gg(t)&&t.extend&&(t=t.extend),typeof t=="string"){var n=t.split(":"),i=Le(n,2),r=i[0],o=i[1];a?t=a[r]:t=Uu[r],o==="inverted"&&(t=Vu(t))}return t&&Object.prototype.hasOwnProperty.call(t,"base00")?t:void 0},xg=function(t){return typeof t=="string"?"".concat(t,":inverted"):t&&gg(t)&&t.extend?typeof t.extend=="string"?It(It({},t),{},{extend:"".concat(t.extend,":inverted")}):It(It({},t),{},{extend:Vu(t.extend)}):t&&Vu(t)};var yg={scheme:"solarized",author:"ethan schoonover (http://ethanschoonover.com/solarized)",base00:"#002b36",base01:"#073642",base02:"#586e75",base03:"#657b83",base04:"#839496",base05:"#93a1a1",base06:"#eee8d5",base07:"#fdf6e3",base08:"#dc322f",base09:"#cb4b16",base0A:"#b58900",base0B:"#859900",base0C:"#2aa198",base0D:"#268bd2",base0E:"#6c71c4",base0F:"#d33682"};var rP=e=>({BACKGROUND_COLOR:e.base00,TEXT_COLOR:e.base07,STRING_C
Line truncated
|
||||||
|
`:`
|
||||||
|
`.charCodeAt(),a=typeof e=="string"?"\r":"\r".charCodeAt();return e[e.length-1]===t&&(e=e.slice(0,-1)),e[e.length-1]===a&&(e=e.slice(0,-1)),e}var Xi=_e(require("node:process"),1),Gn=_e(require("node:path"),1),Cg=_e(require("node:url"),1);function ds(e={}){let{env:t=process.env,platform:a=process.platform}=e;return a!=="win32"?"PATH":Object.keys(t).reverse().find(n=>n.toUpperCase()==="PATH")||"Path"}function fP(e={}){let{cwd:t=Xi.default.cwd(),path:a=Xi.default.env[ds()],execPath:n=Xi.default.execPath}=e,i,r=t instanceof URL?Cg.default.fileURLToPath(t):t,o=Gn.default.resolve(r),s=[];for(;i!==o;)s.push(Gn.default.join(o,"node_modules/.bin")),i=o,o=Gn.default.resolve(o,"..");return s.push(Gn.default.resolve(r,n,"..")),[...s,a].join(Gn.default.delimiter)}function Ag({env:e=Xi.default.env,...t}={}){e={...e};let a=ds({env:e});return t.path=e[a],e[a]=fP(t),e}var mP=(e,t,a,n)=>{if(a==="length"||a==="prototype"||a==="arguments"||a==="caller")return;let i=Object.getOwnPropertyDescriptor(e,a),r=Object.getOwnPropertyDescriptor(t,a);!hP(i,r)&&n||Object.defineProperty(e,a,r)},hP=function(e,t){return e===void 0||e.configurable||e.writable===t.writable&&e.enumerable===t.enumerable&&e.configurable===t.configurable&&(e.writable||e.value===t.value)},vP=(e,t)=>{let a=Object.getPrototypeOf(t);a!==Object.getPrototypeOf(e)&&Object.setPrototypeOf(e,a)},bP=(e,t)=>`/* Wrapped ${e}*/
|
||||||
|
${t}`,gP=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),xP=Object.getOwnPropertyDescriptor(Function.prototype.toString,"name"),yP=(e,t,a)=>{let n=a===""?"":`with ${a.trim()}() `,i=bP.bind(null,n,t.toString());Object.defineProperty(i,"name",xP),Object.defineProperty(e,"toString",{...gP,value:i})};function Zu(e,t,{ignoreNonConfigurable:a=!1}={}){let{name:n}=e;for(let i of Reflect.ownKeys(t))mP(e,t,i,a);return vP(e,t),yP(e,t,n),e}var fs=new WeakMap,Ig=(e,t={})=>{if(typeof e!="function")throw new TypeError("Expected a function");let a,n=0,i=e.displayName||e.name||"<anonymous>",r=function(...o){if(fs.set(r,++n),n===1)a=e.apply(this,o),e=null;else if(t.throw===!0)throw new Error(`Function \`${i}\` can only be called once`);return a};return Zu(r,e),fs.set(r,n),r};Ig.callCount=e=>{if(!fs.has(e))throw new Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return fs.get(e)};var _g=Ig;var Rg=require("node:os");var Tg=()=>{let e=Fg-kg+1;return Array.from({length:e},wP)},wP=(e,t)=>({name:`SIGRT${t+1}`,number:kg+t,action:"terminate",description:"Application-specific signal (realtime)",standard:"posix"}),kg=34,Fg=64;var Og=require("node:os");var Pg=[{name:"SIGHUP",number:1,action:"terminate",description:"Terminal closed",standard:"posix"},{name:"SIGINT",number:2,action:"terminate",description:"User interruption with CTRL-C",standard:"ansi"},{name:"SIGQUIT",number:3,action:"core",description:"User interruption with CTRL-\\",standard:"posix"},{name:"SIGILL",number:4,action:"core",description:"Invalid machine instruction",standard:"ansi"},{name:"SIGTRAP",number:5,action:"core",description:"Debugger breakpoint",standard:"posix"},{name:"SIGABRT",number:6,action:"core",description:"Aborted",standard:"ansi"},{name:"SIGIOT",number:6,action:"core",description:"Aborted",standard:"bsd"},{name:"SIGBUS",number:7,action:"core",description:"Bus error due to misaligned, non-existing address or paging error",standard:"bsd"},{name:"SIGEMT",number:7,action:"terminate",description:"Command should be emulated but is not implemented",standard:"other"},{name:"SIGFPE",number:8,action:"core",description:"Floating point arithmetic error",standard:"ansi"},{name:"SIGKILL",number:9,action:"terminate",description:"Forced termination",standard:"posix",forced:!0},{name:"SIGUSR1",number:10,action:"terminate",description:"Application-specific signal",standard:"posix"},{name:"SIGSEGV",number:11,action:"core",description:"Segmentation fault",standard:"ansi"},{name:"SIGUSR2",number:12,action:"terminate",description:"Application-specific signal",standard:"posix"},{name:"SIGPIPE",number:13,action:"terminate",description:"Broken pipe or socket",standard:"posix"},{name:"SIGALRM",number:14,action:"terminate",description:"Timeout or timer",standard:"posix"},{name:"SIGTERM",number:15,action:"terminate",description:"Termination",standard:"ansi"},{name:"SIGSTKFLT",number:16,action:"terminate",description:"Stack is empty or overflowed",standard:"other"},{name:"SIGCHLD",number:17,action:"ignore",description:"Child process terminated, paused or unpaused",standard:"posix"},{name:"SIGCLD",number:17,action:"ignore",description:"Child process terminated, paused or unpaused",standard:"other"},{name:"SIGCONT",number:18,action:"unpause",description:"Unpaused",standard:"posix",forced:!0},{name:"SIGSTOP",number:19,action:"pause",description:"Paused",standard:"posix",forced:!0},{name:"SIGTSTP",number:20,action:"pause",description:'Paused using CTRL-Z or "suspend"',standard:"posix"},{name:"SIGTTIN",number:21,action:"pause",description:"Background process cannot read terminal input",standard:"posix"},{name:"SIGBREAK",number:21,action:"terminate",description:"User interruption with CTRL-BREAK",standard:"other"},{name:"SIGTTOU",number:22,action:"pause",description:"Background process cannot write to terminal output",standard:"posix"},{name:"SIGURG",number:23,action:"ignore",description:"Socket received out-of-band data",standard:"bsd"},{name:"SIGXCPU",number:24,action:"core",description:"Process timed out",standard:"bsd"},{name:"SIGXFSZ",number:25,action:"core",description:"File too big",standard:"bsd"},{name:"SIGVTALRM",number:26,action:"terminate",description:"Timeout or timer",standard:"bsd"},{name:"SIGPROF",number:27,action:"terminate",description:"Timeout or timer",standard:"bsd"},{name:"SIGWINCH",number:28,action:"ignore",description:"Terminal window size changed",standard:"bsd"},{name:"SIGIO",number:29,action:"terminate",description:"I/O is available",standard:"other"},{name:"SIGPOLL",number:29,action:"terminate",description:"Watched event",standard:"other"},{name:"SIGINFO",number:29,action:"ignore",description:"Request for process information",standard:"other"},{name:"SIGPWR",number:30,action:"terminate",description:"Device running out of power",standard:"systemv"},{name:"SIGSYS",number:31,action:"core",description:"Invalid system call",standard:"other"},{name:"SIGUNUSED",number:31,action:"terminate",description:"Invalid systeLine truncated
|
||||||
|
${n.message}`:m,x=[v,t,e].filter(Boolean).join(`
|
||||||
|
`);return h?(n.originalMessage=n.message,n.message=x):n=new Error(x),n.shortMessage=v,n.command=o,n.escapedCommand=s,n.exitCode=r,n.signal=i,n.signalDescription=p,n.stdout=e,n.stderr=t,a!==void 0&&(n.all=a),"bufferedData"in n&&delete n.bufferedData,n.failed=!0,n.timedOut=!!l,n.isCanceled=u,n.killed=c&&!l,n};var ms=["stdin","stdout","stderr"],kP=e=>ms.some(t=>e[t]!==void 0),Ng=e=>{if(!e)return;let{stdio:t}=e;if(t===void 0)return ms.map(n=>e[n]);if(kP(e))throw new Error(`It's not possible to provide \`stdio\` in combination with one of ${ms.map(n=>`\`${n}\``).join(", ")}`);if(typeof t=="string")return t;if(!Array.isArray(t))throw new TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof t}\``);let a=Math.max(t.length,ms.length);return Array.from({length:a},(n,i)=>t[i])};var jg=_e(require("node:os"),1),Lg=_e(eu(),1),FP=1e3*5,Mg=(e,t="SIGTERM",a={})=>{let n=e(t);return PP(e,t,a,n),n},PP=(e,t,a,n)=>{if(!OP(t,a,n))return;let i=BP(a),r=setTimeout(()=>{e("SIGKILL")},i);r.unref&&r.unref()},OP=(e,{forceKillAfterTimeout:t},a)=>RP(e)&&t!==!1&&a,RP=e=>e===jg.default.constants.signals.SIGTERM||typeof e=="string"&&e.toUpperCase()==="SIGTERM",BP=({forceKillAfterTimeout:e=!0})=>{if(e===!0)return FP;if(!Number.isFinite(e)||e<0)throw new TypeError(`Expected the \`forceKillAfterTimeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);return e},Dg=(e,t)=>{e.kill()&&(t.isCanceled=!0)},NP=(e,t,a)=>{e.kill(t),a(Object.assign(new Error("Timed out"),{timedOut:!0,signal:t}))},zg=(e,{timeout:t,killSignal:a="SIGTERM"},n)=>{if(t===0||t===void 0)return n;let i,r=new Promise((s,l)=>{i=setTimeout(()=>{NP(e,a,l)},t)}),o=n.finally(()=>{clearTimeout(i)});return Promise.race([r,o])},Gg=({timeout:e})=>{if(e!==void 0&&(!Number.isFinite(e)||e<0))throw new TypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`)},Hg=async(e,{cleanup:t,detached:a},n)=>{if(!t||a)return n;let i=(0,Lg.default)(()=>{e.kill()});return n.finally(()=>{i()})};var Wg=require("node:fs"),Vg=require("node:child_process");function hs(e){return e!==null&&typeof e=="object"&&typeof e.pipe=="function"}function Xu(e){return hs(e)&&e.writable!==!1&&typeof e._write=="function"&&typeof e._writableState=="object"}var jP=e=>e instanceof Vg.ChildProcess&&typeof e.then=="function",$u=(e,t,a)=>{if(typeof a=="string")return e[t].pipe((0,Wg.createWriteStream)(a)),e;if(Xu(a))return e[t].pipe(a),e;if(!jP(a))throw new TypeError("The second argument must be a string, a stream or an Execa child process.");if(!Xu(a.stdin))throw new TypeError("The target child process's stdin must be available.");return e[t].pipe(a.stdin),a},Ug=e=>{e.stdout!==null&&(e.pipeStdout=$u.bind(void 0,e,"stdout")),e.stderr!==null&&(e.pipeStderr=$u.bind(void 0,e,"stderr")),e.all!==void 0&&(e.pipeAll=$u.bind(void 0,e,"all"))};var bs=require("node:fs");var ep=_e(qg(),1),Xg=_e(au(),1),$g=e=>{if(e!==void 0)throw new TypeError("The `input` and `inputFile` options cannot be both set.")},WP=({input:e,inputFile:t})=>typeof t!="string"?e:($g(e),(0,bs.readFileSync)(t)),Yg=e=>{let t=WP(e);if(hs(t))throw new TypeError("The `input` option cannot be a stream in sync mode");return t},VP=({input:e,inputFile:t})=>typeof t!="string"?e:($g(e),(0,bs.createReadStream)(t)),Kg=(e,t)=>{let a=VP(t);a!==void 0&&(hs(a)?a.pipe(e.stdin):e.stdin.end(a))},Qg=(e,{all:t})=>{if(!t||!e.stdout&&!e.stderr)return;let a=(0,Xg.default)();return e.stdout&&a.add(e.stdout),e.stderr&&a.add(e.stderr),a},Ku=async(e,t)=>{if(!(!e||t===void 0)){e.destroy();try{return await t}catch(a){return a.bufferedData}}},Qu=(e,{encoding:t,buffer:a,maxBuffer:n})=>{if(!(!e||!a))return t?(0,ep.default)(e,{encoding:t,maxBuffer:n}):ep.default.buffer(e,{maxBuffer:n})},ex=async({stdout:e,stderr:t,all:a},{encoding:n,buffer:i,maxBuffer:r},o)=>{let s=Qu(e,{encoding:n,buffer:i,maxBuffer:r}),l=Qu(t,{encoding:n,buffer:i,maxBuffer:r}),u=Qu(a,{encoding:n,buffer:i,maxBuffer:r*2});try{return await Promise.all([o,s,l,u])}catch(c){return Promise.all([{error:c,signal:c.signal,timedOut:c.timedOut},Ku(e,s),Ku(t,l),Ku(a,u)])}};var UP=(async()=>{})().constructor.prototype,JP=["then","catch","finally"].map(e=>[e,Reflect.getOwnPropertyDescriptor(UP,e)]),tp=(e,t)=>{for(let[a,n]of JP){let i=typeof t=="function"?(...r)=>Reflect.apply(n.value,t(),r):n.value.bind(t);Reflect.defineProperty(e,a,{...n,value:i})}},tx=e=>new Promise((t,a)=>{e.on("exit",(n,i)=>{t({exitCode:n,signal:i})}),e.on("error",n=>{a(n)}),e.stdin&&e.stdin.on("error",n=>{a(n)})});var ix=require("node:buffer"),rx=require("node:child_process"),ox=(e,t=[])=>Array.isArray(t)?[e,...t]:[e],ZP=/^[\w.-]+$/,qP=/"/g,XP=e=>typeof e!="string"||ZP.test(e)?e:`"${e.replace(qP,'\\"')}"`,ap=(e,t)=>ox(e,t).join(" "),np=(e,t)=>ox(e,t).map(a=>XP(a)).join(" "),$P=/ +/g;var ax=e=>{let t=typeof e;if(t==="string")return e;if(t==="number")return String(e);if(t==="object"&&e!==null&&!(e instanceof rx.ChildProcess)&&"stdout"in e){let a=typeof e.stdout;if(a==="string")return e.stdoutLine truncated
|
||||||
|
`)};var QP=1e3*1e3*100,eO=({env:e,extendEnv:t,preferLocal:a,localDir:n,execPath:i})=>{let r=t?{...Ki.default.env,...e}:e;return a?Ag({env:r,cwd:n,execPath:i}):r},mx=(e,t,a={})=>{let n=fx.default._parse(e,t,a);return e=n.command,t=n.args,a=n.options,a={maxBuffer:QP,buffer:!0,stripFinalNewline:!0,extendEnv:!0,preferLocal:!1,localDir:a.cwd||Ki.default.cwd(),execPath:Ki.default.execPath,encoding:"utf8",reject:!0,cleanup:!0,all:!1,windowsHide:!0,verbose:cx,...a},a.env=eO(a),a.stdio=Ng(a),Ki.default.platform==="win32"&&dx.default.basename(e,".exe")==="cmd"&&t.unshift("/q"),{file:e,args:t,options:a,parsed:n}},Qi=(e,t,a)=>typeof t!="string"&&!px.Buffer.isBuffer(t)?a===void 0?void 0:"":e.stripFinalNewline?Ju(t):t;function er(e,t,a){let n=mx(e,t,a),i=ap(e,t),r=np(e,t);rp(r,n.options),Gg(n.options);let o;try{o=xs.default.spawn(n.file,n.args,n.options)}catch(b){let d=new xs.default.ChildProcess,m=Promise.reject($i({error:b,stdout:"",stderr:"",all:"",command:i,escapedCommand:r,parsed:n,timedOut:!1,isCanceled:!1,killed:!1}));return tp(d,m),d}let s=tx(o),l=zg(o,n.options,s),u=Hg(o,n.options,l),c={isCanceled:!1};o.kill=Mg.bind(null,o.kill.bind(o)),o.cancel=Dg.bind(null,o,c);let p=_g(async()=>{let[{error:b,exitCode:d,signal:m,timedOut:h},v,x,E]=await ex(o,n.options,u),g=Qi(n.options,v),w=Qi(n.options,x),C=Qi(n.options,E);if(b||d!==0||m!==null){let y=$i({error:b,exitCode:d,signal:m,stdout:g,stderr:w,all:C,command:i,escapedCommand:r,parsed:n,timedOut:h,isCanceled:c.isCanceled||(n.options.signal?n.options.signal.aborted:!1),killed:o.killed});if(!n.options.reject)return y;throw y}return{command:i,escapedCommand:r,exitCode:0,stdout:g,stderr:w,all:C,failed:!1,timedOut:!1,isCanceled:!1,killed:!1}});return Kg(o,n.options),o.all=Qg(o,n.options),Ug(o),tp(o,p),o}function tO(e,t,a){let n=mx(e,t,a),i=ap(e,t),r=np(e,t);rp(r,n.options);let o=Yg(n.options),s;try{s=xs.default.spawnSync(n.file,n.args,{...n.options,input:o})}catch(c){throw $i({error:c,stdout:"",stderr:"",all:"",command:i,escapedCommand:r,parsed:n,timedOut:!1,isCanceled:!1,killed:!1})}let l=Qi(n.options,s.stdout,s.error),u=Qi(n.options,s.stderr,s.error);if(s.error||s.status!==0||s.signal!==null){let c=$i({stdout:l,stderr:u,error:s.error,signal:s.signal,exitCode:s.status,command:i,escapedCommand:r,parsed:n,timedOut:s.error&&s.error.code==="ETIMEDOUT",isCanceled:!1,killed:s.signal!==null});if(!n.options.reject)return c;throw c}return{command:i,escapedCommand:r,exitCode:0,stdout:l,stderr:u,failed:!1,timedOut:!1,isCanceled:!1,killed:!1}}var aO=({input:e,inputFile:t,stdio:a})=>e===void 0&&t===void 0&&a===void 0?{stdin:"inherit"}:{},ux=(e={})=>({preferLocal:!0,...aO(e),...e});function hx(e){function t(a,...n){if(!Array.isArray(a))return hx({...e,...a});let[i,...r]=ip(a,n);return er(i,r,ux(e))}return t.sync=(a,...n)=>{if(!Array.isArray(a))throw new TypeError("Please use $(options).sync`command` instead of $.sync(options)`command`.");let[i,...r]=ip(a,n);return tO(i,r,ux(e))},t}var Bz=hx();var lt=_e(require("fs")),op=require("obsidian"),tn=_e(require("os")),Lt=_e(require("path"));function sp(){return require("electron").remote.BrowserWindow.getFocusedWindow()}function lp(e){return e<10?`0${e}`:e.toString()}function an(){return app.vault.adapter.getBasePath()}function _t(){return Lt.default.join(an(),"./.obsidian/plugins/obsidian-zotero-desktop-connector/")}function nn(){return tn.default.platform()==="win32"?"pdfannots2json.exe":`pdfannots2json-${tn.default.platform()}-${tn.default.arch()}`}function vx(){tn.default.platform()!=="win32"&<.default.renameSync(Lt.default.join(_t(),cp()),Lt.default.join(_t(),nn()))}function cp(){return tn.default.platform()==="win32"?"pdfannots2json.exe":"pdfannots2json"}function bx(){return tn.default.platform()==="win32"?"pdf-annots2json.exe":"pdf-annots2json"}function Hn(e){return e?lt.default.existsSync(e):lt.default.existsSync(Lt.default.join(_t(),nn()))}function gx(e){return e?lt.default.existsSync(e):lt.default.existsSync(Lt.default.join(_t(),cp()))}function xx(){return lt.default.existsSync(Lt.default.join(_t(),bx()))}function yx(){lt.default.rmSync(Lt.default.join(_t(),nn()))}function wx(){lt.default.rmSync(Lt.default.join(_t(),cp()))}function Ex(){lt.default.rmSync(Lt.default.join(_t(),bx()))}async function Sx(e){try{let t=await er(e||Lt.default.join(_t(),nn()),["-v"]);if(t.stderr&&!t.stderr.includes("warning"))throw new op.Notice(`Error checking PDF utility version: ${t.stderr}`,1e4),new Error(t.stderr);return t.stdout.trim()}catch(t){throw console.error(t),new op.Notice(`Error checking PDF utility version: ${t.message}`,1e4),t}}function nO(e=0){return e|lt.default.constants.S_IXUSR|lt.default.constants.S_IXGRP|lt.default.constants.S_IXOTH}function iO(e){if(console.error("Error: pdfannots2json not executable",e),e.code==="ENOENT")return!1}function Cx(e){let t=e||Lt.default.join(_t(),nn());try{return lt.default.accessSync(t,lt.default.constants.X_OK),!0}catch(a){}try{let a=lt.default.statSync(t);return lt.default.chmodSync(t,nO(a.mode)),!0}catc
Line truncated
|
||||||
|
{%- if creators and creators.length > 0 -%}
|
||||||
|
{%- for creator in creators -%}
|
||||||
|
{%- if creator.name -%}
|
||||||
|
{{creator.name}}
|
||||||
|
{%- else -%}
|
||||||
|
{{creator.firstName}} {{creator.lastName}}
|
||||||
|
{%- endif -%}
|
||||||
|
{% if not loop.last %}, {% endif %}
|
||||||
|
{%- endfor -%}
|
||||||
|
{%- endif -%}
|
||||||
|
`,pO=`
|
||||||
|
{%- if attachments and attachments.length > 0 -%}
|
||||||
|
{%- set file = attachments | filterby("path", "endswith", ".pdf") | first -%}
|
||||||
|
{%- if file and file.path and file.path.endsWith(".pdf") -%}
|
||||||
|
[{{file.title}}](file://{{file.path | replace(" ", "%20")}})
|
||||||
|
{%- endif -%}
|
||||||
|
{%- endif -%}
|
||||||
|
`,dO=`
|
||||||
|
{%- if attachments and attachments.length > 0 -%}
|
||||||
|
{%- set file = attachments | filterby("path", "endswith", ".pdf") | first -%}
|
||||||
|
{%- if file and file.path and file.path.endsWith(".pdf") -%}
|
||||||
|
[{{file.title}}]({{file.desktopURI}})
|
||||||
|
{%- endif -%}
|
||||||
|
{%- endif -%}
|
||||||
|
`,_x=`
|
||||||
|
{%- if annotations and annotations.length > 0 -%}
|
||||||
|
{%- set annots = annotations | filterby("date", "dateafter", lastExportDate) -%}
|
||||||
|
{%- if annots.length > 0 %}
|
||||||
|
**Imported: {{importDate | format("YYYY-MM-DD")}}**
|
||||||
|
|
||||||
|
{% for annotation in annots -%}
|
||||||
|
{%- if annotation.annotatedText -%}
|
||||||
|
> \u201C{{annotation.annotatedText}}\u201D{% if annotation.color %} {{annotation.colorCategory}} {{annotation.type | capitalize}} {% else %} {{annotation.type | capitalize}} {% endif %}[Page {{annotation.page}}]({{annotation.attachment.desktopURI.replace("select", "open-pdf")}}?page={{annotation.pageLabel}}&annotation={{annotation.id}})
|
||||||
|
{%- endif %}
|
||||||
|
{%- if annotation.imageRelativePath -%}
|
||||||
|
> ![[{{annotation.imageRelativePath}}]]
|
||||||
|
{%- endif %}
|
||||||
|
{% if annotation.comment %}
|
||||||
|
{{annotation.comment}}
|
||||||
|
{% endif %}
|
||||||
|
{% endfor -%}
|
||||||
|
{%- endif -%}
|
||||||
|
{%- endif -%}
|
||||||
|
`;async function ws(e,t){var r,o,s;if(!t)return t;let a=(t.creators||[]).reduce((l,u)=>(l[u.creatorType]||(l[u.creatorType]=[]),l[u.creatorType].push(u),l),{});await Promise.all(Object.keys(a).map(async l=>{t[`${l}s`]=(await bt(e,uO,{creators:a[l]})).trim()}));let n=(await bt(e,pO,t)).trim();n&&(t.pdfLink=n);let i=(await bt(e,dO,t)).trim();if(i&&(t.pdfZoteroLink=i),(r=t.notes)!=null&&r.length){let l=t.notes.reduce((u,c)=>c.note?`${u}
|
||||||
|
|
||||||
|
${c.note.trim()}`:u,"").trim();l&&(t.markdownNotes=l)}return(o=t.tags)!=null&&o.length&&(t.allTags=t.tags.map(l=>l.tag).join(", "),t.hashTags=t.tags.map(l=>`#${l.tag.replace(/\s+/g,"-")}`).join(", ")),(s=t.annotations)!=null&&s.length&&(t.formattedAnnotationsNew=(await bt(e,_x,t)).trim(),t.formattedAnnotations=(await bt(e,_x,{...t,lastExportDate:(0,Tx.moment)(0)})).trim()),t}var Pa=require("obsidian");var kx=require("obsidian"),nt=class extends kx.Modal{constructor(a,n){super(a);this.message=n}onOpen(){this.contentEl.createDiv({text:this.message})}onClose(){this.contentEl.empty()}};var Es=_e(require("path")),Mt={"Content-Type":"application/json","User-Agent":"obsidian/zotero",Accept:"application/json",Connection:"keep-alive"};function Dt(e,t){return e==="Zotero"?"23119":e==="Juris-M"?"24119":t||"23119"}async function Ss(e){let t=Es.default.dirname(e);await app.vault.adapter.exists(t)||await app.vault.createFolder(t)}function Fx(e){return e.replace(/\s*[*?]+\s*/g," ").trim().replace(/\s*[:"<>|]+\s*/g," - ").trim()}function Vn(e){let t=Es.default.parse(e),a=Fx(t.dir),n=Fx(t.name);return Es.default.join(a,`${n}${t.ext}`)}function fO(e){let t="0",a="0",n="0";e.length==4?(t="0x"+e[1]+e[1],a="0x"+e[2]+e[2],n="0x"+e[3]+e[3]):e.length==7&&(t="0x"+e[1]+e[2],a="0x"+e[3]+e[4],n="0x"+e[5]+e[6]);let i=+t/255,r=+a/255,o=+n/255,s=Math.min(i,r,o),l=Math.max(i,r,o),u=l-s,c=0,f=0,p=0;return u==0?c=0:l==i?c=(r-o)/u%6:l==r?c=(o-i)/u+2:c=(i-r)/u+4,c=Math.round(c*60),c<0&&(c+=360),p=(l+s)/2,f=u==0?0:u/(1-Math.abs(2*p-1)),f=+(f*100).toFixed(1),p=+(p*100).toFixed(1),{h:c,s:f,l:p}}function Px(e){let{h:t,s:a,l:n}=fO(e);return n<12?"Black":n>98?"White":a<2?"Gray":t<15?"Red":t<45?"Orange":t<65?"Yellow":t<170?"Green":t<190?"Cyan":t<263?"Blue":t<280?"Purple":t<335?"Magenta":"Red"}function Qt(e,t,a){let n=t.split("/").pop(),i=`zotero://${e}`,r="";if(/group/.test(t)?r=t.replace("http://zotero.org",i):r=`${i}/library/items/${n}`,a){let o=new URLSearchParams(a);r+=`?${o}`}return r}var Pe=require("obsidian");var dp=class e{constructor(t){this.compare=t;this.heapArray=[];this._limit=0}static getChildrenIndexOf(t){return[t*2+1,t*2+2]}static getParentIndexOf(t){if(t<=0)return-1;let a=t%2?1:2;return Math.floor((t-a)/2)}push(t){return this._sortNodeUp(this.heapArray.push(t)-1),!0}length(){return this.heapArray.length}peek(){return this.heapArray[0]}pop(){let t=this.heapArray.pop();return this.length()>0&&t!==void 0?this.replace(t):t}replace(t){let a=this.heapArray[0];return this.heapArray[0]=t,this._sortNodeDown(0),a}size(){return this.length()}_moveNode(t,a){[this.heapArray[t],this.heapArray[a]]=[this.heapArray[a],this.heapArray[t]]}_sortNodeDown(t){let a=t<this.heapArray.length-1,n=this.heapArray[t],i=(r,o)=>(this.heapArray.length>o&&this.compare(this.heapArray[o],this.heapArray[r])<0&&(r=o),r);for(;a;){let r=e.getChildrenIndexOf(t),o=r.reduce(i,r[0]),s=this.heapArray[o];typeof s!="undefined"&&this.compare(n,s)>0?(this._moveNode(t,o),t=o):a=!1}}_sortNodeUp(t){let a=t>0;for(;a;){let n=e.getParentIndexOf(t);n>=0&&this.compare(this.heapArray[n],this.heapArray[t])>0?(this._moveNode(t,n),t=n):a=!1}}};function mO(e,t){return e.prio-t.prio||e.counter-t.counter}var fp=class{constructor(t,a){this.maxConcurrent=t||1,this.minCycle=a||0,this.queueRunning=new Map,this.queueWaiting=new dp(mO),this.lastRun=0,this.nextTimer=null,this.counter=0}tryRun(){for(;this.queueWaiting.size()>0&&this.queueRunning.size<this.maxConcurrent;){if(Date.now()-this.lastRun<this.minCycle){this.nextTimer===null&&(this.nextTimer=new Promise(a=>activeWindow.setTimeout(()=>{this.nextTimer=null,this.tryRun(),a()},this.minCycle-Date.now()+this.lastRun)));return}let t=this.queueWaiting.pop();if(t!==void 0){let a,i={wait:new Promise(o=>{a=o}),signal:a},r={hash:t.hash,prio:t.prio,finish:i};if(this.queueRunning.has(t.hash))throw new Error("async-await-queue: duplicate hash "+t.hash);this.queueRunning.set(t.hash,r),this.lastRun=Date.now(),t.start.signal()}}}end(t){let a=this.queueRunning.get(t);if(a===void 0)throw new Error("async-await-queue: queue desync for "+t);this.queueRunning.delete(t),a.finish.signal(),this.tryRun()}async wait(t,a){let n=a!=null?a:0,i,r=new Promise(s=>{i=s}),o={hash:t,prio:n,start:{signal:i,wait:r},counter:this.counter++};this.queueWaiting.push(o),this.tryRun(),await r,this.lastRun=Date.now()}run(t,a){let n=a!=null?a:0,i=Symbol();return this.wait(i,n).then(t).finally(()=>{this.end(i)})}stat(){return{running:this.queueRunning.size,waiting:this.queueWaiting.size(),last:this.lastRun}}async flush(t){for(;this.queueRunning.size>0||this.queueWaiting.size()>0;){let a=this.queueWaiting.peek();if(a&&await a.start.wait,t!==void 0&&this.queueWaiting.size()<t)return;this.queueRunning.size>0&&await this.queueRunning.values().next().value.finish.wait}}},Ee=new fp(1);async function Ox(e,t){let a,n=new nt(app,"Fetching notes from Zotero...");n.open();let i=Symbol();try{await Ee.wait(i),a=await(0,Pe.request)({method:"POST",url:`http://127.0.0.1:${Dt(t.database,t.port)}/better-bibte
Line truncated
|
||||||
|
|
||||||
|
%% Import Date: ${(0,sn.moment)().toISOString(!0)} %%
|
||||||
|
`}function Gx(e){let t=e.match(/%% Begin annotations %%([\w\W]+)%% End annotations %%/);return t&&t[1]?t[1].trim():""}function Hx(e){return`
|
||||||
|
%% Begin annotations %%
|
||||||
|
${e}
|
||||||
|
%% End annotations %%
|
||||||
|
`}function ln(e){return e.startsWith("/")?e.replace(/^\/+/,""):e}function bp(e){return e.endsWith(".md")||(e+=".md"),e.startsWith("/")&&(e=ln(e)),e}async function gp(e,t,a,n){let i=new DOMParser().parseFromString(t,"text/html"),r=i.querySelectorAll("[data-annotation]"),o=i.querySelectorAll("[data-citation]");for(let s of Array.from(r))try{let l=s.dataset.annotation,u=l?JSON.parse(decodeURIComponent(l)):null;if(!u)return;let c=u.annotationKey,f=s instanceof HTMLImageElement;if(f){let p=a[c];if(p){let b=cn.default.parse(p),d=await bO(c,b.ext.slice(1),n),h=cn.default.parse(cn.default.join(an(),d)).dir;(0,Oa.existsSync)(h)||(0,Oa.mkdirSync)(h,{recursive:!0});let v=cn.default.join(b.dir,`${c}${b.ext}`);try{if(!(0,Oa.existsSync)(v)){let x=v;if(v=p,!(0,Oa.existsSync)(v))throw new Error("Cannot find annotation image: "+x)}(0,Oa.copyFileSync)(v,cn.default.join(an(),d))}catch(x){new zt.Notice("Error: unable to copy annotation image from Zotero into your vault",7e3),console.error(x)}s.src=d}}s.insertAdjacentElement(f?"afterend":"beforebegin",createEl("a",{text:"Go to annotation",href:Qt("open-pdf",u.attachmentURI,{page:u.pageLabel,annotation:u.annotationKey})})),f?s.insertAdjacentElement("afterend",createEl("br")):s.insertAdjacentElement("beforebegin",createSpan({text:" "}))}catch(l){console.error(l)}return o.forEach(s=>{var l;try{let u=s.dataset.citation,c=u?JSON.parse(decodeURIComponent(u)):null;if(!c||!c.citationItems.length||!((l=c.citationItems[0].uris)!=null&&l.length))return;let f=s.querySelector("span");if(!f)return;let p=f.innerText;f.empty(),f.createEl("a",{text:p,href:Qt("select",c.citationItems[0].uris[0])})}catch(u){console.error(u)}}),i.body.innerHTML}async function xp(e,t){let a=await on(e);if(!a.length)return;let n=await Ox(a,e);if(!n){new zt.Notice("No notes found for selected items",7e3);return}let i=Object.keys(n);if(!i.length){new zt.Notice("No notes found for selected items",7e3);return}let r={};for(let s of a){let l=await Cs(s,e);if(l){let u={};l.forEach(c=>{var f;(f=c.annotations)==null||f.forEach(p=>{p.annotationType==="image"&&(u[p.key]=p.annotationImagePath)})}),r[s.key]=u}}let o={};for(let s of i){let l=[];for(let u of n[s])l.push((0,zt.htmlToMarkdown)(await gp(s,u,r[s],t)));o[s]=l.join(`
|
||||||
|
|
||||||
|
`)}return o}async function bO(e,t,a){let n=app.vault.getConfig("attachmentFolderPath"),i=n==="."||n==="./",r=null;n.startsWith("./")&&(r=n.slice(2)),i?n=a||"":r&&(n=cn.default.join(a||"",r)),n=(0,zt.normalizePath)(n);let o=app.vault.getAbstractFileByPathInsensitive(n);return!o&&r&&(await app.vault.createFolder(n),o=app.vault.getAbstractFileByPathInsensitive(n)),o instanceof zt.TFolder?`${o.getParentPrefix()+e}.${t}`:`${e}.${t}`}function Wx(e,t){e.replaceSelection(Object.values(t).join(`
|
||||||
|
|
||||||
|
`))}async function Vx(e,t){let a=Object.keys(t),n=[];for(let i of a){let r=await gO(e,i,t[i]);if(!r)break;n.push(r)}return n.map(i=>i.path)}async function gO(e,t,a){let n=(0,zt.normalizePath)(Vn(ln(`${e}/${t}.md`))),i=app.vault.getAbstractFileByPath(n);try{i?await app.vault.modify(i,a):(await Ss(n),i=await app.vault.create(n,a))}catch(r){return console.error(r),new zt.Notice(`Error creating file "${n}": ${r.message}`,1e4),null}return i}var un=require("obsidian"),_s=_e(require("path"));var xO={noWrite:"-w",imageOutputPath:"-o",imageBaseName:"-n",imageFormat:"-f",imageDPI:"-d",imageQuality:"-q",ignoreBefore:"-b",attemptOCR:"-e",ocrLang:"-l",tesseractPath:"--tesseract-path",tessDataDir:"--tess-data-dir"};async function yp(e,t,a){let n=new nt(app,"Extracting annotations...");n.open();let i=[e];Object.keys(t).forEach(r=>{let o=t[r];if(o===""||o===void 0)return"";let s=xO[r];typeof o=="boolean"?o&&i.push(s):(i.push(s),typeof o=="string"&&o.startsWith("-")?i.push(`"${o}"`):i.push(o.toString()))});try{if(!Cx(a))return new un.Notice("Error: PDF utility is not executable",1e4),"[]";let o=await er(a||_s.default.join(_t(),nn()),i);if(n.close(),o.stderr.toLowerCase().includes("password"))return new un.Notice(`Error opening ${_s.default.basename(e)}: PDF is password protected`,1e4),"[]";if(o.stderr&&!o.stderr.includes("warning"))throw new un.Notice(`Error processing PDF: ${o.stderr}`,1e4),new Error(o.stderr);return o.stdout}catch(r){if(n.close(),r.message.toLowerCase().includes("password"))return new un.Notice(`Error opening ${_s.default.basename(e)}: PDF is password protected`,1e4),"[]";if(r.message.toLowerCase().includes("type3"))return new un.Notice(`Error processing annotations: ${r.message}`,1e4),"[]";throw console.error(r),new un.Notice(`Error processing PDF: ${r.message}`,1e4),r}}async function yO(e,t,a,n,i){t.note&&(t.note=(0,Be.htmlToMarkdown)(await gp(e.key,t.note,{}))),t.dateAdded&&(t.dateAdded=(0,Be.moment)(t.dateAdded)),t.dateModified&&(t.dateModified=(0,Be.moment)(t.dateModified)),t.desktopURI=Qt("select",t.uri),t.relations=await Zx(t,e.library,a,n,i)}function wO(e){var t;e.dateAdded&&(e.dateAdded=(0,Be.moment)(e.dateAdded)),e.dateModified&&(e.dateModified=(0,Be.moment)(e.dateModified)),e.uri&&(e.itemKey=e.uri.split("/").pop(),e.desktopURI=e.select||Qt("select",e.uri),(t=e.path)!=null&&t.endsWith(".pdf")&&(e.pdfURI=Qt("open-pdf",e.uri)))}function Ux(e,t,a){e.date=(0,Be.moment)(e.date),e.attachment=t,e.source="pdf",e.imagePath&&(e.imageBaseName=Jt.default.basename(e.imagePath),e.imageExtension=Jt.default.extname(e.imagePath).slice(1),e.imageRelativePath=(0,Be.normalizePath)(Jt.default.join(a,e.imageBaseName))),e.desktopURI=Qt("open-pdf",t.uri,{page:e.pageLabel})}function Jx(e,t,a,n,i,r=!1){var l;let o=e.annotationPosition.rects[0],s={date:(0,Be.moment)(e.dateModified),attachment:t,page:e.annotationPosition.pageIndex+1,pageLabel:e.annotationPageLabel,id:e.key,type:e.annotationType,x:o[0],y:o[1],color:e.annotationColor,colorCategory:Px(e.annotationColor),desktopURI:Qt("open-pdf",t.uri,{page:e.annotationPageLabel,annotation:e.key}),source:"zotero"};if(e.annotationText&&(s.annotatedText=e.annotationText),e.annotationComment&&(s.comment=e.annotationComment),e.annotationImagePath){let u=Jt.default.parse(e.annotationImagePath);s.imageBaseName=`${i}-${s.page}-x${Math.round(s.x)}-y${Math.round(s.y)}${u.ext}`,s.imageRelativePath=(0,Be.normalizePath)(Jt.default.join(n,s.imageBaseName)),s.imageExtension=u.ext.slice(1);let c=Jt.default.join(a,s.imageBaseName);if(r){(0,Ra.existsSync)(a)||(0,Ra.mkdirSync)(a,{recursive:!0});let f=Jt.default.join(u.dir,`${e.key}${u.ext}`);try{if(!(0,Ra.existsSync)(f)){let p=f;if(f=e.annotationImagePath,!(0,Ra.existsSync)(f))throw new Error("Cannot find annotation image: "+p)}(0,Ra.copyFileSync)(f,c)}catch(p){new Be.Notice("Error: unable to copy annotation image from Zotero into your vault",7e3),console.error(p)}}s.imagePath=c}return(l=e.tags)!=null&&l.length&&(s.tags=e.tags,s.allTags=e.tags.map(u=>u.tag).join(", "),s.hashTags=e.tags.map(u=>`#${u.tag.replace(/\s+/g,"-")}`).join(", ")),s}function Fs(e){let t=[],a=/^\+\s*/;return e.forEach(n=>{if(typeof n.comment=="string"&&a.test(n.comment)){n.comment=n.comment.replace(a,"");let i=t[t.length-1];if(i){i.annotatedText=i.annotatedText?i.annotatedText+"..."+n.annotatedText:n.annotatedText,i.comment=i.comment?i.comment+"..."+n.comment:n.comment;return}}t.push(n)}),t}async function Zx(e,t,a,n,i){var o;if(e.relations&&!Array.isArray(e.relations)){let s=[];for(let l of Object.values(e.relations))Array.isArray(l)&&s.push(...l);e.relations=s}if(!((o=e.relations)!=null&&o.length))return[];let r=await Nx(t,e.relations,n);for(let s of r)rn(s)&&await Ps(s,a,n,i,!0);return r}async function Ps(e,t,a,n,i){let r=rn(e);if(e.importDate=t,e.exportDate=t,e.desktopURI=e.select||Qt("select",e.uri,e.itemKey),e.accessDate&&(e.accessDate=(0,Be.moment)(e.accessDate)),e.dateAdded&&(e.dateAdded=(0,Be.moment)(e.dateAdded)),e.dateModified&&(e.dateModified=(0,Be.moment)(e.da
Line truncated
|
||||||
|
|
||||||
|
${r}
|
||||||
|
${o}`}}}catch(n){}return a}function Ts(e,t,a){new Be.Notice(createFragment(n=>{n.createSpan({text:`Error parsing template "${t}": `}),n.createEl("code",{text:qx(e,a)})}),1e4)}function ks(e,t,a){return new Error(`Error parsing template "${t}": ${qx(e,a)}`)}async function wp(e,t,a,n){let{template:i,headerTemplate:r,annotationTemplate:o,footerTemplate:s}=await Dx(e);if(!i&&!r&&!o&&!s)throw new Error(`No templates found for export ${e.exportFormat.name}`);let l="",u=!1;if(i){try{l=await bt(e.exportFormat.templatePath,i,t),u=Kt.hasPersist(l)}catch(m){if(n)throw ks(m,e.exportFormat.templatePath,i);return Ts(m,e.exportFormat.templatePath,i),!1}return u?vp(l):l}let c="",f="",p="";try{c=r?await bt(e.exportFormat.headerTemplatePath,r,t):""}catch(m){if(n)throw ks(m,e.exportFormat.headerTemplatePath,r);return Ts(m,e.exportFormat.headerTemplatePath,r),!1}try{f=o?await bt(e.exportFormat.annotationTemplatePath,o,t):""}catch(m){if(n)throw ks(m,e.exportFormat.annotationTemplatePath,o);return Ts(m,e.exportFormat.annotationTemplatePath,o),!1}try{p=s?await bt(e.exportFormat.footerTemplatePath,s,t):""}catch(m){if(n)throw ks(m,e.exportFormat.footerTemplatePath,s);return Ts(m,e.exportFormat.footerTemplatePath,s),!1}let b=[];r&&c.trim()&&b.push(c);let d=o&&(a+f).trim();return d&&b.push(Hx(a+f)),s&&p.trim()&&b.push(p),d?vp(b.join("")):b.join("")}function EO({exportFormat:e}){return e.templatePath||e.headerTemplatePath||e.annotationTemplatePath||e.footerTemplatePath||""}async function Xx(e,t){let a={};try{let n=rn(e);n&&(a=(await Cs(n,t)||[]).reduce((r,o)=>(o!=null&&o.path&&(r[o.path]=o),r),{}))}catch(n){console.error(n)}return a}async function $x(e,t,a){var i;let n=t.attachments.find(r=>{var o,s;return((o=r.path)==null?void 0:o.endsWith(".pdf"))&&((s=r.annotations)==null?void 0:s.length)});return t.annotations=(i=n==null?void 0:n.annotations)!=null?i:[],t.lastImportDate=a,t.lastExportDate=a,t.isFirstImport=a.valueOf()===0,await ws(e,t)}async function Ep(e,t){var h,v;let a=(0,Be.moment)(),{database:n,exportFormat:i,settings:r}=e,o=EO(e),s=Hn(),l=t||await on(n);if(!l.length)return[];let u=l[0].library,c;try{c=await nr(l,n,u)}catch(x){return[]}let f=[];for(let x=0,E=c.length;x<E;x++)await Ps(c[x],a,n,i.cslStyle);let p=an(),b=new Map,d=async(x,E)=>{if(!b.has(x)){let g=app.vault.getAbstractFileByPath(x),w=g?await app.vault.cachedRead(g):"",C=g?Gx(w):"",y=g?zx(w):(0,Be.moment)(0);b.set(x,{item:E,file:g,fileContent:w,lastImportDate:y,existingAnnotations:C})}},m=async x=>(0,Be.normalizePath)(Vn(ln(await bt(o,i.outputPathTemplate,x))));for(let x=0,E=c.length;x<E;x++){let g=c[x],w=g.attachments,C=await Xx(g,n);if(!w.length){let y=await ws(o,{annotations:[],...g}),S=await m(y);await d(S,g);continue}for(let y=0,S=w.length;y<S;y++){let A=w[y],_=A.path,P=_==null?void 0:_.endsWith(".pdf"),F=await ws(o,{annotations:[],...A,...g}),B=i.imageOutputPathTemplate?(0,Be.normalizePath)(Vn(ln(await bt(o,i.imageOutputPathTemplate,F)))):"",j=Jt.default.resolve(p,B),L=i.imageBaseNameTemplate?Vn(ln(await bt(o,i.imageBaseNameTemplate,F))):"image",k=await m(F),T=[];if(P&&((v=(h=C[_])==null?void 0:h.annotations)==null||v.forEach(N=>{var M;(M=N.annotationPosition.rects)!=null&&M.length&&T.push(Jx(N,A,j,B,L,!0))})),T.length&&r.shouldConcat&&(T=Fs(T)),P&&s)try{let N=await yp(_,{imageBaseName:L,imageDPI:r.pdfExportImageDPI,imageFormat:r.pdfExportImageFormat,imageOutputPath:j,imageQuality:r.pdfExportImageQuality,attemptOCR:r.pdfExportImageOCR,ocrLang:r.pdfExportImageOCRLang,tesseractPath:r.pdfExportImageTesseractPath,tessDataDir:r.pdfExportImageTessDataDir},r.exeOverridePath),M=JSON.parse(N);for(let D of M)Ux(D,A,B);r.shouldConcat&&M.length&&(M=Fs(M)),T.push(...M)}catch(N){}T.length&&(A.annotations=T),await d(k,g)}}for(let[x,E]of b.entries())try{let{existingAnnotations:g,file:w,fileContent:C,item:y,lastImportDate:S}=E,A=await $x(x,y,S),_=await wp(e,Kt.prepareTemplateData(A,C),g);if(!_)continue;w?await app.vault.modify(w,_):(await Ss(x),await app.vault.create(x,_)),f.push(x)}catch(g){new Be.Notice(`Import failed for ${x}, check developer console for details`,7e3),console.error(g)}return f}async function Yx(e){let t=(0,Be.moment)(),{database:a,format:n}=e,i=await on(a);if(!i.length)return null;let r=i[0].library,o;try{o=await nr(i,a,r)}catch(l){return null}if(o.length===0)return null;let s=[];for(let l=0,u=o.length;l<u;l++){await Ps(o[l],t,a,n.cslStyle);let c=o[l].attachments||[],p={attachment:c.find(b=>{var d;return!!((d=b.path)!=null&&d.endsWith(".pdf"))})||c.length?c[0]:null,...o[l]};s.push(await bt("",n.template,p))}return s.join(" ")}function SO(e){let t=e.exportFormats.find(n=>!!n.cslStyle);if(t)return t.cslStyle;let a=e.citeFormats.find(n=>!!n.cslStyle);if(a)return a.cslStyle}async function Kx(e){var u,c;let t={database:e.database,port:e.port},a=await on(t),n=Hn();if(!a.length)return null;let i=a[0].library,r;try{r=await nr(a,t,i)}catch(f){return null}let o=(0,Be.moment)(),s=SO(e);for(let f=0,p=r.length;f<p;f++)await Ps(r[f],o,t,s);let l=an();for(let f=0,p=r.len
Line truncated
|
||||||
|
{% item %}
|
||||||
|
{% endfor %}`)})),o.preventDefault(),s.showAtMouseEvent(o)}},a?"Template Data":e[0])},kO=e=>e.map(PO).reverse().join(""),FO=/^[$_\p{ID_Start}][$\u200c\u200d\p{ID_Continue}]*$/u,PO=(e,t,a)=>typeof e=="number"?`[${e}]`:FO.test(e)?t===a.length-1?`${e}`:`.${e}`:`[${JSON.stringify(e)}]`,OO=/^#(?:[\dA-F]{3}){1,2}$|^#(?:[\dA-F]{4}){1,2}$/i,RO=(e,t)=>t instanceof Ba.moment?I.createElement(I.Fragment,null,"\u{1F4C5} ",t.format("l LTS")):typeof t=="string"&&OO.test(t)?I.createElement(I.Fragment,null,I.createElement("span",{style:{backgroundColor:t},className:"zt-color-chip"}),t):typeof t=="string"&&t.length>800?t.slice(0,800)+"...":e;var ZA=_e(UA()),Zl=require("obsidian"),Sf=_e(require("os"));var JA=require("obsidian");function ca({name:e,className:t}){return I.createElement("span",{"data-icon":e,className:t,ref:a=>{a&&(0,JA.setIcon)(a,e)}})}function s9({name:e,description:t}){return I.createElement("div",{className:"setting-item-info"},I.createElement("div",{className:"setting-item-name"},e),I.createElement("div",{className:"setting-item-description"},t))}function He({name:e,description:t,children:a,isHeading:n}){return I.createElement("div",{className:`zt-setting-item setting-item${n?" setting-item-heading":""}`},I.createElement(s9,{name:e,description:t}),I.createElement("div",{className:"setting-item-control"},a))}var Va="1.0.15",Cf=1,l9={darwin:{x64:`https://github.com/mgmeyers/pdfannots2json/releases/download/${Va}/pdfannots2json.Mac.Intel.tar.gz`,arm64:`https://github.com/mgmeyers/pdfannots2json/releases/download/${Va}/pdfannots2json.Mac.M1.tar.gz`},linux:{x64:`https://github.com/mgmeyers/pdfannots2json/releases/download/${Va}/pdfannots2json.Linux.x64.tar.gz`},win32:{x64:`https://github.com/mgmeyers/pdfannots2json/releases/download/${Va}/pdfannots2json.Windows.x64.zip`}};function c9(){let e=l9[Sf.default.platform()];if(!e)return null;let t=e[Sf.default.arch()];return t||null}async function Af(){let e=c9();if(console.log("Obsidian Zotero Integration: Downloading "+e),!e)return!1;try{xx()&&Ex(),gx()&&wx(),Hn()&&yx(),await(0,ZA.default)(e,_t(),{extract:!0}),vx()}catch(t){console.error(t),new Zl.Notice("Error downloading PDF utility. Check the console for more details.",1e4)}return!0}function qA(e){let[t,a]=I.useState(null),[n,i]=I.useState(!1),[r,o]=I.useState(!1),[s,l]=I.useState(e.settings.exeOverridePath),u=I.useMemo(()=>(0,Zl.debounce)(m=>{l(m),e.updateSetting("exeOverridePath",m)},150,!0),[]);I.useEffect(()=>{let m=Hn(s);o(m),m&&Sx(s).then(h=>{a(`v${Va}`===h)}).catch(()=>{})},[s]);let c=I.useCallback(()=>{i(!0),Af().then(m=>{i(!1),m&&(a(!0),o(!0))})},[]),f=["Extracting data from PDFs requires an external tool.","This plugin will still work without it, but annotations will not be included in exports."],b=I.createElement(He,{name:"PDF Utility Path Override",description:I.createElement(I.Fragment,null,"Override the path to the PDF utility. Specify an absolute path to the pdfannots2json executable."," ",I.createElement("a",{href:"https://github.com/mgmeyers/pdfannots2json/releases",target:"_blank",rel:"noreferrer"},"Download the executable here.")," ","You may need to provide Obsidian the appropriate OS permissions to access the executable.")},I.createElement("input",{onChange:m=>u(m.target.value),type:"text",spellCheck:!1,value:s}),I.createElement("div",{className:"clickable-icon setting-editor-extra-setting-button","aria-label":"Select the pdfannots2json executable",onClick:()=>{let m=require("electron").remote.dialog.showOpenDialogSync({properties:["openFile"]});m&&m.length&&u(m[0])}},I.createElement(ca,{name:"lucide-folder-open"})));if(r&&t)return I.createElement(I.Fragment,null,I.createElement(He,{name:"PDF Utility",description:f.join(" ")},I.createElement("div",{className:"zt-asset-success"},I.createElement("div",{className:"zt-asset-success__icon"},I.createElement(ca,{name:"check-small"})),I.createElement("div",{className:"zt-asset-success__message"},"PDF utility is up to date."))),b);let d=I.createElement(I.Fragment,null,f.join(" ")," ",r&&I.createElement("strong",{className:"mod-warning"},"The PDF extraction tool requires updating. Please re-download."),!r&&!s&&I.createElement("strong",null,"Click the button to download."));return I.createElement(I.Fragment,null,I.createElement(He,{name:"PDF Utility",description:d},!s&&I.createElement("button",{disabled:n,onClick:c},n?"Downloading...":"Download")),b)}var Ja=require("obsidian");var V_=_e(r2());function o2(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),a.push.apply(a,n)}return a}function ae(e){for(var t=1;t<arguments.length;t++){var a=arguments[t]!=null?arguments[t]:{};t%2?o2(Object(a),!0).forEach(function(n){jt(e,n,a[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):o2(Object(a)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(a,n))})}return
Line truncated
|
||||||
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ql(e){return Rf(e)||Bf(e)||Gi(e)||Nf()}function m9(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function h9(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var l2=function(){function e(a){var n=this;this._insertTag=function(i){var r;n.tags.length===0?n.insertionPoint?r=n.insertionPoint.nextSibling:n.prepend?r=n.container.firstChild:r=n.before:r=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(i,r),n.tags.push(i)},this.isSpeedy=a.speedy===void 0?!0:a.speedy,this.tags=[],this.ctr=0,this.nonce=a.nonce,this.key=a.key,this.container=a.container,this.prepend=a.prepend,this.insertionPoint=a.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(h9(this));var i=this.tags[this.tags.length-1];if(!1)var r;if(this.isSpeedy){var o=m9(i);try{o.insertRule(n,o.cssRules.length)}catch(s){}}else i.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){return n.parentNode&&n.parentNode.removeChild(n)}),this.tags=[],this.ctr=0},e}();var dt="-ms-",jr="-moz-",Se="-webkit-",Xl="comm",mi="rule",hi="decl";var c2="@import";var $l="@keyframes";var u2="@layer";var p2=Math.abs,xn=String.fromCharCode,d2=Object.assign;function f2(e,t){return $e(e,0)^45?(((t<<2^$e(e,0))<<2^$e(e,1))<<2^$e(e,2))<<2^$e(e,3):0}function Yl(e){return e.trim()}function jf(e,t){return(e=t.exec(e))?e[0]:e}function ye(e,t,a){return e.replace(t,a)}function Lr(e,t){return e.indexOf(t)}function $e(e,t){return e.charCodeAt(t)|0}function Ua(e,t,a){return e.slice(t,a)}function yt(e){return e.length}function bi(e){return e.length}function gi(e,t){return t.push(e),e}function Lf(e,t){return e.map(t).join("")}var Kl=1,xi=1,m2=0,wt=0,Qe=0,wi="";function Mr(e,t,a,n,i,r,o){return{value:e,root:t,parent:a,type:n,props:i,children:r,line:Kl,column:xi,length:o,return:""}}function Ei(e,t){return d2(Mr("",null,null,"",null,null,0),e,{length:-e.length},t)}function h2(){return Qe}function v2(){return Qe=wt>0?$e(wi,--wt):0,xi--,Qe===10&&(xi=1,Kl--),Qe}function Et(){return Qe=wt<m2?$e(wi,wt++):0,xi++,Qe===10&&(xi=1,Kl++),Qe}function Ht(){return $e(wi,wt)}function Dr(){return wt}function Si(e,t){return Ua(wi,e,t)}function yi(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Ql(e){return Kl=xi=1,m2=yt(wi=e),wt=0,[]}function ec(e){return wi="",e}function Ci(e){return Yl(Si(wt-1,Mf(e===91?e+2:e===40?e+1:e)))}function b2(e){for(;(Qe=Ht())&&Qe<33;)Et();return yi(e)>2||yi(Qe)>3?"":" "}function g2(e,t){for(;--t&&Et()&&!(Qe<48||Qe>102||Qe>57&&Qe<65||Qe>70&&Qe<97););return Si(e,Dr()+(t<6&&Ht()==32&&Et()==32))}function Mf(e){for(;Et();)switch(Qe){case e:return wt;case 34:case 39:e!==34&&e!==39&&Mf(Qe);break;case 40:e===41&&Mf(e);break;case 92:Et();break}return wt}function x2(e,t){for(;Et()&&e+Qe!==47+10;)if(e+Qe===42+42&&Ht()===47)break;return"/*"+Si(t,wt-1)+"*"+xn(e===47?e:Et())}function y2(e){for(;!yi(Ht());)Et();return Si(e,wt)}function S2(e){return ec(tc("",null,null,null,[""],e=Ql(e),0,[0],e))}function tc(e,t,a,n,i,r,o,s,l){for(var u=0,c=0,f=o,p=0,b=0,d=0,m=1,h=1,v=1,x=0,E="",g=i,w=r,C=n,y=E;h;)switch(d=x,x=Et()){case 40:if(d!=108&&$e(y,f-1)==58){Lr(y+=ye(Ci(x),"&","&\f"),"&\f")!=-1&&(v=-1);break}case 34:case 39:case 91:y+=Ci(x);break;case 9:case 10:case 13:case 32:y+=b2(d);break;case 92:y+=g2(Dr()-1,7);continue;case 47:switch(Ht()){case 42:case 47:gi(v9(x2(Et(),Dr()),t,a),l);break;default:y+="/"}break;case 123*m:s[u++]=yt(y)*v;case 125*m:case 59:case 0:switch(x){case 0:case 125:h=0;case 59+c:v==-1&&(y=ye(y,/\f/g,"")),b>0&&yt(y)-f&&gi(b>32?E2(y+";",n,a,f-1):E2(ye(y," ","")+";",n,a,f-2),l);break;case 59:y+=";";default:if(gi(C=w2(y,t,a,u,c,i,s,E,g=[],w=[],f),r),x===123)if(c===0)tc(y,t,C,C,g,r,f,s,w);else switch(p===99&&$e(y,3)===110?100:p){case 100:case 108:case 109:case 115:tc(e,C,C,n&&gi(w2(e,C,C,0,0,i,s,E,i,g=[],f),w),i,w,f,s,n?g:w);break;default:tc(y,C,C,C,[""],w,0,s,w)}}u=c=b=0,m=v=1,E=y="",f=o;break;case 58:f=1+yt(y),b=d;default:if(m<1){if(x==123)--m;else if(x==125&&m++==0&&v2()==125)continue}switch(y+=xn(x),x*m){case 38:v=c>0?1:(y+="\f",-1);break;case 44:s[u++]=(yt(y)-1)*v,v=1;break;case 64:Ht()===45&&(y+=Ci(Et())),p=Ht(),c=f=yt(E=y+=y2(Dr())),x++;break;case 45:d===45&&yt(y)==2&&(m=0)}}return r}function w2(e,t,a,n,i,r,o,s,l,u,c){for(var f=i-1,p=i===0?r:[""],b=bi(p),d=0,m=0,h=0;d<n;++d)for(var v=0,x=Ua(e,f+1,f=p2(m=o[d])),E=e;v<b;++v)(E=Yl(m>0?p[v]+" "+x:ye(x,/&
Line truncated
|
||||||
|
0%, 80%, 100% { opacity: 0; }
|
||||||
|
40% { opacity: 1; }
|
||||||
|
`]))),DI=function(t,a){var n=t.isFocused,i=t.size,r=t.theme,o=r.colors,s=r.spacing.baseUnit;return ae({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:i,lineHeight:1,marginRight:i,textAlign:"center",verticalAlign:"middle"},a?{}:{color:n?o.neutral60:o.neutral20,padding:s*2})},rm=function(t){var a=t.delay,n=t.offset;return re("span",{css:Gr({animation:"".concat(wL," 1s ease-in-out ").concat(a,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},zI=function(t){var a=t.innerProps,n=t.isRtl;return re("div",W({},Ze(t,"loadingIndicator",{indicator:!0,"loading-indicator":!0}),a),re(rm,{delay:0,offset:n}),re(rm,{delay:160,offset:!0}),re(rm,{delay:320,offset:!n}))};zI.defaultProps={size:4};var GI=function(t,a){var n=t.isDisabled,i=t.isFocused,r=t.theme,o=r.colors,s=r.borderRadius,l=r.spacing;return ae({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:l.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},a?{}:{backgroundColor:n?o.neutral5:o.neutral0,borderColor:n?o.neutral10:i?o.primary:o.neutral20,borderRadius:s,borderStyle:"solid",borderWidth:1,boxShadow:i?"0 0 0 1px ".concat(o.primary):void 0,"&:hover":{borderColor:i?o.primary:o.neutral30}})},EL=function(t){var a=t.children,n=t.isDisabled,i=t.isFocused,r=t.innerRef,o=t.innerProps,s=t.menuIsOpen;return re("div",W({ref:r},Ze(t,"control",{control:!0,"control--is-disabled":n,"control--is-focused":i,"control--menu-is-open":s}),o),a)},SL=EL,CL=["data"],HI=function(t,a){var n=t.theme.spacing;return a?{}:{paddingBottom:n.baseUnit*2,paddingTop:n.baseUnit*2}},AL=function(t){var a=t.children,n=t.cx,i=t.getStyles,r=t.getClassNames,o=t.Heading,s=t.headingProps,l=t.innerProps,u=t.label,c=t.theme,f=t.selectProps;return re("div",W({},Ze(t,"group",{group:!0}),l),re(o,W({},s,{selectProps:f,theme:c,getStyles:i,getClassNames:r,cx:n}),u),re("div",null,a))},WI=function(t,a){var n=t.theme,i=n.colors,r=n.spacing;return ae({label:"group",cursor:"default",display:"block"},a?{}:{color:i.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:r.baseUnit*3,paddingRight:r.baseUnit*3,textTransform:"uppercase"})},IL=function(t){var a=pI(t);a.data;var n=Wt(a,CL);return re("div",W({},Ze(t,"groupHeading",{"group-heading":!0}),n))},_L=AL,TL=["innerRef","isDisabled","isHidden","inputClassName"],VI=function(t,a){var n=t.isDisabled,i=t.value,r=t.theme,o=r.spacing,s=r.colors;return ae(ae({visibility:n?"hidden":"visible",transform:i?"translateZ(0)":""},kL),a?{}:{margin:o.baseUnit/2,paddingBottom:o.baseUnit/2,paddingTop:o.baseUnit/2,color:s.neutral80})},UI={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},kL={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":ae({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},UI)},FL=function(t){return ae({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},UI)},PL=function(t){var a=t.cx,n=t.value,i=pI(t),r=i.innerRef,o=i.isDisabled,s=i.isHidden,l=i.inputClassName,u=Wt(i,TL);return re("div",W({},Ze(t,"input",{"input-container":!0}),{"data-value":n||""}),re("input",W({className:a({input:!0},l),ref:r,style:FL(s),disabled:o},u)))},OL=PL,JI=function(t,a){var n=t.theme,i=n.spacing,r=n.borderRadius,o=n.colors;return ae({label:"multiValue",display:"flex",minWidth:0},a?{}:{backgroundColor:o.neutral10,borderRadius:r/2,margin:i.baseUnit/2})},ZI=function(t,a){var n=t.theme,i=n.borderRadius,r=n.colors,o=t.cropWithEllipsis;return ae({overflow:"hidden",textOverflow:o||o===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},a?{}:{borderRadius:i/2,color:r.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},qI=function(t,a){var n=t.theme,i=n.spacing,r=n.borderRadius,o=n.colors,s=t.isFocused;return ae({alignItems:"center",display:"flex"},a?{}:{borderRadius:r/2,backgroundColor:s?o.dangerLight:void 0,paddingLeft:i.baseUnit,paddingRight:i.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}})},XI=function(t){var a=t.children,n=t.innerProps;return re("div",n,a)},RL=XI,BL=XI;function NL(e){var t=e.children,a=e.innerProps;return re("div",W({role:"button"},a),t||re(cm,{size:14}))}var jL=function(t){var a=t.children,n=t.components,i=t.data,r=t.innerProps,o=t.isDisabled,s=t.removeProps,l=t.selectProps,u=n.Container,c=n.Label,f=n.Remove;return re(u,{data:i,innerProps:ae(ae({},Ze(t,"multiValue",{"multi-value":!0,"multi-value--is-disabled":o})),r),selectProps:l},re(c,{data:i,innerProps:ae({},Ze(t,"multiValueLabel",{"multi-value__label":!0})),selectProps:l},a),re(f,{data:i,innerProps:ae(ae({},Ze(t,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(a||"option")},s),selectProps:l}))},LL=jL,$I=function(t,a){var n=t.isDisabled,i=t.isFocused,r=t.isSelected,
Line truncated
|
||||||
|
/*! Bundled license information:
|
||||||
|
|
||||||
|
nunjucks/browser/nunjucks.js:
|
||||||
|
(*! Browser bundle of nunjucks 3.2.4 *)
|
||||||
|
|
||||||
|
safe-buffer/index.js:
|
||||||
|
(*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)
|
||||||
|
|
||||||
|
content-disposition/index.js:
|
||||||
|
(*!
|
||||||
|
* content-disposition
|
||||||
|
* Copyright(c) 2014-2017 Douglas Christopher Wilson
|
||||||
|
* MIT Licensed
|
||||||
|
*)
|
||||||
|
|
||||||
|
object-assign/index.js:
|
||||||
|
(*
|
||||||
|
object-assign
|
||||||
|
(c) Sindre Sorhus
|
||||||
|
@license MIT
|
||||||
|
*)
|
||||||
|
|
||||||
|
is-natural-number/index.js:
|
||||||
|
(*!
|
||||||
|
* is-natural-number.js | MIT (c) Shinnosuke Watanabe
|
||||||
|
* https://github.com/shinnn/is-natural-number.js
|
||||||
|
*)
|
||||||
|
|
||||||
|
strip-dirs/index.js:
|
||||||
|
(*!
|
||||||
|
* strip-dirs | MIT (c) Shinnosuke Watanabe
|
||||||
|
* https://github.com/shinnn/node-strip-dirs
|
||||||
|
*)
|
||||||
|
|
||||||
|
has-symbol-support-x/index.js:
|
||||||
|
(**
|
||||||
|
* @file Tests if ES6 Symbol is supported.
|
||||||
|
* @version 1.4.2
|
||||||
|
* @author Xotic750 <Xotic750@gmail.com>
|
||||||
|
* @copyright Xotic750
|
||||||
|
* @license {@link <https://opensource.org/licenses/MIT> MIT}
|
||||||
|
* @module has-symbol-support-x
|
||||||
|
*)
|
||||||
|
|
||||||
|
has-to-string-tag-x/index.js:
|
||||||
|
(**
|
||||||
|
* @file Tests if ES6 @@toStringTag is supported.
|
||||||
|
* @see {@link http://www.ecma-international.org/ecma-262/6.0/#sec-@@tostringtag|26.3.1 @@toStringTag}
|
||||||
|
* @version 1.4.1
|
||||||
|
* @author Xotic750 <Xotic750@gmail.com>
|
||||||
|
* @copyright Xotic750
|
||||||
|
* @license {@link <https://opensource.org/licenses/MIT> MIT}
|
||||||
|
* @module has-to-string-tag-x
|
||||||
|
*)
|
||||||
|
|
||||||
|
mime-db/index.js:
|
||||||
|
(*!
|
||||||
|
* mime-db
|
||||||
|
* Copyright(c) 2014 Jonathan Ong
|
||||||
|
* Copyright(c) 2015-2022 Douglas Christopher Wilson
|
||||||
|
* MIT Licensed
|
||||||
|
*)
|
||||||
|
|
||||||
|
react-is/cjs/react-is.production.min.js:
|
||||||
|
(** @license React v16.13.1
|
||||||
|
* react-is.production.min.js
|
||||||
|
*
|
||||||
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||||
|
*
|
||||||
|
* This source code is licensed under the MIT license found in the
|
||||||
|
* LICENSE file in the root directory of this source tree.
|
||||||
|
*)
|
||||||
|
*/
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"id": "obsidian-zotero-desktop-connector",
|
||||||
|
"name": "Zotero Integration",
|
||||||
|
"version": "3.1.7",
|
||||||
|
"minAppVersion": "1.1.1",
|
||||||
|
"description": "Insert and import citations, bibliographies, notes, and PDF annotations from Zotero.",
|
||||||
|
"author": "mgmeyers",
|
||||||
|
"authorUrl": "https://github.com/mgmeyers/obsidian-zotero-integration",
|
||||||
|
"isDesktopOnly": true
|
||||||
|
}
|
||||||
Vendored
Executable
BIN
Binary file not shown.
@@ -0,0 +1,238 @@
|
|||||||
|
.zt-format {
|
||||||
|
border: 1px solid var(--background-modifier-border);
|
||||||
|
padding: 1rem;
|
||||||
|
background-color: var(--background-primary);
|
||||||
|
border-radius: 10px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-format__form {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: stretch;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
max-width: 600px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-format__form:last-child {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-format__label {
|
||||||
|
font-size: 0.9em;
|
||||||
|
font-weight: 600;
|
||||||
|
margin-bottom: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.is-deprecated .zt-format__label {
|
||||||
|
color: var(--text-error);
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-format__input-wrapper {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-format__input-wrapper textarea {
|
||||||
|
resize: vertical;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-format__input-wrapper > *:not(.checkbox-container) {
|
||||||
|
width: 100% !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.is-deprecated .zt-format__input-wrapper button {
|
||||||
|
width: auto !important;
|
||||||
|
flex-grow: 0;
|
||||||
|
flex-shrink: 0;
|
||||||
|
margin-left: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-format__delete-btn {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
line-height: 1;
|
||||||
|
padding: 7px 9px;
|
||||||
|
margin-left: 10px;
|
||||||
|
flex-shrink: 0;
|
||||||
|
flex-grow: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-json-viewer {
|
||||||
|
font-size: 13px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-json-viewer .react-json-view {
|
||||||
|
padding: 1em;
|
||||||
|
border-radius: 10px;
|
||||||
|
margin-top: 1em;
|
||||||
|
overflow: auto;
|
||||||
|
font-family: var(--font-monospace) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-json-viewer__btns {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: flex-start;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-json-viewer__btns label {
|
||||||
|
display: block;
|
||||||
|
font-weight: bold;
|
||||||
|
padding-top: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-json-viewer__btns select {
|
||||||
|
font-size: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-json-viewer__btns button {
|
||||||
|
font-size: 1em;
|
||||||
|
margin-right: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-json-viewer__preview,
|
||||||
|
.zt-json-viewer__data {
|
||||||
|
border: 1px solid var(--background-modifier-border);
|
||||||
|
border-radius: 10px;
|
||||||
|
padding: 1em;
|
||||||
|
margin-top: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-json-viewer__preview.error {
|
||||||
|
background-color: #ff000011;
|
||||||
|
font-family: var(--font-monospace);
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-json-viewer__preview pre {
|
||||||
|
overflow: auto;
|
||||||
|
white-space: pre-wrap;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-json-viewer__preview pre,
|
||||||
|
.zt-json-viewer__preview code {
|
||||||
|
font-family: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-json-viewer__preview:not(.error) pre {
|
||||||
|
font-family: var(--font-text, --font-default, --default-font);
|
||||||
|
max-height: 70vh;
|
||||||
|
min-height: 400px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-multiselect {
|
||||||
|
width: 300px;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-multiselect input {
|
||||||
|
outline: none !important;
|
||||||
|
box-shadow: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-format__input-note {
|
||||||
|
font-style: italic;
|
||||||
|
font-size: 0.9em;
|
||||||
|
padding-top: 10px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-setting-item pre,
|
||||||
|
.zt-format__input-note pre {
|
||||||
|
display: inline-block;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0 6px;
|
||||||
|
background-color: var(--background-secondary-alt);
|
||||||
|
border-radius: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-asset-success {
|
||||||
|
text-align: left;
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-asset-success__icon {
|
||||||
|
color: var(--interactive-success);
|
||||||
|
font-size: 24px;
|
||||||
|
margin-right: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-asset-success__icon svg {
|
||||||
|
width: 1em !important;
|
||||||
|
height: 1em !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-asset-success__message {
|
||||||
|
font-size: 0.9em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-suggest-title {
|
||||||
|
font-size: var(--font-ui-small);
|
||||||
|
color: var(--text-muted);
|
||||||
|
display: block;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
|
padding-top: var(--size-4-1);
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-suggest-loading-wrapper {
|
||||||
|
display: flex;
|
||||||
|
position: relative;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
padding: var(--size-4-2) 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-suggest-loading,
|
||||||
|
.zt-suggest-loading:before,
|
||||||
|
.zt-suggest-loading:after {
|
||||||
|
border-radius: 999px;
|
||||||
|
width: 1em;
|
||||||
|
height: 1em;
|
||||||
|
animation-fill-mode: both;
|
||||||
|
animation: bblFadInOut 1.6s infinite ease-in-out;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-suggest-loading {
|
||||||
|
display: block;
|
||||||
|
color: var(--text-muted);
|
||||||
|
font-size: 7px;
|
||||||
|
position: relative;
|
||||||
|
animation-delay: -0.16s;
|
||||||
|
top: -1em;
|
||||||
|
}
|
||||||
|
.zt-suggest-loading:before,
|
||||||
|
.zt-suggest-loading:after {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
}
|
||||||
|
.zt-suggest-loading:before {
|
||||||
|
left: -2em;
|
||||||
|
animation-delay: -0.32s;
|
||||||
|
}
|
||||||
|
.zt-suggest-loading:after {
|
||||||
|
left: 2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-color-chip {
|
||||||
|
display: inline-block;
|
||||||
|
width: 1em;
|
||||||
|
height: 1em;
|
||||||
|
border: 1px solid var(--background-modifier-border);
|
||||||
|
border-radius: var(--radius-s);
|
||||||
|
margin-right: var(--size-4-1);
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes bblFadInOut {
|
||||||
|
0%,
|
||||||
|
80%,
|
||||||
|
100% {
|
||||||
|
box-shadow: 0 1em 0 -1.3em;
|
||||||
|
}
|
||||||
|
40% {
|
||||||
|
box-shadow: 0 1em 0 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
Vendored
+27
@@ -0,0 +1,27 @@
|
|||||||
|
{
|
||||||
|
"types": {
|
||||||
|
"aliases": "aliases",
|
||||||
|
"cssclasses": "multitext",
|
||||||
|
"tags": "tags",
|
||||||
|
"excalidraw-plugin": "text",
|
||||||
|
"excalidraw-export-transparent": "checkbox",
|
||||||
|
"excalidraw-mask": "checkbox",
|
||||||
|
"excalidraw-export-dark": "checkbox",
|
||||||
|
"excalidraw-export-padding": "number",
|
||||||
|
"excalidraw-export-pngscale": "number",
|
||||||
|
"excalidraw-export-embed-scene": "checkbox",
|
||||||
|
"excalidraw-link-prefix": "text",
|
||||||
|
"excalidraw-url-prefix": "text",
|
||||||
|
"excalidraw-link-brackets": "checkbox",
|
||||||
|
"excalidraw-onload-script": "text",
|
||||||
|
"excalidraw-linkbutton-opacity": "number",
|
||||||
|
"excalidraw-default-mode": "text",
|
||||||
|
"excalidraw-font": "text",
|
||||||
|
"excalidraw-font-color": "text",
|
||||||
|
"excalidraw-border-color": "text",
|
||||||
|
"excalidraw-css": "text",
|
||||||
|
"excalidraw-autoexport": "text",
|
||||||
|
"excalidraw-iframe-theme": "text",
|
||||||
|
"excalidraw-open-md": "checkbox"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,3 +1,6 @@
|
|||||||
#book
|
---
|
||||||
|
date: "2024-01-05T17:15:38+0900"
|
||||||
|
---
|
||||||
|
#book #stub
|
||||||
|
|
||||||
[[ジョナサン・クレーリー]]
|
[[ジョナサン・クレーリー]]
|
||||||
@@ -1,3 +1,6 @@
|
|||||||
|
---
|
||||||
|
date: "2024-02-06T08:42:13+0900"
|
||||||
|
---
|
||||||
#queer #history #research
|
#queer #history #research
|
||||||
|
|
||||||
[[Jacob Gaboury]]によるRhizome.org上の連載シリーズ。(2013年)
|
[[Jacob Gaboury]]によるRhizome.org上の連載シリーズ。(2013年)
|
||||||
@@ -11,3 +14,9 @@ https://rhizome.org/editorial/2013/apr/09/queer-history-computing-part-three/
|
|||||||
https://rhizome.org/editorial/2013/may/06/queer-history-computing-part-four/
|
https://rhizome.org/editorial/2013/may/06/queer-history-computing-part-four/
|
||||||
|
|
||||||
https://rhizome.org/editorial/2013/jun/18/queer-history-computing-part-five/
|
https://rhizome.org/editorial/2013/jun/18/queer-history-computing-part-five/
|
||||||
|
|
||||||
|
[[Diminished Faculties - Jonathan Sterne]] を読んでから、[[Crip Theory]]の話を考えていると、「A Crip History of Computing」も色々書けそうに思う。
|
||||||
|
|
||||||
|
こっちの方が[[サイボーグ]]について[[ダナ・ハラウェイ]]とかもっとSFじみたマッチョな思想とかとの対立があるわけだし
|
||||||
|
|
||||||
|
[[サイボーグになる - キム・ウォニョン、キム・チョヨプ]]とかにヒントありそう
|
||||||
@@ -3,6 +3,7 @@ title: ACE アセクシュアルから見たセックスと社会のこと - ア
|
|||||||
tags:
|
tags:
|
||||||
- book
|
- book
|
||||||
- ace
|
- ace
|
||||||
|
date: "2023-11-02T00:29:37+0900"
|
||||||
---
|
---
|
||||||
|
|
||||||
2023年 [[左右社]]
|
2023年 [[左右社]]
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
---
|
||||||
|
date: "2024-02-05T12:49:01+0900"
|
||||||
|
---
|
||||||
#book #ace
|
#book #ace
|
||||||
|
|
||||||
初めはACEを取り扱った本、としようと思ったが、直接的に取り扱ってなくてもクィア・リーディングができるものも含めたいのでこういうタイトルにした
|
初めはACEを取り扱った本、としようと思ったが、直接的に取り扱ってなくてもクィア・リーディングができるものも含めたいのでこういうタイトルにした
|
||||||
@@ -9,6 +12,7 @@
|
|||||||
洋物、かつ映画が中心で漫画はちょっと少ないかな?
|
洋物、かつ映画が中心で漫画はちょっと少ないかな?
|
||||||
|
|
||||||
---
|
---
|
||||||
|
## 漫画
|
||||||
|
|
||||||
### [きみの世界に恋はない - 伊咲ウタ](https://www.pixiv.net/artworks/94103754)
|
### [きみの世界に恋はない - 伊咲ウタ](https://www.pixiv.net/artworks/94103754)
|
||||||
|
|
||||||
@@ -18,11 +22,15 @@
|
|||||||
|
|
||||||
恋愛感情を持たない主人公を含む4人の高校生活。こちらも上巻下巻でコンパクトで、直接的にアロマンティックという言葉を使うことはないけど、当事者の経験する戸惑いや共存を端的に描いている。
|
恋愛感情を持たない主人公を含む4人の高校生活。こちらも上巻下巻でコンパクトで、直接的にアロマンティックという言葉を使うことはないけど、当事者の経験する戸惑いや共存を端的に描いている。
|
||||||
|
|
||||||
|
|
||||||
### [違国日記 - ヤマシタトモコ](https://www.shodensha.co.jp/ikokunikki/)
|
### [違国日記 - ヤマシタトモコ](https://www.shodensha.co.jp/ikokunikki/)
|
||||||
|
|
||||||
「関係性に名前なんかなくていいんだよ」とサラッと言い切る槙生に救われた人間は私だけではないはず。これも直接的にアセクシュアルのようなワードが出てくるわけではないけど、クワロマンティックやリレーションシップ・アナーキーのようなものの入り口として見るのがいいかも。
|
「関係性に名前なんかなくていいんだよ」とサラッと言い切る槙生に救われた人間は私だけではないはず。これも直接的にアセクシュアルのようなワードが出てくるわけではないけど、クワロマンティックやリレーションシップ・アナーキーのようなものの入り口として見るのがいいかも。
|
||||||
|
|
||||||
|
### [作りたい女と食べたい女 - ゆざきさかおみ](https://product.kadokawa.co.jp/tsuku_tabe/)
|
||||||
|
|
||||||
|
矢子さんのキャラがすっごくいいなー、と思う。Aceにありがちな「broken(壊れた、ロボットみたいな、冷たい)」表象からの距離の置き方も相当意図的にやっているんではないか。5巻までの時点で矢子さんはすでに迷いを振り切った人として出てきているけれども、今後過去の葛藤とかも描かれるんだろうか。いや、過去の自認するまでの苦悩は出てきているものの、そこから今の矢子さんになるまでの道筋をもっと観てみたい。
|
||||||
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### [かぐや様は告らせたい~天才たちの恋愛頭脳戦~](https://kaguya.love/)
|
### [かぐや様は告らせたい~天才たちの恋愛頭脳戦~](https://kaguya.love/)
|
||||||
@@ -32,3 +40,16 @@
|
|||||||
### [2.5次元の誘惑(リリサ)- 橋本悠](https://www.shonenjump.com/j/rensai/list/nitengojigen.html)
|
### [2.5次元の誘惑(リリサ)- 橋本悠](https://www.shonenjump.com/j/rensai/list/nitengojigen.html)
|
||||||
|
|
||||||
こちらも苦手な人は特に序盤苦手だと思う。が、みんな言ってるように取り敢えず3巻までは読んでほしい。これも2000~2010年台の少年漫画ハーレムラブコメを下敷きにしつつ、そこで散見される都合の良さを全て都合よく終わらせないのがすごい。その上で扱うテーマがコスプレ=2.5次元であることで、フィクションの中の恋愛と現実の恋愛の交錯をメタに描くことにもなっている。ACEに関心がある人は頑張って140話(18巻)まで読んでほしい。フィクトロマンティックやポリアモリーの視点からも色々な語り方ができるはず。まだ未完なのでどう物語に決着つけるかも含めて楽しみ。
|
こちらも苦手な人は特に序盤苦手だと思う。が、みんな言ってるように取り敢えず3巻までは読んでほしい。これも2000~2010年台の少年漫画ハーレムラブコメを下敷きにしつつ、そこで散見される都合の良さを全て都合よく終わらせないのがすごい。その上で扱うテーマがコスプレ=2.5次元であることで、フィクションの中の恋愛と現実の恋愛の交錯をメタに描くことにもなっている。ACEに関心がある人は頑張って140話(18巻)まで読んでほしい。フィクトロマンティックやポリアモリーの視点からも色々な語り方ができるはず。まだ未完なのでどう物語に決着つけるかも含めて楽しみ。
|
||||||
|
|
||||||
|
|
||||||
|
## 映画
|
||||||
|
|
||||||
|
### そばかす
|
||||||
|
|
||||||
|
[映画『そばかす』|「(not) HEROINE movies」オフィシャルサイト](https://notheroinemovies.com/sobakasu/)
|
||||||
|
|
||||||
|
### 恋せぬふたり
|
||||||
|
|
||||||
|
[恋せぬふたり - NHK](https://www.nhk.jp/p/ts/VWNP71QQPV/)
|
||||||
|
|
||||||
|
|
||||||
@@ -1,3 +1,6 @@
|
|||||||
|
---
|
||||||
|
date: "2023-11-15T16:09:00+0900"
|
||||||
|
---
|
||||||
#audiomiddleware #gameaudio #programming #sound
|
#audiomiddleware #gameaudio #programming #sound
|
||||||
|
|
||||||
日本の会社CRIWAREが作ってる老舗オーディオミドルウェア
|
日本の会社CRIWAREが作ってる老舗オーディオミドルウェア
|
||||||
|
|||||||
@@ -1 +1,4 @@
|
|||||||
|
---
|
||||||
|
date: "2024-01-19T14:19:40+0900"
|
||||||
|
---
|
||||||
#person
|
#person
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
date: "2024-02-08T15:53:17+0900"
|
||||||
|
---
|
||||||
|
=[[アローセクシュアル]]、[[アローロマンティック]]
|
||||||
|
|
||||||
|
日本語だとAroとAlloの区別がつきにくいからごっちゃになりがち
|
||||||
@@ -1,3 +1,8 @@
|
|||||||
|
---
|
||||||
|
date: "2024-01-05T17:15:38+0900"
|
||||||
|
---
|
||||||
#book
|
#book
|
||||||
|
|
||||||
[[Paul Theberge]]
|
[[Paul Theberge]]
|
||||||
|
|
||||||
|
[[越領域的イノベーション]]
|
||||||
+4
-1
@@ -1 +1,4 @@
|
|||||||
#daw #music #software #stab
|
---
|
||||||
|
date: "2024-02-06T02:00:06+0900"
|
||||||
|
---
|
||||||
|
#daw #music #software #stub
|
||||||
@@ -1 +1,4 @@
|
|||||||
|
---
|
||||||
|
date: "2023-08-24T22:38:07+0900"
|
||||||
|
---
|
||||||
#tools #hardware #opensource
|
#tools #hardware #opensource
|
||||||
@@ -1,3 +1,6 @@
|
|||||||
|
---
|
||||||
|
date: "2024-01-17T08:16:16+0900"
|
||||||
|
---
|
||||||
#notion #sexuality
|
#notion #sexuality
|
||||||
|
|
||||||
[[アロマンティック]]-[[アセクシャル]]
|
[[アロマンティック]]-[[アセクシャル]]
|
||||||
@@ -4,6 +4,7 @@ tags:
|
|||||||
- tools
|
- tools
|
||||||
- hardware
|
- hardware
|
||||||
- digital-fabrication
|
- digital-fabrication
|
||||||
|
date: "2023-08-30T14:41:41+0900"
|
||||||
---
|
---
|
||||||
|
|
||||||
Evil Mad Scientist社のプロッター
|
Evil Mad Scientist社のプロッター
|
||||||
|
|||||||
@@ -0,0 +1,11 @@
|
|||||||
|
---
|
||||||
|
date: "2024-02-08T15:53:17+0900"
|
||||||
|
---
|
||||||
|
#socialmedia
|
||||||
|
|
||||||
|
[@tomoya.matsuuratomoya.com on Bluesky](https://bsky.app/profile/tomoya.matsuuratomoya.com)
|
||||||
|
|
||||||
|
基本は[[Mastodon]]からクロスポストする運用中。
|
||||||
|
|
||||||
|
- [[BlueskyのPDSをCloudflare Tunnel環境でセルフホストする]]
|
||||||
|
- [[MastodonからBlueskyにクロスポストする]]
|
||||||
@@ -0,0 +1,114 @@
|
|||||||
|
---
|
||||||
|
date: "2024-02-08T15:53:17+0900"
|
||||||
|
---
|
||||||
|
#self-hosted #bsky
|
||||||
|
|
||||||
|
立ちました。
|
||||||
|
[[Bluesky]]
|
||||||
|
[@tomoya.matsuuratomoya.com on Bluesky](https://bsky.app/profile/tomoya.matsuuratomoya.com)
|
||||||
|
|
||||||
|
公式リポジトリ
|
||||||
|
|
||||||
|
- [GitHub - bluesky-social/pds: Bluesky PDS (Personal Data Server) container image, compose file, and documentation](https://github.com/bluesky-social/pds)
|
||||||
|
- 公式のリポジトリのコードはインストールスクリプトと、管理ツール`pdsadmin`コマンドのシェルスクリプトがあるだけで、実際のDockerイメージになるパッケージとかはatprotoのリポジトリ内にある
|
||||||
|
- [atproto/packages/pds at main · bluesky-social/atproto · GitHub](https://github.com/bluesky-social/atproto/tree/main/packages/pds)
|
||||||
|
|
||||||
|
日本語のリソース
|
||||||
|
|
||||||
|
- [一番詳しい ATProtocol PDS のセットアップガイド](https://zenn.dev/neody/articles/2efd51216be32c?cache)
|
||||||
|
- [Self-hosting PDSを建てる - Bluesky](https://scrapbox.io/Bluesky/Self-hosting_PDS%E3%82%92%E5%BB%BA%E3%81%A6%E3%82%8B)
|
||||||
|
- [さくらの VPS で Bluesky PDS (Personal Data Server) をセルフホストしてみる - WWW WATCH](https://hyper-text.org/archives/2024/02/bluesky_pds_self_hosting/)
|
||||||
|
- [DockerなしでBlueskyのPDSを建てる方法 | 点と接線。](https://riq0h.jp/2024/02/25/085804/)
|
||||||
|
|
||||||
|
基本的には公式のリソースに従うのが一番。インストールスクリプトを実行すると`/pds`ディレクトリ以下に必要なリソースをコピーして、Dockerのインストールも含めて面倒を見てくれるので、すでにDockerで色々立ち上げてる人には逆にめんどくさいかもしれない。(DNSの設定とかをDockerホスト側の設定含めチェックする必要があるからこういうやり方にしている…っぽい。)
|
||||||
|
|
||||||
|
私はせっかく[[Proxmox]]環境なので、諦めて一個LXCコンテナを増やすことにした。
|
||||||
|
|
||||||
|
## Cloudflare環境でのハンドル解決問題
|
||||||
|
|
||||||
|
BlueskyのATプロトコルはDNSレベルでのハンドル解決を行う。そのため、例えばサーバーを`bsky.matsuuratomoya.com`でホストすると、通常はアカウントはサブドメインの`tomoya.bsky.matsuuratomoya.com`で解決されなければならない。
|
||||||
|
|
||||||
|
ここで、私の環境では問題が二つ。
|
||||||
|
|
||||||
|
- `bsky.matsuuratomoya.com`と`${handle}.bsky.matsuuratomoya.com`はどちらもpdsのサーバーのIPアドレスにAレコードで解決されなければならない。
|
||||||
|
- また実際のトラフィックはポート80、443をサーバーまで到達できるようにしなければならない。
|
||||||
|
|
||||||
|
立ち上げたサーバーが固定グローバルIPを持つ場合特に問題ない。私のサーバーはIPoE環境なので、IPv4で任意のポートを空けることができない。そのためWebサービスの公開には[[Cloudflare Tunnel]]を使っている。
|
||||||
|
|
||||||
|
この場合、必然的にネームサーバーもCloudflareのものを使うことになる。Cloudflareは自動でHTTPの接続をSSL化してくれるので、Let's Encryptとかの面倒な設定が要らないため便利。だが無料プランでは残念ながら二階層以上のサブドメイン、つまり`${handle}.bsky.matsuuratomoya.com`にはSSL証明書を発行してくれない。
|
||||||
|
|
||||||
|
解決策は次のどれかである
|
||||||
|
|
||||||
|
1. Cloudflareにお金を払ってSSL証明書を発行してもらう
|
||||||
|
2. サブサブドメイン部分だけどうにか別の方法で証明書を用意する
|
||||||
|
3. **自分一人のハンドル解決だけどうにかする設定にする**(今回はこれ)
|
||||||
|
|
||||||
|
## シングルユーザーインスタンス限定の解法
|
||||||
|
|
||||||
|
`/pds/pds.env`で`PDS_SERVICE_HANDLE_DOMAINS=.matsuuratomoya.com`のように指定すると、PDSサーバー自体のアドレスを`https://pds.matsuuratomoya.com`にしたまま、ハンドルのIDは`${handle}.matsuuratomoya.com`で設定できる。
|
||||||
|
|
||||||
|
もちろん、実際にはこの状態でアカウントをいくつも作っていっても、ハンドルIDが自分の立ち上げてる他のサーバーのアドレスとかち合ったりするので普通は運用できない。
|
||||||
|
|
||||||
|
しかし、使うユーザーが一人だけの場合は、`_atproto.${handle}.matsuuratomoya.com`にTXTレコードでアカウントのDID(永続性のあるアカウントID)を指定することでハンドルを解決すれば問題なく動かすことができる。
|
||||||
|
|
||||||
|
というわけで、まずは公式の`install.sh`で`pds.matsuuratomoya.com`上に一通りサーバーを立ち上げて、`/pds/pds.env`に`PDS_SERVICE_HANDLE_DOMAINS=.matsuuratomoya.com`を追記する。
|
||||||
|
ついでに、管理メールの送信用のSMTPの設定も済ましておく。
|
||||||
|
|
||||||
|
```
|
||||||
|
PDS_EMAIL_SMTP_URL=smtps://${_SMTP_USERNAME}:${_SMTP_PASSWORD}@${_SMTP_HOST}
|
||||||
|
PDS_EMAIL_FROM_ADDRESS=hogehoge@matsuuratomoya.com
|
||||||
|
```
|
||||||
|
(`PDS_EMAIL_FROM_ADDRESS`に関してはなぜかドキュメントに載っていなかった気がする)
|
||||||
|
|
||||||
|
その後`pdsadmin create-invite-code`でアカウント招待コードを作っておく。(`pdsadmin account create`だと先にハンドル解決ができないため招待コードを経由する)
|
||||||
|
|
||||||
|
### Cloudflare Tunnelを立ち上げる
|
||||||
|
|
||||||
|
Cloudflare Tunnelを立ち上げる。私は別の用途で色々使っているトンネルがあるのでここでは省略。
|
||||||
|
一度も使ったことがないなら、おすすめは`/pds`以下に`compose.override.yml`というファイルを作ってコンテナを追加するのが多分楽。
|
||||||
|
|
||||||
|
```
|
||||||
|
services:
|
||||||
|
tunnel:
|
||||||
|
container_name: cloudflared-tunnel
|
||||||
|
image: cloudflare/cloudflared:latest
|
||||||
|
volumes:
|
||||||
|
- ./cloudflared:/~/.cloudflared
|
||||||
|
restart: unless-stopped
|
||||||
|
command: tunnel run
|
||||||
|
privileged: true
|
||||||
|
environment:
|
||||||
|
- TUNNEL_TOKEN=<設定画面で出てきたトークン>
|
||||||
|
```
|
||||||
|
|
||||||
|
トンネルが開通したら、サーバーのローカルIP(同じdocker composeで立ち上げてるなら`localhost`でいい)に転送する。特にドキュメントに書かれてないが内部的には3000番でサーバーが立ち上がっているところに、[[Caddy]]でリバースプロキシをかけている。なので、トンネルではpds.matsuuratomoa.comに来るHTTPをそのまま3000番に転送してあげれば良い。
|
||||||
|
|
||||||
|
(つまりdocker composeで立ち上がっているcaddyのサーバーは無用の長物になっているため、気になる人はオリジナルの`compose.yml`でコメントアウトしてもいいと思う。私はどうせアップデートかけた時にcompose.ymlが巻き戻る気がしててめんどくさいのでやってない)
|
||||||
|
|
||||||
|
### PDSにログインする
|
||||||
|
|
||||||
|
https://bsky.app にアクセスして、アカウントを作成する。この時pdsがきちんと立ち上がっていれば、サーバーのアドレスにpds.matsuuratomoya.comを指定して次に進めるはず。
|
||||||
|
|
||||||
|
ここで先ほど作成した招待コードでアカウント作成を進める。アカウント名はなんでもいいが、`me`や`at`、`bsky`などシングルユーザーインスタンスなら使っても良さそうな短いハンドル名はコード上で予約IDとして(多分スパム防止)弾かれてしまう。(これは後々設定ファイルで弄れるようにしてほしい…。)
|
||||||
|
|
||||||
|
しょうがないので私は冗長だが`tomoya.matsuuratomoya.com`というハンドルを設定した。
|
||||||
|
|
||||||
|
ここで重要なのは、**このインスタンスでログインしている間、インスタンス上のアカウントのハンドル解決はあくまで内部的に**行われるということだ。
|
||||||
|
|
||||||
|
どういうことかというと、アカウント作成後、設定画面からハンドル変更で独自ドメインを指定することができる。
|
||||||
|
ここで例えばDNSを使用して`matsuuratomoya.com`というルートドメインをアカウントに設定することも、`_atproto`にTXTレコードをきちんと設定すれば、できる。ログアウトした状態なら正常にこのアカウントのプロフィールも表示できる。
|
||||||
|
|
||||||
|
ただし、`matsuuratomoya.com`を含むハンドルは`pds.matsuuratomoya.com`でログインしてる限り、あくまで内部でのハンドル解決が優先されDNSへの問い合わせはされない、ということらしい。ここがドキュメントでは明言されておらず自分のプロフィールが表示されないのに丸一日悩まされた。
|
||||||
|
|
||||||
|
### 他サーバーとの連携
|
||||||
|
|
||||||
|
肝心のFederationだが、残念ながら現在は一通り設定を済ませた後公式のDiscord([AT Protocol PDS Admins Discord](https://discord.gg/UWS6FFdhMe))でPDSサーバーのアドレスを添えて連携リクエストをbsky公式に出す必要がある(そうしないとbluesky.socialのアカウントからは見えないようになっている)
|
||||||
|
|
||||||
|
作れるアカウントも現在は10アカウントまで、投稿数にも(一人で使う分には問題ない程度の)制限がある。今後どのくらい盛り上がるんでしょうね。
|
||||||
|
|
||||||
|
## 要点まとめ
|
||||||
|
|
||||||
|
- 自分のpdsはcloudflare tunnelでpds.matsuuratomoya.comをポート3000に転送
|
||||||
|
- `/pds/pds.env`で`PDS_SERVICE_HANDLE_DOMAINS=.matsuuratomoya.com`のようにルートドメインにする必要あり(Cloudflareではサブサブドメインに証明書が出ないので)
|
||||||
|
- その上で、自分のpdsでログインしてる時の、自分のドメインに属するアカウントのハンドル解決は`_atproto`レコードや`.well-known/atproto-did`を介さず行われるので何がしかのハンドルを設定する必要がある(私の場合は`@tomoya.matsuuratomoya.com`に設定でき、`@matsuuratomoya.com`にはできない)
|
||||||
|
- しかし以前としてログアウト状態や他のインスタンスからはDNS解決できる必要があるので、`_atproto.tomoya.matsuuratomoya.com`にTXTレコードでdidを指定する必要がある
|
||||||
@@ -1,3 +1,6 @@
|
|||||||
|
---
|
||||||
|
date: "2023-10-29T18:14:14+0900"
|
||||||
|
---
|
||||||
#programming #music #sound
|
#programming #music #sound
|
||||||
|
|
||||||
|
|
||||||
@@ -19,6 +22,10 @@ Bytebeatは2011年に[[viznut]]がYoutube上の動画で公開し、自身のブ
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
## BytebeatをNode.jsで
|
||||||
|
|
||||||
|
#tips
|
||||||
|
|
||||||
Bytebeatは元々次のようなC言語のプログラムで作られてた。
|
Bytebeatは元々次のようなC言語のプログラムで作られてた。
|
||||||
|
|
||||||
```c
|
```c
|
||||||
|
|||||||
+13
@@ -0,0 +1,13 @@
|
|||||||
|
---
|
||||||
|
title: "CIA: How to shape Okinawan public opinion on the U.S. military presence - The Asia-Pacific Journal: Japan Focus"
|
||||||
|
url: "https://apjjf.org/2018/13/Mitchell"
|
||||||
|
date: "2024-04-18 18:17:37"
|
||||||
|
---
|
||||||
|
#scrap
|
||||||
|
|
||||||
|
# CIA: How to shape Okinawan public opinion on the U.S. military presence
|
||||||
|
|
||||||
|
|
||||||
|
https://apjjf.org/2018/13/Mitchell
|
||||||
|
|
||||||
|
> In 2012, the Central Intelligence Agency’s Open Source Center published a manual for U.S. officials advising them on how to shape Okinawan public opinion about the large U.S. military presence on their island. Categorized For Official Use Only, the 60-page CIA report is titled A Master Narratives Approach to Understanding Base Politics in Okinawa. It was released under the U.S. Freedom of Information Act and the full text is now available here.
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
date: 2024-04-15 16:54
|
||||||
|
---
|
||||||
|
#person
|
||||||
@@ -4,7 +4,7 @@ type: "journalArticle"
|
|||||||
author: "Arsov, Goce"
|
author: "Arsov, Goce"
|
||||||
title: "Celebrating 65th Anniversary of the Transistor"
|
title: "Celebrating 65th Anniversary of the Transistor"
|
||||||
publication: "Electronics ETF"
|
publication: "Electronics ETF"
|
||||||
date: 2013-02-03
|
date: "2023-08-10T15:21:18+0900"
|
||||||
citekey: arsovCelebrating65thAnniversary2013
|
citekey: arsovCelebrating65thAnniversary2013
|
||||||
tags:
|
tags:
|
||||||
- research
|
- research
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
---
|
||||||
|
date: "2023-11-07T18:37:51+0900"
|
||||||
|
---
|
||||||
#person
|
#person
|
||||||
|
|
||||||
[Christopher Strachey, 1916-1975: A Biographical Note -Martin Campbell-Kelly(1985)](https://ieeexplore.ieee.org/document/4392962)
|
[Christopher Strachey, 1916-1975: A Biographical Note -Martin Campbell-Kelly(1985)](https://ieeexplore.ieee.org/document/4392962)
|
||||||
|
|||||||
@@ -1 +1,4 @@
|
|||||||
|
---
|
||||||
|
date: "2024-01-18T16:52:25+0900"
|
||||||
|
---
|
||||||
#server
|
#server
|
||||||
@@ -1,3 +1,6 @@
|
|||||||
|
---
|
||||||
|
date: "2023-08-22T23:39:29+0900"
|
||||||
|
---
|
||||||
#tools #software
|
#tools #software
|
||||||
|
|
||||||
定理証明支援システム
|
定理証明支援システム
|
||||||
@@ -1,3 +1,6 @@
|
|||||||
|
---
|
||||||
|
date: "2023-08-24T21:45:03+0900"
|
||||||
|
---
|
||||||
#programming-language #memo #logic
|
#programming-language #memo #logic
|
||||||
|
|
||||||
[[Coq]]を用いた定理証明支援の基礎
|
[[Coq]]を用いた定理証明支援の基礎
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
---
|
||||||
|
date: "2023-09-08T18:18:39+0900"
|
||||||
|
---
|
||||||
#compiler-design #tools #software
|
#compiler-design #tools #software
|
||||||
|
|
||||||
[[LLVM]]よりもシンプルな[[Rust]]で書かれているコンパイラ基盤
|
[[LLVM]]よりもシンプルな[[Rust]]で書かれているコンパイラ基盤
|
||||||
|
|||||||
@@ -1,4 +1,7 @@
|
|||||||
#notion
|
---
|
||||||
|
date: "2024-01-19T13:19:40+0900"
|
||||||
|
---
|
||||||
|
#notion #studies
|
||||||
|
|
||||||
障害者の蔑称であったCrippieをQueerと同じように理論化した
|
障害者の蔑称であったCrippieをQueerと同じように理論化した
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
date: "2024-02-06T01:46:14+0900"
|
||||||
|
---
|
||||||
|
#research #studies
|
||||||
|
|
||||||
|
[[Alan Liu]]
|
||||||
|
|
||||||
|
[DHMS Talk: Alan Liu, "Toward Critical Infrastructure Studies"](https://www.youtube.com/watch?v=2ojrtVx7iCw)
|
||||||
|
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
date: "2024-02-06T08:42:13+0900"
|
||||||
|
---
|
||||||
|
#stub #daw
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
date: 2024-03-29 18:24
|
||||||
|
---
|
||||||
|
#daw #scrap
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
[DAW, Music Production, and Colonialism, a Bibliography – Mae Mai](https://silpayamanant.wordpress.com/bibliography/daw-colonialism/)
|
||||||
@@ -4,7 +4,7 @@ type: "journalArticle"
|
|||||||
author: "Jordan, Ryan"
|
author: "Jordan, Ryan"
|
||||||
title: "DIY Electronics: Revealing the Material Systems of Computation"
|
title: "DIY Electronics: Revealing the Material Systems of Computation"
|
||||||
publication: "Leonardo Music Journal"
|
publication: "Leonardo Music Journal"
|
||||||
date: 2015-01-01
|
date: 2023-08-10T14:21:47+0900
|
||||||
citekey: jordanDIYElectronicsRevealing2015
|
citekey: jordanDIYElectronicsRevealing2015
|
||||||
tags:
|
tags:
|
||||||
- research
|
- research
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
---
|
||||||
|
date: "2023-10-03T01:17:01+0900"
|
||||||
|
---
|
||||||
#research #semiconductor
|
#research #semiconductor
|
||||||
|
|
||||||
[[酢酸亜鉛#Temperature-dependent photoluminescence of nanocrystalline ZnO thin films grown on Si (100) substrates by the sol–gel process. Applied Physics Letters, 86(13), 131910.|Zhang et al(2005)]]を参考に、
|
[[酢酸亜鉛#Temperature-dependent photoluminescence of nanocrystalline ZnO thin films grown on Si (100) substrates by the sol–gel process. Applied Physics Letters, 86(13), 131910.|Zhang et al(2005)]]を参考に、
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
---
|
||||||
|
date: "2023-10-12T18:33:49+0900"
|
||||||
|
---
|
||||||
#semiconductor #research
|
#semiconductor #research
|
||||||
|
|
||||||
スライドグラスの上にTKペーストCR2800を、カプトンテープの間に作った10mm幅の溝のマスキングに塗布。
|
スライドグラスの上にTKペーストCR2800を、カプトンテープの間に作った10mm幅の溝のマスキングに塗布。
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
---
|
||||||
|
date: "2023-10-21T02:04:02+0900"
|
||||||
|
---
|
||||||
#semiconductor #research
|
#semiconductor #research
|
||||||
|
|
||||||
2023/10/16
|
2023/10/16
|
||||||
|
|||||||
+2
-1
@@ -3,6 +3,7 @@ tags:
|
|||||||
- research
|
- research
|
||||||
- survey
|
- survey
|
||||||
- semiconductor
|
- semiconductor
|
||||||
|
date: "2023-08-24T22:38:07+0900"
|
||||||
---
|
---
|
||||||
|
|
||||||
#research
|
#research
|
||||||
@@ -20,7 +21,7 @@ tags:
|
|||||||
|
|
||||||
[[DIY半導体-実験ノート3]]
|
[[DIY半導体-実験ノート3]]
|
||||||
|
|
||||||
[[複製するメディアではなく、"刷られた装置"としてのコンピューター - 芸術とデザインの視点からのDIY半導体]]
|
[[複製するメディアではなく、“刷られた装置”としてのコンピューター ─ 芸術とデザインの視点からのDIY半導体]]
|
||||||
|
|
||||||
[[実験ベースの科学のフラジャイルさ]]
|
[[実験ベースの科学のフラジャイルさ]]
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
---
|
||||||
|
date: "2023-11-07T17:50:48+0900"
|
||||||
|
---
|
||||||
#book #feminism
|
#book #feminism
|
||||||
|
|
||||||
[[MIT Press]],
|
[[MIT Press]],
|
||||||
|
|||||||
@@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
date: "2024-02-06T08:42:13+0900"
|
||||||
|
---
|
||||||
|
#person #stub
|
||||||
+64
@@ -0,0 +1,64 @@
|
|||||||
|
---
|
||||||
|
cssclasses:
|
||||||
|
- research-note
|
||||||
|
type: book
|
||||||
|
author: Koza, Julia
|
||||||
|
contributor: Michigan Publishing (University of Michigan)
|
||||||
|
title: "Destined to fail: Carl Seashore's world of eugenics, psychology education, and music"
|
||||||
|
date: 2021-01-01
|
||||||
|
citekey: kozaDestinedFailCarl2021
|
||||||
|
tags:
|
||||||
|
- research
|
||||||
|
- book
|
||||||
|
---
|
||||||
|
|
||||||
|
> [!Cite]
|
||||||
|
> Koza, Julia. 2021. _「Destined to fail」: Carl Seashore’s world of eugenics, psychology education, and music_. Ann Arbor, Michigan: University of Michigan Press.
|
||||||
|
|
||||||
|
>[!Synth]
|
||||||
|
>**Contribution**::
|
||||||
|
>
|
||||||
|
>**Related**::
|
||||||
|
>
|
||||||
|
|
||||||
|
[online](http://zotero.org/users/12014264/items/KZD65DDV) [local](zotero://select/library/items/KZD65DDV)
|
||||||
|
|
||||||
|
>[!md]
|
||||||
|
> **FirstAuthor**:: Koza, Julia
|
||||||
|
~> **FirstContributor**:: Michigan Publishing (University of Michigan)
|
||||||
|
~
|
||||||
|
> **Title**:: "Destined to fail": Carl Seashore's world of eugenics, psychology education, and music
|
||||||
|
> **Year**:: 2021
|
||||||
|
> **Citekey**:: kozaDestinedFailCarl2021
|
||||||
|
> **itemType**:: book
|
||||||
|
> **Publisher**:: University of Michigan Press
|
||||||
|
> **Location**:: Ann Arbor, Michigan
|
||||||
|
> **ISBN**:: 978-0-472-13260-7
|
||||||
|
|
||||||
|
> [!LINK]
|
||||||
|
>.
|
||||||
|
|
||||||
|
> [!Abstract]
|
||||||
|
>
|
||||||
|
> A little-known fact about the prominent US psychologist and educator Carl E. Seashore (1866-1949) is that he was deeply involved in the American eugenics movement. He was among the US academics to support eugenics long before German Nazis embraced it. A titan in a host of disciplines and a proponent of radical education reform, Seashore used his positional power to promote a constellation of education reforms consistent with central precepts of eugenics. Many of these reforms, including tracking, gifted and talented programs, and high-stakes standardized testing, were adopted and remain standard practice in the United States today. He promulgated the idea that musical talent is biologically inheritable, and he developed the first standardized tests of musical talent; these tests were used by early-twentieth-century researchers in their attempts to determine whether there are race differences in musical talent. Seashore's ideas and work profoundly shaped music education's research trajectory, as well as enduring "commonsense" beliefs about musical ability. An intersectional analysis, "Destined to Fail" focuses on the relationship between eugenics and Seashore's views on ability, race, and gender. Koza concludes that Seashore promoted eugenics and its companion, euthenics, because he was a true believer. She also discusses the longstanding silences surrounding Seashore's participation in eugenics. As a diagnosis and critique of the present, "Destined to Fail" identifies resemblances and connections between past and present that illustrate the continuing influence of eugenics--and the systems of reasoning that made early-twentieth-century eugenics imaginable and seem reasonable--on education discourse and practice today. It maps out discursive, citational, and funding connections between eugenicists of the early twentieth-century and contemporary White supremacists; this mapping leads to some of Donald Trump's supporters and appointees
|
||||||
|
>.
|
||||||
|
>
|
||||||
|
# Notes
|
||||||
|
|
||||||
|
## イントロ
|
||||||
|
|
||||||
|
- [[Carl Emil Seashore]]の音楽の才能テストがいかにアメリカの優生学に貢献したかが主題。
|
||||||
|
- 第2世代のテストとしては[[Edwin Gordon]]の Musical Aptitude Test
|
||||||
|
- スズキメソードを開発した[[鈴木鎮一]]の「愛に生きる」(Nurtured By Love) も紹介されてる
|
||||||
|
|
||||||
|
> Seashore is not a metonym for all eugenicists of the early twentieth century. He was, however, a central element.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# Annotations%% begin annotations %%
|
||||||
|
|
||||||
|
|
||||||
|
%% end annotations %%
|
||||||
|
|
||||||
|
|
||||||
|
%% Import Date: 2024-04-15T16:37:11.917+09:00 %%
|
||||||
@@ -1,17 +1,33 @@
|
|||||||
|
---
|
||||||
|
date: "2024-01-19T14:19:40+0900"
|
||||||
|
---
|
||||||
#book
|
#book
|
||||||
|
|
||||||
|
|
||||||
[[Jonathan Sterne]], 2021, Duke University Press
|
[[Jonathan Sterne]], 2021, Duke University Press
|
||||||
|
|
||||||
|
---
|
||||||
インタビュー記事
|
インタビュー記事
|
||||||
|
|
||||||
https://campanthropology.org/2023/02/06/jonathan-sterne-on-his-book-diminished-faculties/
|
https://campanthropology.org/2023/02/06/jonathan-sterne-on-his-book-diminished-faculties/
|
||||||
|
|
||||||
[[健常者が障害学をやることはできるのか]]について面白い言及
|
[[健常者が障害学をやることはできるのか]]について面白い言及
|
||||||
|
|
||||||
|
---
|
||||||
|
レビュー
|
||||||
|
|
||||||
|
[Jonathan Sterne. (2022). Diminished Faculties. Durham \[NC\]: Duke University Press: ISBN: 9781478017707](https://cjds.uwaterloo.ca/index.php/cjds/article/download/1041/1217?inline=1)
|
||||||
|
|
||||||
|
[[インペアメントの経験と信頼できない語り手 - 伊藤亜紗]] レビューではないけど本書1章での議論が話題の中心
|
||||||
|
|
||||||
|
ここではタイトルが『衰えた能力――インペアメントについての政治的現象学』という訳になっている
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
## 読書メモ
|
## 読書メモ
|
||||||
|
|
||||||
|
[[private/Diminished Faculties 精読]]
|
||||||
|
|
||||||
## 1章
|
## 1章
|
||||||
|
|
||||||
- 甲状腺癌による摘出を2010年に経験してから、声帯が麻痺した
|
- 甲状腺癌による摘出を2010年に経験してから、声帯が麻痺した
|
||||||
@@ -27,13 +43,13 @@ https://campanthropology.org/2023/02/06/jonathan-sterne-on-his-book-diminished-f
|
|||||||
- 「ないこと」をどうやって話すか?という点でimpairment phenomenologyは特殊
|
- 「ないこと」をどうやって話すか?という点でimpairment phenomenologyは特殊
|
||||||
- これ、[[ACE アセクシュアルから見たセックスと社会のこと - アンジェラ・チェン|ACE本]]で言ってるのと近しいぞ!
|
- これ、[[ACE アセクシュアルから見たセックスと社会のこと - アンジェラ・チェン|ACE本]]で言ってるのと近しいぞ!
|
||||||
|
|
||||||
- impairmentとdisability
|
- [[インペアメント]]と[[ディスアビリティ]]
|
||||||
- 日本語では「機能障害」と「能力障害」
|
- 日本語では「機能障害」と「能力障害」
|
||||||
- スターン曰く、impairment≡disabilityの身体的表出
|
- スターン曰く、impairment≡disabilityの身体的表出
|
||||||
- sexとgender、skinとraceの関係と似たもの
|
- sexとgender、skinとraceの関係と似たもの
|
||||||
- impairmentをdisabilityの表出ではなく原因/基底としてしまうと、その定義はdiminished faculties(減退した能力)・・・つまりabilityに基づいたものになり、循環的定義になってしまう
|
- impairmentをdisabilityの表出ではなく原因/基底としてしまうと、その定義はdiminished faculties(減退した能力)・・・つまりabilityに基づいたものになり、循環的定義になってしまう
|
||||||
- facultyは単に身体的な能力以外にprivilege的な社会的能力も指している(大学の先生のポジションを表すのももちろんね)
|
- facultyは単に身体的な能力以外にprivilege的な社会的能力も指している(大学の先生のポジションを表すのももちろんね)
|
||||||
- [[Julie Livingston]]によるボツワナでのフィールドワークを基にしたimpairmentとdisabilityを分けない"debility"概念
|
- →これが本全体での主体・客体の話と繋がってて、abilityって結局個人に帰属する能力の話になっちゃうけど、
|
||||||
- 根底の考え方として、impairmentは情報通信などでも使われる概念だが、そういった身体を機械として捉えるアナロジーがボツワナにはない
|
- 根底の考え方として、impairmentは情報通信などでも使われる概念だが、そういった身体を機械として捉えるアナロジーがボツワナにはない
|
||||||
- 時間経過を伴う病気と障害の違い
|
- 時間経過を伴う病気と障害の違い
|
||||||
- 癌が肺に転移している(ステージ4)のためスターン自身も病気(chronic ill)の状態ではある[^cancer]
|
- 癌が肺に転移している(ステージ4)のためスターン自身も病気(chronic ill)の状態ではある[^cancer]
|
||||||
@@ -50,13 +66,23 @@ Iris Marion Youngのfeminist phenomenologyの"discontinuous unity"気になる
|
|||||||
- 携帯発声増幅器dork-o-phone(正式名称はSpokeman Personal Voice Amplifier)について
|
- 携帯発声増幅器dork-o-phone(正式名称はSpokeman Personal Voice Amplifier)について
|
||||||
- 電子機器と補聴器や人工内耳、こういうボイスアンプのようなカテゴリの違い
|
- 電子機器と補聴器や人工内耳、こういうボイスアンプのようなカテゴリの違い
|
||||||
- 障害を補助する器具のダサさ、需要が少ないことによる高額さとか
|
- 障害を補助する器具のダサさ、需要が少ないことによる高額さとか
|
||||||
-
|
- そこらじゅうでスピーカーから声が発されている文化であるのに、普段の会話での喋りがスピーカーから発されることには違和感を覚えてしまう状況
|
||||||
- 「声」と「口」が暗黙的に同化していることへの批判
|
- 「声」と「口」が暗黙的に同化していることへの批判
|
||||||
- 声は哲学の理論で重要な位置を占めている(オングとかデリダとか)
|
- 声は哲学の理論で重要な位置を占めている(オングとかデリダとか)
|
||||||
- このアンプを使うと、当然だが発音源が口とスピーカーの2箇所になる
|
- このアンプを使うと、当然だが発音源が口とスピーカーの2箇所になる
|
||||||
- しかし、発音源を口に持ってけば当然ながら口が見えなくなる
|
- しかし、発音源を口に持ってけば当然ながら口が見えなくなる
|
||||||
- これが人に違和感をもたらす
|
- これが人に違和感をもたらす
|
||||||
|
- では体のどこにつけるか?
|
||||||
|
- ベルトとして腰につけると、座って授業をするときにできない
|
||||||
|
- 場合によっては口と目の向きを別々にできたりする
|
||||||
|
- 慣れると音源の位置は元の口の位置へと同化(assimilate)していく
|
||||||
|
- [[ミシェル・シオン]]が映像の中の音源位置について話していること
|
||||||
|
- ダサさ(not cool)の象徴:Dork
|
||||||
|
- 4章の耳栓でも似たようなダサさの話がある
|
||||||
|
- ただ声の大きさが変わったことが、例えば大学で授業をする際、日常で友人と会話をする際の社会的な扱いを変えてしまう
|
||||||
|
- スピーチアンプについて事前に説明するか、しないかによって反応が変わりうる
|
||||||
|
- これはマイノリティのPassing, Coming outの問題とも並列する
|
||||||
|
- 結局、声は主体に帰属するのではなく相手や道具との関係性の中で出来上がる
|
||||||
Vocalities:どう訳すか・・・
|
Vocalities:どう訳すか・・・
|
||||||
|
|
||||||
## 3章
|
## 3章
|
||||||
@@ -97,7 +123,7 @@ Audile Scarification:Scarificationは傷をつけて体に模様を刻んだ
|
|||||||
- 他者によるScarificationは監視や支配の象徴である:これも皮膚へのScarificationと音で共通して考えられる
|
- 他者によるScarificationは監視や支配の象徴である:これも皮膚へのScarificationと音で共通して考えられる
|
||||||
- ただ、音による攻撃:音響兵器とかとの違いとして、通過儀礼的に大音量にさらされる場所に(同意:Consentの上で)日常的に踏み入れさせられるという方向
|
- ただ、音による攻撃:音響兵器とかとの違いとして、通過儀礼的に大音量にさらされる場所に(同意:Consentの上で)日常的に踏み入れさせられるという方向
|
||||||
- 逃げられない同意:飛行機の機内がうるさいからと言って降りることはできん
|
- 逃げられない同意:飛行機の機内がうるさいからと言って降りることはできん
|
||||||
- Audileは「聞こえくる過去」の「聴取の技法」か
|
- Audileは「聞こえくる過去」の「聴覚型の技法(Audile Technique) 」と同じ
|
||||||
- サウンドテレグラフとかの聴き方がテクノロジーによって形成されてきた考え
|
- サウンドテレグラフとかの聴き方がテクノロジーによって形成されてきた考え
|
||||||
- Audible minus one
|
- Audible minus one
|
||||||
- 公衆トイレはジェンダー・セクシュアリティの問題と同様にAudile Scarificationにとっても問題
|
- 公衆トイレはジェンダー・セクシュアリティの問題と同様にAudile Scarificationにとっても問題
|
||||||
@@ -110,7 +136,7 @@ Audile Scarification:Scarificationは傷をつけて体に模様を刻んだ
|
|||||||
- Loudnessは非主体化に通ずる
|
- Loudnessは非主体化に通ずる
|
||||||
- 話すことも聞くこともできず、音源に注意を払うこと以外できなくなる
|
- 話すことも聞くこともできず、音源に注意を払うこと以外できなくなる
|
||||||
- 時に120dBSPLというのが実態を超えて意味を持つことがある
|
- 時に120dBSPLというのが実態を超えて意味を持つことがある
|
||||||
- #120dB というドイツのゼノフォビア女性がMeTooムーブメントに乗っかったハッシュタグデモ
|
- `#120dB` というドイツのゼノフォビア女性がMeTooムーブメントに乗っかったハッシュタグデモ
|
||||||
- 防犯ブザーを使ったやつだが、実際は120dBとか出るものはない
|
- 防犯ブザーを使ったやつだが、実際は120dBとか出るものはない
|
||||||
- 実際の音量以上に120dBという数字が社会的な意味を持っている
|
- 実際の音量以上に120dBという数字が社会的な意味を持っている
|
||||||
- Loudnessそのものが何か特定の意味を持つのではない
|
- Loudnessそのものが何か特定の意味を持つのではない
|
||||||
@@ -119,7 +145,9 @@ Audile Scarification:Scarificationは傷をつけて体に模様を刻んだ
|
|||||||
- 当たり前だけど飛行機内の爆音とノイズミュージックの爆音によるLoudnessはたとえSPLが同じだったとしても違う意味を生み出すよね
|
- 当たり前だけど飛行機内の爆音とノイズミュージックの爆音によるLoudnessはたとえSPLが同じだったとしても違う意味を生み出すよね
|
||||||
|
|
||||||
- 耳栓についての話
|
- 耳栓についての話
|
||||||
- 耳を塞ぐことが社会から切り離されることと結びついてきたが、必ずしも巣じゃないんじゃないか
|
- 耳を塞ぐことが社会から切り離されることと結びついてきたが、必ずしもそうじゃないんじゃないか
|
||||||
|
- ハイカルチャー(クラシック)よりもサブカル(ロック)の方が耳栓のキャンペーンがなされてる
|
||||||
|
- 車や銃におけるsafety(含む騒音からの)と、アメリカ的自由の結びつき
|
||||||
- 初めてのミュージシャン向け耳栓はEtymoticが作ったER-20
|
- 初めてのミュージシャン向け耳栓はEtymoticが作ったER-20
|
||||||
- 知らんかった
|
- 知らんかった
|
||||||
- HEAR(Hearing Education and Awareness for Rockers)
|
- HEAR(Hearing Education and Awareness for Rockers)
|
||||||
@@ -145,6 +173,11 @@ Audile Scarification:Scarificationは傷をつけて体に模様を刻んだ
|
|||||||
|
|
||||||
「この章を読むのは疲れると思うが、私も書いてて疲れたんで安心してほしい」とのこと
|
「この章を読むのは疲れると思うが、私も書いてて疲れたんで安心してほしい」とのこと
|
||||||
|
|
||||||
|
大学の教員は常に疲れてるので申請書はなるべく簡単に読めるようにしろ、というアドバイスのあれ(Diminished University Faculties)
|
||||||
|
|
||||||
|
疲れは何かの枯渇(depletion)的な感じで使われるけど、思ったより定義ははっきりしない
|
||||||
|
|
||||||
|
- 「〇〇疲れ」という用法での意味の拡大
|
||||||
- 例えば金属疲労(metal fatigue)のような人以外に対しても適用される言葉
|
- 例えば金属疲労(metal fatigue)のような人以外に対しても適用される言葉
|
||||||
- Chronic Fatigue Syndrome(CFS):慢性疲労症候群とかの慢性疾患(chronic illness)と障害の違いはなんだろうか?
|
- Chronic Fatigue Syndrome(CFS):慢性疲労症候群とかの慢性疾患(chronic illness)と障害の違いはなんだろうか?
|
||||||
- battle fatigue:PTSD
|
- battle fatigue:PTSD
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
date: "2024-02-08T15:53:17+0900"
|
||||||
|
---
|
||||||
|
#server #software
|
||||||
|
|
||||||
|
コンテナ
|
||||||
+3
@@ -1,3 +1,6 @@
|
|||||||
|
---
|
||||||
|
date: "2023-11-21T16:28:39+0900"
|
||||||
|
---
|
||||||
#talk #programming #music #creativity-support-tool
|
#talk #programming #music #creativity-support-tool
|
||||||
|
|
||||||
https://chci.pages.dev/aist-seminar
|
https://chci.pages.dev/aist-seminar
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
date: 2024-04-08 12:03
|
||||||
|
---
|
||||||
|
#person
|
||||||
|
|
||||||
|
ドン・アイディ
|
||||||
@@ -1,3 +1,6 @@
|
|||||||
|
---
|
||||||
|
date: "2023-08-24T22:38:07+0900"
|
||||||
|
---
|
||||||
#person #semiconductor
|
#person #semiconductor
|
||||||
|
|
||||||
VCAによく使われるトランスコンダクタンスアンプのLM13600とかを設計した人
|
VCAによく使われるトランスコンダクタンスアンプのLM13600とかを設計した人
|
||||||
|
|||||||
@@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
date: 2024-03-30 22:00
|
||||||
|
---
|
||||||
|
#person
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
date: 2024-04-08 21:19
|
||||||
|
---
|
||||||
|
#person
|
||||||
|
|
||||||
|
[[空気圧式音声増幅]]とかをめちゃくちゃ個人で調べてる人
|
||||||
|
|
||||||
|
[The Douglas Self Site](http://www.douglas-self.com/)
|
||||||
|
|
||||||
|
|
||||||
@@ -1 +1,4 @@
|
|||||||
|
---
|
||||||
|
date: "2024-01-05T17:15:38+0900"
|
||||||
|
---
|
||||||
#computer
|
#computer
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
date: "2024-02-08T17:46:07+0900"
|
||||||
|
---
|
||||||
|
date: "2023-12-28T16:14:44+0900"
|
||||||
@@ -1,3 +1,6 @@
|
|||||||
|
---
|
||||||
|
date: "2023-08-22T23:39:29+0900"
|
||||||
|
---
|
||||||
#person
|
#person
|
||||||
|
|
||||||
[[Coq]]の開発とか[[The w-calculus a synchronous framework for the verified modelling of digital signal processing algorithms|W-calculus]]とか[[Faust]]の形式的証明プロジェクトとかやってらっしゃる
|
[[Coq]]の開発とか[[The w-calculus a synchronous framework for the verified modelling of digital signal processing algorithms|W-calculus]]とか[[Faust]]の形式的証明プロジェクトとかやってらっしゃる
|
||||||
|
|||||||
@@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
date: 2024-02-09
|
||||||
|
---
|
||||||
|
#book #sexuality #ace
|
||||||
|
|
||||||
|
[[Michel Paramo]]
|
||||||
|
|
||||||
|
[Ending the Pursuit: Asexuality, Aromanticism and Agender Identity by Michael Paramo — Unbound](https://unbound.com/books/ending-the-pursuit)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
[[アセクシャル]]、[[アロマンティック]]、[[アジェンダー]]をポストコロニアル的な視点を交えた上で議論している本。
|
||||||
|
|
||||||
|
[[ACE アセクシュアルから見たセックスと社会のこと - アンジェラ・チェン]]と比べると、具体的なエピソードを交えるチェンの本に対して、
|
||||||
|
|
||||||
|
- ACE/AROにありがちな誤解を起点にその考え方を説明
|
||||||
|
- [[スプリット・アトラクション]]モデルにおけるAttractionをひたすら網羅しつつ、Sexual/Romantic/Aesthetical/Emotional/Intellectual/Platonic/Sensual などそれぞれのアイデアが西欧中心的なカルチャーの上にどう成立してきたかを解説
|
||||||
|
- プレWWW時代からAVEN誕生後を振り返ることで、その需要の歴史を全体的に示しつつ、アセクシャルの言葉の定義がどのようにCentralizedなものになっていったかと、その良し悪しを議論する
|
||||||
|
|
||||||
|
みたいな形になっているので、学術書読み慣れてる人はこちらの方がわかりやすそう(あまりにcisheteropatriarchalという単語が多く出ているので、ポスコロな文章に読み慣れてないと胃がもたれるかもしれないが…)。
|
||||||
+4
-1
@@ -1 +1,4 @@
|
|||||||
#programming-language #stab
|
---
|
||||||
|
date: "2024-02-06T02:00:06+0900"
|
||||||
|
---
|
||||||
|
#programming-language #stub
|
||||||
@@ -0,0 +1,373 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
excalidraw-plugin: parsed
|
||||||
|
tags: [excalidraw]
|
||||||
|
|
||||||
|
---
|
||||||
|
==⚠ Switch to EXCALIDRAW VIEW in the MORE OPTIONS menu of this document. ⚠==
|
||||||
|
|
||||||
|
|
||||||
|
# Text Elements
|
||||||
|
test ^79j7l6ZI
|
||||||
|
|
||||||
|
test2 ^QMT5JYmj
|
||||||
|
|
||||||
|
%%
|
||||||
|
# Drawing
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"type": "excalidraw",
|
||||||
|
"version": 2,
|
||||||
|
"source": "https://github.com/zsviczian/obsidian-excalidraw-plugin/releases/tag/2.1.4",
|
||||||
|
"elements": [
|
||||||
|
{
|
||||||
|
"type": "rectangle",
|
||||||
|
"version": 21,
|
||||||
|
"versionNonce": 2127815560,
|
||||||
|
"isDeleted": false,
|
||||||
|
"id": "crwNbQYHjoK8n-o5XKukd",
|
||||||
|
"fillStyle": "solid",
|
||||||
|
"strokeWidth": 2,
|
||||||
|
"strokeStyle": "solid",
|
||||||
|
"roughness": 1,
|
||||||
|
"opacity": 100,
|
||||||
|
"angle": 0,
|
||||||
|
"x": -234.5,
|
||||||
|
"y": -217.5234375,
|
||||||
|
"strokeColor": "#1e1e1e",
|
||||||
|
"backgroundColor": "transparent",
|
||||||
|
"width": 92,
|
||||||
|
"height": 93,
|
||||||
|
"seed": 1324508152,
|
||||||
|
"groupIds": [],
|
||||||
|
"frameId": "_MX0lsjtabepteWcuHhSj",
|
||||||
|
"roundness": {
|
||||||
|
"type": 3
|
||||||
|
},
|
||||||
|
"boundElements": [
|
||||||
|
{
|
||||||
|
"id": "NOJ6ie047BLEyCBOprUpX",
|
||||||
|
"type": "arrow"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "text",
|
||||||
|
"id": "79j7l6ZI"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"updated": 1713435213200,
|
||||||
|
"link": null,
|
||||||
|
"locked": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "text",
|
||||||
|
"version": 8,
|
||||||
|
"versionNonce": 1936980216,
|
||||||
|
"isDeleted": false,
|
||||||
|
"id": "79j7l6ZI",
|
||||||
|
"fillStyle": "solid",
|
||||||
|
"strokeWidth": 2,
|
||||||
|
"strokeStyle": "solid",
|
||||||
|
"roughness": 1,
|
||||||
|
"opacity": 100,
|
||||||
|
"angle": 0,
|
||||||
|
"x": -210.6999740600586,
|
||||||
|
"y": -183.5234375,
|
||||||
|
"strokeColor": "#1e1e1e",
|
||||||
|
"backgroundColor": "transparent",
|
||||||
|
"width": 44.39994812011719,
|
||||||
|
"height": 25,
|
||||||
|
"seed": 785134584,
|
||||||
|
"groupIds": [],
|
||||||
|
"frameId": "_MX0lsjtabepteWcuHhSj",
|
||||||
|
"roundness": null,
|
||||||
|
"boundElements": [],
|
||||||
|
"updated": 1713435213200,
|
||||||
|
"link": null,
|
||||||
|
"locked": false,
|
||||||
|
"fontSize": 20,
|
||||||
|
"fontFamily": 1,
|
||||||
|
"text": "test",
|
||||||
|
"rawText": "test",
|
||||||
|
"textAlign": "center",
|
||||||
|
"verticalAlign": "middle",
|
||||||
|
"containerId": "crwNbQYHjoK8n-o5XKukd",
|
||||||
|
"originalText": "test",
|
||||||
|
"lineHeight": 1.25
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "arrow",
|
||||||
|
"version": 130,
|
||||||
|
"versionNonce": 681456264,
|
||||||
|
"isDeleted": false,
|
||||||
|
"id": "NOJ6ie047BLEyCBOprUpX",
|
||||||
|
"fillStyle": "solid",
|
||||||
|
"strokeWidth": 2,
|
||||||
|
"strokeStyle": "solid",
|
||||||
|
"roughness": 1,
|
||||||
|
"opacity": 100,
|
||||||
|
"angle": 0,
|
||||||
|
"x": -137,
|
||||||
|
"y": -172.0234375,
|
||||||
|
"strokeColor": "#1e1e1e",
|
||||||
|
"backgroundColor": "transparent",
|
||||||
|
"width": 211,
|
||||||
|
"height": 121,
|
||||||
|
"seed": 1349153016,
|
||||||
|
"groupIds": [],
|
||||||
|
"frameId": "_MX0lsjtabepteWcuHhSj",
|
||||||
|
"roundness": {
|
||||||
|
"type": 2
|
||||||
|
},
|
||||||
|
"boundElements": [],
|
||||||
|
"updated": 1713435213200,
|
||||||
|
"link": null,
|
||||||
|
"locked": false,
|
||||||
|
"startBinding": {
|
||||||
|
"elementId": "crwNbQYHjoK8n-o5XKukd",
|
||||||
|
"gap": 5.5,
|
||||||
|
"focus": -0.1954686655861696
|
||||||
|
},
|
||||||
|
"endBinding": {
|
||||||
|
"elementId": "9eOnTRsDMh-AgVlJL95_k",
|
||||||
|
"focus": 0.20213522118828103,
|
||||||
|
"gap": 10.54547766243904
|
||||||
|
},
|
||||||
|
"lastCommittedPoint": null,
|
||||||
|
"startArrowhead": null,
|
||||||
|
"endArrowhead": "arrow",
|
||||||
|
"points": [
|
||||||
|
[
|
||||||
|
0,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
[
|
||||||
|
134,
|
||||||
|
25.5
|
||||||
|
],
|
||||||
|
[
|
||||||
|
211,
|
||||||
|
121
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "ellipse",
|
||||||
|
"version": 234,
|
||||||
|
"versionNonce": 1568283128,
|
||||||
|
"isDeleted": false,
|
||||||
|
"id": "9eOnTRsDMh-AgVlJL95_k",
|
||||||
|
"fillStyle": "solid",
|
||||||
|
"strokeWidth": 2,
|
||||||
|
"strokeStyle": "solid",
|
||||||
|
"roughness": 1,
|
||||||
|
"opacity": 100,
|
||||||
|
"angle": 0,
|
||||||
|
"x": 44.17223556171132,
|
||||||
|
"y": -49.906879470970665,
|
||||||
|
"strokeColor": "#1e1e1e",
|
||||||
|
"backgroundColor": "transparent",
|
||||||
|
"width": 134,
|
||||||
|
"height": 133,
|
||||||
|
"seed": 170731512,
|
||||||
|
"groupIds": [],
|
||||||
|
"frameId": "_MX0lsjtabepteWcuHhSj",
|
||||||
|
"roundness": {
|
||||||
|
"type": 2
|
||||||
|
},
|
||||||
|
"boundElements": [
|
||||||
|
{
|
||||||
|
"type": "text",
|
||||||
|
"id": "QMT5JYmj"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "NOJ6ie047BLEyCBOprUpX",
|
||||||
|
"type": "arrow"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"updated": 1713435213200,
|
||||||
|
"link": null,
|
||||||
|
"locked": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "text",
|
||||||
|
"version": 206,
|
||||||
|
"versionNonce": 1648796040,
|
||||||
|
"isDeleted": false,
|
||||||
|
"id": "QMT5JYmj",
|
||||||
|
"fillStyle": "solid",
|
||||||
|
"strokeWidth": 2,
|
||||||
|
"strokeStyle": "solid",
|
||||||
|
"roughness": 1,
|
||||||
|
"opacity": 100,
|
||||||
|
"angle": 0,
|
||||||
|
"x": 81.97611204496654,
|
||||||
|
"y": 4.070519580123921,
|
||||||
|
"strokeColor": "#1e1e1e",
|
||||||
|
"backgroundColor": "transparent",
|
||||||
|
"width": 58.63993835449219,
|
||||||
|
"height": 25,
|
||||||
|
"seed": 127454600,
|
||||||
|
"groupIds": [],
|
||||||
|
"frameId": "_MX0lsjtabepteWcuHhSj",
|
||||||
|
"roundness": null,
|
||||||
|
"boundElements": [],
|
||||||
|
"updated": 1713435213200,
|
||||||
|
"link": null,
|
||||||
|
"locked": false,
|
||||||
|
"fontSize": 20,
|
||||||
|
"fontFamily": 1,
|
||||||
|
"text": "test2",
|
||||||
|
"rawText": "test2",
|
||||||
|
"textAlign": "center",
|
||||||
|
"verticalAlign": "middle",
|
||||||
|
"containerId": "9eOnTRsDMh-AgVlJL95_k",
|
||||||
|
"originalText": "test2",
|
||||||
|
"lineHeight": 1.25
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "_MX0lsjtabepteWcuHhSj",
|
||||||
|
"type": "frame",
|
||||||
|
"x": -266.3679416299701,
|
||||||
|
"y": -257.6479544917803,
|
||||||
|
"width": 525.6462207433856,
|
||||||
|
"height": 426.0081418324659,
|
||||||
|
"angle": 0,
|
||||||
|
"strokeColor": "#bbb",
|
||||||
|
"backgroundColor": "transparent",
|
||||||
|
"fillStyle": "solid",
|
||||||
|
"strokeWidth": 2,
|
||||||
|
"strokeStyle": "solid",
|
||||||
|
"roughness": 0,
|
||||||
|
"opacity": 100,
|
||||||
|
"groupIds": [],
|
||||||
|
"frameId": null,
|
||||||
|
"roundness": null,
|
||||||
|
"seed": 1572423816,
|
||||||
|
"version": 348,
|
||||||
|
"versionNonce": 700840952,
|
||||||
|
"isDeleted": false,
|
||||||
|
"boundElements": null,
|
||||||
|
"updated": 1713435213200,
|
||||||
|
"link": null,
|
||||||
|
"locked": false,
|
||||||
|
"customData": {
|
||||||
|
"frameColor": {
|
||||||
|
"stroke": "#D4D4D4",
|
||||||
|
"fill": "#ADADAD",
|
||||||
|
"nameColor": "#7A7A7A"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"name": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "4lixlGQA",
|
||||||
|
"type": "text",
|
||||||
|
"x": 242.8933505813975,
|
||||||
|
"y": 20.452994646253558,
|
||||||
|
"width": 9.999984741210938,
|
||||||
|
"height": 25,
|
||||||
|
"angle": 0,
|
||||||
|
"strokeColor": "#1e1e1e",
|
||||||
|
"backgroundColor": "transparent",
|
||||||
|
"fillStyle": "solid",
|
||||||
|
"strokeWidth": 2,
|
||||||
|
"strokeStyle": "solid",
|
||||||
|
"roughness": 1,
|
||||||
|
"opacity": 100,
|
||||||
|
"groupIds": [],
|
||||||
|
"frameId": "_MX0lsjtabepteWcuHhSj",
|
||||||
|
"roundness": null,
|
||||||
|
"seed": 1671340792,
|
||||||
|
"version": 7,
|
||||||
|
"versionNonce": 1142168312,
|
||||||
|
"isDeleted": true,
|
||||||
|
"boundElements": null,
|
||||||
|
"updated": 1713435213200,
|
||||||
|
"link": null,
|
||||||
|
"locked": false,
|
||||||
|
"text": "",
|
||||||
|
"rawText": "",
|
||||||
|
"fontSize": 20,
|
||||||
|
"fontFamily": 1,
|
||||||
|
"textAlign": "left",
|
||||||
|
"verticalAlign": "top",
|
||||||
|
"containerId": null,
|
||||||
|
"originalText": "",
|
||||||
|
"lineHeight": 1.25
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "3sGi0ecf",
|
||||||
|
"type": "text",
|
||||||
|
"x": 214.99468848634,
|
||||||
|
"y": -257.6479544917803,
|
||||||
|
"width": 9.999984741210938,
|
||||||
|
"height": 25,
|
||||||
|
"angle": 0,
|
||||||
|
"strokeColor": "#1e1e1e",
|
||||||
|
"backgroundColor": "transparent",
|
||||||
|
"fillStyle": "solid",
|
||||||
|
"strokeWidth": 2,
|
||||||
|
"strokeStyle": "solid",
|
||||||
|
"roughness": 1,
|
||||||
|
"opacity": 100,
|
||||||
|
"groupIds": [],
|
||||||
|
"frameId": "_MX0lsjtabepteWcuHhSj",
|
||||||
|
"roundness": null,
|
||||||
|
"seed": 1394142200,
|
||||||
|
"version": 3,
|
||||||
|
"versionNonce": 1258893448,
|
||||||
|
"isDeleted": true,
|
||||||
|
"boundElements": null,
|
||||||
|
"updated": 1713435213200,
|
||||||
|
"link": null,
|
||||||
|
"locked": false,
|
||||||
|
"text": "",
|
||||||
|
"rawText": "",
|
||||||
|
"fontSize": 20,
|
||||||
|
"fontFamily": 1,
|
||||||
|
"textAlign": "left",
|
||||||
|
"verticalAlign": "top",
|
||||||
|
"containerId": null,
|
||||||
|
"originalText": "",
|
||||||
|
"lineHeight": 1.25
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"appState": {
|
||||||
|
"theme": "light",
|
||||||
|
"viewBackgroundColor": "#ffffff",
|
||||||
|
"currentItemStrokeColor": "#1e1e1e",
|
||||||
|
"currentItemBackgroundColor": "transparent",
|
||||||
|
"currentItemFillStyle": "solid",
|
||||||
|
"currentItemStrokeWidth": 2,
|
||||||
|
"currentItemStrokeStyle": "solid",
|
||||||
|
"currentItemRoughness": 1,
|
||||||
|
"currentItemOpacity": 100,
|
||||||
|
"currentItemFontFamily": 1,
|
||||||
|
"currentItemFontSize": 20,
|
||||||
|
"currentItemTextAlign": "left",
|
||||||
|
"currentItemStartArrowhead": null,
|
||||||
|
"currentItemEndArrowhead": "arrow",
|
||||||
|
"scrollX": 280.09585472436356,
|
||||||
|
"scrollY": 335.98839403549096,
|
||||||
|
"zoom": {
|
||||||
|
"value": 1.1290864018020588
|
||||||
|
},
|
||||||
|
"currentItemRoundness": "round",
|
||||||
|
"gridSize": null,
|
||||||
|
"gridColor": {
|
||||||
|
"Bold": "#C9C9C9FF",
|
||||||
|
"Regular": "#EDEDEDFF"
|
||||||
|
},
|
||||||
|
"currentStrokeOptions": null,
|
||||||
|
"previousGridSize": null,
|
||||||
|
"frameRendering": {
|
||||||
|
"enabled": true,
|
||||||
|
"clip": true,
|
||||||
|
"name": true,
|
||||||
|
"outline": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"files": {}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
%%
|
||||||
@@ -1,3 +1,6 @@
|
|||||||
|
---
|
||||||
|
date: "2023-08-30T01:13:06+0900"
|
||||||
|
---
|
||||||
#programming-language #sound
|
#programming-language #sound
|
||||||
|
|
||||||
Andrew Sorensenが作ったLispライブプログラミング環境。
|
Andrew Sorensenが作ったLispライブプログラミング環境。
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
---
|
||||||
|
date: "2023-08-22T23:39:29+0900"
|
||||||
|
---
|
||||||
#software #programming-language #sound
|
#software #programming-language #sound
|
||||||
|
|
||||||
https://faust.grame.fr
|
https://faust.grame.fr
|
||||||
+3
@@ -1,3 +1,6 @@
|
|||||||
|
---
|
||||||
|
date: "2023-08-09T18:37:54+0900"
|
||||||
|
---
|
||||||
#research #paper
|
#research #paper
|
||||||
|
|
||||||
[University of Maryland](https://www.umd.edu/)の[[Small Artifacts Lab]]による研究
|
[University of Maryland](https://www.umd.edu/)の[[Small Artifacts Lab]]による研究
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
---
|
||||||
|
date: "2023-08-24T22:38:07+0900"
|
||||||
|
---
|
||||||
#tools #protocols
|
#tools #protocols
|
||||||
|
|
||||||
[[MIDI]]をベースにした、[[Arduino]]のほとんどの入出力制御をシリアル通信で行うためのプロトコルとライブラリ
|
[[MIDI]]をベースにした、[[Arduino]]のほとんどの入出力制御をシリアル通信で行うためのプロトコルとライブラリ
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
---
|
||||||
|
date: "2023-11-15T16:09:00+0900"
|
||||||
|
---
|
||||||
#audiomiddleware #gameaudio #programming #sound
|
#audiomiddleware #gameaudio #programming #sound
|
||||||
|
|
||||||
日本では国産の[[ADX]]海外では人気
|
日本では国産の[[ADX]]海外では人気
|
||||||
|
|||||||
@@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
date: 2024-03-30 22:13
|
||||||
|
---
|
||||||
|
#person
|
||||||
@@ -1,3 +1,6 @@
|
|||||||
|
---
|
||||||
|
date: "2023-11-15T16:09:00+0900"
|
||||||
|
---
|
||||||
#computermusic
|
#computermusic
|
||||||
|
|
||||||
"GROOVE—a program to compose, store, and edit functions of time" (1970)
|
"GROOVE—a program to compose, store, and edit functions of time" (1970)
|
||||||
|
|||||||
@@ -0,0 +1,176 @@
|
|||||||
|
---
|
||||||
|
date: "2024-02-05T12:26:59+0900"
|
||||||
|
---
|
||||||
|
#self-hosted #server #tips
|
||||||
|
|
||||||
|
Giteaは最近Actionが使えるようになった。Dockerで別にランナーマシンを立ち上げる必要があるほか、GitHub Actionsと比べると、Concurrencyなどちゃんと効かなかったり色々まだ機能が足りてない所はある。
|
||||||
|
|
||||||
|
ただ、公開されてるGithubs Actionはそのままuseできるのが強い。`actions/cache@v3`の代わりに`https://github.com/actions/cache@v3`のようにURLで指定できる。よく使うアクションはgitea側にもミラーされていることもあるが、なんか放置されてるやつも多々あるので注意。
|
||||||
|
|
||||||
|
Pagesの機能がないため、別途サーバーを立ち上げてrsyncで同期するくらいしか方法がない。そこそこ設定は面倒くさいが、nginxよりさらに簡易的に動かせるgo製のWebサーバーCaddyを使ってなんとかすることにした。
|
||||||
|
|
||||||
|
## 下準備
|
||||||
|
|
||||||
|
鍵をssh-keygenで作っておく。(秘密鍵をGitea側のSecretsに置くので新しく生成しないとだめ)
|
||||||
|
|
||||||
|
```sh
|
||||||
|
ssh-keygen -t ed25519
|
||||||
|
```
|
||||||
|
|
||||||
|
ファイル名は`rsync_webserver`と`rsync_webserver.pub`とかにしておく
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## Caddyサーバー側の構成
|
||||||
|
|
||||||
|
[tomoyanonymous/Caddy\_rsync\_webserver - Caddy\_rsync\_webserver - Tomoya Matsuura Gitea](https://git.matsuuratomoya.com/tomoyanonymous/Caddy_rsync_webserver)
|
||||||
|
### フォルダ構成
|
||||||
|
```sh
|
||||||
|
Dockerfile
|
||||||
|
docker-compose.yml
|
||||||
|
Caddyfile
|
||||||
|
docs/ #空フォルダ
|
||||||
|
rsync_webserver.pub #鍵をコピーしておく
|
||||||
|
```
|
||||||
|
|
||||||
|
rsyncでファイルを受け取る用のDockerイメージを作る
|
||||||
|
|
||||||
|
```Dockerfile
|
||||||
|
FROM ubuntu:latest
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get install -y openssh-server rsync
|
||||||
|
RUN mkdir /var/run/sshd
|
||||||
|
|
||||||
|
RUN sed -i 's/#\?SyslogFacility AUTH/SyslogFacility AUTH/' /etc/ssh/sshd_config
|
||||||
|
RUN sed -i 's/#\?LogLevel INFO/LogLevel Info/' /etc/ssh/sshd_config
|
||||||
|
|
||||||
|
RUN sed 's@session\s*required\s*pam_loginuid.so@session optional pam_loginuid.so@g' -i /etc/pam.d/sshd
|
||||||
|
|
||||||
|
ENV NOTVISIBLE "in users profile"
|
||||||
|
RUN echo "export VISIBLE=now" >> /etc/profile
|
||||||
|
|
||||||
|
COPY rsync_webserver.pub /root/authorized_keys
|
||||||
|
|
||||||
|
RUN mkdir ~/.ssh && \
|
||||||
|
mv ~/authorized_keys ~/.ssh/authorized_keys && \
|
||||||
|
chmod 0600 ~/.ssh/authorized_keys && \
|
||||||
|
chmod 0700 ~/.ssh
|
||||||
|
|
||||||
|
EXPOSE 22
|
||||||
|
|
||||||
|
CMD ["/usr/sbin/sshd", "-D"]
|
||||||
|
```
|
||||||
|
|
||||||
|
パーミッションは必ず`~/.ssh/authorized_keys`が600、`~/.ssh`が700でないとssh接続できないので注意
|
||||||
|
|
||||||
|
`docker-compose.yml`でCaddyとの連携設定。共通のボリュームでhtmlを管理するが、今回はそのフォルダを`docs`という名前で作った。Caddyのイメージはそのまま使う。
|
||||||
|
|
||||||
|
```yml
|
||||||
|
version: '3'
|
||||||
|
|
||||||
|
services:
|
||||||
|
ssh:
|
||||||
|
build: .
|
||||||
|
volumes:
|
||||||
|
- ./docs:/var/www/html
|
||||||
|
ports:
|
||||||
|
- '25222:22'
|
||||||
|
server:
|
||||||
|
image: caddy:latest
|
||||||
|
volumes:
|
||||||
|
- ./Caddyfile:/etc/caddy/Caddyfile
|
||||||
|
- ./docs:/www/html
|
||||||
|
ports:
|
||||||
|
- "8080:80"
|
||||||
|
```
|
||||||
|
|
||||||
|
Caddyファイルは最小限。
|
||||||
|
|
||||||
|
```Caddyfile
|
||||||
|
:80 {
|
||||||
|
root * /www/html
|
||||||
|
file_server
|
||||||
|
try_files {path}.html {path}
|
||||||
|
handle_errors {
|
||||||
|
rewrite * /404.html
|
||||||
|
file_server
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
この辺参考。[Serving static files using Caddy](https://thedevelopercafe.com/articles/serving-static-files-using-caddy-8513e8f36e46)。Quartzでは`/記事名.html`に`example.com/記事名`でアクセスする必要があるので`try_files`の行が必要。
|
||||||
|
|
||||||
|
`docs`内に適当な`index.html`を置いて`docker-compose build`、`docker-compose up -d`で立ち上げ、`DockerホストのIP:8080`で繋ぐとアクセスできる。
|
||||||
|
|
||||||
|
これをそのまま[[Cloudflare Tunnel]]で公開している。
|
||||||
|
|
||||||
|
## Gitea側の設定
|
||||||
|
|
||||||
|
Action RunnerつきでGiteaを立ち上げるところまでは省略。
|
||||||
|
|
||||||
|
ほぼこのサイトの例を借りる。[[Hugo]]じゃなく[[Quartz]]なので色々違うけど
|
||||||
|
|
||||||
|
[CI/CD pipeline for a Hugo-built static page using Gitea Actions on a selfhosted Gitea instance · Julius Röttgermann | DevOps related Blog and Tutorials](https://julius-roettgermann.de/post/hugo-cicd/)
|
||||||
|
|
||||||
|
|
||||||
|
リポジトリのSettings -> Actions -> Secretsに`PRIVATE_KEY`という名前で`rsync_webserver`の中身を貼り付ける。
|
||||||
|
同じくVariablesの方には以下を設定
|
||||||
|
|
||||||
|
- WEBSERVER_HOST (Caddyが立ち上がっているサーバーのIP)
|
||||||
|
- WEBSERVER_PORT (Caddyが立ち上がっているサーバーのSSH用ポート、上の例では25222)
|
||||||
|
- WEBSERVER_USER :root(これあんまり良くないのかな)
|
||||||
|
|
||||||
|
で、リポジトリに`/.gitea/workflows/ci.yaml`を作る。[Gitea Actionsの`ubuntu-latest`ラベルのランナーはデフォルトでDebianベースの`node:16-bullseye`のDockerイメージのエイリアス](https://docs.gitea.com/usage/actions/act-runner#labels)で(これまじでややこしい)、QuartzはNode18以降でないと動かない。またGoも入ってないので入れる。
|
||||||
|
|
||||||
|
```yml
|
||||||
|
name: Build
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- v4
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
env:
|
||||||
|
RUNNER_TOOL_CACHE: /toolcache #これないとキャッシュが効かない
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- run: git config --global core.quotepath false
|
||||||
|
- name: Install apt packages
|
||||||
|
run: apt update && apt install -y rsync
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
- uses: https://github.com/actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: 'latest'
|
||||||
|
- uses: https://github.com/actions/setup-go@v4
|
||||||
|
with:
|
||||||
|
go-version: '^1.20'
|
||||||
|
- uses: https://gitea.com/actions/go-hashfiles@v0.0.1
|
||||||
|
id: get-hash
|
||||||
|
with:
|
||||||
|
patterns: |-
|
||||||
|
**/package-lock.json
|
||||||
|
- name: Cache dependencies
|
||||||
|
uses: actions/cache@v3
|
||||||
|
with:
|
||||||
|
path: ~/.npm
|
||||||
|
key: ${{ runner.os }}-node-${{ steps.get-hash.outputs.hash }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-node-
|
||||||
|
- run: npm i
|
||||||
|
- run: npx quartz build
|
||||||
|
- name: Create private key
|
||||||
|
run: |
|
||||||
|
echo "${{ secrets.PRIVATE_KEY }}" > /tmp/act_runner_key
|
||||||
|
chmod 600 /tmp/act_runner_key
|
||||||
|
- name: rsync public directory
|
||||||
|
run: |
|
||||||
|
rsync -avz --delete -e "ssh -i /tmp/act_runner_key -o StrictHostKeyChecking=no -p ${{ vars.WEBSERVER_PORT }}" ${{ gitea.workspace }}/public/* ${{ vars.WEBSERVER_USER }}@${{ vars.WEBSERVER_HOST }}:/var/www/html
|
||||||
|
```
|
||||||
|
|
||||||
|
できてますねえ!
|
||||||
|
|
||||||
|
![[img/gitea_action_ss.png]]
|
||||||
|
|
||||||
|
Branch Previewが手軽にできればいいんだけどなあ
|
||||||
@@ -1,3 +1,6 @@
|
|||||||
|
---
|
||||||
|
date: "2023-08-09T18:37:54+0900"
|
||||||
|
---
|
||||||
#person
|
#person
|
||||||
|
|
||||||
MIT Media Labの[[High-low-tech Lab]]で活動していた
|
MIT Media Labの[[High-low-tech Lab]]で活動していた
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
---
|
||||||
|
date: "2023-08-09T18:37:54+0900"
|
||||||
|
---
|
||||||
#group
|
#group
|
||||||
|
|
||||||
MIT Media Labの中で2008-2014に[[Leah Buechley]]が主催していたラボ
|
MIT Media Labの中で2008-2014に[[Leah Buechley]]が主催していたラボ
|
||||||
|
|||||||
@@ -0,0 +1,17 @@
|
|||||||
|
---
|
||||||
|
date: "2024-02-05T13:10:19+0900"
|
||||||
|
---
|
||||||
|
#software
|
||||||
|
|
||||||
|
Mac(と最近はLinux)用のCLIパッケージマネージャー。
|
||||||
|
|
||||||
|
自分でインストール用のスクリプト(ruby)を書いて野良リポジトリをホストすることもできる。
|
||||||
|
|
||||||
|
`homebrew-core`本体のリポジトリの運用方針的に載せられないやつもたまにいるので、そういうのを時々自分でメンテしている。
|
||||||
|
|
||||||
|
[[FlatCAM]]のMac用のインストーラーが公式にないので作ったやつ(なんだかんだ5年近くメンテしてる)
|
||||||
|
|
||||||
|
[GitHub - tomoyanonymous/homebrew-flatcam: Unofficial homebrew formula to install flatcam(http://flatcam.org) on macOS](https://github.com/tomoyanonymous/homebrew-flatcam)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,3 +1,6 @@
|
|||||||
|
---
|
||||||
|
date: "2023-08-10T13:21:48+0900"
|
||||||
|
---
|
||||||
#translated #semiconductor #survey
|
#translated #semiconductor #survey
|
||||||
|
|
||||||
And a Quarter gets You Coffee(本名不明、2009年ごろ)
|
And a Quarter gets You Coffee(本名不明、2009年ごろ)
|
||||||
|
|||||||
+3
@@ -1,3 +1,6 @@
|
|||||||
|
---
|
||||||
|
date: "2023-10-13T12:44:10+0900"
|
||||||
|
---
|
||||||
#paper #self-hosted #semiconductor
|
#paper #self-hosted #semiconductor
|
||||||
|
|
||||||
|
|
||||||
@@ -1,3 +1,6 @@
|
|||||||
|
---
|
||||||
|
date: "2023-08-09T13:36:45+0900"
|
||||||
|
---
|
||||||
#tools #software
|
#tools #software
|
||||||
|
|
||||||
MarkdownのコンテンツをWebサイトにするStatic Site Generator
|
MarkdownのコンテンツをWebサイトにするStatic Site Generator
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
---
|
||||||
|
date: "2023-11-15T16:09:00+0900"
|
||||||
|
---
|
||||||
#programming #sound
|
#programming #sound
|
||||||
|
|
||||||
https://www.iannix.org/en/
|
https://www.iannix.org/en/
|
||||||
|
|||||||
@@ -1 +1,4 @@
|
|||||||
|
---
|
||||||
|
date: "2023-08-21T22:56:39+0900"
|
||||||
|
---
|
||||||
#person
|
#person
|
||||||
@@ -1 +1,4 @@
|
|||||||
|
---
|
||||||
|
date: "2023-11-07T15:34:11+0900"
|
||||||
|
---
|
||||||
#person
|
#person
|
||||||
@@ -3,6 +3,7 @@ title: Jeri Ellsworth
|
|||||||
tags:
|
tags:
|
||||||
- person
|
- person
|
||||||
- semiconductor
|
- semiconductor
|
||||||
|
date: "2023-08-09T17:17:54+0900"
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,2 +1,5 @@
|
|||||||
|
---
|
||||||
|
date: "2024-01-19T12:19:41+0900"
|
||||||
|
---
|
||||||
#person
|
#person
|
||||||
|
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
date: 2024-04-08 00:07
|
||||||
|
---
|
||||||
|
#person #stub
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
date: "2024-02-06T02:00:06+0900"
|
||||||
|
---
|
||||||
|
#person #stub
|
||||||
@@ -2,6 +2,7 @@
|
|||||||
title: Kit of No Parts
|
title: Kit of No Parts
|
||||||
tags:
|
tags:
|
||||||
- survey
|
- survey
|
||||||
|
date: "2023-08-09T18:37:54+0900"
|
||||||
---
|
---
|
||||||
|
|
||||||
[[Hannah Perner-Wilson]]らがMITで行っていたプロジェクト
|
[[Hannah Perner-Wilson]]らがMITで行っていたプロジェクト
|
||||||
|
|||||||
@@ -1 +1,4 @@
|
|||||||
|
---
|
||||||
|
date: "2023-08-22T01:14:27+0900"
|
||||||
|
---
|
||||||
#person
|
#person
|
||||||
@@ -1,3 +1,6 @@
|
|||||||
|
---
|
||||||
|
date: "2023-11-15T16:09:00+0900"
|
||||||
|
---
|
||||||
#programming-language #sound
|
#programming-language #sound
|
||||||
|
|
||||||
https://kronoslang.io/
|
https://kronoslang.io/
|
||||||
@@ -7,3 +10,5 @@ https://kronoslang.io/
|
|||||||
[[System-FΩ]]という高階ラムダ計算をベースにしているため、めちゃくちゃメタプログラミング能力が高い。
|
[[System-FΩ]]という高階ラムダ計算をベースにしているため、めちゃくちゃメタプログラミング能力が高い。
|
||||||
|
|
||||||
例えば[[Faust]]では項書き換え系マクロとして実施されていたプロセッサ自体のメタ出力も一つの言語体系で書ける
|
例えば[[Faust]]では項書き換え系マクロとして実施されていたプロセッサ自体のメタ出力も一つの言語体系で書ける
|
||||||
|
|
||||||
|
Meta-Sequencerという機能で[[継時再帰]]が抽象化されてる
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
date: "2024-02-08T17:46:03+0900"
|
||||||
|
---
|
||||||
|
date: "2024-02-08T17:35:58+0900"
|
||||||
@@ -1,3 +1,6 @@
|
|||||||
|
---
|
||||||
|
date: "2023-12-06T01:46:41+0900"
|
||||||
|
---
|
||||||
#programming-language #compiler-design
|
#programming-language #compiler-design
|
||||||
|
|
||||||
[[Erg]]言語作者のShibaさんが実装しているのがめちゃめちゃ詳しい
|
[[Erg]]言語作者のShibaさんが実装しているのがめちゃめちゃ詳しい
|
||||||
|
|||||||
@@ -1,2 +1,5 @@
|
|||||||
|
---
|
||||||
|
date: "2023-08-21T23:14:27+0900"
|
||||||
|
---
|
||||||
#person
|
#person
|
||||||
|
|
||||||
@@ -1 +1,4 @@
|
|||||||
|
---
|
||||||
|
date: "2024-01-05T17:15:38+0900"
|
||||||
|
---
|
||||||
#person
|
#person
|
||||||
Loaded 100 of 391 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user