single-file-core 1.5.106 → 1.5.108
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/test.yml +31 -0
- package/doc/assets/singlefile-archive-byte-map.svg +298 -0
- package/doc/assets/singlefile-archive-lenses.svg +245 -0
- package/doc/singlefile-archive.md +1455 -0
- package/package.json +2 -2
- package/processors/compression/compression-extract.js +7 -3
- package/processors/compression/compression-packager.js +4 -1
- package/processors/compression/compression.js +260 -142
- package/test/sfz-harness/README.md +58 -0
- package/test/sfz-harness/check-determinism.js +57 -0
- package/test/sfz-harness/common.js +154 -0
- package/test/sfz-harness/dom-stub.js +13 -0
- package/test/sfz-harness/format-rules.js +289 -0
- package/test/sfz-harness/gen-e2e-page.js +14 -0
- package/test/sfz-harness/search-triggers.js +35 -0
- package/test/sfz-harness/smoke.js +10 -0
- package/test/sfz-harness/stored-trigger.js +50 -0
- package/test/sfz-harness/trigger-seeds.json +120 -0
- package/vendor/zip/zip.js +29 -19
- package/zip-build/package-lock.json +4 -4
- package/zip-build/package.json +1 -1
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1972 574" font-family="system-ui, -apple-system, 'Segoe UI', sans-serif">
|
|
2
|
+
<rect width="1972" height="574" fill="#ffffff"/>
|
|
3
|
+
<text x="16" y="24" font-size="15" font-weight="600" fill="#1c2733">SingleFile archive reader lenses</text>
|
|
4
|
+
<rect x="16" y="36" width="12" height="12" rx="2" fill="#3d7dbf"/>
|
|
5
|
+
<text x="32" y="46" font-size="11" fill="#3a4652">HTML markup</text>
|
|
6
|
+
<rect x="115.3" y="36" width="12" height="12" rx="2" fill="#28568a"/>
|
|
7
|
+
<text x="131.3" y="46" font-size="11" fill="#3a4652">bootstrap script</text>
|
|
8
|
+
<rect x="246.10000000000002" y="36" width="12" height="12" rx="2" fill="#e8a33d"/>
|
|
9
|
+
<text x="262.1" y="46" font-size="11" fill="#3a4652">zip entries (local headers + data)</text>
|
|
10
|
+
<rect x="490.3" y="36" width="12" height="12" rx="2" fill="#b06f1d"/>
|
|
11
|
+
<text x="506.3" y="46" font-size="11" fill="#3a4652">zip central directory + EOCD</text>
|
|
12
|
+
<rect x="696.7" y="36" width="12" height="12" rx="2" fill="#c14f4f"/>
|
|
13
|
+
<text x="712.7" y="46" font-size="11" fill="#3a4652">PDF document</text>
|
|
14
|
+
<rect x="802.3000000000001" y="36" width="12" height="12" rx="2" fill="#4f9b63"/>
|
|
15
|
+
<text x="818.3000000000001" y="46" font-size="11" fill="#3a4652">PNG structures</text>
|
|
16
|
+
<rect x="920.5000000000001" y="36" width="12" height="12" rx="2" fill="#8f62b8"/>
|
|
17
|
+
<text x="936.5000000000001" y="46" font-size="11" fill="#3a4652">extra-data payload</text>
|
|
18
|
+
<text x="16" y="86" font-size="12.5" font-weight="600" fill="#1c2733">HTML parser</text>
|
|
19
|
+
<text x="109.4" y="86" font-size="11" fill="#68727c">one document; the wrapper tags hide every binary region, the hidden body hides the rest</text>
|
|
20
|
+
<rect x="16" y="94" width="130" height="34" rx="3" fill="#4f9b63" opacity="0.15"/>
|
|
21
|
+
<text x="81" y="114.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">png-signature · IHDR</text>
|
|
22
|
+
<rect x="148" y="94" width="72" height="34" rx="3" fill="#4f9b63" opacity="0.15"/>
|
|
23
|
+
<text x="184" y="114.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">tEXt "PNG"</text>
|
|
24
|
+
<rect x="222" y="94" width="95" height="34" rx="3" fill="#3d7dbf"/>
|
|
25
|
+
<text x="269.5" y="114.5" font-size="10.5" fill="#ffffff" text-anchor="middle">html-prologue</text>
|
|
26
|
+
<rect x="319" y="94" width="60" height="34" rx="3" fill="#3d7dbf"/>
|
|
27
|
+
<text x="349" y="114.5" font-size="10.5" fill="#ffffff" text-anchor="middle"><!--</text>
|
|
28
|
+
<rect x="381" y="94" width="107" height="34" rx="3" fill="#e8a33d" opacity="0.15"/>
|
|
29
|
+
<text x="434.5" y="114.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">pdf-local-header</text>
|
|
30
|
+
<rect x="490" y="94" width="140" height="34" rx="3" fill="#c14f4f" opacity="0.15"/>
|
|
31
|
+
<text x="560" y="114.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">pdf-document</text>
|
|
32
|
+
<rect x="632" y="94" width="60" height="34" rx="3" fill="#3d7dbf"/>
|
|
33
|
+
<text x="662" y="114.5" font-size="10.5" fill="#ffffff" text-anchor="middle">--></text>
|
|
34
|
+
<rect x="694" y="94" width="136" height="34" rx="3" fill="#3d7dbf"/>
|
|
35
|
+
<text x="762" y="114.5" font-size="10.5" fill="#ffffff" text-anchor="middle">html-prologue (cont.)</text>
|
|
36
|
+
<rect x="832" y="94" width="60" height="34" rx="3" fill="#3d7dbf"/>
|
|
37
|
+
<text x="862" y="114.5" font-size="10.5" fill="#ffffff" text-anchor="middle"><!--</text>
|
|
38
|
+
<rect x="894" y="94" width="113" height="34" rx="3" fill="#4f9b63" opacity="0.15"/>
|
|
39
|
+
<text x="950.5" y="114.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">pixel-data chunks</text>
|
|
40
|
+
<rect x="1009" y="94" width="72" height="34" rx="3" fill="#4f9b63" opacity="0.15"/>
|
|
41
|
+
<text x="1045" y="114.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">tEXt "ZIP"</text>
|
|
42
|
+
<rect x="1083" y="94" width="60" height="34" rx="3" fill="#3d7dbf"/>
|
|
43
|
+
<text x="1113" y="114.5" font-size="10.5" fill="#ffffff" text-anchor="middle">--></text>
|
|
44
|
+
<rect x="1145" y="94" width="95" height="34" rx="3" fill="#28568a"/>
|
|
45
|
+
<path d="M 1226 93 l -6 36 m 5 -36 l -6 36" stroke="#ffffff" stroke-width="2.2" fill="none"/>
|
|
46
|
+
<text x="1192.5" y="114.5" font-size="10.5" fill="#ffffff" text-anchor="middle">bootstrap</text>
|
|
47
|
+
<rect x="1242" y="94" width="60" height="34" rx="3" fill="#3d7dbf"/>
|
|
48
|
+
<text x="1272" y="114.5" font-size="8.5" fill="#ffffff" text-anchor="middle"><!--sfz-data</text>
|
|
49
|
+
<rect x="1304" y="94" width="140" height="34" rx="3" fill="#e8a33d" opacity="0.15"/>
|
|
50
|
+
<text x="1374" y="114.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">zip-entries</text>
|
|
51
|
+
<rect x="1446" y="94" width="119" height="34" rx="3" fill="#b06f1d" opacity="0.15"/>
|
|
52
|
+
<text x="1505.5" y="114.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">pdf-central-record</text>
|
|
53
|
+
<rect x="1567" y="94" width="154" height="34" rx="3" fill="#b06f1d" opacity="0.15"/>
|
|
54
|
+
<text x="1644" y="114.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">central-directory · eocd</text>
|
|
55
|
+
<rect x="1723" y="94" width="60" height="34" rx="3" fill="#3d7dbf"/>
|
|
56
|
+
<text x="1753" y="114.5" font-size="10.5" fill="#ffffff" text-anchor="middle">--></text>
|
|
57
|
+
<rect x="1785" y="94" width="95" height="34" rx="3" fill="#8f62b8"/>
|
|
58
|
+
<text x="1832.5" y="114.5" font-size="10.5" fill="#ffffff" text-anchor="middle">extra-data</text>
|
|
59
|
+
<rect x="1882" y="94" width="72" height="34" rx="3" fill="#4f9b63" opacity="0.15"/>
|
|
60
|
+
<text x="1918" y="114.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">crc · IEND</text>
|
|
61
|
+
<path d="M 381 141 v 5 H 630 v -5" stroke="#3d7dbf" stroke-width="1.5" fill="none"/>
|
|
62
|
+
<text x="505.5" y="158" font-size="9.5" fill="#3d7dbf" text-anchor="middle">wrapper comment content</text>
|
|
63
|
+
<path d="M 894 141 v 5 H 1081 v -5" stroke="#3d7dbf" stroke-width="1.5" fill="none"/>
|
|
64
|
+
<text x="987.5" y="158" font-size="9.5" fill="#3d7dbf" text-anchor="middle">wrapper comment content</text>
|
|
65
|
+
<path d="M 1304 141 v 5 H 1721 v -5" stroke="#3d7dbf" stroke-width="1.5" fill="none"/>
|
|
66
|
+
<text x="1512.5" y="158" font-size="9.5" fill="#3d7dbf" text-anchor="middle">wrapper comment content</text>
|
|
67
|
+
<text x="16" y="200" font-size="12.5" font-weight="600" fill="#1c2733">ZIP reader</text>
|
|
68
|
+
<text x="102" y="200" font-size="11" fill="#68727c">finds the eocd from the end of the file, then reads only what the central directory points at</text>
|
|
69
|
+
<rect x="16" y="208" width="130" height="34" rx="3" fill="#4f9b63" opacity="0.15"/>
|
|
70
|
+
<text x="81" y="228.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">png-signature · IHDR</text>
|
|
71
|
+
<rect x="148" y="208" width="72" height="34" rx="3" fill="#4f9b63" opacity="0.15"/>
|
|
72
|
+
<text x="184" y="228.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">tEXt "PNG"</text>
|
|
73
|
+
<rect x="222" y="208" width="95" height="34" rx="3" fill="#3d7dbf" opacity="0.15"/>
|
|
74
|
+
<text x="269.5" y="228.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">html-prologue</text>
|
|
75
|
+
<rect x="319" y="208" width="60" height="34" rx="3" fill="#3d7dbf" opacity="0.15"/>
|
|
76
|
+
<text x="349" y="228.5" font-size="10.5" fill="#98a2ac" text-anchor="middle"><!--</text>
|
|
77
|
+
<rect x="381" y="208" width="107" height="34" rx="3" fill="#e8a33d"/>
|
|
78
|
+
<text x="434.5" y="228.5" font-size="10.5" fill="#ffffff" text-anchor="middle">pdf-local-header</text>
|
|
79
|
+
<rect x="490" y="208" width="140" height="34" rx="3" fill="#c14f4f"/>
|
|
80
|
+
<path d="M 616 207 l -6 36 m 5 -36 l -6 36" stroke="#ffffff" stroke-width="2.2" fill="none"/>
|
|
81
|
+
<text x="560" y="228.5" font-size="10.5" fill="#ffffff" text-anchor="middle">pdf-document</text>
|
|
82
|
+
<rect x="632" y="208" width="60" height="34" rx="3" fill="#3d7dbf" opacity="0.15"/>
|
|
83
|
+
<text x="662" y="228.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">--></text>
|
|
84
|
+
<rect x="694" y="208" width="136" height="34" rx="3" fill="#3d7dbf" opacity="0.15"/>
|
|
85
|
+
<text x="762" y="228.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">html-prologue (cont.)</text>
|
|
86
|
+
<rect x="832" y="208" width="60" height="34" rx="3" fill="#3d7dbf" opacity="0.15"/>
|
|
87
|
+
<text x="862" y="228.5" font-size="10.5" fill="#98a2ac" text-anchor="middle"><!--</text>
|
|
88
|
+
<rect x="894" y="208" width="113" height="34" rx="3" fill="#4f9b63" opacity="0.15"/>
|
|
89
|
+
<text x="950.5" y="228.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">pixel-data chunks</text>
|
|
90
|
+
<rect x="1009" y="208" width="72" height="34" rx="3" fill="#4f9b63" opacity="0.15"/>
|
|
91
|
+
<text x="1045" y="228.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">tEXt "ZIP"</text>
|
|
92
|
+
<rect x="1083" y="208" width="60" height="34" rx="3" fill="#3d7dbf" opacity="0.15"/>
|
|
93
|
+
<text x="1113" y="228.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">--></text>
|
|
94
|
+
<rect x="1145" y="208" width="95" height="34" rx="3" fill="#28568a" opacity="0.15"/>
|
|
95
|
+
<text x="1192.5" y="228.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">bootstrap</text>
|
|
96
|
+
<rect x="1242" y="208" width="60" height="34" rx="3" fill="#3d7dbf" opacity="0.15"/>
|
|
97
|
+
<text x="1272" y="228.5" font-size="8.5" fill="#98a2ac" text-anchor="middle"><!--sfz-data</text>
|
|
98
|
+
<rect x="1304" y="208" width="140" height="34" rx="3" fill="#e8a33d"/>
|
|
99
|
+
<path d="M 1430 207 l -6 36 m 5 -36 l -6 36" stroke="#ffffff" stroke-width="2.2" fill="none"/>
|
|
100
|
+
<text x="1374" y="228.5" font-size="10.5" fill="#ffffff" text-anchor="middle">zip-entries</text>
|
|
101
|
+
<rect x="1446" y="208" width="119" height="34" rx="3" fill="#b06f1d"/>
|
|
102
|
+
<text x="1505.5" y="228.5" font-size="10.5" fill="#ffffff" text-anchor="middle">pdf-central-record</text>
|
|
103
|
+
<rect x="1567" y="208" width="154" height="34" rx="3" fill="#b06f1d"/>
|
|
104
|
+
<text x="1644" y="228.5" font-size="10.5" fill="#ffffff" text-anchor="middle">central-directory · eocd</text>
|
|
105
|
+
<rect x="1723" y="208" width="60" height="34" rx="3" fill="#3d7dbf" opacity="0.15"/>
|
|
106
|
+
<text x="1753" y="228.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">--></text>
|
|
107
|
+
<rect x="1785" y="208" width="95" height="34" rx="3" fill="#8f62b8" opacity="0.15"/>
|
|
108
|
+
<text x="1832.5" y="228.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">extra-data</text>
|
|
109
|
+
<rect x="1882" y="208" width="72" height="34" rx="3" fill="#4f9b63" opacity="0.15"/>
|
|
110
|
+
<text x="1918" y="228.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">crc · IEND</text>
|
|
111
|
+
<text x="16" y="288" font-size="12.5" font-weight="600" fill="#1c2733">PDF viewer</text>
|
|
112
|
+
<text x="102" y="288" font-size="11" fill="#68727c">finds %PDF- starting at offset 1024 or lower; every offset in the document is relative to that position</text>
|
|
113
|
+
<rect x="16" y="296" width="130" height="34" rx="3" fill="#4f9b63" opacity="0.15"/>
|
|
114
|
+
<text x="81" y="316.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">png-signature · IHDR</text>
|
|
115
|
+
<rect x="148" y="296" width="72" height="34" rx="3" fill="#4f9b63" opacity="0.15"/>
|
|
116
|
+
<text x="184" y="316.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">tEXt "PNG"</text>
|
|
117
|
+
<rect x="222" y="296" width="95" height="34" rx="3" fill="#3d7dbf" opacity="0.15"/>
|
|
118
|
+
<text x="269.5" y="316.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">html-prologue</text>
|
|
119
|
+
<rect x="319" y="296" width="60" height="34" rx="3" fill="#3d7dbf" opacity="0.15"/>
|
|
120
|
+
<text x="349" y="316.5" font-size="10.5" fill="#98a2ac" text-anchor="middle"><!--</text>
|
|
121
|
+
<rect x="381" y="296" width="107" height="34" rx="3" fill="#e8a33d" opacity="0.15"/>
|
|
122
|
+
<text x="434.5" y="316.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">pdf-local-header</text>
|
|
123
|
+
<rect x="490" y="296" width="140" height="34" rx="3" fill="#c14f4f"/>
|
|
124
|
+
<path d="M 616 295 l -6 36 m 5 -36 l -6 36" stroke="#ffffff" stroke-width="2.2" fill="none"/>
|
|
125
|
+
<text x="560" y="316.5" font-size="10.5" fill="#ffffff" text-anchor="middle">pdf-document</text>
|
|
126
|
+
<rect x="632" y="296" width="60" height="34" rx="3" fill="#3d7dbf" opacity="0.15"/>
|
|
127
|
+
<text x="662" y="316.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">--></text>
|
|
128
|
+
<rect x="694" y="296" width="136" height="34" rx="3" fill="#3d7dbf" opacity="0.15"/>
|
|
129
|
+
<text x="762" y="316.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">html-prologue (cont.)</text>
|
|
130
|
+
<rect x="832" y="296" width="60" height="34" rx="3" fill="#3d7dbf" opacity="0.15"/>
|
|
131
|
+
<text x="862" y="316.5" font-size="10.5" fill="#98a2ac" text-anchor="middle"><!--</text>
|
|
132
|
+
<rect x="894" y="296" width="113" height="34" rx="3" fill="#4f9b63" opacity="0.15"/>
|
|
133
|
+
<text x="950.5" y="316.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">pixel-data chunks</text>
|
|
134
|
+
<rect x="1009" y="296" width="72" height="34" rx="3" fill="#4f9b63" opacity="0.15"/>
|
|
135
|
+
<text x="1045" y="316.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">tEXt "ZIP"</text>
|
|
136
|
+
<rect x="1083" y="296" width="60" height="34" rx="3" fill="#3d7dbf" opacity="0.15"/>
|
|
137
|
+
<text x="1113" y="316.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">--></text>
|
|
138
|
+
<rect x="1145" y="296" width="95" height="34" rx="3" fill="#28568a" opacity="0.15"/>
|
|
139
|
+
<text x="1192.5" y="316.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">bootstrap</text>
|
|
140
|
+
<rect x="1242" y="296" width="60" height="34" rx="3" fill="#3d7dbf" opacity="0.15"/>
|
|
141
|
+
<text x="1272" y="316.5" font-size="8.5" fill="#98a2ac" text-anchor="middle"><!--sfz-data</text>
|
|
142
|
+
<rect x="1304" y="296" width="140" height="34" rx="3" fill="#e8a33d" opacity="0.15"/>
|
|
143
|
+
<text x="1374" y="316.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">zip-entries</text>
|
|
144
|
+
<rect x="1446" y="296" width="119" height="34" rx="3" fill="#b06f1d" opacity="0.15"/>
|
|
145
|
+
<text x="1505.5" y="316.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">pdf-central-record</text>
|
|
146
|
+
<rect x="1567" y="296" width="154" height="34" rx="3" fill="#b06f1d" opacity="0.15"/>
|
|
147
|
+
<text x="1644" y="316.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">central-directory · eocd</text>
|
|
148
|
+
<rect x="1723" y="296" width="60" height="34" rx="3" fill="#3d7dbf" opacity="0.15"/>
|
|
149
|
+
<text x="1753" y="316.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">--></text>
|
|
150
|
+
<rect x="1785" y="296" width="95" height="34" rx="3" fill="#8f62b8" opacity="0.15"/>
|
|
151
|
+
<text x="1832.5" y="316.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">extra-data</text>
|
|
152
|
+
<rect x="1882" y="296" width="72" height="34" rx="3" fill="#4f9b63" opacity="0.15"/>
|
|
153
|
+
<text x="1918" y="316.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">crc · IEND</text>
|
|
154
|
+
<text x="16" y="376" font-size="12.5" font-weight="600" fill="#1c2733">PNG decoder</text>
|
|
155
|
+
<text x="109.4" y="376" font-size="11" fill="#68727c">walks chunks from the signature; the declared lengths of the two tEXt chunks skip all foreign bytes</text>
|
|
156
|
+
<rect x="16" y="384" width="130" height="34" rx="3" fill="#4f9b63"/>
|
|
157
|
+
<text x="81" y="404.5" font-size="10.5" fill="#ffffff" text-anchor="middle">png-signature · IHDR</text>
|
|
158
|
+
<rect x="148" y="384" width="72" height="34" rx="3" fill="#4f9b63"/>
|
|
159
|
+
<text x="184" y="404.5" font-size="10.5" fill="#ffffff" text-anchor="middle">tEXt "PNG"</text>
|
|
160
|
+
<rect x="222" y="384" width="95" height="34" rx="3" fill="#3d7dbf" opacity="0.15"/>
|
|
161
|
+
<text x="269.5" y="404.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">html-prologue</text>
|
|
162
|
+
<rect x="319" y="384" width="60" height="34" rx="3" fill="#3d7dbf" opacity="0.15"/>
|
|
163
|
+
<text x="349" y="404.5" font-size="10.5" fill="#98a2ac" text-anchor="middle"><!--</text>
|
|
164
|
+
<rect x="381" y="384" width="107" height="34" rx="3" fill="#e8a33d" opacity="0.15"/>
|
|
165
|
+
<text x="434.5" y="404.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">pdf-local-header</text>
|
|
166
|
+
<rect x="490" y="384" width="140" height="34" rx="3" fill="#c14f4f" opacity="0.15"/>
|
|
167
|
+
<text x="560" y="404.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">pdf-document</text>
|
|
168
|
+
<rect x="632" y="384" width="60" height="34" rx="3" fill="#3d7dbf" opacity="0.15"/>
|
|
169
|
+
<text x="662" y="404.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">--></text>
|
|
170
|
+
<rect x="694" y="384" width="136" height="34" rx="3" fill="#3d7dbf" opacity="0.15"/>
|
|
171
|
+
<text x="762" y="404.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">html-prologue (cont.)</text>
|
|
172
|
+
<rect x="832" y="384" width="60" height="34" rx="3" fill="#3d7dbf" opacity="0.15"/>
|
|
173
|
+
<text x="862" y="404.5" font-size="10.5" fill="#98a2ac" text-anchor="middle"><!--</text>
|
|
174
|
+
<rect x="894" y="384" width="113" height="34" rx="3" fill="#4f9b63"/>
|
|
175
|
+
<path d="M 993 383 l -6 36 m 5 -36 l -6 36" stroke="#ffffff" stroke-width="2.2" fill="none"/>
|
|
176
|
+
<text x="950.5" y="404.5" font-size="10.5" fill="#ffffff" text-anchor="middle">pixel-data chunks</text>
|
|
177
|
+
<rect x="1009" y="384" width="72" height="34" rx="3" fill="#4f9b63"/>
|
|
178
|
+
<text x="1045" y="404.5" font-size="10.5" fill="#ffffff" text-anchor="middle">tEXt "ZIP"</text>
|
|
179
|
+
<rect x="1083" y="384" width="60" height="34" rx="3" fill="#3d7dbf" opacity="0.15"/>
|
|
180
|
+
<text x="1113" y="404.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">--></text>
|
|
181
|
+
<rect x="1145" y="384" width="95" height="34" rx="3" fill="#28568a" opacity="0.15"/>
|
|
182
|
+
<text x="1192.5" y="404.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">bootstrap</text>
|
|
183
|
+
<rect x="1242" y="384" width="60" height="34" rx="3" fill="#3d7dbf" opacity="0.15"/>
|
|
184
|
+
<text x="1272" y="404.5" font-size="8.5" fill="#98a2ac" text-anchor="middle"><!--sfz-data</text>
|
|
185
|
+
<rect x="1304" y="384" width="140" height="34" rx="3" fill="#e8a33d" opacity="0.15"/>
|
|
186
|
+
<text x="1374" y="404.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">zip-entries</text>
|
|
187
|
+
<rect x="1446" y="384" width="119" height="34" rx="3" fill="#b06f1d" opacity="0.15"/>
|
|
188
|
+
<text x="1505.5" y="404.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">pdf-central-record</text>
|
|
189
|
+
<rect x="1567" y="384" width="154" height="34" rx="3" fill="#b06f1d" opacity="0.15"/>
|
|
190
|
+
<text x="1644" y="404.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">central-directory · eocd</text>
|
|
191
|
+
<rect x="1723" y="384" width="60" height="34" rx="3" fill="#3d7dbf" opacity="0.15"/>
|
|
192
|
+
<text x="1753" y="404.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">--></text>
|
|
193
|
+
<rect x="1785" y="384" width="95" height="34" rx="3" fill="#8f62b8" opacity="0.15"/>
|
|
194
|
+
<text x="1832.5" y="404.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">extra-data</text>
|
|
195
|
+
<rect x="1882" y="384" width="72" height="34" rx="3" fill="#4f9b63"/>
|
|
196
|
+
<text x="1918" y="404.5" font-size="10.5" fill="#ffffff" text-anchor="middle">crc · IEND</text>
|
|
197
|
+
<path d="M 222 431 v 5 H 892 v -5" stroke="#4f9b63" stroke-width="1.5" fill="none"/>
|
|
198
|
+
<text x="557" y="448" font-size="9.5" fill="#4f9b63" text-anchor="middle">tEXt "PNG" chunk data</text>
|
|
199
|
+
<path d="M 1083 431 v 5 H 1880 v -5" stroke="#4f9b63" stroke-width="1.5" fill="none"/>
|
|
200
|
+
<text x="1481.5" y="448" font-size="9.5" fill="#4f9b63" text-anchor="middle">tEXt "ZIP" chunk data</text>
|
|
201
|
+
<text x="16" y="490" font-size="12.5" font-weight="600" fill="#1c2733">universal-mode extractor</text>
|
|
202
|
+
<text x="205.60000000000002" y="490" font-size="11" fill="#68727c">re-encodes the parsed characters of the hidden zip region back into bytes, guided by extra-data</text>
|
|
203
|
+
<rect x="16" y="498" width="130" height="34" rx="3" fill="#4f9b63" opacity="0.15"/>
|
|
204
|
+
<text x="81" y="518.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">png-signature · IHDR</text>
|
|
205
|
+
<rect x="148" y="498" width="72" height="34" rx="3" fill="#4f9b63" opacity="0.15"/>
|
|
206
|
+
<text x="184" y="518.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">tEXt "PNG"</text>
|
|
207
|
+
<rect x="222" y="498" width="95" height="34" rx="3" fill="#3d7dbf" opacity="0.15"/>
|
|
208
|
+
<text x="269.5" y="518.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">html-prologue</text>
|
|
209
|
+
<rect x="319" y="498" width="60" height="34" rx="3" fill="#3d7dbf" opacity="0.15"/>
|
|
210
|
+
<text x="349" y="518.5" font-size="10.5" fill="#98a2ac" text-anchor="middle"><!--</text>
|
|
211
|
+
<rect x="381" y="498" width="107" height="34" rx="3" fill="#e8a33d" opacity="0.15"/>
|
|
212
|
+
<text x="434.5" y="518.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">pdf-local-header</text>
|
|
213
|
+
<rect x="490" y="498" width="140" height="34" rx="3" fill="#c14f4f" opacity="0.15"/>
|
|
214
|
+
<text x="560" y="518.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">pdf-document</text>
|
|
215
|
+
<rect x="632" y="498" width="60" height="34" rx="3" fill="#3d7dbf" opacity="0.15"/>
|
|
216
|
+
<text x="662" y="518.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">--></text>
|
|
217
|
+
<rect x="694" y="498" width="136" height="34" rx="3" fill="#3d7dbf" opacity="0.15"/>
|
|
218
|
+
<text x="762" y="518.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">html-prologue (cont.)</text>
|
|
219
|
+
<rect x="832" y="498" width="60" height="34" rx="3" fill="#3d7dbf" opacity="0.15"/>
|
|
220
|
+
<text x="862" y="518.5" font-size="10.5" fill="#98a2ac" text-anchor="middle"><!--</text>
|
|
221
|
+
<rect x="894" y="498" width="113" height="34" rx="3" fill="#4f9b63" opacity="0.15"/>
|
|
222
|
+
<text x="950.5" y="518.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">pixel-data chunks</text>
|
|
223
|
+
<rect x="1009" y="498" width="72" height="34" rx="3" fill="#4f9b63" opacity="0.15"/>
|
|
224
|
+
<text x="1045" y="518.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">tEXt "ZIP"</text>
|
|
225
|
+
<rect x="1083" y="498" width="60" height="34" rx="3" fill="#3d7dbf" opacity="0.15"/>
|
|
226
|
+
<text x="1113" y="518.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">--></text>
|
|
227
|
+
<rect x="1145" y="498" width="95" height="34" rx="3" fill="#28568a" opacity="0.15"/>
|
|
228
|
+
<text x="1192.5" y="518.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">bootstrap</text>
|
|
229
|
+
<rect x="1242" y="498" width="60" height="34" rx="3" fill="#3d7dbf" opacity="0.15"/>
|
|
230
|
+
<text x="1272" y="518.5" font-size="8.5" fill="#98a2ac" text-anchor="middle"><!--sfz-data</text>
|
|
231
|
+
<rect x="1304" y="498" width="140" height="34" rx="3" fill="#e8a33d"/>
|
|
232
|
+
<path d="M 1430 497 l -6 36 m 5 -36 l -6 36" stroke="#ffffff" stroke-width="2.2" fill="none"/>
|
|
233
|
+
<text x="1374" y="518.5" font-size="10.5" fill="#ffffff" text-anchor="middle">zip-entries</text>
|
|
234
|
+
<rect x="1446" y="498" width="119" height="34" rx="3" fill="#b06f1d"/>
|
|
235
|
+
<text x="1505.5" y="518.5" font-size="10.5" fill="#ffffff" text-anchor="middle">pdf-central-record</text>
|
|
236
|
+
<rect x="1567" y="498" width="154" height="34" rx="3" fill="#b06f1d"/>
|
|
237
|
+
<text x="1644" y="518.5" font-size="10.5" fill="#ffffff" text-anchor="middle">central-directory · eocd</text>
|
|
238
|
+
<rect x="1723" y="498" width="60" height="34" rx="3" fill="#3d7dbf" opacity="0.15"/>
|
|
239
|
+
<text x="1753" y="518.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">--></text>
|
|
240
|
+
<rect x="1785" y="498" width="95" height="34" rx="3" fill="#8f62b8"/>
|
|
241
|
+
<text x="1832.5" y="518.5" font-size="10.5" fill="#ffffff" text-anchor="middle">extra-data</text>
|
|
242
|
+
<rect x="1882" y="498" width="72" height="34" rx="3" fill="#4f9b63" opacity="0.15"/>
|
|
243
|
+
<text x="1918" y="518.5" font-size="10.5" fill="#98a2ac" text-anchor="middle">crc · IEND</text>
|
|
244
|
+
<text x="16" y="568" font-size="9.5" fill="#68727c">Every row is the same file (the all-four-faces variant of the byte map); solid blocks are the bytes that reader interprets, faded blocks the bytes it ignores.</text>
|
|
245
|
+
</svg>
|