← Commit history
viewers/footprint.html+6−6@@ -1,5 +1,5 @@ <!doctype html><html><head><meta charset="utf-8">-<title>MSOP-8_3x3mm_P0.65mm - adom-footprint</title>+<title>Texas_Instruments_SN74_2543ce - adom-footprint</title> <meta name="viewport" content="width=device-width,initial-scale=1"> <style> /* ── adom-footprint shared viewer core (CSS) ───────────────────────────────@@ -51,13 +51,13 @@ aside .ah{padding:9px 12px;border-bottom:1px solid var(--border);font-size:12px; .layers{padding:6px} .note{font-size:11px;color:var(--muted);line-height:1.45;padding:8px 11px} .note b{color:#7ef0d2}-</style></head>+</style><style>/* lbr-hover bus (component-factory inject_layers) */[data-num]{cursor:pointer}[data-num].hi>*{fill:#ffd166!important;stroke:#ffffff!important;stroke-width:0.08!important}</style></head> <body>- <header><span class="dot"></span><span class="b">adom-footprint <span>· interactive</span></span><span class="nm">MSOP-8_3x3mm_P0.65mm</span></header>+ <header><span class="dot"></span><span class="b">adom-footprint <span>· interactive</span></span><span class="nm">Texas_Instruments_SN74_2543ce</span></header> <main> <div class="vpwrap"> <div class="av-vp" id="vp">- <svg xmlns="http://www.w3.org/2000/svg" viewBox="-4.075 -2.325 8.150 4.650" preserveAspectRatio="xMidYMid meet"><g class="adom-layer-courtyard"><line x1="-3.1800" y1="-1.4300" x2="-1.7500" y2="-1.4300" stroke="#FF26E2" stroke-width="0.050" stroke-linecap="round" fill="none"/><line x1="-3.1800" y1="1.4300" x2="-3.1800" y2="-1.4300" stroke="#FF26E2" stroke-width="0.050" stroke-linecap="round" fill="none"/><line x1="-1.7500" y1="-1.7500" x2="1.7500" y2="-1.7500" stroke="#FF26E2" stroke-width="0.050" stroke-linecap="round" fill="none"/><line x1="-1.7500" y1="-1.4300" x2="-1.7500" y2="-1.7500" stroke="#FF26E2" stroke-width="0.050" stroke-linecap="round" fill="none"/><line x1="-1.7500" y1="1.4300" x2="-3.1800" y2="1.4300" stroke="#FF26E2" stroke-width="0.050" stroke-linecap="round" fill="none"/><line x1="-1.7500" y1="1.7500" x2="-1.7500" y2="1.4300" stroke="#FF26E2" stroke-width="0.050" stroke-linecap="round" fill="none"/><line x1="1.7500" y1="-1.7500" x2="1.7500" y2="-1.4300" stroke="#FF26E2" stroke-width="0.050" stroke-linecap="round" fill="none"/><line x1="1.7500" y1="-1.4300" x2="3.1800" y2="-1.4300" stroke="#FF26E2" stroke-width="0.050" stroke-linecap="round" fill="none"/><line x1="1.7500" y1="1.4300" x2="1.7500" y2="1.7500" stroke="#FF26E2" stroke-width="0.050" stroke-linecap="round" fill="none"/><line x1="1.7500" y1="1.7500" x2="-1.7500" y2="1.7500" stroke="#FF26E2" stroke-width="0.050" stroke-linecap="round" fill="none"/><line x1="3.1800" y1="-1.4300" x2="3.1800" y2="1.4300" stroke="#FF26E2" stroke-width="0.050" stroke-linecap="round" fill="none"/><line x1="3.1800" y1="1.4300" x2="1.7500" y2="1.4300" stroke="#FF26E2" stroke-width="0.050" stroke-linecap="round" fill="none"/></g><g class="adom-layer-fab"><polygon points="-0.7500,-1.5000 1.5000,-1.5000 1.5000,1.5000 -1.5000,1.5000 -1.5000,-0.7500" stroke="#6e7681" stroke-width="0.100" fill="none"/></g><g class="adom-layer-copper"><g data-pad="1" data-shape="roundrect" data-size="1.625x0.400" data-mount="smd"><rect x="-2.925" y="-1.175" width="1.625" height="0.400" rx="0.100" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g><g data-pad="2" data-shape="roundrect" data-size="1.625x0.400" data-mount="smd"><rect x="-2.925" y="-0.525" width="1.625" height="0.400" rx="0.100" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g><g data-pad="3" data-shape="roundrect" data-size="1.625x0.400" data-mount="smd"><rect x="-2.925" y="0.125" width="1.625" height="0.400" rx="0.100" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g><g data-pad="4" data-shape="roundrect" data-size="1.625x0.400" data-mount="smd"><rect x="-2.925" y="0.775" width="1.625" height="0.400" rx="0.100" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g><g data-pad="5" data-shape="roundrect" data-size="1.625x0.400" data-mount="smd"><rect x="1.300" y="0.775" width="1.625" height="0.400" rx="0.100" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g><g data-pad="6" data-shape="roundrect" data-size="1.625x0.400" data-mount="smd"><rect x="1.300" y="0.125" width="1.625" height="0.400" rx="0.100" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g><g data-pad="7" data-shape="roundrect" data-size="1.625x0.400" data-mount="smd"><rect x="1.300" y="-0.525" width="1.625" height="0.400" rx="0.100" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g><g data-pad="8" data-shape="roundrect" data-size="1.625x0.400" data-mount="smd"><rect x="1.300" y="-1.175" width="1.625" height="0.400" rx="0.100" 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="-1.6100" y1="-1.6100" x2="1.6100" y2="-1.6100" stroke="#00cccc" stroke-width="0.120" stroke-linecap="round" fill="none"/><line x1="-1.6100" y1="-1.4350" x2="-1.6100" y2="-1.6100" stroke="#00cccc" stroke-width="0.120" stroke-linecap="round" fill="none"/><line x1="-1.6100" y1="1.6100" x2="-1.6100" y2="1.4350" stroke="#00cccc" stroke-width="0.120" stroke-linecap="round" fill="none"/><line x1="1.6100" y1="-1.6100" x2="1.6100" y2="-1.4350" stroke="#00cccc" stroke-width="0.120" stroke-linecap="round" fill="none"/><line x1="1.6100" y1="1.4350" x2="1.6100" y2="1.6100" stroke="#00cccc" stroke-width="0.120" stroke-linecap="round" fill="none"/><line x1="1.6100" y1="1.6100" x2="-1.6100" y2="1.6100" stroke="#00cccc" stroke-width="0.120" stroke-linecap="round" fill="none"/><polygon points="-2.1600,-1.4400 -2.4000,-1.7700 -1.9200,-1.7700" stroke="#00cccc" stroke-width="0.120" fill="#00cccc"/></g><g class="adom-layer-padnum"><text x="-2.112" y="-0.975" text-anchor="middle" dominant-baseline="central" font-size="0.168" fill="#fff" font-family="sans-serif" style="pointer-events:none">1</text><text x="-2.112" y="-0.325" text-anchor="middle" dominant-baseline="central" font-size="0.168" fill="#fff" font-family="sans-serif" style="pointer-events:none">2</text><text x="-2.112" y="0.325" text-anchor="middle" dominant-baseline="central" font-size="0.168" fill="#fff" font-family="sans-serif" style="pointer-events:none">3</text><text x="-2.112" y="0.975" text-anchor="middle" dominant-baseline="central" font-size="0.168" fill="#fff" font-family="sans-serif" style="pointer-events:none">4</text><text x="2.112" y="0.975" text-anchor="middle" dominant-baseline="central" font-size="0.168" fill="#fff" font-family="sans-serif" style="pointer-events:none">5</text><text x="2.112" y="0.325" text-anchor="middle" dominant-baseline="central" font-size="0.168" fill="#fff" font-family="sans-serif" style="pointer-events:none">6</text><text x="2.112" y="-0.325" text-anchor="middle" dominant-baseline="central" font-size="0.168" fill="#fff" font-family="sans-serif" style="pointer-events:none">7</text><text x="2.112" y="-0.975" text-anchor="middle" dominant-baseline="central" font-size="0.168" fill="#fff" font-family="sans-serif" style="pointer-events:none">8</text></g><g class="adom-layer-paste-apertures"><rect x="-2.925" y="-1.175" width="1.625" height="0.400" rx="0.05" transform="rotate(0.00 -2.112 -0.975)" fill="none" stroke="#8aa0b8" stroke-width="0.03" stroke-dasharray="0.12 0.08" opacity="0.7"/><rect x="-2.925" y="-0.525" width="1.625" height="0.400" rx="0.05" transform="rotate(0.00 -2.112 -0.325)" fill="none" stroke="#8aa0b8" stroke-width="0.03" stroke-dasharray="0.12 0.08" opacity="0.7"/><rect x="-2.925" y="0.125" width="1.625" height="0.400" rx="0.05" transform="rotate(0.00 -2.112 0.325)" fill="none" stroke="#8aa0b8" stroke-width="0.03" stroke-dasharray="0.12 0.08" opacity="0.7"/><rect x="-2.925" y="0.775" width="1.625" height="0.400" rx="0.05" transform="rotate(0.00 -2.112 0.975)" fill="none" stroke="#8aa0b8" stroke-width="0.03" stroke-dasharray="0.12 0.08" opacity="0.7"/><rect x="1.300" y="0.775" width="1.625" height="0.400" rx="0.05" transform="rotate(0.00 2.112 0.975)" fill="none" stroke="#8aa0b8" stroke-width="0.03" stroke-dasharray="0.12 0.08" opacity="0.7"/><rect x="1.300" y="0.125" width="1.625" height="0.400" rx="0.05" transform="rotate(0.00 2.112 0.325)" fill="none" stroke="#8aa0b8" stroke-width="0.03" stroke-dasharray="0.12 0.08" opacity="0.7"/><rect x="1.300" y="-0.525" width="1.625" height="0.400" rx="0.05" transform="rotate(0.00 2.112 -0.325)" fill="none" stroke="#8aa0b8" stroke-width="0.03" stroke-dasharray="0.12 0.08" opacity="0.7"/><rect x="1.300" y="-1.175" width="1.625" height="0.400" rx="0.05" transform="rotate(0.00 2.112 -0.975)" 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="-2.612" cy="-0.975" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-2.362" cy="-0.975" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-2.112" cy="-0.975" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-1.862" cy="-0.975" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-1.612" cy="-0.975" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-2.612" cy="-0.325" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-2.362" cy="-0.325" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-2.112" cy="-0.325" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-1.862" cy="-0.325" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-1.612" cy="-0.325" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-2.612" cy="0.325" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-2.362" cy="0.325" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-2.112" cy="0.325" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-1.862" cy="0.325" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-1.612" cy="0.325" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-2.612" cy="0.975" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-2.362" cy="0.975" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-2.112" cy="0.975" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-1.862" cy="0.975" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-1.612" cy="0.975" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="1.612" cy="0.975" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="1.862" cy="0.975" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="2.112" cy="0.975" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="2.362" cy="0.975" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="2.612" cy="0.975" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="1.612" cy="0.325" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="1.862" cy="0.325" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="2.112" cy="0.325" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="2.362" cy="0.325" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="2.612" cy="0.325" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="1.612" cy="-0.325" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="1.862" cy="-0.325" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="2.112" cy="-0.325" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="2.362" cy="-0.325" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="2.612" cy="-0.325" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="1.612" cy="-0.975" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="1.862" cy="-0.975" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="2.112" cy="-0.975" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="2.362" cy="-0.975" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="2.612" cy="-0.975" r="0.150" fill="#37c8a6" opacity="0.92"/></g></svg>+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="-4.000 -2.650 7.600 5.300" preserveAspectRatio="xMidYMid meet"><g class="adom-layer-courtyard"><polygon points="-2.7000,-1.4300 -1.7500,-1.4300 -1.7500,-1.7500 1.7500,-1.7500 1.7500,-1.4300 2.7000,-1.4300 2.7000,1.4300 1.7500,1.4300 1.7500,1.7500 -1.7500,1.7500 -1.7500,1.4300 -2.7000,1.4300" stroke="#FF26E2" stroke-width="0.050" fill="none"/></g><g class="adom-layer-fab"><line x1="-1.500" y1="-1.500" x2="1.500" y2="-1.500" stroke="#6e7681" stroke-width="0.1"/><line x1="1.500" y1="-1.500" x2="1.500" y2="1.500" stroke="#6e7681" stroke-width="0.1"/><line x1="1.500" y1="1.500" x2="-1.500" y2="1.500" stroke="#6e7681" stroke-width="0.1"/><line x1="-1.500" y1="1.500" x2="-1.500" y2="-1.500" stroke="#6e7681" stroke-width="0.1"/></g><g class="adom-layer-copper"><g data-pad="1" data-num="1" data-shape="roundrect" data-size="1.100x0.400" data-mount="smd"><rect x="-2.450" y="-1.175" width="1.100" height="0.400" rx="0.100" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g><g data-pad="2" data-num="2" data-shape="roundrect" data-size="1.100x0.400" data-mount="smd"><rect x="-2.450" y="-0.525" width="1.100" height="0.400" rx="0.100" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g><g data-pad="3" data-num="3" data-shape="roundrect" data-size="1.100x0.400" data-mount="smd"><rect x="-2.450" y="0.125" width="1.100" height="0.400" rx="0.100" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g><g data-pad="4" data-num="4" data-shape="roundrect" data-size="1.100x0.400" data-mount="smd"><rect x="-2.450" y="0.775" width="1.100" height="0.400" rx="0.100" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g><g data-pad="5" data-num="5" data-shape="roundrect" data-size="1.100x0.400" data-mount="smd"><rect x="1.350" y="0.775" width="1.100" height="0.400" rx="0.100" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g><g data-pad="6" data-num="6" data-shape="roundrect" data-size="1.100x0.400" data-mount="smd"><rect x="1.350" y="0.125" width="1.100" height="0.400" rx="0.100" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g><g data-pad="7" data-num="7" data-shape="roundrect" data-size="1.100x0.400" data-mount="smd"><rect x="1.350" y="-0.525" width="1.100" height="0.400" rx="0.100" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g><g data-pad="8" data-num="8" data-shape="roundrect" data-size="1.100x0.400" data-mount="smd"><rect x="1.350" y="-1.175" width="1.100" height="0.400" rx="0.100" 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.850" y1="-1.175" x2="-2.850" y2="-0.775" stroke="#00cccc" stroke-width="0.12" stroke-linecap="round"/></g><g class="adom-layer-padnum"><text x="-1.900" y="-0.975" text-anchor="middle" dominant-baseline="central" font-size="0.168" fill="#fff" font-family="sans-serif" style="pointer-events:none">1</text><text x="-1.900" y="-0.325" text-anchor="middle" dominant-baseline="central" font-size="0.168" fill="#fff" font-family="sans-serif" style="pointer-events:none">2</text><text x="-1.900" y="0.325" text-anchor="middle" dominant-baseline="central" font-size="0.168" fill="#fff" font-family="sans-serif" style="pointer-events:none">3</text><text x="-1.900" y="0.975" text-anchor="middle" dominant-baseline="central" font-size="0.168" fill="#fff" font-family="sans-serif" style="pointer-events:none">4</text><text x="1.900" y="0.975" text-anchor="middle" dominant-baseline="central" font-size="0.168" fill="#fff" font-family="sans-serif" style="pointer-events:none">5</text><text x="1.900" y="0.325" text-anchor="middle" dominant-baseline="central" font-size="0.168" fill="#fff" font-family="sans-serif" style="pointer-events:none">6</text><text x="1.900" y="-0.325" text-anchor="middle" dominant-baseline="central" font-size="0.168" fill="#fff" font-family="sans-serif" style="pointer-events:none">7</text><text x="1.900" y="-0.975" text-anchor="middle" dominant-baseline="central" font-size="0.168" fill="#fff" font-family="sans-serif" style="pointer-events:none">8</text></g><g class="adom-layer-paste-apertures"><rect x="-2.450" y="-1.175" width="1.100" height="0.400" rx="0.05" transform="rotate(0.00 -1.900 -0.975)" fill="none" stroke="#8aa0b8" stroke-width="0.03" stroke-dasharray="0.12 0.08" opacity="0.7"/><rect x="-2.450" y="-0.525" width="1.100" height="0.400" rx="0.05" transform="rotate(0.00 -1.900 -0.325)" fill="none" stroke="#8aa0b8" stroke-width="0.03" stroke-dasharray="0.12 0.08" opacity="0.7"/><rect x="-2.450" y="0.125" width="1.100" height="0.400" rx="0.05" transform="rotate(0.00 -1.900 0.325)" fill="none" stroke="#8aa0b8" stroke-width="0.03" stroke-dasharray="0.12 0.08" opacity="0.7"/><rect x="-2.450" y="0.775" width="1.100" height="0.400" rx="0.05" transform="rotate(0.00 -1.900 0.975)" fill="none" stroke="#8aa0b8" stroke-width="0.03" stroke-dasharray="0.12 0.08" opacity="0.7"/><rect x="1.350" y="0.775" width="1.100" height="0.400" rx="0.05" transform="rotate(0.00 1.900 0.975)" fill="none" stroke="#8aa0b8" stroke-width="0.03" stroke-dasharray="0.12 0.08" opacity="0.7"/><rect x="1.350" y="0.125" width="1.100" height="0.400" rx="0.05" transform="rotate(0.00 1.900 0.325)" fill="none" stroke="#8aa0b8" stroke-width="0.03" stroke-dasharray="0.12 0.08" opacity="0.7"/><rect x="1.350" y="-0.525" width="1.100" height="0.400" rx="0.05" transform="rotate(0.00 1.900 -0.325)" fill="none" stroke="#8aa0b8" stroke-width="0.03" stroke-dasharray="0.12 0.08" opacity="0.7"/><rect x="1.350" y="-1.175" width="1.100" height="0.400" rx="0.05" transform="rotate(0.00 1.900 -0.975)" 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="-2.150" cy="-0.975" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-1.900" cy="-0.975" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-1.650" cy="-0.975" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-2.150" cy="-0.325" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-1.900" cy="-0.325" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-1.650" cy="-0.325" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-2.150" cy="0.325" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-1.900" cy="0.325" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-1.650" cy="0.325" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-2.150" cy="0.975" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-1.900" cy="0.975" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-1.650" cy="0.975" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="1.650" cy="0.975" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="1.900" cy="0.975" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="2.150" cy="0.975" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="1.650" cy="0.325" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="1.900" cy="0.325" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="2.150" cy="0.325" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="1.650" cy="-0.325" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="1.900" cy="-0.325" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="2.150" cy="-0.325" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="1.650" cy="-0.975" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="1.900" cy="-0.975" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="2.150" cy="-0.975" r="0.150" fill="#37c8a6" opacity="0.92"/></g></svg> </div> </div> <aside>@@ -198,7 +198,7 @@ aside .ah{padding:9px 12px;border-bottom:1px solid var(--border);font-size:12px; })(); </script> <script>-var META={"pasteApertures":8,"pasteDots":40};+var META={"pasteApertures":8,"pasteDots":24}; (function(){ var vp=document.getElementById('vp'); var svg=vp.querySelector('svg');@@ -207,4 +207,4 @@ var META={"pasteApertures":8,"pasteDots":40}; AV.buildLayers({ svg:svg, container:document.getElementById('layers'), state:{}, meta:META }); })(); </script>-</body></html>+<script>/* lbr-hover bus (component-factory inject_layers) */(function(){var MPN=null;function els(n){return [].slice.call(document.querySelectorAll('[data-num="'+n+'"]'));}function clearHi(){[].forEach.call(document.querySelectorAll('[data-num].hi'),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(_){}}[].forEach.call(document.querySelectorAll('[data-num]'),function(g){var n=g.getAttribute('data-num');g.addEventListener('mouseenter',function(){clearHi();hi(n);post(n);});g.addEventListener('mouseleave',function(){clearHi();post(null);});});window.addEventListener('message',function(e){var d=e.data||{};if(d.type!=='lbr-hover')return;clearHi();if(d.pin!=null)hi(d.pin);});})();</script></body></html>
viewers/symbol.html+2−1@@ -44,7 +44,8 @@ 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';}+function ovName(el,pre,nm){el.textContent=pre;var r=nm,i;while((i=r.indexOf('~{'))>=0){el.appendChild(document.createTextNode(r.slice(0,i)));var a=r.slice(i+2),j=a.indexOf('}'),s=document.createElement('span');s.style.textDecoration='overline';s.textContent=j<0?a:a.slice(0,j);el.appendChild(s);r=j<0?'':a.slice(j+1);}el.appendChild(document.createTextNode(r));}+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>';ovName(tip.querySelector('.tn'),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);});