Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a981947b76 | ||
|
|
a59d2d0088 | ||
|
|
9c82fabf1b | ||
|
|
956410c345 | ||
|
|
81b3d1c2d3 | ||
|
|
f25b9164d0 | ||
|
|
c0a022c5b5 | ||
|
|
ce8c9b3b94 | ||
|
|
b6e3ee8404 | ||
|
|
85d4bb2628 | ||
|
|
82128ce318 | ||
|
|
390b3446a3 | ||
|
|
f66d2f0193 | ||
|
|
53446e06c6 | ||
|
|
691a7fb2c7 | ||
|
|
57e6934fe5 | ||
|
|
335ffdd074 | ||
|
|
0906378894 | ||
|
|
7282081832 | ||
|
|
a3c7398628 | ||
|
|
07594f574b | ||
|
|
3b7798338f | ||
|
|
eae5a08932 | ||
|
|
547989a6d4 | ||
|
|
f6f19c0e48 | ||
|
|
f8a7241747 | ||
|
|
4ccec31efa | ||
|
|
b7c3c53dc9 | ||
|
|
f1f3b17402 | ||
|
|
254655cb1d | ||
|
|
a212822d45 | ||
|
|
26ae7adac5 | ||
|
|
c797fbec80 | ||
|
|
17c48fab97 | ||
|
|
bcd60d80ea | ||
|
|
71f0ee1973 | ||
|
|
8119515705 | ||
|
|
28d7b02350 | ||
|
|
be4aa2592a | ||
|
|
4b9f2e3b47 | ||
|
|
05c27c5d20 | ||
|
|
6f2288c81f | ||
|
|
88d496137a | ||
|
|
b231f65bfb | ||
|
|
15749c8ad7 | ||
|
|
5cf9b26a2e | ||
|
|
d5356a83ef | ||
|
|
19d6ec7e52 | ||
|
|
5acb371fab | ||
|
|
c6eadbd193 | ||
|
|
f18ae4e08f | ||
|
|
59ba554315 | ||
|
|
9207cc3f43 | ||
|
|
0af3bdfd04 | ||
|
|
102c4fc398 | ||
|
|
f53edb6e64 | ||
|
|
acaefbb68c | ||
|
|
09cbbe75c9 | ||
|
|
81c2b860c6 | ||
|
|
57128a8d8b | ||
|
|
6bf33e4296 | ||
|
|
3aaf54e2c2 | ||
|
|
28b8cda4cf | ||
|
|
b5cff355e6 | ||
|
|
a00dbf4b1a | ||
|
|
627b973175 | ||
|
|
0db8844b4d | ||
|
|
cd0c9640af | ||
|
|
c88bd50be9 | ||
|
|
1289778874 | ||
|
|
00be1a45ba | ||
|
|
f5a8b5c601 | ||
|
|
90c7abca5f | ||
|
|
ef01da4b5b | ||
|
|
f544236230 | ||
|
|
3a57ed57da | ||
|
|
13b71a6c48 | ||
|
|
76fb5d04f7 | ||
|
|
60213303ae | ||
|
|
5ef50c1682 | ||
|
|
57ba3236bc | ||
|
|
5717037012 | ||
|
|
4ddb6d32f3 | ||
|
|
60ea87bd2c | ||
|
|
a7d780565f | ||
|
|
3b1896a696 | ||
|
|
3859bb70cb | ||
|
|
9d65f3d20b | ||
|
|
cddd6cfe57 | ||
|
|
0cc3a48f0b | ||
|
|
9b0c364e13 | ||
|
|
4e1b4dda58 | ||
|
|
ac0bdafb16 | ||
|
|
88d34a970c | ||
|
|
9a07bb36a4 | ||
|
|
7b8ad7c6b5 | ||
|
|
fd4cebf692 | ||
|
|
a37dd308a1 | ||
|
|
30885683f2 | ||
|
|
0ae167cb4f | ||
|
|
ec152e4171 | ||
|
|
2eeb3ae398 | ||
|
|
75b4bdfed8 | ||
|
|
81d5cc25a6 | ||
|
|
ff845325c6 | ||
|
|
6688055434 | ||
|
|
f905e39af2 | ||
|
|
58a07f2ab6 | ||
|
|
c9d685d1ab | ||
|
|
63ebc409f0 | ||
|
|
c631eb8e75 | ||
|
|
96074038e9 | ||
|
|
8b1b40d0f9 | ||
|
|
486abca78b | ||
|
|
2b5b4eb2d7 | ||
|
|
54ba686380 | ||
|
|
7615eda083 | ||
|
|
779d9ce391 | ||
|
|
db909866b8 | ||
|
|
4de90ab9c1 | ||
|
|
41193dbc0d | ||
|
|
8d584f4e4e | ||
|
|
74c79e1a5c | ||
|
|
4d36e74d79 | ||
|
|
eef4e9a922 | ||
|
|
a88fed137a | ||
|
|
62c15cceff | ||
|
|
54d8aa48fb | ||
|
|
dbc276daa7 | ||
|
|
f1e4aa5b6e | ||
|
|
057ef7b80e | ||
|
|
d1d4155c88 | ||
|
|
270cb26460 | ||
|
|
18d788974a | ||
|
|
ba9ae62e51 | ||
|
|
b05a028137 | ||
|
|
f4fdde4a0b | ||
|
|
3d1a0b5418 | ||
|
|
5fda8a2de9 | ||
|
|
b6b6eb5548 | ||
|
|
248b56ec1f | ||
|
|
07ebe90437 | ||
|
|
b0168c1d55 | ||
|
|
676c0626d1 | ||
|
|
b013f412b2 | ||
|
|
86638e20b0 | ||
|
|
2dd34b21e6 | ||
|
|
3bf93a128c | ||
|
|
0244db1e5c | ||
|
|
d8b18d7058 | ||
|
|
d4e0841f16 | ||
|
|
75fcf542a0 | ||
|
|
abf5da8b66 | ||
|
|
c423ab43f1 | ||
|
|
0977f7422a | ||
|
|
5bb0d6db58 | ||
|
|
993c9d09c3 | ||
|
|
b960ef602c | ||
|
|
2f4ddb30ec | ||
|
|
029f460b75 | ||
|
|
2737b6e03b | ||
|
|
1efafeef2f | ||
|
|
f3676cd99e | ||
|
|
24532cea79 | ||
|
|
aae0e64988 | ||
|
|
5700899beb | ||
|
|
d2a13d0e66 | ||
|
|
9368c889d7 | ||
|
|
bff45bd793 | ||
|
|
69f9d218ca | ||
|
|
35b9b8e66f | ||
|
|
f015eef645 | ||
|
|
18c15b13bc | ||
|
|
45cda3cc90 | ||
|
|
d90fd568a6 | ||
|
|
7712b21faa | ||
|
|
42e27a873b | ||
|
|
3276bf9cd3 | ||
|
|
8e29350f12 | ||
|
|
7f4f672d81 | ||
|
|
40cac999c4 | ||
|
|
89fdddfd75 | ||
|
|
96372c05fd | ||
|
|
965267a770 | ||
|
|
bc448c2af2 | ||
|
|
089c6d25bc | ||
|
|
992066d19b | ||
|
|
58d9bafe7a | ||
|
|
182f7d8c9c | ||
|
|
e1afe9afb2 | ||
|
|
44dfec6283 | ||
|
|
8b00733ddf | ||
|
|
70510cf224 | ||
|
|
06dc722aca | ||
|
|
ed176cfaf5 | ||
|
|
27ea836f71 | ||
|
|
e57fab9160 | ||
|
|
8203fc7d6b | ||
|
|
879dca7391 | ||
|
|
e3fc9e8e4a | ||
|
|
dc3e25bcba | ||
|
|
4369f99225 | ||
|
|
14a4c440b6 | ||
|
|
b10dad8bcc | ||
|
|
2e21b36796 | ||
|
|
f546bd72b8 | ||
|
|
68b16fecfe | ||
|
|
c0d5bf3acc | ||
|
|
86c3277075 | ||
|
|
4457352c49 | ||
|
|
180b2d7229 | ||
|
|
4e33891ae5 | ||
|
|
393abc08ed | ||
|
|
ee7e8c17e8 | ||
|
|
f8ed7cfe19 | ||
|
|
959717fafd | ||
|
|
f01bc0a117 | ||
|
|
c00ad8e0a7 | ||
|
|
ec885d5ddb | ||
|
|
19c1458b1d | ||
|
|
5b1301aac5 | ||
|
|
e6ad49327a | ||
|
|
5669fe2fda | ||
|
|
111156da5a | ||
|
|
458162901e | ||
|
|
5ad6a429cc | ||
|
|
cdae8e5e29 | ||
|
|
437b74b353 | ||
|
|
0eeeec5d22 | ||
|
|
fb3d6546e5 | ||
|
|
34b3d9365a | ||
|
|
9f26b27210 | ||
|
|
6547225e8d | ||
|
|
f78d326102 | ||
|
|
740d675294 | ||
|
|
dabaab7675 | ||
|
|
5152be9c4e | ||
|
|
2798e54167 | ||
|
|
831ef6c4f9 | ||
|
|
98885faaa2 | ||
|
|
ef499fd7bd | ||
|
|
ac8ab9b0f0 | ||
|
|
ca7602098f | ||
|
|
ff5626530e | ||
|
|
0bc6751914 | ||
|
|
790b84e7d3 | ||
|
|
ae8dbf43b5 | ||
|
|
fbfc2eb64c | ||
|
|
0f5a191bcf | ||
|
|
948b708223 | ||
|
|
2a55c36b74 | ||
|
|
f25b9fabf8 | ||
|
|
fd25217dee | ||
|
|
fa60ec42f3 | ||
|
|
ce1ac1be84 | ||
|
|
0b1e4f9ed4 | ||
|
|
bac6eec44e | ||
|
|
ff81281337 | ||
|
|
8ccdabef47 | ||
|
|
106f886e83 | ||
|
|
c1b298e46d | ||
|
|
1d1962603b | ||
|
|
18f614d142 | ||
|
|
f0770fb7fc | ||
|
|
c11cd4a6bb | ||
|
|
a4da94792d | ||
|
|
3172e6673f | ||
|
|
eaedb1b88f | ||
|
|
100ed4ecdd | ||
|
|
7c3b823ce1 | ||
|
|
61d1efe943 | ||
|
|
4d2938ac81 | ||
|
|
d762f21c54 | ||
|
|
0a42ea6d57 | ||
|
|
ad2c8c89c1 | ||
|
|
131f0e2d74 | ||
|
|
5899ea7932 | ||
|
|
8539fe96a4 | ||
|
|
8996f2b7f1 | ||
|
|
1885308639 | ||
|
|
211f741a64 | ||
|
|
37d4b97a44 | ||
|
|
3919831857 | ||
|
|
e309794fd7 | ||
|
|
dbca3da639 | ||
|
|
6007b49271 | ||
|
|
ddb4072ac1 | ||
|
|
9cf43d9f7e | ||
|
|
82f9ecaf4a | ||
|
|
66c4b4c4c3 | ||
|
|
8c8815dc45 | ||
|
|
8b41391a5f | ||
|
|
bfcca3e6f9 | ||
|
|
5271f90fa9 | ||
|
|
12cf4b9a85 | ||
|
|
34d2533473 | ||
|
|
9b7528f723 | ||
|
|
1cf1ffd2c0 | ||
|
|
36c2326466 | ||
|
|
f02f8478da | ||
|
|
0b9abf2a57 | ||
|
|
c537a09ad1 | ||
|
|
bee84a622c | ||
|
|
b9b1b0725a | ||
|
|
e8b0c6a542 | ||
|
|
e4033481bc | ||
|
|
88d8af8b96 | ||
|
|
cf49d9a778 | ||
|
|
bed959c658 | ||
|
|
c5cd2d7ce1 | ||
|
|
5a879cd6a5 | ||
|
|
d3346111c7 | ||
|
|
a981060e9e | ||
|
|
d1b32ea8a1 | ||
|
|
2578ce1cf6 | ||
|
|
58f86058d4 | ||
|
|
24af603ce1 | ||
|
|
784fb8da65 | ||
|
|
f08e97af1f | ||
|
|
60fc7ec252 | ||
|
|
789c7f5317 | ||
|
|
2821b5da09 | ||
|
|
bd9d56943e | ||
|
|
b72e6e3466 | ||
|
|
2eecf9c230 | ||
|
|
2f33abc75c | ||
|
|
556d7daa13 | ||
|
|
9e68943b7e | ||
|
|
307a029995 | ||
|
|
54e0ca6510 | ||
|
|
2ba2372bde | ||
|
|
513956062d | ||
|
|
b59f0b8f2f | ||
|
|
6f6e080ee0 | ||
|
|
d9f100d245 | ||
|
|
c3096b320e | ||
|
|
159b740f39 | ||
|
|
9f311903e0 | ||
|
|
ee192a247f | ||
|
|
572a51ad32 | ||
|
|
7df1cfbfb9 | ||
|
|
6489f75b7d | ||
|
|
dad49f1867 | ||
|
|
36aab9e86e | ||
|
|
c16aae75e2 | ||
|
|
dfa6ccb350 | ||
|
|
702dec9c40 | ||
|
|
a5ffe34c2d | ||
|
|
109e31fd2d | ||
|
|
8e9d2fedc5 | ||
|
|
6e2fe788d2 | ||
|
|
9f30438c4f | ||
|
|
6cce314341 |
No files matched your search
@@ -0,0 +1,44 @@
|
||||
<script>
|
||||
(function() {
|
||||
// Fix uppercase text in table cells
|
||||
// Javadoc 11: method names are in th[scope="row"] a, not td a
|
||||
function fixCase() {
|
||||
document.querySelectorAll("th[scope='row'] a, td a, .memberNameLink a").forEach(function(el) {
|
||||
var t = el.textContent.trim();
|
||||
if (t.length > 2 && t === t.toUpperCase() && t.indexOf(" ") === -1) {
|
||||
el.textContent = t.toLowerCase();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
// Correct navPadding = topNav height + subNav height
|
||||
// Uses !important to override jQuery's inline style
|
||||
function fixPadding() {
|
||||
var topNav = document.querySelector(".topNav");
|
||||
var subNav = document.querySelector(".subNav");
|
||||
var pad = document.querySelector(".navPadding");
|
||||
if (!pad) return;
|
||||
var h = (topNav ? topNav.offsetHeight : 0) + (subNav ? subNav.offsetHeight : 0);
|
||||
if (h > 0) {
|
||||
pad.style.setProperty("padding-top", h + "px", "important");
|
||||
}
|
||||
}
|
||||
|
||||
document.addEventListener("DOMContentLoaded", function() {
|
||||
fixCase();
|
||||
// Run fixPadding after jQuery has had its chance
|
||||
setTimeout(fixPadding, 0);
|
||||
setTimeout(fixPadding, 50);
|
||||
setTimeout(fixPadding, 200);
|
||||
|
||||
// Use MutationObserver to permanently override any further jQuery writes
|
||||
var pad = document.querySelector(".navPadding");
|
||||
if (pad) {
|
||||
var observer = new MutationObserver(function() {
|
||||
fixPadding();
|
||||
});
|
||||
observer.observe(pad, { attributes: true, attributeFilter: ["style"] });
|
||||
}
|
||||
});
|
||||
})();
|
||||
</script>
|
||||
@@ -0,0 +1,11 @@
|
||||
<div id="javadoc-header">
|
||||
<a href="/CustomNPC-Plus/" class="header-brand">
|
||||
<div class="header-title">
|
||||
CustomNPC+
|
||||
<span>Javadoc Reference</span>
|
||||
</div>
|
||||
</a>
|
||||
<a href="/CustomNPC-Plus/" class="header-back">
|
||||
Back to Index
|
||||
</a>
|
||||
</div>
|
||||
@@ -0,0 +1,954 @@
|
||||
/* ============================================================
|
||||
CustomNPC+ — Javadoc Theme (Javadoc 11)
|
||||
Tokyo Night — Styled Edition
|
||||
============================================================ */
|
||||
|
||||
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');
|
||||
|
||||
:root {
|
||||
/* ── Tokyo Night palette ── */
|
||||
--bg: #1a1b26;
|
||||
--bg2: #1f2335;
|
||||
--bg3: #24283b;
|
||||
--bg-elevated: #292e42;
|
||||
--border: #3b4261;
|
||||
--border2: #414868;
|
||||
--text: #c0caf5;
|
||||
--text-mid: #a9b1d6;
|
||||
--text-dim: #565f89;
|
||||
--green: #9ece6a;
|
||||
--green-dim: rgba(158, 206, 106, 0.12);
|
||||
--blue: #7aa2f7;
|
||||
--blue-dim: rgba(122, 162, 247, 0.12);
|
||||
--amber: #e0af68;
|
||||
--amber-dim: rgba(224, 175, 104, 0.10);
|
||||
--purple: #bb9af7;
|
||||
--purple-dim: rgba(187, 154, 247, 0.10);
|
||||
--cyan: #7dcfff;
|
||||
--cyan-dim: rgba(125, 207, 255, 0.10);
|
||||
--red: #f7768e;
|
||||
--highlight-bg: rgba(122, 162, 247, 0.08);
|
||||
--hover-bg: rgba(187, 154, 247, 0.08);
|
||||
--nav-h: 44px;
|
||||
--subnav-h: 36px;
|
||||
|
||||
/* ── Font stacks ── */
|
||||
--font-ui: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
||||
--font-mono: 'JetBrains Mono', 'Cascadia Code', 'Fira Code', monospace;
|
||||
}
|
||||
|
||||
* { box-sizing: border-box !important; }
|
||||
|
||||
html, body {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
background: var(--bg) !important;
|
||||
color: var(--text) !important;
|
||||
font-family: var(--font-mono) !important;
|
||||
font-size: 13px !important;
|
||||
line-height: 1.6 !important;
|
||||
margin: 0 !important;
|
||||
padding: 0 !important;
|
||||
min-height: 100vh !important;
|
||||
display: flex !important;
|
||||
flex-direction: column !important;
|
||||
}
|
||||
|
||||
.skipNav { display: none !important; }
|
||||
|
||||
/* ══════════════════════════════════════════════
|
||||
NAVIGATION
|
||||
══════════════════════════════════════════════ */
|
||||
|
||||
.fixedNav {
|
||||
position: fixed !important;
|
||||
top: 0 !important; left: 0 !important; right: 0 !important;
|
||||
z-index: 100 !important;
|
||||
}
|
||||
|
||||
/* Top bar — gradient accent stripe on top */
|
||||
.topNav {
|
||||
position: relative !important;
|
||||
background: var(--bg2) !important;
|
||||
border-bottom: 1px solid var(--border) !important;
|
||||
height: var(--nav-h) !important;
|
||||
margin: 0 !important; padding: 0 !important;
|
||||
display: flex !important;
|
||||
align-items: stretch !important;
|
||||
overflow: visible !important;
|
||||
}
|
||||
|
||||
/* Gradient accent line across the very top */
|
||||
.topNav::before {
|
||||
content: '' !important;
|
||||
position: absolute !important;
|
||||
top: 0 !important; left: 0 !important; right: 0 !important;
|
||||
height: 2px !important;
|
||||
background: linear-gradient(90deg, var(--blue), var(--purple), var(--cyan)) !important;
|
||||
z-index: 10 !important;
|
||||
}
|
||||
|
||||
/* Nav list — leave room on right for brand */
|
||||
.topNav > ul.navList {
|
||||
list-style: none !important;
|
||||
margin: 0 !important;
|
||||
padding: 2px 0 0 8px !important;
|
||||
padding-right: 320px !important;
|
||||
display: flex !important;
|
||||
align-items: stretch !important;
|
||||
flex-shrink: 0 !important;
|
||||
}
|
||||
|
||||
.topNav > ul.navList > li {
|
||||
display: flex !important;
|
||||
align-items: center !important;
|
||||
margin: 0 !important;
|
||||
padding: 0 16px !important;
|
||||
height: var(--nav-h) !important;
|
||||
font-family: var(--font-ui) !important;
|
||||
font-size: 12px !important;
|
||||
font-weight: 500 !important;
|
||||
white-space: nowrap !important;
|
||||
text-transform: none !important;
|
||||
letter-spacing: 0.01em !important;
|
||||
color: var(--text-dim) !important;
|
||||
border-bottom: 2px solid transparent !important;
|
||||
transition: color 0.2s !important;
|
||||
}
|
||||
|
||||
.topNav > ul.navList > li > a {
|
||||
display: flex !important;
|
||||
align-items: center !important;
|
||||
height: var(--nav-h) !important;
|
||||
margin: 0 -16px !important;
|
||||
padding: 0 16px !important;
|
||||
color: var(--text-dim) !important;
|
||||
font-family: var(--font-ui) !important;
|
||||
font-size: 12px !important;
|
||||
font-weight: 500 !important;
|
||||
text-decoration: none !important;
|
||||
text-transform: none !important;
|
||||
letter-spacing: 0.01em !important;
|
||||
white-space: nowrap !important;
|
||||
border-bottom: 2px solid transparent !important;
|
||||
transition: color 0.2s, border-color 0.2s !important;
|
||||
}
|
||||
|
||||
.topNav > ul.navList > li > a:hover {
|
||||
color: var(--text) !important;
|
||||
border-bottom-color: var(--purple) !important;
|
||||
background: transparent !important;
|
||||
text-shadow: none !important;
|
||||
text-decoration: none !important;
|
||||
}
|
||||
|
||||
/* Active item — gradient underline */
|
||||
.topNav > ul.navList > li.navBarCell1Rev {
|
||||
color: var(--text) !important;
|
||||
border-image: linear-gradient(90deg, var(--blue), var(--purple)) 1 !important;
|
||||
border-bottom-width: 2px !important;
|
||||
border-bottom-style: solid !important;
|
||||
}
|
||||
|
||||
/* ── Brand — pinned to far right of topNav ── */
|
||||
.topNav > .aboutLanguage {
|
||||
position: absolute !important;
|
||||
top: 0 !important; right: 0 !important;
|
||||
height: var(--nav-h) !important;
|
||||
display: flex !important;
|
||||
align-items: center !important;
|
||||
gap: 12px !important;
|
||||
padding: 0 16px !important;
|
||||
background: var(--bg2) !important;
|
||||
border-left: 1px solid var(--border) !important;
|
||||
z-index: 5 !important;
|
||||
}
|
||||
|
||||
/* Hide the duplicate in bottom nav */
|
||||
.bottomNav > .aboutLanguage,
|
||||
.bottomNav .aboutLanguage {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
#javadoc-header {
|
||||
display: flex !important;
|
||||
align-items: center !important;
|
||||
gap: 12px !important;
|
||||
}
|
||||
|
||||
.header-brand { text-decoration: none !important; }
|
||||
|
||||
/* Brand title — gradient text */
|
||||
.header-title {
|
||||
font-family: var(--font-ui) !important;
|
||||
font-size: 14px !important;
|
||||
font-weight: 700 !important;
|
||||
background: linear-gradient(135deg, var(--blue), var(--purple)) !important;
|
||||
-webkit-background-clip: text !important;
|
||||
-webkit-text-fill-color: transparent !important;
|
||||
background-clip: text !important;
|
||||
line-height: 1.4 !important;
|
||||
white-space: nowrap !important;
|
||||
}
|
||||
|
||||
.header-title span {
|
||||
display: block !important;
|
||||
font-family: var(--font-mono) !important;
|
||||
font-size: 9px !important;
|
||||
font-weight: 400 !important;
|
||||
background: none !important;
|
||||
-webkit-text-fill-color: var(--text-dim) !important;
|
||||
color: var(--text-dim) !important;
|
||||
margin-top: 1px !important;
|
||||
letter-spacing: 0.1em !important;
|
||||
text-transform: uppercase !important;
|
||||
}
|
||||
|
||||
.header-back {
|
||||
display: inline-flex !important;
|
||||
align-items: center !important;
|
||||
text-decoration: none !important;
|
||||
color: var(--text-dim) !important;
|
||||
font-family: var(--font-ui) !important;
|
||||
font-size: 11px !important;
|
||||
font-weight: 500 !important;
|
||||
padding: 5px 12px !important;
|
||||
border: 1px solid var(--border2) !important;
|
||||
border-radius: 6px !important;
|
||||
white-space: nowrap !important;
|
||||
transition: all 0.2s !important;
|
||||
}
|
||||
|
||||
.header-back:hover {
|
||||
color: var(--text) !important;
|
||||
border-color: var(--purple) !important;
|
||||
background: var(--purple-dim) !important;
|
||||
text-decoration: none !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
/* ── Sub nav ── */
|
||||
.subNav {
|
||||
background: var(--bg3) !important;
|
||||
border-bottom: 1px solid var(--border) !important;
|
||||
height: var(--subnav-h) !important;
|
||||
margin: 0 !important;
|
||||
padding: 0 14px !important;
|
||||
display: flex !important;
|
||||
align-items: center !important;
|
||||
gap: 12px !important;
|
||||
overflow: hidden !important;
|
||||
}
|
||||
|
||||
/* Search first */
|
||||
.subNav > ul.navListSearch {
|
||||
order: -1 !important;
|
||||
}
|
||||
|
||||
.subNav ul,
|
||||
.subNav ul.navList,
|
||||
.subNav ul.subNavList,
|
||||
.subNav ul.navListSearch {
|
||||
list-style: none !important;
|
||||
margin: 0 !important;
|
||||
padding: 0 !important;
|
||||
display: flex !important;
|
||||
align-items: center !important;
|
||||
gap: 0 !important;
|
||||
}
|
||||
|
||||
.subNav li {
|
||||
display: flex !important;
|
||||
align-items: center !important;
|
||||
font-family: var(--font-ui) !important;
|
||||
font-size: 11px !important;
|
||||
color: var(--text-dim) !important;
|
||||
padding: 0 6px !important;
|
||||
white-space: nowrap !important;
|
||||
border: none !important;
|
||||
height: auto !important;
|
||||
text-transform: none !important;
|
||||
}
|
||||
|
||||
.subNav a {
|
||||
color: var(--blue) !important;
|
||||
text-decoration: none !important;
|
||||
font-size: 11px !important;
|
||||
font-family: var(--font-ui) !important;
|
||||
transition: color 0.15s !important;
|
||||
}
|
||||
|
||||
.subNav a:hover { color: var(--purple) !important; text-shadow: none !important; }
|
||||
|
||||
.subNav label {
|
||||
font-family: var(--font-ui) !important;
|
||||
font-size: 11px !important;
|
||||
color: var(--text-dim) !important;
|
||||
text-transform: none !important;
|
||||
margin-right: 4px !important;
|
||||
}
|
||||
|
||||
/* ══════════════════════════════════════════════
|
||||
CONTENT
|
||||
══════════════════════════════════════════════ */
|
||||
|
||||
main {
|
||||
background: var(--bg) !important;
|
||||
padding: 28px !important;
|
||||
flex: 1 0 auto !important;
|
||||
}
|
||||
|
||||
.contentContainer, div.contentContainer {
|
||||
background: var(--bg) !important;
|
||||
padding: 0 28px 0px !important;
|
||||
}
|
||||
|
||||
.header {
|
||||
padding: 0 28px 0 !important;
|
||||
margin-bottom: 20px !important;
|
||||
}
|
||||
|
||||
/* Subtitle under h1 on help/overview pages */
|
||||
.header .subTitle,
|
||||
div.subTitle {
|
||||
color: var(--text-mid) !important;
|
||||
font-family: var(--font-ui) !important;
|
||||
font-size: 13px !important;
|
||||
line-height: 1.7 !important;
|
||||
margin-top: 8px !important;
|
||||
}
|
||||
|
||||
.packageLabelInType {
|
||||
font-family: var(--font-mono) !important;
|
||||
font-size: 11px !important;
|
||||
color: var(--text-dim) !important;
|
||||
}
|
||||
|
||||
/* ── Headings ── */
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
font-family: var(--font-ui) !important;
|
||||
font-weight: 600 !important;
|
||||
line-height: 1.5 !important;
|
||||
text-transform: none !important;
|
||||
letter-spacing: -0.01em !important;
|
||||
}
|
||||
|
||||
/* Page title — gradient accent bar */
|
||||
h1.title, h2.title {
|
||||
font-size: 22px !important;
|
||||
font-weight: 700 !important;
|
||||
color: var(--text) !important;
|
||||
border-bottom: none !important;
|
||||
padding-bottom: 16px !important;
|
||||
padding-left: 16px !important;
|
||||
margin-bottom: 24px !important;
|
||||
margin-top: 0 !important;
|
||||
border-left: 4px solid transparent !important;
|
||||
border-image: linear-gradient(180deg, var(--blue), var(--purple)) 1 !important;
|
||||
}
|
||||
|
||||
/* Section h2 — colored panel */
|
||||
section > h2,
|
||||
li.blockList > section > h2 {
|
||||
font-size: 14px !important;
|
||||
color: var(--green) !important;
|
||||
border-left: 3px solid var(--green) !important;
|
||||
border-bottom: none !important;
|
||||
padding: 10px 14px !important;
|
||||
margin: 0 !important;
|
||||
background: var(--green-dim) !important;
|
||||
}
|
||||
|
||||
/* Generic h2 (table section headers like "Method Summary") */
|
||||
h2 {
|
||||
font-size: 14px !important;
|
||||
color: var(--amber) !important;
|
||||
border-bottom: none !important;
|
||||
border-left: 3px solid var(--amber) !important;
|
||||
padding: 8px 12px !important;
|
||||
margin-top: 28px !important;
|
||||
margin-bottom: 12px !important;
|
||||
background: var(--amber-dim) !important;
|
||||
}
|
||||
|
||||
/* h3 — table section headers inside blockList */
|
||||
h3 {
|
||||
font-size: 12px !important;
|
||||
color: var(--text-mid) !important;
|
||||
margin: 0 !important;
|
||||
padding: 10px 14px !important;
|
||||
background: var(--bg3) !important;
|
||||
border-bottom: 1px solid var(--border) !important;
|
||||
}
|
||||
|
||||
/* h4 — method detail names */
|
||||
h4 {
|
||||
font-size: 13px !important;
|
||||
font-weight: 600 !important;
|
||||
color: var(--cyan) !important;
|
||||
margin: 0 !important;
|
||||
padding: 10px 14px !important;
|
||||
background: var(--bg3) !important;
|
||||
border-bottom: 1px solid var(--border) !important;
|
||||
border-left: 3px solid var(--cyan) !important;
|
||||
}
|
||||
|
||||
/* ── blockList sections — card-like containers ── */
|
||||
ul.blockList > li.blockList,
|
||||
ul.blockListLast > li.blockList {
|
||||
border: 1px solid var(--border) !important;
|
||||
border-radius: 6px !important;
|
||||
margin-bottom: 14px !important;
|
||||
padding: 0 !important;
|
||||
background: var(--bg2) !important;
|
||||
overflow: hidden !important;
|
||||
}
|
||||
|
||||
/* Help page: section cards with padding around their content */
|
||||
ul.blockList > li.blockList > section {
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
ul.blockList > li.blockList > section > p,
|
||||
ul.blockList > li.blockList > section > ul:not(.blockList):not(.blockListLast) {
|
||||
padding: 14px 18px !important;
|
||||
margin: 0 !important;
|
||||
color: var(--text-mid) !important;
|
||||
font-family: var(--font-ui) !important;
|
||||
font-size: 13px !important;
|
||||
line-height: 1.7 !important;
|
||||
}
|
||||
|
||||
/* Nested lists inside section content */
|
||||
ul.blockList > li.blockList > section > ul:not(.blockList):not(.blockListLast) > li {
|
||||
color: var(--text-mid) !important;
|
||||
font-family: var(--font-ui) !important;
|
||||
font-size: 13px !important;
|
||||
padding: 3px 0 !important;
|
||||
list-style: none !important;
|
||||
}
|
||||
|
||||
ul.blockList > li.blockList > section > ul:not(.blockList):not(.blockListLast) > li::before {
|
||||
content: '\203A' !important;
|
||||
color: var(--purple) !important;
|
||||
margin-right: 8px !important;
|
||||
font-weight: 700 !important;
|
||||
}
|
||||
|
||||
/* ── Inherited methods block ── */
|
||||
ul.blockList > li.blockList > h3,
|
||||
ul.blockList > li.blockList > ul.blockList > li.blockList > h3 {
|
||||
font-size: 11px !important;
|
||||
color: var(--text-dim) !important;
|
||||
padding: 8px 14px !important;
|
||||
background: var(--bg3) !important;
|
||||
border-bottom: 1px solid var(--border) !important;
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
/* The comma-separated code block of inherited method names */
|
||||
ul.blockList > li.blockList > code,
|
||||
li.blockList > code {
|
||||
display: block !important;
|
||||
padding: 10px 16px !important;
|
||||
color: var(--text-dim) !important;
|
||||
font-family: var(--font-mono) !important;
|
||||
font-size: 12px !important;
|
||||
background: var(--bg) !important;
|
||||
border: none !important;
|
||||
line-height: 1.8 !important;
|
||||
}
|
||||
|
||||
/* ── Inheritance chain ── */
|
||||
ul.inheritance {
|
||||
list-style: none !important;
|
||||
padding: 0 !important;
|
||||
margin: 0 0 16px !important;
|
||||
font-size: 12px !important;
|
||||
color: var(--text-dim) !important;
|
||||
}
|
||||
ul.inheritance li { padding-left: 16px !important; }
|
||||
ul.inheritance li:first-child { padding-left: 0 !important; }
|
||||
|
||||
/* ── General content lists (help page) ── */
|
||||
main ul:not(.blockList):not(.blockListLast):not(.navList):not(.subNavList):not(.navListSearch):not(.inheritance) {
|
||||
padding-left: 0 !important;
|
||||
margin: 4px 0 4px 12px !important;
|
||||
list-style: none !important;
|
||||
}
|
||||
main ul:not(.blockList):not(.blockListLast):not(.navList):not(.subNavList):not(.navListSearch):not(.inheritance) > li {
|
||||
color: var(--text-mid) !important;
|
||||
font-family: var(--font-ui) !important;
|
||||
font-size: 13px !important;
|
||||
padding: 3px 0 !important;
|
||||
line-height: 1.7 !important;
|
||||
}
|
||||
main ul:not(.blockList):not(.blockListLast):not(.navList):not(.subNavList):not(.navListSearch):not(.inheritance) > li::before {
|
||||
content: '\203A' !important;
|
||||
color: var(--purple) !important;
|
||||
margin-right: 8px !important;
|
||||
font-weight: 700 !important;
|
||||
}
|
||||
|
||||
/* General paragraphs in content */
|
||||
main > div p, .contentContainer p {
|
||||
color: var(--text-mid) !important;
|
||||
font-family: var(--font-ui) !important;
|
||||
font-size: 13px !important;
|
||||
line-height: 1.7 !important;
|
||||
margin: 8px 0 !important;
|
||||
}
|
||||
|
||||
/* Emphasized phrase */
|
||||
.emphasizedPhrase {
|
||||
display: block !important;
|
||||
color: var(--text-dim) !important;
|
||||
font-family: var(--font-mono) !important;
|
||||
font-size: 12px !important;
|
||||
font-style: italic !important;
|
||||
border-left: 2px solid var(--purple) !important;
|
||||
padding: 8px 14px !important;
|
||||
margin-top: 16px !important;
|
||||
background: var(--purple-dim) !important;
|
||||
border-radius: 0 4px 4px 0 !important;
|
||||
}
|
||||
|
||||
/* Bottom footer subNav */
|
||||
footer {
|
||||
/*margin-top: auto;*/
|
||||
}
|
||||
footer .subNav {
|
||||
background: var(--bg3) !important;
|
||||
border-top: 1px solid var(--border) !important;
|
||||
border-bottom: none !important;
|
||||
height: var(--subnav-h) !important;
|
||||
padding: 0 14px !important;
|
||||
display: flex !important;
|
||||
align-items: center !important;
|
||||
gap: 12px !important;
|
||||
overflow: hidden !important;
|
||||
}
|
||||
|
||||
/* ══════════════════════════════════════════════
|
||||
TABLES
|
||||
══════════════════════════════════════════════ */
|
||||
|
||||
table {
|
||||
width: 100% !important;
|
||||
border-collapse: collapse !important;
|
||||
border: 1px solid var(--border) !important;
|
||||
border-radius: 6px !important;
|
||||
margin: 16px 0 !important;
|
||||
font-size: 13px !important;
|
||||
overflow: hidden !important;
|
||||
}
|
||||
|
||||
caption {
|
||||
background: var(--bg3) !important;
|
||||
padding: 8px 14px !important;
|
||||
text-align: left !important;
|
||||
border-bottom: 1px solid var(--border2) !important;
|
||||
caption-side: top !important;
|
||||
}
|
||||
|
||||
/* Table tabs — pill style */
|
||||
.activeTableTab, .tableTab {
|
||||
font-family: var(--font-ui) !important;
|
||||
font-size: 11px !important;
|
||||
font-weight: 500 !important;
|
||||
text-transform: none !important;
|
||||
padding: 4px 12px !important;
|
||||
border: 1px solid var(--border2) !important;
|
||||
border-radius: 20px !important;
|
||||
display: inline-block !important;
|
||||
margin-right: 6px !important;
|
||||
cursor: pointer !important;
|
||||
transition: all 0.2s !important;
|
||||
}
|
||||
|
||||
.activeTableTab {
|
||||
color: var(--text) !important;
|
||||
border-color: var(--blue) !important;
|
||||
background: var(--blue-dim) !important;
|
||||
}
|
||||
|
||||
.tableTab { color: var(--text-dim) !important; background: var(--bg3) !important; }
|
||||
.tableTab a { color: var(--text-dim) !important; text-decoration: none !important; }
|
||||
.tableTab a:hover { color: var(--text) !important; text-shadow: none !important; }
|
||||
|
||||
/* Column headers */
|
||||
th[scope="col"] {
|
||||
background: var(--bg-elevated) !important;
|
||||
color: var(--text-dim) !important;
|
||||
font-family: var(--font-ui) !important;
|
||||
font-size: 10px !important;
|
||||
font-weight: 600 !important;
|
||||
letter-spacing: 0.06em !important;
|
||||
text-transform: uppercase !important;
|
||||
padding: 10px 14px !important;
|
||||
border-bottom: 2px solid var(--border2) !important;
|
||||
text-align: left !important;
|
||||
}
|
||||
|
||||
/* Data cells */
|
||||
th[scope="row"], td {
|
||||
background: var(--bg2) !important;
|
||||
color: var(--text) !important;
|
||||
padding: 10px 14px !important;
|
||||
border-bottom: 1px solid var(--border) !important;
|
||||
vertical-align: top !important;
|
||||
text-align: left !important;
|
||||
font-family: var(--font-mono) !important;
|
||||
font-size: 12px !important;
|
||||
font-weight: 400 !important;
|
||||
text-transform: none !important;
|
||||
letter-spacing: 0 !important;
|
||||
transition: background 0.15s !important;
|
||||
}
|
||||
|
||||
/* Stronger alternating row contrast */
|
||||
tr.altColor > td, tr.altColor > th[scope="row"] { background: var(--bg) !important; }
|
||||
tr.rowColor > td, tr.rowColor > th[scope="row"] { background: var(--bg2) !important; }
|
||||
|
||||
tr:hover > td, tr:hover > th[scope="row"] {
|
||||
background: var(--purple-dim) !important;
|
||||
border-bottom-color: rgba(187, 154, 247, 0.25) !important;
|
||||
}
|
||||
tr:hover > td a, tr:hover > th[scope="row"] a {
|
||||
color: var(--purple) !important;
|
||||
}
|
||||
|
||||
/* ── Links ── */
|
||||
a, a:visited { color: var(--blue) !important; text-decoration: none !important; transition: color 0.15s !important; }
|
||||
a:hover { color: var(--purple) !important; text-decoration: none !important; }
|
||||
.memberNameLink a { color: var(--cyan) !important; font-weight: 500 !important; }
|
||||
.memberNameLink a:hover { color: var(--purple) !important; }
|
||||
.externalLink { color: var(--blue) !important; }
|
||||
|
||||
/* ── Description blocks ── */
|
||||
div.block {
|
||||
color: var(--text-mid) !important;
|
||||
font-family: var(--font-ui) !important;
|
||||
font-size: 13px !important;
|
||||
line-height: 1.7 !important;
|
||||
padding: 4px 0 !important;
|
||||
}
|
||||
ul.blockList > li.blockList > div.block{ padding: 12px 16px !important; margin: 0 !important; }
|
||||
|
||||
/* ── Method detail ── */
|
||||
ul.blockList, ul.blockListLast { list-style: none !important; padding: 0 !important; margin: 0 !important; }
|
||||
ul.blockList > li.blockList, ul.blockListLast > li.blockList {
|
||||
border: 1px solid var(--border) !important;
|
||||
border-radius: 6px !important;
|
||||
margin-bottom: 12px !important;
|
||||
padding: 0 !important;
|
||||
overflow: hidden !important;
|
||||
}
|
||||
|
||||
/* Method/type signatures — accent left bar */
|
||||
pre.methodSignature, pre.typeSignature {
|
||||
background: var(--bg2) !important;
|
||||
border: none !important;
|
||||
border-bottom: 1px solid var(--border) !important;
|
||||
border-left: 3px solid var(--cyan) !important;
|
||||
margin: 0 !important;
|
||||
padding: 14px 18px !important;
|
||||
font-family: var(--font-mono) !important;
|
||||
font-size: 12px !important;
|
||||
color: var(--text) !important;
|
||||
overflow-x: auto !important;
|
||||
white-space: pre-wrap !important;
|
||||
}
|
||||
|
||||
pre {
|
||||
background: var(--bg2) !important;
|
||||
border: 1px solid var(--border) !important;
|
||||
border-left: 3px solid var(--blue) !important;
|
||||
border-radius: 6px !important;
|
||||
padding: 14px 18px !important;
|
||||
font-family: var(--font-mono) !important;
|
||||
font-size: 12px !important;
|
||||
color: var(--text) !important;
|
||||
overflow-x: auto !important;
|
||||
margin: 0 !important;
|
||||
white-space: pre-wrap !important;
|
||||
}
|
||||
|
||||
code {
|
||||
font-family: var(--font-mono) !important;
|
||||
font-size: 12px !important;
|
||||
color: var(--cyan) !important;
|
||||
background: var(--bg3) !important;
|
||||
padding: 2px 6px !important;
|
||||
border-radius: 4px !important;
|
||||
}
|
||||
|
||||
dl { padding: 12px 16px !important; margin: 0 !important; }
|
||||
dt { margin-bottom: 4px !important; }
|
||||
dd { margin: 0 0 8px 16px !important; color: var(--text-mid) !important; font-size: 12px !important; }
|
||||
|
||||
.paramLabel, .returnLabel, .throwsLabel, .seeLabel, .simpleTagLabel {
|
||||
font-family: var(--font-ui) !important;
|
||||
font-size: 10px !important;
|
||||
font-weight: 600 !important;
|
||||
color: var(--purple) !important;
|
||||
text-transform: uppercase !important;
|
||||
letter-spacing: 0.06em !important;
|
||||
}
|
||||
|
||||
.typeNameLabel { color: var(--cyan) !important; }
|
||||
|
||||
.deprecationBlock {
|
||||
background: var(--amber-dim) !important;
|
||||
border-left: 3px solid var(--amber) !important;
|
||||
border-radius: 0 6px 6px 0 !important;
|
||||
padding: 10px 14px !important;
|
||||
color: var(--amber) !important;
|
||||
font-size: 12px !important;
|
||||
}
|
||||
|
||||
/* ── Inputs ── */
|
||||
input[type="text"] {
|
||||
background: var(--bg) !important;
|
||||
border: 1px solid var(--border2) !important;
|
||||
color: var(--text) !important;
|
||||
font-family: var(--font-mono) !important;
|
||||
font-size: 12px !important;
|
||||
padding: 5px 12px !important;
|
||||
outline: none !important;
|
||||
border-radius: 6px !important;
|
||||
transition: border-color 0.2s, box-shadow 0.2s !important;
|
||||
}
|
||||
input[type="text"]:focus {
|
||||
border-color: var(--blue) !important;
|
||||
box-shadow: 0 0 0 2px var(--blue-dim) !important;
|
||||
}
|
||||
input[type="reset"] {
|
||||
background: var(--bg3) !important;
|
||||
border: 1px solid var(--border2) !important;
|
||||
color: var(--text-dim) !important;
|
||||
font-family: var(--font-ui) !important;
|
||||
font-size: 11px !important;
|
||||
padding: 5px 12px !important;
|
||||
cursor: pointer !important;
|
||||
border-radius: 6px !important;
|
||||
transition: all 0.2s !important;
|
||||
}
|
||||
input[type="reset"]:hover {
|
||||
border-color: var(--text-dim) !important;
|
||||
color: var(--text-mid) !important;
|
||||
}
|
||||
|
||||
/* ══════════════════════════════════════════════
|
||||
BOTTOM NAV
|
||||
══════════════════════════════════════════════ */
|
||||
|
||||
.bottomNav {
|
||||
background: var(--bg2) !important;
|
||||
border-top: 1px solid var(--border) !important;
|
||||
min-height: var(--nav-h) !important;
|
||||
padding: 0 !important;
|
||||
margin-top: 32px !important;
|
||||
overflow: hidden !important;
|
||||
position: relative !important;
|
||||
}
|
||||
|
||||
/* Gradient accent line on bottom nav too */
|
||||
.bottomNav::after {
|
||||
content: '' !important;
|
||||
position: absolute !important;
|
||||
bottom: 0 !important; left: 0 !important; right: 0 !important;
|
||||
height: 2px !important;
|
||||
background: linear-gradient(90deg, var(--blue), var(--purple), var(--cyan)) !important;
|
||||
}
|
||||
|
||||
.bottomNav ul.navList[title="Navigation"] {
|
||||
list-style: none !important;
|
||||
margin: 0 !important;
|
||||
padding: 0 0 0 8px !important;
|
||||
display: flex !important;
|
||||
align-items: stretch !important;
|
||||
height: var(--nav-h) !important;
|
||||
}
|
||||
|
||||
.bottomNav ul.navList[title="Navigation"] li {
|
||||
display: flex !important;
|
||||
align-items: center !important;
|
||||
margin: 0 !important;
|
||||
padding: 0 16px !important;
|
||||
height: var(--nav-h) !important;
|
||||
font-family: var(--font-ui) !important;
|
||||
font-size: 12px !important;
|
||||
font-weight: 500 !important;
|
||||
white-space: nowrap !important;
|
||||
text-transform: none !important;
|
||||
letter-spacing: 0.01em !important;
|
||||
color: var(--text-dim) !important;
|
||||
border-top: 2px solid transparent !important;
|
||||
transition: color 0.2s !important;
|
||||
}
|
||||
|
||||
.bottomNav ul.navList[title="Navigation"] li > a {
|
||||
display: flex !important;
|
||||
align-items: center !important;
|
||||
height: var(--nav-h) !important;
|
||||
margin: 0 -16px !important;
|
||||
padding: 0 16px !important;
|
||||
color: var(--text-dim) !important;
|
||||
text-decoration: none !important;
|
||||
font-family: var(--font-ui) !important;
|
||||
font-size: 12px !important;
|
||||
font-weight: 500 !important;
|
||||
transition: color 0.2s !important;
|
||||
}
|
||||
|
||||
.bottomNav ul.navList[title="Navigation"] li > a:hover {
|
||||
color: var(--text) !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
.bottomNav ul.navList[title="Navigation"] li.navBarCell1Rev {
|
||||
color: var(--text) !important;
|
||||
border-image: linear-gradient(90deg, var(--blue), var(--purple)) 1 !important;
|
||||
border-top-width: 2px !important;
|
||||
border-top-style: solid !important;
|
||||
}
|
||||
|
||||
.bottomNav .aboutLanguage {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.legalCopy {
|
||||
background: var(--bg2) !important;
|
||||
color: var(--text-dim) !important;
|
||||
font-size: 11px !important;
|
||||
font-family: var(--font-ui) !important;
|
||||
padding: 14px 18px !important;
|
||||
text-align: center !important;
|
||||
border-top: 1px solid var(--border) !important;
|
||||
}
|
||||
|
||||
/* ══════════════════════════════════════════════
|
||||
SEARCH RESULTS DROPDOWN (jQuery UI Autocomplete)
|
||||
══════════════════════════════════════════════ */
|
||||
|
||||
.ui-autocomplete {
|
||||
background: var(--bg2) !important;
|
||||
border: 1px solid var(--border2) !important;
|
||||
border-radius: 8px !important;
|
||||
max-height: 400px !important;
|
||||
overflow-y: auto !important;
|
||||
overflow-x: hidden !important;
|
||||
z-index: 9999 !important;
|
||||
list-style: none !important;
|
||||
padding: 4px 0 !important;
|
||||
margin: 4px 0 0 !important;
|
||||
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(122, 162, 247, 0.05) !important;
|
||||
}
|
||||
|
||||
/* Category headers */
|
||||
.ui-autocomplete .ui-autocomplete-category {
|
||||
background: var(--bg-elevated) !important;
|
||||
color: var(--text-dim) !important;
|
||||
font-family: var(--font-ui) !important;
|
||||
font-size: 10px !important;
|
||||
font-weight: 600 !important;
|
||||
text-transform: uppercase !important;
|
||||
letter-spacing: 0.06em !important;
|
||||
padding: 6px 14px !important;
|
||||
border-bottom: 1px solid var(--border) !important;
|
||||
border-top: 1px solid var(--border) !important;
|
||||
cursor: default !important;
|
||||
}
|
||||
|
||||
/* Individual result items */
|
||||
.ui-autocomplete .ui-menu-item {
|
||||
background: var(--bg2) !important;
|
||||
margin: 0 !important;
|
||||
list-style: none !important;
|
||||
}
|
||||
|
||||
.ui-autocomplete .ui-menu-item > div,
|
||||
.ui-autocomplete .ui-menu-item-wrapper {
|
||||
background: var(--bg2) !important;
|
||||
color: var(--text) !important;
|
||||
font-family: var(--font-mono) !important;
|
||||
font-size: 12px !important;
|
||||
padding: 7px 14px !important;
|
||||
border: none !important;
|
||||
border-left: 2px solid transparent !important;
|
||||
cursor: pointer !important;
|
||||
line-height: 1.5 !important;
|
||||
transition: all 0.1s !important;
|
||||
}
|
||||
|
||||
/* Hover / focus state */
|
||||
.ui-autocomplete .ui-menu-item > div.ui-state-active,
|
||||
.ui-autocomplete .ui-menu-item > div.ui-state-focus,
|
||||
.ui-autocomplete .ui-menu-item-wrapper.ui-state-active,
|
||||
.ui-autocomplete .ui-menu-item-wrapper.ui-state-focus,
|
||||
.ui-autocomplete .ui-state-active,
|
||||
.ui-autocomplete .ui-state-focus {
|
||||
background: var(--purple-dim) !important;
|
||||
color: var(--text) !important;
|
||||
border: none !important;
|
||||
border-left: 2px solid var(--purple) !important;
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
/* Highlighted matching text */
|
||||
.resultHighlight {
|
||||
color: var(--cyan) !important;
|
||||
font-weight: 600 !important;
|
||||
}
|
||||
|
||||
/* Search tag result extras */
|
||||
.searchTagHolderResult {
|
||||
color: var(--text-dim) !important;
|
||||
font-size: 11px !important;
|
||||
}
|
||||
|
||||
.searchTagDescResult {
|
||||
color: var(--text-dim) !important;
|
||||
font-size: 11px !important;
|
||||
font-style: italic !important;
|
||||
}
|
||||
|
||||
/* "No results found" */
|
||||
.ui-autocomplete .ui-menu-item:only-child > div {
|
||||
color: var(--text-dim) !important;
|
||||
font-style: italic !important;
|
||||
}
|
||||
|
||||
/* Override jQuery UI defaults */
|
||||
.ui-widget {
|
||||
font-family: var(--font-mono) !important;
|
||||
}
|
||||
|
||||
.ui-widget-content {
|
||||
background: var(--bg2) !important;
|
||||
color: var(--text) !important;
|
||||
border-color: var(--border2) !important;
|
||||
}
|
||||
|
||||
.ui-menu .ui-menu-item {
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
/* Watermark style for search input placeholder */
|
||||
.watermark {
|
||||
color: var(--text-dim) !important;
|
||||
}
|
||||
|
||||
/* ══════════════════════════════════════════════
|
||||
MISC
|
||||
══════════════════════════════════════════════ */
|
||||
|
||||
::-webkit-scrollbar { width: 8px; height: 8px; }
|
||||
::-webkit-scrollbar-track { background: var(--bg); }
|
||||
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 4px; }
|
||||
::-webkit-scrollbar-thumb:hover { background: var(--text-dim); }
|
||||
::selection { background: rgba(187, 154, 247, 0.25); color: var(--text); }
|
||||
hr { border: none !important; border-top: 1px solid var(--border) !important; margin: 24px 0 !important; }
|
||||
@@ -0,0 +1,14 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Javadoc Index</title>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@300;400;500;600&family=IBM+Plex+Sans:ital,wght@0,300;0,600;1,300&display=swap" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
<script type="module" src="/src/main.jsx"></script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"name": "javadoc-index",
|
||||
"private": true,
|
||||
"version": "1.0.0",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "vite build",
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vitejs/plugin-react": "^4.2.1",
|
||||
"vite": "^7.3.1"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,64 @@
|
||||
import styles from './App.module.css'
|
||||
import { useDocs } from './useDocs'
|
||||
import TerminalHeader from './components/TerminalHeader'
|
||||
import Section from './components/Section'
|
||||
import { ReleaseCard, ExperimentalCard } from './components/Card'
|
||||
import { LoadingState, ErrorState, EmptyState } from './components/States'
|
||||
import Footer from './components/Footer'
|
||||
|
||||
export default function App() {
|
||||
const { data, loading, error } = useDocs()
|
||||
|
||||
const releases = data?.releases || []
|
||||
const experimental = data?.experimental || []
|
||||
|
||||
return (
|
||||
<div className={styles.root}>
|
||||
<TerminalHeader />
|
||||
|
||||
{/* ── Releases ── */}
|
||||
<Section
|
||||
label="Release"
|
||||
variant="releases"
|
||||
count={loading ? undefined : releases.length}
|
||||
>
|
||||
{loading ? (
|
||||
<LoadingState />
|
||||
) : error ? (
|
||||
<ErrorState message={error} />
|
||||
) : releases.length === 0 ? (
|
||||
<EmptyState label="releases" />
|
||||
) : (
|
||||
<div className={styles.grid}>
|
||||
{releases.map((r, i) => (
|
||||
<ReleaseCard key={r.id} release={r} index={i} />
|
||||
))}
|
||||
</div>
|
||||
)}
|
||||
</Section>
|
||||
|
||||
{/* ── Experimental ── */}
|
||||
<Section
|
||||
label="Experimental"
|
||||
variant="experimental"
|
||||
count={loading ? undefined : experimental.length}
|
||||
>
|
||||
{loading ? (
|
||||
<LoadingState />
|
||||
) : error ? null : experimental.length === 0 ? (
|
||||
<EmptyState label="experimental branches" />
|
||||
) : (
|
||||
<div className={styles.grid}>
|
||||
{experimental.map((b, i) => (
|
||||
<ExperimentalCard key={b.id} branch={b} index={i} />
|
||||
))}
|
||||
</div>
|
||||
)}
|
||||
</Section>
|
||||
|
||||
{!loading && !error && (
|
||||
<Footer source={data?.source} />
|
||||
)}
|
||||
</div>
|
||||
)
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
.root {
|
||||
max-width: 1100px;
|
||||
margin: 0 auto;
|
||||
padding: 48px 32px 96px;
|
||||
}
|
||||
|
||||
.grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
@media (max-width: 600px) {
|
||||
.root { padding: 24px 16px 64px; }
|
||||
.grid { grid-template-columns: 1fr; }
|
||||
}
|
||||
@@ -0,0 +1,97 @@
|
||||
import styles from './Card.module.css'
|
||||
import { REPO_NAME } from '../config'
|
||||
|
||||
const BASE_PATH = `/${REPO_NAME}`
|
||||
|
||||
function formatDate(iso) {
|
||||
if (!iso) return null
|
||||
try {
|
||||
return new Intl.DateTimeFormat('en-GB', {
|
||||
day: '2-digit', month: 'short', year: 'numeric'
|
||||
}).format(new Date(iso))
|
||||
} catch (e) { return null }
|
||||
}
|
||||
|
||||
export function ReleaseCard({ release, index }) {
|
||||
const isLatest = release.isLatest
|
||||
const date = formatDate(release.date)
|
||||
const cardClass = isLatest
|
||||
? styles.card + ' ' + styles.latest
|
||||
: styles.card + ' ' + styles.release
|
||||
|
||||
return (
|
||||
<a
|
||||
href={BASE_PATH + '/' + release.path + '/'}
|
||||
className={cardClass}
|
||||
style={{ animationDelay: (index * 50) + 'ms' }}
|
||||
>
|
||||
<div className={styles.header}>
|
||||
<div className={styles.badges}>
|
||||
{isLatest && (
|
||||
<span className={styles.badge + ' ' + styles.badgeLatest}>● latest</span>
|
||||
)}
|
||||
<span className={styles.badge + ' ' + styles.badgeRelease}>release</span>
|
||||
</div>
|
||||
<span className={styles.arrow}>→</span>
|
||||
</div>
|
||||
|
||||
<div className={styles.version}>
|
||||
v{release.version}
|
||||
</div>
|
||||
<div className={styles.meta}>
|
||||
{date && (
|
||||
<div className={styles.metaRow}>
|
||||
<span className={styles.metaKey}>date</span>
|
||||
<span className={styles.metaVal}>{date}</span>
|
||||
</div>
|
||||
)}
|
||||
<div className={styles.metaRow}>
|
||||
<span className={styles.metaKey}>path</span>
|
||||
<span className={styles.metaVal}>{release.path}/</span>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
)
|
||||
}
|
||||
|
||||
export function ExperimentalCard({ branch, index }) {
|
||||
const date = formatDate(branch.date)
|
||||
|
||||
return (
|
||||
<a
|
||||
href={BASE_PATH + '/' + branch.path + '/'}
|
||||
className={styles.card + ' ' + styles.experimental}
|
||||
style={{ animationDelay: (index * 50) + 'ms' }}
|
||||
>
|
||||
<div className={styles.header}>
|
||||
<span className={styles.badge + ' ' + styles.badgeExperimental}>
|
||||
experimental
|
||||
</span>
|
||||
<span className={styles.arrow}>→</span>
|
||||
</div>
|
||||
|
||||
<div className={styles.version + ' ' + styles.versionBranch}>
|
||||
{branch.branch}
|
||||
</div>
|
||||
|
||||
<div className={styles.meta}>
|
||||
{date && (
|
||||
<div className={styles.metaRow}>
|
||||
<span className={styles.metaKey}>date</span>
|
||||
<span className={styles.metaVal}>{date}</span>
|
||||
</div>
|
||||
)}
|
||||
{branch.hash && (
|
||||
<div className={styles.metaRow}>
|
||||
<span className={styles.metaKey}>sha</span>
|
||||
<span className={styles.metaVal + ' ' + styles.hash}>{branch.hash}</span>
|
||||
</div>
|
||||
)}
|
||||
<div className={styles.metaRow}>
|
||||
<span className={styles.metaKey}>path</span>
|
||||
<span className={styles.metaVal}>{branch.path}/</span>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
)
|
||||
}
|
||||
@@ -0,0 +1,143 @@
|
||||
.card {
|
||||
display: block;
|
||||
text-decoration: none;
|
||||
background: var(--bg2);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 6px;
|
||||
padding: 20px 22px;
|
||||
transition: border-color 0.15s, background 0.15s, transform 0.15s;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
animation: fadeUp 0.35s ease both;
|
||||
}
|
||||
|
||||
.card::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0; left: 0; right: 0;
|
||||
height: 2px;
|
||||
opacity: 0;
|
||||
transition: opacity 0.15s;
|
||||
}
|
||||
|
||||
.release::before { background: var(--green); }
|
||||
.latest::before { background: linear-gradient(90deg, var(--green), var(--blue)); }
|
||||
.experimental::before { background: var(--amber); }
|
||||
|
||||
.card:hover {
|
||||
border-color: var(--border2);
|
||||
background: var(--bg3);
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
.card:hover::before { opacity: 1; }
|
||||
|
||||
/* ── Header ── */
|
||||
.header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
|
||||
.badges {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.badge {
|
||||
font-size: 9px;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.12em;
|
||||
text-transform: uppercase;
|
||||
padding: 2px 8px;
|
||||
border-radius: 2px;
|
||||
border: 1px solid;
|
||||
}
|
||||
|
||||
.badgeLatest {
|
||||
color: var(--green);
|
||||
border-color: var(--green-dim);
|
||||
background: rgba(57, 211, 83, 0.08);
|
||||
animation: pulseBorder 2s ease infinite;
|
||||
}
|
||||
|
||||
.badgeRelease {
|
||||
color: var(--text-dim);
|
||||
border-color: var(--border2);
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.badgeExperimental {
|
||||
color: var(--amber);
|
||||
border-color: var(--amber-dim);
|
||||
background: rgba(240, 160, 48, 0.08);
|
||||
}
|
||||
|
||||
.arrow {
|
||||
font-size: 14px;
|
||||
color: var(--border2);
|
||||
transition: color 0.15s, transform 0.15s;
|
||||
}
|
||||
|
||||
.card:hover .arrow {
|
||||
color: var(--text-mid);
|
||||
transform: translateX(3px);
|
||||
}
|
||||
|
||||
/* ── Version ── */
|
||||
.version {
|
||||
font-size: 20px;
|
||||
font-weight: 500;
|
||||
color: var(--text);
|
||||
margin-bottom: 4px;
|
||||
letter-spacing: -0.01em;
|
||||
}
|
||||
|
||||
.latest .version { color: var(--green); }
|
||||
.versionBranch { font-size: 16px; color: var(--amber); }
|
||||
|
||||
/* ── Meta ── */
|
||||
.meta {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 3px;
|
||||
margin-top: 12px;
|
||||
padding-top: 12px;
|
||||
border-top: 1px solid var(--border);
|
||||
}
|
||||
|
||||
.metaRow {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
font-size: 10px;
|
||||
color: var(--text-dim);
|
||||
}
|
||||
|
||||
.metaKey {
|
||||
min-width: 36px;
|
||||
color: var(--text-dim);
|
||||
}
|
||||
|
||||
.metaVal {
|
||||
color: var(--text-mid);
|
||||
font-family: 'IBM Plex Mono', monospace;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.hash { color: var(--blue); }
|
||||
|
||||
/* ── Animations ── */
|
||||
@keyframes fadeUp {
|
||||
from { opacity: 0; transform: translateY(10px); }
|
||||
to { opacity: 1; transform: translateY(0); }
|
||||
}
|
||||
|
||||
@keyframes pulseBorder {
|
||||
0%, 100% { border-color: var(--green-dim); }
|
||||
50% { border-color: var(--green); }
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
import styles from './Footer.module.css'
|
||||
import { REPO_OWNER, REPO_NAME } from '../useDocs'
|
||||
|
||||
export default function Footer({ source }) {
|
||||
const now = new Intl.DateTimeFormat('en-GB', {
|
||||
day: '2-digit', month: 'short', year: 'numeric',
|
||||
hour: '2-digit', minute: '2-digit', timeZoneName: 'short'
|
||||
}).format(new Date())
|
||||
|
||||
return (
|
||||
<footer className={styles.footer}>
|
||||
<span>
|
||||
<span className={styles.dot} />
|
||||
Auto-generated · {source === 'manifest' ? 'manifest.json' : 'GitHub API'}
|
||||
</span>
|
||||
<span>{now}</span>
|
||||
<span>Template by:
|
||||
<a
|
||||
href={`https://github.com/somehussar/`}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className={styles.link}
|
||||
>
|
||||
github.com/somehussar
|
||||
</a>
|
||||
</span>
|
||||
</footer>
|
||||
)
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
.footer {
|
||||
margin-top: 64px;
|
||||
padding-top: 20px;
|
||||
border-top: 1px solid var(--border);
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
font-size: 11px;
|
||||
color: var(--text-dim);
|
||||
}
|
||||
|
||||
.dot {
|
||||
display: inline-block;
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
border-radius: 50%;
|
||||
background: var(--green);
|
||||
margin-right: 6px;
|
||||
animation: blink 2s ease infinite;
|
||||
}
|
||||
|
||||
.link {
|
||||
color: var(--blue);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.link:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
@keyframes blink {
|
||||
0%, 100% { opacity: 1; }
|
||||
50% { opacity: 0.3; }
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
import styles from './Section.module.css'
|
||||
|
||||
export default function Section({ label, count, variant, children }) {
|
||||
return (
|
||||
<section className={styles.section}>
|
||||
<div className={styles.header}>
|
||||
<span className={`${styles.tag} ${styles[variant]}`}>{label}</span>
|
||||
<div className={styles.line} />
|
||||
{count !== undefined && (
|
||||
<span className={styles.count}>
|
||||
{count} {label.toLowerCase()}{count !== 1 ? 's' : ''}
|
||||
</span>
|
||||
)}
|
||||
</div>
|
||||
{children}
|
||||
</section>
|
||||
)
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
.section {
|
||||
margin-top: 40px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.tag {
|
||||
font-size: 10px;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.15em;
|
||||
text-transform: uppercase;
|
||||
padding: 3px 10px;
|
||||
border-radius: 3px;
|
||||
border: 1px solid;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.releases {
|
||||
color: var(--green);
|
||||
border-color: var(--green-dim);
|
||||
background: rgba(57, 211, 83, 0.06);
|
||||
}
|
||||
|
||||
.experimental {
|
||||
color: var(--amber);
|
||||
border-color: var(--amber-dim);
|
||||
background: rgba(240, 160, 48, 0.06);
|
||||
}
|
||||
|
||||
.line {
|
||||
flex: 1;
|
||||
height: 1px;
|
||||
background: var(--border);
|
||||
}
|
||||
|
||||
.count {
|
||||
font-size: 11px;
|
||||
color: var(--text-dim);
|
||||
white-space: nowrap;
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
import styles from './States.module.css'
|
||||
|
||||
export function LoadingState() {
|
||||
return (
|
||||
<div className={styles.box}>
|
||||
<div className={styles.spinner} />
|
||||
<p className={styles.label}>Fetching documentation index...</p>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
export function ErrorState({ message }) {
|
||||
return (
|
||||
<div className={styles.box}>
|
||||
<div className={styles.errorIcon}>⚠</div>
|
||||
<p className={styles.errorMsg}>{message}</p>
|
||||
<p className={styles.errorSub}>
|
||||
Check that the gh-pages branch exists and is publicly accessible.
|
||||
</p>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
export function EmptyState({ label }) {
|
||||
return (
|
||||
<div className={`${styles.box} ${styles.empty}`}>
|
||||
<p className={styles.label}>No {label} found.</p>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
.box {
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 6px;
|
||||
padding: 48px;
|
||||
text-align: center;
|
||||
background: var(--bg2);
|
||||
}
|
||||
|
||||
.empty {
|
||||
padding: 24px;
|
||||
}
|
||||
|
||||
.spinner {
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
border: 2px solid var(--border2);
|
||||
border-top-color: var(--green);
|
||||
border-radius: 50%;
|
||||
animation: spin 0.75s linear infinite;
|
||||
margin: 0 auto 14px;
|
||||
}
|
||||
|
||||
.label {
|
||||
font-size: 12px;
|
||||
color: var(--text-dim);
|
||||
}
|
||||
|
||||
.errorIcon {
|
||||
font-size: 22px;
|
||||
margin-bottom: 10px;
|
||||
color: var(--red);
|
||||
}
|
||||
|
||||
.errorMsg {
|
||||
font-size: 13px;
|
||||
color: var(--red);
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
.errorSub {
|
||||
font-size: 11px;
|
||||
color: var(--text-dim);
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
to { transform: rotate(360deg); }
|
||||
}
|
||||
@@ -0,0 +1,186 @@
|
||||
import { useState, useEffect } from 'react'
|
||||
import styles from './TerminalHeader.module.css'
|
||||
import { PROJECT_NAME, REPO_NAME, LINKS, AUTHORS } from '../config'
|
||||
|
||||
function useGitHubProfile(username) {
|
||||
const [profile, setProfile] = useState(null)
|
||||
const [loading, setLoading] = useState(true)
|
||||
|
||||
useEffect(() => {
|
||||
const cacheKey = 'gh-profile-' + username
|
||||
|
||||
// Check sessionStorage first — avoids hammering the API on every render
|
||||
try {
|
||||
const cached = sessionStorage.getItem(cacheKey)
|
||||
if (cached) {
|
||||
setProfile(JSON.parse(cached))
|
||||
setLoading(false)
|
||||
return
|
||||
}
|
||||
} catch (e) {}
|
||||
|
||||
fetch('https://api.github.com/users/' + username)
|
||||
.then(r => {
|
||||
if (!r.ok) throw new Error('HTTP ' + r.status)
|
||||
return r.json()
|
||||
})
|
||||
.then(d => {
|
||||
// Don't cache error responses like rate limit messages
|
||||
if (!d.message) {
|
||||
try { sessionStorage.setItem(cacheKey, JSON.stringify(d)) } catch (e) {}
|
||||
}
|
||||
setProfile(d)
|
||||
setLoading(false)
|
||||
})
|
||||
.catch(() => setLoading(false))
|
||||
}, [username])
|
||||
|
||||
return { profile, loading }
|
||||
}
|
||||
|
||||
function AuthorTile({ username, active }) {
|
||||
const { profile, loading } = useGitHubProfile(username)
|
||||
const tileClass = styles.authorTile + (active ? ' ' + styles.authorTileActive : '')
|
||||
|
||||
if (loading) {
|
||||
return (
|
||||
<div className={tileClass}>
|
||||
<div className={styles.authorAvatarSkeleton} />
|
||||
<div className={styles.authorInfo}>
|
||||
<div className={styles.authorSkeleton} style={{ width: '60px' }} />
|
||||
<div className={styles.authorSkeleton} style={{ width: '80px', marginTop: '4px' }} />
|
||||
<div className={styles.authorBioPlaceholder} />
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
if (!profile || profile.message) {
|
||||
return (
|
||||
<a
|
||||
href={'https://github.com/' + username}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className={tileClass}
|
||||
>
|
||||
<div className={styles.authorAvatarSkeleton} />
|
||||
<div className={styles.authorInfo}>
|
||||
<span className={styles.authorName}>{username}</span>
|
||||
<span className={styles.authorLogin}>@{username}</span>
|
||||
<div className={styles.authorBioPlaceholder} />
|
||||
</div>
|
||||
</a>
|
||||
)
|
||||
}
|
||||
|
||||
return (
|
||||
<a
|
||||
href={profile.html_url}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className={tileClass}
|
||||
>
|
||||
<img
|
||||
src={profile.avatar_url}
|
||||
alt={profile.login}
|
||||
className={styles.authorAvatar}
|
||||
/>
|
||||
<div className={styles.authorInfo}>
|
||||
<span className={styles.authorName}>{profile.name || profile.login}</span>
|
||||
<span className={styles.authorLogin}>@{profile.login}</span>
|
||||
{profile.bio
|
||||
? <span className={styles.authorBio}>{profile.bio}</span>
|
||||
: <div className={styles.authorBioPlaceholder} />
|
||||
}
|
||||
</div>
|
||||
</a>
|
||||
)
|
||||
}
|
||||
|
||||
function AuthorsTiles() {
|
||||
const [active, setActive] = useState(0)
|
||||
|
||||
useEffect(() => {
|
||||
if (AUTHORS.length <= 1) return
|
||||
const t = setInterval(() => {
|
||||
setActive(i => (i + 1) % AUTHORS.length)
|
||||
}, 4000)
|
||||
return () => clearInterval(t)
|
||||
}, [])
|
||||
|
||||
return (
|
||||
<div className={styles.authors}>
|
||||
<div className={styles.outputLine}>
|
||||
<span className={styles.chevron}>›</span> Authors:
|
||||
</div>
|
||||
<div className={styles.authorRow}>
|
||||
{AUTHORS.map((username, i) => (
|
||||
<AuthorTile
|
||||
key={username}
|
||||
username={username}
|
||||
active={i === active}
|
||||
/>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default function TerminalHeader() {
|
||||
return (
|
||||
<div className={styles.wrap}>
|
||||
<div className={styles.bar}>
|
||||
<div className={styles.dot + ' ' + styles.red} />
|
||||
<div className={styles.dot + ' ' + styles.amber} />
|
||||
<div className={styles.dot + ' ' + styles.green} />
|
||||
<span className={styles.title}>javadoc-index — bash</span>
|
||||
</div>
|
||||
<div className={styles.body}>
|
||||
<h1 className={styles.heading}>
|
||||
{PROJECT_NAME}
|
||||
</h1>
|
||||
|
||||
<div className={styles.promptLine}>
|
||||
<span className={styles.prompt}>$</span>
|
||||
<span className={styles.cmd}>browse-docs</span>
|
||||
<span className={styles.arg}>{REPO_NAME}</span>
|
||||
<span className={styles.flag}>--all-versions</span>
|
||||
</div>
|
||||
|
||||
<div className={styles.outputLine}>
|
||||
<span className={styles.chevron}>›</span> Fetching available documentation builds...
|
||||
</div>
|
||||
<div className={styles.outputLine}>
|
||||
<span className={styles.chevron}>›</span> Found project links:
|
||||
</div>
|
||||
|
||||
<div className={styles.links}>
|
||||
{LINKS.map(function(l) {
|
||||
return (
|
||||
<a
|
||||
key={l.tag}
|
||||
href={l.href}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className={styles.link}
|
||||
>
|
||||
<span className={styles.linkTag} style={{ color: l.color, borderColor: l.color }}>
|
||||
{l.tag}
|
||||
</span>
|
||||
<span className={styles.linkLabel}>{l.label}</span>
|
||||
<span className={styles.linkArrow} style={{ color: l.color }}>↗</span>
|
||||
</a>
|
||||
)
|
||||
})}
|
||||
</div>
|
||||
|
||||
<AuthorsTiles />
|
||||
|
||||
<div className={styles.promptLine} style={{ marginTop: '16px' }}>
|
||||
<span className={styles.prompt}>$</span>
|
||||
<span className={styles.cursor} />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
@@ -0,0 +1,303 @@
|
||||
.wrap {
|
||||
margin-bottom: 48px;
|
||||
}
|
||||
|
||||
.bar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
background: var(--bg3);
|
||||
border: 1px solid var(--border2);
|
||||
border-bottom: none;
|
||||
border-radius: 8px 8px 0 0;
|
||||
padding: 10px 16px;
|
||||
}
|
||||
|
||||
.dot {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
border-radius: 50%;
|
||||
}
|
||||
.red { background: #ff5f57; }
|
||||
.amber { background: #febc2e; }
|
||||
.green { background: #28c840; }
|
||||
|
||||
.title {
|
||||
margin-left: 8px;
|
||||
font-size: 11px;
|
||||
color: var(--text-dim);
|
||||
letter-spacing: 0.05em;
|
||||
}
|
||||
|
||||
.body {
|
||||
background: var(--bg2);
|
||||
border: 1px solid var(--border2);
|
||||
border-radius: 0 0 8px 8px;
|
||||
padding: 16px 36px 36px;
|
||||
}
|
||||
|
||||
/* ── Heading ── */
|
||||
.heading {
|
||||
font-family: 'IBM Plex Sans', sans-serif;
|
||||
font-size: clamp(28px, 5vw, 52px);
|
||||
font-weight: 300;
|
||||
letter-spacing: -0.02em;
|
||||
color: var(--text);
|
||||
line-height: 1.05;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.heading strong {
|
||||
font-weight: 600;
|
||||
color: var(--green);
|
||||
}
|
||||
|
||||
/* ── Prompt ── */
|
||||
.promptLine {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
gap: 10px;
|
||||
margin-bottom: 6px;
|
||||
font-size: 13px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.prompt { color: var(--green); font-weight: 600; }
|
||||
.cmd { color: var(--text); }
|
||||
.arg { color: var(--blue); }
|
||||
.flag { color: var(--amber); }
|
||||
|
||||
/* ── Output lines ── */
|
||||
.outputLine {
|
||||
font-size: 12px;
|
||||
color: var(--text-dim);
|
||||
line-height: 1.8;
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
.chevron {
|
||||
color: var(--text-mid);
|
||||
margin-right: 4px;
|
||||
}
|
||||
|
||||
/* ── Links ── */
|
||||
.links {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
padding-left: 36px;
|
||||
margin-top: 4px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.link {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
text-decoration: none;
|
||||
padding: 3px 0;
|
||||
width: fit-content;
|
||||
transition: opacity 0.15s;
|
||||
}
|
||||
|
||||
.link:hover { opacity: 0.8; }
|
||||
|
||||
.link:hover .linkLabel {
|
||||
text-decoration: underline;
|
||||
text-underline-offset: 3px;
|
||||
}
|
||||
|
||||
.linkTag {
|
||||
font-size: 9px;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.1em;
|
||||
border: 1px solid;
|
||||
border-radius: 2px;
|
||||
padding: 1px 5px;
|
||||
min-width: 28px;
|
||||
text-align: center;
|
||||
opacity: 0.9;
|
||||
font-family: 'IBM Plex Mono', monospace;
|
||||
}
|
||||
|
||||
.linkLabel {
|
||||
font-size: 12px;
|
||||
color: var(--text-mid);
|
||||
font-family: 'IBM Plex Mono', monospace;
|
||||
}
|
||||
|
||||
.linkArrow {
|
||||
font-size: 11px;
|
||||
opacity: 0.6;
|
||||
transition: opacity 0.15s, transform 0.15s;
|
||||
}
|
||||
|
||||
.link:hover .linkArrow {
|
||||
opacity: 1;
|
||||
transform: translate(2px, -2px);
|
||||
}
|
||||
|
||||
/* ── Authors ── */
|
||||
.authors {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.authorRow {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
gap: 8px;
|
||||
padding-left: 36px;
|
||||
margin-top: 6px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
/* ── Author tile ── */
|
||||
.authorTile {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
background: var(--bg3);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 6px;
|
||||
padding: 8px 12px;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
/* width is dynamic — grows with content */
|
||||
width: max-content;
|
||||
min-width: 140px;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
transition: border-color 0.2s, background 0.2s, transform 0.2s;
|
||||
}
|
||||
|
||||
.authorTile::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0; left: 0; right: 0;
|
||||
height: 2px;
|
||||
background: var(--green);
|
||||
opacity: 0;
|
||||
transition: opacity 0.2s;
|
||||
}
|
||||
|
||||
.authorTileActive::before,
|
||||
.authorTile:hover::before {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.authorTileActive {
|
||||
border-color: var(--green-dim);
|
||||
background: rgba(57, 211, 83, 0.04);
|
||||
}
|
||||
|
||||
.authorTile:hover {
|
||||
border-color: var(--border2);
|
||||
background: #161b22;
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
/* ── Author content ── */
|
||||
.authorAvatar {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border-radius: 50%;
|
||||
border: 1px solid var(--border2);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.authorAvatarSkeleton {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border-radius: 50%;
|
||||
background: var(--border2);
|
||||
flex-shrink: 0;
|
||||
animation: shimmer 1.5s ease infinite;
|
||||
}
|
||||
|
||||
.authorInfo {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.authorName {
|
||||
font-size: 12px;
|
||||
font-weight: 500;
|
||||
color: var(--text);
|
||||
font-family: 'IBM Plex Sans', sans-serif;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.authorLogin {
|
||||
font-size: 10px;
|
||||
color: var(--blue);
|
||||
font-family: 'IBM Plex Mono', monospace;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* Bio — always reserves vertical height, width animates open */
|
||||
.authorBio {
|
||||
display: block;
|
||||
font-size: 10px;
|
||||
color: var(--text-dim);
|
||||
font-family: 'IBM Plex Sans', sans-serif;
|
||||
margin-top: 2px;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
/* always reserve vertical space */
|
||||
height: 14px;
|
||||
/* collapsed horizontally */
|
||||
width: 0;
|
||||
opacity: 0;
|
||||
transition: opacity 0.25s ease, width 0.3s ease;
|
||||
}
|
||||
|
||||
.authorTileActive .authorBio,
|
||||
.authorTile:hover .authorBio {
|
||||
width: 200px;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/* Placeholder for loading/no-profile/no-bio states */
|
||||
.authorBioPlaceholder {
|
||||
height: 14px;
|
||||
margin-top: 2px;
|
||||
width: 0; /* never takes horizontal space, never expands */
|
||||
}
|
||||
|
||||
.authorSkeleton {
|
||||
height: 9px;
|
||||
border-radius: 4px;
|
||||
background: var(--border2);
|
||||
animation: shimmer 1.5s ease infinite;
|
||||
}
|
||||
|
||||
/* ── Cursor ── */
|
||||
.cursor {
|
||||
display: inline-block;
|
||||
width: 8px;
|
||||
height: 13px;
|
||||
background: var(--green);
|
||||
margin-left: 2px;
|
||||
vertical-align: text-bottom;
|
||||
animation: blink 1s step-end infinite;
|
||||
}
|
||||
|
||||
/* ── Animations ── */
|
||||
@keyframes blink {
|
||||
0%, 100% { opacity: 1; }
|
||||
50% { opacity: 0; }
|
||||
}
|
||||
|
||||
@keyframes shimmer {
|
||||
0%, 100% { opacity: 0.4; }
|
||||
50% { opacity: 0.8; }
|
||||
}
|
||||
|
||||
@media (max-width: 600px) {
|
||||
.body { padding: 20px; }
|
||||
.links { padding-left: 20px; }
|
||||
.authorRow { padding-left: 20px; }
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
// ─── Project Configuration ───────────────────────────────────
|
||||
// This is the ONLY file that should differ between projects.
|
||||
// Everything else in the pages app is generic.
|
||||
// ─────────────────────────────────────────────────────────────
|
||||
|
||||
export const PROJECT_NAME = 'CustomNPC+'
|
||||
export const REPO_OWNER = 'KAMKEEL'
|
||||
export const REPO_NAME = 'CustomNPC-Plus'
|
||||
|
||||
export const LINKS = [
|
||||
{
|
||||
tag: 'GH',
|
||||
label: 'github.com/KAMKEEL/CustomNPC-Plus',
|
||||
href: 'https://github.com/KAMKEEL/CustomNPC-Plus',
|
||||
color: '#e6edf3',
|
||||
},
|
||||
{
|
||||
tag: 'DC',
|
||||
label: 'discord.gg/94qmjEDxkp',
|
||||
href: 'https://discord.gg/94qmjEDxkp',
|
||||
color: '#5865f2',
|
||||
},
|
||||
{
|
||||
tag: 'CF',
|
||||
label: 'curseforge.com/minecraft/mc-mods/customnpc-plus',
|
||||
href: 'https://www.curseforge.com/minecraft/mc-mods/customnpc-plus',
|
||||
color: '#f16436',
|
||||
},
|
||||
{
|
||||
tag: 'MR',
|
||||
label: 'modrinth.com/mod/customnpc-plus',
|
||||
href: 'https://modrinth.com/mod/customnpc-plus/',
|
||||
color: '#1bd96a',
|
||||
},
|
||||
]
|
||||
|
||||
// GitHub usernames — profiles are fetched at runtime
|
||||
export const AUTHORS = ['kamkeel', 'c0508383', 'bigguy345', 'somehussar']
|
||||
@@ -0,0 +1,50 @@
|
||||
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
||||
|
||||
:root {
|
||||
--bg: #080b0f;
|
||||
--bg2: #0d1117;
|
||||
--bg3: #131920;
|
||||
--border: #1e2936;
|
||||
--border2: #253040;
|
||||
--green: #39d353;
|
||||
--green-dim: #1a6b2a;
|
||||
--amber: #f0a030;
|
||||
--amber-dim: #7a4e10;
|
||||
--blue: #58a6ff;
|
||||
--blue-dim: #1a3a6b;
|
||||
--text: #cdd9e5;
|
||||
--text-dim: #636e7b;
|
||||
--text-mid: #8b949e;
|
||||
--red: #f85149;
|
||||
}
|
||||
|
||||
html, body {
|
||||
height: 100%;
|
||||
background: var(--bg);
|
||||
color: var(--text);
|
||||
font-family: 'IBM Plex Mono', monospace;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
/* Scanlines */
|
||||
body::after {
|
||||
content: '';
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
background: repeating-linear-gradient(
|
||||
0deg,
|
||||
transparent,
|
||||
transparent 2px,
|
||||
rgba(0,0,0,0.025) 2px,
|
||||
rgba(0,0,0,0.025) 4px
|
||||
);
|
||||
pointer-events: none;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
a { color: inherit; text-decoration: none; }
|
||||
|
||||
::-webkit-scrollbar { width: 6px; }
|
||||
::-webkit-scrollbar-track { background: var(--bg2); }
|
||||
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 3px; }
|
||||
::-webkit-scrollbar-thumb:hover { background: var(--text-dim); }
|
||||
@@ -0,0 +1,13 @@
|
||||
import React from 'react'
|
||||
import ReactDOM from 'react-dom/client'
|
||||
import App from './App'
|
||||
import { PROJECT_NAME } from './config'
|
||||
import './index.css'
|
||||
|
||||
document.title = `${PROJECT_NAME} — Javadoc Index`
|
||||
|
||||
ReactDOM.createRoot(document.getElementById('root')).render(
|
||||
<React.StrictMode>
|
||||
<App />
|
||||
</React.StrictMode>
|
||||
)
|
||||
@@ -0,0 +1,94 @@
|
||||
import { useState, useEffect } from 'react'
|
||||
import { REPO_OWNER, REPO_NAME } from './config'
|
||||
|
||||
const BASE_PATH = `/${REPO_NAME}`
|
||||
const API_BASE = `https://api.github.com/repos/${REPO_OWNER}/${REPO_NAME}`
|
||||
|
||||
// Cache bust on every page load — appends current timestamp to manifest URL
|
||||
// so the browser never serves a stale manifest.json
|
||||
async function fetchFromManifest() {
|
||||
const bust = `?t=${Date.now()}`
|
||||
const res = await fetch(`${BASE_PATH}/manifest.json${bust}`, {
|
||||
cache: 'no-store', // tells browser not to cache this request at all
|
||||
})
|
||||
if (!res.ok) throw new Error('No manifest')
|
||||
return res.json()
|
||||
}
|
||||
|
||||
async function fetchFromGitHubAPI() {
|
||||
const refRes = await fetch(`${API_BASE}/git/ref/heads/gh-pages`)
|
||||
if (!refRes.ok) throw new Error('gh-pages branch not found')
|
||||
const refData = await refRes.json()
|
||||
const sha = refData.object.sha
|
||||
|
||||
const treeRes = await fetch(`${API_BASE}/git/trees/${sha}?recursive=1`)
|
||||
if (!treeRes.ok) throw new Error('Could not fetch tree')
|
||||
const treeData = await treeRes.json()
|
||||
|
||||
const commitsRes = await fetch(`${API_BASE}/commits?sha=gh-pages&per_page=100`)
|
||||
const commits = commitsRes.ok ? await commitsRes.json() : []
|
||||
|
||||
const commitMap = {}
|
||||
commits.forEach(c => {
|
||||
const date = c.commit?.committer?.date || c.commit?.author?.date || ''
|
||||
const hash = c.sha?.slice(0, 7) || ''
|
||||
const msg = c.commit?.message || ''
|
||||
const vMatch = msg.match(/releases\/([\d.]+)/)
|
||||
if (vMatch) commitMap[`releases/${vMatch[1]}`] = { date, hash }
|
||||
const eMatch = msg.match(/experimental\/([\w-]+)/)
|
||||
if (eMatch) commitMap[`experimental/${eMatch[1]}`] = { date, hash }
|
||||
})
|
||||
|
||||
const releaseDirs = new Set()
|
||||
const experimentalDirs = new Set()
|
||||
|
||||
treeData.tree.forEach(item => {
|
||||
if (item.type !== 'tree') return
|
||||
const parts = item.path.split('/')
|
||||
if (parts[0] === 'releases' && parts.length === 2) releaseDirs.add(parts[1])
|
||||
if (parts[0] === 'experimental' && parts.length === 2) experimentalDirs.add(parts[1])
|
||||
})
|
||||
|
||||
// Sort releases newest first, mark first as latest
|
||||
const sortedReleases = [...releaseDirs]
|
||||
.sort((a, b) => b.localeCompare(a, undefined, { numeric: true }))
|
||||
|
||||
const releases = sortedReleases.map((v, i) => {
|
||||
const c = commitMap[`releases/${v}`] || {}
|
||||
return {
|
||||
id: v,
|
||||
version: v,
|
||||
path: `releases/${v}`,
|
||||
date: c.date,
|
||||
hash: c.hash,
|
||||
isLatest: i === 0, // newest version is always latest
|
||||
}
|
||||
})
|
||||
|
||||
const experimental = [...experimentalDirs].sort().map(b => {
|
||||
const c = commitMap[`experimental/${b}`] || {}
|
||||
return { id: b, branch: b, path: `experimental/${b}`, date: c.date, hash: c.hash }
|
||||
})
|
||||
|
||||
return { releases, experimental, source: 'api' }
|
||||
}
|
||||
|
||||
export function useDocs() {
|
||||
const [data, setData] = useState(null)
|
||||
const [loading, setLoading] = useState(true)
|
||||
const [error, setError] = useState(null)
|
||||
|
||||
useEffect(() => {
|
||||
fetchFromManifest()
|
||||
.then(d => { setData(d); setLoading(false) })
|
||||
.catch(() =>
|
||||
fetchFromGitHubAPI()
|
||||
.then(d => { setData(d); setLoading(false) })
|
||||
.catch(e => { setError(e.message); setLoading(false) })
|
||||
)
|
||||
}, [])
|
||||
|
||||
return { data, loading, error }
|
||||
}
|
||||
|
||||
export { BASE_PATH, REPO_OWNER, REPO_NAME }
|
||||
@@ -0,0 +1,12 @@
|
||||
import { defineConfig } from 'vite'
|
||||
import react from '@vitejs/plugin-react'
|
||||
import { REPO_NAME } from './src/config.js'
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
base: `/${REPO_NAME}/`,
|
||||
build: {
|
||||
outDir: '../../.github/pages-dist',
|
||||
emptyOutDir: true,
|
||||
}
|
||||
})
|
||||
@@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
# -----------------------------------------------
|
||||
# doc-config.sh — shared config for javadoc deploy
|
||||
#
|
||||
# Sourced by:
|
||||
# - resolve-doc-path.sh
|
||||
# - javadoc.yml (via sanity-check job)
|
||||
#
|
||||
# ADD WHITELISTED BRANCHES HERE AND NOWHERE ELSE.
|
||||
# main is always handled automatically.
|
||||
# -----------------------------------------------
|
||||
|
||||
MAIN_BRANCH_NAME="master"
|
||||
|
||||
EXPERIMENTAL_WHITELIST=(
|
||||
"dev"
|
||||
# "new-branch"
|
||||
)
|
||||
@@ -0,0 +1,107 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
RELEASES=()
|
||||
EXPERIMENTAL=()
|
||||
|
||||
# Collect releases
|
||||
if [ -d "./releases" ]; then
|
||||
for dir in ./releases/*/; do
|
||||
[ -d "$dir" ] || continue
|
||||
name=$(basename "$dir")
|
||||
RELEASES+=("$name")
|
||||
done
|
||||
fi
|
||||
|
||||
# Collect experimental branches
|
||||
if [ -d "./experimental" ]; then
|
||||
for dir in ./experimental/*/; do
|
||||
[ -d "$dir" ] || continue
|
||||
name=$(basename "$dir")
|
||||
EXPERIMENTAL+=("$name")
|
||||
done
|
||||
fi
|
||||
|
||||
# Sort releases in reverse semver order (newest first)
|
||||
if [ ${#RELEASES[@]} -gt 0 ]; then
|
||||
IFS=$'\n' RELEASES=($(sort -rV <<< "${RELEASES[*]}")); unset IFS
|
||||
fi
|
||||
|
||||
# ── Store source commit metadata for this deploy ───────────────
|
||||
# DEPLOY_PATH, SOURCE_HASH, SOURCE_DATE are passed in as env vars from the workflow
|
||||
if [ -n "$DEPLOY_PATH" ] && [ -n "$SOURCE_HASH" ]; then
|
||||
mkdir -p ".doc-meta"
|
||||
META_KEY="${DEPLOY_PATH//\//_}"
|
||||
cat > ".doc-meta/${META_KEY}.json" << JSON
|
||||
{"hash":"${SOURCE_HASH}","date":"${SOURCE_DATE}"}
|
||||
JSON
|
||||
echo "Stored source metadata for $DEPLOY_PATH → $SOURCE_HASH @ $SOURCE_DATE"
|
||||
fi
|
||||
|
||||
# ── Helper: get source commit hash + date for a path ──────────
|
||||
get_commit_info() {
|
||||
local path="$1"
|
||||
|
||||
# If this is the path we just deployed, use the injected source commit
|
||||
if [ "$path" = "$DEPLOY_PATH" ] && [ -n "$SOURCE_HASH" ]; then
|
||||
echo "${SOURCE_HASH} ${SOURCE_DATE}"
|
||||
return
|
||||
fi
|
||||
|
||||
# Try reading from stored metadata file (set by previous deploys)
|
||||
local meta=".doc-meta/${path//\//_}.json"
|
||||
if [ -f "$meta" ]; then
|
||||
local hash date
|
||||
hash=$(python3 -c "import json,sys; d=json.load(open('$meta')); print(d.get('hash',''))" 2>/dev/null || grep -o '"hash":"[^"]*"' "$meta" | cut -d'"' -f4)
|
||||
date=$(python3 -c "import json,sys; d=json.load(open('$meta')); print(d.get('date',''))" 2>/dev/null || grep -o '"date":"[^"]*"' "$meta" | cut -d'"' -f4)
|
||||
echo "${hash:-} ${date:-}"
|
||||
return
|
||||
fi
|
||||
|
||||
# Last resort: gh-pages git log (hash will be wrong but better than empty)
|
||||
local hash date
|
||||
hash=$(git log --oneline -1 -- "$path" 2>/dev/null | awk '{print $1}')
|
||||
date=$(git log --format="%cI" -1 -- "$path" 2>/dev/null)
|
||||
echo "${hash:-} ${date:-}"
|
||||
}
|
||||
|
||||
# ── Build releases JSON ────────────────────────────────────────
|
||||
RELEASES_JSON="["
|
||||
|
||||
for i in "${!RELEASES[@]}"; do
|
||||
version="${RELEASES[$i]}"
|
||||
read -r HASH DATE <<< "$(get_commit_info "releases/$version")"
|
||||
if [ "$i" -eq 0 ]; then
|
||||
IS_LATEST="true"
|
||||
else
|
||||
IS_LATEST="false"
|
||||
fi
|
||||
RELEASES_JSON+="{\"id\":\"${version}\",\"version\":\"${version}\",\"path\":\"releases/${version}\",\"date\":\"${DATE}\",\"isLatest\":${IS_LATEST}},"
|
||||
done
|
||||
|
||||
RELEASES_JSON="${RELEASES_JSON%,}]"
|
||||
|
||||
# ── Build experimental JSON ────────────────────────────────────
|
||||
EXPERIMENTAL_JSON="["
|
||||
|
||||
for branch in "${EXPERIMENTAL[@]}"; do
|
||||
read -r HASH DATE <<< "$(get_commit_info "experimental/$branch")"
|
||||
EXPERIMENTAL_JSON+="{\"id\":\"${branch}\",\"branch\":\"${branch}\",\"path\":\"experimental/${branch}\",\"hash\":\"${HASH}\",\"date\":\"${DATE}\"},"
|
||||
done
|
||||
|
||||
EXPERIMENTAL_JSON="${EXPERIMENTAL_JSON%,}]"
|
||||
|
||||
# ── Write manifest.json ────────────────────────────────────────
|
||||
cat > manifest.json << JSON
|
||||
{
|
||||
"releases": ${RELEASES_JSON},
|
||||
"experimental": ${EXPERIMENTAL_JSON},
|
||||
"generated": "$(date -u '+%Y-%m-%dT%H:%M:%SZ')",
|
||||
"source": "manifest"
|
||||
}
|
||||
JSON
|
||||
|
||||
echo "manifest.json generated:"
|
||||
cat manifest.json
|
||||
echo ""
|
||||
echo "Done."
|
||||
@@ -0,0 +1,52 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
source "$SCRIPT_DIR/doc-config.sh"
|
||||
|
||||
BRANCH="${GITHUB_REF#refs/heads/}"
|
||||
SAFE_BRANCH="${BRANCH//\//-}"
|
||||
|
||||
if [ "$BRANCH" = "$MAIN_BRANCH_NAME" ]; then
|
||||
# Version resolution order:
|
||||
# -> check if gradle.properties has a `modVersion` tag. If it does, just grab it.
|
||||
# -> check if it has the `version` tag. Grab it if it does
|
||||
# -> check build.gradle for the version tag.
|
||||
if [ -f "gradle.properties" ] && grep -q "^modVersion=" gradle.properties; then
|
||||
VERSION=$(grep "^modVersion=" gradle.properties | cut -d'=' -f2 | tr -d '[:space:]')
|
||||
elif [ -f "gradle.properties" ] && grep -q "^version=" gradle.properties; then
|
||||
VERSION=$(grep "^version=" gradle.properties | cut -d'=' -f2 | tr -d '[:space:]')
|
||||
elif [ -f "build.gradle" ]; then
|
||||
VERSION=$(grep "^version" build.gradle | head -1 | sed "s/version\s*=\s*['\"]//;s/['\"].*//;s/\s//g")
|
||||
elif [ -f "build.gradle.kts" ]; then
|
||||
VERSION=$(grep "^version" build.gradle.kts | head -1 | sed "s/version\s*=\s*\"//;s/\".*//;s/\s//g")
|
||||
else
|
||||
echo "Could not find version. Defaulting to 'unknown'."
|
||||
VERSION="unknown"
|
||||
fi
|
||||
|
||||
echo "Resolved version: $VERSION"
|
||||
|
||||
# Only deploy to releases/<version> — isLatest is handled by generate-index.sh
|
||||
echo "path=releases/$VERSION" >> $GITHUB_OUTPUT
|
||||
echo "extra_path=" >> $GITHUB_OUTPUT
|
||||
|
||||
else
|
||||
MATCHED=false
|
||||
for ALLOWED in "${EXPERIMENTAL_WHITELIST[@]}"; do
|
||||
if [ "$BRANCH" = "$ALLOWED" ]; then
|
||||
MATCHED=true
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
if [ "$MATCHED" = true ]; then
|
||||
echo "path=experimental/$SAFE_BRANCH" >> $GITHUB_OUTPUT
|
||||
echo "extra_path=" >> $GITHUB_OUTPUT
|
||||
echo "Branch '$BRANCH' is whitelisted, deploying to experimental/$SAFE_BRANCH"
|
||||
else
|
||||
echo "path=" >> $GITHUB_OUTPUT
|
||||
echo "extra_path=" >> $GITHUB_OUTPUT
|
||||
echo "Branch '$BRANCH' is not whitelisted. Skipping deploy."
|
||||
fi
|
||||
fi
|
||||
@@ -24,8 +24,8 @@ jobs:
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Initialize CNPC+ API submodule
|
||||
run: git submodule update --init --recursive src/api
|
||||
- name: Initialize submodules
|
||||
run: git submodule update --init --recursive
|
||||
|
||||
- name: Checkout workflows repo
|
||||
uses: actions/checkout@v4
|
||||
|
||||
@@ -0,0 +1,224 @@
|
||||
name: Generate and Deploy Javadoc
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- '**'
|
||||
delete:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
force_deploy:
|
||||
description: 'Force redeploy Javadocs without a new commit'
|
||||
required: false
|
||||
default: 'true'
|
||||
|
||||
jobs:
|
||||
sanity-check:
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
should_deploy: ${{ steps.deploy_check.outputs.should_deploy }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Check for deploy tag
|
||||
id: deploy_check
|
||||
run: |
|
||||
source .github/scripts/doc-config.sh
|
||||
|
||||
BRANCH="${GITHUB_REF#refs/heads/}"
|
||||
|
||||
# Always deploy on manual trigger
|
||||
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
|
||||
echo "should_deploy=true" >> $GITHUB_OUTPUT
|
||||
echo "Reason: workflow_dispatch"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Main branch: only deploy if commit message contains [deploy-docs]
|
||||
if [ "$BRANCH" = "$MAIN_BRANCH_NAME" ]; then
|
||||
if echo "${{ github.event.head_commit.message }}" | grep -q "\[deploy-docs\]"; then
|
||||
echo "should_deploy=true" >> $GITHUB_OUTPUT
|
||||
echo "Reason: master branch with [deploy-docs] tag"
|
||||
else
|
||||
echo "should_deploy=false" >> $GITHUB_OUTPUT
|
||||
echo "Reason: master branch without [deploy-docs] tag, skipping"
|
||||
fi
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Experimental branches: only deploy if whitelisted
|
||||
for ALLOWED in "${EXPERIMENTAL_WHITELIST[@]}"; do
|
||||
if [ "$BRANCH" = "$ALLOWED" ]; then
|
||||
echo "should_deploy=true" >> $GITHUB_OUTPUT
|
||||
echo "Reason: branch '$BRANCH' is whitelisted"
|
||||
exit 0
|
||||
fi
|
||||
done
|
||||
|
||||
echo "should_deploy=false" >> $GITHUB_OUTPUT
|
||||
echo "Reason: branch '$BRANCH' is not whitelisted, skipping"
|
||||
|
||||
build-and-deploy-javadoc:
|
||||
needs: sanity-check
|
||||
if: needs.sanity-check.outputs.should_deploy == 'true'
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout source branch
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Initialize submodules
|
||||
run: git submodule update --init --recursive
|
||||
|
||||
- name: Setup JDK 8 (compile)
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '8'
|
||||
distribution: 'temurin'
|
||||
|
||||
- name: Set up JDK 8 (Zulu)
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '8'
|
||||
distribution: 'zulu'
|
||||
- name: Setup JDK 11 (javadoc)
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '11'
|
||||
distribution: 'temurin'
|
||||
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
|
||||
- name: Extract convention plugin version
|
||||
id: convention
|
||||
run: |
|
||||
VERSION=$(grep "id 'com.gtnewhorizons.gtnhsettingsconvention'" settings.gradle settings.gradle.kts 2>/dev/null | grep -o "version '[0-9]\+\.[0-9]\+\.[0-9]\+'" | grep -o '[0-9]\+\.[0-9]\+\.[0-9]\+')
|
||||
echo "version=$VERSION" >> $GITHUB_OUTPUT
|
||||
echo "Detected convention version: $VERSION"
|
||||
|
||||
- name: Get source commit info
|
||||
id: source_commit
|
||||
run: |
|
||||
echo "hash=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
|
||||
echo "date=$(git log -1 --format='%cI')" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Cache Gradle wrapper
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ~/.gradle/wrapper
|
||||
key: gradle-wrapper-${{ hashFiles('**/gradle-wrapper.properties') }}
|
||||
|
||||
- name: Cache Gradle dependencies
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
~/.gradle/caches
|
||||
~/.gradle/caches/modules-*
|
||||
~/.gradle/caches/jars-*
|
||||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties', '**/gradle.properties') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-gradle-
|
||||
|
||||
- name: Cache RFG
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
build/rfg
|
||||
build/tmp/.cache/expanded
|
||||
build/tmp/deobfuscateMergedJarToSrg
|
||||
key: ${{ runner.os }}-rfg-convention${{ steps.convention.outputs.version }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-rfg-
|
||||
|
||||
- name: Cache Node modules
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: .github/pages/node_modules
|
||||
key: ${{ runner.os }}-node-${{ hashFiles('.github/pages/package-lock.json') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-node-
|
||||
|
||||
- name: Generate Javadoc
|
||||
run: ./gradlew javadoc
|
||||
|
||||
- name: Get deploy path
|
||||
id: deploy_path
|
||||
run: bash .github/scripts/resolve-doc-path.sh
|
||||
|
||||
- name: Deploy to gh-pages
|
||||
if: steps.deploy_path.outputs.path != ''
|
||||
uses: peaceiris/actions-gh-pages@v4
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
publish_dir: ./build/docs/javadoc
|
||||
destination_dir: ${{ steps.deploy_path.outputs.path }}
|
||||
keep_files: true
|
||||
|
||||
# Give GitHub a moment to settle after the peaceiris push
|
||||
- name: Wait for gh-pages to settle
|
||||
run: sleep 10
|
||||
|
||||
- name: Checkout gh-pages
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: gh-pages
|
||||
path: gh-pages-index
|
||||
|
||||
- name: Generate manifest
|
||||
run: |
|
||||
cd gh-pages-index
|
||||
SOURCE_HASH="${{ steps.source_commit.outputs.hash }}" \
|
||||
SOURCE_DATE="${{ steps.source_commit.outputs.date }}" \
|
||||
DEPLOY_PATH="${{ steps.deploy_path.outputs.path }}" \
|
||||
bash ../.github/scripts/generate-index.sh
|
||||
|
||||
- name: Install page dependencies
|
||||
run: npm ci --prefix .github/pages
|
||||
|
||||
- name: Build index page
|
||||
run: |
|
||||
mkdir -p .github/pages/public
|
||||
cp gh-pages-index/manifest.json .github/pages/public/manifest.json
|
||||
npm run build --prefix .github/pages
|
||||
|
||||
- name: Deploy index to gh-pages
|
||||
run: |
|
||||
cp -r .github/pages-dist/* gh-pages-index/
|
||||
cd gh-pages-index
|
||||
git config user.name "github-actions"
|
||||
git config user.email "[email protected]"
|
||||
git add -A
|
||||
git commit -m "Regenerate index and manifest [skip ci]" || echo "Unchanged"
|
||||
git push
|
||||
|
||||
cleanup-on-delete:
|
||||
if: github.event_name == 'delete' && github.event.ref_type == 'branch'
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout gh-pages
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: 'gh-pages'
|
||||
|
||||
- name: Remove deleted branch docs
|
||||
run: |
|
||||
BRANCH="${{ github.event.ref }}"
|
||||
SAFE="experimental/${BRANCH//\//-}"
|
||||
if [ -d "./$SAFE" ]; then
|
||||
rm -rf "./$SAFE"
|
||||
META_KEY="${SAFE//\//_}"
|
||||
rm -f ".doc-meta/${META_KEY}.json"
|
||||
git config user.name "github-actions"
|
||||
git config user.email "[email protected]"
|
||||
git add -A
|
||||
git commit -m "Remove docs for deleted branch: $BRANCH"
|
||||
git push
|
||||
else
|
||||
echo "No docs found for $SAFE, skipping."
|
||||
fi
|
||||
@@ -45,3 +45,6 @@ src/main/resources/assets/customnpcs/api
|
||||
df/
|
||||
tmp/
|
||||
src/test
|
||||
node_modules
|
||||
.github/pages-dist
|
||||
|
||||
@@ -1,92 +0,0 @@
|
||||
# CNPC+ 1.11 Beta - The Scripting Update
|
||||
|
||||
🟡 **In Testing**
|
||||
|
||||
|
||||
|
||||
## Features: ⚒️
|
||||
|
||||
- **Syntax Highlighting:**
|
||||
|
||||
> Full color-coded script editor. Keywords, types, variables, methods, strings, and comments are all distinct. Scope-aware coloring distinguishes local fields from globals and chained method calls.
|
||||
|
||||
|
||||
|
||||
- **Autocomplete:**
|
||||
|
||||
> Smart suggestions as you type. Context-aware for static vs instance access, shows method parameters, resolves chained calls, and suggests auto imports for classes. Frequently used members prioritized.
|
||||
|
||||
|
||||
|
||||
- **Error Detection:**
|
||||
|
||||
> Catch mistakes before running. Type mismatches, wrong arguments, missing methods, unused imports, duplicate definitions, and more -- all underlined with hover messages explaining the issue.
|
||||
|
||||
|
||||
|
||||
- **Hover Information:**
|
||||
|
||||
> Hover any symbol to see its type, documentation, and declaration. Works on methods, fields, classes, and even generics. Click to pin tooltips in place.
|
||||
|
||||
|
||||
|
||||
- **Script Editor Overhaul:**
|
||||
|
||||
> - **Line Numbers** - Gutter with current line highlighting.
|
||||
> - **Go To Line** - CTRL+G to jump to any line.
|
||||
> - **Search & Replace** - CTRL+F / CTRL+H with real-time highlighting.
|
||||
> - **Go To Definition** - CTRL+Click to jump to any symbol.
|
||||
> - **Smart Undo/Redo** - Word-level instead of character-level.
|
||||
> - **Line Operations** - Duplicate, delete, move up/down.
|
||||
> - **Comment Toggle** - CTRL+/ for selected lines.
|
||||
> - **Rename** - Rename a symbol across all occurrences.
|
||||
> - **Smooth Scrolling** - Eased scroll animation.
|
||||
> - **Indent Guides** - Scope-highlighted vertical indent lines.
|
||||
> - **Brace Matching** - Highlighted pairs, red for unclosed.
|
||||
> - **Smart Brackets** - Auto-pairing for `{}`, `()`, `[]`, `""`, `''`.
|
||||
> - **Fullscreen Mode** - Expand editor to fill the game window.
|
||||
> - **Shortcut Overlay** - View all keyboard shortcuts at a glance.
|
||||
|
||||
|
||||
|
||||
- **Java Scripting (Janino):**
|
||||
|
||||
> Write scripts in real Java compiled at runtime. Name methods after hooks for automatic wiring. Language selector per tab to switch between Java and JavaScript. External `.java` file support.
|
||||
|
||||
|
||||
|
||||
- **Client-Side Scripting:**
|
||||
|
||||
> Run scripts on the client for responsive experiences. Server-controlled -- off by default, must be explicitly enabled. Script files sync automatically on login and reload.
|
||||
|
||||
|
||||
|
||||
- **Cloner Tab Overhaul:**
|
||||
|
||||
> Folder-based organization for saved NPCs, items, and entries. Full-width directory browser for large collections. Improved tab navigation.
|
||||
|
||||
|
||||
|
||||
- **Addon API Support:**
|
||||
|
||||
> Addons can ship type definitions that load into the script editor automatically. Full autocomplete, hover info, and documentation for addon APIs. Addons can extend existing CNPC+ types with new methods.
|
||||
|
||||
|
||||
|
||||
- **Animation Improvements:**
|
||||
|
||||
> Data store for passing data across animation events and frames. New consumer-based task system for animation lifecycle. Expanded scripting API for animation control.
|
||||
|
||||
|
||||
|
||||
**Extras**
|
||||
|
||||
- Player Dialog Events now work like NPC Dialog Events.
|
||||
- Attack speed configuration for linked items.
|
||||
- Client-side balance prediction during Trader interactions.
|
||||
- Right-click cycling on multi-option NPC buttons (Hair, Eyes, Fur, etc.).
|
||||
- Fixed quest cooldown for MC Custom and RL Custom timer types.
|
||||
- Fixed Bard music restarting when opening dialogs.
|
||||
- Fixed NPC biome spawn settings not saving after editing.
|
||||
- Fixed block waypoint issues.
|
||||
- Fixed script config syncing between server and client.
|
||||
@@ -1,118 +0,0 @@
|
||||
# ✏️ CustomNPC+ 1.11 - The Scripting Update ✏️
|
||||
|
||||
---
|
||||
|
||||
The **Scripting Update** completely transforms how you write scripts in CNPC+! A brand new **Script Editor** with **syntax highlighting**, **autocomplete**, and **error detection** makes scripting feel like a real IDE. Write scripts in **Java** with the new Janino engine, enable **client-side scripting** for responsive experiences, and organize your Cloner with **folders**!
|
||||
|
||||
---
|
||||
|
||||
## Script Editor 📝
|
||||
|
||||
The script editor has been rebuilt from the ground up into a **full-featured code editor** right inside Minecraft.
|
||||
|
||||
### Writing Code
|
||||
|
||||
- **Syntax Highlighting** - Keywords, types, variables, methods, strings, and comments are all color-coded automatically. The editor understands your code -- local variables, global fields, and chained method calls each get their own color
|
||||
- **Autocomplete** - Start typing and get smart suggestions for methods, fields, and classes. Suggestions know whether you're in a static or instance context, and frequently used members appear first
|
||||
- **Auto Imports** - Type a class name and the editor suggests the correct import for you
|
||||
- **Error Detection** - Catch mistakes before you even run your script! Wrong argument types, missing methods, type mismatches, unused imports, and more are all underlined with detailed error messages on hover
|
||||
|
||||
> Hover over any symbol to see its **full type information**, documentation, and declaration -- just like a desktop IDE.
|
||||
|
||||
---
|
||||
|
||||
### Navigation
|
||||
|
||||
- **Go To Line** - `CTRL+G` jumps to any line instantly
|
||||
- **Search & Replace** - `CTRL+F` to search, `CTRL+H` to replace. All matches highlight in real-time
|
||||
- **Go To Definition** - `CTRL+Click` any method, field, or type to jump straight to its definition
|
||||
- **Fullscreen Mode** - Expand the editor to fill your entire game window for maximum workspace
|
||||
|
||||
### Editing
|
||||
|
||||
- **Undo/Redo** - Smart undo that works on whole words at a time, not individual characters
|
||||
- **Line Operations** - Duplicate lines with `CTRL+D`, delete lines, and move lines up or down with shortcuts
|
||||
- **Comment Toggle** - `CTRL+/` to comment or uncomment selected lines
|
||||
- **Rename** - Rename a variable or method and every occurrence updates at once
|
||||
- **Copy Whole Line** - Copy with nothing selected grabs the entire line
|
||||
- **Triple Click** - Select an entire line instantly
|
||||
|
||||
### Visual Polish
|
||||
|
||||
- **Line Numbers** - A clean gutter with line numbers and current line highlighting
|
||||
- **Smooth Scrolling** - Eased scroll animations for a polished feel
|
||||
- **Indent Guides** - Vertical lines show your code's nesting depth, with the current scope highlighted in green
|
||||
- **Brace Matching** - Matching `{}` braces light up, and unclosed braces turn red
|
||||
- **Smart Brackets** - Typing `{` automatically creates the closing `}` with correct indentation. Same for `()`, `[]`, `""`, and `''`
|
||||
- **Keyboard Shortcut Overlay** - Press a button to see all available shortcuts at a glance
|
||||
|
||||
---
|
||||
|
||||
## Java Scripting ☕
|
||||
|
||||
Write scripts in **real Java** instead of JavaScript! Powered by the **Janino** compiler, your Java code is compiled and runs natively.
|
||||
|
||||
- **Full Java Language** - Use classes, interfaces, enums, generics, lambdas, and everything you know from Java
|
||||
- **Automatic Hook Resolution** - Just name your methods after the hook you want (e.g., `init`, `tick`, `interact`) and they're wired up automatically
|
||||
- **Language Selector** - Each script tab has a dropdown to choose between JavaScript and Java. Mix and match across tabs
|
||||
- **External Files** - Write `.java` scripts in an external editor and they're loaded automatically
|
||||
|
||||
> Java and JavaScript scripts coexist side by side. Pick whichever language fits your workflow!
|
||||
|
||||
---
|
||||
|
||||
## Client-Side Scripting 🖥️
|
||||
|
||||
Scripts can now run **on the client** for responsive, visual experiences!
|
||||
|
||||
- **Server Controlled** - Server owners decide whether client scripting is allowed. Players can't enable it on their own
|
||||
- **Automatic Sync** - Script files are sent from the server to all connected clients on login, and re-synced whenever scripts are reloaded
|
||||
- **Safe by Default** - Client scripting is off by default and must be explicitly enabled in the server config
|
||||
|
||||
> Client-side scripts open the door to custom UI effects, visual feedback, and client-only hooks -- all while the server stays in full control.
|
||||
|
||||
---
|
||||
|
||||
## Cloner Tab Overhaul 📂
|
||||
|
||||
The Cloner now supports **folders** for organizing your saved NPCs, items, and entries!
|
||||
|
||||
- **Folder System** - Create folders and subfolders to keep your cloner organized however you like
|
||||
- **Full Screen Browser** - A new full-width directory view makes browsing large collections much easier
|
||||
- **Improved Tabs** - Better tab navigation for switching between cloner categories
|
||||
|
||||
---
|
||||
|
||||
## Addon API Support 📘
|
||||
|
||||
Addon developers can now ship **type definitions** alongside their mods, giving scripters full autocomplete and documentation for addon APIs!
|
||||
|
||||
- **Automatic Loading** - Any mod can include API definitions and they'll appear in the script editor automatically
|
||||
- **Patch Support** - Addons can extend existing CNPC+ types with new methods (e.g., a DBC addon adding `getDBCPlayer()` to the Player type)
|
||||
- **Full Documentation** - Parameter names, return types, and descriptions all show up in autocomplete and hover info
|
||||
|
||||
> If you're a scripter using addons, you get autocomplete for their APIs with zero setup. If you're an addon developer, just include your definitions and everything works.
|
||||
|
||||
---
|
||||
|
||||
## Animation Improvements 🎬
|
||||
|
||||
- **Data Store** - Animations can now store and pass data across events and frames for more complex animation logic
|
||||
- **Task System** - A new consumer-based system for reacting to animation lifecycle events, replacing the old approach
|
||||
- **Expanded API** - More animation control exposed to the scripting API
|
||||
|
||||
---
|
||||
|
||||
## Additional Changes 🔧
|
||||
|
||||
- **Player Dialog Events** - Now work the same way as NPC Dialog Events for consistency
|
||||
- **Linked Item Attack Speed** - Added attack speed configuration to linked items
|
||||
- **Trader Balance Preview** - Client-side balance prediction shows your expected balance during trades
|
||||
- **Right-Click Cycling** - Multi-option NPC buttons (Hair, Eyes, Fur, etc.) can now be right-clicked to cycle backwards
|
||||
- **Quest Cooldown Fix** - Fixed cooldown not working for MC Custom and RL Custom timer types
|
||||
- **Bard Music Fix** - Fixed music restarting or duplicating when opening dialogs
|
||||
- **Biome Spawn Fix** - Fixed NPC biome spawn settings not saving after editing
|
||||
- **Block Waypoint Fix** - Fixed issues with block waypoints
|
||||
- **Script Config Fix** - Fixed script configuration not syncing properly between server and client
|
||||
|
||||
---
|
||||
@@ -1,144 +0,0 @@
|
||||
# CNPC+ 1.11 Ability System Beta
|
||||
|
||||
🟡 **In Testing**
|
||||
|
||||
|
||||
|
||||
## Features: ⚒️
|
||||
|
||||
- **Phase-Based Execution:**
|
||||
|
||||
> All abilities follow a Wind-up → Active → Completion flow. Wind-up lets players react, Active deals the effect.
|
||||
|
||||
|
||||
|
||||
- **Melee Abilities:**
|
||||
|
||||
> - **Slam** - Leap and AOE on impact.
|
||||
> - **Heavy Hit** - Single powerful strike with bonus knockback.
|
||||
> - **Cutter** - Slashing cone arc attack.
|
||||
> - **Shockwave** - AOE burst radiating from the caster.
|
||||
|
||||
|
||||
|
||||
- **Energy Orbs:**
|
||||
|
||||
> - **Orb** - Homing energy sphere.
|
||||
> - **Dual Orb** - Two simultaneous homing orbs.
|
||||
> - **Orb Barrage** - Rapid volley of orbs in sequence.
|
||||
|
||||
|
||||
|
||||
- **Energy Discs:**
|
||||
|
||||
> - **Disc** - Spinning flat projectile with optional boomerang.
|
||||
> - **Dual Disc** - Two simultaneous discs.
|
||||
|
||||
|
||||
|
||||
- **Energy Beams:**
|
||||
|
||||
> - **Beam** - Sustained homing beam from caster to target.
|
||||
> - **Dual Beam** - Two simultaneous beams.
|
||||
|
||||
|
||||
|
||||
- **Laser Shot:**
|
||||
|
||||
> Instant-fire projectile with no homing. Pure aim.
|
||||
|
||||
|
||||
|
||||
- **Projectile:**
|
||||
|
||||
> Standard projectile using classic Minecraft physics.
|
||||
|
||||
|
||||
|
||||
- **Movement Abilities:**
|
||||
|
||||
> - **Charge** - Rush forward in a line, damaging everything in path.
|
||||
> - **Dash** - Quick directional movement without damage.
|
||||
> - **Teleport** - Instant relocation to the target.
|
||||
|
||||
|
||||
|
||||
- **AOE Abilities:**
|
||||
|
||||
> - **Sweeper** - Wide rotational sweep around the caster.
|
||||
> - **Vortex** - Pulls entities inward while dealing damage.
|
||||
|
||||
|
||||
|
||||
- **Telegraph System:**
|
||||
|
||||
> Visual ground indicators during wind-up. Supports Circle, Ring, Line, Cone, and Point shapes with color customization and warning phase transitions.
|
||||
|
||||
|
||||
|
||||
- **Energy Projectile Customization:**
|
||||
|
||||
> Modular data system for all energy projectiles: Anchor Point, Display Colors, Homing, Combat Stats, and Lifespan.
|
||||
|
||||
|
||||
|
||||
- **Ability Effects:**
|
||||
|
||||
> Abilities can apply potion effects on hit: Slowness, Weakness, Poison, Wither, Blindness, Nausea, Hunger, Mining Fatigue.
|
||||
|
||||
|
||||
|
||||
- **Ability Conditions:**
|
||||
|
||||
> Condition system controlling when abilities can execute based on target state and custom predicates.
|
||||
|
||||
|
||||
|
||||
- **Interruptible Wind-ups:**
|
||||
|
||||
> Abilities can be interrupted by damage during wind-up, forcing a configurable Dazed recovery state.
|
||||
|
||||
|
||||
|
||||
- **Movement & Rotation Locking:**
|
||||
|
||||
> Lock caster movement, rotation, or both during Wind-up, Active, or both phases.
|
||||
|
||||
|
||||
|
||||
- **Animation & Sound Integration:**
|
||||
|
||||
> Wind-up and Active animations with optional duration sync. Custom sound events per phase.
|
||||
|
||||
|
||||
|
||||
- **Player Abilities:**
|
||||
|
||||
> Players can unlock abilities, select one at a time, and share a universal cooldown.
|
||||
|
||||
|
||||
|
||||
- **Ability Preview:**
|
||||
|
||||
> Live preview in the ability editor GUI. Test telegraphs, animations, and projectiles on a dummy NPC.
|
||||
|
||||
|
||||
|
||||
- **Scripting API:**
|
||||
|
||||
> Full event support: Start, Execute, Interrupt, Complete, Hit (modifiable damage/knockback), and Tick events. Start, Execute, and Hit are cancelable.
|
||||
|
||||
|
||||
|
||||
- **Ability Commands:**
|
||||
|
||||
> `/kam ability list`, `types`, `info`, `delete`, `reload` for managing custom abilities.
|
||||
|
||||
|
||||
|
||||
**Extras**
|
||||
|
||||
- Global ability presets that update everywhere when edited.
|
||||
- Weighted ability selection for NPC random usage.
|
||||
- Configurable min/max range per ability.
|
||||
- Reusable telegraph presets shared across abilities.
|
||||
@@ -1,199 +0,0 @@
|
||||
# ⚔️ CustomNPC+ 1.11 - Abilities ⚔️
|
||||
|
||||
---
|
||||
|
||||
The **Ability Update** introduces a full combat ability system to CNPC+! Give your NPCs powerful attacks with **visual telegraphs**, launch **energy projectiles** that home in on targets, and let players unlock abilities of their own!
|
||||
|
||||
---
|
||||
|
||||
## How Abilities Work 🎯
|
||||
|
||||
Every ability follows a **phase-based execution flow** that gives combat a readable, strategic feel.
|
||||
|
||||
**Phases:**
|
||||
- **Wind-up** - The ability charges. Telegraphs appear, animations play, and observant players can react
|
||||
- **Active** - The ability fires. Damage is dealt, projectiles launch, effects apply
|
||||
- **Dazed** - Optional recovery state if the ability is interrupted during wind-up
|
||||
|
||||
**Core Configuration:**
|
||||
- **Cooldown** - Time before the ability can be used again
|
||||
- **Targeting Mode** - Aggro Target, Self, AOE on Self, or AOE on Target
|
||||
- **Range** - Configurable min and max range for activation
|
||||
- **Lock Movement** - Lock the caster's movement, rotation, or both during any phase
|
||||
- **Interruptible** - Allow damage to interrupt wind-up and force a dazed state
|
||||
- **Weight** - Priority weighting for NPC random ability selection
|
||||
|
||||
> Abilities support both **inline configuration** on individual NPCs and **global presets** that update everywhere when edited.
|
||||
|
||||
---
|
||||
|
||||
## Melee Abilities 🗡️
|
||||
|
||||
Close-range attacks that hit hard and punish positioning.
|
||||
|
||||
- **Slam** - Leap toward the target in an arc, dealing AOE damage on impact. Configurable radius, knockback, and leap height
|
||||
- **Heavy Hit** - A single powerful melee strike with bonus knockback
|
||||
- **Cutter** - A slashing arc attack in a cone. Configurable angle and reach
|
||||
- **Shockwave** - An AOE burst radiating outward from the caster
|
||||
|
||||
> All melee abilities support configurable **damage**, **knockback**, and **potion effects** on hit.
|
||||
|
||||
---
|
||||
|
||||
## Energy Projectiles ✨
|
||||
|
||||
A brand new projectile system built from the ground up with full visual customization.
|
||||
|
||||
### Orbs
|
||||
|
||||
Homing energy spheres that track their target through the air.
|
||||
|
||||
- **Orb** - A single homing projectile
|
||||
- **Dual Orb** - Fires two orbs simultaneously
|
||||
- **Orb Barrage** - Fires a volley of orbs in rapid sequence
|
||||
|
||||
### Discs
|
||||
|
||||
Flat spinning projectiles with optional **boomerang** behavior.
|
||||
|
||||
- **Disc** - A single spinning disc with configurable radius and thickness
|
||||
- **Dual Disc** - Fires two discs simultaneously
|
||||
|
||||
### Beams
|
||||
|
||||
Sustained energy beams that connect the caster to their target.
|
||||
|
||||
- **Beam** - A homing beam with configurable width and head size. Locks the caster in place during channeling
|
||||
- **Dual Beam** - Fires two beams simultaneously
|
||||
|
||||
### Laser Shot
|
||||
|
||||
An **instant-fire** projectile with configurable width and speed. No homing — pure aim.
|
||||
|
||||
### Projectile
|
||||
|
||||
A standard projectile using classic Minecraft physics for a more traditional ranged attack.
|
||||
|
||||
### Energy Configuration
|
||||
|
||||
Every energy projectile shares a **modular data system** for deep customization:
|
||||
|
||||
- **Anchor Point** - Choose where the projectile spawns: Right Hand, Left Hand, Front, Center, Chest, or Above Head
|
||||
- **Display** - Set core color, edge color, glow effect, transparency, and size
|
||||
- **Homing** - Toggle homing, adjust turn rate and max tracking range
|
||||
- **Combat** - Damage, knockback, vertical knockback, hit cooldown, and optional AOE splash
|
||||
- **Lifespan** - Projectile speed, max age, and max travel distance
|
||||
|
||||
---
|
||||
|
||||
## Movement Abilities 💨
|
||||
|
||||
Abilities that reposition the caster in combat.
|
||||
|
||||
- **Charge** - Rush forward in a line, damaging all entities in the path. Configurable speed, hit width, and knockback
|
||||
- **Dash** - A quick directional movement without dealing damage
|
||||
- **Teleport** - Instantly relocate to the target's position
|
||||
|
||||
> **Charge** locks direction during wind-up, so the telegraph accurately shows the attack path.
|
||||
|
||||
---
|
||||
|
||||
## AOE Abilities 🌀
|
||||
|
||||
Area control abilities that dominate space.
|
||||
|
||||
- **Sweeper** - A wide rotational sweep attack around the caster with configurable radius and rotation speed
|
||||
- **Vortex** - Creates a pulling force that drags nearby entities toward the center while dealing damage
|
||||
|
||||
---
|
||||
|
||||
## Telegraph System 📍
|
||||
|
||||
**Telegraphs** are visual ground indicators that warn players before an ability lands. They appear during the wind-up phase and disappear when the ability fires.
|
||||
|
||||
**Shapes:**
|
||||
- **Circle** - Filled circle with configurable radius
|
||||
- **Ring** - Donut shape with inner and outer radius
|
||||
- **Line** - Rectangle along the attack direction
|
||||
- **Cone** - Fan/wedge shape with configurable angle
|
||||
- **Point** - Single point indicator
|
||||
|
||||
**Features:**
|
||||
- **Color Customization** - Set ARGB colors for both the telegraph and its warning phase
|
||||
- **Warning Phase** - Color shifts in the final ticks before the ability fires
|
||||
- **Entity Tracking** - Telegraphs can follow a moving entity or stay at a fixed position
|
||||
- **Smooth Interpolation** - Position updates are interpolated for clean visuals
|
||||
|
||||
> Telegraphs are saved as **reusable presets** and can be shared across multiple abilities.
|
||||
|
||||
---
|
||||
|
||||
## Animations & Sound 🎬
|
||||
|
||||
Abilities integrate directly with the animation and sound systems.
|
||||
|
||||
- **Wind-up Animation** - Plays during the charging phase
|
||||
- **Active Animation** - Plays when the ability fires
|
||||
- **Animation Sync** - Optionally sync wind-up duration to match animation length exactly
|
||||
- **Sound Events** - Assign custom sounds to both wind-up and active phases
|
||||
- **Phase Colors** - Visual color feedback on the caster during wind-up and active
|
||||
|
||||
> Many ability types include **built-in animation names** that work automatically when matching animations exist.
|
||||
|
||||
---
|
||||
|
||||
## Effects & Conditions ⚡
|
||||
|
||||
### Potion Effects
|
||||
|
||||
Abilities can apply **potion effects** to any entity they hit. Each effect has configurable type, duration, and amplifier.
|
||||
|
||||
**Available Effects:**
|
||||
Slowness, Weakness, Poison, Wither, Blindness, Nausea, Hunger, Mining Fatigue
|
||||
|
||||
### Conditions
|
||||
|
||||
Abilities support a **condition system** that controls when they can be used. Conditions are evaluated before execution and can require specific target states, ranges, or custom predicates.
|
||||
|
||||
---
|
||||
|
||||
## Player Abilities 🧑
|
||||
|
||||
Players can unlock and use abilities too!
|
||||
|
||||
- **Unlock System** - Players receive abilities via scripting or commands
|
||||
- **Ability Selection** - Choose one ability at a time from your unlocked list
|
||||
- **Universal Cooldown** - Shared cooldown across all player abilities
|
||||
|
||||
---
|
||||
|
||||
## Scripting API 📜
|
||||
|
||||
Full scripting support for ability lifecycle events:
|
||||
|
||||
- **StartEvent** *(Cancelable)* - Fired when wind-up begins
|
||||
- **ExecuteEvent** *(Cancelable)* - Fired when the ability activates
|
||||
- **InterruptEvent** - Fired when wind-up is interrupted by damage
|
||||
- **CompleteEvent** - Fired when the ability finishes
|
||||
- **HitEvent** *(Cancelable)* - Fired on each entity hit. Damage and knockback values can be modified
|
||||
- **TickEvent** - Fired every tick with current phase and tick count
|
||||
|
||||
> Scripts can cancel, modify damage, and react to every phase of ability execution.
|
||||
|
||||
---
|
||||
|
||||
## Ability Preview 🔎
|
||||
|
||||
The ability editor includes a **live preview system**. Test your telegraph shapes, animations, and projectile visuals directly in the GUI on a dummy NPC — no world effects applied.
|
||||
|
||||
---
|
||||
|
||||
## Ability Commands 💬
|
||||
|
||||
- `/kam ability list` - List all custom abilities
|
||||
- `/kam ability types` - List all registered ability types
|
||||
- `/kam ability info <name|uuid>` - View ability details
|
||||
- `/kam ability delete <uuid>` - Delete a custom ability
|
||||
- `/kam ability reload` - Reload abilities from disk
|
||||
|
||||
---
|
||||
@@ -1,57 +0,0 @@
|
||||
# CNPC+ 1.11 Beta - Market Update
|
||||
|
||||
🟡 **In Testing**
|
||||
|
||||
## Features: ⚒️
|
||||
|
||||
- **Built-in Currency System:**
|
||||
> Fully configurable economy currency used across all Market features. Profile persistent across character slots with Vault support for Bukkit-compatible plugins.
|
||||
|
||||
- **Auction House:**
|
||||
> Global player marketplace for listing items, bidding, and instant buyouts. Auctions last 24 hours by default.
|
||||
|
||||
- **Auction Bidding & Snipe Protection:**
|
||||
> Competitive bidding with a 5% minimum bid increment. Snipe Protection extends auctions on last-second bids. Outbid players are automatically refunded.
|
||||
|
||||
- **Buyout System:**
|
||||
> Instant purchase at the seller's Buyout Price. Highest bidder only pays the difference between their bid and the buyout.
|
||||
|
||||
- **My Trades:**
|
||||
> Single screen for managing Active Listings, Active Bids, and Pending Claims. Players can cancel listings with a 10% penalty if bids exist.
|
||||
|
||||
- **Auction Notifications:**
|
||||
> Real-time notifications for sales, outbids, and wins. Offline players receive a claim summary on login.
|
||||
|
||||
- **Trade Slots:**
|
||||
> Limited slots (default 8, max 45) shared across listings, bids, and claims. Configurable via permissions.
|
||||
|
||||
- **Claim Expiration:**
|
||||
> Uncollected claims expire after 20 days.
|
||||
|
||||
- **Item Blacklist:**
|
||||
> Block items by registry name, wildcard pattern, mod, or NBT tag. Soulbound and Profile-Slotbound items are always blocked automatically.
|
||||
|
||||
- **Listing Fee & Sales Tax:**
|
||||
> Configurable listing fee charged on creation and sales tax taken from successful sales.
|
||||
|
||||
- **Search & Sorting:**
|
||||
> Search by item name or seller. Sort by newest, ending soon, price, or most bids.
|
||||
|
||||
- **Trader Stock System:**
|
||||
> Limited stock with Global or Per-Player modes. Restock timers for MC Daily/Weekly, RL Daily/Weekly, or Custom intervals.
|
||||
|
||||
- **Trader Currency Trades:**
|
||||
> Trades can require currency on top of item costs.
|
||||
|
||||
- **Auctioneer NPC Role:**
|
||||
> New role that opens the Auction House on interaction. No configuration needed.
|
||||
|
||||
- **Auction Commands:**
|
||||
> `/kam auction open` for players. Admin commands for listing view and player activity inspection.
|
||||
|
||||
**Extras**
|
||||
|
||||
- Auction logging for server admins (tracks creates, bids, buyouts, sales, expirations, cancellations, claims).
|
||||
- Lifetime currency tracking per player (total earned and spent).
|
||||
- Configurable starting balance and max balance cap.
|
||||
- Blacklist bypass permission for admins.
|
||||
@@ -1,121 +0,0 @@
|
||||
# 🏪 CustomNPC+ 1.11 - Market Update 🏪
|
||||
|
||||
---
|
||||
|
||||
The **Market Update** brings a complete economy system to CNPC+! Create bustling marketplaces with **Traders** that have limited stock, or let players trade with each other through the brand new **Auction House**!
|
||||
|
||||
---
|
||||
|
||||
## Currency System 💰
|
||||
|
||||
CNPC+ now has a **built-in currency** used across all Market features!
|
||||
|
||||
- **Fully Configurable** - Name it Coins, Gold, Credits, whatever fits your world. Set a starting balance and max balance cap to shape your economy
|
||||
- **Profile Persistent** - Currency carries across all your character slots
|
||||
- **Vault Support** - Integrates seamlessly with Bukkit-compatible economy plugins if Vault is installed. Falls back to built-in currency otherwise
|
||||
- **Lifetime Tracking** - Tracks total earned and spent per player
|
||||
|
||||
> Full Scripting API support for currency operations on players.
|
||||
|
||||
---
|
||||
|
||||
## Auction House 🏛️
|
||||
|
||||
A **global player marketplace** where players can list items, bid against each other, and purchase instantly! Search for items by name or seller, and sort by newest, ending soon, price, or most bids.
|
||||
|
||||
### Selling
|
||||
|
||||
List any item with a **Starting Price** for competitive bidding. Set an optional **Buyout Price** for players who want to skip the wait and buy immediately. Auctions last **24 hours** by default.
|
||||
|
||||
> A configurable **Listing Fee** is charged when creating auctions, and a **Sales Tax** is taken from successful sales.
|
||||
|
||||
### Bidding
|
||||
|
||||
Compete for items by placing bids! Each bid must be at least **5%** higher than the current bid. **Snipe Protection** extends auctions when last-second bids come in, giving everyone a fair shot. If you get outbid, your currency is **automatically refunded**.
|
||||
|
||||
### Buyout
|
||||
|
||||
See something you need right now? Hit **Buy Now** to purchase instantly at the seller's Buyout Price. If you're currently the highest bidder on an item, you only pay the **difference** between your bid and the buyout.
|
||||
|
||||
### My Trades
|
||||
|
||||
One screen to manage all your auction activity:
|
||||
|
||||
- **Active Listings** - Items you're currently selling
|
||||
- **Active Bids** - Auctions you're competing in
|
||||
- **Ready to Claim** - Won items and currency waiting for pickup
|
||||
|
||||
Players can **cancel** their own listings -- items are returned as a claim. If there are active bids on the listing, a **10% cancellation penalty** is charged.
|
||||
|
||||
> Claims expire after **20 days**. Make sure to collect your items and currency before they're gone!
|
||||
|
||||
### Notifications
|
||||
|
||||
Get notified immediately when your item sells, when you're outbid, or when you win an auction. Offline? You'll get a full **claim summary** when you log back in showing exactly what's waiting for you.
|
||||
|
||||
### Trade Slots
|
||||
|
||||
Every player gets a limited number of **Trade Slots** (default 8). Slots are shared across Active Listings, Active Bids, **and** Pending Claims -- so uncollected claims take up space. Pick up your claims to free slots for new listings and bids!
|
||||
|
||||
> Server owners can grant players more slots via permissions up to a maximum of 45.
|
||||
|
||||
---
|
||||
|
||||
## Item Blacklist 🚫
|
||||
|
||||
Server owners have full control over what items can be listed on the Auction House.
|
||||
|
||||
**Block by:**
|
||||
- **Item** - Specific registry names like `minecraft:diamond_sword`
|
||||
- **Wildcard** - Patterns like `minecraft:diamond*` to block all diamond items
|
||||
- **Mod** - Block all items from a specific mod
|
||||
- **NBT Tag** - Block items containing certain NBT data
|
||||
|
||||
> **Soulbound** and **Profile-Slotbound** items are always blocked automatically, regardless of blacklist settings. Bound items cannot be traded!
|
||||
|
||||
Manage the blacklist in-game with `/kam auction blacklist` commands, or configure it directly in the config file.
|
||||
|
||||
---
|
||||
|
||||
## Trader Enhancements 🛒
|
||||
|
||||
### Stock System
|
||||
|
||||
Traders now support **limited stock** with automatic restocking!
|
||||
|
||||
**Stock Modes:**
|
||||
- **Global** - All players share the same stock pool
|
||||
- **Per-Player** - Each player has their own purchase limits
|
||||
|
||||
**Restock Timers:**
|
||||
- **MC Daily / Weekly** - Restock based on Minecraft time
|
||||
- **RL Daily / Weekly** - Restock based on real-life time
|
||||
- **Custom** - Set your own interval in MC ticks or real-time
|
||||
|
||||
Stock counts, out-of-stock status, and restock timers are all visible directly in the trade interface.
|
||||
|
||||
> Admins can manually reset stock or cooldowns via the Trader GUI.
|
||||
|
||||
### Currency Trades
|
||||
|
||||
Trades can now require **currency on top of items**. Combine material costs with coin costs for balanced economy progression!
|
||||
|
||||
---
|
||||
|
||||
## Auctioneer Role 🧑💼
|
||||
|
||||
New NPC role for the Auction House! Set the role on any NPC and players can access the full Auction House by interacting with them -- no extra configuration needed. The role respects the global Auction Enabled setting.
|
||||
|
||||
### Auction Commands
|
||||
|
||||
Players can also access the Auction House via command:
|
||||
|
||||
- `/kam auction open` - Opens the Auction House GUI
|
||||
|
||||
**Admin Commands:**
|
||||
- `/kam auction list [page]` - View active auctions in chat
|
||||
- `/kam auction view <player>` - View a player's auction activity
|
||||
|
||||
> Server owners can enable **auction logging** to track all auction activity (creates, bids, buyouts, sales, expirations, cancellations, and claims).
|
||||
|
||||
---
|
||||
@@ -0,0 +1,98 @@
|
||||
# CustomNPC+ 1.11 Changelog
|
||||
|
||||
## Ability System
|
||||
- Phase-based abilities (Wind-up, Active, Dazed) with configurable cooldowns, targeting, range, interrupts, invulnerability, and magic damage
|
||||
- **Melee:** Slam, Heavy Hit, Cutter
|
||||
- **Energy Projectiles:** Orb, Disc, Beam, Laser Shot with variant system, homing, hit types (Single/Pierce/Multi), size interpolation, explosions
|
||||
- **Barriers:** Dome, Wall, Shield with HP, reflection, damage absorption
|
||||
- **Defensive:** Guard, Counter, Dodge
|
||||
- **Movement:** Charge, Dash, Teleport
|
||||
- **AOE:** Shockwave, Sweeper, Vortex
|
||||
- **Hazards & Traps:** Persistent zones and proximity triggers with visual presets
|
||||
- **Effect:** Healing, buffs, debuffs with target filtering (Allies/Enemies/All)
|
||||
- **Custom Ability:** Blank-slate type with full script hooks and toggle modes
|
||||
- Burst system, chained ability combos with concurrency, telegraph system (6 shapes)
|
||||
- Per-phase animations and sound events
|
||||
- Ability conditions: HP Threshold, Hit Count, Has Item, Quest Completed, Has Effect
|
||||
- 12-slot player ability hotbar with HUD editor
|
||||
- Full scripting API for ability and energy projectile lifecycle events
|
||||
- Ability Extender system for custom hooks
|
||||
- Live preview in editor
|
||||
- Commands: `/kam ability list|types|prebuilts|info|delete|reload|give|remove|giveChain|removeChain|player`
|
||||
|
||||
## Auction House
|
||||
- Global marketplace with bidding, buyout, and snipe protection
|
||||
- Built-in currency system (configurable, profile-persistent, Vault support)
|
||||
- Listing fees, sales tax, minimum prices
|
||||
- My Trades panel with claim management (20-day expiry)
|
||||
- Search/sort, notifications (online + offline summary)
|
||||
- Trade slots (default 8, expandable via permissions)
|
||||
- Item blacklist (by item, wildcard, mod, NBT; soulbound always blocked)
|
||||
- Auctioneer NPC role
|
||||
- Admin GUI and logging
|
||||
- Cancelable scripting events: Create, Bid, Buyout, Cancel, Claim
|
||||
|
||||
## Script Editor
|
||||
- Full code editor with syntax highlighting, autocomplete, error detection, and hover tooltips
|
||||
- Go to Line, Search/Replace, Go to Definition, Fullscreen
|
||||
- Undo/Redo, Duplicate Line, Comment Toggle, Rename, Move Lines
|
||||
- Line numbers, smooth scrolling, indent guides, brace matching, smart brackets
|
||||
|
||||
## Java Scripting
|
||||
- Write scripts in Java via Janino compiler with automatic hook resolution
|
||||
- Per-tab language selector (mix Java and JavaScript)
|
||||
- External `.java` file support
|
||||
|
||||
## Client-Side Scripting
|
||||
- Server-controlled client script execution with auto-sync (off by default)
|
||||
|
||||
## Addon API Support
|
||||
- Ship `.d.ts` type definitions for automatic script editor autocomplete
|
||||
- Patch support for extending CNPC+ types, hot reload
|
||||
|
||||
## Traders
|
||||
- Stock system: Global or Per-Player modes with configurable restock timers
|
||||
- Currency trades (items + coins)
|
||||
- Client-side balance preview
|
||||
|
||||
## Cloner
|
||||
- Folder and subfolder organization for all categories
|
||||
- Full-width directory browser, improved tabs, tag-based filtering
|
||||
|
||||
## Animations
|
||||
- Data store for passing data across events/frames
|
||||
- Consumer-based task system
|
||||
- Expanded scripting API
|
||||
|
||||
## Animated Textures
|
||||
- Frame-based animation for items, effect icons, ability hotbar, scripted GUIs
|
||||
|
||||
## NPC API
|
||||
- `IHitboxData` (width/height scaling), `ITintData` (hurt tint, persistent tints)
|
||||
- Scriptable behavior: sprint, swim, doors, fire reactions, tactical chance, walking range
|
||||
- `ISound` (volume, pitch, repeat, position)
|
||||
- Skin overlay `getColor()`/`setColor()`, knockback API
|
||||
- Six overlays in singleplayer, script error reporting to console
|
||||
|
||||
## NPC Combat & Behavior
|
||||
- Attack speed enforcement, passive faction protection
|
||||
- Improved track speed, invalid texture fallback
|
||||
|
||||
## Other Changes
|
||||
- Player Dialog Events match NPC Dialog Events
|
||||
- Linked Item attack speed and scripting API
|
||||
- Right-click cycling on multi-option buttons
|
||||
- Legacy quest import (1.6.4), fullscreen/pannable GUIs, unified menu background
|
||||
- Textfield CTRL shortcuts, `java.lang.reflect` banned in scripts
|
||||
- Entity packet loss fix (invisible NPCs)
|
||||
- Natural spawn GUI, runtime control, and despawn improvements
|
||||
|
||||
## Bug Fixes
|
||||
- Script config sync, Bukkit integration
|
||||
- Quest cooldown for MC/RL Custom timers, quest/dialog saving and categories
|
||||
- Bard music restart on dialog open
|
||||
- Spawner yaw, biome spawn persistence, NPC invisibility
|
||||
- Track speed, set speed edge cases, spawn data, block waypoints, job spawner
|
||||
- Hitbox scaling and collision
|
||||
- Animation offsets, lookup failures, syncing, resync on teleport, registration names, double loading
|
||||
- Mount movement jitter, dismount edge cases
|
||||
@@ -1,95 +1,432 @@
|
||||

|
||||
|
||||
## 👋 Welcome to the CustomNPC+ Repository.
|
||||

|
||||
# CustomNPC+
|
||||
|
||||
> CustomNPC+ is a [Minecraft](https://minecraft.net/) mod that allows you to add custom NPCs to your world. It is developed for creative and storytelling players who want to make their Minecraft worlds more in-depth and unique. CustomNPC+ is only a branch version of the **1.7.10** Forge version of the original (down below) and has no plans to add or update any other version. This is not an official version of CustomNPC.
|
||||
**CustomNPC+** is a Minecraft 1.7.10 Forge mod that lets you create fully customizable NPCs with advanced AI, combat abilities, quests, dialogs, scripting, an economy system, and much more. Built for creative and storytelling players who want to transform their worlds into living RPG experiences.
|
||||
|
||||
----------------
|
||||
> CustomNPC+ is a branch version of the original [CustomNPC](https://www.curseforge.com/minecraft/mc-mods/custom-npcs) by [Noppes](https://github.com/Noppes), developed with permission. This is not an official version of CustomNPC.
|
||||
|
||||
<a href="https://discord.gg/pQqRTvFeJ5"> <img src="https://img.shields.io/badge/KAMKEEL_Discord-7289DA?style=for-the-badge&logo=discord&logoColor=white" width="400" height="60"> </a>
|
||||
<a href="https://ko-fi.com/kamkeel"> <img src="https://img.shields.io/badge/Support_Me_|_Ko--fi-F16061?style=for-the-badge&logo=ko-fi&logoColor=white" alt="Support Me" width="400" height="60"> </a>
|
||||
---
|
||||
|
||||
<a href="https://discord.gg/pQqRTvFeJ5"> <img src="images/Discord.png" width="400" height="60"> </a>
|
||||
|
||||
[](https://modrinth.com/mod/customnpc-plus)
|
||||
[](https://www.curseforge.com/minecraft/mc-mods/moreplayermodels-plus)
|
||||
[](https://github.com/KAMKEEL/Plugin-Mod)
|
||||
|
||||
----------------
|
||||
---
|
||||
|
||||
### ❗ Notice
|
||||
I am not the original creator of CustomNPC. The original creator is @[Noppes](https://github.com/Noppes). I have been permitted to update and develop my own branch version for 1.7.10. The original mod that is updated to the latest versions of Minecraft can be found on these links: [CurseForge](https://www.curseforge.com/minecraft/mc-mods/custom-npcs), [kodevelopment](http://www.kodevelopment.nl/minecraft/customnpcs)
|
||||
## Installation
|
||||
|
||||
### ⬇️ Downloads
|
||||
CustomNPC+ is a **replacement** for the original CustomNPC — not an add-on. Do not install both together. Simply drop CustomNPC+ into your client or server mods folder. All original CustomNPC features are preserved and expanded upon.
|
||||
|
||||
> Please **backup your world** before installing. Report any bugs on the [issue tracker](https://github.com/KAMKEEL/CustomNPC-Plus/issues).
|
||||
|
||||
### Downloads
|
||||
|
||||
- **Modrinth**: [Download](https://modrinth.com/mod/customnpc-plus)
|
||||
- **CurseForge**: [Download](https://www.curseforge.com/minecraft/mc-mods/customnpc-plus)
|
||||
|
||||
### 🔹 Installation
|
||||
This mod is an ***update*** to CustomNPC and not an add-on. Do not install CustomNPC with CustomNPC-Plus. CustomNPC-Plus does not remove any functional features from the original mod. It expands upon CustomNPC with original features and backported features from newer versions. Simply drag CustomNPC-Plus into any client/server mods folder to utilize. Please **backup** before using as this could still have unforeseen errors. Report any bugs if found, thank you and enjoy.
|
||||
---
|
||||
|
||||
### ❓ Features:
|
||||
- Flying NPC (Smart Pathfinding)
|
||||
- 1.8 Skin Support (64x64) (Alex/Steve64)
|
||||
- Full URL64 Selector (Downloads FULL Size Images for Custom Mob Skins)
|
||||
- Additional Parts: [Wings, Fins, Capes, Horns, Tail]
|
||||
- Hide Body Parts [Arms, Legs, Head, Body]
|
||||
- Custom Overlays
|
||||
- Animation Maker
|
||||
- Enhanced Cloner GUI (More Tabs, Filters, Tags)
|
||||
- Markov Name Generator
|
||||
- Dark Mode GUI (Link Below)
|
||||
- 1.12 Scripting Features (Details below)
|
||||
- Profile System (Multiple Character Slots)
|
||||
- Quest Party System
|
||||
- Item and Armor Attributes
|
||||
- Magic System with Elemental Cycles
|
||||
- Custom Effect Engine
|
||||
- Scripted Blocks & Particles
|
||||
- Compass Marks for Waypoints
|
||||
- Custom Model Support
|
||||
- Gecko & Dragon Block C Addons
|
||||
<a href="https://ko-fi.com/kamkeel"> <img src="images/Kofi.png" width="400" height="60"> </a>
|
||||
|
||||
#### Scripting:
|
||||
- CustomNPC+ Api: [API](https://github.com/KAMKEEL/CustomNPC-Plus-API)
|
||||
- Java Doc: [kamkeel.github.io/CustomNPC-Plus](https://kamkeel.github.io/CustomNPC-Plus/)
|
||||
- Scripted Items
|
||||
- Player Overlays
|
||||
- Script Timers
|
||||
- Global Scripts
|
||||
- Script Logging
|
||||
- GUI Overlays
|
||||
- Event Scripting
|
||||
(We never remove script functionality, only add on existing functions)
|
||||
> More betas with new features will continue to be released to supporters for **Early Access** to new content!
|
||||
|
||||
## 🔰 Skin Model Feature:
|
||||
###### **Majority of these cape designs are taken from the internet with fair-usage.*
|
||||
##### ❔ Please note all *local* skins in this version of CustomNPC, must match the model selected.
|
||||
<img src="images/skinAnimation.gif" width="474" height="260"/>
|
||||
---
|
||||
|
||||
## Feature Overview
|
||||
|
||||
### NPC Creation & Customization
|
||||
|
||||
Create NPCs with deep visual customization and lifelike behavior.
|
||||
|
||||
<img src="images/NPCEditor.gif" width="474" height="260"/>
|
||||
|
||||
- **Skin System** - 1.8 skin support (64x64), Alex & Steve64 models, full URL64 selector that downloads full-size images for custom skins
|
||||
- **Body Parts** - Wings, fins, capes, horns, tails. Hide individual body parts (arms, legs, head, body)
|
||||
- **Skin Overlays** - Layer additional textures on top of the base skin with color tinting and alpha control
|
||||
- **Custom Models** - Support for custom model formats, plus Gecko and DBC addon model integration
|
||||
- **Hitbox Scaling** - Independently scale NPC hitbox width and height
|
||||
- **Tint System** - Control hurt flash color and apply persistent color tints
|
||||
|
||||
---
|
||||
|
||||
### NPC AI & Behavior
|
||||
|
||||
NPCs have a full AI system for combat, pathing, and interaction.
|
||||
|
||||
- **Flying NPCs** - Smart pathfinding in 3D space for flying entities
|
||||
- **Combat AI** - Multiple tactical behaviors: attack, ranged attack, ambush, pounce, dodge-shoot, zigzag, stalk, orbit, sprint-to-target, and leap attacks
|
||||
- **Movement Types** - Standing, wandering, and moving path modes
|
||||
- **Pathfinding** - Ground, flying, and water navigation
|
||||
- **Door Interaction** - NPCs can break, open, or ignore doors
|
||||
- **Behavior Controls** - Configurable sprinting, swimming, fire reactions, tactical chance, and walking range
|
||||
- **Attack Speed** - NPCs respect attack speed timing when dealing damage
|
||||
- **Faction Awareness** - NPCs respond to faction standings. Passive faction NPCs are protected from damage
|
||||
|
||||
#### Flying NPCs:
|
||||
<img src="images/FlyingNPC.gif" width="474" height="260"/>
|
||||
|
||||
#### Url64:
|
||||
<img src="images/Url64Example.gif" width="474" height="260"/>
|
||||
---
|
||||
|
||||
#### DarkMode + Cloner GUI:
|
||||
<img src="images/ClonerGUI-DarkMode.png" width="474" height="260"/>
|
||||
### NPC Roles & Jobs
|
||||
|
||||
## 🔗 Want to check out my other projects?
|
||||
[Plugin Mod](https://github.com/KAMKEEL/Plugin-Mod) is a mod designed to add more aesthetic items for RPG and storytelling. It is compatible with CustomNPC+ and has many items intended to be used and wielded by created NPCs.
|
||||
**Roles** give NPCs interactive functions — Trader, Follower, Bank, Transporter, Postman, Companion, Mount, and Auctioneer. **Jobs** give NPCs background tasks — Bard, Healer, Guard, Item Giver, Follower, Spawner, Conversation, and Chunk Loader.
|
||||
|
||||
[RPG Messenger](https://github.com/KAMKEEL/RPGMessenger) is a bukkit plugin designed to allow operators to create messagable NPCs for RPG Servers. Allows a 'RPG Controller' to reply quickly as NPCs, form groupchats, and messagable parties.
|
||||
---
|
||||
|
||||
[CustomNPC+ Dark Mode](https://github.com/KAMKEEL/CustomNPC-Plus-Dark-Mode) is a resource pack for CustomNPC+ that alters all GUIs within the mod to a dark variant that is both clean and pleasing to look at.
|
||||
### Dialog System
|
||||
|
||||
## Cloning / Compiling / Building
|
||||
Create branching dialog trees for storytelling and player interaction.
|
||||
|
||||
git clone call `git submodule update --init --recursive`
|
||||
<img src="images/Dialog.png" width="474" height="260"/>
|
||||
|
||||
Using IntelliJ, take the following steps:
|
||||
1. Run `setupDecompWorkspace` under the `forgegradle` tab.
|
||||
2. Refresh Gradle.
|
||||
3. Run `genIntellijRuns` under the `other` tab to set up your Minecraft runs.
|
||||
- **Dialog Trees** - Multi-level branching conversations with unlimited depth
|
||||
- **Dialog Options** - Player choices that affect outcomes, trigger quests, or change faction standings
|
||||
- **Dialog Images** - Display images alongside dialog text
|
||||
- **Dialog Colors** - Customizable text and background colors
|
||||
- **Categories** - Organize dialogs into categories for large projects
|
||||
- **Availability Conditions** - Show or hide dialogs based on quests, factions, items, or custom conditions
|
||||
- **Script Hooks** - Full scripting support for dialog open, close, and option events
|
||||
|
||||
or for Eclipse, run `gradlew setupDecompWorkspace eclipse` then import the project.
|
||||
---
|
||||
|
||||
Mixin code will not work if you do not add `--tweakClass org.spongepowered.asm.launch.MixinTweaker --mixin customnpcs.mixins.json` to your program arguments.
|
||||
### Quest System
|
||||
|
||||
A complete quest framework for RPG progression.
|
||||
|
||||
<img src="images/QuestMarks.png" width="474" height="260"/>
|
||||
|
||||
- **Quest Types** - Item collection, dialog completion, kill targets, reach locations, area kills, and fully manual (script-driven) quests
|
||||
- **Quest Tracking** - On-screen HUD overlay showing active quest objectives
|
||||
- **Categories** - Organize quests into categories
|
||||
- **Rewards** - Configure item, XP, and currency rewards
|
||||
- **Cooldowns** - Repeatable quests with MC time, real-time, or custom cooldown intervals
|
||||
- **Party Quests** - Share quest objectives across party members with configurable sharing modes
|
||||
- **Availability** - Control quest visibility based on completed quests, faction standing, dialogs, and more
|
||||
- **Script Hooks** - Events for quest start, completion, turn-in, and custom quest objectives
|
||||
|
||||
---
|
||||
|
||||
### Ability System
|
||||
|
||||
A full combat ability system for both NPCs and players.
|
||||
|
||||
<img src="images/NPCAbilities.gif" width="474" height="260"/>
|
||||
<img src="images/PlayerAbilities.gif" width="474" height="260"/>
|
||||
|
||||
**Melee Abilities** - Slam, Heavy Hit, Cutter
|
||||
**Energy Projectiles** - Orbs, Discs, Beams, Laser Shots with full visual customization, homing, and hit types
|
||||
**Energy Barriers** - Domes, Walls, Shields with HP, reflection, and damage absorption
|
||||
**Defensive** - Guard, Counter, Dodge with configurable damage reduction and counter-attacks
|
||||
**Movement** - Charge, Dash, Teleport
|
||||
**AOE** - Shockwave, Sweeper, Vortex
|
||||
**Hazards & Traps** - Persistent damage zones and proximity-triggered traps with visual presets
|
||||
**Support** - Ability Effect for healing, buffs, and debuffs
|
||||
|
||||
**Key Features:**
|
||||
- Phase-based execution (Wind-up, Active, Dazed) with visual telegraphs
|
||||
- Burst system for rapid multi-fire
|
||||
- Chained abilities for sequential combos
|
||||
- Player ability hotbar (12 slots) with unlock system
|
||||
- Full scripting API for every lifecycle event
|
||||
- Live preview in the ability editor
|
||||
|
||||
---
|
||||
|
||||
### Auction House & Economy
|
||||
|
||||
A complete marketplace and economy system.
|
||||
|
||||
<img src="images/Auction.png" width="474" height="260"/>
|
||||
|
||||
- **Built-in Currency** - Configurable currency with starting balance, max cap, and Vault plugin integration
|
||||
- **Auction House** - Global player marketplace with bidding, buyout, snipe protection, and notifications
|
||||
- **Trade Slots** - Configurable per-player slot limits via permissions
|
||||
- **Item Blacklist** - Block items by name, wildcard, mod, or NBT tag from being listed
|
||||
- **Admin Tools** - Dedicated admin GUI for managing listings and creating server auctions
|
||||
- **Scripting API** - Cancelable events for creates, bids, buyouts, cancels, and claims
|
||||
|
||||
**Trader Enhancements:**
|
||||
- Limited stock with automatic restocking (MC time, real-time, or custom intervals)
|
||||
- Global or per-player stock modes
|
||||
- Currency costs on top of item trades
|
||||
- Client-side balance preview
|
||||
|
||||
---
|
||||
|
||||
### Script Editor
|
||||
|
||||
A full-featured code editor built right into Minecraft.
|
||||
|
||||
<img src="images/ScriptEditor.gif" width="474" height="260"/>
|
||||
|
||||
- **Syntax Highlighting** - Color-coded keywords, types, variables, methods, strings, and comments
|
||||
- **Autocomplete** - Smart suggestions with type awareness, static vs instance context, and auto-imports
|
||||
- **Error Detection** - Real-time underlining of wrong argument types, missing methods, type mismatches, and unused imports
|
||||
- **Hover Info** - Full type information, documentation, and JSDoc rendering on hover
|
||||
- **Navigation** - Go to line, search & replace, go to definition, and fullscreen mode
|
||||
- **Editing** - Smart undo/redo, duplicate lines, comment toggle, rename refactoring, smart bracket pairing
|
||||
- **Visual** - Line numbers, smooth scrolling, indent guides, brace matching, resizable panels
|
||||
|
||||
---
|
||||
|
||||
### Scripting
|
||||
|
||||
Write scripts in **JavaScript** or **Java** to control every aspect of the mod.
|
||||
|
||||
- **Java Scripting** - Write real Java code compiled by the Janino engine. Full support for classes, generics, lambdas, and method references
|
||||
- **JavaScript** - Full Nashorn-based JavaScript with ECMAScript 5.1 globals (Math, JSON, Date, Number)
|
||||
- **Client-Side Scripting** - Run scripts on the client for responsive visual experiences (server-controlled)
|
||||
- **154+ Script Hooks** - Events for NPCs, players, blocks, items, quests, dialogs, factions, abilities, auction, animations, and more
|
||||
- **Script Types** - NPC, Player, Global, Block, Item, Linked Item, Effect, Ability, Recipe, and Forge Event scripts
|
||||
- **Scripted Blocks** - Blocks with full script hooks for click, redstone, neighbor changes, and more
|
||||
- **Scripted Items** - Items with use, attack, toss, pickup, and durability hooks
|
||||
- **Custom GUIs** - Build custom interfaces with buttons, text fields, scroll panels, and slots via scripting
|
||||
- **GUI Overlays** - Persistent on-screen overlays with labels, lines, and textured rectangles
|
||||
- **Addon API** - Mods can ship `.d.ts` type definitions for full autocomplete in the editor
|
||||
|
||||
**Resources:**
|
||||
- API Repository: [CustomNPC+ API](https://github.com/KAMKEEL/CustomNPC-Plus-API)
|
||||
- Java Docs: [kamkeel.github.io/CustomNPC-Plus](https://kamkeel.github.io/CustomNPC-Plus/)
|
||||
|
||||
<img src="images/ScriptedBlock.png" width="474" height="260"/>
|
||||
<img src="images/ScriptedParticle.png" width="474" height="260"/>
|
||||
|
||||
---
|
||||
|
||||
### Animation System
|
||||
|
||||
Create custom animations for NPCs directly in-game.
|
||||
|
||||
- **Animation Maker** - Visual editor for creating frame-based animations
|
||||
- **Animation Parts** - Animate individual body parts with rotation, position, and scaling
|
||||
- **Frame Events** - Script hooks for animation start, end, frame enter, and frame exit
|
||||
- **Data Store** - Animations can store and pass data across events and frames
|
||||
- **Task System** - Consumer-based callbacks for animation lifecycle
|
||||
- **Built-in Animations** - Pre-made animations for abilities that work automatically
|
||||
- **Multiple Registrations** - Register multiple animations under one common name
|
||||
- **Animated Textures** - Frame-based animated textures for items, effects, and ability icons
|
||||
|
||||
<img src="images/AnimationMaker.gif" width="474" height="260"/>
|
||||
|
||||
---
|
||||
|
||||
### Custom Effects
|
||||
|
||||
Create custom status effects beyond vanilla potions.
|
||||
|
||||
- **Custom Icons** - Each effect gets its own texture, with support for animated icons
|
||||
- **Script Hooks** - Events for effect apply, tick, and removal
|
||||
- **Ability Integration** - Abilities can apply custom effects to targets
|
||||
- **Condition System** - Check if entities have specific effects for ability or availability conditions
|
||||
|
||||
---
|
||||
|
||||
### Profile System
|
||||
|
||||
Multiple character slots on a single account.
|
||||
|
||||
- **Profile Slots** - Each slot stores separate quest progress, dialogs, factions, currency, abilities, and effects
|
||||
- **Region Locking** - Lock profiles to specific areas
|
||||
- **Soulbound Items** - Bind items to a specific player by UUID
|
||||
- **Profile-Slotbound Items** - Bind items to a specific profile slot
|
||||
|
||||
---
|
||||
|
||||
### Party System
|
||||
|
||||
Group up with other players for cooperative gameplay.
|
||||
|
||||
- **Party Management** - Invite, kick, leave, disband, and transfer leadership
|
||||
- **Quest Sharing** - Share quest objectives across party members
|
||||
- **Ability Integration** - Party members are treated as allies for AOE ability targeting
|
||||
- **Script Hooks** - Events for invites, kicks, leaves, disbands, and quest completion
|
||||
|
||||
<img src="images/PartySystem.png" width="474" height="260"/>
|
||||
<img src="images/QuestParty.png" width="474" height="260"/>
|
||||
|
||||
---
|
||||
|
||||
### Faction System
|
||||
|
||||
Create factions to control NPC relationships and player reputation.
|
||||
|
||||
- **Faction Points** - Players earn or lose standing with factions through quests, combat, and scripting
|
||||
- **Availability Conditions** - Gate dialogs, quests, and content behind faction thresholds
|
||||
- **NPC Behavior** - NPCs react to players based on faction standing (friendly, neutral, hostile)
|
||||
- **Passive Factions** - Passive faction NPCs are protected from damage
|
||||
|
||||
---
|
||||
|
||||
### HUD System
|
||||
|
||||
Customizable on-screen elements.
|
||||
|
||||
- **HUD Editor** - Drag and position HUD components to fit your screen
|
||||
- **Ability Hotbar** - 12-slot bar with horizontal/vertical layout and configurable visible slots
|
||||
- **Quest Tracking** - On-screen quest objective tracker
|
||||
- **Compass** - Directional compass with quest and waypoint markers
|
||||
- **Effect Bar** - Display active custom effects
|
||||
|
||||
<img src="images/HudSystem.png" width="474" height="260"/>
|
||||
|
||||
---
|
||||
|
||||
### Cloner & Organization
|
||||
|
||||
Save, organize, and reuse NPCs and content.
|
||||
|
||||
- **Cloner Tabs** - Save and load NPCs, items, and other content
|
||||
- **Folder System** - Organize with folders and subfolders for animations, abilities, forms, auras, outlines, effects, and linked items
|
||||
- **Quick Tags** - Tag-based filtering for fast searching
|
||||
- **Full Screen Browser** - Wide directory view for large collections
|
||||
|
||||
<img src="images/ClonerTabs.png" width="474" height="260"/>
|
||||
|
||||
---
|
||||
|
||||
### Items & Blocks
|
||||
|
||||
A large library of custom items and decorative blocks.
|
||||
|
||||
**Weapons:** Battle Axe, Broadsword, Claw, Crossbow, Dagger, Staff, Glaive, Gun, Kunai, Scythe, Spear, Wand, Warhammer, Musket, and more
|
||||
|
||||
**Linked Items:** Create custom items with configurable attack speed, scripted behavior, animated textures, and item versioning
|
||||
|
||||
**Blocks:** Banners, barrels, beams, signs, campfires, candles, chairs, couches, crates, crystals, lanterns, mailboxes, pedestals, redstone blocks, and scripted blocks
|
||||
|
||||
**Crafting:** Carpentry Bench and Anvil with custom recipe support
|
||||
|
||||
<img src="images/VariousWeapons.png" width="474" height="260"/>
|
||||
<img src="images/JappaTextures.png" width="474" height="260"/>
|
||||
|
||||
---
|
||||
|
||||
### Custom Models
|
||||
|
||||
Support for custom NPC models beyond the default humanoid. Import Blockbench models using the **Gecko Addon** (GeckoLib integration) or use **Armorer's Workshop** skins with the AW Addon.
|
||||
|
||||
<img src="images/GeckoAddon1.png" width="474" height="260"/>
|
||||
<img src="images/GeckoAddon2.png" width="474" height="260"/>
|
||||
|
||||
---
|
||||
|
||||
### Addon Compatibility
|
||||
|
||||
CustomNPC+ has official addons that extend its functionality with other mods. Vault and Pixelmon are also supported natively for economy and scripting integration.
|
||||
|
||||
---
|
||||
|
||||
## Official CNPC+ Addons
|
||||
|
||||
### DBC Addon
|
||||
|
||||
Adds full compatibility between [Dragon Block C](https://www.curseforge.com/minecraft/mc-mods/dragon-block-c) and CustomNPC+. Extends abilities with ki-based attacks, adds DBC stat integration to conditions, and enables DBC model/animation support on NPCs.
|
||||
|
||||
[](https://www.curseforge.com/minecraft/mc-mods/cnpc-dbc-addon)
|
||||
[](https://modrinth.com/mod/customnpc-plus-dbc-addon)
|
||||
[](https://github.com/KAMKEEL/CustomNPC-DBC-Addon)
|
||||
|
||||
### Gecko Addon
|
||||
|
||||
Adds [GeckoLib](https://www.curseforge.com/minecraft/mc-mods/geckolib) support to CustomNPC+. Import Blockbench models directly into the mod and use them as custom NPC models with full animation support.
|
||||
|
||||
[](https://www.curseforge.com/minecraft/mc-mods/cnpc-custom-model-addon)
|
||||
[](https://modrinth.com/mod/customnpc-plus-gecko-addon)
|
||||
[](https://github.com/KAMKEEL/CustomNPC-Gecko-Addon)
|
||||
|
||||
### Armorer's Workshop Addon
|
||||
|
||||
Adds compatibility between [Armorer's Workshop](https://www.curseforge.com/minecraft/mc-mods/armorers-workshop) and CustomNPC+. Use Armorer's Workshop skins and equipment on NPCs with custom rotation, scaling, and animation support. Requires UniMixins.
|
||||
|
||||
[](https://www.curseforge.com/minecraft/mc-mods/cnpc-armorers-workshop-addon)
|
||||
[](https://modrinth.com/mod/customnpc-plus-aw-addon)
|
||||
|
||||
---
|
||||
|
||||
## Other Projects
|
||||
|
||||
### MorePlayerModels+
|
||||
|
||||
An updated continuation of MorePlayerModels for 1.7.10 with backported GUIs, original parts and customizations, and permission support. Works alongside CustomNPC+. This is a replacement — do not install alongside the original MorePlayerModels.
|
||||
|
||||
[](https://www.curseforge.com/minecraft/mc-mods/moreplayermodels-plus)
|
||||
[](https://modrinth.com/mod/moreplayermodels+)
|
||||
[](https://github.com/KAMKEEL/MorePlayerModels-Plus)
|
||||
|
||||
### The Plugin Mod
|
||||
|
||||
Adds aesthetic weapons, artifacts, blocks, and apples for RPG and storytelling servers. Designed to pair with CustomNPC+ — use the included swords, spears, axes, medpacks, and decorative blocks to make your NPCs and worlds more diverse.
|
||||
|
||||
[](https://www.curseforge.com/minecraft/mc-mods/the-plugin-mod)
|
||||
[](https://modrinth.com/mod/the-plugin-mod)
|
||||
[](https://github.com/KAMKEEL/Plugin-Mod)
|
||||
|
||||
### HexText
|
||||
|
||||
Upgrades Minecraft's font renderer with full RGB hex color support, nested color spans, and animated text effects (glow, shake, wave). Works in signs, anvils, and chat. Requires UniMixins.
|
||||
|
||||
[](https://www.curseforge.com/minecraft/mc-mods/hex-text)
|
||||
[](https://modrinth.com/mod/hex-text)
|
||||
[](https://github.com/KAMKEEL/HexText)
|
||||
|
||||
### RPG Messenger
|
||||
|
||||
A Bukkit plugin for messageable NPCs, group chats, and RPG controller tools. Allows operators to create NPCs that players can message, and lets RPG controllers reply as NPCs in real-time.
|
||||
|
||||
[](https://github.com/KAMKEEL/RPGMessenger)
|
||||
|
||||
### CustomNPC+ Dark Mode
|
||||
|
||||
A resource pack that applies a clean dark theme to all CustomNPC+ GUIs.
|
||||
|
||||
[](https://github.com/KAMKEEL/CustomNPC-Plus-Dark-Mode)
|
||||
|
||||
---
|
||||
|
||||
## Configuration
|
||||
|
||||
CustomNPC+ has a modular configuration system:
|
||||
|
||||
| Config | Purpose |
|
||||
|--------|---------|
|
||||
| **Main** | Core mod settings |
|
||||
| **Client** | Client-side display and UI preferences |
|
||||
| **Script** | Scripting engine settings and client script toggle |
|
||||
| **Market** | Currency, auction house, trader, and economy settings |
|
||||
| **Energy** | Energy projectile settings (explosion block damage, dome item blacklist) |
|
||||
| **Item** | Item and gun configuration |
|
||||
| **Debug** | Debug logging and diagnostics |
|
||||
| **Experimental** | Experimental features toggle |
|
||||
|
||||
---
|
||||
|
||||
## Building from Source
|
||||
|
||||
This project uses the [GTNH Gradle Convention](https://github.com/GTNewHorizons/ExampleMod1.7.10) build system with [RetroFuturaGradle](https://github.com/GTNewHorizons/RetroFuturaGradle).
|
||||
|
||||
```bash
|
||||
git clone <repo-url>
|
||||
git submodule update --init --recursive
|
||||
./gradlew build
|
||||
```
|
||||
|
||||
That's it. Submodules pull in the API sources, and `build` handles decompilation, compilation, and mixin embedding automatically.
|
||||
|
||||
**Run the game:**
|
||||
```bash
|
||||
./gradlew runClient # Launch client
|
||||
./gradlew runServer # Launch server
|
||||
```
|
||||
|
||||
**IDE Setup (IntelliJ):**
|
||||
1. Import the project as a Gradle project
|
||||
2. Run `./gradlew genIntellijRuns`
|
||||
3. Add program arguments: `--tweakClass org.spongepowered.asm.launch.MixinTweaker --mixin customnpcs.mixins.json`
|
||||
|
||||
---
|
||||
|
||||
## Notice
|
||||
|
||||
I am not the original creator of CustomNPC. The original creator is [Noppes](https://github.com/Noppes). I have been permitted to update and develop my own branch version for 1.7.10. The original mod updated to the latest Minecraft versions can be found on [CurseForge](https://www.curseforge.com/minecraft/mc-mods/custom-npcs) and [kodevelopment](http://www.kodevelopment.nl/minecraft/customnpcs).
|
||||
@@ -6,7 +6,7 @@ plugins {
|
||||
id "dts.typescript-generator"
|
||||
}
|
||||
|
||||
version = "1.11-beta12"
|
||||
version = "1.11"
|
||||
group= "kamkeel.customnpc-plus"
|
||||
archivesBaseName = "CustomNPC-Plus"
|
||||
|
||||
@@ -68,6 +68,7 @@ tasks.named("generateTypeScriptDefinitions").configure {
|
||||
outputDirectory = "src/main/resources/assets/${project.property("modId")}/api"
|
||||
apiPackages = ['noppes.npcs.api', 'net.minecraft'] as Set
|
||||
cleanOutputFirst = true // Clean old generated files before regenerating
|
||||
patchesDirectory = "dts-patches"
|
||||
implementationPackages = [
|
||||
'noppes.npcs.scripted',
|
||||
'noppes.npcs.controllers.data',
|
||||
@@ -78,3 +79,35 @@ tasks.named("generateTypeScriptDefinitions").configure {
|
||||
}
|
||||
processResources.dependsOn generateTypeScriptDefinitions
|
||||
sourcesJar.dependsOn generateTypeScriptDefinitions
|
||||
|
||||
|
||||
// Javadoc configuration
|
||||
javadoc {
|
||||
options.encoding = 'UTF-8'
|
||||
options.charSet = 'UTF-8'
|
||||
options.docEncoding = 'UTF-8'
|
||||
|
||||
options.tags = [
|
||||
'hookName:a:Hook Name:'
|
||||
]
|
||||
|
||||
options.stylesheetFile = file('.github/javadoc/javadoc-theme.css')
|
||||
options.header = file('.github/javadoc/javadoc-header.html').text.replaceAll('\\s+', ' ').trim()
|
||||
|
||||
options.addBooleanOption('-allow-script-in-comments', true)
|
||||
options.footer = file('.github/javadoc/javadoc-footer.html').text.replaceAll('\\s+', ' ').trim()
|
||||
|
||||
// Only document the public API, not net.minecraft stubs
|
||||
include 'noppes/npcs/api/**'
|
||||
|
||||
options.links(
|
||||
'https://docs.oracle.com/en/java/javase/11/docs/api/'
|
||||
)
|
||||
|
||||
javadocTool = javaToolchains.javadocToolFor {
|
||||
languageVersion = JavaLanguageVersion.of(11)
|
||||
}
|
||||
}
|
||||
|
||||
// Modify the existing 'build' task to depend on 'updateAPI'
|
||||
//tasks.apiClasses.dependsOn 'updateAPI'
|
||||
@@ -35,7 +35,7 @@
|
||||
*/
|
||||
def embedMixin = !project.hasProperty("nomixin");
|
||||
dependencies {
|
||||
runtimeOnlyNonPublishable("com.github.GTNewHorizons:NotEnoughItems:2.5.4-GTNH:dev")
|
||||
runtimeOnlyNonPublishable("com.github.GTNewHorizons:NotEnoughItems:2.8.44-GTNH:dev")
|
||||
if (!project.hasProperty("noNashorn")) {
|
||||
runtimeOnlyNonPublishable("curse.maven:Nashorn-374413:2924946")
|
||||
}
|
||||
@@ -43,19 +43,8 @@ dependencies {
|
||||
// compileOnly(files("./tools/bukkit-api/spigot-api-ONLY.jar"))
|
||||
// compileOnly(files("./tools/bukkit-api/Vault-1.4.1.jar"))
|
||||
|
||||
shadowImplementation(project.files("tools/standalone-JaninoLoader-1.0.1-ALPHA.jar"))
|
||||
annotationProcessor(project.files("tools/standalone-JaninoLoader-1.0.1-ALPHA.jar"))
|
||||
|
||||
// JavaFX editor stack (Nodex-style popup IDE window)
|
||||
shadowImplementation("org.fxmisc.richtext:richtextfx:0.8.1")
|
||||
|
||||
// JavaFX classes are required at compile-time for the optional Nodex-style editor.
|
||||
// The legacy 1.7.10 toolchain JDK may not ship JavaFX, so we wire a local jfxrt.jar when present.
|
||||
def localJfxRt = file("C:/Program Files/Java/jdk1.8.0_202/jre/lib/ext/jfxrt.jar")
|
||||
if (localJfxRt.exists()) {
|
||||
compileOnly(files(localJfxRt))
|
||||
runtimeOnlyNonPublishable(files(localJfxRt))
|
||||
}
|
||||
shadowImplementation(project.files("tools/standalone-JaninoLoader-1.0.2.jar"))
|
||||
annotationProcessor(project.files("tools/standalone-JaninoLoader-1.0.2.jar"))
|
||||
|
||||
testImplementation("junit:junit:4.13.2")
|
||||
|
||||
|
||||
@@ -0,0 +1,126 @@
|
||||
/**
|
||||
* ECMAScript 5.1 - Array type for working with ordered collections of elements.
|
||||
* Supports static methods like Array.isArray() and instance methods like push(), map(), filter().
|
||||
*
|
||||
* ## How to Use
|
||||
*
|
||||
* ### Creating Arrays
|
||||
* ```js
|
||||
* var empty = []; // Empty array
|
||||
* var nums = [1, 2, 3]; // Array with values
|
||||
* var mixed = ["hello", 42, true]; // Mixed types
|
||||
* var nested = [[1, 2], [3, 4]]; // Nested arrays
|
||||
* ```
|
||||
*
|
||||
* ### Static Methods
|
||||
* ```js
|
||||
* Array.isArray([1, 2, 3]); // true
|
||||
* Array.isArray("hello"); // false
|
||||
* Array.isArray({length: 3}); // false
|
||||
* ```
|
||||
*
|
||||
* ### Adding & Removing Elements
|
||||
* ```js
|
||||
* var arr = [1, 2, 3];
|
||||
* arr.push(4); // [1, 2, 3, 4] — add to end
|
||||
* arr.pop(); // [1, 2, 3] — remove from end
|
||||
* arr.unshift(0); // [0, 1, 2, 3] — add to start
|
||||
* arr.shift(); // [1, 2, 3] — remove from start
|
||||
* arr.splice(1, 1, 99); // [1, 99, 3] — replace at index 1
|
||||
* ```
|
||||
*
|
||||
* ### Searching & Iterating
|
||||
* ```js
|
||||
* var arr = [10, 20, 30, 20];
|
||||
* arr.indexOf(20); // 1 (first match)
|
||||
* arr.lastIndexOf(20); // 3 (last match)
|
||||
* arr.forEach(function(val) { log(val); });
|
||||
* var doubled = arr.map(function(v) { return v * 2; }); // [20, 40, 60, 40]
|
||||
* var big = arr.filter(function(v) { return v > 15; }); // [20, 30, 20]
|
||||
* ```
|
||||
*
|
||||
* ### Reducing & Testing
|
||||
* ```js
|
||||
* var sum = [1, 2, 3].reduce(function(acc, v) { return acc + v; }, 0); // 6
|
||||
* var allPositive = [1, 2, 3].every(function(v) { return v > 0; }); // true
|
||||
* var hasNeg = [1, -2, 3].some(function(v) { return v < 0; }); // true
|
||||
* ```
|
||||
*
|
||||
* ### ❌ Common Mistakes
|
||||
* ```js
|
||||
* Array.push(1); // TypeError — push is an instance method
|
||||
* var a = [3,1,2]; a.sort(); // Sorts as strings! Use compareFn for numbers
|
||||
* a.sort(function(a, b) { return a - b; }); // Correct numeric sort: [1, 2, 3]
|
||||
* ```
|
||||
*/
|
||||
export interface Array<T> {
|
||||
/** Returns true if the given object is an array, false otherwise */
|
||||
static isArray(arg: any): boolean;
|
||||
|
||||
/** The number of elements in the array */
|
||||
length: number;
|
||||
|
||||
/** Combines two or more arrays and returns a new array without modifying the original */
|
||||
concat(...items: T[]): T[];
|
||||
|
||||
/** Tests whether all elements in the array pass the provided test function */
|
||||
every(callback: Java.java.util.function.Function<T, boolean>): boolean;
|
||||
|
||||
/** Creates a new array with all elements that pass the test implemented by the provided function */
|
||||
filter(callback: Java.java.util.function.Function<T, boolean>): T[];
|
||||
|
||||
/** Executes a provided function once for each array element. Returns undefined */
|
||||
forEach(callback: Java.java.util.function.Consumer<T>): void;
|
||||
|
||||
/** Returns the first index at which an element is found, or -1 if not present */
|
||||
indexOf(searchElement: T): number;
|
||||
indexOf(searchElement: T, fromIndex: number): number;
|
||||
|
||||
/** Joins all elements of an array into a string separated by the given separator */
|
||||
join(separator: string): string;
|
||||
|
||||
/** Returns the last index at which an element is found, or -1 if not present */
|
||||
lastIndexOf(searchElement: T): number;
|
||||
lastIndexOf(searchElement: T, fromIndex: number): number;
|
||||
|
||||
/** Creates a new array with the results of calling a function on every element */
|
||||
map(callback: Java.java.util.function.Function<T, any>): any[];
|
||||
|
||||
/** Removes and returns the last element from the array, modifying the original array */
|
||||
pop(): T;
|
||||
|
||||
/** Adds one or more elements to the end of an array and returns the new length */
|
||||
push(...items: T[]): number;
|
||||
|
||||
/** Applies a function against an accumulator and each element to reduce the array to a single value */
|
||||
reduce(callback: Java.java.util.function.BiFunction<any, T, any>): any;
|
||||
reduce(callback: Java.java.util.function.BiFunction<any, T, any>, initialValue: any): any;
|
||||
|
||||
/** Same as reduce() but processes the array from right to left */
|
||||
reduceRight(callback: Java.java.util.function.BiFunction<any, T, any>): any;
|
||||
reduceRight(callback: Java.java.util.function.BiFunction<any, T, any>, initialValue: any): any;
|
||||
|
||||
/** Reverses an array in place. The first element becomes the last, and vice versa */
|
||||
reverse(): T[];
|
||||
|
||||
/** Removes and returns the first element from the array, modifying the original array */
|
||||
shift(): T;
|
||||
|
||||
/** Returns a shallow copy of a portion of an array as a new array object */
|
||||
slice(start: number, end: number): T[];
|
||||
|
||||
/** Tests whether at least one element in the array passes the test implemented by the provided function */
|
||||
some(callback: Java.java.util.function.Function<T, boolean>): boolean;
|
||||
|
||||
/** Sorts the elements of an array in place and returns the sorted array */
|
||||
sort(compareFn: Java.java.util.function.BiFunction<T, T, number>): T[];
|
||||
|
||||
/** Changes the contents of an array by removing or replacing existing elements and/or adding new ones */
|
||||
splice(start: number, deleteCount: number, ...items: T[]): T[];
|
||||
|
||||
/** Returns a string representation of the array */
|
||||
toString(): string;
|
||||
|
||||
/** Adds one or more elements to the beginning of an array and returns the new length */
|
||||
unshift(...items: T[]): number;
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
/**
|
||||
* ECMAScript 5.1 - Boolean type for true/false values.
|
||||
* Booleans are the result of comparison and logical operations.
|
||||
*
|
||||
* ## How to Use
|
||||
*
|
||||
* ### Creating Booleans
|
||||
* ```js
|
||||
* var yes = true; // Boolean literal
|
||||
* var no = false; // Boolean literal
|
||||
* var fromExpr = (5 > 3); // true (comparison result)
|
||||
* ```
|
||||
*
|
||||
* ### Boolean Methods
|
||||
* ```js
|
||||
* var b = true;
|
||||
* b.toString(); // "true"
|
||||
* b.valueOf(); // true (primitive value)
|
||||
* ```
|
||||
*
|
||||
* ### Truthy & Falsy Values
|
||||
* ```js
|
||||
* // These are FALSY (evaluate to false):
|
||||
* // false, 0, "", null, undefined, NaN
|
||||
*
|
||||
* // These are TRUTHY (evaluate to true):
|
||||
* // true, any non-zero number, any non-empty string, objects, arrays
|
||||
*
|
||||
*/
|
||||
export interface Boolean {
|
||||
/** Returns the string "true" or "false" */
|
||||
toString(): string;
|
||||
|
||||
/** Returns the primitive boolean value */
|
||||
valueOf(): boolean;
|
||||
}
|
||||
@@ -0,0 +1,168 @@
|
||||
/**
|
||||
* ECMAScript 5.1 - Date type for working with dates and times.
|
||||
* Create with `new Date()` or use static methods like Date.now() to get current timestamp.
|
||||
*
|
||||
* ## How to Use
|
||||
*
|
||||
* ### Creating Dates
|
||||
* ```js
|
||||
* var now = new Date(); // Current date & time
|
||||
* var epoch = new Date(0); // Jan 1, 1970
|
||||
* var specific = new Date(2024, 0, 15); // Jan 15, 2024 (months are 0-based!)
|
||||
* var full = new Date(2024, 5, 15, 10, 30, 0); // Jun 15, 2024 10:30:00
|
||||
* var fromStr = new Date("2024-01-15"); // Parse from ISO string
|
||||
* ```
|
||||
*
|
||||
* ### Static Methods (no `new` needed)
|
||||
* ```js
|
||||
* var timestamp = Date.now(); // Current time in milliseconds
|
||||
* var parsed = Date.parse("2024-01-15"); // Parse string to timestamp
|
||||
* var utc = Date.UTC(2024, 0, 15); // UTC timestamp for Jan 15, 2024
|
||||
* ```
|
||||
*
|
||||
* ### Common Mistakes
|
||||
* ```js
|
||||
* Date.now; // Returns the function, not the timestamp!
|
||||
* Date.getMinutes(); // TypeError — instance method, not static
|
||||
* new Date(2024, 1, 1); // Feb 1, not Jan 1 — months are 0-based!
|
||||
* ```
|
||||
*/
|
||||
export interface Date {
|
||||
/** Returns the current time as the number of milliseconds since 1970-01-01 00:00:00 UTC */
|
||||
static now(): number;
|
||||
|
||||
/** Parses a date string and returns the number of milliseconds since 1970-01-01 00:00:00 UTC */
|
||||
static parse(s: string): number;
|
||||
|
||||
/** Returns the number of milliseconds since 1970-01-01 00:00:00 UTC for the given UTC date/time components */
|
||||
static UTC(year: number, month: number, date: number, hours: number, minutes: number, seconds: number, ms: number): number;
|
||||
|
||||
/** Returns the day of the month (1-31) in local time */
|
||||
getDate(): number;
|
||||
|
||||
/** Returns the day of the week (0=Sunday, 6=Saturday) in local time */
|
||||
getDay(): number;
|
||||
|
||||
/** Returns the year in local time */
|
||||
getFullYear(): number;
|
||||
|
||||
/** Returns the hour (0-23) in local time */
|
||||
getHours(): number;
|
||||
|
||||
/** Returns the milliseconds (0-999) in local time */
|
||||
getMilliseconds(): number;
|
||||
|
||||
/** Returns the minutes (0-59) in local time */
|
||||
getMinutes(): number;
|
||||
|
||||
/** Returns the month (0=January, 11=December) in local time */
|
||||
getMonth(): number;
|
||||
|
||||
/** Returns the seconds (0-59) in local time */
|
||||
getSeconds(): number;
|
||||
|
||||
/** Returns the number of milliseconds since 1970-01-01 00:00:00 UTC */
|
||||
getTime(): number;
|
||||
|
||||
/** Returns the time zone offset in minutes between local time and UTC */
|
||||
getTimezoneOffset(): number;
|
||||
|
||||
/** Returns the day of the month (1-31) in UTC */
|
||||
getUTCDate(): number;
|
||||
|
||||
/** Returns the day of the week (0=Sunday, 6=Saturday) in UTC */
|
||||
getUTCDay(): number;
|
||||
|
||||
/** Returns the year in UTC */
|
||||
getUTCFullYear(): number;
|
||||
|
||||
/** Returns the hour (0-23) in UTC */
|
||||
getUTCHours(): number;
|
||||
|
||||
/** Returns the milliseconds (0-999) in UTC */
|
||||
getUTCMilliseconds(): number;
|
||||
|
||||
/** Returns the minutes (0-59) in UTC */
|
||||
getUTCMinutes(): number;
|
||||
|
||||
/** Returns the month (0=January, 11=December) in UTC */
|
||||
getUTCMonth(): number;
|
||||
|
||||
/** Returns the seconds (0-59) in UTC */
|
||||
getUTCSeconds(): number;
|
||||
|
||||
/** Sets the day of the month and returns the new timestamp */
|
||||
setDate(date: number): number;
|
||||
|
||||
/** Sets the year, and optionally month and date, then returns the new timestamp */
|
||||
setFullYear(year: number, month: number, date: number): number;
|
||||
|
||||
/** Sets the hour, minutes, seconds, and milliseconds, then returns the new timestamp */
|
||||
setHours(hour: number, min: number, sec: number, ms: number): number;
|
||||
|
||||
/** Sets the milliseconds and returns the new timestamp */
|
||||
setMilliseconds(ms: number): number;
|
||||
|
||||
/** Sets the minutes, seconds, and milliseconds, then returns the new timestamp */
|
||||
setMinutes(min: number, sec: number, ms: number): number;
|
||||
|
||||
/** Sets the month, and optionally date, then returns the new timestamp */
|
||||
setMonth(month: number, date: number): number;
|
||||
|
||||
/** Sets the seconds and milliseconds, then returns the new timestamp */
|
||||
setSeconds(sec: number, ms: number): number;
|
||||
|
||||
/** Sets the timestamp (milliseconds since epoch) and returns it */
|
||||
setTime(time: number): number;
|
||||
|
||||
/** Sets the day of the month (UTC) and returns the new timestamp */
|
||||
setUTCDate(date: number): number;
|
||||
|
||||
/** Sets the year, month, and date (UTC), then returns the new timestamp */
|
||||
setUTCFullYear(year: number, month: number, date: number): number;
|
||||
|
||||
/** Sets the hour, minutes, seconds, and milliseconds (UTC), then returns the new timestamp */
|
||||
setUTCHours(hour: number, min: number, sec: number, ms: number): number;
|
||||
|
||||
/** Sets the milliseconds (UTC) and returns the new timestamp */
|
||||
setUTCMilliseconds(ms: number): number;
|
||||
|
||||
/** Sets the minutes, seconds, and milliseconds (UTC), then returns the new timestamp */
|
||||
setUTCMinutes(min: number, sec: number, ms: number): number;
|
||||
|
||||
/** Sets the month and date (UTC), then returns the new timestamp */
|
||||
setUTCMonth(month: number, date: number): number;
|
||||
|
||||
/** Sets the seconds and milliseconds (UTC), then returns the new timestamp */
|
||||
setUTCSeconds(sec: number, ms: number): number;
|
||||
|
||||
/** Returns a string representation of the date portion in local time (e.g., "Mon Jan 01 2024") */
|
||||
toDateString(): string;
|
||||
|
||||
/** Returns the date as an ISO 8601 string (e.g., "2024-01-01T00:00:00.000Z") */
|
||||
toISOString(): string;
|
||||
|
||||
/** Returns a JSON representation of the date (typically an ISO 8601 string) */
|
||||
toJSON(key: any): string;
|
||||
|
||||
/** Returns a localized string for the date portion (format depends on locale) */
|
||||
toLocaleDateString(): string;
|
||||
|
||||
/** Returns a localized string for the entire date and time (format depends on locale) */
|
||||
toLocaleString(): string;
|
||||
|
||||
/** Returns a localized string for the time portion (format depends on locale) */
|
||||
toLocaleTimeString(): string;
|
||||
|
||||
/** Returns a string representation of the date and time in local time */
|
||||
toString(): string;
|
||||
|
||||
/** Returns a string representation of the time portion in local time (e.g., "00:00:00 GMT+0000") */
|
||||
toTimeString(): string;
|
||||
|
||||
/** Returns a string representation of the date and time in UTC (e.g., "Mon, 01 Jan 2024 00:00:00 GMT") */
|
||||
toUTCString(): string;
|
||||
|
||||
/** Returns the primitive value of the date object (milliseconds since 1970-01-01 00:00:00 UTC) */
|
||||
valueOf(): number;
|
||||
}
|
||||
@@ -0,0 +1,81 @@
|
||||
/**
|
||||
* ECMAScript 5.1 - Error base type for runtime errors.
|
||||
* Throw Error objects to indicate failure conditions in your code.
|
||||
*
|
||||
* ## How to Use
|
||||
*
|
||||
* ### Creating & Throwing Errors
|
||||
* ```js
|
||||
* throw new Error("Something went wrong");
|
||||
* throw new TypeError("Expected a string");
|
||||
* throw new RangeError("Value out of range");
|
||||
* ```
|
||||
*
|
||||
* ### Catching Errors
|
||||
* ```js
|
||||
* try {
|
||||
* var result = riskyOperation();
|
||||
* } catch (e) {
|
||||
* log(e.name); // "Error", "TypeError", etc.
|
||||
* log(e.message); // "Something went wrong"
|
||||
* log(e.toString()); // "Error: Something went wrong"
|
||||
* }
|
||||
* ```
|
||||
*
|
||||
* ### Custom Error Messages
|
||||
* ```js
|
||||
* function divide(a, b) {
|
||||
* if (b === 0) {
|
||||
* throw new Error("Cannot divide by zero");
|
||||
* }
|
||||
* return a / b;
|
||||
* }
|
||||
* ```
|
||||
*
|
||||
* ### ❌ Common Mistakes
|
||||
* ```js
|
||||
* throw "Something went wrong"; // Works but no .name or .message properties
|
||||
* Error("oops"); // Creates error but doesn't throw it!
|
||||
* throw Error("oops"); // ✅ Works (with or without `new`)
|
||||
* ```
|
||||
*/
|
||||
export interface Error {
|
||||
/** The name of the error type (e.g., "Error", "TypeError", "RangeError") */
|
||||
name: string;
|
||||
|
||||
/** A human-readable description of what went wrong */
|
||||
message: string;
|
||||
|
||||
/** Returns a string representation of the error (typically "name: message") */
|
||||
toString(): string;
|
||||
}
|
||||
|
||||
/**
|
||||
* EvalError - Thrown when eval() function is misused (rarely used in modern JavaScript)
|
||||
*/
|
||||
export interface EvalError extends Error {}
|
||||
|
||||
/**
|
||||
* RangeError - Thrown when a numeric value is out of the acceptable range (e.g., array length < 0)
|
||||
*/
|
||||
export interface RangeError extends Error {}
|
||||
|
||||
/**
|
||||
* ReferenceError - Thrown when trying to reference a variable that does not exist or is not in scope
|
||||
*/
|
||||
export interface ReferenceError extends Error {}
|
||||
|
||||
/**
|
||||
* SyntaxError - Thrown when parsing invalid syntax (usually caught during compile/parse, not runtime)
|
||||
*/
|
||||
export interface SyntaxError extends Error {}
|
||||
|
||||
/**
|
||||
* TypeError - Thrown when an operation is performed on a value of the wrong type (e.g., calling a non-function)
|
||||
*/
|
||||
export interface TypeError extends Error {}
|
||||
|
||||
/**
|
||||
* URIError - Thrown by URI encoding/decoding functions when given invalid characters or sequences
|
||||
*/
|
||||
export interface URIError extends Error {}
|
||||
@@ -0,0 +1,75 @@
|
||||
/**
|
||||
* ECMAScript 5.1 - Global functions available in the global scope.
|
||||
* These are not on any specific object - call them directly (e.g., parseInt("42")).
|
||||
*
|
||||
* ## How to Use
|
||||
*
|
||||
* ### Parsing Numbers
|
||||
* ```js
|
||||
* parseInt("42"); // 42
|
||||
* parseInt("42px"); // 42 (stops at non-digit)
|
||||
* parseInt("0xFF", 16); // 255 (hexadecimal)
|
||||
* parseInt("111", 2); // 7 (binary)
|
||||
* parseFloat("3.14"); // 3.14
|
||||
* parseFloat("3.14abc"); // 3.14 (stops at invalid char)
|
||||
* ```
|
||||
*
|
||||
* ### Checking Special Values
|
||||
* ```js
|
||||
* isNaN(NaN); // true
|
||||
* isNaN(42); // false
|
||||
* isNaN("hello"); // true (cannot parse as number)
|
||||
* isNaN("42"); // false (can parse as number)
|
||||
* isFinite(42); // true
|
||||
* isFinite(Infinity); // false
|
||||
* isFinite(NaN); // false
|
||||
* ```
|
||||
*
|
||||
* ### URI Encoding/Decoding
|
||||
* ```js
|
||||
* encodeURI("hello world"); // "hello%20world"
|
||||
* decodeURI("hello%20world"); // "hello world"
|
||||
* encodeURIComponent("a=1&b=2"); // "a%3D1%26b%3D2" (encodes & and =)
|
||||
* decodeURIComponent("a%3D1%26b%3D2"); // "a=1&b=2"
|
||||
* ```
|
||||
*
|
||||
* ### ❌ Common Mistakes
|
||||
* ```js
|
||||
* parseInt("08"); // Some engines treat as octal! Always specify radix
|
||||
* parseInt("08", 10); // 8 ✅ — explicitly base-10
|
||||
* parseInt(""); // NaN — empty string returns NaN, not 0
|
||||
* parseFloat(""); // NaN
|
||||
* isNaN(undefined); // true — coerces to NaN first
|
||||
* ```
|
||||
*/
|
||||
export interface GlobalFunctions {
|
||||
/** Evaluates JavaScript code in a string (use with caution - slow and potential security issues) */
|
||||
static eval(x: any): any;
|
||||
|
||||
/** Parses a string and returns an integer. Stops parsing at the first non-digit character */
|
||||
static parseInt(string: string): number;
|
||||
|
||||
/** Parses a string and returns an integer using the specified radix (base). Stops parsing at the first non-digit character */
|
||||
static parseInt(string: string, radix: number): number;
|
||||
|
||||
/** Parses a string and returns a floating-point number. Stops parsing at the first invalid character */
|
||||
static parseFloat(string: string): number;
|
||||
|
||||
/** Determines whether a value is NaN (not-a-number). The value is first coerced to a number before testing */
|
||||
static isNaN(value: any): boolean;
|
||||
|
||||
/** Determines whether a value is a finite number. The value is first coerced to a number. Returns false for Infinity, -Infinity, and NaN */
|
||||
static isFinite(value: any): boolean;
|
||||
|
||||
/** Decodes a URI by replacing encoded sequences like %20 with their original characters */
|
||||
static decodeURI(encodedURI: string): string;
|
||||
|
||||
/** Decodes URI component by replacing ALL encoded sequences including those for reserved URI characters */
|
||||
static decodeURIComponent(encodedURIComponent: string): string;
|
||||
|
||||
/** Encodes a URI by replacing special characters with %HH sequences (but preserves reserved characters like / : ?) */
|
||||
static encodeURI(uri: string): string;
|
||||
|
||||
/** Encodes URI component by replacing ALL special characters including reserved ones with %HH sequences */
|
||||
static encodeURIComponent(uriComponent: string): string;
|
||||
}
|
||||
@@ -0,0 +1,100 @@
|
||||
/**
|
||||
* ECMAScript 5.1 - JSON built-in object for parsing and serializing JSON data.
|
||||
*
|
||||
* ## How to Use
|
||||
*
|
||||
* JSON is a **static object** — use its methods directly, never with `new`.
|
||||
*
|
||||
* ### Parsing JSON Strings to Objects
|
||||
* ```js
|
||||
* var obj = JSON.parse('{"name": "Steve", "level": 5}');
|
||||
* log(obj.name); // "Steve"
|
||||
* log(obj.level); // 5
|
||||
*
|
||||
* var arr = JSON.parse('[1, 2, 3]');
|
||||
* log(arr[0]); // 1
|
||||
* ```
|
||||
*
|
||||
* ### Converting Objects to JSON Strings
|
||||
* ```js
|
||||
* var data = { name: "Steve", hp: 100 };
|
||||
* var json = JSON.stringify(data); // '{"name":"Steve","hp":100}'
|
||||
*
|
||||
* // Pretty-printed with 2-space indent:
|
||||
* var pretty = JSON.stringify(data, null, 2);
|
||||
* // '{
|
||||
* // "name": "Steve",
|
||||
* // "hp": 100
|
||||
* // }'
|
||||
* ```
|
||||
*
|
||||
* ### Storing & Loading Data
|
||||
* ```js
|
||||
* // Save to NPC stored data:
|
||||
* var inventory = { sword: 1, potion: 5 };
|
||||
* npc.getStoredData().put("inv", JSON.stringify(inventory));
|
||||
*
|
||||
* // Load from NPC stored data:
|
||||
* var raw = npc.getStoredData().get("inv");
|
||||
* var loaded = JSON.parse(raw);
|
||||
* log(loaded.potion); // 5
|
||||
* ```
|
||||
*
|
||||
* ### ❌ Common Mistakes
|
||||
* ```js
|
||||
* new JSON(); // TypeError — JSON is not a constructor
|
||||
* JSON.parse('{name: "Steve"}'); // SyntaxError — keys must be quoted
|
||||
* JSON.parse("{'name': 'Steve'}"); // SyntaxError — must use double quotes
|
||||
* JSON.parse('{"name": "Steve"}'); // ✅ Correct — double-quoted keys & values
|
||||
* ```
|
||||
*/
|
||||
export interface JSON {
|
||||
/**
|
||||
* Parses a JSON string and returns the parsed value (object, array, string, number, boolean, or null).
|
||||
* @param text - A valid JSON string to parse
|
||||
* @returns The parsed JavaScript value
|
||||
*/
|
||||
static parse(text: string): any;
|
||||
|
||||
/**
|
||||
* Parses a JSON string with a reviver function that transforms each parsed key-value pair.
|
||||
* @param text - A valid JSON string to parse
|
||||
* @param reviver - Function called for each key-value pair; receives the key and parsed value, returns the transformed value
|
||||
* @returns The parsed JavaScript value after applying the reviver
|
||||
*/
|
||||
static parse(text: string, reviver: Java.java.util.function.BiFunction<string, any, any>): any;
|
||||
|
||||
/**
|
||||
* Converts a JavaScript value to a JSON string.
|
||||
* @param value - The value to serialize (object, array, string, number, boolean, or null)
|
||||
* @returns A JSON-formatted string representation of the value
|
||||
*/
|
||||
static stringify(value: any): string;
|
||||
|
||||
/**
|
||||
* Converts a JavaScript value to a JSON string, using a replacer function to filter or transform properties.
|
||||
* @param value - The value to serialize
|
||||
* @param replacer - Function called for each key-value pair; receives the key and value, returns the value to include (or undefined to omit)
|
||||
* @param space - Optional indentation: a number of spaces (up to 10), or a string prefix per level
|
||||
* @returns A JSON-formatted string representation of the value
|
||||
*/
|
||||
static stringify(value: any, replacer: Java.java.util.function.BiFunction<string, any, any>, space?: any): string;
|
||||
|
||||
/**
|
||||
* Converts a JavaScript value to a JSON string, including only the specified properties.
|
||||
* @param value - The value to serialize
|
||||
* @param replacer - Array of property names to include in the output
|
||||
* @param space - Optional indentation: a number of spaces (up to 10), or a string prefix per level
|
||||
* @returns A JSON-formatted string representation of the value
|
||||
*/
|
||||
static stringify(value: any, replacer: string[], space?: any): string;
|
||||
|
||||
/**
|
||||
* Converts a JavaScript value to a JSON string with optional pretty-printing.
|
||||
* @param value - The value to serialize
|
||||
* @param replacer - Pass null to include all properties
|
||||
* @param space - Indentation: a number of spaces (up to 10), or a string prefix per level
|
||||
* @returns A JSON-formatted string representation of the value
|
||||
*/
|
||||
static stringify(value: any, replacer: null, space: any): string;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/**
|
||||
* ECMAScript 5.1 - Math built-in object providing mathematical constants and functions.
|
||||
* All methods are static and called as Math.methodName(). No constructor.
|
||||
*
|
||||
* ## How to Use
|
||||
*
|
||||
* Math is a **static object** — use its methods directly, never with `new`.
|
||||
*
|
||||
* ### Basic Math Operations
|
||||
* ```js
|
||||
* var rounded = Math.floor(3.7); // 3
|
||||
* var ceiling = Math.ceil(3.2); // 4
|
||||
* var nearest = Math.round(3.5); // 4
|
||||
* var absolute = Math.abs(-42); // 42
|
||||
* ```
|
||||
*
|
||||
* ### Powers, Roots & Logarithms
|
||||
* ```js
|
||||
* var squared = Math.pow(2, 3); // 8
|
||||
* var root = Math.sqrt(16); // 4
|
||||
* var natural = Math.log(Math.E); // 1
|
||||
* ```
|
||||
*
|
||||
* ### Random Numbers
|
||||
* ```js
|
||||
* var rand = Math.random(); // 0.0 to 0.999...
|
||||
* // Random integer between 1 and 10:
|
||||
* var dice = Math.floor(Math.random() * 10) + 1;
|
||||
* ```
|
||||
*
|
||||
* ### Finding Min/Max
|
||||
* ```js
|
||||
* var biggest = Math.max(5, 10, 3); // 10
|
||||
* var smallest = Math.min(5, 10, 3); // 3
|
||||
* ```
|
||||
*
|
||||
* ### Trigonometry
|
||||
* ```js
|
||||
* var sine = Math.sin(Math.PI / 2); // 1
|
||||
* var cosine = Math.cos(0); // 1
|
||||
* var angle = Math.atan2(1, 1); // 0.785... (PI/4)
|
||||
* ```
|
||||
*
|
||||
* ### ❌ Common Mistakes
|
||||
* ```js
|
||||
* new Math() // TypeError — Math is not a constructor
|
||||
* Math() // TypeError — Math is not a function
|
||||
* ```
|
||||
*/
|
||||
export interface Math {
|
||||
/** Euler's number (~2.718), the base of natural logarithms */
|
||||
static readonly E: number;
|
||||
|
||||
/** Natural logarithm of 2 (~0.693) */
|
||||
static readonly LN2: number;
|
||||
|
||||
/** Natural logarithm of 10 (~2.303) */
|
||||
static readonly LN10: number;
|
||||
|
||||
/** Base-2 logarithm of e (~1.443) */
|
||||
static readonly LOG2E: number;
|
||||
|
||||
/** Base-10 logarithm of e (~0.434) */
|
||||
static readonly LOG10E: number;
|
||||
|
||||
/** Ratio of a circle's circumference to its diameter (~3.14159) */
|
||||
static readonly PI: number;
|
||||
|
||||
/** Square root of 0.5 (~0.707) */
|
||||
static readonly SQRT1_2: number;
|
||||
|
||||
/** Square root of 2 (~1.414) */
|
||||
static readonly SQRT2: number;
|
||||
|
||||
/** Returns the absolute value of a number */
|
||||
static abs(x: number): number;
|
||||
|
||||
/** Returns the arccosine (in radians) of a number */
|
||||
static acos(x: number): number;
|
||||
|
||||
/** Returns the arcsine (in radians) of a number */
|
||||
static asin(x: number): number;
|
||||
|
||||
/** Returns the arctangent (in radians) of a number */
|
||||
static atan(x: number): number;
|
||||
|
||||
/** Returns the arctangent of two numbers (y/x), with proper quadrant handling */
|
||||
static atan2(y: number, x: number): number;
|
||||
|
||||
/** Returns the smallest integer greater than or equal to a number */
|
||||
static ceil(x: number): number;
|
||||
|
||||
/** Returns the cosine (in radians) of a number */
|
||||
static cos(x: number): number;
|
||||
|
||||
/** Returns e raised to the power of a number */
|
||||
static exp(x: number): number;
|
||||
|
||||
/** Returns the largest integer less than or equal to a number */
|
||||
static floor(x: number): number;
|
||||
|
||||
/** Returns the natural logarithm (base e) of a number */
|
||||
static log(x: number): number;
|
||||
|
||||
/** Returns the largest of zero or more numbers */
|
||||
static max(...values: number[]): number;
|
||||
|
||||
/** Returns the smallest of zero or more numbers */
|
||||
static min(...values: number[]): number;
|
||||
|
||||
/** Returns base raised to the power of exponent */
|
||||
static pow(x: number, y: number): number;
|
||||
|
||||
/** Returns a random number between 0 (inclusive) and 1 (exclusive) */
|
||||
static random(): number;
|
||||
|
||||
/** Returns the value of a number rounded to the nearest integer */
|
||||
static round(x: number): number;
|
||||
|
||||
/** Returns the sine (in radians) of a number */
|
||||
static sin(x: number): number;
|
||||
|
||||
/** Returns the square root of a number */
|
||||
static sqrt(x: number): number;
|
||||
|
||||
/** Returns the tangent (in radians) of a number */
|
||||
static tan(x: number): number;
|
||||
}
|
||||
@@ -0,0 +1,74 @@
|
||||
/**
|
||||
* ECMAScript 5.1 - Number type for working with numeric values and constants.
|
||||
* Access static constants like Number.MAX_VALUE or format numbers with instance methods.
|
||||
*
|
||||
* ## How to Use
|
||||
*
|
||||
* ### Number Constants
|
||||
* ```js
|
||||
* Number.MAX_VALUE; // ~1.79e+308 (largest representable number)
|
||||
* Number.MIN_VALUE; // ~5e-324 (smallest positive number)
|
||||
* Number.NaN; // NaN
|
||||
* Number.POSITIVE_INFINITY; // Infinity
|
||||
* Number.NEGATIVE_INFINITY; // -Infinity
|
||||
* ```
|
||||
*
|
||||
* ### Formatting Numbers
|
||||
* ```js
|
||||
* var n = 3.14159;
|
||||
* n.toFixed(2); // "3.14" (fixed decimal places)
|
||||
* n.toFixed(0); // "3"
|
||||
* n.toPrecision(4); // "3.142" (significant digits)
|
||||
* n.toExponential(2); // "3.14e+0" (scientific notation)
|
||||
* ```
|
||||
*
|
||||
* ### Converting to String
|
||||
* ```js
|
||||
* var n = 255;
|
||||
* n.toString(); // "255" (base 10, default)
|
||||
* n.toString(16); // "ff" (hexadecimal)
|
||||
* n.toString(2); // "11111111" (binary)
|
||||
* n.toString(8); // "377" (octal)
|
||||
* ```
|
||||
*
|
||||
* ### ❌ Common Mistakes
|
||||
* ```js
|
||||
* Number.toFixed(2); // TypeError — instance method, not static
|
||||
* (3).toFixed(2); // "3.00" ✅ — wrap literal in parentheses
|
||||
* 3.toFixed(2); // SyntaxError — parser reads 3. as float
|
||||
* ```
|
||||
*/
|
||||
export interface Number {
|
||||
/** The largest representable number (~1.79e+308) */
|
||||
static readonly MAX_VALUE: number;
|
||||
|
||||
/** The smallest representable positive number (~5e-324) */
|
||||
static readonly MIN_VALUE: number;
|
||||
|
||||
/** Represents "Not a Number" (NaN) - the result of undefined or invalid arithmetic operations */
|
||||
static readonly NaN: number;
|
||||
|
||||
/** Represents negative infinity, the result of overflow or division by zero */
|
||||
static readonly NEGATIVE_INFINITY: number;
|
||||
|
||||
/** Represents positive infinity, the result of overflow or division by zero */
|
||||
static readonly POSITIVE_INFINITY: number;
|
||||
|
||||
/** Formats the number using exponential notation with optional fractional digits */
|
||||
toExponential(fractionDigits: number): string;
|
||||
|
||||
/** Formats the number as a fixed-point string with the specified number of fractional digits (0-20) */
|
||||
toFixed(fractionDigits: number): string;
|
||||
|
||||
/** Returns a localized string representation of the number (format depends on locale) */
|
||||
toLocaleString(): string;
|
||||
|
||||
/** Formats the number as a string with the specified number of significant digits (1-21) */
|
||||
toPrecision(precision: number): string;
|
||||
|
||||
/** Converts the number to a string in the specified radix (base 2-36, default 10) */
|
||||
toString(radix: number): string;
|
||||
|
||||
/** Returns the primitive numeric value of this Number object */
|
||||
valueOf(): number;
|
||||
}
|
||||
@@ -0,0 +1,105 @@
|
||||
/**
|
||||
* ECMAScript 5.1 - Object type, the base type for all JavaScript objects.
|
||||
* Use static methods like Object.keys() and Object.create() to manipulate object structure.
|
||||
*
|
||||
* ## How to Use
|
||||
*
|
||||
* ### Creating Objects
|
||||
* ```js
|
||||
* var obj = {}; // Empty object literal
|
||||
* var person = { name: "Steve", age: 20 }; // Object with properties
|
||||
* var child = Object.create(person); // Create with prototype
|
||||
* ```
|
||||
*
|
||||
* ### Inspecting Objects
|
||||
* ```js
|
||||
* var obj = { a: 1, b: 2, c: 3 };
|
||||
* Object.keys(obj); // ["a", "b", "c"]
|
||||
* Object.getOwnPropertyNames(obj); // ["a", "b", "c"] (includes non-enumerable)
|
||||
* obj.hasOwnProperty("a"); // true
|
||||
* obj.hasOwnProperty("toString"); // false (inherited, not own)
|
||||
* ```
|
||||
*
|
||||
* ### Freezing & Sealing
|
||||
* ```js
|
||||
* var config = { debug: false };
|
||||
* Object.freeze(config); // Cannot modify, add, or delete properties
|
||||
* config.debug = true; // Silently fails (or throws in strict mode)
|
||||
* Object.isFrozen(config); // true
|
||||
*
|
||||
* var settings = { volume: 50 };
|
||||
* Object.seal(settings); // Can modify values, but cannot add/delete
|
||||
* settings.volume = 75; // ✅ Works
|
||||
* settings.newProp = true; // Silently fails
|
||||
* ```
|
||||
*
|
||||
* ### Property Descriptors
|
||||
* ```js
|
||||
* var obj = {};
|
||||
* Object.defineProperty(obj, "id", {
|
||||
* value: 42,
|
||||
* writable: false, // Cannot be changed
|
||||
* enumerable: true // Shows up in for-in / Object.keys
|
||||
* });
|
||||
* ```
|
||||
*
|
||||
* ### ❌ Common Mistakes
|
||||
* ```js
|
||||
* Object.keys(); // TypeError — needs an argument
|
||||
* obj.keys(); // TypeError — keys is a static method
|
||||
* Object.hasOwnProperty("a"); // Wrong — instance method on the object
|
||||
* ```
|
||||
*/
|
||||
export interface Object {
|
||||
/** Creates a new object with the specified prototype and optional property descriptors */
|
||||
static create(proto: any, propertiesObject: any): any;
|
||||
|
||||
/** Defines or modifies multiple properties on an object and returns the modified object */
|
||||
static defineProperties(obj: any, props: any): any;
|
||||
|
||||
/** Defines a new property on an object or modifies an existing property and returns the object */
|
||||
static defineProperty(obj: any, prop: string, descriptor: any): any;
|
||||
|
||||
/** Prevents all modifications to an object (cannot add, modify, or delete properties) */
|
||||
static freeze(obj: any): any;
|
||||
|
||||
/** Returns a property descriptor for a named property on an object, or undefined if not found */
|
||||
static getOwnPropertyDescriptor(obj: any, prop: string): any;
|
||||
|
||||
/** Returns an array of all property names (both enumerable and non-enumerable) on an object */
|
||||
static getOwnPropertyNames(obj: any): string[];
|
||||
|
||||
/** Returns the prototype object of the specified object */
|
||||
static getPrototypeOf(obj: any): any;
|
||||
|
||||
/** Determines whether an object is extensible (can have new properties added to it) */
|
||||
static isExtensible(obj: any): boolean;
|
||||
|
||||
/** Determines whether an object has been frozen (is immutable) */
|
||||
static isFrozen(obj: any): boolean;
|
||||
|
||||
/** Determines whether an object is sealed (cannot add or delete properties) */
|
||||
static isSealed(obj: any): boolean;
|
||||
|
||||
/** Returns an array of all enumerable property names on an object */
|
||||
static keys(obj: any): string[];
|
||||
|
||||
/** Prevents new properties from being added to an object but allows modification of existing ones */
|
||||
static preventExtensions(obj: any): any;
|
||||
|
||||
/** Prevents all modifications to an object except for reading and writing property values */
|
||||
static seal(obj: any): any;
|
||||
|
||||
/** Determines whether an object has a property with the specified name (direct property, not inherited) */
|
||||
hasOwnProperty(prop: string): boolean;
|
||||
|
||||
/** Determines whether an object is in the prototype chain of another object */
|
||||
isPrototypeOf(obj: any): boolean;
|
||||
|
||||
/** Determines whether an object property is enumerable (would be included in a for-in loop) */
|
||||
propertyIsEnumerable(prop: string): boolean;
|
||||
|
||||
/** Returns a localized string representation of the object (format depends on locale) */
|
||||
toLocaleString(): string;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,94 @@
|
||||
/**
|
||||
* ECMAScript 5.1 - RegExp type for pattern matching and string manipulation.
|
||||
* Create with the RegExp constructor or literal syntax: /pattern/flags
|
||||
*
|
||||
* ## How to Use
|
||||
*
|
||||
* ### Creating Regular Expressions
|
||||
* ```js
|
||||
* // Method 1: Regex literal (preferred)
|
||||
* var re = /hello/;
|
||||
* var reFlags = /hello/gi; // g=global, i=ignore case, m=multiline
|
||||
*
|
||||
* // Method 2: Constructor (useful for dynamic patterns)
|
||||
* var re2 = new RegExp("hello");
|
||||
* var re3 = new RegExp("hello", "gi");
|
||||
* var dynamic = new RegExp(playerName); // Build pattern from variable
|
||||
* ```
|
||||
*
|
||||
* ### Testing for Matches
|
||||
* ```js
|
||||
* /\d+/.test("abc123"); // true — contains digits
|
||||
* /^\d+$/.test("abc123"); // false — not ALL digits
|
||||
* /^\d+$/.test("12345"); // true — all digits
|
||||
* /hello/i.test("Hello World"); // true — case insensitive
|
||||
* ```
|
||||
*
|
||||
* ### Extracting Matches
|
||||
* ```js
|
||||
* var match = /\d+/.exec("abc123def"); // ["123"]
|
||||
* var noMatch = /\d+/.exec("no digits"); // null
|
||||
*
|
||||
* // With capturing groups
|
||||
* var result = /(\w+)@(\w+)/.exec("user@domain");
|
||||
* // result[0] = "user@domain" (full match)
|
||||
* // result[1] = "user" (first group)
|
||||
* // result[2] = "domain" (second group)
|
||||
* ```
|
||||
*
|
||||
* ### Using with String Methods
|
||||
* ```js
|
||||
* "abc123".match(/\d+/); // ["123"]
|
||||
* "abc123".search(/\d/); // 3 (index of first digit)
|
||||
* "abc123".replace(/\d+/, "NUM"); // "abcNUMdef"
|
||||
* "a,b,,c".split(/,+/); // ["a", "b", "c"]
|
||||
* ```
|
||||
*
|
||||
* ### RegExp Properties
|
||||
* ```js
|
||||
* var re = /hello/gi;
|
||||
* re.source; // "hello"
|
||||
* re.global; // true
|
||||
* re.ignoreCase; // true
|
||||
* re.multiline; // false
|
||||
* re.lastIndex; // 0 (changes with global exec/test)
|
||||
* ```
|
||||
*
|
||||
* ### ❌ Common Mistakes
|
||||
* ```js
|
||||
* RegExp.test("string"); // TypeError — test is an INSTANCE method!
|
||||
* new RegExp.test("string"); // TypeError — incorrect syntax
|
||||
* // ✅ CORRECT:
|
||||
* /pattern/.test("string"); // Use on a regex instance
|
||||
* new RegExp("pattern").test("string"); // Or create instance first
|
||||
*
|
||||
* // Double-escape backslashes in constructor strings:
|
||||
* new RegExp("\d+"); // Wrong — \d becomes just d
|
||||
* new RegExp("\\d+"); // ✅ Correct — \\d becomes \d
|
||||
* ```
|
||||
*/
|
||||
export interface RegExp {
|
||||
/** The pattern string that was used to create this regular expression */
|
||||
source: string;
|
||||
|
||||
/** True if the 'g' (global) flag is set, affecting match behavior in exec() and test() */
|
||||
global: boolean;
|
||||
|
||||
/** True if the 'i' (ignore case) flag is set, making pattern matching case-insensitive */
|
||||
ignoreCase: boolean;
|
||||
|
||||
/** True if the 'm' (multiline) flag is set, affecting ^ and $ anchor behavior */
|
||||
multiline: boolean;
|
||||
|
||||
/** The index at which to start searching in the string (used with 'g' flag in exec() loops) */
|
||||
lastIndex: number;
|
||||
|
||||
/** Searches the string for a match and returns an array of matches or null if no match found */
|
||||
exec(string: string): any[];
|
||||
|
||||
/** Tests whether the pattern matches the string, returning true or false */
|
||||
test(string: string): boolean;
|
||||
|
||||
/** Returns a string representation of the regular expression (e.g., "/pattern/flags") */
|
||||
toString(): string;
|
||||
}
|
||||
@@ -0,0 +1,82 @@
|
||||
/**
|
||||
* ECMAScript 5.1 - String type for working with text. Strings are immutable sequences of characters.
|
||||
* Use String.fromCharCode() to create a string from character codes.
|
||||
*
|
||||
* ## How to Use
|
||||
*
|
||||
* ### Creating Strings
|
||||
* ```js
|
||||
* var greeting = "Hello, world!"; // String literal (double quotes)
|
||||
* var name = 'Steve'; // String literal (single quotes)
|
||||
* var fromCode = String.fromCharCode(65); // "A" (from char code)
|
||||
* ```
|
||||
*
|
||||
* ### Searching & Checking
|
||||
* ```js
|
||||
* var str = "Hello, world!";
|
||||
* str.indexOf("world"); // 7
|
||||
* str.indexOf("missing"); // -1 (not found)
|
||||
* str.lastIndexOf("l"); // 10
|
||||
* str.search(/world/); // 7 (regex search)
|
||||
* str.charAt(0); // "H"
|
||||
* str.charCodeAt(0); // 72
|
||||
* str.length; // 13
|
||||
* ```
|
||||
*
|
||||
* ### Extracting & Transforming
|
||||
* ```js
|
||||
* var str = "Hello, world!";
|
||||
* str.slice(7, 12); // "world"
|
||||
* str.substring(0, 5); // "Hello"
|
||||
* str.toUpperCase(); // "HELLO, WORLD!"
|
||||
* str.toLowerCase(); // "hello, world!"
|
||||
* str.trim(); // Removes leading/trailing whitespace
|
||||
* str.replace("world", "NPC"); // "Hello, NPC!"
|
||||
* str.replace(/l/g, "L"); // "HeLLo, worLd!" (regex with global flag)
|
||||
* ```
|
||||
*
|
||||
* ### Splitting & Joining
|
||||
* ```js
|
||||
* "a,b,c".split(","); // ["a", "b", "c"]
|
||||
* "hello".split(""); // ["h", "e", "l", "l", "o"]
|
||||
* ["a", "b", "c"].join("-"); // "a-b-c" (Array.join, but related)
|
||||
* "one two three".split(" ", 2); // ["one", "two"] (limit results)
|
||||
* ```
|
||||
*
|
||||
* ### Pattern Matching
|
||||
* ```js
|
||||
* "abc123".match(/\d+/); // ["123"]
|
||||
* "no numbers".match(/\d+/); // null
|
||||
* "hello".concat(" ", "world"); // "hello world"
|
||||
* ```
|
||||
*
|
||||
* ### ❌ Common Mistakes
|
||||
* ```js
|
||||
* str.replace("l", "L"); // Only replaces FIRST "l" — use /l/g for all
|
||||
* String.charAt(0); // TypeError — instance method, not static
|
||||
* "abc"[0]; // May not work in all engines — use charAt()
|
||||
* ```
|
||||
*/
|
||||
export interface String {
|
||||
/** The number of characters in the string */
|
||||
length: number;
|
||||
|
||||
/** Creates a string from one or more Unicode character codes (e.g., String.fromCharCode(65, 66, 67) returns "ABC") */
|
||||
static fromCharCode(...codes: number[]): string;
|
||||
|
||||
/** Returns the Unicode code point (0–65535) of the character at the specified index. Unlike Java's charAt() + cast, this returns the numeric code directly. */
|
||||
charCodeAt(pos: number): number;
|
||||
|
||||
/** Tests the string against a regular expression and returns an array of matches, or null if no match found */
|
||||
match(regexp: any): any[];
|
||||
|
||||
/**
|
||||
* Replaces a pattern (string or RegExp object) with a replacement string.
|
||||
* Unlike Java's replace/replaceAll which only accept String/CharSequence,
|
||||
* this accepts a RegExp object as the first argument.
|
||||
*/
|
||||
replace(searchValue: any, replaceValue: any): string;
|
||||
|
||||
/** Returns the index of the first character that matches a regular expression, or -1 if not found */
|
||||
search(regexp: any): number;
|
||||
}
|
||||
|
Before Width: | Height: | Size: 141 KiB |
|
After Width: | Height: | Size: 554 KiB |
|
After Width: | Height: | Size: 46 KiB |
|
Before Width: | Height: | Size: 23 KiB |
|
After Width: | Height: | Size: 92 KiB |
|
After Width: | Height: | Size: 135 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 114 KiB After Width: | Height: | Size: 114 KiB |
|
After Width: | Height: | Size: 89 KiB |
|
Before Width: | Height: | Size: 230 KiB After Width: | Height: | Size: 230 KiB |
|
After Width: | Height: | Size: 1.1 MiB |
|
After Width: | Height: | Size: 2.7 MiB |
|
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 39 KiB |
|
After Width: | Height: | Size: 4.0 MiB |
|
Before Width: | Height: | Size: 337 KiB After Width: | Height: | Size: 337 KiB |
|
After Width: | Height: | Size: 573 KiB |
|
Before Width: | Height: | Size: 787 KiB |
|
Before Width: | Height: | Size: 227 KiB After Width: | Height: | Size: 227 KiB |
|
Before Width: | Height: | Size: 2.6 MiB |
|
Before Width: | Height: | Size: 52 KiB |
|
Before Width: | Height: | Size: 8.0 MiB |
@@ -1,9 +0,0 @@
|
||||
#
|
||||
# https://help.github.com/articles/dealing-with-line-endings/
|
||||
#
|
||||
# Linux start script should use lf
|
||||
/gradlew text eol=lf
|
||||
|
||||
# These are Windows script files and should use crlf
|
||||
*.bat text eol=crlf
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
---
|
||||
name: Bug report
|
||||
about: Create a report to help us improve Datapack IDE
|
||||
title: ''
|
||||
labels: bug
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
**Describe the bug**
|
||||
A clear description of what the bug is.
|
||||
|
||||
**To Reproduce**
|
||||
Steps to reproduce the behavior
|
||||
|
||||
**Expected behavior**
|
||||
A clear description of what you expected to happen.
|
||||
|
||||
**Screenshots**
|
||||
If applicable, add screenshots to help explain your problem.
|
||||
|
||||
**Operating System:**
|
||||
- [Linux, Windows, MacOS, etc.]
|
||||
|
||||
|
||||
**Additional context**
|
||||
Add any other context about the problem here.
|
||||
@@ -1,17 +0,0 @@
|
||||
---
|
||||
name: Feature request
|
||||
about: Suggest an idea for Datapack IDE
|
||||
title: ''
|
||||
labels: enhancement
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
**Is your feature request related to a problem? Please describe it and that the solution would be.**
|
||||
A clear description of what the problem is and your ideal solution or alternative use!
|
||||
|
||||
**Describe brand new feature you've considered**
|
||||
A clear description of any alternative solutions or features you've considered.
|
||||
|
||||
**Additional context**
|
||||
Add any other context or screenshots about the feature request here.
|
||||
@@ -1,38 +0,0 @@
|
||||
# Automatically build the project and run any configured tests for every push
|
||||
# and submitted pull request. This can help catch issues that only occur on
|
||||
# certain platforms or Java versions, and provides a first line of defence
|
||||
# against bad commits.
|
||||
|
||||
name: build
|
||||
on: [pull_request, push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- name: checkout repository
|
||||
uses: actions/checkout@v4
|
||||
- name: validate gradle wrapper
|
||||
uses: gradle/actions/wrapper-validation@v4
|
||||
- name: setup jdk
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '21'
|
||||
distribution: 'microsoft'
|
||||
|
||||
- name: make gradle wrapper executable
|
||||
if: runner.os != 'Windows'
|
||||
run: chmod +x ./gradlew
|
||||
|
||||
- name: build
|
||||
run: ./gradlew build
|
||||
|
||||
- name: capture build artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: Artifacts-${{ runner.os }}
|
||||
path: build/libs/
|
||||
@@ -1,41 +0,0 @@
|
||||
# gradle
|
||||
|
||||
.gradle/
|
||||
build/
|
||||
out/
|
||||
classes/
|
||||
|
||||
# eclipse
|
||||
|
||||
*.launch
|
||||
|
||||
# idea
|
||||
|
||||
.idea/**/*.*
|
||||
!.idea/icon.svg
|
||||
*.iml
|
||||
*.ipr
|
||||
*.iws
|
||||
|
||||
# vscode
|
||||
|
||||
.settings/
|
||||
.vscode/
|
||||
bin/
|
||||
.classpath
|
||||
.project
|
||||
|
||||
# macos
|
||||
|
||||
*.DS_Store
|
||||
|
||||
# fabric
|
||||
|
||||
run/
|
||||
|
||||
# java
|
||||
|
||||
hs_err_*.log
|
||||
replay_*.log
|
||||
*.hprof
|
||||
*.jfr
|
||||
@@ -1,507 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
width="111.20968mm"
|
||||
height="111.20968mm"
|
||||
viewBox="0 0 111.20968 111.20968"
|
||||
version="1.1"
|
||||
id="svg1"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<defs
|
||||
id="defs1">
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient1"
|
||||
id="linearGradient3"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="129.8987"
|
||||
y1="181.99385"
|
||||
x2="129.8987"
|
||||
y2="109.6276" />
|
||||
<linearGradient
|
||||
id="linearGradient1">
|
||||
<stop
|
||||
style="stop-color:#d03831;stop-opacity:1;"
|
||||
offset="0.41473991"
|
||||
id="stop1" />
|
||||
<stop
|
||||
style="stop-color:#d03831;stop-opacity:0.54562044;"
|
||||
offset="0.81502891"
|
||||
id="stop2" />
|
||||
<stop
|
||||
style="stop-color:#d03831;stop-opacity:0.18613139;"
|
||||
offset="0.99855489"
|
||||
id="stop3" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient6"
|
||||
gradientTransform="scale(0.93067071,1.0744939)"
|
||||
x1="83.748772"
|
||||
y1="132.62811"
|
||||
x2="134.92821"
|
||||
y2="132.62811"
|
||||
gradientUnits="userSpaceOnUse">
|
||||
<stop
|
||||
style="stop-color:#d03831;stop-opacity:1;"
|
||||
offset="0.41473991"
|
||||
id="stop4" />
|
||||
<stop
|
||||
style="stop-color:#d03831;stop-opacity:0.54562044;"
|
||||
offset="0.81502891"
|
||||
id="stop5" />
|
||||
<stop
|
||||
style="stop-color:#d03831;stop-opacity:0.18613139;"
|
||||
offset="0.99855489"
|
||||
id="stop6" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient17"
|
||||
id="linearGradient19"
|
||||
x1="129.90135"
|
||||
y1="94.800224"
|
||||
x2="129.90135"
|
||||
y2="172.73756"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
<linearGradient
|
||||
id="linearGradient17">
|
||||
<stop
|
||||
style="stop-color:#ff3131;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop20" />
|
||||
<stop
|
||||
style="stop-color:#f2f9ff;stop-opacity:0;"
|
||||
offset="1"
|
||||
id="stop21" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient24"
|
||||
id="linearGradient21"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="149.38574"
|
||||
y1="100.02102"
|
||||
x2="110.41704"
|
||||
y2="167.5168" />
|
||||
<linearGradient
|
||||
id="linearGradient24">
|
||||
<stop
|
||||
style="stop-color:#ff3131;stop-opacity:1;"
|
||||
offset="0.10401891"
|
||||
id="stop23" />
|
||||
<stop
|
||||
style="stop-color:#f2f9ff;stop-opacity:0;"
|
||||
offset="0.64984226"
|
||||
id="stop24" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient17-1"
|
||||
id="linearGradient22"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="110.41702"
|
||||
y1="100.02103"
|
||||
x2="149.38568"
|
||||
y2="167.51675" />
|
||||
<linearGradient
|
||||
id="linearGradient17-1">
|
||||
<stop
|
||||
style="stop-color:#ff3131;stop-opacity:1;"
|
||||
offset="0.10638298"
|
||||
id="stop19" />
|
||||
<stop
|
||||
style="stop-color:#f2f9ff;stop-opacity:0;"
|
||||
offset="0.59936911"
|
||||
id="stop22" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient851"
|
||||
id="linearGradient852"
|
||||
x1="118.77145"
|
||||
y1="158.73622"
|
||||
x2="105.73347"
|
||||
y2="181.31865"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
<linearGradient
|
||||
id="linearGradient851">
|
||||
<stop
|
||||
style="stop-color:#cd2e2e;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop851" />
|
||||
<stop
|
||||
style="stop-color:#5f74cc;stop-opacity:0;"
|
||||
offset="0.82742316"
|
||||
id="stop852" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient854"
|
||||
id="linearGradient855"
|
||||
x1="107.26515"
|
||||
y1="143.39305"
|
||||
x2="107.89261"
|
||||
y2="146.41925"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(1,0.12583549,0,1,0,-12.622806)" />
|
||||
<linearGradient
|
||||
id="linearGradient854">
|
||||
<stop
|
||||
style="stop-color:#b02f23;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop854" />
|
||||
<stop
|
||||
style="stop-color:#511510;stop-opacity:1;"
|
||||
offset="1"
|
||||
id="stop855" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient1"
|
||||
id="linearGradient8"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="129.8987"
|
||||
y1="181.99385"
|
||||
x2="129.8987"
|
||||
y2="109.6276" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient1"
|
||||
id="linearGradient9"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="129.8987"
|
||||
y1="181.99385"
|
||||
x2="129.8987"
|
||||
y2="109.6276" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient1"
|
||||
id="linearGradient10"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="129.8987"
|
||||
y1="181.99385"
|
||||
x2="129.8987"
|
||||
y2="109.6276" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient1"
|
||||
id="linearGradient11"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="129.8987"
|
||||
y1="181.99385"
|
||||
x2="129.8987"
|
||||
y2="109.6276" />
|
||||
</defs>
|
||||
<g
|
||||
id="layer1"
|
||||
style="display:none"
|
||||
transform="translate(-43.988069,-70.819257)">
|
||||
<rect
|
||||
style="opacity:0;fill:#ffffff;stroke-width:6.00001;stroke-linejoin:round"
|
||||
id="rect7"
|
||||
width="139.48326"
|
||||
height="110.04089"
|
||||
x="80.230484"
|
||||
y="34.474258"
|
||||
ry="30.730484" />
|
||||
<g
|
||||
id="layer1-8"
|
||||
transform="translate(-25.980751,-10.009155)">
|
||||
<rect
|
||||
style="display:inline;opacity:0;fill:#222034;fill-opacity:1;stroke:none;stroke-width:2.75941;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect857"
|
||||
width="138.564"
|
||||
height="138.564"
|
||||
x="60.621765"
|
||||
y="66.587502" />
|
||||
<g
|
||||
id="g90"
|
||||
style="display:inline">
|
||||
<path
|
||||
d="m 134.23418,72.499967 v 54.999743 l 47.6312,-27.49961 z"
|
||||
style="display:inline;fill:url(#linearGradient8);stroke-width:5.56644"
|
||||
id="path90" />
|
||||
<path
|
||||
d="m 186.19535,107.4999 -47.63068,27.50013 47.63068,27.50013 z"
|
||||
style="display:inline;fill:url(#linearGradient9);stroke-width:5.56644"
|
||||
id="path89" />
|
||||
<path
|
||||
d="m 181.86538,169.99996 -47.6312,-27.49961 v 54.99974 z"
|
||||
style="display:inline;fill:url(#linearGradient10);stroke-width:5.56644"
|
||||
id="path88" />
|
||||
<path
|
||||
d="M 125.57373,197.50009 V 142.5081 l -47.631201,27.49186 z"
|
||||
style="display:inline;fill:url(#linearGradient6);stroke-width:5.56644"
|
||||
id="path87" />
|
||||
<path
|
||||
d="m 125.5634,127.49403 0.01,-54.994063 -47.630681,27.500133 z"
|
||||
style="display:inline;fill:url(#linearGradient11);stroke-width:5.56644"
|
||||
id="path86" />
|
||||
<path
|
||||
d="M 73.612044,162.50016 121.24376,135.00003 73.612044,107.4999 Z"
|
||||
style="display:inline;fill:url(#linearGradient3);stroke-width:5.56644"
|
||||
id="path85" />
|
||||
</g>
|
||||
<g
|
||||
id="g1143"
|
||||
style="display:inline"
|
||||
clip-path="none">
|
||||
<g
|
||||
id="g1102"
|
||||
style="display:inline;fill:#d6dcf3;fill-opacity:1;stroke:none;stroke-width:5.56644;stroke-dasharray:none;stroke-opacity:1"
|
||||
transform="matrix(-1.0004925,0,0,-1.0004925,259.87158,290.0947)">
|
||||
<path
|
||||
id="path1099"
|
||||
style="display:inline;fill:#f2f9ff;stroke-width:0.001"
|
||||
d="M 110.41813,64.55551 83.582326,80.121872 110.41813,95.688834 137.25394,80.122472 Z m -35.780716,20.755507 -4.47299,2.594572 v 46.700251 l 35.781256,20.7556 v -51.88888 z m 71.561966,8.5e-5 -31.30826,18.161468 v 51.88888 l 35.78072,-20.75551 V 87.905685 Z"
|
||||
transform="matrix(-0.96766441,1.1437994e-6,0,-0.96311437,236.7516,252.17524)" />
|
||||
<path
|
||||
id="path1100"
|
||||
style="display:inline;fill:#d6dcf3;fill-opacity:1;stroke:none;stroke-width:5.56644;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 168.85547,167.51218 5.1e-4,-44.97768 -34.62424,-19.98997 v 44.97769 z" />
|
||||
<path
|
||||
id="path1101"
|
||||
style="display:inline;fill:#d6dcf3;fill-opacity:1;stroke:none;stroke-width:5.56644;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 90.951823,167.51218 125.57555,147.52222 V 102.54453 L 90.951823,122.5345 Z" />
|
||||
<path
|
||||
id="path1102"
|
||||
style="display:inline;fill:#f2f9ff;fill-opacity:1;stroke:none;stroke-width:0.00099951;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 129.9039,189.98966 25.96444,-14.98292 -25.96444,-14.99066 -25.96495,14.99066 z m 34.6227,-19.97912 4.32938,-2.49836 -34.62424,-19.98996 v 4.99723 z m -69.245907,0 30.294857,-17.49109 v -4.99723 l -34.623727,19.98996 z" />
|
||||
</g>
|
||||
<path
|
||||
id="path1947"
|
||||
style="baseline-shift:baseline;display:inline;overflow:visible;opacity:0.07;vector-effect:none;fill:#6e1b1b;stroke-linejoin:round;enable-background:accumulate;stop-color:#000000;stop-opacity:1"
|
||||
d="m 125.78354,102.3891 -0.40153,0.23151 4.1212,2.37918 -3.92896,2.26808 -4.12172,-2.3797 -0.40204,0.23203 4.12223,2.3797 -3.92896,2.26808 -4.12274,-2.38022 -0.40153,0.23203 4.12275,2.38021 -3.92845,2.26808 -4.12378,-2.38073 -0.40204,0.23151 4.1243,2.38125 -3.92896,2.26808 -4.12481,-2.38177 -0.40153,0.23203 4.12481,2.38125 -3.92844,2.26859 -4.12585,-2.38228 -0.20102,0.11576 25.97723,14.99805 25.97722,-14.99805 -0.2005,-0.11576 -4.12585,2.38228 -3.92947,-2.26859 4.12533,-2.38177 -0.40101,-0.23099 -4.12481,2.38125 -3.92948,-2.2686 4.12378,-2.38073 -0.40049,-0.23151 -4.1243,2.38125 -3.92948,-2.26911 4.12327,-2.38022 -0.40101,-0.23151 -4.12275,2.38022 -3.92947,-2.26808 4.12171,-2.3797 -0.40101,-0.23151 -4.12171,2.3797 -3.92948,-2.26911 4.12068,-2.37867 -0.40049,-0.23099 -4.12016,2.37866 z m 4.11964,2.8422 3.92948,2.2686 -3.92844,2.26808 -3.92948,-2.2686 z m -4.32997,2.50011 3.92948,2.26859 -3.92896,2.26808 -3.92948,-2.26859 z m 8.66046,0 3.92947,2.26808 -3.92896,2.26859 -3.92947,-2.26859 z m -12.99094,2.49959 3.92947,2.26859 -3.92895,2.2686 -3.92896,-2.2686 z m 17.32142,0 3.92948,2.26859 -3.92948,2.2686 -3.92947,-2.2686 z m -8.66097,5.1e-4 3.92948,2.26808 -3.92896,2.2686 -3.92896,-2.2686 z m -12.99042,2.49959 3.92948,2.2686 -3.92896,2.26859 -3.92948,-2.26859 z m 8.66045,0 3.92948,2.2686 -3.92948,2.26859 -3.92896,-2.26859 z m 8.66046,0 3.92947,2.2686 -3.92896,2.26859 -3.92947,-2.26859 z m 8.66045,0 3.92948,2.2686 -3.92896,2.26859 -3.92948,-2.26859 z m -30.31133,2.50011 3.92948,2.26859 -3.92896,2.26808 -3.92948,-2.26859 z m 8.66046,0 3.92947,2.26859 -3.92947,2.2686 -3.92896,-2.2686 z m 8.66045,0 3.92947,2.26859 -3.92947,2.2686 -3.92948,-2.2686 z m 8.66045,0 3.92948,2.26859 -3.92948,2.2686 -3.92947,-2.2686 z m 8.66046,0 3.92947,2.26859 -3.92999,2.2686 -3.92896,-2.2686 z m -21.6514,2.49959 3.93,2.26911 -3.92948,2.2686 -3.92999,-2.26912 z m 8.66046,0 3.92999,2.26911 -3.92999,2.2686 -3.92948,-2.2686 z m 8.66045,0 3.92948,2.26859 -3.92948,2.26912 -3.92948,-2.2686 z m -25.98136,5.2e-4 3.92948,2.26859 -3.92896,2.26808 -3.92896,-2.2686 z m 47.6312,2.26911 -30.30978,17.4997 v 0.23048 l 4.13102,2.38487 v 4.76818 l -3.93206,2.27015 v -4.65398 a 0.20002,0.20002 0 0 0 -0.0992,-0.17363 l -0.0997,-0.0574 v 45.23083 l 0.19896,-0.11473 v -4.76818 l 3.93206,-2.27015 v 4.76819 l 0.39842,-0.23048 v -4.76767 l 3.93155,-2.26962 v 4.76766 l 0.39842,-0.22996 v -4.76818 l 3.93154,-2.26963 v 4.76767 l 0.39843,-0.22996 v -4.76767 l 3.93154,-2.27015 v 4.76819 l 0.39843,-0.22996 v -4.76819 l 3.93154,-2.27014 v 4.76818 l 0.39843,-0.22996 v -4.76818 l 3.93206,-2.27015 v 4.76819 l 0.39842,-0.22996 v -4.76819 l 3.93154,-2.27014 v 4.76818 l 0.39843,-0.22996 v -4.76818 l 4.13101,-2.38487 v -0.4625 l -4.13101,2.38486 v -4.53771 l 4.13101,-2.38486 v -0.46251 l -4.13101,2.38487 v -4.53719 l 4.13101,-2.38487 v -0.4625 l -4.13101,2.38487 v -4.53771 l 4.13101,-2.38487 v -0.4625 l -4.13101,2.38486 v -4.53719 l 4.13101,-2.38486 v -0.46251 l -4.13101,2.38487 v -4.53771 l 4.13101,-2.38487 v -0.46353 l -4.13101,2.38486 v -4.53615 l 4.13101,-2.38487 v -0.46405 l -4.13101,2.38486 v -4.53615 l 4.13101,-2.38487 v -0.46354 l -4.13101,2.38487 v -4.65295 a 0.20002,0.20002 0 0 0 -0.0997,-0.17415 l -4.02817,-2.32595 4.12894,-2.38332 z m -69.280007,5.1e-4 -0.200505,0.11576 4.127913,2.3828 -4.029211,2.32647 a 0.20002,0.20002 0 0 0 -0.09973,0.17415 v 4.65346 l -4.129464,-2.38435 v 0.46251 l 4.129464,2.38435 v 4.53771 l -4.129464,-2.38435 v 0.46198 l 4.129464,2.38435 v 4.53771 l -4.129464,-2.38435 v 0.46199 l 4.129464,2.38435 v 4.53822 l -4.129464,-2.38435 v 0.46199 l 4.129464,2.38435 v 4.53771 l -4.129981,-2.38435 v 0.46198 l 4.129981,2.38435 v 4.53823 l -4.129981,-2.38435 v 0.46199 l 4.129981,2.38435 v 4.5377 l -4.129981,-2.38435 v 0.46199 l 4.129981,2.38435 v 4.53823 l -4.129981,-2.38435 v 0.46198 l 4.129981,2.38435 v 4.7687 l 0.400492,0.23151 v -4.7687 l 3.929476,2.2686 v 4.7687 l 0.400492,0.23099 v -4.7687 l 3.93,2.26911 v 4.76871 l 0.39996,0.23099 v -4.7687 l 3.93001,2.26911 v 4.76818 l 0.40049,0.23152 v -4.76871 l 3.92947,2.2686 v 4.7687 l 0.4005,0.23151 v -4.7687 l 3.92946,2.2686 v 4.7687 l 0.40049,0.23099 v -4.7687 l 3.92948,2.26859 v 4.76871 l 0.4005,0.23151 v -4.76871 l 3.93,2.2686 v 4.7687 l 0.2005,0.11576 v -45.23083 l -0.0992,0.0574 a 0.20002,0.20002 0 0 0 -0.10128,0.17363 v 4.65346 l -3.93,-2.26859 v -4.76922 l 4.1305,-2.38435 v -0.231 z m 25.979297,0.22996 3.92947,2.2686 -3.92896,2.26859 -3.92999,-2.26859 z m 8.66045,0 3.92947,2.2686 -3.92947,2.26911 -3.92948,-2.26911 z m 8.66045,0 3.92948,2.2686 -3.92999,2.26911 -3.92948,-2.26911 z m -38.971779,2.50011 3.929479,2.2686 -4.029732,2.32647 a 0.20002,0.20002 0 0 0 -0.09974,0.17415 v 4.65294 l -3.929476,-2.26859 v -4.76922 z m 25.981359,0 3.92948,2.2686 -3.92948,2.26859 -3.92948,-2.26859 z m 8.66045,0 3.92948,2.2686 -3.92999,2.26859 -3.92948,-2.26859 z m 25.98188,0 4.12946,2.38435 v 4.76767 l -3.93154,2.27014 v -4.65294 a 0.20002,0.20002 0 0 0 -0.0997,-0.17415 l -4.0287,-2.32596 z m -56.2932,2.5001Line truncated
|
||||
<g
|
||||
id="g1129"
|
||||
style="display:inline;opacity:0.280928;fill:url(#linearGradient19);stroke:none;stroke-width:5.56644;stroke-dasharray:none;stroke-opacity:1"
|
||||
transform="matrix(-1.0004925,0,0,-1.0004925,259.87158,290.0947)">
|
||||
<path
|
||||
id="path1128"
|
||||
style="display:inline;fill:url(#linearGradient21);stroke:none;stroke-width:5.56644;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 168.85598,167.51218 V 122.5345 l -34.62424,-19.98997 v 44.97769 z" />
|
||||
<path
|
||||
id="path1129"
|
||||
style="display:inline;fill:url(#linearGradient22);stroke:none;stroke-width:5.56644;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 90.951823,167.51218 125.57555,147.52222 V 102.54453 L 90.951823,122.5345 Z" />
|
||||
</g>
|
||||
</g>
|
||||
<g
|
||||
id="g1142"
|
||||
style="display:inline"
|
||||
transform="matrix(1.6267457,0.71704367,0,1.6267457,-54.654511,-149.52689)">
|
||||
<path
|
||||
style="display:inline;opacity:0.707373;fill:url(#linearGradient852);fill-opacity:1;stroke:none;stroke-width:5.26899;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 99.214593,152.71842 0.333574,20.32055 25.980763,13.54745 -0.23851,-21.70879 z"
|
||||
id="path1130"
|
||||
transform="matrix(0.61472424,-0.23659226,0,0.61472424,32.560227,73.198412)" />
|
||||
<path
|
||||
style="display:inline;fill:url(#linearGradient855);fill-opacity:1"
|
||||
d="m 100.134,135.26491 c 0.22489,-0.1966 0.506,-0.32988 0.84332,-0.39987 0.33732,-0.07 0.67466,-0.0276 1.01199,0.12738 0.33733,0.15489 0.61844,0.35892 0.84333,0.61211 0.22489,0.25319 0.44977,0.50637 0.67466,0.75957 l 0.67466,0.75956 c 0.22489,0.25318 0.44978,0.50636 0.67467,0.75955 0.22489,0.25319 0.44977,0.50637 0.67466,0.75957 l 0.67466,0.75955 c 0.22489,0.25319 0.44978,0.50637 0.67467,0.75955 0.22489,0.2532 0.44977,0.50639 0.67466,0.75957 l 0.67466,0.75956 c 0.22489,0.25319 0.44978,0.50637 0.67467,0.75956 0.22489,0.25319 0.39355,0.55553 0.506,0.907 0.11244,0.35148 0.16866,0.75211 0.16866,1.20188 0,0.44978 -0.0562,0.83626 -0.16866,1.15944 -0.11245,0.32319 -0.28111,0.58307 -0.506,0.77966 -0.22489,0.19659 -0.44978,0.39318 -0.67467,0.58977 l -0.67466,0.58976 -0.67466,0.58976 c -0.22489,0.1966 -0.506,0.32989 -0.84333,0.39989 -0.33733,0.07 -0.67467,0.14 -1.012,0.20999 -0.33733,0.07 -0.61844,0.20328 -0.84333,0.39988 -0.22489,0.19658 -0.506,0.32987 -0.84333,0.39987 -0.33733,0.07 -0.73088,0.0767 -1.18066,0.0201 l -1.34931,-0.16974 c -0.44977,-0.0566 -0.843334,-0.16232 -1.180664,-0.31723 -0.33733,-0.1549 -0.61844,-0.35893 -0.843328,-0.61212 -0.224887,-0.25318 -0.505997,-0.45722 -0.843329,-0.61212 -0.337331,-0.15489 -0.674663,-0.30978 -1.011995,-0.46468 -0.337332,-0.15488 -0.618442,-0.35892 -0.843329,-0.61212 L 95.411351,146.14 94.736688,145.38044 c -0.224888,-0.25319 -0.449776,-0.50637 -0.674663,-0.75957 -0.224888,-0.25318 -0.393554,-0.55552 -0.505998,-0.907 -0.112444,-0.35147 -0.168666,-0.75211 -0.168666,-1.20189 0,-0.44977 0.05622,-0.83624 0.168666,-1.15943 0.112444,-0.32318 0.28111,-0.58306 0.505998,-0.77966 l 0.674663,-0.58976 0.674663,-0.58976 c 0.224888,-0.19659 0.449776,-0.39318 0.674664,-0.58978 l 0.674663,-0.58976 0.674664,-0.58976 c 0.224887,-0.1966 0.449775,-0.39318 0.674663,-0.58978 l 0.674663,-0.58976 0.674668,-0.58976 c 0.22488,-0.1966 0.44977,-0.39318 0.674664,-0.58977"
|
||||
id="path1131" />
|
||||
<path
|
||||
style="display:inline;fill:#94291e;fill-opacity:1"
|
||||
d="m 98.962644,136.28074 c 0.224888,-0.1966 0.505998,-0.32988 0.843329,-0.39987 0.337327,-0.07 0.674667,-0.0276 1.011997,0.12738 0.33733,0.15489 0.61844,0.35893 0.84333,0.61211 0.22489,0.25319 0.44977,0.50639 0.67466,0.75957 l 0.67466,0.75956 c 0.22489,0.25318 0.44978,0.50636 0.67467,0.75956 0.22489,0.25318 0.44977,0.50637 0.67466,0.75956 l 0.67466,0.75956 c 0.22489,0.25319 0.44978,0.50636 0.67467,0.75956 0.22489,0.25318 0.44977,0.50637 0.67466,0.75956 l 0.67466,0.75956 c 0.22489,0.25319 0.44978,0.50636 0.67467,0.75956 0.22489,0.25318 0.39355,0.55552 0.506,0.90699 0.11244,0.35148 0.16866,0.75211 0.16866,1.20188 0,0.44978 -0.0562,0.83626 -0.16866,1.15944 -0.11245,0.32319 -0.28111,0.58307 -0.506,0.77967 -0.22489,0.19658 -0.44978,0.39318 -0.67467,0.58977 l -0.67466,0.58976 -0.67466,0.58977 c -0.22489,0.19658 -0.506,0.32988 -0.84333,0.39988 -0.33733,0.07 -0.67467,0.13999 -1.012,0.20998 -0.33733,0.07 -0.61844,0.20328 -0.84333,0.39988 -0.22489,0.19658 -0.506,0.32988 -0.84333,0.39988 -0.33733,0.0699 -0.73088,0.0767 -1.18066,0.0201 l -1.349323,-0.16984 c -0.449775,-0.0566 -0.843329,-0.16232 -1.180661,-0.31723 -0.337331,-0.1549 -0.618441,-0.35892 -0.843329,-0.61212 -0.224887,-0.25318 -0.505997,-0.45722 -0.843329,-0.61212 -0.337331,-0.15489 -0.674663,-0.30978 -1.011995,-0.46467 -0.337332,-0.15489 -0.618442,-0.35893 -0.843329,-0.61213 L 94.24,147.15574 93.565337,146.39618 c -0.224888,-0.25319 -0.449776,-0.50637 -0.674663,-0.75956 -0.224888,-0.25319 -0.393554,-0.55553 -0.505998,-0.907 -0.112444,-0.35148 -0.168666,-0.7521 -0.168666,-1.20188 0,-0.44977 0.05622,-0.83626 0.168666,-1.15944 0.112444,-0.32319 0.28111,-0.58307 0.505998,-0.77966 l 0.674663,-0.58977 0.674663,-0.58976 c 0.224888,-0.19659 0.449776,-0.39318 0.674664,-0.58978 l 0.674663,-0.58976 0.674664,-0.58976 c 0.224887,-0.19659 0.449775,-0.39318 0.674663,-0.58978 l 0.674663,-0.58976 0.674664,-0.58976 c 0.224887,-0.1966 0.449775,-0.39318 0.674663,-0.58977"
|
||||
id="path1132" />
|
||||
<g
|
||||
id="g1141"
|
||||
style="display:inline;opacity:1">
|
||||
<path
|
||||
style="display:inline;fill:#2d0000;fill-opacity:1"
|
||||
d="m 98.962644,136.28074 c 0.224888,-0.19659 0.505998,-0.32988 0.843329,-0.39987 0.337327,-0.07 0.674667,-0.0275 1.011997,0.12738 0.33733,0.15489 0.61844,0.35893 0.84333,0.61211 0.22489,0.25319 0.44977,0.50638 0.67466,0.75957 l 0.67466,0.75956 c 0.22489,0.25319 0.44978,0.50637 0.67467,0.75956 l 0.67466,0.75956 0.67466,0.75956 c 0.22489,0.25319 0.44978,0.50637 0.67467,0.75956 0.22489,0.25319 0.44977,0.50638 0.67466,0.75956 l 0.67466,0.75956 c 0.22489,0.25319 0.44978,0.50637 0.67467,0.75956 0.22489,0.25319 0.39355,0.55552 0.506,0.90699 0.11244,0.35148 0.16866,0.75211 0.16866,1.20188 0,0.44978 -0.0562,0.83626 -0.16866,1.15944 -0.11245,0.32319 -0.28111,0.58308 -0.506,0.77967 l -0.67467,0.58977 -0.67466,0.58976 c -0.22489,0.19659 -0.44977,0.39318 -0.67466,0.58977 -0.22489,0.19659 -0.506,0.32989 -0.84333,0.39988 l -1.012,0.20998 c -0.33733,0.07 -0.61844,0.20329 -0.84333,0.39988 -0.22489,0.19659 -0.506,0.32988 -0.84333,0.39988 -0.33733,0.07 -0.73088,0.0767 -1.18066,0.0201 -0.44977,-0.0566 -0.89955,-0.11321 -1.349323,-0.16984 -0.449775,-0.0566 -0.843329,-0.16234 -1.180661,-0.31723 -0.337331,-0.15489 -0.618441,-0.35893 -0.843329,-0.61212 -0.224887,-0.25319 -0.505997,-0.45723 -0.843329,-0.61212 l -1.011995,-0.46467 c -0.337332,-0.15489 -0.618442,-0.35894 -0.843329,-0.61213 -0.224888,-0.25318 -0.449776,-0.50636 -0.674664,-0.75955 l -0.674663,-0.75956 -0.674663,-0.75956 c -0.224888,-0.25319 -0.393554,-0.55552 -0.505998,-0.907 -0.112444,-0.35147 -0.168666,-0.7521 -0.168666,-1.20188 0,-0.44977 0.05622,-0.83625 0.168666,-1.15944 0.112444,-0.32318 0.28111,-0.58307 0.505998,-0.77966 l 0.674663,-0.58977 0.674663,-0.58976 c 0.224888,-0.19659 0.449776,-0.39318 0.674664,-0.58978 l 0.674663,-0.58976 0.674664,-0.58976 c 0.224887,-0.19659 0.449775,-0.39318 0.674663,-0.58978 l 0.674663,-0.58976 0.674664,-0.58976 0.674663,-0.58977"
|
||||
id="path1133" />
|
||||
<path
|
||||
style="display:inline;opacity:1;fill:#720000;fill-opacity:1"
|
||||
d="m 96.949099,142.3149 4.674871,-3.598 0.52221,0.17818 c 0.36268,0.12375 0.63952,0.34051 0.86441,0.5937 l 0.67467,0.75955 0.67466,0.75956 c 0.22489,0.25319 0.44977,0.50638 0.67466,0.75956 0.22489,0.25319 0.44978,0.50638 0.67467,0.75955 l 0.67466,0.75956 c 0.22489,0.25319 0.39355,0.55553 0.506,0.907 0.11244,0.35149 0.16866,0.75212 0.16866,1.20189 0,0.44978 -0.0562,0.83626 -0.16866,1.15943 -0.11245,0.32319 -0.28111,0.58307 -0.506,0.77966 -0.22489,0.19659 -0.44977,0.39318 -0.67466,0.58977 -0.22489,0.1966 -0.506,0.32989 -0.84333,0.39988 l -1.012,0.21 c -0.33733,0.07 -0.61844,0.20328 -0.84333,0.39987 -0.22489,0.19659 -0.506,0.32988 -0.84333,0.39987 -0.33733,0.07 -0.73088,0.0767 -1.18066,0.0201 -0.44977,-0.0566 -0.89955,-0.11318 -1.349323,-0.16974 -0.449775,-0.0566 -0.843329,-0.16235 -1.180661,-0.31724 -0.337331,-0.15489 -0.569247,-0.41598 -0.695746,-0.78329 l -0.189749,-0.55097"
|
||||
id="path1134" />
|
||||
<path
|
||||
style="display:inline;opacity:1;fill:#ff0000;fill-opacity:1"
|
||||
d="m 101.6613,139.99364 0.50599,0.23235 c 0.33733,0.15489 0.506,0.34477 0.506,0.56966 0,0.22489 -0.16164,0.36619 -0.48491,0.4239 l -0.48492,0.0866 c 0.0234,0.16648 -0.53328,-0.11289 -0.71162,-0.0337 -0.73806,0.32779 -0.68181,-1.45805 -0.31617,-0.63988"
|
||||
id="path1135" />
|
||||
<path
|
||||
style="display:inline;opacity:1;fill:#aa0f01;fill-opacity:1"
|
||||
d="m 98.962644,137.63007 c 0.224888,-0.19659 0.505998,-0.32989 0.843329,-0.39988 0.337327,-0.07 0.674667,-0.0275 1.011997,0.12738 0.33733,0.1549 0.56222,0.40809 0.67466,0.75957 0.11245,0.35147 0.16867,0.7521 0.16867,1.20188 v 1.34932 c 0,0.44978 0.0562,0.85041 0.16866,1.20189 0.11245,0.35148 0.28111,0.65381 0.506,0.907 0.22489,0.25319 0.33733,0.49223 0.33733,0.71712 0,0.22489 -0.11244,0.43562 -0.33733,0.63221 -0.22489,0.19659 -0.33733,0.40732 -0.33733,0.63221 0,0.22489 0.11244,0.46393 0.33733,0.71712 0.22489,0.25319 0.33733,0.49222 0.33733,0.71711 0,0.22489 -0.11244,0.32318 -0.33733,0.29488 -0.22489,-0.0283 -0.44977,-0.16908 -0.67466,-0.42223 -0.22489,-0.25318 -0.44978,-0.39392 -0.67467,-0.42222 -0.22489,-0.0283 -0.44977,0.0558 -0.67466,0.25243 l -0.674663,0.58976 -0.674663,0.58978 c -0.224888,0.19659 -0.505998,0.32987 -0.843329,0.39986 -0.337332,0.07 -0.730886,0.0767 -1.180661,0.0201 -0.449775,-0.0566 -0.843329,-0.16234 -1.180661,-0.31723 -0.337332,-0.15489 -0.618442,-0.35893 -0.843329,-0.61212 -0.224888,-0.25318 -0.449776,-0.50637 -0.674664,-0.75956 -0.224887,-0.25319 -0.393553,-0.55552 -0.505997,-0.90701 -0.112444,-0.35147 -0.168666,-0.7521 -0.168666,-1.20188 0,-0.44977 0.05622,-0.83625 0.168666,-1.15944 0.112444,-0.32317 0.28111,-0.58306 0.505997,-0.77965 0.224888,-0.19659 0.449776,-0.39318 0.674664,-0.58977 l 0.674663,-0.58976 c 0.224888,-0.19659 0.449776,-0.39318 0.674664,-0.58977 0.224887,-0.19659 0.449775,-0.39318 0.674663,-0.58977 l 0.674663,-0.58976 c 0.224888,-0.19659 0.449776,-0.39318 0.674664,-0.58977 l 0.674663,-0.58976"
|
||||
id="path1136" />
|
||||
<path
|
||||
style="display:inline;opacity:1;fill:#ff0000;fill-opacity:1"
|
||||
d="m 98.962644,138.9794 c 0.224888,-0.19659 0.449776,-0.28074 0.674663,-0.25244 0.224888,0.0283 0.337332,0.15493 0.337332,0.37978 0,0.22489 -0.112444,0.43562 -0.337332,0.63221 -0.224887,0.19659 -0.337331,0.40732 -0.337331,0.63221 0,0.22489 0.112444,0.46393 0.337331,0.71712 l 0.674663,0.75956 0.67466,0.75956 c 0.22489,0.25319 0.33734,0.49223 0.33734,0.71712 0,0.22489 -0.16867,0.37232 -0.506,0.44231 -0.80645,0.16734 -0.0911,0.0189 0.253,-0.0526 l -0.253,0.0526 c -0.16868,0.0351 -0.33733,0.0418 -0.506,0.0205 -0.067,-0.19237 -0.16867,-0.48465 -0.16867,-0.48465 -0.11253,-0.32331 -0.337327,-0.56251 -0.674658,-0.7174 l -0.505998,-0.23234 -0.168666,-0.52722 c -0.112444,-0.35148 -0.28111,-0.65381 -0.505997,-0.907 -0.224888,-0.25319 -0.337332,-0.49223 -0.337332,-0.71712 0,-0.22489 0.112444,-0.43562 0.337332,-0.63221 l 0.674663,-0.58976"
|
||||
id="path1137" />
|
||||
<path
|
||||
style="display:inline;opacity:1;fill:#720000;fill-opacity:1"
|
||||
d="m 98.962644,142.35294 0.505998,0.23211 c 0.337406,0.15477 0.562208,0.39403 0.674658,0.7174 l 0.16867,0.48505 c 0,0 -0.208,-0.0264 -0.318594,-0.0735 -0.07203,-0.0269 -0.142118,-0.0519 -0.206391,-0.0833 -0.337331,-0.15494 -0.543231,-0.39921 -0.655675,-0.75069"
|
||||
id="path1138" />
|
||||
<path
|
||||
style="display:inline;opacity:1;fill:#ff0000;fill-opacity:1"
|
||||
d="m 95.251995,142.56044 q 0,-0.33733 0.337332,-0.29488 0.337332,0.0425 0.337332,0.37978 0,0.33733 -0.337332,0.29488 -0.337332,-0.0425 -0.337332,-0.37978"
|
||||
id="path1139" />
|
||||
<path
|
||||
style="display:inline;opacity:1;fill:#aa0f01;fill-opacity:1"
|
||||
d="m 104.69728,143.749 q 0,-0.33733 0.33733,-0.29488 0.33734,0.0425 0.33734,0.37978 0,0.33733 -0.33734,0.29488 -0.33733,-0.0425 -0.33733,-0.37978"
|
||||
id="path1140" />
|
||||
<path
|
||||
style="display:inline;opacity:1;fill:#ff0000;fill-opacity:1"
|
||||
d="m 97.613317,144.2069 q 0.337332,-0.29488 0.674664,-0.25243 0.337331,0.0425 0.337331,0.37978 0,0.33734 -0.337331,0.63222 -0.337332,0.29488 -0.674664,0.58976 -0.337331,0.29488 -0.674663,0.25243 -0.337332,-0.0425 -0.337332,-0.37977 0,-0.33733 0.337332,-0.63222 0.337332,-0.29488 0.674663,-0.58977"
|
||||
id="path1141" />
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<rect
|
||||
style="display:none;opacity:1;fill:#404040;fill-opacity:1;stroke-width:8.34074;stroke-linejoin:round"
|
||||
id="rect4"
|
||||
width="111.20969"
|
||||
height="111.20969"
|
||||
x="5.8899391e-06"
|
||||
y="3.3410672e-06" />
|
||||
<g
|
||||
id="g4"
|
||||
style="display:inline"
|
||||
transform="translate(-43.988069,-70.819257)">
|
||||
<path
|
||||
id="path16"
|
||||
style="display:none;opacity:1;fill:#ffffff;stroke-width:6.00001;stroke-linejoin:round"
|
||||
d="M 103.81913,95.103806 56.291647,122.60634 8.7641612,95.10381 8.764161,40.09874 56.291647,12.596207 103.81913,40.09874 Z"
|
||||
transform="matrix(1.184402,0,0,1.1817093,37.251106,45.114943)" />
|
||||
<path
|
||||
style="display:none;opacity:1;fill:#ffffff;fill-opacity:1;stroke-width:6.00001;stroke-linejoin:round"
|
||||
d="M 51.961523,99.999997 43.301269,105 v 55 l 47.631396,27.49999 8.660254,-5 L 51.961527,155 Z"
|
||||
id="path24" />
|
||||
<path
|
||||
style="display:inline;opacity:1;fill:#c19053;fill-opacity:1;stroke-width:6.00001;stroke-linejoin:round"
|
||||
d="m 56.29165,110.5 8.660253,-5.00001 v 31.80263 L 56.29165,152.5 Z"
|
||||
id="path23" />
|
||||
<path
|
||||
id="path19"
|
||||
style="display:none;opacity:1;fill:#5886f0;fill-opacity:1;stroke-width:6.00629;stroke-linejoin:round"
|
||||
d="m 151.55444,152.49999 -47.63139,27.5 -47.6314,-27.5 V 97.499997 l 47.6314,-27.499998 47.63139,27.499998 z" />
|
||||
<path
|
||||
id="path20"
|
||||
style="display:inline;opacity:1;fill:#d29463;fill-opacity:1;stroke-width:4.91424;stroke-linejoin:round"
|
||||
d="M 142.89419,147.5 103.92305,170 64.951901,147.5 v -45 L 103.92305,79.999998 142.89419,102.5 Z" />
|
||||
<path
|
||||
style="display:inline;opacity:1;fill:#c37954;fill-opacity:1;stroke-width:6.00001;stroke-linejoin:round"
|
||||
d="m 64.9519,102.5 3e-6,44.99999 38.971137,22.5 v -45 z"
|
||||
id="path4" />
|
||||
<g
|
||||
id="g36"
|
||||
style="display:inline;opacity:0.286449">
|
||||
<path
|
||||
style="display:inline;opacity:1;fill:#f1e1c8;fill-opacity:1;stroke-width:6.00001;stroke-linejoin:round"
|
||||
d="m 95.262781,130 -21.65063,-12.5 v 24.99999 l 21.65063,12.5 z"
|
||||
id="path37" />
|
||||
<path
|
||||
style="opacity:1;fill:#daa488;fill-opacity:1;stroke-width:6.00001;stroke-linejoin:round"
|
||||
d="m 103.05702,130.5 -4.330135,-7.5 -7.79423,4.49999 4.33013,2.50001 v 5 z"
|
||||
id="path33" />
|
||||
<path
|
||||
style="opacity:1;fill:#daa488;fill-opacity:1;stroke-width:6.00001;stroke-linejoin:round"
|
||||
d="M 77.942275,119.99999 70.148045,106.5 l -4.33012,2.5 7.79423,13.49999 V 117.5 Z"
|
||||
id="path34" />
|
||||
<path
|
||||
style="opacity:1;fill:#daa488;fill-opacity:1;stroke-width:6.00001;stroke-linejoin:round"
|
||||
d="m 65.817925,142 4.33012,7.5 7.79423,-4.50001 -4.33012,-2.5 V 137.5 Z"
|
||||
id="path35" />
|
||||
<path
|
||||
style="opacity:1;fill:#daa488;fill-opacity:1;stroke-width:6.00001;stroke-linejoin:round"
|
||||
d="m 95.262785,149.99999 7.794235,13.50001 -4.330135,2.5 -7.79423,-13.50001 4.33013,2.5 z"
|
||||
id="path36" />
|
||||
</g>
|
||||
<path
|
||||
style="display:inline;opacity:1;fill:#edca55;fill-opacity:1;stroke-width:6.00001;stroke-linejoin:round"
|
||||
d="m 56.29165,110.5 43.301273,25 v 15 l -4.330127,2.5 -4e-6,22 -38.971142,-22.5 z"
|
||||
id="path22" />
|
||||
<g
|
||||
id="g10"
|
||||
style="display:none">
|
||||
<path
|
||||
style="opacity:1;fill:#c37954;fill-opacity:1;stroke-width:3.75001;stroke-linejoin:round"
|
||||
d="M 113.44932,158.49999 118.64548,155.5 v -4 l 10.3923,-6 v 3.99999 L 134.23393,146.5 v -10 l -5.19615,3 v -7 l -10.3923,6 v 7 l -5.19068,3 z"
|
||||
id="path8" />
|
||||
<path
|
||||
style="opacity:1;fill:#c37954;fill-opacity:1;stroke-width:3.75001;stroke-linejoin:round"
|
||||
d="m 118.64548,138.5 v -12 l -11.25833,6.5 v 12 z"
|
||||
id="path9" />
|
||||
<path
|
||||
style="opacity:1;fill:#c37954;fill-opacity:1;stroke-width:3.75001;stroke-linejoin:round"
|
||||
d="m 129.03778,132.5 v -12 l 10.39231,-6 v 12 z"
|
||||
id="path10" />
|
||||
</g>
|
||||
<g
|
||||
id="g32">
|
||||
<path
|
||||
style="opacity:1;fill:#f1e1c8;fill-opacity:1;stroke-width:6.00001;stroke-linejoin:round"
|
||||
d="m 112.5833,130 21.65063,-12.5 v 24.99999 l -21.65063,12.5 z"
|
||||
id="path11" />
|
||||
<path
|
||||
style="opacity:1;fill:#d87c7c;fill-opacity:1;stroke-width:6.00001;stroke-linejoin:round"
|
||||
d="m 122.10958,135.49999 2.59807,-1.5 v 3 l -2.59807,1.5 z"
|
||||
id="path12" />
|
||||
<path
|
||||
style="opacity:1;fill:#edca55;fill-opacity:1;stroke-width:6.00001;stroke-linejoin:round"
|
||||
d="m 116.91343,138.5 2.59807,-1.5 v 3 l -2.59807,1.5 z"
|
||||
id="path13" />
|
||||
<path
|
||||
style="opacity:1;fill:#c94b4b;fill-opacity:1;stroke-width:6.00001;stroke-linejoin:round"
|
||||
d="m 127.30573,132.5 2.59807,-1.5 v 3 l -2.59807,1.5 z"
|
||||
id="path14" />
|
||||
<path
|
||||
style="opacity:1;fill:#ae3535;fill-opacity:1;stroke-width:6.00001;stroke-linejoin:round"
|
||||
d="m 122.10958,129.49999 2.59807,-1.5 v 3 l -2.59807,1.5 z"
|
||||
id="path15" />
|
||||
<path
|
||||
style="opacity:1;fill:#ce5e5e;fill-opacity:1;stroke-width:6.00001;stroke-linejoin:round"
|
||||
d="m 116.91343,132.5 2.59807,-1.5 v 3 l -2.59807,1.5 z"
|
||||
id="path17" />
|
||||
<path
|
||||
style="opacity:1;fill:#31a252;fill-opacity:1;stroke-width:6.00001;stroke-linejoin:round"
|
||||
d="m 127.30573,126.5 2.59807,-1.5 v 3 l -2.59807,1.5 z"
|
||||
id="path25" />
|
||||
<path
|
||||
style="opacity:1;fill:#59c94b;fill-opacity:1;stroke-width:6.00001;stroke-linejoin:round"
|
||||
d="m 122.10958,141.49999 2.59807,-1.5 v 3 l -2.59807,1.5 z"
|
||||
id="path26" />
|
||||
<path
|
||||
style="opacity:1;fill:#c94b4b;fill-opacity:1;stroke-width:6.00001;stroke-linejoin:round"
|
||||
d="m 116.91343,144.5 2.59807,-1.5 v 3 l -2.59807,1.5 z"
|
||||
id="path27" />
|
||||
<path
|
||||
style="opacity:1;fill:#c9764b;fill-opacity:1;stroke-width:6.00001;stroke-linejoin:round"
|
||||
d="m 127.30573,138.5 2.59807,-1.5 v 3 l -2.59807,1.5 z"
|
||||
id="path28" />
|
||||
<path
|
||||
style="opacity:1;fill:#daa488;fill-opacity:1;stroke-width:6.00001;stroke-linejoin:round"
|
||||
d="m 104.78907,130.5 4.33013,-7.5 7.79423,4.49999 L 112.5833,130 v 5 z"
|
||||
id="path29" />
|
||||
<path
|
||||
style="opacity:1;fill:#daa488;fill-opacity:1;stroke-width:6.00001;stroke-linejoin:round"
|
||||
d="m 129.90381,119.99999 7.79423,-13.49999 4.33012,2.5 -7.79423,13.49999 V 117.5 Z"
|
||||
id="path30" />
|
||||
<path
|
||||
style="opacity:1;fill:#daa488;fill-opacity:1;stroke-width:6.00001;stroke-linejoin:round"
|
||||
d="m 142.02816,142 -4.33012,7.5 -7.79423,-4.50001 4.33012,-2.5 V 137.5 Z"
|
||||
id="path31" />
|
||||
<path
|
||||
style="opacity:1;fill:#daa488;fill-opacity:1;stroke-width:6.00001;stroke-linejoin:round"
|
||||
d="m 112.5833,149.99999 -7.79423,13.50001 4.33013,2.5 7.79423,-13.50001 -4.33013,2.5 z"
|
||||
id="path32" />
|
||||
</g>
|
||||
<path
|
||||
style="display:inline;opacity:1;fill:#f1e1c8;fill-opacity:1;stroke-width:6.00001;stroke-linejoin:round"
|
||||
d="m 119.5115,88.999997 7.79423,4.5 L 88.33459,116 v 10 l -7.79423,-4.5 v -10 z"
|
||||
id="path21" />
|
||||
<path
|
||||
style="display:inline;opacity:1;fill:#dcc5a5;fill-opacity:1;stroke-width:6.00001;stroke-linejoin:round"
|
||||
d="m 88.33459,116 v 10 l -7.79423,-4.5 v -10 z"
|
||||
id="path5" />
|
||||
</g>
|
||||
<g
|
||||
id="g3"
|
||||
style="display:none"
|
||||
transform="translate(-43.988069,-70.819257)">
|
||||
<path
|
||||
style="opacity:1;fill:#ffffff;fill-opacity:1;stroke-width:6.00001;stroke-linejoin:round"
|
||||
d="M 103.92304,79.999998 119.5115,88.999996 80.540359,111.5 l 1e-6,5 -15.588457,-9 v -5.00001 z"
|
||||
id="path1" />
|
||||
<path
|
||||
style="opacity:1;fill:#ffffff;fill-opacity:1;stroke-width:6.00001;stroke-linejoin:round"
|
||||
d="m 88.334589,121 -2e-6,-5.00001 38.971143,-22.499993 15.58846,8.999993 v 45 l -38.97115,22.5 L 100.45894,168 v -16 l 3.46411,-2 v -20 z"
|
||||
id="path2" />
|
||||
<path
|
||||
style="opacity:1;fill:#ffffff;fill-opacity:1;stroke-width:6.00001;stroke-linejoin:round"
|
||||
d="M 95.262792,175 56.29165,151.5 v -44 l 43.301267,25 v 14.99999 l -4.330126,2.5 z"
|
||||
id="path3" />
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 41 KiB |
@@ -1,504 +0,0 @@
|
||||
GNU LESSER GENERAL PUBLIC LICENSE
|
||||
Version 2.1, February 1999
|
||||
|
||||
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
[This is the first released version of the Lesser GPL. It also counts
|
||||
as the successor of the GNU Library Public License, version 2, hence
|
||||
the version number 2.1.]
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
Licenses are intended to guarantee your freedom to share and change
|
||||
free software--to make sure the software is free for all its users.
|
||||
|
||||
This license, the Lesser General Public License, applies to some
|
||||
specially designated software packages--typically libraries--of the
|
||||
Free Software Foundation and other authors who decide to use it. You
|
||||
can use it too, but we suggest you first think carefully about whether
|
||||
this license or the ordinary General Public License is the better
|
||||
strategy to use in any particular case, based on the explanations below.
|
||||
|
||||
When we speak of free software, we are referring to freedom of use,
|
||||
not price. Our General Public Licenses are designed to make sure that
|
||||
you have the freedom to distribute copies of free software (and charge
|
||||
for this service if you wish); that you receive source code or can get
|
||||
it if you want it; that you can change the software and use pieces of
|
||||
it in new free programs; and that you are informed that you can do
|
||||
these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
distributors to deny you these rights or to ask you to surrender these
|
||||
rights. These restrictions translate to certain responsibilities for
|
||||
you if you distribute copies of the library or if you modify it.
|
||||
|
||||
For example, if you distribute copies of the library, whether gratis
|
||||
or for a fee, you must give the recipients all the rights that we gave
|
||||
you. You must make sure that they, too, receive or can get the source
|
||||
code. If you link other code with the library, you must provide
|
||||
complete object files to the recipients, so that they can relink them
|
||||
with the library after making changes to the library and recompiling
|
||||
it. And you must show them these terms so they know their rights.
|
||||
|
||||
We protect your rights with a two-step method: (1) we copyright the
|
||||
library, and (2) we offer you this license, which gives you legal
|
||||
permission to copy, distribute and/or modify the library.
|
||||
|
||||
To protect each distributor, we want to make it very clear that
|
||||
there is no warranty for the free library. Also, if the library is
|
||||
modified by someone else and passed on, the recipients should know
|
||||
that what they have is not the original version, so that the original
|
||||
author's reputation will not be affected by problems that might be
|
||||
introduced by others.
|
||||
|
||||
Finally, software patents pose a constant threat to the existence of
|
||||
any free program. We wish to make sure that a company cannot
|
||||
effectively restrict the users of a free program by obtaining a
|
||||
restrictive license from a patent holder. Therefore, we insist that
|
||||
any patent license obtained for a version of the library must be
|
||||
consistent with the full freedom of use specified in this license.
|
||||
|
||||
Most GNU software, including some libraries, is covered by the
|
||||
ordinary GNU General Public License. This license, the GNU Lesser
|
||||
General Public License, applies to certain designated libraries, and
|
||||
is quite different from the ordinary General Public License. We use
|
||||
this license for certain libraries in order to permit linking those
|
||||
libraries into non-free programs.
|
||||
|
||||
When a program is linked with a library, whether statically or using
|
||||
a shared library, the combination of the two is legally speaking a
|
||||
combined work, a derivative of the original library. The ordinary
|
||||
General Public License therefore permits such linking only if the
|
||||
entire combination fits its criteria of freedom. The Lesser General
|
||||
Public License permits more lax criteria for linking other code with
|
||||
the library.
|
||||
|
||||
We call this license the "Lesser" General Public License because it
|
||||
does Less to protect the user's freedom than the ordinary General
|
||||
Public License. It also provides other free software developers Less
|
||||
of an advantage over competing non-free programs. These disadvantages
|
||||
are the reason we use the ordinary General Public License for many
|
||||
libraries. However, the Lesser license provides advantages in certain
|
||||
special circumstances.
|
||||
|
||||
For example, on rare occasions, there may be a special need to
|
||||
encourage the widest possible use of a certain library, so that it becomes
|
||||
a de-facto standard. To achieve this, non-free programs must be
|
||||
allowed to use the library. A more frequent case is that a free
|
||||
library does the same job as widely used non-free libraries. In this
|
||||
case, there is little to gain by limiting the free library to free
|
||||
software only, so we use the Lesser General Public License.
|
||||
|
||||
In other cases, permission to use a particular library in non-free
|
||||
programs enables a greater number of people to use a large body of
|
||||
free software. For example, permission to use the GNU C Library in
|
||||
non-free programs enables many more people to use the whole GNU
|
||||
operating system, as well as its variant, the GNU/Linux operating
|
||||
system.
|
||||
|
||||
Although the Lesser General Public License is Less protective of the
|
||||
users' freedom, it does ensure that the user of a program that is
|
||||
linked with the Library has the freedom and the wherewithal to run
|
||||
that program using a modified version of the Library.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow. Pay close attention to the difference between a
|
||||
"work based on the library" and a "work that uses the library". The
|
||||
former contains code derived from the library, whereas the latter must
|
||||
be combined with the library in order to run.
|
||||
|
||||
GNU LESSER GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License Agreement applies to any software library or other
|
||||
program which contains a notice placed by the copyright holder or
|
||||
other authorized party saying it may be distributed under the terms of
|
||||
this Lesser General Public License (also called "this License").
|
||||
Each licensee is addressed as "you".
|
||||
|
||||
A "library" means a collection of software functions and/or data
|
||||
prepared so as to be conveniently linked with application programs
|
||||
(which use some of those functions and data) to form executables.
|
||||
|
||||
The "Library", below, refers to any such software library or work
|
||||
which has been distributed under these terms. A "work based on the
|
||||
Library" means either the Library or any derivative work under
|
||||
copyright law: that is to say, a work containing the Library or a
|
||||
portion of it, either verbatim or with modifications and/or translated
|
||||
straightforwardly into another language. (Hereinafter, translation is
|
||||
included without limitation in the term "modification".)
|
||||
|
||||
"Source code" for a work means the preferred form of the work for
|
||||
making modifications to it. For a library, complete source code means
|
||||
all the source code for all modules it contains, plus any associated
|
||||
interface definition files, plus the scripts used to control compilation
|
||||
and installation of the library.
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running a program using the Library is not restricted, and output from
|
||||
such a program is covered only if its contents constitute a work based
|
||||
on the Library (independent of the use of the Library in a tool for
|
||||
writing it). Whether that is true depends on what the Library does
|
||||
and what the program that uses the Library does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Library's
|
||||
complete source code as you receive it, in any medium, provided that
|
||||
you conspicuously and appropriately publish on each copy an
|
||||
appropriate copyright notice and disclaimer of warranty; keep intact
|
||||
all the notices that refer to this License and to the absence of any
|
||||
warranty; and distribute a copy of this License along with the
|
||||
Library.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy,
|
||||
and you may at your option offer warranty protection in exchange for a
|
||||
fee.
|
||||
|
||||
2. You may modify your copy or copies of the Library or any portion
|
||||
of it, thus forming a work based on the Library, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) The modified work must itself be a software library.
|
||||
|
||||
b) You must cause the files modified to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
c) You must cause the whole of the work to be licensed at no
|
||||
charge to all third parties under the terms of this License.
|
||||
|
||||
d) If a facility in the modified Library refers to a function or a
|
||||
table of data to be supplied by an application program that uses
|
||||
the facility, other than as an argument passed when the facility
|
||||
is invoked, then you must make a good faith effort to ensure that,
|
||||
in the event an application does not supply such function or
|
||||
table, the facility still operates, and performs whatever part of
|
||||
its purpose remains meaningful.
|
||||
|
||||
(For example, a function in a library to compute square roots has
|
||||
a purpose that is entirely well-defined independent of the
|
||||
application. Therefore, Subsection 2d requires that any
|
||||
application-supplied function or table used by this function must
|
||||
be optional: if the application does not supply it, the square
|
||||
root function must still compute square roots.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Library,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Library, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote
|
||||
it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Library.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Library
|
||||
with the Library (or with a work based on the Library) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may opt to apply the terms of the ordinary GNU General Public
|
||||
License instead of this License to a given copy of the Library. To do
|
||||
this, you must alter all the notices that refer to this License, so
|
||||
that they refer to the ordinary GNU General Public License, version 2,
|
||||
instead of to this License. (If a newer version than version 2 of the
|
||||
ordinary GNU General Public License has appeared, then you can specify
|
||||
that version instead if you wish.) Do not make any other change in
|
||||
these notices.
|
||||
|
||||
Once this change is made in a given copy, it is irreversible for
|
||||
that copy, so the ordinary GNU General Public License applies to all
|
||||
subsequent copies and derivative works made from that copy.
|
||||
|
||||
This option is useful when you wish to copy part of the code of
|
||||
the Library into a program that is not a library.
|
||||
|
||||
4. You may copy and distribute the Library (or a portion or
|
||||
derivative of it, under Section 2) in object code or executable form
|
||||
under the terms of Sections 1 and 2 above provided that you accompany
|
||||
it with the complete corresponding machine-readable source code, which
|
||||
must be distributed under the terms of Sections 1 and 2 above on a
|
||||
medium customarily used for software interchange.
|
||||
|
||||
If distribution of object code is made by offering access to copy
|
||||
from a designated place, then offering equivalent access to copy the
|
||||
source code from the same place satisfies the requirement to
|
||||
distribute the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
5. A program that contains no derivative of any portion of the
|
||||
Library, but is designed to work with the Library by being compiled or
|
||||
linked with it, is called a "work that uses the Library". Such a
|
||||
work, in isolation, is not a derivative work of the Library, and
|
||||
therefore falls outside the scope of this License.
|
||||
|
||||
However, linking a "work that uses the Library" with the Library
|
||||
creates an executable that is a derivative of the Library (because it
|
||||
contains portions of the Library), rather than a "work that uses the
|
||||
library". The executable is therefore covered by this License.
|
||||
Section 6 states terms for distribution of such executables.
|
||||
|
||||
When a "work that uses the Library" uses material from a header file
|
||||
that is part of the Library, the object code for the work may be a
|
||||
derivative work of the Library even though the source code is not.
|
||||
Whether this is true is especially significant if the work can be
|
||||
linked without the Library, or if the work is itself a library. The
|
||||
threshold for this to be true is not precisely defined by law.
|
||||
|
||||
If such an object file uses only numerical parameters, data
|
||||
structure layouts and accessors, and small macros and small inline
|
||||
functions (ten lines or less in length), then the use of the object
|
||||
file is unrestricted, regardless of whether it is legally a derivative
|
||||
work. (Executables containing this object code plus portions of the
|
||||
Library will still fall under Section 6.)
|
||||
|
||||
Otherwise, if the work is a derivative of the Library, you may
|
||||
distribute the object code for the work under the terms of Section 6.
|
||||
Any executables containing that work also fall under Section 6,
|
||||
whether or not they are linked directly with the Library itself.
|
||||
|
||||
6. As an exception to the Sections above, you may also combine or
|
||||
link a "work that uses the Library" with the Library to produce a
|
||||
work containing portions of the Library, and distribute that work
|
||||
under terms of your choice, provided that the terms permit
|
||||
modification of the work for the customer's own use and reverse
|
||||
engineering for debugging such modifications.
|
||||
|
||||
You must give prominent notice with each copy of the work that the
|
||||
Library is used in it and that the Library and its use are covered by
|
||||
this License. You must supply a copy of this License. If the work
|
||||
during execution displays copyright notices, you must include the
|
||||
copyright notice for the Library among them, as well as a reference
|
||||
directing the user to the copy of this License. Also, you must do one
|
||||
of these things:
|
||||
|
||||
a) Accompany the work with the complete corresponding
|
||||
machine-readable source code for the Library including whatever
|
||||
changes were used in the work (which must be distributed under
|
||||
Sections 1 and 2 above); and, if the work is an executable linked
|
||||
with the Library, with the complete machine-readable "work that
|
||||
uses the Library", as object code and/or source code, so that the
|
||||
user can modify the Library and then relink to produce a modified
|
||||
executable containing the modified Library. (It is understood
|
||||
that the user who changes the contents of definitions files in the
|
||||
Library will not necessarily be able to recompile the application
|
||||
to use the modified definitions.)
|
||||
|
||||
b) Use a suitable shared library mechanism for linking with the
|
||||
Library. A suitable mechanism is one that (1) uses at run time a
|
||||
copy of the library already present on the user's computer system,
|
||||
rather than copying library functions into the executable, and (2)
|
||||
will operate properly with a modified version of the library, if
|
||||
the user installs one, as long as the modified version is
|
||||
interface-compatible with the version that the work was made with.
|
||||
|
||||
c) Accompany the work with a written offer, valid for at
|
||||
least three years, to give the same user the materials
|
||||
specified in Subsection 6a, above, for a charge no more
|
||||
than the cost of performing this distribution.
|
||||
|
||||
d) If distribution of the work is made by offering access to copy
|
||||
from a designated place, offer equivalent access to copy the above
|
||||
specified materials from the same place.
|
||||
|
||||
e) Verify that the user has already received a copy of these
|
||||
materials or that you have already sent this user a copy.
|
||||
|
||||
For an executable, the required form of the "work that uses the
|
||||
Library" must include any data and utility programs needed for
|
||||
reproducing the executable from it. However, as a special exception,
|
||||
the materials to be distributed need not include anything that is
|
||||
normally distributed (in either source or binary form) with the major
|
||||
components (compiler, kernel, and so on) of the operating system on
|
||||
which the executable runs, unless that component itself accompanies
|
||||
the executable.
|
||||
|
||||
It may happen that this requirement contradicts the license
|
||||
restrictions of other proprietary libraries that do not normally
|
||||
accompany the operating system. Such a contradiction means you cannot
|
||||
use both them and the Library together in an executable that you
|
||||
distribute.
|
||||
|
||||
7. You may place library facilities that are a work based on the
|
||||
Library side-by-side in a single library together with other library
|
||||
facilities not covered by this License, and distribute such a combined
|
||||
library, provided that the separate distribution of the work based on
|
||||
the Library and of the other library facilities is otherwise
|
||||
permitted, and provided that you do these two things:
|
||||
|
||||
a) Accompany the combined library with a copy of the same work
|
||||
based on the Library, uncombined with any other library
|
||||
facilities. This must be distributed under the terms of the
|
||||
Sections above.
|
||||
|
||||
b) Give prominent notice with the combined library of the fact
|
||||
that part of it is a work based on the Library, and explaining
|
||||
where to find the accompanying uncombined form of the same work.
|
||||
|
||||
8. You may not copy, modify, sublicense, link with, or distribute
|
||||
the Library except as expressly provided under this License. Any
|
||||
attempt otherwise to copy, modify, sublicense, link with, or
|
||||
distribute the Library is void, and will automatically terminate your
|
||||
rights under this License. However, parties who have received copies,
|
||||
or rights, from you under this License will not have their licenses
|
||||
terminated so long as such parties remain in full compliance.
|
||||
|
||||
9. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Library or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Library (or any work based on the
|
||||
Library), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Library or works based on it.
|
||||
|
||||
10. Each time you redistribute the Library (or any work based on the
|
||||
Library), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute, link with or modify the Library
|
||||
subject to these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties with
|
||||
this License.
|
||||
|
||||
11. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Library at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Library by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Library.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under any
|
||||
particular circumstance, the balance of the section is intended to apply,
|
||||
and the section as a whole is intended to apply in other circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
12. If the distribution and/or use of the Library is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Library under this License may add
|
||||
an explicit geographical distribution limitation excluding those countries,
|
||||
so that distribution is permitted only in or among countries not thus
|
||||
excluded. In such case, this License incorporates the limitation as if
|
||||
written in the body of this License.
|
||||
|
||||
13. The Free Software Foundation may publish revised and/or new
|
||||
versions of the Lesser General Public License from time to time.
|
||||
Such new versions will be similar in spirit to the present version,
|
||||
but may differ in detail to address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Library
|
||||
specifies a version number of this License which applies to it and
|
||||
"any later version", you have the option of following the terms and
|
||||
conditions either of that version or of any later version published by
|
||||
the Free Software Foundation. If the Library does not specify a
|
||||
license version number, you may choose any version ever published by
|
||||
the Free Software Foundation.
|
||||
|
||||
14. If you wish to incorporate parts of the Library into other free
|
||||
programs whose distribution conditions are incompatible with these,
|
||||
write to the author to ask for permission. For software which is
|
||||
copyrighted by the Free Software Foundation, write to the Free
|
||||
Software Foundation; we sometimes make exceptions for this. Our
|
||||
decision will be guided by the two goals of preserving the free status
|
||||
of all derivatives of our free software and of promoting the sharing
|
||||
and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
|
||||
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
|
||||
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
|
||||
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
|
||||
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
|
||||
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
|
||||
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
|
||||
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
|
||||
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
|
||||
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
|
||||
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
|
||||
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
|
||||
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
|
||||
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
|
||||
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
||||
DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Libraries
|
||||
|
||||
If you develop a new library, and you want it to be of the greatest
|
||||
possible use to the public, we recommend making it free software that
|
||||
everyone can redistribute and change. You can do so by permitting
|
||||
redistribution under these terms (or, alternatively, under the terms of the
|
||||
ordinary General Public License).
|
||||
|
||||
To apply these terms, attach the following notices to the library. It is
|
||||
safest to attach them to the start of each source file to most effectively
|
||||
convey the exclusion of warranty; and each file should have at least the
|
||||
"copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the library's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2.1 of the License, or (at your option) any later version.
|
||||
|
||||
This library is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with this library; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
|
||||
USA
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or your
|
||||
school, if any, to sign a "copyright disclaimer" for the library, if
|
||||
necessary. Here is a sample; alter the names:
|
||||
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the
|
||||
library `Frob' (a library for tweaking knobs) written by James Random
|
||||
Hacker.
|
||||
|
||||
<signature of Ty Coon>, 1 April 1990
|
||||
Ty Coon, President of Vice
|
||||
|
||||
That's all there is to it!
|
||||
@@ -1,103 +0,0 @@
|
||||
<h1 align="center">
|
||||
<br>
|
||||
<img width="100" alt="datapack_color" src="docs/README_Pictures/Nodex_IconSVG.svg" />
|
||||
<br>
|
||||
Nodex
|
||||
</h1>
|
||||
<h4 align="center">A work in progress minecraft in-game IDE mod for datapack development.</h4>
|
||||
<div align="center">
|
||||
|
||||
[](https://discord.com/invite/qZ885qTvkx)
|
||||
[](https://github.com/Frostzie/DataPack-IDE/releases)
|
||||
|
||||
[](https://fabricmc.net/)
|
||||
[](https://kotlinlang.org/)
|
||||
[](https://jdk.java.net/21/)
|
||||
|
||||
<code style="color: red"> This mod is currently in alpha and is in active development</code> <br>
|
||||
<code style="color: red"> many features of this mod have not been fully implemented</code>
|
||||
</div>
|
||||
|
||||
## 📝 Overview
|
||||
|
||||
Nodex is a minecraft mod that allows in game data pack editing with a built-in text editor.<br>
|
||||
**These screenshots are OLD**
|
||||
|
||||
| GUI | Menu |
|
||||
|:---------------------------------------------------------------------------:|:-----------------------------------------------------------------------------:|
|
||||
|  |  |
|
||||
|
||||
The goal of this mod aside from basic coding functionality expected from vscode is:
|
||||
- To provide in-game tools for debugging or fast implementation to speed up datapack development.
|
||||
- To provide a collaborative datapack programming environment (multiplayer support).
|
||||
|
||||
## ✅ What's implemented?
|
||||
|
||||
* Saving, loading, editing datapack files
|
||||
* Code Editor with JSON Syntax highlighting
|
||||
* [AtlantaFX themes](https://mkpaz.github.io/atlantafx/) support
|
||||
* File Tree
|
||||
* Project manager
|
||||
* Universal folders for datapacks and configs
|
||||
* Datapack Mirroring to a world
|
||||
|
||||
## 👷 Future plans
|
||||
* Multiplayer support
|
||||
* Plugin system
|
||||
* [SpyglassMC](https://github.com/SpyglassMC/Spyglass) plugin
|
||||
* [Beet](https://github.com/mcbeet/beet) plugin
|
||||
* [Datapack Icons](https://github.com/FuncFusion/mc-dp-icons) plugin
|
||||
|
||||
|
||||
## 🧪 Want to test out the mod?
|
||||
<details>
|
||||
<summary><b>click to view process to get experimental build for play testing</b></summary>
|
||||
<hr>
|
||||
go to Actions -> go to the latest workflow shown on top
|
||||
<img width="667" height="343" alt="image" src="https://github.com/user-attachments/assets/cec35fa7-c6ec-46b4-8ac1-407a5b29733e" />
|
||||
|
||||
Then download Artifacts.
|
||||
Unzip Artifact folder upon download and drag the jar file into your mod folder make sure to install the appropriate dependencies, such as [Fabric Language Kotlin](https://modrinth.com/mod/fabric-language-kotlin) and [Fabric API](https://modrinth.com/mod/fabric-api). Then you should be good to go!
|
||||
|
||||
Warning that this version isn't a stable build as it is a dev build, if the current artifact build is having issues, feel free to file a issue report.<br>
|
||||
If you are only interested in running a build for your own use, try older artifacts if the lastest isn't working.
|
||||
</details>
|
||||
<hr>
|
||||
|
||||
## ❓FAQ
|
||||
|
||||
#### Will we support other loaders?
|
||||
We plan on supporting all loaders as well as any server software. Support for other loaders will come while beta is being released and fabric will be the default until then and will be focused on first!
|
||||
|
||||
#### When will it be FULLY released?
|
||||
The beta release isn't expected any time soon as there isn't any exact set date. If you are looking for updates, check up on our discord where we have regular updates on our progress posted up on there.
|
||||
|
||||
#### What versions of minecraft will you be supporting?
|
||||
Currently supporting versions from 1.20.5 to newest!<br>
|
||||
Check the modrinth versions page for more info [here](https://modrinth.com/project/XlilVGvF).
|
||||
|
||||
## 🖐️ Want to support the project?
|
||||
Here's a donation link:<br>
|
||||
[](https://buymeacoffee.com/frostzie)
|
||||
<br>
|
||||
All proceeds goes to frostzie
|
||||
|
||||
## ☝️ Want to give feedback or request features?
|
||||
Any input is appreciated here
|
||||
<h4 align="left">
|
||||
<a href="https://github.com/Frostzie/DataPack-IDE/issues/new?title=Feedback%3A+&labels=feedback%2C&assignees=Frostzie%2C">🗒️ Open Feedback Issue</a>
|
||||
<br>
|
||||
<br>
|
||||
<a href="https://github.com/Frostzie/DataPack-IDE/issues/new?title=Feature%20Request%3A+&labels=featurerequest%2C&assignees=Frostzie%2C">💡 Open Feature Issue</a>
|
||||
</h4>
|
||||
|
||||
## License & Dependencies
|
||||
|
||||
Nodex is free software; you can redistribute it and/or modify it
|
||||
under the terms of the GNU Lesser General Public License as published by
|
||||
the Free Software Foundation; **either version 2.1 of the License, or
|
||||
(at your option) any later version**.
|
||||
|
||||
A copy of the GNU LGPL is provided in the [LICENSE](LICENSE) file.<br>
|
||||
|
||||
Dependencies used: [List](docs/SOFTWARE_USED.md)
|
||||
@@ -1,167 +0,0 @@
|
||||
import org.gradle.api.tasks.bundling.Jar
|
||||
import kotlin.String
|
||||
|
||||
plugins {
|
||||
id("fabric-loom")
|
||||
java
|
||||
`maven-publish`
|
||||
alias(libs.plugins.kotlin.jvm)
|
||||
alias(libs.plugins.javafx)
|
||||
}
|
||||
|
||||
val mcVersion = property("mcVersion")!!.toString()
|
||||
|
||||
val javafx = libs.versions.javafxapp.get()
|
||||
// http://insecure.repo1.maven.org/maven2/org/openjfx/javafx-base/21.0.8/
|
||||
val javafxClassifiers = listOf(
|
||||
"win",
|
||||
"mac",
|
||||
"mac-aarch64",
|
||||
"linux"
|
||||
)
|
||||
|
||||
fun javafxDep(module: String, classifier: String) =
|
||||
"org.openjfx:javafx-$module:$javafx:$classifier"
|
||||
|
||||
// Naming examples
|
||||
// Version Name: 0.0.1-fabric+mc1.20.5-1.21.8
|
||||
// Jar Name: Nodex-0.0.1-fabric+mc1.20.5-1.21.8.jar
|
||||
version = "${property("mod.version")}-fabric+mc${property("mod.mc_targets").toString().replace(" ", "-")}"
|
||||
group = project.findProperty("maven_group") as String
|
||||
|
||||
base.archivesName = property("mod.id") as String
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
maven("https://pkgs.dev.azure.com/djtheredstoner/DevAuth/_packaging/public/maven/v1")
|
||||
mavenLocal()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
minecraft("com.mojang:minecraft:$mcVersion")
|
||||
|
||||
mappings(loom.officialMojangMappings())
|
||||
|
||||
modImplementation("net.fabricmc:fabric-loader:${property("deps.fabric_loader")}")
|
||||
|
||||
modImplementation("net.fabricmc.fabric-api:fabric-api:${property("deps.fabric_api")}")
|
||||
|
||||
modImplementation(libs.fabric.kotlin)
|
||||
modRuntimeOnly(libs.devauth)
|
||||
|
||||
// Style and icon packs
|
||||
implementation(libs.atlantaFX)
|
||||
implementation(libs.ikonliJavaFX)
|
||||
implementation(libs.ikonliCore)
|
||||
implementation(libs.material2)
|
||||
implementation(libs.feather)
|
||||
|
||||
include(libs.atlantaFX)
|
||||
include(libs.ikonliJavaFX)
|
||||
include(libs.ikonliCore)
|
||||
include(libs.material2)
|
||||
include(libs.feather)
|
||||
|
||||
// RichTextFX and it's dependencies
|
||||
implementation(libs.richTextFX)
|
||||
implementation(libs.flowless)
|
||||
implementation(libs.reactFX)
|
||||
implementation(libs.undofx)
|
||||
implementation(libs.wellbehavedfx)
|
||||
|
||||
include(libs.richTextFX)
|
||||
include(libs.flowless)
|
||||
include(libs.reactFX)
|
||||
include(libs.undofx)
|
||||
include(libs.wellbehavedfx)
|
||||
|
||||
implementation(libs.jacksonCore)
|
||||
implementation(libs.directoryWatcher)
|
||||
implementation(libs.jsvg)
|
||||
include(libs.jsvg)
|
||||
include(libs.directoryWatcher)
|
||||
include(libs.jacksonCore)
|
||||
|
||||
// JavaFX
|
||||
for (classifier in javafxClassifiers) {
|
||||
implementation(javafxDep("base", classifier))
|
||||
implementation(javafxDep("graphics", classifier))
|
||||
implementation(javafxDep("web", classifier))
|
||||
implementation(javafxDep("media", classifier))
|
||||
implementation(javafxDep("controls", classifier))
|
||||
|
||||
include(javafxDep("base", classifier))
|
||||
include(javafxDep("graphics", classifier))
|
||||
include(javafxDep("web", classifier))
|
||||
include(javafxDep("media", classifier))
|
||||
include(javafxDep("controls", classifier))
|
||||
}
|
||||
}
|
||||
|
||||
// Taken from Stonecutter template
|
||||
loom {
|
||||
runConfigs.all {
|
||||
ideConfigGenerated(true)
|
||||
vmArgs("-Dmixin.debug.export=true") // Exports transformed classes for debugging
|
||||
runDir = "../../run" // Shares the run directory between versions
|
||||
}
|
||||
}
|
||||
|
||||
tasks.named<ProcessResources>("processResources") {
|
||||
inputs.property("id", project.findProperty("mod.id"))
|
||||
inputs.property("name", project.findProperty("mod.name"))
|
||||
inputs.property("version", project.findProperty("mod.version"))
|
||||
inputs.property("minecraft", project.findProperty("mod.mc_dep"))
|
||||
|
||||
val props = mapOf(
|
||||
"id" to project.property("mod.id"),
|
||||
"name" to project.property("mod.name"),
|
||||
"version" to project.property("mod.version"),
|
||||
"minecraft" to project.property("mod.mc_dep")
|
||||
)
|
||||
|
||||
filesMatching("fabric.mod.json") { expand(props) }
|
||||
}
|
||||
|
||||
tasks.withType<JavaCompile> {
|
||||
options.release.set(21)
|
||||
}
|
||||
|
||||
tasks.named<Jar>("jar") {
|
||||
from(rootProject.file("LICENSE")) {
|
||||
rename { "${it}_${project.findProperty("archives_base_name")}" }
|
||||
}
|
||||
from(rootProject.file("docs")) {
|
||||
into("docs")
|
||||
exclude("README_Pictures")
|
||||
}
|
||||
exclude("module-info.class")
|
||||
exclude("**/module-info.class")
|
||||
exclude("META-INF/MANIFEST.MF")
|
||||
exclude("META-INF/*.SF")
|
||||
exclude("META-INF/*.DSA")
|
||||
exclude("META-INF/*.RSA")
|
||||
|
||||
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
||||
}
|
||||
|
||||
tasks.named("remapJar") {
|
||||
doLast {
|
||||
copy {
|
||||
from(outputs.files)
|
||||
into(rootProject.file("build/libs"))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
publishing {
|
||||
publications {
|
||||
create<MavenPublication>("mavenJava") {
|
||||
artifactId = project.findProperty("archives_base_name") as String
|
||||
from(components["java"])
|
||||
}
|
||||
}
|
||||
repositories {
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,55 +0,0 @@
|
||||
# Nodex Changelog
|
||||
|
||||
## [0.0.1]
|
||||
|
||||
### Added
|
||||
- Initial release of DataPack IDE.
|
||||
- In-game IDE for editing datapack files.
|
||||
- UI built with JavaFX and AtlantaFX theme library.
|
||||
- Features include:
|
||||
- File tree view with directory selection and file moving.
|
||||
- Tabbed text editor with RichTextFX for code editing.
|
||||
- Dirty file indicators (suffix and color).
|
||||
- Customizable themes and font sizes.
|
||||
- Minecraft integration:
|
||||
- `/datapack-ide` command to open the IDE.
|
||||
- Keybinding to toggle the IDE window.
|
||||
- "Reload Datapack" button to execute `/reload`.
|
||||
|
||||
## [0.0.2]
|
||||
|
||||
**Rebrand from "Datapack IDE" to "Nodex"**
|
||||
|
||||
### Added
|
||||
- Updated to Minecraft version 1.21.11
|
||||
- Project Manager Screen with a recent project list.
|
||||
- Datapack validation and previews.
|
||||
- Universal Folder System for config and project sync between instances.
|
||||
- Datapack Mirroring System for universal folders.
|
||||
- JSON and mcmeta syntax highlighting (Non IntelliSense).
|
||||
- Custom Theme CSS editing and live reloading.
|
||||
- Toggle to show a button on the start and pause screen.
|
||||
- Added Notification when reloading datapack.
|
||||
- The Folder Button in LeftBar now collapses the FileTree.
|
||||
|
||||
### Fixes
|
||||
- TopBar's buttons adding white background.
|
||||
- Fixed crash with too much text in the settings search field.
|
||||
- Line & Column count always stays at 0.
|
||||
- Curser should be more visible by default on light themes.
|
||||
- Disabled non-functional buttons from being pressed.
|
||||
- Made TopBar buttons actually work.
|
||||
- Fixed Text Area and Fields not having limits causing crashes.
|
||||
- TextEditor not gaining focus on file open.
|
||||
- Curser not saving location.
|
||||
- Text no longer pushes buttons out in settings.
|
||||
|
||||
### Technical Changes
|
||||
- Migrated to mojang mappings.
|
||||
- Added Stonecutter for version control.
|
||||
- Removed ModMenu dependency.
|
||||
- Added support for SVG icons.
|
||||
- Added styles to Notification, Message, and Tab controls.
|
||||
- Massively improved file system watcher.
|
||||
- Removed multiple unused UI Screens.
|
||||
- Removed Assets folder from mods configs.
|
||||
@@ -1,21 +0,0 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) [2022] [mkpaz]
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
@@ -1,202 +0,0 @@
|
||||
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright [yyyy] [name of copyright owner]
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
@@ -1,21 +0,0 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2013-2023 Cole Bemis
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
@@ -1,23 +0,0 @@
|
||||
Copyright (c) 2014, TomasMikula
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
|
||||
* Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
||||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
@@ -1,202 +0,0 @@
|
||||
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright [yyyy] [name of copyright owner]
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
@@ -1,202 +0,0 @@
|
||||
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright [yyyy] [name of copyright owner]
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
@@ -1,392 +0,0 @@
|
||||
|
||||
GNU General Public License, version 2,
|
||||
with the Classpath Exception
|
||||
|
||||
The GNU General Public License (GPL)
|
||||
|
||||
Version 2, June 1991
|
||||
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
||||
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
Everyone is permitted to copy and distribute verbatim copies of this license
|
||||
document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your freedom to share
|
||||
and change it. By contrast, the GNU General Public License is intended to
|
||||
guarantee your freedom to share and change free software--to make sure the
|
||||
software is free for all its users. This General Public License applies to
|
||||
most of the Free Software Foundation's software and to any other program whose
|
||||
authors commit to using it. (Some other Free Software Foundation software is
|
||||
covered by the GNU Library General Public License instead.) You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not price. Our
|
||||
General Public Licenses are designed to make sure that you have the freedom to
|
||||
distribute copies of free software (and charge for this service if you wish),
|
||||
that you receive source code or can get it if you want it, that you can change
|
||||
the software or use pieces of it in new free programs; and that you know you
|
||||
can do these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid anyone to deny
|
||||
you these rights or to ask you to surrender the rights. These restrictions
|
||||
translate to certain responsibilities for you if you distribute copies of the
|
||||
software, or if you modify it.
|
||||
|
||||
For example, if you distribute copies of such a program, whether gratis or for
|
||||
a fee, you must give the recipients all the rights that you have. You must
|
||||
make sure that they, too, receive or can get the source code. And you must
|
||||
show them these terms so they know their rights.
|
||||
|
||||
We protect your rights with two steps: (1) copyright the software, and (2)
|
||||
offer you this license which gives you legal permission to copy, distribute
|
||||
and/or modify the software.
|
||||
|
||||
Also, for each author's protection and ours, we want to make certain that
|
||||
everyone understands that there is no warranty for this free software. If the
|
||||
software is modified by someone else and passed on, we want its recipients to
|
||||
know that what they have is not the original, so that any problems introduced
|
||||
by others will not reflect on the original authors' reputations.
|
||||
|
||||
Finally, any free program is threatened constantly by software patents. We
|
||||
wish to avoid the danger that redistributors of a free program will
|
||||
individually obtain patent licenses, in effect making the program proprietary.
|
||||
To prevent this, we have made it clear that any patent must be licensed for
|
||||
everyone's free use or not licensed at all.
|
||||
|
||||
The precise terms and conditions for copying, distribution and modification
|
||||
follow.
|
||||
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License applies to any program or other work which contains a notice
|
||||
placed by the copyright holder saying it may be distributed under the terms of
|
||||
this General Public License. The "Program", below, refers to any such program
|
||||
or work, and a "work based on the Program" means either the Program or any
|
||||
derivative work under copyright law: that is to say, a work containing the
|
||||
Program or a portion of it, either verbatim or with modifications and/or
|
||||
translated into another language. (Hereinafter, translation is included
|
||||
without limitation in the term "modification".) Each licensee is addressed as
|
||||
"you".
|
||||
|
||||
Activities other than copying, distribution and modification are not covered by
|
||||
this License; they are outside its scope. The act of running the Program is
|
||||
not restricted, and the output from the Program is covered only if its contents
|
||||
constitute a work based on the Program (independent of having been made by
|
||||
running the Program). Whether that is true depends on what the Program does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Program's source code as
|
||||
you receive it, in any medium, provided that you conspicuously and
|
||||
appropriately publish on each copy an appropriate copyright notice and
|
||||
disclaimer of warranty; keep intact all the notices that refer to this License
|
||||
and to the absence of any warranty; and give any other recipients of the
|
||||
Program a copy of this License along with the Program.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy, and you may
|
||||
at your option offer warranty protection in exchange for a fee.
|
||||
|
||||
2. You may modify your copy or copies of the Program or any portion of it, thus
|
||||
forming a work based on the Program, and copy and distribute such modifications
|
||||
or work under the terms of Section 1 above, provided that you also meet all of
|
||||
these conditions:
|
||||
|
||||
a) You must cause the modified files to carry prominent notices stating
|
||||
that you changed the files and the date of any change.
|
||||
|
||||
b) You must cause any work that you distribute or publish, that in whole or
|
||||
in part contains or is derived from the Program or any part thereof, to be
|
||||
licensed as a whole at no charge to all third parties under the terms of
|
||||
this License.
|
||||
|
||||
c) If the modified program normally reads commands interactively when run,
|
||||
you must cause it, when started running for such interactive use in the
|
||||
most ordinary way, to print or display an announcement including an
|
||||
appropriate copyright notice and a notice that there is no warranty (or
|
||||
else, saying that you provide a warranty) and that users may redistribute
|
||||
the program under these conditions, and telling the user how to view a copy
|
||||
of this License. (Exception: if the Program itself is interactive but does
|
||||
not normally print such an announcement, your work based on the Program is
|
||||
not required to print an announcement.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If identifiable
|
||||
sections of that work are not derived from the Program, and can be reasonably
|
||||
considered independent and separate works in themselves, then this License, and
|
||||
its terms, do not apply to those sections when you distribute them as separate
|
||||
works. But when you distribute the same sections as part of a whole which is a
|
||||
work based on the Program, the distribution of the whole must be on the terms
|
||||
of this License, whose permissions for other licensees extend to the entire
|
||||
whole, and thus to each and every part regardless of who wrote it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest your
|
||||
rights to work written entirely by you; rather, the intent is to exercise the
|
||||
right to control the distribution of derivative or collective works based on
|
||||
the Program.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Program with the
|
||||
Program (or with a work based on the Program) on a volume of a storage or
|
||||
distribution medium does not bring the other work under the scope of this
|
||||
License.
|
||||
|
||||
3. You may copy and distribute the Program (or a work based on it, under
|
||||
Section 2) in object code or executable form under the terms of Sections 1 and
|
||||
2 above provided that you also do one of the following:
|
||||
|
||||
a) Accompany it with the complete corresponding machine-readable source
|
||||
code, which must be distributed under the terms of Sections 1 and 2 above
|
||||
on a medium customarily used for software interchange; or,
|
||||
|
||||
b) Accompany it with a written offer, valid for at least three years, to
|
||||
give any third party, for a charge no more than your cost of physically
|
||||
performing source distribution, a complete machine-readable copy of the
|
||||
corresponding source code, to be distributed under the terms of Sections 1
|
||||
and 2 above on a medium customarily used for software interchange; or,
|
||||
|
||||
c) Accompany it with the information you received as to the offer to
|
||||
distribute corresponding source code. (This alternative is allowed only
|
||||
for noncommercial distribution and only if you received the program in
|
||||
object code or executable form with such an offer, in accord with
|
||||
Subsection b above.)
|
||||
|
||||
The source code for a work means the preferred form of the work for making
|
||||
modifications to it. For an executable work, complete source code means all
|
||||
the source code for all modules it contains, plus any associated interface
|
||||
definition files, plus the scripts used to control compilation and installation
|
||||
of the executable. However, as a special exception, the source code
|
||||
distributed need not include anything that is normally distributed (in either
|
||||
source or binary form) with the major components (compiler, kernel, and so on)
|
||||
of the operating system on which the executable runs, unless that component
|
||||
itself accompanies the executable.
|
||||
|
||||
If distribution of executable or object code is made by offering access to copy
|
||||
from a designated place, then offering equivalent access to copy the source
|
||||
code from the same place counts as distribution of the source code, even though
|
||||
third parties are not compelled to copy the source along with the object code.
|
||||
|
||||
4. You may not copy, modify, sublicense, or distribute the Program except as
|
||||
expressly provided under this License. Any attempt otherwise to copy, modify,
|
||||
sublicense or distribute the Program is void, and will automatically terminate
|
||||
your rights under this License. However, parties who have received copies, or
|
||||
rights, from you under this License will not have their licenses terminated so
|
||||
long as such parties remain in full compliance.
|
||||
|
||||
5. You are not required to accept this License, since you have not signed it.
|
||||
However, nothing else grants you permission to modify or distribute the Program
|
||||
or its derivative works. These actions are prohibited by law if you do not
|
||||
accept this License. Therefore, by modifying or distributing the Program (or
|
||||
any work based on the Program), you indicate your acceptance of this License to
|
||||
do so, and all its terms and conditions for copying, distributing or modifying
|
||||
the Program or works based on it.
|
||||
|
||||
6. Each time you redistribute the Program (or any work based on the Program),
|
||||
the recipient automatically receives a license from the original licensor to
|
||||
copy, distribute or modify the Program subject to these terms and conditions.
|
||||
You may not impose any further restrictions on the recipients' exercise of the
|
||||
rights granted herein. You are not responsible for enforcing compliance by
|
||||
third parties to this License.
|
||||
|
||||
7. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues), conditions
|
||||
are imposed on you (whether by court order, agreement or otherwise) that
|
||||
contradict the conditions of this License, they do not excuse you from the
|
||||
conditions of this License. If you cannot distribute so as to satisfy
|
||||
simultaneously your obligations under this License and any other pertinent
|
||||
obligations, then as a consequence you may not distribute the Program at all.
|
||||
For example, if a patent license would not permit royalty-free redistribution
|
||||
of the Program by all those who receive copies directly or indirectly through
|
||||
you, then the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Program.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under any
|
||||
particular circumstance, the balance of the section is intended to apply and
|
||||
the section as a whole is intended to apply in other circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any patents or
|
||||
other property right claims or to contest validity of any such claims; this
|
||||
section has the sole purpose of protecting the integrity of the free software
|
||||
distribution system, which is implemented by public license practices. Many
|
||||
people have made generous contributions to the wide range of software
|
||||
distributed through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing to
|
||||
distribute software through any other system and a licensee cannot impose that
|
||||
choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to be a
|
||||
consequence of the rest of this License.
|
||||
|
||||
8. If the distribution and/or use of the Program is restricted in certain
|
||||
countries either by patents or by copyrighted interfaces, the original
|
||||
copyright holder who places the Program under this License may add an explicit
|
||||
geographical distribution limitation excluding those countries, so that
|
||||
distribution is permitted only in or among countries not thus excluded. In
|
||||
such case, this License incorporates the limitation as if written in the body
|
||||
of this License.
|
||||
|
||||
9. The Free Software Foundation may publish revised and/or new versions of the
|
||||
General Public License from time to time. Such new versions will be similar in
|
||||
spirit to the present version, but may differ in detail to address new problems
|
||||
or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Program
|
||||
specifies a version number of this License which applies to it and "any later
|
||||
version", you have the option of following the terms and conditions either of
|
||||
that version or of any later version published by the Free Software Foundation.
|
||||
If the Program does not specify a version number of this License, you may
|
||||
choose any version ever published by the Free Software Foundation.
|
||||
|
||||
10. If you wish to incorporate parts of the Program into other free programs
|
||||
whose distribution conditions are different, write to the author to ask for
|
||||
permission. For software which is copyrighted by the Free Software Foundation,
|
||||
write to the Free Software Foundation; we sometimes make exceptions for this.
|
||||
Our decision will be guided by the two goals of preserving the free status of
|
||||
all derivatives of our free software and of promoting the sharing and reuse of
|
||||
software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR
|
||||
THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE
|
||||
STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE
|
||||
PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED,
|
||||
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
||||
FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND
|
||||
PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE,
|
||||
YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL
|
||||
ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE
|
||||
PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR
|
||||
INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA
|
||||
BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
|
||||
FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER
|
||||
OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest possible
|
||||
use to the public, the best way to achieve this is to make it free software
|
||||
which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest to attach
|
||||
them to the start of each source file to most effectively convey the exclusion
|
||||
of warranty; and each file should have at least the "copyright" line and a
|
||||
pointer to where the full notice is found.
|
||||
|
||||
One line to give the program's name and a brief idea of what it does.
|
||||
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it
|
||||
under the terms of the GNU General Public License as published by the Free
|
||||
Software Foundation; either version 2 of the License, or (at your option)
|
||||
any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc., 59
|
||||
Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program is interactive, make it output a short notice like this when it
|
||||
starts in an interactive mode:
|
||||
|
||||
Gnomovision version 69, Copyright (C) year name of author Gnomovision comes
|
||||
with ABSOLUTELY NO WARRANTY; for details type 'show w'. This is free
|
||||
software, and you are welcome to redistribute it under certain conditions;
|
||||
type 'show c' for details.
|
||||
|
||||
The hypothetical commands 'show w' and 'show c' should show the appropriate
|
||||
parts of the General Public License. Of course, the commands you use may be
|
||||
called something other than 'show w' and 'show c'; they could even be
|
||||
mouse-clicks or menu items--whatever suits your program.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or your school,
|
||||
if any, to sign a "copyright disclaimer" for the program, if necessary. Here
|
||||
is a sample; alter the names:
|
||||
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
||||
'Gnomovision' (which makes passes at compilers) written by James Hacker.
|
||||
|
||||
signature of Ty Coon, 1 April 1989
|
||||
|
||||
Ty Coon, President of Vice
|
||||
|
||||
This General Public License does not permit incorporating your program into
|
||||
proprietary programs. If your program is a subroutine library, you may
|
||||
consider it more useful to permit linking proprietary applications with the
|
||||
library. If this is what you want to do, use the GNU Library General Public
|
||||
License instead of this License.
|
||||
|
||||
|
||||
"CLASSPATH" EXCEPTION TO THE GPL
|
||||
|
||||
Certain source files distributed by Oracle America and/or its affiliates are
|
||||
subject to the following clarification and special exception to the GPL, but
|
||||
only where Oracle has expressly included in the particular source file's header
|
||||
the words "Oracle designates this particular file as subject to the "Classpath"
|
||||
exception as provided by Oracle in the LICENSE file that accompanied this code."
|
||||
|
||||
Linking this library statically or dynamically with other modules is making
|
||||
a combined work based on this library. Thus, the terms and conditions of
|
||||
the GNU General Public License cover the whole combination.
|
||||
|
||||
As a special exception, the copyright holders of this library give you
|
||||
permission to link this library with independent modules to produce an
|
||||
executable, regardless of the license terms of these independent modules,
|
||||
and to copy and distribute the resulting executable under terms of your
|
||||
choice, provided that you also meet, for each linked independent module,
|
||||
the terms and conditions of the license of that module. An independent
|
||||
module is a module which is not derived from or based on this library. If
|
||||
you modify this library, you may extend this exception to your version of
|
||||
the library, but you are not obligated to do so. If you do not wish to do
|
||||
so, delete this exception statement from your version.
|
||||
|
||||
|
||||
|
||||
|
||||
ADDITIONAL INFORMATION ABOUT LICENSING
|
||||
|
||||
Certain files distributed by Oracle America, Inc. and/or its affiliates are
|
||||
subject to the following clarification and special exception to the GPLv2,
|
||||
based on the GNU Project exception for its Classpath libraries, known as the
|
||||
GNU Classpath Exception.
|
||||
|
||||
Note that Oracle includes multiple, independent programs in this software
|
||||
package. Some of those programs are provided under licenses deemed
|
||||
incompatible with the GPLv2 by the Free Software Foundation and others.
|
||||
For example, the package includes programs licensed under the Apache
|
||||
License, Version 2.0 and may include FreeType. Such programs are licensed
|
||||
to you under their original licenses.
|
||||
|
||||
Oracle facilitates your further distribution of this package by adding the
|
||||
Classpath Exception to the necessary parts of its GPLv2 code, which permits
|
||||
you to use that code in combination with other independent modules not
|
||||
licensed under the GPLv2. However, note that this would not permit you to
|
||||
commingle code under an incompatible license with Oracle's GPLv2 licensed
|
||||
code by, for example, cutting and pasting such code into a file also
|
||||
containing Oracle's GPLv2 licensed code and then distributing the result.
|
||||
|
||||
Additionally, if you were to remove the Classpath Exception from any of the
|
||||
files to which it applies and distribute the result, you would likely be
|
||||
required to license some or all of the other code in that distribution under
|
||||
the GPLv2 as well, and since the GPLv2 is incompatible with the license terms
|
||||
of some items included in the distribution by Oracle, removing the Classpath
|
||||
Exception could therefore effectively compromise your ability to further
|
||||
distribute the package.
|
||||
|
||||
Failing to distribute notices associated with some files may also create
|
||||
unexpected legal consequences.
|
||||
|
||||
Proceed with caution and we recommend that you obtain the advice of a lawyer
|
||||
skilled in open source matters before removing the Classpath Exception or
|
||||
making modifications to this package which may subsequently be redistributed
|
||||
and/or involve the use of third party software.
|
||||
@@ -1,10 +0,0 @@
|
||||
Copyright (c) 2013-2014, Tomas Mikula
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
||||
|
||||
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
||||
|
||||
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
@@ -1,10 +0,0 @@
|
||||
Copyright (c) 2013-2023, Tomas Mikula and contributors
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
||||
|
||||
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
||||
|
||||
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
@@ -1,23 +0,0 @@
|
||||
Copyright (c) 2014, TomasMikula
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without modification,
|
||||
are permitted provided that the following conditions are met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
|
||||
* Redistributions in binary form must reproduce the above copyright notice, this
|
||||
list of conditions and the following disclaimer in the documentation and/or
|
||||
other materials provided with the distribution.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
||||
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
@@ -1,23 +0,0 @@
|
||||
Copyright (c) 2014, TomasMikula
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
|
||||
* Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
||||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
@@ -1,177 +0,0 @@
|
||||
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
@@ -1,21 +0,0 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2021-2024 Jannis Weis
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
Before Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 30 KiB |
@@ -1,507 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
width="111.20968mm"
|
||||
height="111.20968mm"
|
||||
viewBox="0 0 111.20968 111.20968"
|
||||
version="1.1"
|
||||
id="svg1"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<defs
|
||||
id="defs1">
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient1"
|
||||
id="linearGradient3"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="129.8987"
|
||||
y1="181.99385"
|
||||
x2="129.8987"
|
||||
y2="109.6276" />
|
||||
<linearGradient
|
||||
id="linearGradient1">
|
||||
<stop
|
||||
style="stop-color:#d03831;stop-opacity:1;"
|
||||
offset="0.41473991"
|
||||
id="stop1" />
|
||||
<stop
|
||||
style="stop-color:#d03831;stop-opacity:0.54562044;"
|
||||
offset="0.81502891"
|
||||
id="stop2" />
|
||||
<stop
|
||||
style="stop-color:#d03831;stop-opacity:0.18613139;"
|
||||
offset="0.99855489"
|
||||
id="stop3" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient6"
|
||||
gradientTransform="scale(0.93067071,1.0744939)"
|
||||
x1="83.748772"
|
||||
y1="132.62811"
|
||||
x2="134.92821"
|
||||
y2="132.62811"
|
||||
gradientUnits="userSpaceOnUse">
|
||||
<stop
|
||||
style="stop-color:#d03831;stop-opacity:1;"
|
||||
offset="0.41473991"
|
||||
id="stop4" />
|
||||
<stop
|
||||
style="stop-color:#d03831;stop-opacity:0.54562044;"
|
||||
offset="0.81502891"
|
||||
id="stop5" />
|
||||
<stop
|
||||
style="stop-color:#d03831;stop-opacity:0.18613139;"
|
||||
offset="0.99855489"
|
||||
id="stop6" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient17"
|
||||
id="linearGradient19"
|
||||
x1="129.90135"
|
||||
y1="94.800224"
|
||||
x2="129.90135"
|
||||
y2="172.73756"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
<linearGradient
|
||||
id="linearGradient17">
|
||||
<stop
|
||||
style="stop-color:#ff3131;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop20" />
|
||||
<stop
|
||||
style="stop-color:#f2f9ff;stop-opacity:0;"
|
||||
offset="1"
|
||||
id="stop21" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient24"
|
||||
id="linearGradient21"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="149.38574"
|
||||
y1="100.02102"
|
||||
x2="110.41704"
|
||||
y2="167.5168" />
|
||||
<linearGradient
|
||||
id="linearGradient24">
|
||||
<stop
|
||||
style="stop-color:#ff3131;stop-opacity:1;"
|
||||
offset="0.10401891"
|
||||
id="stop23" />
|
||||
<stop
|
||||
style="stop-color:#f2f9ff;stop-opacity:0;"
|
||||
offset="0.64984226"
|
||||
id="stop24" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient17-1"
|
||||
id="linearGradient22"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="110.41702"
|
||||
y1="100.02103"
|
||||
x2="149.38568"
|
||||
y2="167.51675" />
|
||||
<linearGradient
|
||||
id="linearGradient17-1">
|
||||
<stop
|
||||
style="stop-color:#ff3131;stop-opacity:1;"
|
||||
offset="0.10638298"
|
||||
id="stop19" />
|
||||
<stop
|
||||
style="stop-color:#f2f9ff;stop-opacity:0;"
|
||||
offset="0.59936911"
|
||||
id="stop22" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient851"
|
||||
id="linearGradient852"
|
||||
x1="118.77145"
|
||||
y1="158.73622"
|
||||
x2="105.73347"
|
||||
y2="181.31865"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
<linearGradient
|
||||
id="linearGradient851">
|
||||
<stop
|
||||
style="stop-color:#cd2e2e;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop851" />
|
||||
<stop
|
||||
style="stop-color:#5f74cc;stop-opacity:0;"
|
||||
offset="0.82742316"
|
||||
id="stop852" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient854"
|
||||
id="linearGradient855"
|
||||
x1="107.26515"
|
||||
y1="143.39305"
|
||||
x2="107.89261"
|
||||
y2="146.41925"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(1,0.12583549,0,1,0,-12.622806)" />
|
||||
<linearGradient
|
||||
id="linearGradient854">
|
||||
<stop
|
||||
style="stop-color:#b02f23;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop854" />
|
||||
<stop
|
||||
style="stop-color:#511510;stop-opacity:1;"
|
||||
offset="1"
|
||||
id="stop855" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient1"
|
||||
id="linearGradient8"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="129.8987"
|
||||
y1="181.99385"
|
||||
x2="129.8987"
|
||||
y2="109.6276" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient1"
|
||||
id="linearGradient9"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="129.8987"
|
||||
y1="181.99385"
|
||||
x2="129.8987"
|
||||
y2="109.6276" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient1"
|
||||
id="linearGradient10"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="129.8987"
|
||||
y1="181.99385"
|
||||
x2="129.8987"
|
||||
y2="109.6276" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient1"
|
||||
id="linearGradient11"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="129.8987"
|
||||
y1="181.99385"
|
||||
x2="129.8987"
|
||||
y2="109.6276" />
|
||||
</defs>
|
||||
<g
|
||||
id="layer1"
|
||||
style="display:none"
|
||||
transform="translate(-43.988069,-70.819257)">
|
||||
<rect
|
||||
style="opacity:0;fill:#ffffff;stroke-width:6.00001;stroke-linejoin:round"
|
||||
id="rect7"
|
||||
width="139.48326"
|
||||
height="110.04089"
|
||||
x="80.230484"
|
||||
y="34.474258"
|
||||
ry="30.730484" />
|
||||
<g
|
||||
id="layer1-8"
|
||||
transform="translate(-25.980751,-10.009155)">
|
||||
<rect
|
||||
style="display:inline;opacity:0;fill:#222034;fill-opacity:1;stroke:none;stroke-width:2.75941;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect857"
|
||||
width="138.564"
|
||||
height="138.564"
|
||||
x="60.621765"
|
||||
y="66.587502" />
|
||||
<g
|
||||
id="g90"
|
||||
style="display:inline">
|
||||
<path
|
||||
d="m 134.23418,72.499967 v 54.999743 l 47.6312,-27.49961 z"
|
||||
style="display:inline;fill:url(#linearGradient8);stroke-width:5.56644"
|
||||
id="path90" />
|
||||
<path
|
||||
d="m 186.19535,107.4999 -47.63068,27.50013 47.63068,27.50013 z"
|
||||
style="display:inline;fill:url(#linearGradient9);stroke-width:5.56644"
|
||||
id="path89" />
|
||||
<path
|
||||
d="m 181.86538,169.99996 -47.6312,-27.49961 v 54.99974 z"
|
||||
style="display:inline;fill:url(#linearGradient10);stroke-width:5.56644"
|
||||
id="path88" />
|
||||
<path
|
||||
d="M 125.57373,197.50009 V 142.5081 l -47.631201,27.49186 z"
|
||||
style="display:inline;fill:url(#linearGradient6);stroke-width:5.56644"
|
||||
id="path87" />
|
||||
<path
|
||||
d="m 125.5634,127.49403 0.01,-54.994063 -47.630681,27.500133 z"
|
||||
style="display:inline;fill:url(#linearGradient11);stroke-width:5.56644"
|
||||
id="path86" />
|
||||
<path
|
||||
d="M 73.612044,162.50016 121.24376,135.00003 73.612044,107.4999 Z"
|
||||
style="display:inline;fill:url(#linearGradient3);stroke-width:5.56644"
|
||||
id="path85" />
|
||||
</g>
|
||||
<g
|
||||
id="g1143"
|
||||
style="display:inline"
|
||||
clip-path="none">
|
||||
<g
|
||||
id="g1102"
|
||||
style="display:inline;fill:#d6dcf3;fill-opacity:1;stroke:none;stroke-width:5.56644;stroke-dasharray:none;stroke-opacity:1"
|
||||
transform="matrix(-1.0004925,0,0,-1.0004925,259.87158,290.0947)">
|
||||
<path
|
||||
id="path1099"
|
||||
style="display:inline;fill:#f2f9ff;stroke-width:0.001"
|
||||
d="M 110.41813,64.55551 83.582326,80.121872 110.41813,95.688834 137.25394,80.122472 Z m -35.780716,20.755507 -4.47299,2.594572 v 46.700251 l 35.781256,20.7556 v -51.88888 z m 71.561966,8.5e-5 -31.30826,18.161468 v 51.88888 l 35.78072,-20.75551 V 87.905685 Z"
|
||||
transform="matrix(-0.96766441,1.1437994e-6,0,-0.96311437,236.7516,252.17524)" />
|
||||
<path
|
||||
id="path1100"
|
||||
style="display:inline;fill:#d6dcf3;fill-opacity:1;stroke:none;stroke-width:5.56644;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 168.85547,167.51218 5.1e-4,-44.97768 -34.62424,-19.98997 v 44.97769 z" />
|
||||
<path
|
||||
id="path1101"
|
||||
style="display:inline;fill:#d6dcf3;fill-opacity:1;stroke:none;stroke-width:5.56644;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 90.951823,167.51218 125.57555,147.52222 V 102.54453 L 90.951823,122.5345 Z" />
|
||||
<path
|
||||
id="path1102"
|
||||
style="display:inline;fill:#f2f9ff;fill-opacity:1;stroke:none;stroke-width:0.00099951;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 129.9039,189.98966 25.96444,-14.98292 -25.96444,-14.99066 -25.96495,14.99066 z m 34.6227,-19.97912 4.32938,-2.49836 -34.62424,-19.98996 v 4.99723 z m -69.245907,0 30.294857,-17.49109 v -4.99723 l -34.623727,19.98996 z" />
|
||||
</g>
|
||||
<path
|
||||
id="path1947"
|
||||
style="baseline-shift:baseline;display:inline;overflow:visible;opacity:0.07;vector-effect:none;fill:#6e1b1b;stroke-linejoin:round;enable-background:accumulate;stop-color:#000000;stop-opacity:1"
|
||||
d="m 125.78354,102.3891 -0.40153,0.23151 4.1212,2.37918 -3.92896,2.26808 -4.12172,-2.3797 -0.40204,0.23203 4.12223,2.3797 -3.92896,2.26808 -4.12274,-2.38022 -0.40153,0.23203 4.12275,2.38021 -3.92845,2.26808 -4.12378,-2.38073 -0.40204,0.23151 4.1243,2.38125 -3.92896,2.26808 -4.12481,-2.38177 -0.40153,0.23203 4.12481,2.38125 -3.92844,2.26859 -4.12585,-2.38228 -0.20102,0.11576 25.97723,14.99805 25.97722,-14.99805 -0.2005,-0.11576 -4.12585,2.38228 -3.92947,-2.26859 4.12533,-2.38177 -0.40101,-0.23099 -4.12481,2.38125 -3.92948,-2.2686 4.12378,-2.38073 -0.40049,-0.23151 -4.1243,2.38125 -3.92948,-2.26911 4.12327,-2.38022 -0.40101,-0.23151 -4.12275,2.38022 -3.92947,-2.26808 4.12171,-2.3797 -0.40101,-0.23151 -4.12171,2.3797 -3.92948,-2.26911 4.12068,-2.37867 -0.40049,-0.23099 -4.12016,2.37866 z m 4.11964,2.8422 3.92948,2.2686 -3.92844,2.26808 -3.92948,-2.2686 z m -4.32997,2.50011 3.92948,2.26859 -3.92896,2.26808 -3.92948,-2.26859 z m 8.66046,0 3.92947,2.26808 -3.92896,2.26859 -3.92947,-2.26859 z m -12.99094,2.49959 3.92947,2.26859 -3.92895,2.2686 -3.92896,-2.2686 z m 17.32142,0 3.92948,2.26859 -3.92948,2.2686 -3.92947,-2.2686 z m -8.66097,5.1e-4 3.92948,2.26808 -3.92896,2.2686 -3.92896,-2.2686 z m -12.99042,2.49959 3.92948,2.2686 -3.92896,2.26859 -3.92948,-2.26859 z m 8.66045,0 3.92948,2.2686 -3.92948,2.26859 -3.92896,-2.26859 z m 8.66046,0 3.92947,2.2686 -3.92896,2.26859 -3.92947,-2.26859 z m 8.66045,0 3.92948,2.2686 -3.92896,2.26859 -3.92948,-2.26859 z m -30.31133,2.50011 3.92948,2.26859 -3.92896,2.26808 -3.92948,-2.26859 z m 8.66046,0 3.92947,2.26859 -3.92947,2.2686 -3.92896,-2.2686 z m 8.66045,0 3.92947,2.26859 -3.92947,2.2686 -3.92948,-2.2686 z m 8.66045,0 3.92948,2.26859 -3.92948,2.2686 -3.92947,-2.2686 z m 8.66046,0 3.92947,2.26859 -3.92999,2.2686 -3.92896,-2.2686 z m -21.6514,2.49959 3.93,2.26911 -3.92948,2.2686 -3.92999,-2.26912 z m 8.66046,0 3.92999,2.26911 -3.92999,2.2686 -3.92948,-2.2686 z m 8.66045,0 3.92948,2.26859 -3.92948,2.26912 -3.92948,-2.2686 z m -25.98136,5.2e-4 3.92948,2.26859 -3.92896,2.26808 -3.92896,-2.2686 z m 47.6312,2.26911 -30.30978,17.4997 v 0.23048 l 4.13102,2.38487 v 4.76818 l -3.93206,2.27015 v -4.65398 a 0.20002,0.20002 0 0 0 -0.0992,-0.17363 l -0.0997,-0.0574 v 45.23083 l 0.19896,-0.11473 v -4.76818 l 3.93206,-2.27015 v 4.76819 l 0.39842,-0.23048 v -4.76767 l 3.93155,-2.26962 v 4.76766 l 0.39842,-0.22996 v -4.76818 l 3.93154,-2.26963 v 4.76767 l 0.39843,-0.22996 v -4.76767 l 3.93154,-2.27015 v 4.76819 l 0.39843,-0.22996 v -4.76819 l 3.93154,-2.27014 v 4.76818 l 0.39843,-0.22996 v -4.76818 l 3.93206,-2.27015 v 4.76819 l 0.39842,-0.22996 v -4.76819 l 3.93154,-2.27014 v 4.76818 l 0.39843,-0.22996 v -4.76818 l 4.13101,-2.38487 v -0.4625 l -4.13101,2.38486 v -4.53771 l 4.13101,-2.38486 v -0.46251 l -4.13101,2.38487 v -4.53719 l 4.13101,-2.38487 v -0.4625 l -4.13101,2.38487 v -4.53771 l 4.13101,-2.38487 v -0.4625 l -4.13101,2.38486 v -4.53719 l 4.13101,-2.38486 v -0.46251 l -4.13101,2.38487 v -4.53771 l 4.13101,-2.38487 v -0.46353 l -4.13101,2.38486 v -4.53615 l 4.13101,-2.38487 v -0.46405 l -4.13101,2.38486 v -4.53615 l 4.13101,-2.38487 v -0.46354 l -4.13101,2.38487 v -4.65295 a 0.20002,0.20002 0 0 0 -0.0997,-0.17415 l -4.02817,-2.32595 4.12894,-2.38332 z m -69.280007,5.1e-4 -0.200505,0.11576 4.127913,2.3828 -4.029211,2.32647 a 0.20002,0.20002 0 0 0 -0.09973,0.17415 v 4.65346 l -4.129464,-2.38435 v 0.46251 l 4.129464,2.38435 v 4.53771 l -4.129464,-2.38435 v 0.46198 l 4.129464,2.38435 v 4.53771 l -4.129464,-2.38435 v 0.46199 l 4.129464,2.38435 v 4.53822 l -4.129464,-2.38435 v 0.46199 l 4.129464,2.38435 v 4.53771 l -4.129981,-2.38435 v 0.46198 l 4.129981,2.38435 v 4.53823 l -4.129981,-2.38435 v 0.46199 l 4.129981,2.38435 v 4.5377 l -4.129981,-2.38435 v 0.46199 l 4.129981,2.38435 v 4.53823 l -4.129981,-2.38435 v 0.46198 l 4.129981,2.38435 v 4.7687 l 0.400492,0.23151 v -4.7687 l 3.929476,2.2686 v 4.7687 l 0.400492,0.23099 v -4.7687 l 3.93,2.26911 v 4.76871 l 0.39996,0.23099 v -4.7687 l 3.93001,2.26911 v 4.76818 l 0.40049,0.23152 v -4.76871 l 3.92947,2.2686 v 4.7687 l 0.4005,0.23151 v -4.7687 l 3.92946,2.2686 v 4.7687 l 0.40049,0.23099 v -4.7687 l 3.92948,2.26859 v 4.76871 l 0.4005,0.23151 v -4.76871 l 3.93,2.2686 v 4.7687 l 0.2005,0.11576 v -45.23083 l -0.0992,0.0574 a 0.20002,0.20002 0 0 0 -0.10128,0.17363 v 4.65346 l -3.93,-2.26859 v -4.76922 l 4.1305,-2.38435 v -0.231 z m 25.979297,0.22996 3.92947,2.2686 -3.92896,2.26859 -3.92999,-2.26859 z m 8.66045,0 3.92947,2.2686 -3.92947,2.26911 -3.92948,-2.26911 z m 8.66045,0 3.92948,2.2686 -3.92999,2.26911 -3.92948,-2.26911 z m -38.971779,2.50011 3.929479,2.2686 -4.029732,2.32647 a 0.20002,0.20002 0 0 0 -0.09974,0.17415 v 4.65294 l -3.929476,-2.26859 v -4.76922 z m 25.981359,0 3.92948,2.2686 -3.92948,2.26859 -3.92948,-2.26859 z m 8.66045,0 3.92948,2.2686 -3.92999,2.26859 -3.92948,-2.26859 z m 25.98188,0 4.12946,2.38435 v 4.76767 l -3.93154,2.27014 v -4.65294 a 0.20002,0.20002 0 0 0 -0.0997,-0.17415 l -4.0287,-2.32596 z m -56.2932,2.5001Line truncated
|
||||
<g
|
||||
id="g1129"
|
||||
style="display:inline;opacity:0.280928;fill:url(#linearGradient19);stroke:none;stroke-width:5.56644;stroke-dasharray:none;stroke-opacity:1"
|
||||
transform="matrix(-1.0004925,0,0,-1.0004925,259.87158,290.0947)">
|
||||
<path
|
||||
id="path1128"
|
||||
style="display:inline;fill:url(#linearGradient21);stroke:none;stroke-width:5.56644;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 168.85598,167.51218 V 122.5345 l -34.62424,-19.98997 v 44.97769 z" />
|
||||
<path
|
||||
id="path1129"
|
||||
style="display:inline;fill:url(#linearGradient22);stroke:none;stroke-width:5.56644;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 90.951823,167.51218 125.57555,147.52222 V 102.54453 L 90.951823,122.5345 Z" />
|
||||
</g>
|
||||
</g>
|
||||
<g
|
||||
id="g1142"
|
||||
style="display:inline"
|
||||
transform="matrix(1.6267457,0.71704367,0,1.6267457,-54.654511,-149.52689)">
|
||||
<path
|
||||
style="display:inline;opacity:0.707373;fill:url(#linearGradient852);fill-opacity:1;stroke:none;stroke-width:5.26899;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 99.214593,152.71842 0.333574,20.32055 25.980763,13.54745 -0.23851,-21.70879 z"
|
||||
id="path1130"
|
||||
transform="matrix(0.61472424,-0.23659226,0,0.61472424,32.560227,73.198412)" />
|
||||
<path
|
||||
style="display:inline;fill:url(#linearGradient855);fill-opacity:1"
|
||||
d="m 100.134,135.26491 c 0.22489,-0.1966 0.506,-0.32988 0.84332,-0.39987 0.33732,-0.07 0.67466,-0.0276 1.01199,0.12738 0.33733,0.15489 0.61844,0.35892 0.84333,0.61211 0.22489,0.25319 0.44977,0.50637 0.67466,0.75957 l 0.67466,0.75956 c 0.22489,0.25318 0.44978,0.50636 0.67467,0.75955 0.22489,0.25319 0.44977,0.50637 0.67466,0.75957 l 0.67466,0.75955 c 0.22489,0.25319 0.44978,0.50637 0.67467,0.75955 0.22489,0.2532 0.44977,0.50639 0.67466,0.75957 l 0.67466,0.75956 c 0.22489,0.25319 0.44978,0.50637 0.67467,0.75956 0.22489,0.25319 0.39355,0.55553 0.506,0.907 0.11244,0.35148 0.16866,0.75211 0.16866,1.20188 0,0.44978 -0.0562,0.83626 -0.16866,1.15944 -0.11245,0.32319 -0.28111,0.58307 -0.506,0.77966 -0.22489,0.19659 -0.44978,0.39318 -0.67467,0.58977 l -0.67466,0.58976 -0.67466,0.58976 c -0.22489,0.1966 -0.506,0.32989 -0.84333,0.39989 -0.33733,0.07 -0.67467,0.14 -1.012,0.20999 -0.33733,0.07 -0.61844,0.20328 -0.84333,0.39988 -0.22489,0.19658 -0.506,0.32987 -0.84333,0.39987 -0.33733,0.07 -0.73088,0.0767 -1.18066,0.0201 l -1.34931,-0.16974 c -0.44977,-0.0566 -0.843334,-0.16232 -1.180664,-0.31723 -0.33733,-0.1549 -0.61844,-0.35893 -0.843328,-0.61212 -0.224887,-0.25318 -0.505997,-0.45722 -0.843329,-0.61212 -0.337331,-0.15489 -0.674663,-0.30978 -1.011995,-0.46468 -0.337332,-0.15488 -0.618442,-0.35892 -0.843329,-0.61212 L 95.411351,146.14 94.736688,145.38044 c -0.224888,-0.25319 -0.449776,-0.50637 -0.674663,-0.75957 -0.224888,-0.25318 -0.393554,-0.55552 -0.505998,-0.907 -0.112444,-0.35147 -0.168666,-0.75211 -0.168666,-1.20189 0,-0.44977 0.05622,-0.83624 0.168666,-1.15943 0.112444,-0.32318 0.28111,-0.58306 0.505998,-0.77966 l 0.674663,-0.58976 0.674663,-0.58976 c 0.224888,-0.19659 0.449776,-0.39318 0.674664,-0.58978 l 0.674663,-0.58976 0.674664,-0.58976 c 0.224887,-0.1966 0.449775,-0.39318 0.674663,-0.58978 l 0.674663,-0.58976 0.674668,-0.58976 c 0.22488,-0.1966 0.44977,-0.39318 0.674664,-0.58977"
|
||||
id="path1131" />
|
||||
<path
|
||||
style="display:inline;fill:#94291e;fill-opacity:1"
|
||||
d="m 98.962644,136.28074 c 0.224888,-0.1966 0.505998,-0.32988 0.843329,-0.39987 0.337327,-0.07 0.674667,-0.0276 1.011997,0.12738 0.33733,0.15489 0.61844,0.35893 0.84333,0.61211 0.22489,0.25319 0.44977,0.50639 0.67466,0.75957 l 0.67466,0.75956 c 0.22489,0.25318 0.44978,0.50636 0.67467,0.75956 0.22489,0.25318 0.44977,0.50637 0.67466,0.75956 l 0.67466,0.75956 c 0.22489,0.25319 0.44978,0.50636 0.67467,0.75956 0.22489,0.25318 0.44977,0.50637 0.67466,0.75956 l 0.67466,0.75956 c 0.22489,0.25319 0.44978,0.50636 0.67467,0.75956 0.22489,0.25318 0.39355,0.55552 0.506,0.90699 0.11244,0.35148 0.16866,0.75211 0.16866,1.20188 0,0.44978 -0.0562,0.83626 -0.16866,1.15944 -0.11245,0.32319 -0.28111,0.58307 -0.506,0.77967 -0.22489,0.19658 -0.44978,0.39318 -0.67467,0.58977 l -0.67466,0.58976 -0.67466,0.58977 c -0.22489,0.19658 -0.506,0.32988 -0.84333,0.39988 -0.33733,0.07 -0.67467,0.13999 -1.012,0.20998 -0.33733,0.07 -0.61844,0.20328 -0.84333,0.39988 -0.22489,0.19658 -0.506,0.32988 -0.84333,0.39988 -0.33733,0.0699 -0.73088,0.0767 -1.18066,0.0201 l -1.349323,-0.16984 c -0.449775,-0.0566 -0.843329,-0.16232 -1.180661,-0.31723 -0.337331,-0.1549 -0.618441,-0.35892 -0.843329,-0.61212 -0.224887,-0.25318 -0.505997,-0.45722 -0.843329,-0.61212 -0.337331,-0.15489 -0.674663,-0.30978 -1.011995,-0.46467 -0.337332,-0.15489 -0.618442,-0.35893 -0.843329,-0.61213 L 94.24,147.15574 93.565337,146.39618 c -0.224888,-0.25319 -0.449776,-0.50637 -0.674663,-0.75956 -0.224888,-0.25319 -0.393554,-0.55553 -0.505998,-0.907 -0.112444,-0.35148 -0.168666,-0.7521 -0.168666,-1.20188 0,-0.44977 0.05622,-0.83626 0.168666,-1.15944 0.112444,-0.32319 0.28111,-0.58307 0.505998,-0.77966 l 0.674663,-0.58977 0.674663,-0.58976 c 0.224888,-0.19659 0.449776,-0.39318 0.674664,-0.58978 l 0.674663,-0.58976 0.674664,-0.58976 c 0.224887,-0.19659 0.449775,-0.39318 0.674663,-0.58978 l 0.674663,-0.58976 0.674664,-0.58976 c 0.224887,-0.1966 0.449775,-0.39318 0.674663,-0.58977"
|
||||
id="path1132" />
|
||||
<g
|
||||
id="g1141"
|
||||
style="display:inline;opacity:1">
|
||||
<path
|
||||
style="display:inline;fill:#2d0000;fill-opacity:1"
|
||||
d="m 98.962644,136.28074 c 0.224888,-0.19659 0.505998,-0.32988 0.843329,-0.39987 0.337327,-0.07 0.674667,-0.0275 1.011997,0.12738 0.33733,0.15489 0.61844,0.35893 0.84333,0.61211 0.22489,0.25319 0.44977,0.50638 0.67466,0.75957 l 0.67466,0.75956 c 0.22489,0.25319 0.44978,0.50637 0.67467,0.75956 l 0.67466,0.75956 0.67466,0.75956 c 0.22489,0.25319 0.44978,0.50637 0.67467,0.75956 0.22489,0.25319 0.44977,0.50638 0.67466,0.75956 l 0.67466,0.75956 c 0.22489,0.25319 0.44978,0.50637 0.67467,0.75956 0.22489,0.25319 0.39355,0.55552 0.506,0.90699 0.11244,0.35148 0.16866,0.75211 0.16866,1.20188 0,0.44978 -0.0562,0.83626 -0.16866,1.15944 -0.11245,0.32319 -0.28111,0.58308 -0.506,0.77967 l -0.67467,0.58977 -0.67466,0.58976 c -0.22489,0.19659 -0.44977,0.39318 -0.67466,0.58977 -0.22489,0.19659 -0.506,0.32989 -0.84333,0.39988 l -1.012,0.20998 c -0.33733,0.07 -0.61844,0.20329 -0.84333,0.39988 -0.22489,0.19659 -0.506,0.32988 -0.84333,0.39988 -0.33733,0.07 -0.73088,0.0767 -1.18066,0.0201 -0.44977,-0.0566 -0.89955,-0.11321 -1.349323,-0.16984 -0.449775,-0.0566 -0.843329,-0.16234 -1.180661,-0.31723 -0.337331,-0.15489 -0.618441,-0.35893 -0.843329,-0.61212 -0.224887,-0.25319 -0.505997,-0.45723 -0.843329,-0.61212 l -1.011995,-0.46467 c -0.337332,-0.15489 -0.618442,-0.35894 -0.843329,-0.61213 -0.224888,-0.25318 -0.449776,-0.50636 -0.674664,-0.75955 l -0.674663,-0.75956 -0.674663,-0.75956 c -0.224888,-0.25319 -0.393554,-0.55552 -0.505998,-0.907 -0.112444,-0.35147 -0.168666,-0.7521 -0.168666,-1.20188 0,-0.44977 0.05622,-0.83625 0.168666,-1.15944 0.112444,-0.32318 0.28111,-0.58307 0.505998,-0.77966 l 0.674663,-0.58977 0.674663,-0.58976 c 0.224888,-0.19659 0.449776,-0.39318 0.674664,-0.58978 l 0.674663,-0.58976 0.674664,-0.58976 c 0.224887,-0.19659 0.449775,-0.39318 0.674663,-0.58978 l 0.674663,-0.58976 0.674664,-0.58976 0.674663,-0.58977"
|
||||
id="path1133" />
|
||||
<path
|
||||
style="display:inline;opacity:1;fill:#720000;fill-opacity:1"
|
||||
d="m 96.949099,142.3149 4.674871,-3.598 0.52221,0.17818 c 0.36268,0.12375 0.63952,0.34051 0.86441,0.5937 l 0.67467,0.75955 0.67466,0.75956 c 0.22489,0.25319 0.44977,0.50638 0.67466,0.75956 0.22489,0.25319 0.44978,0.50638 0.67467,0.75955 l 0.67466,0.75956 c 0.22489,0.25319 0.39355,0.55553 0.506,0.907 0.11244,0.35149 0.16866,0.75212 0.16866,1.20189 0,0.44978 -0.0562,0.83626 -0.16866,1.15943 -0.11245,0.32319 -0.28111,0.58307 -0.506,0.77966 -0.22489,0.19659 -0.44977,0.39318 -0.67466,0.58977 -0.22489,0.1966 -0.506,0.32989 -0.84333,0.39988 l -1.012,0.21 c -0.33733,0.07 -0.61844,0.20328 -0.84333,0.39987 -0.22489,0.19659 -0.506,0.32988 -0.84333,0.39987 -0.33733,0.07 -0.73088,0.0767 -1.18066,0.0201 -0.44977,-0.0566 -0.89955,-0.11318 -1.349323,-0.16974 -0.449775,-0.0566 -0.843329,-0.16235 -1.180661,-0.31724 -0.337331,-0.15489 -0.569247,-0.41598 -0.695746,-0.78329 l -0.189749,-0.55097"
|
||||
id="path1134" />
|
||||
<path
|
||||
style="display:inline;opacity:1;fill:#ff0000;fill-opacity:1"
|
||||
d="m 101.6613,139.99364 0.50599,0.23235 c 0.33733,0.15489 0.506,0.34477 0.506,0.56966 0,0.22489 -0.16164,0.36619 -0.48491,0.4239 l -0.48492,0.0866 c 0.0234,0.16648 -0.53328,-0.11289 -0.71162,-0.0337 -0.73806,0.32779 -0.68181,-1.45805 -0.31617,-0.63988"
|
||||
id="path1135" />
|
||||
<path
|
||||
style="display:inline;opacity:1;fill:#aa0f01;fill-opacity:1"
|
||||
d="m 98.962644,137.63007 c 0.224888,-0.19659 0.505998,-0.32989 0.843329,-0.39988 0.337327,-0.07 0.674667,-0.0275 1.011997,0.12738 0.33733,0.1549 0.56222,0.40809 0.67466,0.75957 0.11245,0.35147 0.16867,0.7521 0.16867,1.20188 v 1.34932 c 0,0.44978 0.0562,0.85041 0.16866,1.20189 0.11245,0.35148 0.28111,0.65381 0.506,0.907 0.22489,0.25319 0.33733,0.49223 0.33733,0.71712 0,0.22489 -0.11244,0.43562 -0.33733,0.63221 -0.22489,0.19659 -0.33733,0.40732 -0.33733,0.63221 0,0.22489 0.11244,0.46393 0.33733,0.71712 0.22489,0.25319 0.33733,0.49222 0.33733,0.71711 0,0.22489 -0.11244,0.32318 -0.33733,0.29488 -0.22489,-0.0283 -0.44977,-0.16908 -0.67466,-0.42223 -0.22489,-0.25318 -0.44978,-0.39392 -0.67467,-0.42222 -0.22489,-0.0283 -0.44977,0.0558 -0.67466,0.25243 l -0.674663,0.58976 -0.674663,0.58978 c -0.224888,0.19659 -0.505998,0.32987 -0.843329,0.39986 -0.337332,0.07 -0.730886,0.0767 -1.180661,0.0201 -0.449775,-0.0566 -0.843329,-0.16234 -1.180661,-0.31723 -0.337332,-0.15489 -0.618442,-0.35893 -0.843329,-0.61212 -0.224888,-0.25318 -0.449776,-0.50637 -0.674664,-0.75956 -0.224887,-0.25319 -0.393553,-0.55552 -0.505997,-0.90701 -0.112444,-0.35147 -0.168666,-0.7521 -0.168666,-1.20188 0,-0.44977 0.05622,-0.83625 0.168666,-1.15944 0.112444,-0.32317 0.28111,-0.58306 0.505997,-0.77965 0.224888,-0.19659 0.449776,-0.39318 0.674664,-0.58977 l 0.674663,-0.58976 c 0.224888,-0.19659 0.449776,-0.39318 0.674664,-0.58977 0.224887,-0.19659 0.449775,-0.39318 0.674663,-0.58977 l 0.674663,-0.58976 c 0.224888,-0.19659 0.449776,-0.39318 0.674664,-0.58977 l 0.674663,-0.58976"
|
||||
id="path1136" />
|
||||
<path
|
||||
style="display:inline;opacity:1;fill:#ff0000;fill-opacity:1"
|
||||
d="m 98.962644,138.9794 c 0.224888,-0.19659 0.449776,-0.28074 0.674663,-0.25244 0.224888,0.0283 0.337332,0.15493 0.337332,0.37978 0,0.22489 -0.112444,0.43562 -0.337332,0.63221 -0.224887,0.19659 -0.337331,0.40732 -0.337331,0.63221 0,0.22489 0.112444,0.46393 0.337331,0.71712 l 0.674663,0.75956 0.67466,0.75956 c 0.22489,0.25319 0.33734,0.49223 0.33734,0.71712 0,0.22489 -0.16867,0.37232 -0.506,0.44231 -0.80645,0.16734 -0.0911,0.0189 0.253,-0.0526 l -0.253,0.0526 c -0.16868,0.0351 -0.33733,0.0418 -0.506,0.0205 -0.067,-0.19237 -0.16867,-0.48465 -0.16867,-0.48465 -0.11253,-0.32331 -0.337327,-0.56251 -0.674658,-0.7174 l -0.505998,-0.23234 -0.168666,-0.52722 c -0.112444,-0.35148 -0.28111,-0.65381 -0.505997,-0.907 -0.224888,-0.25319 -0.337332,-0.49223 -0.337332,-0.71712 0,-0.22489 0.112444,-0.43562 0.337332,-0.63221 l 0.674663,-0.58976"
|
||||
id="path1137" />
|
||||
<path
|
||||
style="display:inline;opacity:1;fill:#720000;fill-opacity:1"
|
||||
d="m 98.962644,142.35294 0.505998,0.23211 c 0.337406,0.15477 0.562208,0.39403 0.674658,0.7174 l 0.16867,0.48505 c 0,0 -0.208,-0.0264 -0.318594,-0.0735 -0.07203,-0.0269 -0.142118,-0.0519 -0.206391,-0.0833 -0.337331,-0.15494 -0.543231,-0.39921 -0.655675,-0.75069"
|
||||
id="path1138" />
|
||||
<path
|
||||
style="display:inline;opacity:1;fill:#ff0000;fill-opacity:1"
|
||||
d="m 95.251995,142.56044 q 0,-0.33733 0.337332,-0.29488 0.337332,0.0425 0.337332,0.37978 0,0.33733 -0.337332,0.29488 -0.337332,-0.0425 -0.337332,-0.37978"
|
||||
id="path1139" />
|
||||
<path
|
||||
style="display:inline;opacity:1;fill:#aa0f01;fill-opacity:1"
|
||||
d="m 104.69728,143.749 q 0,-0.33733 0.33733,-0.29488 0.33734,0.0425 0.33734,0.37978 0,0.33733 -0.33734,0.29488 -0.33733,-0.0425 -0.33733,-0.37978"
|
||||
id="path1140" />
|
||||
<path
|
||||
style="display:inline;opacity:1;fill:#ff0000;fill-opacity:1"
|
||||
d="m 97.613317,144.2069 q 0.337332,-0.29488 0.674664,-0.25243 0.337331,0.0425 0.337331,0.37978 0,0.33734 -0.337331,0.63222 -0.337332,0.29488 -0.674664,0.58976 -0.337331,0.29488 -0.674663,0.25243 -0.337332,-0.0425 -0.337332,-0.37977 0,-0.33733 0.337332,-0.63222 0.337332,-0.29488 0.674663,-0.58977"
|
||||
id="path1141" />
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<rect
|
||||
style="display:none;opacity:1;fill:#404040;fill-opacity:1;stroke-width:8.34074;stroke-linejoin:round"
|
||||
id="rect4"
|
||||
width="111.20969"
|
||||
height="111.20969"
|
||||
x="5.8899391e-06"
|
||||
y="3.3410672e-06" />
|
||||
<g
|
||||
id="g4"
|
||||
style="display:inline"
|
||||
transform="translate(-43.988069,-70.819257)">
|
||||
<path
|
||||
id="path16"
|
||||
style="display:none;opacity:1;fill:#ffffff;stroke-width:6.00001;stroke-linejoin:round"
|
||||
d="M 103.81913,95.103806 56.291647,122.60634 8.7641612,95.10381 8.764161,40.09874 56.291647,12.596207 103.81913,40.09874 Z"
|
||||
transform="matrix(1.184402,0,0,1.1817093,37.251106,45.114943)" />
|
||||
<path
|
||||
style="display:none;opacity:1;fill:#ffffff;fill-opacity:1;stroke-width:6.00001;stroke-linejoin:round"
|
||||
d="M 51.961523,99.999997 43.301269,105 v 55 l 47.631396,27.49999 8.660254,-5 L 51.961527,155 Z"
|
||||
id="path24" />
|
||||
<path
|
||||
style="display:inline;opacity:1;fill:#c19053;fill-opacity:1;stroke-width:6.00001;stroke-linejoin:round"
|
||||
d="m 56.29165,110.5 8.660253,-5.00001 v 31.80263 L 56.29165,152.5 Z"
|
||||
id="path23" />
|
||||
<path
|
||||
id="path19"
|
||||
style="display:none;opacity:1;fill:#5886f0;fill-opacity:1;stroke-width:6.00629;stroke-linejoin:round"
|
||||
d="m 151.55444,152.49999 -47.63139,27.5 -47.6314,-27.5 V 97.499997 l 47.6314,-27.499998 47.63139,27.499998 z" />
|
||||
<path
|
||||
id="path20"
|
||||
style="display:inline;opacity:1;fill:#d29463;fill-opacity:1;stroke-width:4.91424;stroke-linejoin:round"
|
||||
d="M 142.89419,147.5 103.92305,170 64.951901,147.5 v -45 L 103.92305,79.999998 142.89419,102.5 Z" />
|
||||
<path
|
||||
style="display:inline;opacity:1;fill:#c37954;fill-opacity:1;stroke-width:6.00001;stroke-linejoin:round"
|
||||
d="m 64.9519,102.5 3e-6,44.99999 38.971137,22.5 v -45 z"
|
||||
id="path4" />
|
||||
<g
|
||||
id="g36"
|
||||
style="display:inline;opacity:0.286449">
|
||||
<path
|
||||
style="display:inline;opacity:1;fill:#f1e1c8;fill-opacity:1;stroke-width:6.00001;stroke-linejoin:round"
|
||||
d="m 95.262781,130 -21.65063,-12.5 v 24.99999 l 21.65063,12.5 z"
|
||||
id="path37" />
|
||||
<path
|
||||
style="opacity:1;fill:#daa488;fill-opacity:1;stroke-width:6.00001;stroke-linejoin:round"
|
||||
d="m 103.05702,130.5 -4.330135,-7.5 -7.79423,4.49999 4.33013,2.50001 v 5 z"
|
||||
id="path33" />
|
||||
<path
|
||||
style="opacity:1;fill:#daa488;fill-opacity:1;stroke-width:6.00001;stroke-linejoin:round"
|
||||
d="M 77.942275,119.99999 70.148045,106.5 l -4.33012,2.5 7.79423,13.49999 V 117.5 Z"
|
||||
id="path34" />
|
||||
<path
|
||||
style="opacity:1;fill:#daa488;fill-opacity:1;stroke-width:6.00001;stroke-linejoin:round"
|
||||
d="m 65.817925,142 4.33012,7.5 7.79423,-4.50001 -4.33012,-2.5 V 137.5 Z"
|
||||
id="path35" />
|
||||
<path
|
||||
style="opacity:1;fill:#daa488;fill-opacity:1;stroke-width:6.00001;stroke-linejoin:round"
|
||||
d="m 95.262785,149.99999 7.794235,13.50001 -4.330135,2.5 -7.79423,-13.50001 4.33013,2.5 z"
|
||||
id="path36" />
|
||||
</g>
|
||||
<path
|
||||
style="display:inline;opacity:1;fill:#edca55;fill-opacity:1;stroke-width:6.00001;stroke-linejoin:round"
|
||||
d="m 56.29165,110.5 43.301273,25 v 15 l -4.330127,2.5 -4e-6,22 -38.971142,-22.5 z"
|
||||
id="path22" />
|
||||
<g
|
||||
id="g10"
|
||||
style="display:none">
|
||||
<path
|
||||
style="opacity:1;fill:#c37954;fill-opacity:1;stroke-width:3.75001;stroke-linejoin:round"
|
||||
d="M 113.44932,158.49999 118.64548,155.5 v -4 l 10.3923,-6 v 3.99999 L 134.23393,146.5 v -10 l -5.19615,3 v -7 l -10.3923,6 v 7 l -5.19068,3 z"
|
||||
id="path8" />
|
||||
<path
|
||||
style="opacity:1;fill:#c37954;fill-opacity:1;stroke-width:3.75001;stroke-linejoin:round"
|
||||
d="m 118.64548,138.5 v -12 l -11.25833,6.5 v 12 z"
|
||||
id="path9" />
|
||||
<path
|
||||
style="opacity:1;fill:#c37954;fill-opacity:1;stroke-width:3.75001;stroke-linejoin:round"
|
||||
d="m 129.03778,132.5 v -12 l 10.39231,-6 v 12 z"
|
||||
id="path10" />
|
||||
</g>
|
||||
<g
|
||||
id="g32">
|
||||
<path
|
||||
style="opacity:1;fill:#f1e1c8;fill-opacity:1;stroke-width:6.00001;stroke-linejoin:round"
|
||||
d="m 112.5833,130 21.65063,-12.5 v 24.99999 l -21.65063,12.5 z"
|
||||
id="path11" />
|
||||
<path
|
||||
style="opacity:1;fill:#d87c7c;fill-opacity:1;stroke-width:6.00001;stroke-linejoin:round"
|
||||
d="m 122.10958,135.49999 2.59807,-1.5 v 3 l -2.59807,1.5 z"
|
||||
id="path12" />
|
||||
<path
|
||||
style="opacity:1;fill:#edca55;fill-opacity:1;stroke-width:6.00001;stroke-linejoin:round"
|
||||
d="m 116.91343,138.5 2.59807,-1.5 v 3 l -2.59807,1.5 z"
|
||||
id="path13" />
|
||||
<path
|
||||
style="opacity:1;fill:#c94b4b;fill-opacity:1;stroke-width:6.00001;stroke-linejoin:round"
|
||||
d="m 127.30573,132.5 2.59807,-1.5 v 3 l -2.59807,1.5 z"
|
||||
id="path14" />
|
||||
<path
|
||||
style="opacity:1;fill:#ae3535;fill-opacity:1;stroke-width:6.00001;stroke-linejoin:round"
|
||||
d="m 122.10958,129.49999 2.59807,-1.5 v 3 l -2.59807,1.5 z"
|
||||
id="path15" />
|
||||
<path
|
||||
style="opacity:1;fill:#ce5e5e;fill-opacity:1;stroke-width:6.00001;stroke-linejoin:round"
|
||||
d="m 116.91343,132.5 2.59807,-1.5 v 3 l -2.59807,1.5 z"
|
||||
id="path17" />
|
||||
<path
|
||||
style="opacity:1;fill:#31a252;fill-opacity:1;stroke-width:6.00001;stroke-linejoin:round"
|
||||
d="m 127.30573,126.5 2.59807,-1.5 v 3 l -2.59807,1.5 z"
|
||||
id="path25" />
|
||||
<path
|
||||
style="opacity:1;fill:#59c94b;fill-opacity:1;stroke-width:6.00001;stroke-linejoin:round"
|
||||
d="m 122.10958,141.49999 2.59807,-1.5 v 3 l -2.59807,1.5 z"
|
||||
id="path26" />
|
||||
<path
|
||||
style="opacity:1;fill:#c94b4b;fill-opacity:1;stroke-width:6.00001;stroke-linejoin:round"
|
||||
d="m 116.91343,144.5 2.59807,-1.5 v 3 l -2.59807,1.5 z"
|
||||
id="path27" />
|
||||
<path
|
||||
style="opacity:1;fill:#c9764b;fill-opacity:1;stroke-width:6.00001;stroke-linejoin:round"
|
||||
d="m 127.30573,138.5 2.59807,-1.5 v 3 l -2.59807,1.5 z"
|
||||
id="path28" />
|
||||
<path
|
||||
style="opacity:1;fill:#daa488;fill-opacity:1;stroke-width:6.00001;stroke-linejoin:round"
|
||||
d="m 104.78907,130.5 4.33013,-7.5 7.79423,4.49999 L 112.5833,130 v 5 z"
|
||||
id="path29" />
|
||||
<path
|
||||
style="opacity:1;fill:#daa488;fill-opacity:1;stroke-width:6.00001;stroke-linejoin:round"
|
||||
d="m 129.90381,119.99999 7.79423,-13.49999 4.33012,2.5 -7.79423,13.49999 V 117.5 Z"
|
||||
id="path30" />
|
||||
<path
|
||||
style="opacity:1;fill:#daa488;fill-opacity:1;stroke-width:6.00001;stroke-linejoin:round"
|
||||
d="m 142.02816,142 -4.33012,7.5 -7.79423,-4.50001 4.33012,-2.5 V 137.5 Z"
|
||||
id="path31" />
|
||||
<path
|
||||
style="opacity:1;fill:#daa488;fill-opacity:1;stroke-width:6.00001;stroke-linejoin:round"
|
||||
d="m 112.5833,149.99999 -7.79423,13.50001 4.33013,2.5 7.79423,-13.50001 -4.33013,2.5 z"
|
||||
id="path32" />
|
||||
</g>
|
||||
<path
|
||||
style="display:inline;opacity:1;fill:#f1e1c8;fill-opacity:1;stroke-width:6.00001;stroke-linejoin:round"
|
||||
d="m 119.5115,88.999997 7.79423,4.5 L 88.33459,116 v 10 l -7.79423,-4.5 v -10 z"
|
||||
id="path21" />
|
||||
<path
|
||||
style="display:inline;opacity:1;fill:#dcc5a5;fill-opacity:1;stroke-width:6.00001;stroke-linejoin:round"
|
||||
d="m 88.33459,116 v 10 l -7.79423,-4.5 v -10 z"
|
||||
id="path5" />
|
||||
</g>
|
||||
<g
|
||||
id="g3"
|
||||
style="display:none"
|
||||
transform="translate(-43.988069,-70.819257)">
|
||||
<path
|
||||
style="opacity:1;fill:#ffffff;fill-opacity:1;stroke-width:6.00001;stroke-linejoin:round"
|
||||
d="M 103.92304,79.999998 119.5115,88.999996 80.540359,111.5 l 1e-6,5 -15.588457,-9 v -5.00001 z"
|
||||
id="path1" />
|
||||
<path
|
||||
style="opacity:1;fill:#ffffff;fill-opacity:1;stroke-width:6.00001;stroke-linejoin:round"
|
||||
d="m 88.334589,121 -2e-6,-5.00001 38.971143,-22.499993 15.58846,8.999993 v 45 l -38.97115,22.5 L 100.45894,168 v -16 l 3.46411,-2 v -20 z"
|
||||
id="path2" />
|
||||
<path
|
||||
style="opacity:1;fill:#ffffff;fill-opacity:1;stroke-width:6.00001;stroke-linejoin:round"
|
||||
d="M 95.262792,175 56.29165,151.5 v -44 l 43.301267,25 v 14.99999 l -4.330126,2.5 z"
|
||||
id="path3" />
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 41 KiB |