← Commit history
README.md+30−39
@@ -41,17 +41,16 @@ Limits as printed in the datasheet (page.json `metadata.characteristics` carries | Parameter | Symbol | Min | Typ | Max | Unit | Conditions | Page | |---|---|---|---|---|---|---|---| | Supply voltage | VCC | -0.5 |  | 7 | V |  | 7 |-| DC input voltage | VI | -0.5 |  |  | V | upper limit printed as VCC + 0.5 V | 7 |+| DC input voltage | VI | -0.5 |  |  | V |  | 7 | | DC input diode current | IIK | -20 |  | 20 | mA |  | 7 | | DC output diode current | IOK | -20 |  | 20 | mA |  | 7 | | DC output current | IO | -35 |  | 35 | mA |  | 7 | | DC VCC or ground current | ICC or IGND | -70 |  | 70 | mA |  | 7 |-| Power dissipation (SOP) | PD |  |  | 500 | mW | SO package at 65 °C; derate -7 mW/°C from 65 to 125 °C | 7 |+| Power dissipation | PD |  |  | 500 | mW | SOP package, at 65 °C | 7 | | Storage temperature | Tstg | -65 |  | 150 | °C |  | 7 | | Lead temperature | TL |  |  | 300 | °C | 10 s | 7 | | Supply voltage | VCC | 2 |  | 6 | V |  | 7 |-| Input voltage | VI | 0 |  |  | V | upper limit printed as VCC | 7 |-| Output voltage | VO | 0 |  |  | V | upper limit printed as VCC | 7 |+| Input voltage | VI | 0 |  |  | V |  | 7 | | Operating temperature | Top | -55 |  | 125 | °C |  | 7 | | Input rise and fall time | tr, tf | 0 |  | 1000 | ns | VCC = 2.0 V | 7 | | Input rise and fall time | tr, tf | 0 |  | 500 | ns | VCC = 4.5 V | 7 |@@ -62,40 +61,32 @@ Limits as printed in the datasheet (page.json `metadata.characteristics` carries | Low level input voltage | VIL |  |  | 0.5 | V | VCC = 2.0 V | 8 | | Low level input voltage | VIL |  |  | 1.35 | V | VCC = 4.5 V | 8 | | Low level input voltage | VIL |  |  | 1.8 | V | VCC = 6.0 V | 8 |-| High level output voltage (for QH' outputs) | VOH | 1.9 | 2 |  | V | VCC = 2.0 V, IO = -20 μA | 8 |-| High level output voltage (for QH' outputs) | VOH | 4.4 | 4.5 |  | V | VCC = 4.5 V, IO = -20 μA | 8 |-| High level output voltage (for QH' outputs) | VOH | 5.9 | 6 |  | V | VCC = 6.0 V, IO = -20 μA | 8 |-| High level output voltage (for QH' outputs) | VOH | 4.1 | 4.31 |  | V | VCC = 4.5 V, IO = -4.0 mA | 8 |-| High level output voltage (for QH' outputs) | VOH | 5.6 | 5.8 |  | V | VCC = 6.0 V, IO = -7.8 mA | 8 |-| High level output voltage (for QA to QH outputs) | VOH | 1.9 | 2 |  | V | VCC = 2.0 V, IO = -20 μA | 8 |-| High level output voltage (for QA to QH outputs) | VOH | 4.4 | 4.5 |  | V | VCC = 4.5 V, IO = -20 μA | 8 |-| High level output voltage (for QA to QH outputs) | VOH | 5.9 | 6 |  | V | VCC = 6.0 V, IO = -20 μA | 8 |-| High level output voltage (for QA to QH outputs) | VOH | 4.1 | 4.31 |  | V | VCC = 4.5 V, IO = -6.0 mA | 8 |-| High level output voltage (for QA to QH outputs) | VOH | 5.6 | 5.8 |  | V | VCC = 6.0 V, IO = -7.8 mA | 8 |-| Low level output voltage (for QH' outputs) | VOL |  | 0 | 0.1 | V | VCC = 2.0 V, IO = 20 μA | 8 |-| Low level output voltage (for QH' outputs) | VOL |  | 0.17 | 0.4 | V | VCC = 4.5 V, IO = 4.0 mA | 8 |-| Low level output voltage (for QH' outputs) | VOL |  | 0.18 | 0.4 | V | VCC = 6.0 V, IO = 7.8 mA | 8 |-| Low level output voltage (for QA to QH outputs) | VOL |  | 0 | 0.1 | V | VCC = 2.0 V, IO = 20 μA | 8 |-| Low level output voltage (for QA to QH outputs) | VOL |  | 0.17 | 0.4 | V | VCC = 4.5 V, IO = 6.0 mA | 8 |-| Low level output voltage (for QA to QH outputs) | VOL |  | 0.18 | 0.4 | V | VCC = 6.0 V, IO = 7.8 mA | 8 |-| Input leakage current | II | -1 |  | 1 | μA | VCC = 6.0 V, VI = VCC or GND | 8 |-| High impedance output leakage current | IOZ | -10 |  | 10 | μA | VCC = 6.0 V, VI = VIH or VIL, VO = VCC or GND | 8 |-| Quiescent supply current | ICC |  |  | 80 | μA | VCC = 6.0 V, VI = VCC or GND | 8 |-| Maximum clock frequency | fMAX | 4 | 17 |  | MHz | VCC = 2.0 V, CL = 50 pF | 10 |-| Maximum clock frequency | fMAX | 20 | 50 |  | MHz | VCC = 4.5 V, CL = 50 pF | 10 |-| Maximum clock frequency | fMAX | 24 | 59 |  | MHz | VCC = 6.0 V, CL = 50 pF | 10 |-| Propagation delay time (SCK - QH') | tPLH, tPHL |  | 45 | 190 | ns | VCC = 2.0 V, CL = 50 pF | 9 |-| Propagation delay time (SCK - QH') | tPLH, tPHL |  | 15 | 38 | ns | VCC = 4.5 V, CL = 50 pF | 9 |-| Propagation delay time (SCK - QH') | tPLH, tPHL |  | 13 | 32 | ns | VCC = 6.0 V, CL = 50 pF | 9 |-| Propagation delay time (RCK - Qn) | tPLH, tPHL |  | 60 | 225 | ns | VCC = 2.0 V, CL = 50 pF | 9 |-| Propagation delay time (RCK - Qn) | tPLH, tPHL |  | 20 | 45 | ns | VCC = 4.5 V, CL = 50 pF | 9 |-| Propagation delay time (RCK - Qn) | tPLH, tPHL |  | 17 | 38 | ns | VCC = 6.0 V, CL = 50 pF | 9 |-| High impedance output enable time | tPZL, tPZH |  | 45 | 205 | ns | VCC = 2.0 V, CL = 50 pF, RL = 1 kΩ | 9 |-| High impedance output enable time | tPZL, tPZH |  | 15 | 41 | ns | VCC = 4.5 V, CL = 50 pF, RL = 1 kΩ | 9 |-| High impedance output enable time | tPZL, tPZH |  | 13 | 35 | ns | VCC = 6.0 V, CL = 50 pF, RL = 1 kΩ | 9 |-| High impedance output disable time | tPLZ, tPHZ |  | 30 | 225 | ns | VCC = 2.0 V, CL = 50 pF, RL = 1 kΩ | 9 |-| High impedance output disable time | tPLZ, tPHZ |  | 15 | 45 | ns | VCC = 4.5 V, CL = 50 pF, RL = 1 kΩ | 9 |-| High impedance output disable time | tPLZ, tPHZ |  | 14 | 38 | ns | VCC = 6.0 V, CL = 50 pF, RL = 1 kΩ | 9 |+| High level output voltage (QH') | VOH | 1.9 |  |  | V | VCC = 2.0 V, IO = -20 µA | 8 |+| High level output voltage (QH') | VOH | 4.4 |  |  | V | VCC = 4.5 V, IO = -20 µA | 8 |+| High level output voltage (QH') | VOH | 5.9 |  |  | V | VCC = 6.0 V, IO = -20 µA | 8 |+| High level output voltage (QH') | VOH | 4.1 |  |  | V | VCC = 4.5 V, IO = -4.0 mA | 8 |+| High level output voltage (QH') | VOH | 5.6 |  |  | V | VCC = 6.0 V, IO = -7.8 mA | 8 |+| High level output voltage (QA to QH) | VOH | 1.9 |  |  | V | VCC = 2.0 V, IO = -20 µA | 8 |+| High level output voltage (QA to QH) | VOH | 4.4 |  |  | V | VCC = 4.5 V, IO = -20 µA | 8 |+| High level output voltage (QA to QH) | VOH | 5.9 |  |  | V | VCC = 6.0 V, IO = -20 µA | 8 |+| High level output voltage (QA to QH) | VOH | 4.1 |  |  | V | VCC = 4.5 V, IO = -6.0 mA | 8 |+| High level output voltage (QA to QH) | VOH | 5.6 |  |  | V | VCC = 6.0 V, IO = -7.8 mA | 8 |+| Low level output voltage (QH') | VOL |  |  | 0.1 | V | VCC = 2.0 V, IO = 20 µA | 8 |+| Low level output voltage (QH') | VOL |  |  | 0.4 | V | VCC = 4.5 V, IO = 4.0 mA | 8 |+| Low level output voltage (QA to QH) | VOL |  |  | 0.1 | V | VCC = 2.0 V, IO = 20 µA | 8 |+| Low level output voltage (QA to QH) | VOL |  |  | 0.4 | V | VCC = 4.5 V, IO = 6.0 mA | 8 |+| Input leakage current | II | -1 |  | 1 | µA | VCC = 6.0 V, VI = VCC or GND | 8 |+| High impedance output leakage current | IOZ | -10 |  | 10 | µA | VCC = 6.0 V, VI = VIH or VIL, VO = VCC or GND | 8 |+| Quiescent supply current | ICC |  |  | 80 | µA | VCC = 6.0 V, VI = VCC or GND | 8 |+| Maximum clock frequency | fMAX | 4 |  |  | MHz | VCC = 2.0 V, CL = 50 pF | 10 |+| Maximum clock frequency | fMAX | 20 |  |  | MHz | VCC = 4.5 V, CL = 50 pF | 10 |+| Maximum clock frequency | fMAX | 24 |  |  | MHz | VCC = 6.0 V, CL = 50 pF | 10 |+| Propagation delay time (SCK - QH') | tPLH, tPHL |  |  | 190 | ns | VCC = 2.0 V, CL = 50 pF | 9 |+| Propagation delay time (SCK - QH') | tPLH, tPHL |  |  | 38 | ns | VCC = 4.5 V, CL = 50 pF | 9 |+| Propagation delay time (SCK - QH') | tPLH, tPHL |  |  | 32 | ns | VCC = 6.0 V, CL = 50 pF | 9 |+| Propagation delay time (RCK - Qn) | tPLH, tPHL |  |  | 225 | ns | VCC = 2.0 V, CL = 50 pF | 9 |+| Propagation delay time (RCK - Qn) | tPLH, tPHL |  |  | 45 | ns | VCC = 4.5 V, CL = 50 pF | 9 |+| Propagation delay time (RCK - Qn) | tPLH, tPHL |  |  | 38 | ns | VCC = 6.0 V, CL = 50 pF | 9 |  ## CAD (KiCad official) @@ -108,7 +99,7 @@ Limits as printed in the datasheet (page.json `metadata.characteristics` carries  Data extracted from the manufacturer datasheet, not a distributor listing: -- **Datasheet:** [STMicroelectronics datasheet](https://www.st.com/resource/en/datasheet/m74hc595yrm13tr.pdf) (22 pp, sha256 `ca8fa15b390cb55e`, retrieved 2026-11-06, tier: manufacturer)+- **Datasheet:** [STMicroelectronics datasheet](https://www.st.com/resource/en/datasheet/m74hc595yrm13tr.pdf) (22 pp, sha256 `ca8fa15b390cb55e`, retrieved 2026-11-09, tier: manufacturer) - **Extractor:** `ds2sf` (Claude). Every pin and dimension is cited to a datasheet page; it refuses to fabricate. - **CAD:** KiCad official libraries (CC-BY-SA 4.0). 
m74hc595yrm13tr-hero.glb
⋯ 1 unchanged line ⋯
m74hc595yrm13tr-hero.overlay.json+1−1
@@ -76,7 +76,7 @@     "pins": "page.json component.pins",     "pins_sha256": "ed722170c3ac8b8e692161b6483054bb5acb600f191ca034d6e8b4d7b861c8cb"   },-  "generator": "adom-wiki 1.8.11 (component_hero)",+  "generator": "adom-wiki 1.8.14 (component_hero)",   "labels": [     {       "pad": "1",
package.json+29−29
@@ -1,6 +1,6 @@ {   "slug": "m74hc595yrm13tr",-  "version": "0.1.1",+  "version": "0.1.2",   "type": "component",   "description": "STMicroelectronics Shift Registers, SOIC-16. Pinout settled in review by an AI reviewer against the manufacturer's datasheet, KiCad symbol/footprint/3D.",   "tags": [@@ -54,7 +54,7 @@       "mouser": "511-M74HC595YRM13TR"     },     "distributor_check": {-      "checked_at": "2026-11-06T00:54:47Z",+      "checked_at": "2026-11-09T22:43:08Z",       "source": "Component Ocean /api/assign-pns",       "digikey": {         "pn": "497-14396-2-ND",@@ -68,45 +68,45 @@     "pins": [       {         "number": "1",-        "name": "QA to QH",+        "name": "QB",         "type": "tri_state",-        "description": "One of the eight 3-state storage-register data outputs; it is disabled (high impedance) when G is high and enabled when G is low."+        "description": "Data output of the storage register, 3-state, enabled when G is low."       },       {         "number": "2",-        "name": "QA to QH",+        "name": "QC",         "type": "tri_state",-        "description": "One of the eight 3-state storage-register data outputs; it is disabled (high impedance) when G is high and enabled when G is low."+        "description": "Data output of the storage register, 3-state, enabled when G is low."       },       {         "number": "3",-        "name": "QA to QH",+        "name": "QD",         "type": "tri_state",-        "description": "One of the eight 3-state storage-register data outputs; it is disabled (high impedance) when G is high and enabled when G is low."+        "description": "Data output of the storage register, 3-state, enabled when G is low."       },       {         "number": "4",-        "name": "QA to QH",+        "name": "QE",         "type": "tri_state",-        "description": "One of the eight 3-state storage-register data outputs; it is disabled (high impedance) when G is high and enabled when G is low."+        "description": "Data output of the storage register, 3-state, enabled when G is low."       },       {         "number": "5",-        "name": "QA to QH",+        "name": "QF",         "type": "tri_state",-        "description": "One of the eight 3-state storage-register data outputs; it is disabled (high impedance) when G is high and enabled when G is low."+        "description": "Data output of the storage register, 3-state, enabled when G is low."       },       {         "number": "6",-        "name": "QA to QH",+        "name": "QG",         "type": "tri_state",-        "description": "One of the eight 3-state storage-register data outputs; it is disabled (high impedance) when G is high and enabled when G is low."+        "description": "Data output of the storage register, 3-state, enabled when G is low."       },       {         "number": "7",-        "name": "QA to QH",+        "name": "QH",         "type": "tri_state",-        "description": "One of the eight 3-state storage-register data outputs; it is disabled (high impedance) when G is high and enabled when G is low."+        "description": "Data output of the storage register, 3-state, enabled when G is low."       },       {         "number": "8",@@ -118,43 +118,43 @@         "number": "9",         "name": "QH'",         "type": "output",-        "description": "Serial data output from the last shift-register stage, provided for cascading devices; it is not 3-state."+        "description": "Serial data output of the last shift register stage, for cascading."       },       {         "number": "10",-        "name": "SCLR",+        "name": "~{SCLR}",         "type": "input",-        "description": "Active-low shift register clear input; when low the shift register is cleared, and SCLR minimum pulse width and removal time are specified in the AC characteristics."+        "description": "Shift register clear input, active low."       },       {         "number": "11",         "name": "SCK",         "type": "input",-        "description": "Shift register clock input; the shift register advances on its positive edge."+        "description": "Shift register clock input."       },       {         "number": "12",         "name": "RCK",         "type": "input",-        "description": "Storage register clock input; the storage register latches the shift register data on its positive edge."+        "description": "Storage register clock input."       },       {         "number": "13",-        "name": "G",+        "name": "~{G}",         "type": "input",-        "description": "Output enable input; when high it disables the QA to QH outputs and when low it enables them."+        "description": "Output enable input, active low."       },       {         "number": "14",         "name": "SI",         "type": "input",-        "description": "Serial data input to the first shift register stage, sampled on the SCK positive edge."+        "description": "Serial data input."       },       {         "number": "15",-        "name": "QA to QH",+        "name": "QA",         "type": "tri_state",-        "description": "One of the eight 3-state storage-register data outputs; it is disabled (high impedance) when G is high and enabled when G is low."+        "description": "Data output of the storage register, 3-state, enabled when G is low."       },       {         "number": "16",@@ -200,7 +200,7 @@         "centre_offset_mm": 0.0,         "footprint_binding": "identity",         "sha256": "d5eeddb4c0b304dc61950919b126fc61d7586abd5f16ab71a2a79759ec6498bf",-        "checked": "2026-11-06",+        "checked": "2026-11-09",         "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"       },       {@@ -218,8 +218,8 @@         "zmin_mm": -0.0,         "centre_offset_mm": 0.0,         "footprint_binding": "identity",-        "sha256": "93c78b571d3282c651e3a8f732079a032da5d0079dbb02bb36ec0f47d2b8e399",-        "checked": "2026-11-06",+        "sha256": "623b203df0ec69253696dfb9c4c9ccf0a65a83c4f2342f41ab202906826d1c1a",+        "checked": "2026-11-09",         "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"       }     ],
page.json+30−36
@@ -4,7 +4,7 @@   "slug": "m74hc595yrm13tr",   "title": "M74HC595YRM13TR",   "brief": "STMicroelectronics Shift Registers, SOIC-16. Pinout settled in review by an AI reviewer against the manufacturer's datasheet, KiCad symbol/footprint/3D.",-  "version": "0.1.1",+  "version": "0.1.2",   "license": "CC-BY-SA-4.0",   "tags": [     "component",@@ -36,7 +36,7 @@       "mouser": "511-M74HC595YRM13TR"     },     "distributor_check": {-      "checked_at": "2026-11-06T00:54:47Z",+      "checked_at": "2026-11-09T22:43:08Z",       "source": "Component Ocean /api/assign-pns",       "digikey": {         "pn": "497-14396-2-ND",@@ -159,12 +159,6 @@         "described": 16,         "cites_pages": true,         "refuses_to_fabricate": true-      },-      "correction": {-        "at": "2026-11-06",-        "what": "6 of 16 pins corrected",-        "how": "pinout replaced from review decision: ray (review) (); the previous pinout came from an earlier extraction",-        "symbol": "regenerated from the corrected pinout"       }     },     "viewers": {@@ -188,7 +182,7 @@         "centre_offset_mm": 0,         "footprint_binding": "identity",         "sha256": "d5eeddb4c0b304dc61950919b126fc61d7586abd5f16ab71a2a79759ec6498bf",-        "checked": "2026-11-06",+        "checked": "2026-11-09",         "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"       },       {@@ -206,8 +200,8 @@         "zmin_mm": 0,         "centre_offset_mm": 0,         "footprint_binding": "identity",-        "sha256": "93c78b571d3282c651e3a8f732079a032da5d0079dbb02bb36ec0f47d2b8e399",-        "checked": "2026-11-06",+        "sha256": "623b203df0ec69253696dfb9c4c9ccf0a65a83c4f2342f41ab202906826d1c1a",+        "checked": "2026-11-09",         "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"       }     ],@@ -352,7 +346,7 @@           "min": null,           "typ": null,           "max": 500,-          "conditions": "SO package at 65 \u00b0C; derate -7 mW/\u00b0C from 65 to 125 \u00b0C",+          "conditions": "SO package at 65 °C; derate -7 mW/°C from 65 to 125 °C",           "source_page": 7,           "source": "datasheet"         },@@ -360,7 +354,7 @@           "name": "Storage temperature",           "symbol": "Tstg",           "kind": "absolute_maximum",-          "unit": "\u00b0C",+          "unit": "°C",           "min": -65,           "typ": null,           "max": 150,@@ -372,7 +366,7 @@           "name": "Lead temperature",           "symbol": "TL",           "kind": "absolute_maximum",-          "unit": "\u00b0C",+          "unit": "°C",           "min": null,           "typ": null,           "max": 300,@@ -420,7 +414,7 @@           "name": "Operating temperature",           "symbol": "Top",           "kind": "recommended_operating",-          "unit": "\u00b0C",+          "unit": "°C",           "min": -55,           "typ": null,           "max": 125,@@ -544,7 +538,7 @@           "min": 1.9,           "typ": 2,           "max": null,-          "conditions": "VCC = 2.0 V, IO = -20 \u03bcA",+          "conditions": "VCC = 2.0 V, IO = -20 μA",           "source_page": 8,           "source": "datasheet"         },@@ -556,7 +550,7 @@           "min": 4.4,           "typ": 4.5,           "max": null,-          "conditions": "VCC = 4.5 V, IO = -20 \u03bcA",+          "conditions": "VCC = 4.5 V, IO = -20 μA",           "source_page": 8,           "source": "datasheet"         },@@ -568,7 +562,7 @@           "min": 5.9,           "typ": 6,           "max": null,-          "conditions": "VCC = 6.0 V, IO = -20 \u03bcA",+          "conditions": "VCC = 6.0 V, IO = -20 μA",           "source_page": 8,           "source": "datasheet"         },@@ -604,7 +598,7 @@           "min": 1.9,           "typ": 2,           "max": null,-          "conditions": "VCC = 2.0 V, IO = -20 \u03bcA",+          "conditions": "VCC = 2.0 V, IO = -20 μA",           "source_page": 8,           "source": "datasheet"         },@@ -616,7 +610,7 @@           "min": 4.4,           "typ": 4.5,           "max": null,-          "conditions": "VCC = 4.5 V, IO = -20 \u03bcA",+          "conditions": "VCC = 4.5 V, IO = -20 μA",           "source_page": 8,           "source": "datasheet"         },@@ -628,7 +622,7 @@           "min": 5.9,           "typ": 6,           "max": null,-          "conditions": "VCC = 6.0 V, IO = -20 \u03bcA",+          "conditions": "VCC = 6.0 V, IO = -20 μA",           "source_page": 8,           "source": "datasheet"         },@@ -664,7 +658,7 @@           "min": null,           "typ": 0,           "max": 0.1,-          "conditions": "VCC = 2.0 V, IO = 20 \u03bcA",+          "conditions": "VCC = 2.0 V, IO = 20 μA",           "source_page": 8,           "source": "datasheet"         },@@ -700,7 +694,7 @@           "min": null,           "typ": 0,           "max": 0.1,-          "conditions": "VCC = 2.0 V, IO = 20 \u03bcA",+          "conditions": "VCC = 2.0 V, IO = 20 μA",           "source_page": 8,           "source": "datasheet"         },@@ -732,7 +726,7 @@           "name": "Input leakage current",           "symbol": "II",           "kind": "electrical",-          "unit": "\u03bcA",+          "unit": "μA",           "min": -1,           "typ": null,           "max": 1,@@ -744,7 +738,7 @@           "name": "High impedance output leakage current",           "symbol": "IOZ",           "kind": "electrical",-          "unit": "\u03bcA",+          "unit": "μA",           "min": -10,           "typ": null,           "max": 10,@@ -756,7 +750,7 @@           "name": "Quiescent supply current",           "symbol": "ICC",           "kind": "electrical",-          "unit": "\u03bcA",+          "unit": "μA",           "min": null,           "typ": null,           "max": 80,@@ -880,7 +874,7 @@           "min": null,           "typ": 45,           "max": 205,-          "conditions": "VCC = 2.0 V, CL = 50 pF, RL = 1 k\u03a9",+          "conditions": "VCC = 2.0 V, CL = 50 pF, RL = 1 kΩ",           "source_page": 9,           "source": "datasheet"         },@@ -892,7 +886,7 @@           "min": null,           "typ": 15,           "max": 41,-          "conditions": "VCC = 4.5 V, CL = 50 pF, RL = 1 k\u03a9",+          "conditions": "VCC = 4.5 V, CL = 50 pF, RL = 1 kΩ",           "source_page": 9,           "source": "datasheet"         },@@ -904,7 +898,7 @@           "min": null,           "typ": 13,           "max": 35,-          "conditions": "VCC = 6.0 V, CL = 50 pF, RL = 1 k\u03a9",+          "conditions": "VCC = 6.0 V, CL = 50 pF, RL = 1 kΩ",           "source_page": 9,           "source": "datasheet"         },@@ -916,7 +910,7 @@           "min": null,           "typ": 30,           "max": 225,-          "conditions": "VCC = 2.0 V, CL = 50 pF, RL = 1 k\u03a9",+          "conditions": "VCC = 2.0 V, CL = 50 pF, RL = 1 kΩ",           "source_page": 9,           "source": "datasheet"         },@@ -928,7 +922,7 @@           "min": null,           "typ": 15,           "max": 45,-          "conditions": "VCC = 4.5 V, CL = 50 pF, RL = 1 k\u03a9",+          "conditions": "VCC = 4.5 V, CL = 50 pF, RL = 1 kΩ",           "source_page": 9,           "source": "datasheet"         },@@ -940,7 +934,7 @@           "min": null,           "typ": 14,           "max": 38,-          "conditions": "VCC = 6.0 V, CL = 50 pF, RL = 1 k\u03a9",+          "conditions": "VCC = 6.0 V, CL = 50 pF, RL = 1 kΩ",           "source_page": 9,           "source": "datasheet"         }@@ -984,7 +978,7 @@     "m74hc595yrm13tr-hero.overlay.json",     "m74hc595yrm13tr-etched.glb"   ],-  "visibility": {-    "public": true-  }-}+  "visibility": "private",+  "description": "STMicroelectronics Shift Registers, SOIC-16. Pinout settled in review by an AI reviewer against the manufacturer's datasheet, KiCad symbol/footprint/3D.",+  "org": "adom"+}\ No newline at end of file
viewers/footprint.html+206−61
@@ -1,65 +1,210 @@-<!doctype html><html lang=en><head><meta charset=utf-8>-<meta name=viewport content="width=device-width,initial-scale=1"><title>ADOM/M74HC595YRM13TR footprint</title>+<!doctype html><html><head><meta charset="utf-8">+<title>SOIC-16_3.9x9.9mm_P1.27mm - adom-footprint</title>+<meta name="viewport" content="width=device-width,initial-scale=1"> <style>-:root{--bg:#0d1117;--panel:#161b22;--edge:#30363d;--ink:#e6edf3;--mut:#8b949e;--acc:#00b8b0;--accb:#00e6dc;--hi:#6ea8fe}-*{box-sizing:border-box;margin:0}html,body{height:100%}-body{background:var(--bg);color:var(--ink);font-family:'Satoshi',system-ui,sans-serif;display:flex;flex-direction:column}-.bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:8px 11px;border-bottom:1px solid var(--edge);flex:none}-.bar .h{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--mut);font-weight:700}-.bar .sp{flex:1}-.lyrtog{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:var(--mut);background:#1a2130;border:1px solid var(--edge);border-radius:999px;padding:3px 9px;cursor:pointer;user-select:none}-.lyrtog.on{color:var(--ink);border-color:#485162}.lyrtog:not(.on){opacity:.5}-.lyrtog .d{width:8px;height:8px;border-radius:50%;background:#485162}-.stage{flex:1;min-height:0;position:relative;overflow:hidden;background:var(--bg);cursor:grab;touch-action:none}-.stage.drag{cursor:grabbing}-.stage svg{position:absolute;inset:0;width:100%;height:100%}-.pingroup,.pad{cursor:pointer}-.pingroup.hi .pinvis{stroke:var(--hi)!important;stroke-width:7}-rect.pad.hi{stroke:var(--hi);stroke-width:.15;paint-order:stroke}-.lyr-off{display:none}-#tip{position:fixed;z-index:99;pointer-events:none;display:none;max-width:250px;background:#0d1117;border:1px solid var(--acc);border-radius:8px;padding:7px 10px;box-shadow:0 8px 26px #000a}-#tip .tn{font:700 12px ui-monospace,monospace;color:var(--accb)}-#tip .tt{font-size:10px;text-transform:uppercase;letter-spacing:.04em;color:var(--mut);margin-top:1px}-#tip .td{font-size:11px;color:var(--ink);margin-top:5px;line-height:1.4}-</style></head><body>-<div class=bar><span class=h>PCB footprint</span><span class=sp></span><button class="lyrtog on" data-lyr="copper"><span class="d" style="background:#e35d5d"></span>Copper</button><button class="lyrtog on" data-lyr="silk"><span class="d" style="background:#e6edf3"></span>Silkscreen</button><button class="lyrtog" data-lyr="fab"><span class="d" style="background:#8b949e"></span>Fab</button><button class="lyrtog" data-lyr="courtyard"><span class="d" style="background:#bc8cff"></span>Courtyard</button></div>-<div class=stage id=stage><svg xmlns='http://www.w3.org/2000/svg' viewBox='-4.100 -5.740 8.200 11.340' style='width:100%;height:100%'><line class='ly-silk' x1='-2.060' y1='-5.060' x2='2.060' y2='-5.060' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='-2.060' y1='-5.005' x2='-2.060' y2='-5.060' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='-2.060' y1='5.060' x2='-2.060' y2='5.005' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='2.060' y1='-5.060' x2='2.060' y2='-5.005' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='2.060' y1='5.005' x2='2.060' y2='5.060' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='2.060' y1='5.060' x2='-2.060' y2='5.060' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-courtyard' x1='-3.700' y1='-5.000' x2='-2.200' y2='-5.000' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-3.700' y1='5.000' x2='-3.700' y2='-5.000' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-2.200' y1='-5.200' x2='2.200' y2='-5.200' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-2.200' y1='-5.000' x2='-2.200' y2='-5.200' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-2.200' y1='5.000' x2='-3.700' y2='5.000' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-2.200' y1='5.200' x2='-2.200' y2='5.000' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.200' y1='-5.200' x2='2.200' y2='-5.000' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.200' y1='-5.000' x2='3.700' y2='-5.000' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.200' y1='5.000' x2='2.200' y2='5.200' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.200' y1='5.200' x2='-2.200' y2='5.200' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='3.700' y1='-5.000' x2='3.700' y2='5.000' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='3.700' y1='5.000' x2='2.200' y2='5.000' stroke='#4ade80' stroke-width='0.050'/><polygon class='ly-silk' points='-2.600,-5.010 -2.840,-5.340 -2.360,-5.340' fill='#d8b4fe' stroke='none'/><polygon class='ly-fab' points='-0.975,-4.950 1.950,-4.950 1.950,4.950 -1.950,4.950 -1.950,-3.975' fill='none' stroke='#f472b6' stroke-width='0.100'/><rect class='ly-copper pad' data-num='1' data-name='QB' x='-3.450' y='-4.745' width='1.950' height='0.600' rx='0.150' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.475' y='-4.445' font-size='0.360' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>1</text><rect class='ly-copper pad' data-num='2' data-name='QC' x='-3.450' y='-3.475' width='1.950' height='0.600' rx='0.150' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.475' y='-3.175' font-size='0.360' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>2</text><rect class='ly-copper pad' data-num='3' data-name='QD' x='-3.450' y='-2.205' width='1.950' height='0.600' rx='0.150' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.475' y='-1.905' font-size='0.360' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>3</text><rect class='ly-copper pad' data-num='4' data-name='QE' x='-3.450' y='-0.935' width='1.950' height='0.600' rx='0.150' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.475' y='-0.635' font-size='0.360' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>4</text><rect class='ly-copper pad' data-num='5' data-name='QF' x='-3.450' y='0.335' width='1.950' height='0.600' rx='0.150' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.475' y='0.635' font-size='0.360' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>5</text><rect class='ly-copper pad' data-num='6' data-name='QG' x='-3.450' y='1.605' width='1.950' height='0.600' rx='0.150' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.475' y='1.905' font-size='0.360' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>6</text><rect class='ly-copper pad' data-num='7' data-name='QH' x='-3.450' y='2.875' width='1.950' height='0.600' rx='0.150' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.475' y='3.175' font-size='0.360' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>7</text><rect class='ly-copper pad' data-num='8' data-name='GND' x='-3.450' y='4.145' width='1.950' height='0.600' rx='0.150' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.475' y='4.445' font-size='0.360' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>8</text><rect class='ly-copper pad' data-num='9' data-name='QH&#39;' x='1.500' y='4.145' width='1.950' height='0.600' rx='0.150' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.475' y='4.445' font-size='0.360' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>9</text><rect class='ly-copper pad' data-num='10' data-name='~{SCLR}' x='1.500' y='2.875' width='1.950' height='0.600' rx='0.150' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.475' y='3.175' font-size='0.360' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>10</text><rect class='ly-copper pad' data-num='11' data-name='SCK' x='1.500' y='1.605' width='1.950' height='0.600' rx='0.150' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.475' y='1.905' font-size='0.360' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>11</text><rect class='ly-copper pad' data-num='12' data-name='RCK' x='1.500' y='0.335' width='1.950' height='0.600' rx='0.150' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.475' y='0.635' font-size='0.360' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>12</text><rect class='ly-copper pad' data-num='13' data-name='~{G}' x='1.500' y='-0.935' width='1.950' height='0.600' rx='0.150' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.475' y='-0.635' font-size='0.360' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>13</text><rect class='ly-copper pad' data-num='14' data-name='SI' x='1.500' y='-2.205' width='1.950' height='0.600' rx='0.150' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.475' y='-1.905' font-size='0.360' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>14</text><rect class='ly-copper pad' data-num='15' data-name='QA' x='1.500' y='-3.475' width='1.950' height='0.600' rx='0.150' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.475' y='-3.175' font-size='0.360' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>15</text><rect class='ly-copper pad' data-num='16' data-name='VCC' x='1.500' y='-4.745' width='1.950' height='0.600' rx='0.150' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.475' y='-4.445' font-size='0.360' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>16</text></svg></div>-<div id=tip></div>+/* ── adom-footprint shared viewer core (CSS) ───────────────────────────────+   Included VERBATIM by both the live app (app.html) and the static embed+   (embed.html) so the canvas, zoom toolbar and layer-panel rows look identical+   and cannot drift. Self-contained literal colours (no dependency on either+   file's CSS vars). Class prefix: av- */++.av-vp{position:absolute;inset:0;overflow:hidden;cursor:grab;background:radial-gradient(circle at 50% 42%,#121a26 0%,#0d1117 72%)}+.av-vp.grab{cursor:grabbing}+/* DIRECT child only — the zoom-toolbar button icons (.av-tools svg) also live+   inside .av-vp; without '>' they'd inherit position:absolute and stack at 0,0. */+.av-vp > svg{position:absolute;left:0;top:0;width:100%;height:100%;transform-origin:0 0;display:block}++/* zoom toolbar */+/* Grouped translucent toolbar (matches adom-symbol's .tools): one container, borderless+   buttons that highlight on hover — instead of individually-boxed buttons. */+.av-tools{position:absolute;left:10px;top:10px;display:flex;gap:3px;padding:3px;z-index:5;background:rgba(22,27,34,.82);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border:1px solid #222b38;border-radius:9px}+.av-tools button{width:30px;height:30px;border-radius:6px;border:none;background:transparent;color:#cfd8e2;cursor:pointer;display:grid;place-items:center;transition:background .15s ease,color .15s ease}+.av-tools button svg{width:16px;height:16px;display:block}+.av-tools button:hover{background:#222b38;color:#37c8a6}+.av-tools button:focus,.av-tools button:focus-visible{outline:none}+.av-panhint{position:absolute;right:10px;bottom:9px;color:#8b949e;font-size:11px;z-index:5;pointer-events:none;user-select:none;-webkit-user-select:none}++/* layer panel rows */+.av-lrow{display:flex;align-items:center;gap:9px;padding:8px 9px;border-radius:8px;cursor:pointer}+.av-lrow:hover{background:#161c27}+.av-lrow .sw{width:13px;height:13px;border-radius:3px;border:1px solid rgba(255,255,255,.15);flex:0 0 13px}+.av-lrow .sw.ring{background:transparent!important}+.av-lrow .ln{flex:1;font-size:13px}+.av-lrow .meta{font-size:10px;color:#8b949e}+.av-lrow .chk{width:16px;height:16px;border-radius:4px;border:1.5px solid #3a4757;display:grid;place-items:center;color:#0b0f17;font-size:11px}+.av-lrow.on .chk{background:#37c8a6;border-color:#37c8a6}+.av-lrow.off .ln,.av-lrow.off .sw{opacity:.4}+.av-lrow.special{background:linear-gradient(100deg,rgba(55,200,166,.10),transparent);border:1px solid rgba(55,200,166,.25);margin-top:4px}+.av-lrow.special .ln{color:#7ef0d2;font-weight:600}++:root{--bg:#0d1117;--panel:#11161f;--border:#222b38;--text:#e6edf3;--muted:#8b949e;--accent:#37c8a6}+*{box-sizing:border-box;margin:0;padding:0}html,body{height:100%}+body{background:var(--bg);color:var(--text);font-family:'Satoshi','Segoe UI',system-ui,sans-serif;display:flex;flex-direction:column;overflow:hidden}+header{display:flex;align-items:center;gap:9px;padding:9px 14px;border-bottom:1px solid var(--border);flex:0 0 auto}+header .dot{width:9px;height:9px;border-radius:50%;background:var(--accent);box-shadow:0 0 10px var(--accent)}+header .b{font-weight:700;font-size:14px}header .b span{color:var(--muted);font-weight:400}+header .nm{margin-left:auto;font-weight:600;font-size:13px;color:#cfd8e2}+main{flex:1;display:flex;min-height:0}+.vpwrap{flex:1;position:relative;min-width:0}+aside{flex:0 0 248px;border-left:1px solid var(--border);background:var(--panel);display:flex;flex-direction:column;min-height:0}+aside .ah{padding:9px 12px;border-bottom:1px solid var(--border);font-size:12px;color:var(--muted)}+.layers{padding:6px}+.note{font-size:11px;color:var(--muted);line-height:1.45;padding:8px 11px}+.note b{color:#7ef0d2}+</style></head>+<body>+  <header><span class="dot"></span><span class="b">adom-footprint <span>· interactive</span></span><span class="nm">SOIC-16_3.9x9.9mm_P1.27mm</span></header>+  <main>+    <div class="vpwrap">+      <div class="av-vp" id="vp">+        <svg xmlns="http://www.w3.org/2000/svg" viewBox="-4.600 -5.895 9.200 11.790" preserveAspectRatio="xMidYMid meet"><g class="adom-layer-courtyard"><line x1="-3.7000" y1="-5.0000" x2="-2.2000" y2="-5.0000" stroke="#FF26E2" stroke-width="0.050" stroke-linecap="round" fill="none"/><line x1="-3.7000" y1="5.0000" x2="-3.7000" y2="-5.0000" stroke="#FF26E2" stroke-width="0.050" stroke-linecap="round" fill="none"/><line x1="-2.2000" y1="-5.2000" x2="2.2000" y2="-5.2000" stroke="#FF26E2" stroke-width="0.050" stroke-linecap="round" fill="none"/><line x1="-2.2000" y1="-5.0000" x2="-2.2000" y2="-5.2000" stroke="#FF26E2" stroke-width="0.050" stroke-linecap="round" fill="none"/><line x1="-2.2000" y1="5.0000" x2="-3.7000" y2="5.0000" stroke="#FF26E2" stroke-width="0.050" stroke-linecap="round" fill="none"/><line x1="-2.2000" y1="5.2000" x2="-2.2000" y2="5.0000" stroke="#FF26E2" stroke-width="0.050" stroke-linecap="round" fill="none"/><line x1="2.2000" y1="-5.2000" x2="2.2000" y2="-5.0000" stroke="#FF26E2" stroke-width="0.050" stroke-linecap="round" fill="none"/><line x1="2.2000" y1="-5.0000" x2="3.7000" y2="-5.0000" stroke="#FF26E2" stroke-width="0.050" stroke-linecap="round" fill="none"/><line x1="2.2000" y1="5.0000" x2="2.2000" y2="5.2000" stroke="#FF26E2" stroke-width="0.050" stroke-linecap="round" fill="none"/><line x1="2.2000" y1="5.2000" x2="-2.2000" y2="5.2000" stroke="#FF26E2" stroke-width="0.050" stroke-linecap="round" fill="none"/><line x1="3.7000" y1="-5.0000" x2="3.7000" y2="5.0000" stroke="#FF26E2" stroke-width="0.050" stroke-linecap="round" fill="none"/><line x1="3.7000" y1="5.0000" x2="2.2000" y2="5.0000" stroke="#FF26E2" stroke-width="0.050" stroke-linecap="round" fill="none"/></g><g class="adom-layer-fab"><polygon points="-0.9750,-4.9500 1.9500,-4.9500 1.9500,4.9500 -1.9500,4.9500 -1.9500,-3.9750" stroke="#6e7681" stroke-width="0.100" fill="none"/></g><g class="adom-layer-copper"><g data-pad="1" data-shape="roundrect" data-size="1.950x0.600" data-mount="smd"><rect x="-3.450" y="-4.745" width="1.950" height="0.600" rx="0.150" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g><g data-pad="2" data-shape="roundrect" data-size="1.950x0.600" data-mount="smd"><rect x="-3.450" y="-3.475" width="1.950" height="0.600" rx="0.150" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g><g data-pad="3" data-shape="roundrect" data-size="1.950x0.600" data-mount="smd"><rect x="-3.450" y="-2.205" width="1.950" height="0.600" rx="0.150" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g><g data-pad="4" data-shape="roundrect" data-size="1.950x0.600" data-mount="smd"><rect x="-3.450" y="-0.935" width="1.950" height="0.600" rx="0.150" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g><g data-pad="5" data-shape="roundrect" data-size="1.950x0.600" data-mount="smd"><rect x="-3.450" y="0.335" width="1.950" height="0.600" rx="0.150" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g><g data-pad="6" data-shape="roundrect" data-size="1.950x0.600" data-mount="smd"><rect x="-3.450" y="1.605" width="1.950" height="0.600" rx="0.150" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g><g data-pad="7" data-shape="roundrect" data-size="1.950x0.600" data-mount="smd"><rect x="-3.450" y="2.875" width="1.950" height="0.600" rx="0.150" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g><g data-pad="8" data-shape="roundrect" data-size="1.950x0.600" data-mount="smd"><rect x="-3.450" y="4.145" width="1.950" height="0.600" rx="0.150" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g><g data-pad="9" data-shape="roundrect" data-size="1.950x0.600" data-mount="smd"><rect x="1.500" y="4.145" width="1.950" height="0.600" rx="0.150" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g><g data-pad="10" data-shape="roundrect" data-size="1.950x0.600" data-mount="smd"><rect x="1.500" y="2.875" width="1.950" height="0.600" rx="0.150" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g><g data-pad="11" data-shape="roundrect" data-size="1.950x0.600" data-mount="smd"><rect x="1.500" y="1.605" width="1.950" height="0.600" rx="0.150" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g><g data-pad="12" data-shape="roundrect" data-size="1.950x0.600" data-mount="smd"><rect x="1.500" y="0.335" width="1.950" height="0.600" rx="0.150" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g><g data-pad="13" data-shape="roundrect" data-size="1.950x0.600" data-mount="smd"><rect x="1.500" y="-0.935" width="1.950" height="0.600" rx="0.150" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g><g data-pad="14" data-shape="roundrect" data-size="1.950x0.600" data-mount="smd"><rect x="1.500" y="-2.205" width="1.950" height="0.600" rx="0.150" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g><g data-pad="15" data-shape="roundrect" data-size="1.950x0.600" data-mount="smd"><rect x="1.500" y="-3.475" width="1.950" height="0.600" rx="0.150" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g><g data-pad="16" data-shape="roundrect" data-size="1.950x0.600" data-mount="smd"><rect x="1.500" y="-4.745" width="1.950" height="0.600" rx="0.150" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g></g><g class="adom-layer-heatsink"></g><g class="adom-layer-drill"></g><g class="adom-layer-silk"><line x1="-2.0600" y1="-5.0600" x2="2.0600" y2="-5.0600" stroke="#00cccc" stroke-width="0.120" stroke-linecap="round" fill="none"/><line x1="-2.0600" y1="-5.0050" x2="-2.0600" y2="-5.0600" stroke="#00cccc" stroke-width="0.120" stroke-linecap="round" fill="none"/><line x1="-2.0600" y1="5.0600" x2="-2.0600" y2="5.0050" stroke="#00cccc" stroke-width="0.120" stroke-linecap="round" fill="none"/><line x1="2.0600" y1="-5.0600" x2="2.0600" y2="-5.0050" stroke="#00cccc" stroke-width="0.120" stroke-linecap="round" fill="none"/><line x1="2.0600" y1="5.0050" x2="2.0600" y2="5.0600" stroke="#00cccc" stroke-width="0.120" stroke-linecap="round" fill="none"/><line x1="2.0600" y1="5.0600" x2="-2.0600" y2="5.0600" stroke="#00cccc" stroke-width="0.120" stroke-linecap="round" fill="none"/><polygon points="-2.6000,-5.0100 -2.8400,-5.3400 -2.3600,-5.3400" stroke="#00cccc" stroke-width="0.120" fill="#00cccc"/></g><g class="adom-layer-padnum"><text x="-2.475" y="-4.445" text-anchor="middle" dominant-baseline="central" font-size="0.252" fill="#fff" font-family="sans-serif" style="pointer-events:none">1</text><text x="-2.475" y="-3.175" text-anchor="middle" dominant-baseline="central" font-size="0.252" fill="#fff" font-family="sans-serif" style="pointer-events:none">2</text><text x="-2.475" y="-1.905" text-anchor="middle" dominant-baseline="central" font-size="0.252" fill="#fff" font-family="sans-serif" style="pointer-events:none">3</text><text x="-2.475" y="-0.635" text-anchor="middle" dominant-baseline="central" font-size="0.252" fill="#fff" font-family="sans-serif" style="pointer-events:none">4</text><text x="-2.475" y="0.635" text-anchor="middle" dominant-baseline="central" font-size="0.252" fill="#fff" font-family="sans-serif" style="pointer-events:none">5</text><text x="-2.475" y="1.905" text-anchor="middle" dominant-baseline="central" font-size="0.252" fill="#fff" font-family="sans-serif" style="pointer-events:none">6</text><text x="-2.475" y="3.175" text-anchor="middle" dominant-baseline="central" font-size="0.252" fill="#fff" font-family="sans-serif" style="pointer-events:none">7</text><text x="-2.475" y="4.445" text-anchor="middle" dominant-baseline="central" font-size="0.252" fill="#fff" font-family="sans-serif" style="pointer-events:none">8</text><text x="2.475" y="4.445" text-anchor="middle" dominant-baseline="central" font-size="0.252" fill="#fff" font-family="sans-serif" style="pointer-events:none">9</text><text x="2.475" y="3.175" text-anchor="middle" dominant-baseline="central" font-size="0.252" fill="#fff" font-family="sans-serif" style="pointer-events:none">10</text><text x="2.475" y="1.905" text-anchor="middle" dominant-baseline="central" font-size="0.252" fill="#fff" font-family="sans-serif" style="pointer-events:none">11</text><text x="2.475" y="0.635" text-anchor="middle" dominant-baseline="central" font-size="0.252" fill="#fff" font-family="sans-serif" style="pointer-events:none">12</text><text x="2.475" y="-0.635" text-anchor="middle" dominant-baseline="central" font-size="0.252" fill="#fff" font-family="sans-serif" style="pointer-events:none">13</text><text x="2.475" y="-1.905" text-anchor="middle" dominant-baseline="central" font-size="0.252" fill="#fff" font-family="sans-serif" style="pointer-events:none">14</text><text x="2.475" y="-3.175" text-anchor="middle" dominant-baseline="central" font-size="0.252" fill="#fff" font-family="sans-serif" style="pointer-events:none">15</text><text x="2.475" y="-4.445" text-anchor="middle" dominant-baseline="central" font-size="0.252" fill="#fff" font-family="sans-serif" style="pointer-events:none">16</text></g><g class="adom-layer-paste-apertures"><rect x="-3.450" y="-4.745" width="1.950" height="0.600" rx="0.05" transform="rotate(0.00 -2.475 -4.445)" fill="none" stroke="#8aa0b8" stroke-width="0.03" stroke-dasharray="0.12 0.08" opacity="0.7"/><rect x="-3.450" y="-3.475" width="1.950" height="0.600" rx="0.05" transform="rotate(0.00 -2.475 -3.175)" fill="none" stroke="#8aa0b8" stroke-width="0.03" stroke-dasharray="0.12 0.08" opacity="0.7"/><rect x="-3.450" y="-2.205" width="1.950" height="0.600" rx="0.05" transform="rotate(0.00 -2.475 -1.905)" fill="none" stroke="#8aa0b8" stroke-width="0.03" stroke-dasharray="0.12 0.08" opacity="0.7"/><rect x="-3.450" y="-0.935" width="1.950" height="0.600" rx="0.05" transform="rotate(0.00 -2.475 -0.635)" fill="none" stroke="#8aa0b8" stroke-width="0.03" stroke-dasharray="0.12 0.08" opacity="0.7"/><rect x="-3.450" y="0.335" width="1.950" height="0.600" rx="0.05" transform="rotate(0.00 -2.475 0.635)" fill="none" stroke="#8aa0b8" stroke-width="0.03" stroke-dasharray="0.12 0.08" opacity="0.7"/><rect x="-3.450" y="1.605" width="1.950" height="0.600" rx="0.05" transform="rotate(0.00 -2.475 1.905)" fill="none" stroke="#8aa0b8" stroke-width="0.03" stroke-dasharray="0.12 0.08" opacity="0.7"/><rect x="-3.450" y="2.875" width="1.950" height="0.600" rx="0.05" transform="rotate(0.00 -2.475 3.175)" fill="none" stroke="#8aa0b8" stroke-width="0.03" stroke-dasharray="0.12 0.08" opacity="0.7"/><rect x="-3.450" y="4.145" width="1.950" height="0.600" rx="0.05" transform="rotate(0.00 -2.475 4.445)" fill="none" stroke="#8aa0b8" stroke-width="0.03" stroke-dasharray="0.12 0.08" opacity="0.7"/><rect x="1.500" y="4.145" width="1.950" height="0.600" rx="0.05" transform="rotate(0.00 2.475 4.445)" fill="none" stroke="#8aa0b8" stroke-width="0.03" stroke-dasharray="0.12 0.08" opacity="0.7"/><rect x="1.500" y="2.875" width="1.950" height="0.600" rx="0.05" transform="rotate(0.00 2.475 3.175)" fill="none" stroke="#8aa0b8" stroke-width="0.03" stroke-dasharray="0.12 0.08" opacity="0.7"/><rect x="1.500" y="1.605" width="1.950" height="0.600" rx="0.05" transform="rotate(0.00 2.475 1.905)" fill="none" stroke="#8aa0b8" stroke-width="0.03" stroke-dasharray="0.12 0.08" opacity="0.7"/><rect x="1.500" y="0.335" width="1.950" height="0.600" rx="0.05" transform="rotate(0.00 2.475 0.635)" fill="none" stroke="#8aa0b8" stroke-width="0.03" stroke-dasharray="0.12 0.08" opacity="0.7"/><rect x="1.500" y="-0.935" width="1.950" height="0.600" rx="0.05" transform="rotate(0.00 2.475 -0.635)" fill="none" stroke="#8aa0b8" stroke-width="0.03" stroke-dasharray="0.12 0.08" opacity="0.7"/><rect x="1.500" y="-2.205" width="1.950" height="0.600" rx="0.05" transform="rotate(0.00 2.475 -1.905)" fill="none" stroke="#8aa0b8" stroke-width="0.03" stroke-dasharray="0.12 0.08" opacity="0.7"/><rect x="1.500" y="-3.475" width="1.950" height="0.600" rx="0.05" transform="rotate(0.00 2.475 -3.175)" fill="none" stroke="#8aa0b8" stroke-width="0.03" stroke-dasharray="0.12 0.08" opacity="0.7"/><rect x="1.500" y="-4.745" width="1.950" height="0.600" rx="0.05" transform="rotate(0.00 2.475 -4.445)" fill="none" stroke="#8aa0b8" stroke-width="0.03" stroke-dasharray="0.12 0.08" opacity="0.7"/></g><g class="adom-layer-paste-dots"><circle cx="-3.225" cy="-4.445" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-2.975" cy="-4.445" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-2.725" cy="-4.445" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-2.475" cy="-4.445" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-2.225" cy="-4.445" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-1.975" cy="-4.445" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-1.725" cy="-4.445" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-3.225" cy="-3.175" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-2.975" cy="-3.175" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-2.725" cy="-3.175" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-2.475" cy="-3.175" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-2.225" cy="-3.175" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-1.975" cy="-3.175" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-1.725" cy="-3.175" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-3.225" cy="-1.905" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-2.975" cy="-1.905" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-2.725" cy="-1.905" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-2.475" cy="-1.905" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-2.225" cy="-1.905" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-1.975" cy="-1.905" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-1.725" cy="-1.905" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-3.225" cy="-0.635" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-2.975" cy="-0.635" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-2.725" cy="-0.635" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-2.475" cy="-0.635" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-2.225" cy="-0.635" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-1.975" cy="-0.635" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-1.725" cy="-0.635" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-3.225" cy="0.635" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-2.975" cy="0.635" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-2.725" cy="0.635" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-2.475" cy="0.635" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-2.225" cy="0.635" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-1.975" cy="0.635" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-1.725" cy="0.635" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-3.225" cy="1.905" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-2.975" cy="1.905" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-2.725" cy="1.905" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-2.475" cy="1.905" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-2.225" cy="1.905" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-1.975" cy="1.905" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-1.725" cy="1.905" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-3.225" cy="3.175" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-2.975" cy="3.175" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-2.725" cy="3.175" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-2.475" cy="3.175" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-2.225" cy="3.175" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-1.975" cy="3.175" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-1.725" cy="3.175" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-3.225" cy="4.445" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-2.975" cy="4.445" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-2.725" cy="4.445" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-2.475" cy="4.445" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-2.225" cy="4.445" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-1.975" cy="4.445" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-1.725" cy="4.445" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="1.725" cy="4.445" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="1.975" cy="4.445" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="2.225" cy="4.445" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="2.475" cy="4.445" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="2.725" cy="4.445" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="2.975" cy="4.445" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="3.225" cy="4.445" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="1.725" cy="3.175" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="1.975" cy="3.175" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="2.225" cy="3.175" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="2.475" cy="3.175" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="2.725" cy="3.175" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="2.975" cy="3.175" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="3.225" cy="3.175" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="1.725" cy="1.905" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="1.975" cy="1.905" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="2.225" cy="1.905" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="2.475" cy="1.905" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="2.725" cy="1.905" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="2.975" cy="1.905" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="3.225" cy="1.905" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="1.725" cy="0.635" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="1.975" cy="0.635" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="2.225" cy="0.635" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="2.475" cy="0.635" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="2.725" cy="0.635" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="2.975" cy="0.635" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="3.225" cy="0.635" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="1.725" cy="-0.635" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="1.975" cy="-0.635" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="2.225" cy="-0.635" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="2.475" cy="-0.635" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="2.725" cy="-0.635" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="2.975" cy="-0.635" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="3.225" cy="-0.635" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="1.725" cy="-1.905" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="1.975" cy="-1.905" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="2.225" cy="-1.905" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="2.475" cy="-1.905" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="2.725" cy="-1.905" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="2.975" cy="-1.905" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="3.225" cy="-1.905" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="1.725" cy="-3.175" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="1.975" cy="-3.175" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="2.225" cy="-3.175" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="2.475" cy="-3.175" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="2.725" cy="-3.175" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="2.975" cy="-3.175" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="3.225" cy="-3.175" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="1.725" cy="-4.445" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="1.975" cy="-4.445" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="2.225" cy="-4.445" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="2.475" cy="-4.445" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="2.725" cy="-4.445" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="2.975" cy="-4.445" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="3.225" cy="-4.445" r="0.150" fill="#37c8a6" opacity="0.92"/></g></svg>+      </div>+    </div>+    <aside>+      <div class="ah">Layers</div>+      <div class="layers" id="layers"></div>+      <div class="note">The <b>solder paste jet</b> layer shows the 300µm paste-dispensing dots that travel with the footprint. Off by default — toggle it on.</div>+    </aside>+  </main>+<script>/* ── adom-footprint shared viewer core (window.AV) ─────────────────────────+   Single source of truth for the layer list, toggle behaviour, defaults,+   pan/zoom and toolbar icons. Included VERBATIM by both app.html (live) and+   embed.html (static) so the two viewers cannot drift. Pure client-side; works+   on any SVG that carries the <g class="adom-layer-*"> groups. */+(function(){+  var ICON_ZIN='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="10.5" cy="10.5" r="6.5"/><path d="M20 20l-4.5-4.5M10.5 8v5M8 10.5h5"/></svg>';+  var ICON_ZOUT='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="10.5" cy="10.5" r="6.5"/><path d="M20 20l-4.5-4.5M8 10.5h5"/></svg>';+  // Zoom-to-FIT = a magnifier with a small square inside (fit content to view).+  // Deliberately NOT the four-corner expand/"fullscreen" glyph.+  var ICON_FIT='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="10.5" cy="10.5" r="6.5"/><path d="M20 20l-4.5-4.5"/><rect x="7.6" y="7.6" width="5.8" height="5.8" rx="1.2"/></svg>';++  // The canonical layer list. Every layer is a <g class="adom-layer-*"> in the+  // self-rendered SVG, so toggling is group-based (robust) — never colour-match.+  // `kind:'group'` on every entry: all layers are toggled by their <g> group+  // (robust), never by colour-match. (app.html still reads def.kind.)+  var LAYER_DEFS=[+    {key:'copper',    name:'Copper',           kind:'group', sel:'.adom-layer-copper',          sw:'#C83434'},+    // Auto-generated thermal-via array under the exposed pad — only present (and+    // listed) when the footprint has an exposed thermal pad.+    {key:'heatsink',  name:'Heatsink vias',    kind:'group', sel:'.adom-layer-heatsink',        sw:'#e8a13a'},+    {key:'padnum',    name:'Pad numbers',      kind:'group', sel:'.adom-layer-padnum',          sw:'#ffffff', ring:true},+    {key:'silk',      name:'Silkscreen',       kind:'group', sel:'.adom-layer-silk',            sw:'#00cccc'},+    {key:'fab',       name:'Fab (F.Fab)',      kind:'group', sel:'.adom-layer-fab',             sw:'#6e7681', ring:true},+    {key:'courtyard', name:'Courtyard',        kind:'group', sel:'.adom-layer-courtyard',       sw:'#FF26E2', ring:true},+    {key:'drill',     name:'Drill',            kind:'group', sel:'.adom-layer-drill',           sw:'#888888', ring:true},+    {key:'paste-ap',  name:'Paste apertures',  kind:'group', sel:'.adom-layer-paste-apertures', sw:'#8aa0b8', ring:true},+    // Generic name — the 300µm solder-paste dispensing dots. Off by default.+    {key:'paste-dots',name:'Solder paste jet', kind:'group', sel:'.adom-layer-paste-dots',      sw:'#37c8a6', special:true},+  ];++  // True only if the group actually holds drawn geometry (not an empty <g>) — so+  // layers with nothing in THIS footprint aren't listed as dead, dim rows.+  function groupHasGeo(svg,def){+    if(!svg) return false; var n=0,g=svg.querySelectorAll(def.sel);+    for(var i=0;i<g.length;i++){ n+=g[i].querySelectorAll('path,rect,circle,line,polygon,polyline,text').length; }+    return n>0;+  }+  function layerPresent(svg,def){ return groupHasGeo(svg,def); }+  function applyLayer(svg,def,on){+    if(!svg) return; var g=svg.querySelectorAll(def.sel);+    for(var i=0;i<g.length;i++) g[i].style.display=on?'':'none';+  }++  // Build layer rows into a container. opts:+  //   svg, container, state {key:bool}, meta {pasteDots,pasteApertures},+  //   onToggle(key,on). Missing state key -> special OFF, others ON. Skips empty+  //   non-special groups. Returns the keys actually shown.+  function buildLayers(opts){+    var svg=opts.svg, box=opts.container, state=opts.state||{}, meta=opts.meta||{}, shown=[];+    box.innerHTML='';+    LAYER_DEFS.forEach(function(def){+      if(!def.special && !groupHasGeo(svg,def)) return;+      var on = def.special ? (state[def.key]===true) : (state[def.key]!==false);+      var m = def.key==='paste-dots' ? ((meta.pasteDots||0)+' @ 300µm')+            : def.key==='paste-ap'   ? ((meta.pasteApertures||0)+' openings') : '';+      var row=document.createElement('div');+      row.className='av-lrow '+(on?'on':'off')+(def.special?' special':'');+      row.innerHTML='<span class="sw'+(def.ring?' ring':'')+'" style="'+(def.ring?('border-color:'+def.sw):('background:'+def.sw))+'"></span>'+        +'<span class="ln">'+def.name+'</span>'+(m?'<span class="meta">'+m+'</span>':'')+        +'<span class="chk">'+(on?'✓':'')+'</span>';+      row.onclick=function(){+        var nv=!row.classList.contains('on');+        row.classList.toggle('on',nv); row.classList.toggle('off',!nv);+        row.querySelector('.chk').textContent=nv?'✓':'';+        state[def.key]=nv; applyLayer(svg,def,nv);+        if(opts.onToggle) opts.onToggle(def.key,nv);+      };+      box.appendChild(row); applyLayer(svg,def,on); shown.push(def.key);+    });+    return shown;+  }++  // Wire pan + zoom on a viewport element (the box that contains the <svg>).+  // Returns a controller {fit, zoomIn, zoomOut, apply}.+  function initViewport(vp){+    var svg=vp.querySelector('svg');+    if(svg){ svg.removeAttribute('width'); svg.removeAttribute('height'); }+    var s=1,tx=0,ty=0;+    function apply(){ var el=vp.querySelector('svg'); if(el) el.style.transform='translate('+tx+'px,'+ty+'px) scale('+s+')'; }+    function zoomAt(cx,cy,f){ tx=cx-(cx-tx)*f; ty=cy-(cy-ty)*f; s*=f; apply(); }+    function fit(){ s=1;tx=0;ty=0;apply(); }+    // Smooth, delta-PROPORTIONAL zoom (matches adom-symbol). A fixed per-event+    // factor makes the trackpad leap — one gentle two-finger nudge fires a burst+    // of tiny wheel events and a fixed 1.12× compounds. Instead derive the factor+    // from how much actually scrolled (exp → smooth + reversible), normalise+    // device units, and clamp one event so a chunky mouse notch can't jump.+    var ZOOM_K=0.0022; // sensitivity: lower = gentler+    vp.addEventListener('wheel',function(e){+      e.preventDefault();+      var d=e.deltaY;+      if(e.deltaMode===1) d*=16; else if(e.deltaMode===2) d*=vp.clientHeight;+      d=Math.max(-50,Math.min(50,d));+      var r=vp.getBoundingClientRect();+      zoomAt(e.clientX-r.left,e.clientY-r.top,Math.exp(-d*ZOOM_K));+    },{passive:false});+    var drag=false,lx=0,ly=0;+    vp.addEventListener('pointerdown',function(e){ if(e.target.closest('.av-tools'))return; drag=true;lx=e.clientX;ly=e.clientY;vp.classList.add('grab');vp.setPointerCapture(e.pointerId); });+    vp.addEventListener('pointermove',function(e){ if(!drag)return; tx+=e.clientX-lx;ty+=e.clientY-ly;lx=e.clientX;ly=e.clientY;apply(); });+    vp.addEventListener('pointerup',function(){ drag=false;vp.classList.remove('grab'); });+    fit();+    return {+      fit:fit,+      zoomIn:function(){ var r=vp.getBoundingClientRect(); zoomAt(r.width/2,r.height/2,1.2); },+      zoomOut:function(){ var r=vp.getBoundingClientRect(); zoomAt(r.width/2,r.height/2,1/1.2); },+      apply:apply+    };+  }++  // Inject the standard zoom toolbar (+ / − / fit) + pan hint into a viewport,+  // wired to a controller from initViewport. Idempotent.+  function addToolbar(vp,ctl){+    if(vp.querySelector('.av-tools')) return;+    var t=document.createElement('div'); t.className='av-tools';+    t.innerHTML='<button data-z="in" title="Zoom in">'+ICON_ZIN+'</button>'+      +'<button data-z="out" title="Zoom out">'+ICON_ZOUT+'</button>'+      +'<button data-z="fit" title="Zoom to fit">'+ICON_FIT+'</button>';+    vp.appendChild(t);+    t.querySelector('[data-z="in"]').onclick=ctl.zoomIn;+    t.querySelector('[data-z="out"]').onclick=ctl.zoomOut;+    t.querySelector('[data-z="fit"]').onclick=ctl.fit;+    var h=document.createElement('div'); h.className='av-panhint'; h.textContent='drag to pan · scroll to zoom'; vp.appendChild(h);+  }++  window.AV={+    LAYER_DEFS:LAYER_DEFS, groupHasGeo:groupHasGeo, layerPresent:layerPresent,+    applyLayer:applyLayer, buildLayers:buildLayers, initViewport:initViewport,+    addToolbar:addToolbar, ICON_FIT:ICON_FIT, ICON_ZIN:ICON_ZIN, ICON_ZOUT:ICON_ZOUT+  };+})();+</script> <script>-var KIND="footprint", MPN="ADOM/M74HC595YRM13TR", PINS=[{"desc":"","name":"QB","number":"1","type":""},{"desc":"","name":"QC","number":"2","type":""},{"desc":"","name":"QD","number":"3","type":""},{"desc":"","name":"QE","number":"4","type":""},{"desc":"","name":"QF","number":"5","type":""},{"desc":"","name":"QG","number":"6","type":""},{"desc":"","name":"QH","number":"7","type":""},{"desc":"","name":"GND","number":"8","type":""},{"desc":"","name":"VCC","number":"16","type":""},{"desc":"","name":"QA","number":"15","type":""},{"desc":"","name":"SI","number":"14","type":""},{"desc":"","name":"~{G}","number":"13","type":""},{"desc":"","name":"RCK","number":"12","type":""},{"desc":"","name":"SCK","number":"11","type":""},{"desc":"","name":"~{SCLR}","number":"10","type":""},{"desc":"","name":"QH'","number":"9","type":""}];-var byNum={}; PINS.forEach(function(p){byNum[String(p.number)]=p;});-var stage=document.getElementById('stage'), svg=stage.querySelector('svg'), tip=document.getElementById('tip');-// ---- pan/zoom -----var vb=(svg.getAttribute('viewBox')||'0 0 100 100').split(/\s+/).map(Number), base=vb.slice();-function setVB(){svg.setAttribute('viewBox',vb.join(' '));}-stage.addEventListener('wheel',function(e){e.preventDefault();var r=stage.getBoundingClientRect();var mx=(e.clientX-r.left)/r.width,my=(e.clientY-r.top)/r.height;var f=e.deltaY<0?0.88:1.14;var nw=vb[2]*f,nh=vb[3]*f;vb[0]+=(vb[2]-nw)*mx;vb[1]+=(vb[3]-nh)*my;vb[2]=nw;vb[3]=nh;setVB();},{passive:false});-var pan=null;-stage.addEventListener('pointerdown',function(e){pan={x:e.clientX,y:e.clientY};stage.classList.add('drag');stage.setPointerCapture(e.pointerId);});-stage.addEventListener('pointermove',function(e){if(!pan)return;var r=stage.getBoundingClientRect();vb[0]-=(e.clientX-pan.x)/r.width*vb[2];vb[1]-=(e.clientY-pan.y)/r.height*vb[3];pan={x:e.clientX,y:e.clientY};setVB();});-function endPan(){pan=null;stage.classList.remove('drag');}-stage.addEventListener('pointerup',endPan);stage.addEventListener('pointerleave',endPan);-stage.addEventListener('dblclick',function(){vb=base.slice();setVB();});-// ---- cross-highlight bus -----function els(n){return [].slice.call(document.querySelectorAll('[data-num="'+n+'"]'));}-function clearHi(){[].slice.call(document.querySelectorAll('.hi')).forEach(function(e){e.classList.remove('hi');});}-function hi(n){els(n).forEach(function(e){e.classList.add('hi');});}-function post(n){try{parent.postMessage({type:'lbr-hover',pin:n===null?null:String(n),mpn:MPN},'*');}catch(_){}}-function showTip(n,x,y){var p=byNum[String(n)];if(!p)return;tip.innerHTML='<span class=tn></span><div class=tt></div><div class=td></div>';tip.querySelector('.tn').textContent=n+'  '+(p.name||'');tip.querySelector('.tt').textContent=p.type||'';var d=p.desc||'';if(d)tip.querySelector('.td').textContent=d;else tip.querySelector('.td').style.display='none';tip.style.display='block';tip.style.left=(x+14)+'px';tip.style.top=(y+12)+'px';}-[].slice.call(document.querySelectorAll('.pingroup,.pad')).forEach(function(g){-  var n=g.getAttribute('data-num');-  g.addEventListener('mouseenter',function(e){clearHi();hi(n);post(n);showTip(n,e.clientX,e.clientY);});-  g.addEventListener('mousemove',function(e){tip.style.left=(e.clientX+14)+'px';tip.style.top=(e.clientY+12)+'px';});-  g.addEventListener('mouseleave',function(){clearHi();post(null);tip.style.display='none';});-});-window.addEventListener('message',function(e){var d=e.data||{};if(d.type!=='lbr-hover')return;clearHi();if(d.pin!=null)hi(d.pin);});-// ---- footprint layer toggles -----[].slice.call(document.querySelectorAll('.lyrtog')).forEach(function(b){-  function apply(on){[].slice.call(document.querySelectorAll('.ly-'+b.getAttribute('data-lyr'))).forEach(function(el){el.classList.toggle('lyr-off',!on);});}-  apply(b.classList.contains('on'));-  b.addEventListener('click',function(){apply(b.classList.toggle('on'));});-});-// ---- auto-grow the host readme iframe -----function ph(){var h=Math.max(360,Math.min(16000,document.body.scrollHeight||420));parent.postMessage({type:'readme-height',height:h},'*');}-window.addEventListener('load',ph);setTimeout(ph,300);+var META={"pasteApertures":16,"pasteDots":112};+(function(){+  var vp=document.getElementById('vp');+  var svg=vp.querySelector('svg');+  var ctl=AV.initViewport(vp);+  AV.addToolbar(vp,ctl);+  AV.buildLayers({ svg:svg, container:document.getElementById('layers'), state:{}, meta:META });+})(); </script> </body></html>
viewers/symbol.html+2−2
@@ -23,10 +23,10 @@ rect.pad.hi{stroke:var(--hi);stroke-width:.15;paint-order:stroke} #tip .td{font-size:11px;color:var(--ink);margin-top:5px;line-height:1.4} </style></head><body> <div class=bar><span class=h>Schematic symbol</span><span class=sp></span></div>-<div class=stage id=stage><svg xmlns='http://www.w3.org/2000/svg' viewBox='-750 -500 1500 1000' style='width:100%;height:100%'><rect x='-500.0' y='-450.0' width='1000.0' height='900.0' fill='#e35d5d22' stroke='#e35d5d' stroke-width='4'/><g class='pingroup' data-num='1' data-name='QB'><line class='pinvis' x1='-700.0' y1='-350.0' x2='-500.0' y2='-350.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-700.0' y1='-350.0' x2='-500.0' y2='-350.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-600.0' y='-305.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>1</text><text x='-470.0' y='-350.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>QB</text><g class='pingroup' data-num='2' data-name='QC'><line class='pinvis' x1='-700.0' y1='-250.0' x2='-500.0' y2='-250.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-700.0' y1='-250.0' x2='-500.0' y2='-250.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-600.0' y='-205.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>2</text><text x='-470.0' y='-250.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>QC</text><g class='pingroup' data-num='3' data-name='QD'><line class='pinvis' x1='-700.0' y1='-150.0' x2='-500.0' y2='-150.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-700.0' y1='-150.0' x2='-500.0' y2='-150.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-600.0' y='-105.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>3</text><text x='-470.0' y='-150.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>QD</text><g class='pingroup' data-num='4' data-name='QE'><line class='pinvis' x1='-700.0' y1='-50.0' x2='-500.0' y2='-50.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-700.0' y1='-50.0' x2='-500.0' y2='-50.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-600.0' y='-5.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>4</text><text x='-470.0' y='-50.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>QE</text><g class='pingroup' data-num='5' data-name='QF'><line class='pinvis' x1='-700.0' y1='50.0' x2='-500.0' y2='50.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-700.0' y1='50.0' x2='-500.0' y2='50.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-600.0' y='95.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>5</text><text x='-470.0' y='50.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>QF</text><g class='pingroup' data-num='6' data-name='QG'><line class='pinvis' x1='-700.0' y1='150.0' x2='-500.0' y2='150.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-700.0' y1='150.0' x2='-500.0' y2='150.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-600.0' y='195.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>6</text><text x='-470.0' y='150.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>QG</text><g class='pingroup' data-num='7' data-name='QH'><line class='pinvis' x1='-700.0' y1='250.0' x2='-500.0' y2='250.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-700.0' y1='250.0' x2='-500.0' y2='250.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-600.0' y='295.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>7</text><text x='-470.0' y='250.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>QH</text><g class='pingroup' data-num='8' data-name='GND'><line class='pinvis' x1='-700.0' y1='350.0' x2='-500.0' y2='350.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-700.0' y1='350.0' x2='-500.0' y2='350.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-600.0' y='395.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>8</text><text x='-470.0' y='350.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>GND</text><g class='pingroup' data-num='16' data-name='VCC'><line class='pinvis' x1='700.0' y1='-350.0' x2='500.0' y2='-350.0' stroke='#dfe4ec' stroke-width='4'/><line x1='700.0' y1='-350.0' x2='500.0' y2='-350.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='600.0' y='-395.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>16</text><text x='470.0' y='-350.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>VCC</text><g class='pingroup' data-num='15' data-name='QA'><line class='pinvis' x1='700.0' y1='-250.0' x2='500.0' y2='-250.0' stroke='#dfe4ec' stroke-width='4'/><line x1='700.0' y1='-250.0' x2='500.0' y2='-250.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='600.0' y='-295.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>15</text><text x='470.0' y='-250.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>QA</text><g class='pingroup' data-num='14' data-name='SI'><line class='pinvis' x1='700.0' y1='-150.0' x2='500.0' y2='-150.0' stroke='#dfe4ec' stroke-width='4'/><line x1='700.0' y1='-150.0' x2='500.0' y2='-150.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='600.0' y='-195.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>14</text><text x='470.0' y='-150.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>SI</text><g class='pingroup' data-num='13' data-name='~{G}'><line class='pinvis' x1='700.0' y1='-50.0' x2='500.0' y2='-50.0' stroke='#dfe4ec' stroke-width='4'/><line x1='700.0' y1='-50.0' x2='500.0' y2='-50.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='600.0' y='-95.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>13</text><text x='470.0' y='-50.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>~{G}</text><g class='pingroup' data-num='12' data-name='RCK'><line class='pinvis' x1='700.0' y1='50.0' x2='500.0' y2='50.0' stroke='#dfe4ec' stroke-width='4'/><line x1='700.0' y1='50.0' x2='500.0' y2='50.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='600.0' y='5.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>12</text><text x='470.0' y='50.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>RCK</text><g class='pingroup' data-num='11' data-name='SCK'><line class='pinvis' x1='700.0' y1='150.0' x2='500.0' y2='150.0' stroke='#dfe4ec' stroke-width='4'/><line x1='700.0' y1='150.0' x2='500.0' y2='150.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='600.0' y='105.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>11</text><text x='470.0' y='150.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>SCK</text><g class='pingroup' data-num='10' data-name='~{SCLR}'><line class='pinvis' x1='700.0' y1='250.0' x2='500.0' y2='250.0' stroke='#dfe4ec' stroke-width='4'/><line x1='700.0' y1='250.0' x2='500.0' y2='250.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='600.0' y='205.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>10</text><text x='470.0' y='250.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>~{SCLR}</text><g class='pingroup' data-num='9' data-name='QH&#39;'><line class='pinvis' x1='700.0' y1='350.0' x2='500.0' y2='350.0' stroke='#dfe4ec' stroke-width='4'/><line x1='700.0' y1='350.0' x2='500.0' y2='350.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='600.0' y='305.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>9</text><text x='470.0' y='350.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>QH&#39;</text></svg></div>+<div class=stage id=stage><svg xmlns='http://www.w3.org/2000/svg' viewBox='-750 -500 1500 1000' style='width:100%;height:100%'><rect x='-500.0' y='-450.0' width='1000.0' height='900.0' fill='#e35d5d22' stroke='#e35d5d' stroke-width='4'/><g class='pingroup' data-num='1' data-name='QA to QH'><line class='pinvis' x1='-700.0' y1='-350.0' x2='-500.0' y2='-350.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-700.0' y1='-350.0' x2='-500.0' y2='-350.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-600.0' y='-305.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>1</text><text x='-470.0' y='-350.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>QA to QH</text><g class='pingroup' data-num='2' data-name='QA to QH'><line class='pinvis' x1='-700.0' y1='-250.0' x2='-500.0' y2='-250.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-700.0' y1='-250.0' x2='-500.0' y2='-250.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-600.0' y='-205.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>2</text><text x='-470.0' y='-250.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>QA to QH</text><g class='pingroup' data-num='3' data-name='QA to QH'><line class='pinvis' x1='-700.0' y1='-150.0' x2='-500.0' y2='-150.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-700.0' y1='-150.0' x2='-500.0' y2='-150.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-600.0' y='-105.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>3</text><text x='-470.0' y='-150.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>QA to QH</text><g class='pingroup' data-num='4' data-name='QA to QH'><line class='pinvis' x1='-700.0' y1='-50.0' x2='-500.0' y2='-50.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-700.0' y1='-50.0' x2='-500.0' y2='-50.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-600.0' y='-5.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>4</text><text x='-470.0' y='-50.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>QA to QH</text><g class='pingroup' data-num='5' data-name='QA to QH'><line class='pinvis' x1='-700.0' y1='50.0' x2='-500.0' y2='50.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-700.0' y1='50.0' x2='-500.0' y2='50.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-600.0' y='95.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>5</text><text x='-470.0' y='50.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>QA to QH</text><g class='pingroup' data-num='6' data-name='QA to QH'><line class='pinvis' x1='-700.0' y1='150.0' x2='-500.0' y2='150.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-700.0' y1='150.0' x2='-500.0' y2='150.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-600.0' y='195.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>6</text><text x='-470.0' y='150.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>QA to QH</text><g class='pingroup' data-num='7' data-name='QA to QH'><line class='pinvis' x1='-700.0' y1='250.0' x2='-500.0' y2='250.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-700.0' y1='250.0' x2='-500.0' y2='250.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-600.0' y='295.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>7</text><text x='-470.0' y='250.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>QA to QH</text><g class='pingroup' data-num='8' data-name='GND'><line class='pinvis' x1='-700.0' y1='350.0' x2='-500.0' y2='350.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-700.0' y1='350.0' x2='-500.0' y2='350.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-600.0' y='395.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>8</text><text x='-470.0' y='350.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>GND</text><g class='pingroup' data-num='16' data-name='VCC'><line class='pinvis' x1='700.0' y1='-350.0' x2='500.0' y2='-350.0' stroke='#dfe4ec' stroke-width='4'/><line x1='700.0' y1='-350.0' x2='500.0' y2='-350.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='600.0' y='-395.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>16</text><text x='470.0' y='-350.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>VCC</text><g class='pingroup' data-num='15' data-name='QA to QH'><line class='pinvis' x1='700.0' y1='-250.0' x2='500.0' y2='-250.0' stroke='#dfe4ec' stroke-width='4'/><line x1='700.0' y1='-250.0' x2='500.0' y2='-250.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='600.0' y='-295.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>15</text><text x='470.0' y='-250.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>QA to QH</text><g class='pingroup' data-num='14' data-name='SI'><line class='pinvis' x1='700.0' y1='-150.0' x2='500.0' y2='-150.0' stroke='#dfe4ec' stroke-width='4'/><line x1='700.0' y1='-150.0' x2='500.0' y2='-150.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='600.0' y='-195.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>14</text><text x='470.0' y='-150.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>SI</text><g class='pingroup' data-num='13' data-name='G'><line class='pinvis' x1='700.0' y1='-50.0' x2='500.0' y2='-50.0' stroke='#dfe4ec' stroke-width='4'/><line x1='700.0' y1='-50.0' x2='500.0' y2='-50.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='600.0' y='-95.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>13</text><text x='470.0' y='-50.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>G</text><g class='pingroup' data-num='12' data-name='RCK'><line class='pinvis' x1='700.0' y1='50.0' x2='500.0' y2='50.0' stroke='#dfe4ec' stroke-width='4'/><line x1='700.0' y1='50.0' x2='500.0' y2='50.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='600.0' y='5.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>12</text><text x='470.0' y='50.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>RCK</text><g class='pingroup' data-num='11' data-name='SCK'><line class='pinvis' x1='700.0' y1='150.0' x2='500.0' y2='150.0' stroke='#dfe4ec' stroke-width='4'/><line x1='700.0' y1='150.0' x2='500.0' y2='150.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='600.0' y='105.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>11</text><text x='470.0' y='150.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>SCK</text><g class='pingroup' data-num='10' data-name='SCLR'><line class='pinvis' x1='700.0' y1='250.0' x2='500.0' y2='250.0' stroke='#dfe4ec' stroke-width='4'/><line x1='700.0' y1='250.0' x2='500.0' y2='250.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='600.0' y='205.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>10</text><text x='470.0' y='250.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>SCLR</text><g class='pingroup' data-num='9' data-name='QH&#39;'><line class='pinvis' x1='700.0' y1='350.0' x2='500.0' y2='350.0' stroke='#dfe4ec' stroke-width='4'/><line x1='700.0' y1='350.0' x2='500.0' y2='350.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='600.0' y='305.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>9</text><text x='470.0' y='350.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>QH&#39;</text></svg></div> <div id=tip></div> <script>-var KIND="symbol", MPN="ADOM/M74HC595YRM13TR", PINS=[{"desc":"","name":"QB","number":"1","type":""},{"desc":"","name":"QC","number":"2","type":""},{"desc":"","name":"QD","number":"3","type":""},{"desc":"","name":"QE","number":"4","type":""},{"desc":"","name":"QF","number":"5","type":""},{"desc":"","name":"QG","number":"6","type":""},{"desc":"","name":"QH","number":"7","type":""},{"desc":"","name":"GND","number":"8","type":""},{"desc":"","name":"VCC","number":"16","type":""},{"desc":"","name":"QA","number":"15","type":""},{"desc":"","name":"SI","number":"14","type":""},{"desc":"","name":"~{G}","number":"13","type":""},{"desc":"","name":"RCK","number":"12","type":""},{"desc":"","name":"SCK","number":"11","type":""},{"desc":"","name":"~{SCLR}","number":"10","type":""},{"desc":"","name":"QH'","number":"9","type":""}];+var KIND="symbol", MPN="ADOM/M74HC595YRM13TR", PINS=[{"desc":"","name":"QA to QH","number":"1","type":""},{"desc":"","name":"QA to QH","number":"2","type":""},{"desc":"","name":"QA to QH","number":"3","type":""},{"desc":"","name":"QA to QH","number":"4","type":""},{"desc":"","name":"QA to QH","number":"5","type":""},{"desc":"","name":"QA to QH","number":"6","type":""},{"desc":"","name":"QA to QH","number":"7","type":""},{"desc":"","name":"GND","number":"8","type":""},{"desc":"","name":"VCC","number":"16","type":""},{"desc":"","name":"QA to QH","number":"15","type":""},{"desc":"","name":"SI","number":"14","type":""},{"desc":"","name":"G","number":"13","type":""},{"desc":"","name":"RCK","number":"12","type":""},{"desc":"","name":"SCK","number":"11","type":""},{"desc":"","name":"SCLR","number":"10","type":""},{"desc":"","name":"QH'","number":"9","type":""}]; var byNum={}; PINS.forEach(function(p){byNum[String(p.number)]=p;}); var stage=document.getElementById('stage'), svg=stage.querySelector('svg'), tip=document.getElementById('tip'); // ---- pan/zoom ----