@palate/cli 0.0.0-stage → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +20 -0
- package/README.md +153 -2
- package/bin/palate.mjs +894 -0
- package/kb/anatomy/data-table.md +24 -0
- package/kb/anatomy/empty-state.md +16 -0
- package/kb/anatomy/filter-toolbar.md +19 -0
- package/kb/anatomy/meter.md +16 -0
- package/kb/anatomy/product-window.md +18 -0
- package/kb/anatomy/settings-page.md +18 -0
- package/kb/anatomy/status-indicator.md +17 -0
- package/kb/anatomy/toast-undo.md +16 -0
- package/kb/bench/briefs.json +618 -0
- package/kb/craft/SOURCES.md +48 -0
- package/kb/craft/creativity.md +55 -0
- package/kb/craft/details.md +75 -0
- package/kb/craft/landing-demos.md +46 -0
- package/kb/craft/mistakes.md +73 -0
- package/kb/craft/motion.md +53 -0
- package/kb/craft/principles.md +68 -0
- package/kb/index/discovery.json +1 -0
- package/kb/inspiration/index.json +79 -0
- package/kb/moves/animated-comparison-table.md +58 -0
- package/kb/moves/before-after-slider.md +58 -0
- package/kb/moves/bento-live-tiles.md +57 -0
- package/kb/moves/calm-motion-system.md +63 -0
- package/kb/moves/canvas-grain.md +58 -0
- package/kb/moves/changelog-as-magazine.md +56 -0
- package/kb/moves/code-drawn-diagram.md +56 -0
- package/kb/moves/colophon.md +54 -0
- package/kb/moves/command-palette-site-nav.md +58 -0
- package/kb/moves/confetti-free-celebration.md +58 -0
- package/kb/moves/console-easter-egg.md +57 -0
- package/kb/moves/copy-confirmation.md +57 -0
- package/kb/moves/cursor-reactive-light.md +57 -0
- package/kb/moves/dark-band-contrast-section.md +55 -0
- package/kb/moves/designed-dark-mode.md +58 -0
- package/kb/moves/duotone-photography.md +55 -0
- package/kb/moves/editorial-drop-cap.md +58 -0
- package/kb/moves/editorial-grid-pull-quotes.md +55 -0
- package/kb/moves/engraving-colour-lens.md +64 -0
- package/kb/moves/explorable-control.md +57 -0
- package/kb/moves/feature-films-on-painted-stages.md +58 -0
- package/kb/moves/first-win-onboarding.md +59 -0
- package/kb/moves/footer-live-status.md +56 -0
- package/kb/moves/footer-rewards-the-end.md +58 -0
- package/kb/moves/generative-brand-pattern.md +55 -0
- package/kb/moves/gentle-error-nudge.md +59 -0
- package/kb/moves/halftone-dot-imagery.md +55 -0
- package/kb/moves/hand-drawn-annotations.md +55 -0
- package/kb/moves/hero-paints-itself-in.md +65 -0
- package/kb/moves/honest-progress-narration.md +58 -0
- package/kb/moves/honest-testimonial-wall.md +57 -0
- package/kb/moves/inline-sparklines-in-copy.md +57 -0
- package/kb/moves/inspect-our-taste.md +58 -0
- package/kb/moves/interactive-pricing-calculator.md +59 -0
- package/kb/moves/isometric-illustration-system.md +56 -0
- package/kb/moves/kinetic-variable-type.md +57 -0
- package/kb/moves/konami-secret.md +59 -0
- package/kb/moves/layered-paper-depth.md +56 -0
- package/kb/moves/lightweight-3d-object-hero.md +59 -0
- package/kb/moves/line-engraving-from-image.md +63 -0
- package/kb/moves/link-preview-peek.md +57 -0
- package/kb/moves/live-data-ticker.md +61 -0
- package/kb/moves/made-with-proof.md +51 -0
- package/kb/moves/magnetic-buttons.md +55 -0
- package/kb/moves/marquee-done-right.md +58 -0
- package/kb/moves/moves.yaml +450 -0
- package/kb/moves/museum-painting-backdrop.md +59 -0
- package/kb/moves/one-colour-brand-world.md +56 -0
- package/kb/moves/playful-404.md +58 -0
- package/kb/moves/pointer-highlight-word.md +56 -0
- package/kb/moves/product-in-context.md +56 -0
- package/kb/moves/real-world-data.md +58 -0
- package/kb/moves/referral-reward-reveal.md +59 -0
- package/kb/moves/riso-print-texture.md +57 -0
- package/kb/moves/screenshot-detail-crops.md +56 -0
- package/kb/moves/scroll-progress-chapters.md +57 -0
- package/kb/moves/scroll-scrubbed-product-film.md +62 -0
- package/kb/moves/self-playing-product-demo.md +61 -0
- package/kb/moves/shape-continuity-morph.md +58 -0
- package/kb/moves/sliding-nav-indicator.md +58 -0
- package/kb/moves/sticky-scroll-story.md +56 -0
- package/kb/moves/story-led-long-scroll.md +56 -0
- package/kb/moves/tactile-button.md +63 -0
- package/kb/moves/technical-drawing-lines.md +57 -0
- package/kb/moves/time-of-day-theming.md +56 -0
- package/kb/moves/tiny-game-easter-egg.md +60 -0
- package/kb/moves/type-decode-reveal.md +57 -0
- package/kb/moves/typographic-numeral-hero.md +58 -0
- package/kb/moves/view-transitions-between-pages.md +57 -0
- package/kb/moves/waitlist-position-live.md +60 -0
- package/kb/patterns/app-team-members.md +27 -0
- package/kb/patterns/chat-agent-approvals.md +31 -0
- package/kb/patterns/commerce-product-page.md +34 -0
- package/kb/patterns/dashboard-entity-table.md +37 -0
- package/kb/patterns/dashboard-home-today.md +24 -0
- package/kb/patterns/docs-api-reference.md +31 -0
- package/kb/patterns/marketing-product-led-landing.md +30 -0
- package/kb/patterns/mobile-daily-checklist.md +26 -0
- package/kb/references/index.json +1 -0
- package/kb/references/thumbs/004c5e9072.jpg +0 -0
- package/kb/references/thumbs/008915eb21.jpg +0 -0
- package/kb/references/thumbs/0098cf66c2.jpg +0 -0
- package/kb/references/thumbs/012e61b31f.jpg +0 -0
- package/kb/references/thumbs/014d4e46fc.jpg +0 -0
- package/kb/references/thumbs/01e54f394a.jpg +0 -0
- package/kb/references/thumbs/01e99a579c.jpg +0 -0
- package/kb/references/thumbs/01fd014575.jpg +0 -0
- package/kb/references/thumbs/022778ca72.jpg +0 -0
- package/kb/references/thumbs/02717bf1e1.jpg +0 -0
- package/kb/references/thumbs/02a5cfdbe9.jpg +0 -0
- package/kb/references/thumbs/02c9823f8d.jpg +0 -0
- package/kb/references/thumbs/02f3974613.jpg +0 -0
- package/kb/references/thumbs/032427f1ce.jpg +0 -0
- package/kb/references/thumbs/03ba677d07.jpg +0 -0
- package/kb/references/thumbs/04f2476cfe.jpg +0 -0
- package/kb/references/thumbs/0563e7c52e.jpg +0 -0
- package/kb/references/thumbs/05fa6b8eef.jpg +0 -0
- package/kb/references/thumbs/065bce1517.jpg +0 -0
- package/kb/references/thumbs/06c017f113.jpg +0 -0
- package/kb/references/thumbs/0770e2d8d3.jpg +0 -0
- package/kb/references/thumbs/078a26c4cb.jpg +0 -0
- package/kb/references/thumbs/08679b6e84.jpg +0 -0
- package/kb/references/thumbs/088c45a34c.jpg +0 -0
- package/kb/references/thumbs/089e9fd4e4.jpg +0 -0
- package/kb/references/thumbs/08f773231e.jpg +0 -0
- package/kb/references/thumbs/093ca3e2e3.jpg +0 -0
- package/kb/references/thumbs/0963320f74.jpg +0 -0
- package/kb/references/thumbs/09fc1ded85.jpg +0 -0
- package/kb/references/thumbs/0a368f3963.jpg +0 -0
- package/kb/references/thumbs/0a9e0e5201.jpg +0 -0
- package/kb/references/thumbs/0aace67ee7.jpg +0 -0
- package/kb/references/thumbs/0b61ecf793.jpg +0 -0
- package/kb/references/thumbs/0bde18ae09.jpg +0 -0
- package/kb/references/thumbs/0bf7ee8143.jpg +0 -0
- package/kb/references/thumbs/0ca20a13e0.jpg +0 -0
- package/kb/references/thumbs/0cdc0198c4.jpg +0 -0
- package/kb/references/thumbs/0cf9790b28.jpg +0 -0
- package/kb/references/thumbs/0d0202904b.jpg +0 -0
- package/kb/references/thumbs/0d053aba18.jpg +0 -0
- package/kb/references/thumbs/0d0c2c13d2.jpg +0 -0
- package/kb/references/thumbs/0d30be99b0.jpg +0 -0
- package/kb/references/thumbs/0d503da1b7.jpg +0 -0
- package/kb/references/thumbs/0ddad7b740.jpg +0 -0
- package/kb/references/thumbs/0e0a148101.jpg +0 -0
- package/kb/references/thumbs/0e401b6b75.jpg +0 -0
- package/kb/references/thumbs/0e8f32ba0f.jpg +0 -0
- package/kb/references/thumbs/0ef1966a7d.jpg +0 -0
- package/kb/references/thumbs/0efd416d11.jpg +0 -0
- package/kb/references/thumbs/0f3af263ae.jpg +0 -0
- package/kb/references/thumbs/0f9644c3a5.jpg +0 -0
- package/kb/references/thumbs/1020552737.jpg +0 -0
- package/kb/references/thumbs/1037626587.jpg +0 -0
- package/kb/references/thumbs/10512b7e94.jpg +0 -0
- package/kb/references/thumbs/106dc4a7b5.jpg +0 -0
- package/kb/references/thumbs/108943f6f7.jpg +0 -0
- package/kb/references/thumbs/10a5551d51.jpg +0 -0
- package/kb/references/thumbs/10dd01076c.jpg +0 -0
- package/kb/references/thumbs/11b06e39da.jpg +0 -0
- package/kb/references/thumbs/11baa1ec83.jpg +0 -0
- package/kb/references/thumbs/11bbe12167.jpg +0 -0
- package/kb/references/thumbs/11ca37feb8.jpg +0 -0
- package/kb/references/thumbs/11f14d3f12.jpg +0 -0
- package/kb/references/thumbs/124530ceb5.jpg +0 -0
- package/kb/references/thumbs/1276402336.jpg +0 -0
- package/kb/references/thumbs/1280e5c9d6.jpg +0 -0
- package/kb/references/thumbs/12cac0d172.jpg +0 -0
- package/kb/references/thumbs/138be6623a.jpg +0 -0
- package/kb/references/thumbs/13a0c544d1.jpg +0 -0
- package/kb/references/thumbs/13a32cb94c.jpg +0 -0
- package/kb/references/thumbs/144035d641.jpg +0 -0
- package/kb/references/thumbs/1457e41924.jpg +0 -0
- package/kb/references/thumbs/14972e3a86.jpg +0 -0
- package/kb/references/thumbs/15a47f2e4c.jpg +0 -0
- package/kb/references/thumbs/15aa15d22e.jpg +0 -0
- package/kb/references/thumbs/160dcd24b7.jpg +0 -0
- package/kb/references/thumbs/1610978529.jpg +0 -0
- package/kb/references/thumbs/16db30ba37.jpg +0 -0
- package/kb/references/thumbs/16f19ae4f3.jpg +0 -0
- package/kb/references/thumbs/16f758b03f.jpg +0 -0
- package/kb/references/thumbs/1748e5b751.jpg +0 -0
- package/kb/references/thumbs/175d0b0e69.jpg +0 -0
- package/kb/references/thumbs/178f571a36.jpg +0 -0
- package/kb/references/thumbs/17c43dc025.jpg +0 -0
- package/kb/references/thumbs/17c7f05b50.jpg +0 -0
- package/kb/references/thumbs/17f97e61dd.jpg +0 -0
- package/kb/references/thumbs/1804e17365.jpg +0 -0
- package/kb/references/thumbs/195c162ed1.jpg +0 -0
- package/kb/references/thumbs/19e3699c29.jpg +0 -0
- package/kb/references/thumbs/1a48e0a4d5.jpg +0 -0
- package/kb/references/thumbs/1a6cda265e.jpg +0 -0
- package/kb/references/thumbs/1a7e012091.jpg +0 -0
- package/kb/references/thumbs/1a9173a172.jpg +0 -0
- package/kb/references/thumbs/1b34a6b4d2.jpg +0 -0
- package/kb/references/thumbs/1b5284f3b2.jpg +0 -0
- package/kb/references/thumbs/1b93fbd6d3.jpg +0 -0
- package/kb/references/thumbs/1c6728fef6.jpg +0 -0
- package/kb/references/thumbs/1c6f101618.jpg +0 -0
- package/kb/references/thumbs/1cf7011a94.jpg +0 -0
- package/kb/references/thumbs/1d1769e539.jpg +0 -0
- package/kb/references/thumbs/1d1fd23199.jpg +0 -0
- package/kb/references/thumbs/1d7b6602ac.jpg +0 -0
- package/kb/references/thumbs/1dbbc61b9e.jpg +0 -0
- package/kb/references/thumbs/1dbdd6d21d.jpg +0 -0
- package/kb/references/thumbs/1dd873744b.jpg +0 -0
- package/kb/references/thumbs/1df4dd7cf9.jpg +0 -0
- package/kb/references/thumbs/1ece8c35b8.jpg +0 -0
- package/kb/references/thumbs/1f0e5b9aa4.jpg +0 -0
- package/kb/references/thumbs/1f1419651b.jpg +0 -0
- package/kb/references/thumbs/1f2a6da92d.jpg +0 -0
- package/kb/references/thumbs/1f651f33c0.jpg +0 -0
- package/kb/references/thumbs/1f8b697d18.jpg +0 -0
- package/kb/references/thumbs/1fee3824cd.jpg +0 -0
- package/kb/references/thumbs/1ff7757853.jpg +0 -0
- package/kb/references/thumbs/2043182f01.jpg +0 -0
- package/kb/references/thumbs/2059dabcd5.jpg +0 -0
- package/kb/references/thumbs/209d9dbb95.jpg +0 -0
- package/kb/references/thumbs/20d8923554.jpg +0 -0
- package/kb/references/thumbs/210dd3b671.jpg +0 -0
- package/kb/references/thumbs/2120719116.jpg +0 -0
- package/kb/references/thumbs/21a7384429.jpg +0 -0
- package/kb/references/thumbs/225f187391.jpg +0 -0
- package/kb/references/thumbs/230caf7dd2.jpg +0 -0
- package/kb/references/thumbs/235afad355.jpg +0 -0
- package/kb/references/thumbs/2378066687.jpg +0 -0
- package/kb/references/thumbs/241faf68a1.jpg +0 -0
- package/kb/references/thumbs/24d9f1a9b9.jpg +0 -0
- package/kb/references/thumbs/2505c8b9a0.jpg +0 -0
- package/kb/references/thumbs/25593638ca.jpg +0 -0
- package/kb/references/thumbs/25dd454f18.jpg +0 -0
- package/kb/references/thumbs/2602e123e2.jpg +0 -0
- package/kb/references/thumbs/26095c0b11.jpg +0 -0
- package/kb/references/thumbs/26260d6238.jpg +0 -0
- package/kb/references/thumbs/26bba21836.jpg +0 -0
- package/kb/references/thumbs/26bde3520b.jpg +0 -0
- package/kb/references/thumbs/272e22067c.jpg +0 -0
- package/kb/references/thumbs/27421b3226.jpg +0 -0
- package/kb/references/thumbs/2769ebca41.jpg +0 -0
- package/kb/references/thumbs/27e2f6e8b0.jpg +0 -0
- package/kb/references/thumbs/28432ba373.jpg +0 -0
- package/kb/references/thumbs/2846626f19.jpg +0 -0
- package/kb/references/thumbs/28750e821e.jpg +0 -0
- package/kb/references/thumbs/289481230f.jpg +0 -0
- package/kb/references/thumbs/2897967408.jpg +0 -0
- package/kb/references/thumbs/28c0a5fa17.jpg +0 -0
- package/kb/references/thumbs/28c181fba5.jpg +0 -0
- package/kb/references/thumbs/29806f539f.jpg +0 -0
- package/kb/references/thumbs/2997f56ee7.jpg +0 -0
- package/kb/references/thumbs/29b34a10fb.jpg +0 -0
- package/kb/references/thumbs/29bd78cdb4.jpg +0 -0
- package/kb/references/thumbs/29c8c6c22a.jpg +0 -0
- package/kb/references/thumbs/2ac23f7fae.jpg +0 -0
- package/kb/references/thumbs/2b76e13f79.jpg +0 -0
- package/kb/references/thumbs/2b84226479.jpg +0 -0
- package/kb/references/thumbs/2bf2dbf737.jpg +0 -0
- package/kb/references/thumbs/2bf89abbf6.jpg +0 -0
- package/kb/references/thumbs/2c562cd534.jpg +0 -0
- package/kb/references/thumbs/2cfe9d48c4.jpg +0 -0
- package/kb/references/thumbs/2d49f19b27.jpg +0 -0
- package/kb/references/thumbs/2dc8670da7.jpg +0 -0
- package/kb/references/thumbs/2de947c469.jpg +0 -0
- package/kb/references/thumbs/2e075ca79f.jpg +0 -0
- package/kb/references/thumbs/2eb0820e6b.jpg +0 -0
- package/kb/references/thumbs/2ec56a9dc0.jpg +0 -0
- package/kb/references/thumbs/30bb4ad607.jpg +0 -0
- package/kb/references/thumbs/30d19b8444.jpg +0 -0
- package/kb/references/thumbs/3173c71d73.jpg +0 -0
- package/kb/references/thumbs/31e59e4518.jpg +0 -0
- package/kb/references/thumbs/322b8960e8.jpg +0 -0
- package/kb/references/thumbs/325c9be6f4.jpg +0 -0
- package/kb/references/thumbs/3273338982.jpg +0 -0
- package/kb/references/thumbs/32f8387f38.jpg +0 -0
- package/kb/references/thumbs/332f6b74c3.jpg +0 -0
- package/kb/references/thumbs/334b146b6a.jpg +0 -0
- package/kb/references/thumbs/339abd60e4.jpg +0 -0
- package/kb/references/thumbs/33e88ec295.jpg +0 -0
- package/kb/references/thumbs/340931b5d4.jpg +0 -0
- package/kb/references/thumbs/34165a93bd.jpg +0 -0
- package/kb/references/thumbs/34d0575dd7.jpg +0 -0
- package/kb/references/thumbs/3549e75f0a.jpg +0 -0
- package/kb/references/thumbs/35827f1561.jpg +0 -0
- package/kb/references/thumbs/37c50280ec.jpg +0 -0
- package/kb/references/thumbs/37e66ecf11.jpg +0 -0
- package/kb/references/thumbs/3841a04fdc.jpg +0 -0
- package/kb/references/thumbs/38490c088f.jpg +0 -0
- package/kb/references/thumbs/3850319e9f.jpg +0 -0
- package/kb/references/thumbs/3856a64166.jpg +0 -0
- package/kb/references/thumbs/3881f211c2.jpg +0 -0
- package/kb/references/thumbs/38c7dde2f3.jpg +0 -0
- package/kb/references/thumbs/38ce9e486c.jpg +0 -0
- package/kb/references/thumbs/390ea8e01b.jpg +0 -0
- package/kb/references/thumbs/391b7fc27c.jpg +0 -0
- package/kb/references/thumbs/395f7214dc.jpg +0 -0
- package/kb/references/thumbs/39e81a5db2.jpg +0 -0
- package/kb/references/thumbs/3a67c8d655.jpg +0 -0
- package/kb/references/thumbs/3a89c25e3b.jpg +0 -0
- package/kb/references/thumbs/3aa0837542.jpg +0 -0
- package/kb/references/thumbs/3aae18aa8a.jpg +0 -0
- package/kb/references/thumbs/3bdbe767db.jpg +0 -0
- package/kb/references/thumbs/3c0616fc7f.jpg +0 -0
- package/kb/references/thumbs/3c18e9db1d.jpg +0 -0
- package/kb/references/thumbs/3c5a14076c.jpg +0 -0
- package/kb/references/thumbs/3ca9ec15c6.jpg +0 -0
- package/kb/references/thumbs/3d7756fd35.jpg +0 -0
- package/kb/references/thumbs/3dd45bd33d.jpg +0 -0
- package/kb/references/thumbs/3de72d5414.jpg +0 -0
- package/kb/references/thumbs/3dede597af.jpg +0 -0
- package/kb/references/thumbs/3ea948619e.jpg +0 -0
- package/kb/references/thumbs/402c12054c.jpg +0 -0
- package/kb/references/thumbs/403ab4af90.jpg +0 -0
- package/kb/references/thumbs/40773a8c63.jpg +0 -0
- package/kb/references/thumbs/407d9583db.jpg +0 -0
- package/kb/references/thumbs/415dc1d84c.jpg +0 -0
- package/kb/references/thumbs/420b676a4f.jpg +0 -0
- package/kb/references/thumbs/42a1ee85eb.jpg +0 -0
- package/kb/references/thumbs/43059221aa.jpg +0 -0
- package/kb/references/thumbs/432fa0d22c.jpg +0 -0
- package/kb/references/thumbs/43826f20e3.jpg +0 -0
- package/kb/references/thumbs/43ac55c98a.jpg +0 -0
- package/kb/references/thumbs/43d098f3c3.jpg +0 -0
- package/kb/references/thumbs/4449d80c2c.jpg +0 -0
- package/kb/references/thumbs/44625727dc.jpg +0 -0
- package/kb/references/thumbs/4482bb87a1.jpg +0 -0
- package/kb/references/thumbs/44b078acdc.jpg +0 -0
- package/kb/references/thumbs/44d0305850.jpg +0 -0
- package/kb/references/thumbs/456bb6b59e.jpg +0 -0
- package/kb/references/thumbs/45df73ce48.jpg +0 -0
- package/kb/references/thumbs/45edb45d87.jpg +0 -0
- package/kb/references/thumbs/4671d57cd5.jpg +0 -0
- package/kb/references/thumbs/46cc108518.jpg +0 -0
- package/kb/references/thumbs/470022e614.jpg +0 -0
- package/kb/references/thumbs/4719a669ce.jpg +0 -0
- package/kb/references/thumbs/47404f5ad4.jpg +0 -0
- package/kb/references/thumbs/479d3eb977.jpg +0 -0
- package/kb/references/thumbs/479ed92ceb.jpg +0 -0
- package/kb/references/thumbs/47baed50c7.jpg +0 -0
- package/kb/references/thumbs/47fdcfd7b0.jpg +0 -0
- package/kb/references/thumbs/48fd5e94c5.jpg +0 -0
- package/kb/references/thumbs/493807917b.jpg +0 -0
- package/kb/references/thumbs/49a1c67293.jpg +0 -0
- package/kb/references/thumbs/49e2d7fafe.jpg +0 -0
- package/kb/references/thumbs/49f540fcb6.jpg +0 -0
- package/kb/references/thumbs/4a67ec4028.jpg +0 -0
- package/kb/references/thumbs/4a93275b04.jpg +0 -0
- package/kb/references/thumbs/4aae6f52da.jpg +0 -0
- package/kb/references/thumbs/4b1bae66bd.jpg +0 -0
- package/kb/references/thumbs/4b75da15a9.jpg +0 -0
- package/kb/references/thumbs/4b77789b88.jpg +0 -0
- package/kb/references/thumbs/4bc2f3f3a4.jpg +0 -0
- package/kb/references/thumbs/4c48f27b88.jpg +0 -0
- package/kb/references/thumbs/4c52bd8bfb.jpg +0 -0
- package/kb/references/thumbs/4c9b4acc60.jpg +0 -0
- package/kb/references/thumbs/4cbf0752d4.jpg +0 -0
- package/kb/references/thumbs/4cd2672517.jpg +0 -0
- package/kb/references/thumbs/4dd22a8181.jpg +0 -0
- package/kb/references/thumbs/4ee3447314.jpg +0 -0
- package/kb/references/thumbs/4ef29c8144.jpg +0 -0
- package/kb/references/thumbs/4f82fadfd6.jpg +0 -0
- package/kb/references/thumbs/4fc9b643d8.jpg +0 -0
- package/kb/references/thumbs/50549524b0.jpg +0 -0
- package/kb/references/thumbs/509a615883.jpg +0 -0
- package/kb/references/thumbs/50c03ef855.jpg +0 -0
- package/kb/references/thumbs/50cf9acad6.jpg +0 -0
- package/kb/references/thumbs/51131b025c.jpg +0 -0
- package/kb/references/thumbs/51da1124f0.jpg +0 -0
- package/kb/references/thumbs/524d5e7288.jpg +0 -0
- package/kb/references/thumbs/5251247c81.jpg +0 -0
- package/kb/references/thumbs/526b91b7ec.jpg +0 -0
- package/kb/references/thumbs/52f02f6c2e.jpg +0 -0
- package/kb/references/thumbs/530ab530dc.jpg +0 -0
- package/kb/references/thumbs/5335ee4404.jpg +0 -0
- package/kb/references/thumbs/5385b90939.jpg +0 -0
- package/kb/references/thumbs/53c54654cc.jpg +0 -0
- package/kb/references/thumbs/5420794c6c.jpg +0 -0
- package/kb/references/thumbs/542a9dce8b.jpg +0 -0
- package/kb/references/thumbs/5571530a5f.jpg +0 -0
- package/kb/references/thumbs/56cc68d804.jpg +0 -0
- package/kb/references/thumbs/577b7f7c44.jpg +0 -0
- package/kb/references/thumbs/57adf8f1bb.jpg +0 -0
- package/kb/references/thumbs/57c5f5e3a6.jpg +0 -0
- package/kb/references/thumbs/57ffe4e839.jpg +0 -0
- package/kb/references/thumbs/5817dfc7d6.jpg +0 -0
- package/kb/references/thumbs/581a182a7a.jpg +0 -0
- package/kb/references/thumbs/58807679c8.jpg +0 -0
- package/kb/references/thumbs/589a1d9111.jpg +0 -0
- package/kb/references/thumbs/59167391ab.jpg +0 -0
- package/kb/references/thumbs/5a70420166.jpg +0 -0
- package/kb/references/thumbs/5b10df1b8d.jpg +0 -0
- package/kb/references/thumbs/5b7a712fdb.jpg +0 -0
- package/kb/references/thumbs/5bc46b92ad.jpg +0 -0
- package/kb/references/thumbs/5c0546a120.jpg +0 -0
- package/kb/references/thumbs/5c2b6125a8.jpg +0 -0
- package/kb/references/thumbs/5c536b9e42.jpg +0 -0
- package/kb/references/thumbs/5c8e441d30.jpg +0 -0
- package/kb/references/thumbs/5cb6f1baa5.jpg +0 -0
- package/kb/references/thumbs/5ce6c1f21e.jpg +0 -0
- package/kb/references/thumbs/5cef052c0a.jpg +0 -0
- package/kb/references/thumbs/5d08438209.jpg +0 -0
- package/kb/references/thumbs/5d0f9af9b0.jpg +0 -0
- package/kb/references/thumbs/5d300ed332.jpg +0 -0
- package/kb/references/thumbs/5d708a4794.jpg +0 -0
- package/kb/references/thumbs/5de8826a98.jpg +0 -0
- package/kb/references/thumbs/5df7bff22c.jpg +0 -0
- package/kb/references/thumbs/5e087d0f00.jpg +0 -0
- package/kb/references/thumbs/5e44e70ca0.jpg +0 -0
- package/kb/references/thumbs/5eff5d80ce.jpg +0 -0
- package/kb/references/thumbs/5f015c96b1.jpg +0 -0
- package/kb/references/thumbs/5f3289b7c4.jpg +0 -0
- package/kb/references/thumbs/5f830c40eb.jpg +0 -0
- package/kb/references/thumbs/60c4c3527b.jpg +0 -0
- package/kb/references/thumbs/60e9e594dd.jpg +0 -0
- package/kb/references/thumbs/615421d7be.jpg +0 -0
- package/kb/references/thumbs/6176e4004f.jpg +0 -0
- package/kb/references/thumbs/61f0fe5e06.jpg +0 -0
- package/kb/references/thumbs/6213785db4.jpg +0 -0
- package/kb/references/thumbs/62a670ae09.jpg +0 -0
- package/kb/references/thumbs/63cc12981b.jpg +0 -0
- package/kb/references/thumbs/641f15cc71.jpg +0 -0
- package/kb/references/thumbs/642ab2081d.jpg +0 -0
- package/kb/references/thumbs/644a59bf6e.jpg +0 -0
- package/kb/references/thumbs/644da8a8e3.jpg +0 -0
- package/kb/references/thumbs/6458986897.jpg +0 -0
- package/kb/references/thumbs/64cfbd7b93.jpg +0 -0
- package/kb/references/thumbs/661a57686a.jpg +0 -0
- package/kb/references/thumbs/66355a813a.jpg +0 -0
- package/kb/references/thumbs/664396dd44.jpg +0 -0
- package/kb/references/thumbs/66d832d65f.jpg +0 -0
- package/kb/references/thumbs/66de9e9833.jpg +0 -0
- package/kb/references/thumbs/6750964fd9.jpg +0 -0
- package/kb/references/thumbs/67c7164832.jpg +0 -0
- package/kb/references/thumbs/681600b6cd.jpg +0 -0
- package/kb/references/thumbs/682e75afe4.jpg +0 -0
- package/kb/references/thumbs/69274bc952.jpg +0 -0
- package/kb/references/thumbs/696ec08c52.jpg +0 -0
- package/kb/references/thumbs/69760111cc.jpg +0 -0
- package/kb/references/thumbs/697e32664f.jpg +0 -0
- package/kb/references/thumbs/69df92544b.jpg +0 -0
- package/kb/references/thumbs/69e48c5229.jpg +0 -0
- package/kb/references/thumbs/6a5fb75de1.jpg +0 -0
- package/kb/references/thumbs/6a7389e472.jpg +0 -0
- package/kb/references/thumbs/6a9b041e02.jpg +0 -0
- package/kb/references/thumbs/6ab2fa93ee.jpg +0 -0
- package/kb/references/thumbs/6ae3400319.jpg +0 -0
- package/kb/references/thumbs/6b21344bf3.jpg +0 -0
- package/kb/references/thumbs/6bd1b67a8a.jpg +0 -0
- package/kb/references/thumbs/6c99156c4f.jpg +0 -0
- package/kb/references/thumbs/6cc9b65384.jpg +0 -0
- package/kb/references/thumbs/6d15830a73.jpg +0 -0
- package/kb/references/thumbs/6d4c33d180.jpg +0 -0
- package/kb/references/thumbs/6e36815799.jpg +0 -0
- package/kb/references/thumbs/6eddb9cbfc.jpg +0 -0
- package/kb/references/thumbs/6f97968a7c.jpg +0 -0
- package/kb/references/thumbs/6fa0716a7d.jpg +0 -0
- package/kb/references/thumbs/6facd57184.jpg +0 -0
- package/kb/references/thumbs/6fd57b785a.jpg +0 -0
- package/kb/references/thumbs/700b3cb185.jpg +0 -0
- package/kb/references/thumbs/71197443fa.jpg +0 -0
- package/kb/references/thumbs/72082bc9ee.jpg +0 -0
- package/kb/references/thumbs/72453db479.jpg +0 -0
- package/kb/references/thumbs/72cd64d500.jpg +0 -0
- package/kb/references/thumbs/72d1e75283.jpg +0 -0
- package/kb/references/thumbs/72e13f7f5b.jpg +0 -0
- package/kb/references/thumbs/7459f8e644.jpg +0 -0
- package/kb/references/thumbs/7470d55c79.jpg +0 -0
- package/kb/references/thumbs/74c468f02a.jpg +0 -0
- package/kb/references/thumbs/74fed6eb77.jpg +0 -0
- package/kb/references/thumbs/756e05080d.jpg +0 -0
- package/kb/references/thumbs/75df7e5f49.jpg +0 -0
- package/kb/references/thumbs/76226da6ef.jpg +0 -0
- package/kb/references/thumbs/76a34aa056.jpg +0 -0
- package/kb/references/thumbs/76c7076589.jpg +0 -0
- package/kb/references/thumbs/76cccc396c.jpg +0 -0
- package/kb/references/thumbs/774654789f.jpg +0 -0
- package/kb/references/thumbs/7746cc494d.jpg +0 -0
- package/kb/references/thumbs/7766e36aa3.jpg +0 -0
- package/kb/references/thumbs/78049331ef.jpg +0 -0
- package/kb/references/thumbs/78808a0ca5.jpg +0 -0
- package/kb/references/thumbs/7890b0a310.jpg +0 -0
- package/kb/references/thumbs/78911975e6.jpg +0 -0
- package/kb/references/thumbs/78d289d5a0.jpg +0 -0
- package/kb/references/thumbs/794126267e.jpg +0 -0
- package/kb/references/thumbs/7976eb9025.jpg +0 -0
- package/kb/references/thumbs/798519ec7c.jpg +0 -0
- package/kb/references/thumbs/7a6cc5eecc.jpg +0 -0
- package/kb/references/thumbs/7ac8a7cd4a.jpg +0 -0
- package/kb/references/thumbs/7b1341d61d.jpg +0 -0
- package/kb/references/thumbs/7b9c4031e3.jpg +0 -0
- package/kb/references/thumbs/7ba5ad3779.jpg +0 -0
- package/kb/references/thumbs/7be6eb2bd0.jpg +0 -0
- package/kb/references/thumbs/7c30864f5d.jpg +0 -0
- package/kb/references/thumbs/7c379b5e17.jpg +0 -0
- package/kb/references/thumbs/7c4050eb02.jpg +0 -0
- package/kb/references/thumbs/7ca47b3221.jpg +0 -0
- package/kb/references/thumbs/7d43516bd7.jpg +0 -0
- package/kb/references/thumbs/7da9dbb98a.jpg +0 -0
- package/kb/references/thumbs/7ddda8f57c.jpg +0 -0
- package/kb/references/thumbs/7ece6d215c.jpg +0 -0
- package/kb/references/thumbs/7eebf029de.jpg +0 -0
- package/kb/references/thumbs/7f45483c15.jpg +0 -0
- package/kb/references/thumbs/7fde06eaa5.jpg +0 -0
- package/kb/references/thumbs/80407b97e9.jpg +0 -0
- package/kb/references/thumbs/80f0a6cf4b.jpg +0 -0
- package/kb/references/thumbs/8118b451b8.jpg +0 -0
- package/kb/references/thumbs/816baed4a8.jpg +0 -0
- package/kb/references/thumbs/817d2d15d9.jpg +0 -0
- package/kb/references/thumbs/8260cb430d.jpg +0 -0
- package/kb/references/thumbs/827b562899.jpg +0 -0
- package/kb/references/thumbs/8293cf1e92.jpg +0 -0
- package/kb/references/thumbs/8294653169.jpg +0 -0
- package/kb/references/thumbs/83061f871f.jpg +0 -0
- package/kb/references/thumbs/833df778ca.jpg +0 -0
- package/kb/references/thumbs/83d3acaafc.jpg +0 -0
- package/kb/references/thumbs/844c6efeff.jpg +0 -0
- package/kb/references/thumbs/84563d482a.jpg +0 -0
- package/kb/references/thumbs/848082dd94.jpg +0 -0
- package/kb/references/thumbs/8494b1da94.jpg +0 -0
- package/kb/references/thumbs/84b71014be.jpg +0 -0
- package/kb/references/thumbs/84be4a5f3c.jpg +0 -0
- package/kb/references/thumbs/84fd0fd25a.jpg +0 -0
- package/kb/references/thumbs/853e488e22.jpg +0 -0
- package/kb/references/thumbs/858c91585d.jpg +0 -0
- package/kb/references/thumbs/85903e8fe9.jpg +0 -0
- package/kb/references/thumbs/86597d43fd.jpg +0 -0
- package/kb/references/thumbs/866eb99500.jpg +0 -0
- package/kb/references/thumbs/86ac050340.jpg +0 -0
- package/kb/references/thumbs/86afec7b64.jpg +0 -0
- package/kb/references/thumbs/87238127f5.jpg +0 -0
- package/kb/references/thumbs/87321df792.jpg +0 -0
- package/kb/references/thumbs/87460f70cd.jpg +0 -0
- package/kb/references/thumbs/8770dfeaec.jpg +0 -0
- package/kb/references/thumbs/8798451a8c.jpg +0 -0
- package/kb/references/thumbs/87da1f34a3.jpg +0 -0
- package/kb/references/thumbs/882cdf8c05.jpg +0 -0
- package/kb/references/thumbs/8839f4106f.jpg +0 -0
- package/kb/references/thumbs/8844455212.jpg +0 -0
- package/kb/references/thumbs/88abba0497.jpg +0 -0
- package/kb/references/thumbs/88b372435d.jpg +0 -0
- package/kb/references/thumbs/88bd4f35fa.jpg +0 -0
- package/kb/references/thumbs/88c71a075e.jpg +0 -0
- package/kb/references/thumbs/892e5f048e.jpg +0 -0
- package/kb/references/thumbs/893cc8e920.jpg +0 -0
- package/kb/references/thumbs/896c198814.jpg +0 -0
- package/kb/references/thumbs/8a8e22f756.jpg +0 -0
- package/kb/references/thumbs/8a9d8a35cb.jpg +0 -0
- package/kb/references/thumbs/8ab1d67fec.jpg +0 -0
- package/kb/references/thumbs/8ab201fe12.jpg +0 -0
- package/kb/references/thumbs/8ac372c102.jpg +0 -0
- package/kb/references/thumbs/8b15736d62.jpg +0 -0
- package/kb/references/thumbs/8b1d8d6a05.jpg +0 -0
- package/kb/references/thumbs/8bb6050e20.jpg +0 -0
- package/kb/references/thumbs/8c6c9d1577.jpg +0 -0
- package/kb/references/thumbs/8d337851e0.jpg +0 -0
- package/kb/references/thumbs/8d44b33cc5.jpg +0 -0
- package/kb/references/thumbs/8d4536ff3b.jpg +0 -0
- package/kb/references/thumbs/8d9b99454a.jpg +0 -0
- package/kb/references/thumbs/8dda2303ff.jpg +0 -0
- package/kb/references/thumbs/8dec722d62.jpg +0 -0
- package/kb/references/thumbs/8e0ea4ca74.jpg +0 -0
- package/kb/references/thumbs/8ebba84d69.jpg +0 -0
- package/kb/references/thumbs/8ef09140c0.jpg +0 -0
- package/kb/references/thumbs/8f2928a1b0.jpg +0 -0
- package/kb/references/thumbs/8f88f9ddba.jpg +0 -0
- package/kb/references/thumbs/8fa4451009.jpg +0 -0
- package/kb/references/thumbs/90109b0e02.jpg +0 -0
- package/kb/references/thumbs/90e854e5c9.jpg +0 -0
- package/kb/references/thumbs/914e79f893.jpg +0 -0
- package/kb/references/thumbs/9161369197.jpg +0 -0
- package/kb/references/thumbs/9165c87d6f.jpg +0 -0
- package/kb/references/thumbs/9193f6558a.jpg +0 -0
- package/kb/references/thumbs/91ac7df877.jpg +0 -0
- package/kb/references/thumbs/9216bd4931.jpg +0 -0
- package/kb/references/thumbs/922ae8a26a.jpg +0 -0
- package/kb/references/thumbs/92a70e6867.jpg +0 -0
- package/kb/references/thumbs/92c77ece22.jpg +0 -0
- package/kb/references/thumbs/92e5914fbf.jpg +0 -0
- package/kb/references/thumbs/92ee36419a.jpg +0 -0
- package/kb/references/thumbs/94153a60b0.jpg +0 -0
- package/kb/references/thumbs/9449666640.jpg +0 -0
- package/kb/references/thumbs/944be6a646.jpg +0 -0
- package/kb/references/thumbs/945831476e.jpg +0 -0
- package/kb/references/thumbs/94c1af82f4.jpg +0 -0
- package/kb/references/thumbs/9599d6d589.jpg +0 -0
- package/kb/references/thumbs/960710f4cf.jpg +0 -0
- package/kb/references/thumbs/9608f12d64.jpg +0 -0
- package/kb/references/thumbs/962dabfaa0.jpg +0 -0
- package/kb/references/thumbs/965a3a95c6.jpg +0 -0
- package/kb/references/thumbs/9672ed5ae4.jpg +0 -0
- package/kb/references/thumbs/96891ae9c1.jpg +0 -0
- package/kb/references/thumbs/96e1907c99.jpg +0 -0
- package/kb/references/thumbs/96f25b6578.jpg +0 -0
- package/kb/references/thumbs/97211df9ae.jpg +0 -0
- package/kb/references/thumbs/9769d763a5.jpg +0 -0
- package/kb/references/thumbs/9792bd6d05.jpg +0 -0
- package/kb/references/thumbs/97d2837e3e.jpg +0 -0
- package/kb/references/thumbs/97d90d1d85.jpg +0 -0
- package/kb/references/thumbs/97fcd5774a.jpg +0 -0
- package/kb/references/thumbs/980f68564e.jpg +0 -0
- package/kb/references/thumbs/98511fb393.jpg +0 -0
- package/kb/references/thumbs/98f8fa694d.jpg +0 -0
- package/kb/references/thumbs/9a42c6bb97.jpg +0 -0
- package/kb/references/thumbs/9ab3600a06.jpg +0 -0
- package/kb/references/thumbs/9ab48d9130.jpg +0 -0
- package/kb/references/thumbs/9ad519197d.jpg +0 -0
- package/kb/references/thumbs/9b1382c657.jpg +0 -0
- package/kb/references/thumbs/9b6cc1e077.jpg +0 -0
- package/kb/references/thumbs/9beede8480.jpg +0 -0
- package/kb/references/thumbs/9bf8976952.jpg +0 -0
- package/kb/references/thumbs/9cace7b75a.jpg +0 -0
- package/kb/references/thumbs/9cdcc5745e.jpg +0 -0
- package/kb/references/thumbs/9d0b269074.jpg +0 -0
- package/kb/references/thumbs/9d41788b48.jpg +0 -0
- package/kb/references/thumbs/9d475bd6af.jpg +0 -0
- package/kb/references/thumbs/9e6bc543d0.jpg +0 -0
- package/kb/references/thumbs/9ed0e0a206.jpg +0 -0
- package/kb/references/thumbs/9ef538de13.jpg +0 -0
- package/kb/references/thumbs/9efc373ab4.jpg +0 -0
- package/kb/references/thumbs/9f4a939fa5.jpg +0 -0
- package/kb/references/thumbs/9f8d12d7b9.jpg +0 -0
- package/kb/references/thumbs/9fd5e3efa7.jpg +0 -0
- package/kb/references/thumbs/a0a9b9c572.jpg +0 -0
- package/kb/references/thumbs/a29ca9b185.jpg +0 -0
- package/kb/references/thumbs/a2a42884af.jpg +0 -0
- package/kb/references/thumbs/a2f5064e34.jpg +0 -0
- package/kb/references/thumbs/a3112ce672.jpg +0 -0
- package/kb/references/thumbs/a3437736d1.jpg +0 -0
- package/kb/references/thumbs/a372667e76.jpg +0 -0
- package/kb/references/thumbs/a39bae94e9.jpg +0 -0
- package/kb/references/thumbs/a3fc75d94c.jpg +0 -0
- package/kb/references/thumbs/a440487631.jpg +0 -0
- package/kb/references/thumbs/a4993d5fb5.jpg +0 -0
- package/kb/references/thumbs/a500476a86.jpg +0 -0
- package/kb/references/thumbs/a55506bf46.jpg +0 -0
- package/kb/references/thumbs/a59a5f9843.jpg +0 -0
- package/kb/references/thumbs/a5bce0eede.jpg +0 -0
- package/kb/references/thumbs/a5d921e1f0.jpg +0 -0
- package/kb/references/thumbs/a5e19d4637.jpg +0 -0
- package/kb/references/thumbs/a5f92b97d5.jpg +0 -0
- package/kb/references/thumbs/a6562c210a.jpg +0 -0
- package/kb/references/thumbs/a6f61a8d09.jpg +0 -0
- package/kb/references/thumbs/a719fdf663.jpg +0 -0
- package/kb/references/thumbs/a724e5442f.jpg +0 -0
- package/kb/references/thumbs/a852b4319f.jpg +0 -0
- package/kb/references/thumbs/a896c08448.jpg +0 -0
- package/kb/references/thumbs/a8d190a4b8.jpg +0 -0
- package/kb/references/thumbs/a8dcdd57d7.jpg +0 -0
- package/kb/references/thumbs/a951347e18.jpg +0 -0
- package/kb/references/thumbs/a9a1a0bf7d.jpg +0 -0
- package/kb/references/thumbs/a9b72986a8.jpg +0 -0
- package/kb/references/thumbs/aa11555ba8.jpg +0 -0
- package/kb/references/thumbs/aa4aab9093.jpg +0 -0
- package/kb/references/thumbs/aa89b96658.jpg +0 -0
- package/kb/references/thumbs/aaeb3739b6.jpg +0 -0
- package/kb/references/thumbs/ab25a608ec.jpg +0 -0
- package/kb/references/thumbs/ab34b62268.jpg +0 -0
- package/kb/references/thumbs/ab3b0217bb.jpg +0 -0
- package/kb/references/thumbs/ac70c04afb.jpg +0 -0
- package/kb/references/thumbs/ace0879117.jpg +0 -0
- package/kb/references/thumbs/ad0515ae55.jpg +0 -0
- package/kb/references/thumbs/ad66b25b47.jpg +0 -0
- package/kb/references/thumbs/ad68229d2f.jpg +0 -0
- package/kb/references/thumbs/add6480693.jpg +0 -0
- package/kb/references/thumbs/ae5b8c3b8c.jpg +0 -0
- package/kb/references/thumbs/ae81247b47.jpg +0 -0
- package/kb/references/thumbs/af8aa54379.jpg +0 -0
- package/kb/references/thumbs/afa80dedd4.jpg +0 -0
- package/kb/references/thumbs/afe04d730f.jpg +0 -0
- package/kb/references/thumbs/b09a7dc315.jpg +0 -0
- package/kb/references/thumbs/b0c02629f6.jpg +0 -0
- package/kb/references/thumbs/b1cb4f91de.jpg +0 -0
- package/kb/references/thumbs/b1d4c13c92.jpg +0 -0
- package/kb/references/thumbs/b20eef86db.jpg +0 -0
- package/kb/references/thumbs/b3136ccdde.jpg +0 -0
- package/kb/references/thumbs/b3f5e8d7dd.jpg +0 -0
- package/kb/references/thumbs/b44adb81c9.jpg +0 -0
- package/kb/references/thumbs/b457a5894b.jpg +0 -0
- package/kb/references/thumbs/b461281e0f.jpg +0 -0
- package/kb/references/thumbs/b4942644f0.jpg +0 -0
- package/kb/references/thumbs/b49f8eccad.jpg +0 -0
- package/kb/references/thumbs/b56c69be23.jpg +0 -0
- package/kb/references/thumbs/b59786b33c.jpg +0 -0
- package/kb/references/thumbs/b5d368ce5a.jpg +0 -0
- package/kb/references/thumbs/b5eb442406.jpg +0 -0
- package/kb/references/thumbs/b7fdabf4ab.jpg +0 -0
- package/kb/references/thumbs/b88ee8d235.jpg +0 -0
- package/kb/references/thumbs/b8a4e5be8a.jpg +0 -0
- package/kb/references/thumbs/b8c85b661c.jpg +0 -0
- package/kb/references/thumbs/ba1b8e7435.jpg +0 -0
- package/kb/references/thumbs/ba9a593eed.jpg +0 -0
- package/kb/references/thumbs/baa7afc201.jpg +0 -0
- package/kb/references/thumbs/baf74398f7.jpg +0 -0
- package/kb/references/thumbs/bb3e947c10.jpg +0 -0
- package/kb/references/thumbs/bb4c1bb7c1.jpg +0 -0
- package/kb/references/thumbs/bbaa25cc8a.jpg +0 -0
- package/kb/references/thumbs/bc7e7f88cc.jpg +0 -0
- package/kb/references/thumbs/bc9d5b58f5.jpg +0 -0
- package/kb/references/thumbs/bcc99a51f7.jpg +0 -0
- package/kb/references/thumbs/bce13dd1c1.jpg +0 -0
- package/kb/references/thumbs/bd079a6130.jpg +0 -0
- package/kb/references/thumbs/bd2d70dda7.jpg +0 -0
- package/kb/references/thumbs/bd5895c5f2.jpg +0 -0
- package/kb/references/thumbs/bde8e31d62.jpg +0 -0
- package/kb/references/thumbs/be084e78f3.jpg +0 -0
- package/kb/references/thumbs/be94f170c8.jpg +0 -0
- package/kb/references/thumbs/bed33654f7.jpg +0 -0
- package/kb/references/thumbs/beeb9a0c18.jpg +0 -0
- package/kb/references/thumbs/bef42094dc.jpg +0 -0
- package/kb/references/thumbs/bf625496fa.jpg +0 -0
- package/kb/references/thumbs/bf771f1398.jpg +0 -0
- package/kb/references/thumbs/c0ddefa3d9.jpg +0 -0
- package/kb/references/thumbs/c0f01e536e.jpg +0 -0
- package/kb/references/thumbs/c1d592b678.jpg +0 -0
- package/kb/references/thumbs/c1e83e1b3e.jpg +0 -0
- package/kb/references/thumbs/c2168f8096.jpg +0 -0
- package/kb/references/thumbs/c249cd6b17.jpg +0 -0
- package/kb/references/thumbs/c2e3d4feed.jpg +0 -0
- package/kb/references/thumbs/c3cec01df1.jpg +0 -0
- package/kb/references/thumbs/c47bedb42d.jpg +0 -0
- package/kb/references/thumbs/c4b03b4680.jpg +0 -0
- package/kb/references/thumbs/c4e6d18ec3.jpg +0 -0
- package/kb/references/thumbs/c5477e2877.jpg +0 -0
- package/kb/references/thumbs/c566794674.jpg +0 -0
- package/kb/references/thumbs/c5b945afbb.jpg +0 -0
- package/kb/references/thumbs/c5e4659497.jpg +0 -0
- package/kb/references/thumbs/c622786702.jpg +0 -0
- package/kb/references/thumbs/c6250649ca.jpg +0 -0
- package/kb/references/thumbs/c6261a9526.jpg +0 -0
- package/kb/references/thumbs/c62e609076.jpg +0 -0
- package/kb/references/thumbs/c6602d3e85.jpg +0 -0
- package/kb/references/thumbs/c6c1a16e40.jpg +0 -0
- package/kb/references/thumbs/c77f932157.jpg +0 -0
- package/kb/references/thumbs/c79788f01e.jpg +0 -0
- package/kb/references/thumbs/c7a511ad1e.jpg +0 -0
- package/kb/references/thumbs/c7acfbc3c8.jpg +0 -0
- package/kb/references/thumbs/c7bb6d1bb8.jpg +0 -0
- package/kb/references/thumbs/c829eadcb9.jpg +0 -0
- package/kb/references/thumbs/c891fd9d85.jpg +0 -0
- package/kb/references/thumbs/c89f812ee3.jpg +0 -0
- package/kb/references/thumbs/c8a85b9f61.jpg +0 -0
- package/kb/references/thumbs/c8fdf85c9a.jpg +0 -0
- package/kb/references/thumbs/c961ac1031.jpg +0 -0
- package/kb/references/thumbs/c9fd3f88d8.jpg +0 -0
- package/kb/references/thumbs/ca0d6399c3.jpg +0 -0
- package/kb/references/thumbs/ca316c83e4.jpg +0 -0
- package/kb/references/thumbs/ca3b93aa0d.jpg +0 -0
- package/kb/references/thumbs/cb0596a85b.jpg +0 -0
- package/kb/references/thumbs/cb95a5c3ef.jpg +0 -0
- package/kb/references/thumbs/cbe238b656.jpg +0 -0
- package/kb/references/thumbs/cbf530e608.jpg +0 -0
- package/kb/references/thumbs/cc173494ec.jpg +0 -0
- package/kb/references/thumbs/ccb664bddf.jpg +0 -0
- package/kb/references/thumbs/ccf69d36cd.jpg +0 -0
- package/kb/references/thumbs/ccf759db42.jpg +0 -0
- package/kb/references/thumbs/cd2a285807.jpg +0 -0
- package/kb/references/thumbs/cd4a24a8ca.jpg +0 -0
- package/kb/references/thumbs/cdb3fe8938.jpg +0 -0
- package/kb/references/thumbs/cdce1b9bc6.jpg +0 -0
- package/kb/references/thumbs/cde3aa761a.jpg +0 -0
- package/kb/references/thumbs/ce9d5cd9c2.jpg +0 -0
- package/kb/references/thumbs/ceb01f8a34.jpg +0 -0
- package/kb/references/thumbs/cee15c98d0.jpg +0 -0
- package/kb/references/thumbs/cf6944ddae.jpg +0 -0
- package/kb/references/thumbs/d15dd21cd8.jpg +0 -0
- package/kb/references/thumbs/d1633bf2ed.jpg +0 -0
- package/kb/references/thumbs/d16a838000.jpg +0 -0
- package/kb/references/thumbs/d1cf87e9f0.jpg +0 -0
- package/kb/references/thumbs/d32511d913.jpg +0 -0
- package/kb/references/thumbs/d327e9dedd.jpg +0 -0
- package/kb/references/thumbs/d35bf6c85e.jpg +0 -0
- package/kb/references/thumbs/d37afc9d61.jpg +0 -0
- package/kb/references/thumbs/d3b66655c7.jpg +0 -0
- package/kb/references/thumbs/d40b4172b6.jpg +0 -0
- package/kb/references/thumbs/d4c40d1824.jpg +0 -0
- package/kb/references/thumbs/d4cb55a4b6.jpg +0 -0
- package/kb/references/thumbs/d4f0c30f7e.jpg +0 -0
- package/kb/references/thumbs/d51cce3ae5.jpg +0 -0
- package/kb/references/thumbs/d52948f9ba.jpg +0 -0
- package/kb/references/thumbs/d62bd3cba4.jpg +0 -0
- package/kb/references/thumbs/d668a21c92.jpg +0 -0
- package/kb/references/thumbs/d685072c52.jpg +0 -0
- package/kb/references/thumbs/d6d7b96093.jpg +0 -0
- package/kb/references/thumbs/d7cd874b21.jpg +0 -0
- package/kb/references/thumbs/d7e111736a.jpg +0 -0
- package/kb/references/thumbs/d88325f832.jpg +0 -0
- package/kb/references/thumbs/d9272ded76.jpg +0 -0
- package/kb/references/thumbs/d962e7c654.jpg +0 -0
- package/kb/references/thumbs/d97f000ee2.jpg +0 -0
- package/kb/references/thumbs/d9c1ae2543.jpg +0 -0
- package/kb/references/thumbs/d9ccb3cac8.jpg +0 -0
- package/kb/references/thumbs/da99019680.jpg +0 -0
- package/kb/references/thumbs/da9b8bc615.jpg +0 -0
- package/kb/references/thumbs/daafbee2c1.jpg +0 -0
- package/kb/references/thumbs/db0f11f143.jpg +0 -0
- package/kb/references/thumbs/db5dd367f5.jpg +0 -0
- package/kb/references/thumbs/db69677866.jpg +0 -0
- package/kb/references/thumbs/db87c1956e.jpg +0 -0
- package/kb/references/thumbs/dbb86d8bda.jpg +0 -0
- package/kb/references/thumbs/dbd3a8ff2a.jpg +0 -0
- package/kb/references/thumbs/dbdf4b2794.jpg +0 -0
- package/kb/references/thumbs/dd4c19b4b1.jpg +0 -0
- package/kb/references/thumbs/dd98d9f6fa.jpg +0 -0
- package/kb/references/thumbs/ddb00e3b6a.jpg +0 -0
- package/kb/references/thumbs/dde3541a5c.jpg +0 -0
- package/kb/references/thumbs/de2a4da502.jpg +0 -0
- package/kb/references/thumbs/de4c387a66.jpg +0 -0
- package/kb/references/thumbs/de5618fa82.jpg +0 -0
- package/kb/references/thumbs/de6bec2538.jpg +0 -0
- package/kb/references/thumbs/dea13cbb1f.jpg +0 -0
- package/kb/references/thumbs/deff9202aa.jpg +0 -0
- package/kb/references/thumbs/df12835f8d.jpg +0 -0
- package/kb/references/thumbs/df57acbb3d.jpg +0 -0
- package/kb/references/thumbs/df8265009e.jpg +0 -0
- package/kb/references/thumbs/dfc99a1e8e.jpg +0 -0
- package/kb/references/thumbs/dfc9fde460.jpg +0 -0
- package/kb/references/thumbs/e038348eee.jpg +0 -0
- package/kb/references/thumbs/e04c2ae1d5.jpg +0 -0
- package/kb/references/thumbs/e070345c43.jpg +0 -0
- package/kb/references/thumbs/e0a0c84d47.jpg +0 -0
- package/kb/references/thumbs/e0af1e6b9e.jpg +0 -0
- package/kb/references/thumbs/e1025942c4.jpg +0 -0
- package/kb/references/thumbs/e11b6f5b82.jpg +0 -0
- package/kb/references/thumbs/e1553de3fc.jpg +0 -0
- package/kb/references/thumbs/e162ebe7cd.jpg +0 -0
- package/kb/references/thumbs/e1f1e531d8.jpg +0 -0
- package/kb/references/thumbs/e20842e5c9.jpg +0 -0
- package/kb/references/thumbs/e24e7d949b.jpg +0 -0
- package/kb/references/thumbs/e2a3e5d10a.jpg +0 -0
- package/kb/references/thumbs/e2de02615a.jpg +0 -0
- package/kb/references/thumbs/e305dad7dd.jpg +0 -0
- package/kb/references/thumbs/e52e3ef97f.jpg +0 -0
- package/kb/references/thumbs/e570e92d06.jpg +0 -0
- package/kb/references/thumbs/e583932fb9.jpg +0 -0
- package/kb/references/thumbs/e5da3c038f.jpg +0 -0
- package/kb/references/thumbs/e657634af3.jpg +0 -0
- package/kb/references/thumbs/e67946e3e1.jpg +0 -0
- package/kb/references/thumbs/e69e0f3639.jpg +0 -0
- package/kb/references/thumbs/e6ebe66031.jpg +0 -0
- package/kb/references/thumbs/e7db9563c9.jpg +0 -0
- package/kb/references/thumbs/e84a4c3b7b.jpg +0 -0
- package/kb/references/thumbs/e84cf52c27.jpg +0 -0
- package/kb/references/thumbs/e8707cf6e8.jpg +0 -0
- package/kb/references/thumbs/e888890b40.jpg +0 -0
- package/kb/references/thumbs/e8a502b418.jpg +0 -0
- package/kb/references/thumbs/e8ba68371d.jpg +0 -0
- package/kb/references/thumbs/e9098f54cc.jpg +0 -0
- package/kb/references/thumbs/e9144deae9.jpg +0 -0
- package/kb/references/thumbs/e93e98d757.jpg +0 -0
- package/kb/references/thumbs/e9762dd435.jpg +0 -0
- package/kb/references/thumbs/e9db4544c8.jpg +0 -0
- package/kb/references/thumbs/e9ddffeacd.jpg +0 -0
- package/kb/references/thumbs/e9e2cf1d7e.jpg +0 -0
- package/kb/references/thumbs/ea1e23e623.jpg +0 -0
- package/kb/references/thumbs/ea41200f5e.jpg +0 -0
- package/kb/references/thumbs/eaf4916e1a.jpg +0 -0
- package/kb/references/thumbs/eb2c505fc8.jpg +0 -0
- package/kb/references/thumbs/eb47943693.jpg +0 -0
- package/kb/references/thumbs/eb4ffd6625.jpg +0 -0
- package/kb/references/thumbs/eb82ac0a4d.jpg +0 -0
- package/kb/references/thumbs/ebeb345ade.jpg +0 -0
- package/kb/references/thumbs/ec4e2aba0a.jpg +0 -0
- package/kb/references/thumbs/ed683bc9f7.jpg +0 -0
- package/kb/references/thumbs/ed9e236a84.jpg +0 -0
- package/kb/references/thumbs/ee45e1caea.jpg +0 -0
- package/kb/references/thumbs/ee50bbf2e7.jpg +0 -0
- package/kb/references/thumbs/eed6ad3b7b.jpg +0 -0
- package/kb/references/thumbs/eee247fd70.jpg +0 -0
- package/kb/references/thumbs/ef87b6cb99.jpg +0 -0
- package/kb/references/thumbs/ef87dccf04.jpg +0 -0
- package/kb/references/thumbs/ef941bba1e.jpg +0 -0
- package/kb/references/thumbs/effc14fb2c.jpg +0 -0
- package/kb/references/thumbs/f04aa5a191.jpg +0 -0
- package/kb/references/thumbs/f13f12485f.jpg +0 -0
- package/kb/references/thumbs/f16a5c0fd4.jpg +0 -0
- package/kb/references/thumbs/f1ba7a7a8f.jpg +0 -0
- package/kb/references/thumbs/f1bc4c9c19.jpg +0 -0
- package/kb/references/thumbs/f1ee827878.jpg +0 -0
- package/kb/references/thumbs/f21736aeff.jpg +0 -0
- package/kb/references/thumbs/f22bc41213.jpg +0 -0
- package/kb/references/thumbs/f266aaffcc.jpg +0 -0
- package/kb/references/thumbs/f2c0ed0d65.jpg +0 -0
- package/kb/references/thumbs/f32ac710fd.jpg +0 -0
- package/kb/references/thumbs/f32b697ff6.jpg +0 -0
- package/kb/references/thumbs/f39c883904.jpg +0 -0
- package/kb/references/thumbs/f3b9d55e6e.jpg +0 -0
- package/kb/references/thumbs/f3c1763e14.jpg +0 -0
- package/kb/references/thumbs/f40853fd43.jpg +0 -0
- package/kb/references/thumbs/f4fd07dc4d.jpg +0 -0
- package/kb/references/thumbs/f50b756ee5.jpg +0 -0
- package/kb/references/thumbs/f51272e9b3.jpg +0 -0
- package/kb/references/thumbs/f538895eee.jpg +0 -0
- package/kb/references/thumbs/f5d28081b5.jpg +0 -0
- package/kb/references/thumbs/f6046c9501.jpg +0 -0
- package/kb/references/thumbs/f62e4af316.jpg +0 -0
- package/kb/references/thumbs/f6f6bffeb8.jpg +0 -0
- package/kb/references/thumbs/f736e00af6.jpg +0 -0
- package/kb/references/thumbs/f7932da47d.jpg +0 -0
- package/kb/references/thumbs/f879e118ca.jpg +0 -0
- package/kb/references/thumbs/f88257215d.jpg +0 -0
- package/kb/references/thumbs/f88c45a6d7.jpg +0 -0
- package/kb/references/thumbs/f89a7b646e.jpg +0 -0
- package/kb/references/thumbs/f8a1e7a274.jpg +0 -0
- package/kb/references/thumbs/f9183cf2b6.jpg +0 -0
- package/kb/references/thumbs/f995de5ce9.jpg +0 -0
- package/kb/references/thumbs/f9ada2c3e1.jpg +0 -0
- package/kb/references/thumbs/f9d4616f89.jpg +0 -0
- package/kb/references/thumbs/f9f4307bb0.jpg +0 -0
- package/kb/references/thumbs/fa070122c7.jpg +0 -0
- package/kb/references/thumbs/fa29cc1369.jpg +0 -0
- package/kb/references/thumbs/fa791a4dab.jpg +0 -0
- package/kb/references/thumbs/fa8060509e.jpg +0 -0
- package/kb/references/thumbs/fafeed4003.jpg +0 -0
- package/kb/references/thumbs/fb1c024f38.jpg +0 -0
- package/kb/references/thumbs/fb77aa28b3.jpg +0 -0
- package/kb/references/thumbs/fb9f7f1966.jpg +0 -0
- package/kb/references/thumbs/fba8a8c2da.jpg +0 -0
- package/kb/references/thumbs/fce2754c36.jpg +0 -0
- package/kb/references/thumbs/fce2fb83df.jpg +0 -0
- package/kb/references/thumbs/fd4c51bb47.jpg +0 -0
- package/kb/references/thumbs/fd8c269817.jpg +0 -0
- package/kb/references/thumbs/fdb7b250ca.jpg +0 -0
- package/kb/references/thumbs/fe18088de8.jpg +0 -0
- package/kb/references/thumbs/fe4f742ba7.jpg +0 -0
- package/kb/references/thumbs/fe64742ce7.jpg +0 -0
- package/kb/references/thumbs/feb5d62161.jpg +0 -0
- package/kb/references/thumbs/fed21b3e98.jpg +0 -0
- package/kb/references/thumbs/fed2205951.jpg +0 -0
- package/kb/references/thumbs/ffdacf1715.jpg +0 -0
- package/kb/sections/_buttons.md +93 -0
- package/kb/sections/_finish.md +325 -0
- package/kb/sections/about-founder-note.md +85 -0
- package/kb/sections/about-team-roster.md +86 -0
- package/kb/sections/alternating-rows-live-tiles.md +110 -0
- package/kb/sections/annotated-product-shot.md +105 -0
- package/kb/sections/asymmetric-bento-dominant.md +114 -0
- package/kb/sections/before-after-features.md +104 -0
- package/kb/sections/before-after-repair.md +107 -0
- package/kb/sections/bento-lead-tile.md +112 -0
- package/kb/sections/book-a-slot-honest.md +116 -0
- package/kb/sections/capability-prompt-ledger.md +68 -0
- package/kb/sections/case-study-band.md +113 -0
- package/kb/sections/centred-stack-hero.md +107 -0
- package/kb/sections/closing-demo-final-state.md +81 -0
- package/kb/sections/closing-full-bleed-line-and-form.md +86 -0
- package/kb/sections/closing-result-previewed.md +88 -0
- package/kb/sections/closing-three-real-steps.md +87 -0
- package/kb/sections/command-reference-table.md +70 -0
- package/kb/sections/comparison-old-way-bars.md +88 -0
- package/kb/sections/comparison-same-task-two-ways.md +88 -0
- package/kb/sections/day-of-the-place.md +102 -0
- package/kb/sections/docs-reading-rail.md +88 -0
- package/kb/sections/editorial-columns-hero.md +107 -0
- package/kb/sections/editorial-essay-pull-quote.md +112 -0
- package/kb/sections/events-calendar-list.md +107 -0
- package/kb/sections/explorable-control-demo.md +102 -0
- package/kb/sections/faq-open-answers-editorial.md +85 -0
- package/kb/sections/faq-ruled-accordion-aside.md +87 -0
- package/kb/sections/footer-closing-scene.md +84 -0
- package/kb/sections/footer-editorial-sitemap.md +85 -0
- package/kb/sections/footer-minimal-credits.md +80 -0
- package/kb/sections/full-bleed-image-band.md +103 -0
- package/kb/sections/full-bleed-image-hero.md +105 -0
- package/kb/sections/gallery-first-hero.md +109 -0
- package/kb/sections/horizontal-scroll-strip.md +101 -0
- package/kb/sections/how-i-work-own-voice.md +111 -0
- package/kb/sections/how-it-works-in-place.md +109 -0
- package/kb/sections/impact-numbers-sourced.md +109 -0
- package/kb/sections/install-steps-per-agent.md +77 -0
- package/kb/sections/masonry-real-work.md +109 -0
- package/kb/sections/numbered-editorial-columns.md +105 -0
- package/kb/sections/object-first-hero.md +106 -0
- package/kb/sections/object-timeline.md +105 -0
- package/kb/sections/one-huge-number.md +100 -0
- package/kb/sections/one-person-story.md +103 -0
- package/kb/sections/order-ahead-ticket.md +119 -0
- package/kb/sections/press-strip-quoted.md +106 -0
- package/kb/sections/pricing-comparison-table-sticky.md +94 -0
- package/kb/sections/pricing-free-pro-upgrade-moment.md +85 -0
- package/kb/sections/pricing-plan-beside-product.md +88 -0
- package/kb/sections/pricing-plans-ledger.md +94 -0
- package/kb/sections/pricing-usage-calculator.md +93 -0
- package/kb/sections/printed-menu-card.md +110 -0
- package/kb/sections/process-happening.md +102 -0
- package/kb/sections/project-index-ruled.md +106 -0
- package/kb/sections/proof-logo-cloud-with-reasons.md +82 -0
- package/kb/sections/proof-measured-numbers.md +88 -0
- package/kb/sections/proof-output-wall.md +84 -0
- package/kb/sections/proof-single-honest-quote.md +81 -0
- package/kb/sections/resources-searchable-list.md +110 -0
- package/kb/sections/rooms-and-rates.md +107 -0
- package/kb/sections/ruled-facts-table.md +108 -0
- package/kb/sections/ruled-list-pinned-visual.md +107 -0
- package/kb/sections/scroll-scrubbed-product-demo.md +103 -0
- package/kb/sections/self-playing-run-demo.md +104 -0
- package/kb/sections/services-price-ledger.md +106 -0
- package/kb/sections/signup-form-with-next-steps.md +86 -0
- package/kb/sections/signup-waitlist-place-in-line.md +90 -0
- package/kb/sections/spec-sheet-features.md +108 -0
- package/kb/sections/split-hero-live-object.md +108 -0
- package/kb/sections/sticky-feature-narrative.md +104 -0
- package/kb/sections/todays-board-hero.md +112 -0
- package/kb/sections/touchable-tool-hero.md +111 -0
- package/kb/sections/typographic-statement-hero.md +99 -0
- package/kb/sections/visit-hours-map.md +110 -0
- package/kb/sections/ways-to-help-honest.md +115 -0
- package/kb/sources/design-reference.md +991 -0
- package/kb/sources/product-and-docs.md +37 -0
- package/kb/systems/1win/DESIGN.md +463 -0
- package/kb/systems/LICENSE-awesome-design-md +21 -0
- package/kb/systems/README.md +7 -0
- package/kb/systems/airbnb/DESIGN.md +545 -0
- package/kb/systems/airtable/DESIGN.md +554 -0
- package/kb/systems/aljazeera/DESIGN.md +594 -0
- package/kb/systems/apple/DESIGN.md +562 -0
- package/kb/systems/binance/DESIGN.md +634 -0
- package/kb/systems/bmw/DESIGN.md +544 -0
- package/kb/systems/bmw-m/DESIGN.md +503 -0
- package/kb/systems/bugatti/DESIGN.md +454 -0
- package/kb/systems/cal/DESIGN.md +542 -0
- package/kb/systems/categories.json +87 -0
- package/kb/systems/claude/DESIGN.md +589 -0
- package/kb/systems/clay/DESIGN.md +541 -0
- package/kb/systems/clickhouse/DESIGN.md +544 -0
- package/kb/systems/cohere/DESIGN.md +451 -0
- package/kb/systems/coinbase/DESIGN.md +570 -0
- package/kb/systems/composio/DESIGN.md +506 -0
- package/kb/systems/cursor/DESIGN.md +537 -0
- package/kb/systems/dell-1996/DESIGN.md +632 -0
- package/kb/systems/dji/DESIGN.md +882 -0
- package/kb/systems/elevenlabs/DESIGN.md +504 -0
- package/kb/systems/expo/DESIGN.md +526 -0
- package/kb/systems/ferrari/DESIGN.md +531 -0
- package/kb/systems/figma/DESIGN.md +578 -0
- package/kb/systems/framer/DESIGN.md +544 -0
- package/kb/systems/hashicorp/DESIGN.md +575 -0
- package/kb/systems/hp/DESIGN.md +670 -0
- package/kb/systems/ibm/DESIGN.md +550 -0
- package/kb/systems/intercom/DESIGN.md +546 -0
- package/kb/systems/jobright/DESIGN.md +525 -0
- package/kb/systems/kraken/DESIGN.md +125 -0
- package/kb/systems/lamborghini/DESIGN.md +288 -0
- package/kb/systems/linear.app/DESIGN.md +548 -0
- package/kb/systems/lovable/DESIGN.md +298 -0
- package/kb/systems/mastercard/DESIGN.md +365 -0
- package/kb/systems/mercury/DESIGN.md +568 -0
- package/kb/systems/meta/DESIGN.md +683 -0
- package/kb/systems/minimax/DESIGN.md +746 -0
- package/kb/systems/mintlify/DESIGN.md +852 -0
- package/kb/systems/miro/DESIGN.md +825 -0
- package/kb/systems/mistral.ai/DESIGN.md +773 -0
- package/kb/systems/mongodb/DESIGN.md +767 -0
- package/kb/systems/mydealz/DESIGN.md +551 -0
- package/kb/systems/nerdwallet/DESIGN.md +722 -0
- package/kb/systems/nike/DESIGN.md +575 -0
- package/kb/systems/nintendo-2001/DESIGN.md +649 -0
- package/kb/systems/notion/DESIGN.md +821 -0
- package/kb/systems/nvidia/DESIGN.md +640 -0
- package/kb/systems/ollama/DESIGN.md +539 -0
- package/kb/systems/opencode.ai/DESIGN.md +521 -0
- package/kb/systems/oracle/DESIGN.md +778 -0
- package/kb/systems/oura/DESIGN.md +616 -0
- package/kb/systems/pinterest/DESIGN.md +597 -0
- package/kb/systems/playstation/DESIGN.md +661 -0
- package/kb/systems/posthog/DESIGN.md +690 -0
- package/kb/systems/raycast/DESIGN.md +669 -0
- package/kb/systems/renault/DESIGN.md +589 -0
- package/kb/systems/replicate/DESIGN.md +616 -0
- package/kb/systems/resend/DESIGN.md +585 -0
- package/kb/systems/revolut/DESIGN.md +636 -0
- package/kb/systems/runwayml/DESIGN.md +244 -0
- package/kb/systems/sanity/DESIGN.md +357 -0
- package/kb/systems/sap/DESIGN.md +639 -0
- package/kb/systems/sentry/DESIGN.md +551 -0
- package/kb/systems/shopify/DESIGN.md +516 -0
- package/kb/systems/slack/DESIGN.md +482 -0
- package/kb/systems/spacex/DESIGN.md +363 -0
- package/kb/systems/spotify/DESIGN.md +246 -0
- package/kb/systems/starbucks/DESIGN.md +580 -0
- package/kb/systems/stripe/DESIGN.md +487 -0
- package/kb/systems/supabase/DESIGN.md +462 -0
- package/kb/systems/superhuman/DESIGN.md +448 -0
- package/kb/systems/tesla/DESIGN.md +286 -0
- package/kb/systems/theverge/DESIGN.md +339 -0
- package/kb/systems/together.ai/DESIGN.md +633 -0
- package/kb/systems/uber/DESIGN.md +636 -0
- package/kb/systems/vercel/DESIGN.md +736 -0
- package/kb/systems/vodafone/DESIGN.md +538 -0
- package/kb/systems/voltagent/DESIGN.md +521 -0
- package/kb/systems/warp/DESIGN.md +526 -0
- package/kb/systems/webflow/DESIGN.md +588 -0
- package/kb/systems/wired/DESIGN.md +497 -0
- package/kb/systems/wise/DESIGN.md +544 -0
- package/kb/systems/x.ai/DESIGN.md +465 -0
- package/kb/systems/zapier/DESIGN.md +537 -0
- package/kb/taste/garvit-by-job.md +46 -0
- package/kb/taste/garvit-portfolio.md +94 -0
- package/kb/universal/color-roles.md +26 -0
- package/kb/universal/copy.md +16 -0
- package/kb/universal/details.md +31 -0
- package/kb/universal/first-screen.md +30 -0
- package/kb/universal/fit-the-codebase.md +29 -0
- package/kb/universal/layout-width.md +28 -0
- package/kb/universal/motion-feedback.md +23 -0
- package/kb/universal/signature.md +29 -0
- package/kb/universal/states.md +17 -0
- package/kb/universal/type-app.md +33 -0
- package/kb/universal/type-marketing.md +28 -0
- package/package.json +37 -4
- package/scripts/pack-assets.mjs +58 -0
- package/skill/palate/SKILL.md +261 -0
- package/src/auth-recheck.mjs +4 -0
- package/src/auth.mjs +416 -0
- package/src/capture.mjs +182 -0
- package/src/catalog/classify.mjs +96 -0
- package/src/catalog/curated.mjs +128 -0
- package/src/catalog/index-build.mjs +67 -0
- package/src/catalog/literal.mjs +146 -0
- package/src/catalog/store.mjs +40 -0
- package/src/catalog/vibrant.mjs +126 -0
- package/src/check.mjs +93 -0
- package/src/concept.mjs +157 -0
- package/src/context.mjs +226 -0
- package/src/copy.mjs +188 -0
- package/src/devserver.mjs +135 -0
- package/src/fontgenre.mjs +44 -0
- package/src/guard-agents.mjs +213 -0
- package/src/guard.mjs +377 -0
- package/src/kb.mjs +91 -0
- package/src/look.mjs +312 -0
- package/src/loop/ambition.mjs +620 -0
- package/src/loop/animate.mjs +70 -0
- package/src/loop/artdirection.mjs +264 -0
- package/src/loop/bench.mjs +184 -0
- package/src/loop/benchpick.mjs +155 -0
- package/src/loop/blueprint.mjs +620 -0
- package/src/loop/board.html +180 -0
- package/src/loop/build.mjs +393 -0
- package/src/loop/buttons.mjs +413 -0
- package/src/loop/common.mjs +206 -0
- package/src/loop/cost.mjs +63 -0
- package/src/loop/craft.mjs +152 -0
- package/src/loop/craftchecks.mjs +148 -0
- package/src/loop/critique.mjs +393 -0
- package/src/loop/details.mjs +225 -0
- package/src/loop/direction.html +168 -0
- package/src/loop/direction.mjs +256 -0
- package/src/loop/directions.json +8 -0
- package/src/loop/explore.mjs +219 -0
- package/src/loop/fail.mjs +110 -0
- package/src/loop/fix.mjs +194 -0
- package/src/loop/floor.mjs +677 -0
- package/src/loop/forget.mjs +52 -0
- package/src/loop/gate.mjs +1053 -0
- package/src/loop/grid.html +123 -0
- package/src/loop/growth.mjs +118 -0
- package/src/loop/icons.mjs +109 -0
- package/src/loop/imagery.mjs +1280 -0
- package/src/loop/judge-api.mjs +245 -0
- package/src/loop/judge.mjs +167 -0
- package/src/loop/layouts.mjs +492 -0
- package/src/loop/library.mjs +82 -0
- package/src/loop/lookplan.mjs +182 -0
- package/src/loop/lookvec.mjs +645 -0
- package/src/loop/match.mjs +923 -0
- package/src/loop/matched.mjs +26 -0
- package/src/loop/myrefs.mjs +151 -0
- package/src/loop/pick.mjs +213 -0
- package/src/loop/picker.html +118 -0
- package/src/loop/plan.mjs +289 -0
- package/src/loop/polish.mjs +39 -0
- package/src/loop/research-learn.mjs +41 -0
- package/src/loop/research.mjs +1130 -0
- package/src/loop/rulereview.mjs +146 -0
- package/src/loop/rules-board.html +199 -0
- package/src/loop/rules.mjs +939 -0
- package/src/loop/similar.mjs +276 -0
- package/src/loop/states-source.mjs +258 -0
- package/src/loop/states.mjs +1547 -0
- package/src/loop/stats.mjs +78 -0
- package/src/loop/taste.mjs +81 -0
- package/src/loop/timeline.mjs +149 -0
- package/src/loop/variants.mjs +228 -0
- package/src/loop/vary.mjs +249 -0
- package/src/mcp/server.mjs +1246 -0
- package/src/motion.mjs +207 -0
- package/src/moves.mjs +242 -0
- package/src/novelty.mjs +116 -0
- package/src/page-ambition.js +181 -0
- package/src/page-craft.js +724 -0
- package/src/page-details.js +415 -0
- package/src/page-devices.js +365 -0
- package/src/page-fingerprint.js +281 -0
- package/src/page-gate.js +1307 -0
- package/src/page-look.js +698 -0
- package/src/page-metrics.js +78 -0
- package/src/page-principles.js +1167 -0
- package/src/page-rules.js +308 -0
- package/src/page-sections.js +211 -0
- package/src/page-states.js +703 -0
- package/src/paths.mjs +13 -0
- package/src/png.mjs +107 -0
- package/src/point/auto.mjs +224 -0
- package/src/point/locate.mjs +114 -0
- package/src/point/overlay.js +1516 -0
- package/src/point/server.mjs +1122 -0
- package/src/point/trail.mjs +219 -0
- package/src/pool.mjs +80 -0
- package/src/principles.mjs +279 -0
- package/src/refs.mjs +299 -0
- package/src/robots.mjs +145 -0
- package/src/sections.mjs +210 -0
- package/src/shoot.mjs +235 -0
- package/src/systems/apply.mjs +355 -0
- package/src/systems/load.mjs +251 -0
- package/src/systems/pick.mjs +213 -0
- package/templates/vite-react-tw/index.html +12 -0
- package/templates/vite-react-tw/package.json +25 -0
- package/templates/vite-react-tw/src/App.tsx +3 -0
- package/templates/vite-react-tw/src/index.css +1 -0
- package/templates/vite-react-tw/src/main.tsx +10 -0
- package/templates/vite-react-tw/tsconfig.app.json +26 -0
- package/templates/vite-react-tw/tsconfig.json +7 -0
- package/templates/vite-react-tw/tsconfig.node.json +23 -0
- package/templates/vite-react-tw/vite.config.ts +8 -0
|
@@ -0,0 +1,724 @@
|
|
|
1
|
+
// Runs inside the page (read as text and evaluated) with { sections, genres }. Measures the craft edge cases
|
|
2
|
+
// that slip past layout checks (palate-site's design retrospective, Nov 2026): photos whose crop cuts the
|
|
3
|
+
// subject (a portrait source in a landscape slot, detail running off a cropped or full-bleed edge, a subject far
|
|
4
|
+
// from a default centred crop), display and script text whose ink is cut by a clip (clip-path on a reveal,
|
|
5
|
+
// overflow, a mask, gradient text), headings and labels that break at a hyphen or inside a word, short labels
|
|
6
|
+
// wrapping onto two lines, and a numbered kicker over a list numbered from 1. Async (images are read through a
|
|
7
|
+
// canvas). Boxes are in page coordinates; sections are page-sections.js's.
|
|
8
|
+
async ({ sections = [], genres = {} } = {}) => {
|
|
9
|
+
const docW = document.documentElement.clientWidth;
|
|
10
|
+
const vh = innerHeight;
|
|
11
|
+
const clean = (s) => String(s ?? "").replace(/\s+/g, " ").trim();
|
|
12
|
+
const short = (s, n = 60) => {
|
|
13
|
+
const t = clean(s);
|
|
14
|
+
return t.length > n ? t.slice(0, n - 1) + "…" : t;
|
|
15
|
+
};
|
|
16
|
+
const sectionAt = (yPage) => {
|
|
17
|
+
const s = sections.find((x) => yPage >= x.box.y && yPage < x.box.y + x.box.height);
|
|
18
|
+
return s ? { index: s.index, heading: s.heading ?? s.name ?? null } : null;
|
|
19
|
+
};
|
|
20
|
+
const secOf = (r) => sectionAt(r.top + scrollY + r.height / 2);
|
|
21
|
+
const pbox = (r) => ({ x: Math.round(r.left + scrollX), y: Math.round(r.top + scrollY), w: Math.round(r.width), h: Math.round(r.height) });
|
|
22
|
+
const visible = (el) => {
|
|
23
|
+
if (!el?.isConnected) return false;
|
|
24
|
+
if (el.checkVisibility) return el.checkVisibility({ opacityProperty: true, visibilityProperty: true });
|
|
25
|
+
const cs = getComputedStyle(el);
|
|
26
|
+
return cs.display !== "none" && cs.visibility !== "hidden" && parseFloat(cs.opacity) > 0;
|
|
27
|
+
};
|
|
28
|
+
const px = (v) => parseFloat(v) || 0;
|
|
29
|
+
const paddingBox = (el, r = el.getBoundingClientRect()) => {
|
|
30
|
+
const cs = getComputedStyle(el);
|
|
31
|
+
return { left: r.left + px(cs.borderLeftWidth), top: r.top + px(cs.borderTopWidth), right: r.right - px(cs.borderRightWidth), bottom: r.bottom - px(cs.borderBottomWidth) };
|
|
32
|
+
};
|
|
33
|
+
const contentBox = (el, r = el.getBoundingClientRect()) => {
|
|
34
|
+
const cs = getComputedStyle(el);
|
|
35
|
+
const p = paddingBox(el, r);
|
|
36
|
+
return { left: p.left + px(cs.paddingLeft), top: p.top + px(cs.paddingTop), right: p.right - px(cs.paddingRight), bottom: p.bottom - px(cs.paddingBottom) };
|
|
37
|
+
};
|
|
38
|
+
const intersect = (a, b) => ({ left: Math.max(a.left, b.left), top: Math.max(a.top, b.top), right: Math.min(a.right, b.right), bottom: Math.min(a.bottom, b.bottom) });
|
|
39
|
+
const area = (b) => Math.max(0, b.right - b.left) * Math.max(0, b.bottom - b.top);
|
|
40
|
+
|
|
41
|
+
// ---- font genre (fontgenre.mjs's lists, passed in): the first family with a known genre wins.
|
|
42
|
+
const GENRE = new Map();
|
|
43
|
+
for (const [g, names] of Object.entries(genres)) for (const n of names) if (!GENRE.has(n)) GENRE.set(n, g);
|
|
44
|
+
const familyGenre = (f) => {
|
|
45
|
+
if (GENRE.has(f)) return GENRE.get(f);
|
|
46
|
+
if (/\bmono|code\b/.test(f)) return "mono";
|
|
47
|
+
if (/script|hand|brush|marker/.test(f)) return "script";
|
|
48
|
+
if (/display|poster|fatface/.test(f)) return "display";
|
|
49
|
+
if (f === "cursive") return "script";
|
|
50
|
+
if (f === "fantasy") return "display";
|
|
51
|
+
return null;
|
|
52
|
+
};
|
|
53
|
+
const genreMemo = new Map();
|
|
54
|
+
const genreOf = (stack) => {
|
|
55
|
+
if (genreMemo.has(stack)) return genreMemo.get(stack);
|
|
56
|
+
let g = "other";
|
|
57
|
+
for (const p of stack.split(",").map((x) => x.replace(/["']/g, "").trim().toLowerCase()).filter(Boolean)) {
|
|
58
|
+
const k = familyGenre(p);
|
|
59
|
+
if (k) {
|
|
60
|
+
g = k;
|
|
61
|
+
break;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
genreMemo.set(stack, g);
|
|
65
|
+
return g;
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
// ---- text helpers
|
|
69
|
+
const charRects = (node, i) => {
|
|
70
|
+
const rg = document.createRange();
|
|
71
|
+
rg.setStart(node, i);
|
|
72
|
+
rg.setEnd(node, i + 1);
|
|
73
|
+
return [...rg.getClientRects()].filter((q) => q.width > 0 || q.height > 0);
|
|
74
|
+
};
|
|
75
|
+
const nodeRects = (node) => {
|
|
76
|
+
const rg = document.createRange();
|
|
77
|
+
rg.selectNodeContents(node);
|
|
78
|
+
return [...rg.getClientRects()].filter((q) => q.width > 0.5 && q.height > 0.5);
|
|
79
|
+
};
|
|
80
|
+
// Distinct lines of a set of rects (one per line fragment).
|
|
81
|
+
const lineCount = (rects, fs) => {
|
|
82
|
+
const tops = rects.map((q) => q.top + q.height / 2).sort((a, b) => a - b);
|
|
83
|
+
let n = 0, last = -Infinity;
|
|
84
|
+
for (const t of tops) if (t > last + 0.5 * fs) (n++, (last = t));
|
|
85
|
+
return n;
|
|
86
|
+
};
|
|
87
|
+
const textNodes = (root, max = 4000) => {
|
|
88
|
+
const out = [];
|
|
89
|
+
const tw = document.createTreeWalker(root, NodeFilter.SHOW_TEXT, { acceptNode: (n) => (/\S/.test(n.data) && !n.parentElement?.closest("script, style, noscript, template, svg") ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_REJECT) });
|
|
90
|
+
for (let n = tw.nextNode(); n && out.length < max; n = tw.nextNode()) out.push(n);
|
|
91
|
+
return out;
|
|
92
|
+
};
|
|
93
|
+
const allText = textNodes(document.body);
|
|
94
|
+
|
|
95
|
+
// ================= PHOTO_CROP =================
|
|
96
|
+
const ICONISH = /logo|icon|favicon|sprite|emoji|badge|wordmark|avatar|flag|qr[-_]?code/i;
|
|
97
|
+
const PHOTO_EXT = /\.(jpe?g|webp|avif)(\?|#|&|$)|[?&](fm|format)=(jpe?g|webp|avif)/i;
|
|
98
|
+
// A photo format: the file's own extension (an optimiser's ?url=…png served as WebP is still a PNG), a format
|
|
99
|
+
// parameter (?fm=jpg), or a JPEG/WebP/AVIF data URL.
|
|
100
|
+
const jpegish = (src, name) => PHOTO_EXT.test(name) || (!/\.(png|gif|svg)$/i.test(name) && PHOTO_EXT.test(src)) || /^data:image\/(jpe?g|webp|avif)/i.test(src);
|
|
101
|
+
const urlOf = (bg) => (bg.match(/url\(\s*(['"]?)(.*?)\1\s*\)/) ?? [])[2] ?? null;
|
|
102
|
+
const fileOf = (u) => {
|
|
103
|
+
if (!u) return "";
|
|
104
|
+
if (u.startsWith("data:")) return u.slice(0, 24) + "…";
|
|
105
|
+
try {
|
|
106
|
+
const x = new URL(u, location.href);
|
|
107
|
+
const inner = x.searchParams.get("url");
|
|
108
|
+
const p = inner ? new URL(inner, location.href).pathname : x.pathname;
|
|
109
|
+
return decodeURIComponent(p.split("/").filter(Boolean).pop() ?? x.hostname);
|
|
110
|
+
} catch {
|
|
111
|
+
return u.slice(-40);
|
|
112
|
+
}
|
|
113
|
+
};
|
|
114
|
+
const loadImage = (u) =>
|
|
115
|
+
new Promise((res) => {
|
|
116
|
+
const im = new Image();
|
|
117
|
+
const t = setTimeout(() => res(null), 3000);
|
|
118
|
+
im.onload = () => (clearTimeout(t), res(im));
|
|
119
|
+
im.onerror = () => (clearTimeout(t), res(null));
|
|
120
|
+
im.src = u;
|
|
121
|
+
});
|
|
122
|
+
// One axis of object-position / background-position: a length or a percentage of the free space.
|
|
123
|
+
const posAxis = (tok, free) => {
|
|
124
|
+
tok = String(tok ?? "50%").trim();
|
|
125
|
+
const kw = { left: "0%", top: "0%", center: "50%", right: "100%", bottom: "100%" }[tok];
|
|
126
|
+
if (kw) tok = kw;
|
|
127
|
+
if (/%$/.test(tok)) return { off: (parseFloat(tok) / 100) * free, pct: parseFloat(tok) };
|
|
128
|
+
if (/calc\(/.test(tok)) return { off: free / 2, pct: null };
|
|
129
|
+
return { off: px(tok), pct: null };
|
|
130
|
+
};
|
|
131
|
+
const posPair = (v) => {
|
|
132
|
+
const t = clean(v).split(" ");
|
|
133
|
+
if (t.length === 1) return /^(top|bottom)$/.test(t[0]) ? ["50%", t[0]] : [t[0], "50%"];
|
|
134
|
+
// "right 20% bottom 10px" four-value syntax: not modelled, treated as its keywords.
|
|
135
|
+
if (t.length >= 3) return [t[0], t[2]];
|
|
136
|
+
if (/^(top|bottom)$/.test(t[0]) || /^(left|right)$/.test(t[1])) return [t[1], t[0]];
|
|
137
|
+
return [t[0], t[1]];
|
|
138
|
+
};
|
|
139
|
+
// The ancestors that cut the photo (overflow), stopping at the root.
|
|
140
|
+
const clipChain = (el) => {
|
|
141
|
+
let box = { left: 0, top: -1e9, right: docW, bottom: 1e9 };
|
|
142
|
+
for (let a = el.parentElement; a && a !== document.documentElement; a = a.parentElement) {
|
|
143
|
+
const cs = getComputedStyle(a);
|
|
144
|
+
const ox = cs.overflowX !== "visible", oy = cs.overflowY !== "visible";
|
|
145
|
+
if (!ox && !oy) continue;
|
|
146
|
+
const p = paddingBox(a);
|
|
147
|
+
box = intersect(box, { left: ox ? p.left : -1e9, right: ox ? p.right : 1e9, top: oy ? p.top : -1e9, bottom: oy ? p.bottom : 1e9 });
|
|
148
|
+
}
|
|
149
|
+
return box;
|
|
150
|
+
};
|
|
151
|
+
|
|
152
|
+
// Pixels of the whole source, longer side 96px, or null when the canvas is tainted (cross-origin).
|
|
153
|
+
const readPixels = (src, nw, nh) => {
|
|
154
|
+
const k = 96 / Math.max(nw, nh);
|
|
155
|
+
const w = Math.max(8, Math.round(nw * k)), h = Math.max(8, Math.round(nh * k));
|
|
156
|
+
const c = document.createElement("canvas");
|
|
157
|
+
c.width = w;
|
|
158
|
+
c.height = h;
|
|
159
|
+
const x = c.getContext("2d", { willReadFrequently: true });
|
|
160
|
+
try {
|
|
161
|
+
x.drawImage(src, 0, 0, w, h);
|
|
162
|
+
return { w, h, data: x.getImageData(0, 0, w, h).data };
|
|
163
|
+
} catch {
|
|
164
|
+
return null;
|
|
165
|
+
}
|
|
166
|
+
};
|
|
167
|
+
// Photographic? Opaque (a cut-out product shot is not a photo) and not a few flat colours. A JPEG/WebP/AVIF
|
|
168
|
+
// source may be mostly one seamless ground (a museum object on grey: 54 colours, top eight 78%); a PNG or GIF
|
|
169
|
+
// must look like a photo (a screenshot or a flat illustration is a few colours over most of it).
|
|
170
|
+
const photographic = ({ w, h, data }, jpegish) => {
|
|
171
|
+
const bins = new Map();
|
|
172
|
+
let clear = 0;
|
|
173
|
+
for (let i = 0; i < data.length; i += 4) {
|
|
174
|
+
if (data[i + 3] < 200) {
|
|
175
|
+
clear++;
|
|
176
|
+
continue;
|
|
177
|
+
}
|
|
178
|
+
const k = ((data[i] >> 4) << 8) | ((data[i + 1] >> 4) << 4) | (data[i + 2] >> 4);
|
|
179
|
+
bins.set(k, (bins.get(k) ?? 0) + 1);
|
|
180
|
+
}
|
|
181
|
+
const n = w * h - clear;
|
|
182
|
+
const top8 = [...bins.values()].sort((a, b) => b - a).slice(0, 8).reduce((a, b) => a + b, 0) / Math.max(1, n);
|
|
183
|
+
const photo = clear / (w * h) < 0.1 && (jpegish ? bins.size >= 32 && top8 <= 0.85 : bins.size >= 48 && top8 < 0.6);
|
|
184
|
+
return { photo, colours: bins.size, top8: +top8.toFixed(2), clear: +(clear / (w * h)).toFixed(2) };
|
|
185
|
+
};
|
|
186
|
+
// Detail energy: Sobel magnitude of luminance, blurred, minus its median (so a flat sky or wall is 0).
|
|
187
|
+
const energyMap = ({ w, h, data }) => {
|
|
188
|
+
const g = new Float32Array(w * h);
|
|
189
|
+
for (let i = 0; i < w * h; i++) g[i] = 0.299 * data[i * 4] + 0.587 * data[i * 4 + 1] + 0.114 * data[i * 4 + 2];
|
|
190
|
+
const at = (x, y) => g[Math.min(h - 1, Math.max(0, y)) * w + Math.min(w - 1, Math.max(0, x))];
|
|
191
|
+
let e = new Float32Array(w * h);
|
|
192
|
+
for (let y = 0; y < h; y++)
|
|
193
|
+
for (let x = 0; x < w; x++) {
|
|
194
|
+
const gx = at(x + 1, y - 1) + 2 * at(x + 1, y) + at(x + 1, y + 1) - at(x - 1, y - 1) - 2 * at(x - 1, y) - at(x - 1, y + 1);
|
|
195
|
+
const gy = at(x - 1, y + 1) + 2 * at(x, y + 1) + at(x + 1, y + 1) - at(x - 1, y - 1) - 2 * at(x, y - 1) - at(x + 1, y - 1);
|
|
196
|
+
e[y * w + x] = Math.hypot(gx, gy);
|
|
197
|
+
}
|
|
198
|
+
for (let pass = 0; pass < 2; pass++) {
|
|
199
|
+
const b = new Float32Array(w * h);
|
|
200
|
+
for (let y = 0; y < h; y++)
|
|
201
|
+
for (let x = 0; x < w; x++) {
|
|
202
|
+
let s = 0, c = 0;
|
|
203
|
+
for (let dy = -1; dy <= 1; dy++)
|
|
204
|
+
for (let dx = -1; dx <= 1; dx++) {
|
|
205
|
+
const xx = x + dx, yy = y + dy;
|
|
206
|
+
if (xx < 0 || yy < 0 || xx >= w || yy >= h) continue;
|
|
207
|
+
s += e[yy * w + xx];
|
|
208
|
+
c++;
|
|
209
|
+
}
|
|
210
|
+
b[y * w + x] = s / c;
|
|
211
|
+
}
|
|
212
|
+
e = b;
|
|
213
|
+
}
|
|
214
|
+
const med = [...e].sort((a, b) => a - b)[Math.floor(e.length / 2)];
|
|
215
|
+
for (let i = 0; i < e.length; i++) e[i] = Math.max(0, e[i] - med);
|
|
216
|
+
return e;
|
|
217
|
+
};
|
|
218
|
+
// What the energy says about one crop. win: the visible part of the source, normalised [0,1]. bleed: sides of
|
|
219
|
+
// the shown photo that run to the viewport edge.
|
|
220
|
+
const subjectOf = (pix, win, bleed) => {
|
|
221
|
+
const { w, h } = pix;
|
|
222
|
+
const e = energyMap(pix);
|
|
223
|
+
let total = 0, cx = 0, cy = 0;
|
|
224
|
+
for (let y = 0; y < h; y++) for (let x = 0; x < w; x++) (total += e[y * w + x]), (cx += e[y * w + x] * (x + 0.5)), (cy += e[y * w + x] * (y + 0.5));
|
|
225
|
+
if (total < 1e-3 * w * h) return { clear: false, why: "no detail to speak of" };
|
|
226
|
+
cx /= total * w;
|
|
227
|
+
cy /= total * h;
|
|
228
|
+
// Concentration: the share of the energy in the busiest quarter of an 8×8 grid (an even texture or an
|
|
229
|
+
// all-over painting is ~0.25–0.35; a subject against a quieter ground is well above).
|
|
230
|
+
const G = 8, cells = new Float32Array(G * G);
|
|
231
|
+
for (let y = 0; y < h; y++) for (let x = 0; x < w; x++) cells[Math.min(G - 1, Math.floor((y / h) * G)) * G + Math.min(G - 1, Math.floor((x / w) * G))] += e[y * w + x];
|
|
232
|
+
const conc = [...cells].sort((a, b) => b - a).slice(0, 16).reduce((a, b) => a + b, 0) / total;
|
|
233
|
+
const X0 = Math.max(0, Math.round(win.x0 * w)), X1 = Math.min(w, Math.round(win.x1 * w)), Y0 = Math.max(0, Math.round(win.y0 * h)), Y1 = Math.min(h, Math.round(win.y1 * h));
|
|
234
|
+
let inside = 0;
|
|
235
|
+
for (let y = Y0; y < Y1; y++) for (let x = X0; x < X1; x++) inside += e[y * w + x];
|
|
236
|
+
const meanVis = inside / Math.max(1, (X1 - X0) * (Y1 - Y0));
|
|
237
|
+
const kept = inside / total;
|
|
238
|
+
const out = { clear: conc >= 0.4, concentration: +conc.toFixed(2), centroid: [+cx.toFixed(2), +cy.toFixed(2)], kept: +kept.toFixed(2), edges: [] };
|
|
239
|
+
if (!out.clear) out.why = "detail spread evenly (a texture, a pattern or an all-over painting): no clear subject";
|
|
240
|
+
if (!(meanVis > 0)) return out;
|
|
241
|
+
// Edge profile: along the boundary of the window on one side, the mean energy just inside and just outside
|
|
242
|
+
// (when the crop cut something off there), relative to the window's mean.
|
|
243
|
+
const edge = (side, cut) => {
|
|
244
|
+
const horiz = side === "left" || side === "right";
|
|
245
|
+
const along0 = horiz ? Y0 : X0, along1 = horiz ? Y1 : X1;
|
|
246
|
+
const span = horiz ? w : h;
|
|
247
|
+
const d = Math.max(2, Math.round(0.06 * span));
|
|
248
|
+
const b = { left: X0, right: X1, top: Y0, bottom: Y1 }[side];
|
|
249
|
+
const dirIn = side === "left" || side === "top" ? 1 : -1;
|
|
250
|
+
const mean = (t, from, to) => {
|
|
251
|
+
let s = 0, c = 0;
|
|
252
|
+
for (let k = Math.max(0, Math.min(from, to)); k < Math.min(span, Math.max(from, to)); k++) (s += horiz ? e[t * w + k] : e[k * w + t]), c++;
|
|
253
|
+
return c ? s / c : 0;
|
|
254
|
+
};
|
|
255
|
+
let run = 0, best = 0, sum = 0, bestSum = 0, gap = 0;
|
|
256
|
+
for (let t = along0; t < along1; t++) {
|
|
257
|
+
const pin = mean(t, b, b + dirIn * d) / meanVis;
|
|
258
|
+
const v = cut ? Math.min(pin, mean(t, b, b - dirIn * d) / meanVis) : pin;
|
|
259
|
+
const hot = v > (cut ? 1.5 : 1.8);
|
|
260
|
+
if (hot) (run += 1 + gap), (sum += v), (gap = 0);
|
|
261
|
+
else if (run && gap < 1) gap++;
|
|
262
|
+
else (run = 0), (sum = 0), (gap = 0);
|
|
263
|
+
if (run > best) (best = run), (bestSum = sum);
|
|
264
|
+
}
|
|
265
|
+
const len = Math.max(1, along1 - along0);
|
|
266
|
+
return { side, kind: cut ? "cut" : "bleed", run: +(best / len).toFixed(2), score: +(best ? bestSum / best : 0).toFixed(2) };
|
|
267
|
+
};
|
|
268
|
+
const cutSides = { left: win.x0 > 0.02, right: win.x1 < 0.98, top: win.y0 > 0.02, bottom: win.y1 < 0.98 };
|
|
269
|
+
for (const side of ["left", "right", "top", "bottom"]) {
|
|
270
|
+
if (cutSides[side]) {
|
|
271
|
+
const r = edge(side, true);
|
|
272
|
+
if (r.run >= 0.15 && r.score >= 1.5) out.edges.push({ ...r, bleed: bleed.includes(side) });
|
|
273
|
+
} else if (bleed.includes(side)) {
|
|
274
|
+
const r = edge(side, false);
|
|
275
|
+
if (r.run >= 0.25 && r.score >= 1.8) out.edges.push({ ...r, bleed: true });
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
// A better position along the cropped axis: the window centred on the energy, if it keeps clearly more.
|
|
279
|
+
const keptAlong = (horiz, a0, s) => {
|
|
280
|
+
let k = 0;
|
|
281
|
+
const A0 = Math.round(a0 * (horiz ? w : h)), A1 = Math.round((a0 + s) * (horiz ? w : h));
|
|
282
|
+
for (let y = 0; y < h; y++) for (let x = 0; x < w; x++) if ((horiz ? x : y) >= A0 && (horiz ? x : y) < A1) k += e[y * w + x];
|
|
283
|
+
return k / total;
|
|
284
|
+
};
|
|
285
|
+
for (const horiz of [true, false]) {
|
|
286
|
+
const s = horiz ? win.x1 - win.x0 : win.y1 - win.y0;
|
|
287
|
+
if (s > 0.85) continue;
|
|
288
|
+
const c = horiz ? cx : cy;
|
|
289
|
+
const p = Math.max(0, Math.min(1, (c - s / 2) / (1 - s)));
|
|
290
|
+
const now = keptAlong(horiz, horiz ? win.x0 : win.y0, s), then = keptAlong(horiz, p * (1 - s), s);
|
|
291
|
+
if (then - now >= 0.1) out.better = { axis: horiz ? "x" : "y", pct: Math.round(p * 100), keptNow: +now.toFixed(2), keptThen: +then.toFixed(2) };
|
|
292
|
+
}
|
|
293
|
+
return out;
|
|
294
|
+
};
|
|
295
|
+
|
|
296
|
+
// How much of a shown photo sits behind other content (cards, copy, a form): sampled with elementFromPoint on
|
|
297
|
+
// a 7×7 grid, scrolling the photo into view. Overlays with pointer-events: none and bare wrappers don't count.
|
|
298
|
+
const startY = scrollY;
|
|
299
|
+
const opaque = (el) => {
|
|
300
|
+
const cs = getComputedStyle(el);
|
|
301
|
+
const bg = cs.backgroundColor;
|
|
302
|
+
return !(bg === "transparent" || /rgba\([^)]*,\s*0\)$/.test(bg) || /\/\s*0\)$/.test(bg)) || cs.backgroundImage !== "none" || px(cs.borderTopWidth) > 0;
|
|
303
|
+
};
|
|
304
|
+
const ownText = (el) => [...el.childNodes].some((n) => n.nodeType === 3 && /\S/.test(n.data));
|
|
305
|
+
const coveredShare = (el, vis) => {
|
|
306
|
+
const pageTop = vis.top + scrollY;
|
|
307
|
+
const h = vis.bottom - vis.top;
|
|
308
|
+
window.scrollTo({ top: Math.max(0, pageTop + h / 2 - vh / 2), behavior: "instant" });
|
|
309
|
+
let n = 0, hidden = 0;
|
|
310
|
+
for (let i = 0; i < 7; i++)
|
|
311
|
+
for (let j = 0; j < 7; j++) {
|
|
312
|
+
const x = vis.left + ((i + 0.5) / 7) * (vis.right - vis.left);
|
|
313
|
+
const y = pageTop - scrollY + ((j + 0.5) / 7) * h;
|
|
314
|
+
if (y < 0 || y > vh || x < 0 || x > docW) continue;
|
|
315
|
+
n++;
|
|
316
|
+
const hit = document.elementFromPoint(x, y);
|
|
317
|
+
if (!hit || hit === el || hit.contains(el)) continue;
|
|
318
|
+
if (ownText(hit) || opaque(hit) || /^(IMG|VIDEO|CANVAS|INPUT|BUTTON|TEXTAREA|SELECT)$/.test(hit.tagName) || hit.closest("svg")) hidden++;
|
|
319
|
+
}
|
|
320
|
+
return n ? hidden / n : 0;
|
|
321
|
+
};
|
|
322
|
+
const photos = [];
|
|
323
|
+
const unread = [];
|
|
324
|
+
const seen = new Set();
|
|
325
|
+
const consider = async ({ el, kind, src, nw, nh, box, fit, position, imgEl }) => {
|
|
326
|
+
// A tiny source stretched over a box is a blur placeholder or a thumbnail, not a photo to judge.
|
|
327
|
+
if (!nw || !nh || Math.max(nw, nh) < 100 || seen.has(el)) return;
|
|
328
|
+
seen.add(el);
|
|
329
|
+
const bw = box.right - box.left, bh = box.bottom - box.top;
|
|
330
|
+
if (bw < 1 || bh < 1) return;
|
|
331
|
+
let s;
|
|
332
|
+
let sx, sy;
|
|
333
|
+
if (fit === "cover") s = Math.max(bw / nw, bh / nh);
|
|
334
|
+
else if (fit === "none") s = 1;
|
|
335
|
+
else if (fit && typeof fit === "object") (sx = fit.w / nw), (sy = fit.h / nh);
|
|
336
|
+
else if (fit === "contain") s = Math.min(bw / nw, bh / nh);
|
|
337
|
+
else if (fit === "scale-down") s = Math.min(1, bw / nw, bh / nh);
|
|
338
|
+
else (sx = bw / nw), (sy = bh / nh); // fill: stretched to the box, nothing cropped (but it can still bleed)
|
|
339
|
+
sx = sx ?? s;
|
|
340
|
+
sy = sy ?? s;
|
|
341
|
+
const dw = nw * sx, dh = nh * sy;
|
|
342
|
+
const [px0, py0] = posPair(position);
|
|
343
|
+
const ax = posAxis(px0, bw - dw), ay = posAxis(py0, bh - dh);
|
|
344
|
+
const img = { left: box.left + ax.off, top: box.top + ay.off, right: box.left + ax.off + dw, bottom: box.top + ay.off + dh };
|
|
345
|
+
const vis = intersect(intersect(img, box), clipChain(el));
|
|
346
|
+
const vw = vis.right - vis.left, vhh = vis.bottom - vis.top;
|
|
347
|
+
if (vw < 1 || vhh < 1) return;
|
|
348
|
+
// Photos only: big enough to carry a subject, and mostly on screen (not a slide parked in a carousel).
|
|
349
|
+
if (Math.max(vw, vhh) < 160 || Math.min(vw, vhh) < 80 || area(vis) < 0.5 * bw * bh) return;
|
|
350
|
+
if (vis.right < 0 || vis.left > docW) return;
|
|
351
|
+
const name = fileOf(src);
|
|
352
|
+
const alt = imgEl?.getAttribute("alt") ?? el.getAttribute("aria-label") ?? "";
|
|
353
|
+
if (/^data:image\/svg|\.svg(\?|#|$)/i.test(src) || ICONISH.test(`${name} ${alt} ${el.className?.baseVal ?? el.className ?? ""} ${el.id}`)) return;
|
|
354
|
+
const win = { x0: (vis.left - img.left) / dw, x1: (vis.right - img.left) / dw, y0: (vis.top - img.top) / dh, y1: (vis.bottom - img.top) / dh };
|
|
355
|
+
const cut = 1 - (win.x1 - win.x0) * (win.y1 - win.y0);
|
|
356
|
+
const bleed = [];
|
|
357
|
+
if (vw >= 0.45 * docW && vis.left <= 1) bleed.push("left");
|
|
358
|
+
if (vw >= 0.45 * docW && vis.right >= docW - 1) bleed.push("right");
|
|
359
|
+
const rect = { left: vis.left, top: vis.top, width: vw, height: vhh };
|
|
360
|
+
const rec = {
|
|
361
|
+
kind,
|
|
362
|
+
src: name,
|
|
363
|
+
alt: short(alt, 50),
|
|
364
|
+
box: pbox(rect),
|
|
365
|
+
section: secOf(rect),
|
|
366
|
+
natural: [nw, nh],
|
|
367
|
+
shown: [Math.round(bw), Math.round(bh)],
|
|
368
|
+
fit: typeof fit === "object" ? `${Math.round(fit.w)}×${Math.round(fit.h)}` : fit,
|
|
369
|
+
position: `${px0} ${py0}`,
|
|
370
|
+
defaultPosition: ax.pct === 50 && ay.pct === 50,
|
|
371
|
+
cut: +cut.toFixed(2),
|
|
372
|
+
window: Object.fromEntries(Object.entries(win).map(([k, v]) => [k, +v.toFixed(3)])),
|
|
373
|
+
cutSides: ["left", "right", "top", "bottom"].filter((k) => ({ left: win.x0 > 0.02, right: win.x1 < 0.98, top: win.y0 > 0.02, bottom: win.y1 < 0.98 })[k]),
|
|
374
|
+
bleed,
|
|
375
|
+
read: false,
|
|
376
|
+
photo: null,
|
|
377
|
+
};
|
|
378
|
+
rec.behind = +coveredShare(el, vis).toFixed(2);
|
|
379
|
+
const pix = readPixels(imgEl ?? el._palateImg, nw, nh);
|
|
380
|
+
if (!pix) {
|
|
381
|
+
rec.photo = jpegish(src, name) ? true : null;
|
|
382
|
+
rec.why = "cross-origin: the subject was not checked, only the crop";
|
|
383
|
+
if (rec.photo) photos.push(rec);
|
|
384
|
+
else unread.push(name);
|
|
385
|
+
return;
|
|
386
|
+
}
|
|
387
|
+
rec.read = true;
|
|
388
|
+
const ph = photographic(pix, jpegish(src, name));
|
|
389
|
+
rec.photo = ph.photo;
|
|
390
|
+
rec.colours = ph.colours;
|
|
391
|
+
if (!ph.photo) return;
|
|
392
|
+
if (cut > 0.02 || bleed.length) rec.subject = subjectOf(pix, win, bleed);
|
|
393
|
+
photos.push(rec);
|
|
394
|
+
};
|
|
395
|
+
|
|
396
|
+
for (const im of document.images) {
|
|
397
|
+
if (!visible(im) || !im.complete || !im.naturalWidth) continue;
|
|
398
|
+
const r = im.getBoundingClientRect();
|
|
399
|
+
if (r.width < 80 || r.height < 80) continue;
|
|
400
|
+
const cs = getComputedStyle(im);
|
|
401
|
+
const fit = cs.objectFit;
|
|
402
|
+
await consider({ el: im, kind: "img", src: im.currentSrc || im.src, nw: im.naturalWidth, nh: im.naturalHeight, box: contentBox(im, r), fit, position: cs.objectPosition, imgEl: im });
|
|
403
|
+
}
|
|
404
|
+
let bgs = 0;
|
|
405
|
+
for (const el of document.body.querySelectorAll("*")) {
|
|
406
|
+
if (bgs >= 40) break;
|
|
407
|
+
const cs = getComputedStyle(el);
|
|
408
|
+
if (!cs.backgroundImage || !/url\(/.test(cs.backgroundImage) || cs.backgroundAttachment === "fixed") continue;
|
|
409
|
+
const r = el.getBoundingClientRect();
|
|
410
|
+
if (r.width < 160 && r.height < 160) continue;
|
|
411
|
+
if (!visible(el)) continue;
|
|
412
|
+
const layers = cs.backgroundImage.split(/,(?![^(]*\))/);
|
|
413
|
+
const li = layers.findIndex((l) => /url\(/.test(l));
|
|
414
|
+
const u = urlOf(layers[li]);
|
|
415
|
+
if (!u) continue;
|
|
416
|
+
const pick = (v) => clean(String(v).split(/,(?![^(]*\))/)[li] ?? String(v).split(",")[0]);
|
|
417
|
+
const size = pick(cs.backgroundSize), pos = pick(cs.backgroundPosition), rep = pick(cs.backgroundRepeat);
|
|
418
|
+
bgs++;
|
|
419
|
+
const im = await loadImage(new URL(u, location.href).href);
|
|
420
|
+
if (!im) continue;
|
|
421
|
+
const nw = im.naturalWidth, nh = im.naturalHeight;
|
|
422
|
+
const box = paddingBox(el, r);
|
|
423
|
+
const bw = box.right - box.left, bh = box.bottom - box.top;
|
|
424
|
+
let fit;
|
|
425
|
+
if (size === "cover") fit = "cover";
|
|
426
|
+
else if (size === "contain") fit = "contain";
|
|
427
|
+
else {
|
|
428
|
+
const [a, b = "auto"] = size.split(" ");
|
|
429
|
+
const len = (v, full) => (v === "auto" ? null : /%$/.test(v) ? (parseFloat(v) / 100) * full : px(v));
|
|
430
|
+
let W = len(a, bw), H = len(b, bh);
|
|
431
|
+
if (W == null && H == null) (W = nw), (H = nh);
|
|
432
|
+
else if (W == null) W = (H * nw) / nh;
|
|
433
|
+
else if (H == null) H = (W * nh) / nw;
|
|
434
|
+
fit = { w: W, h: H };
|
|
435
|
+
// A tiled background is a pattern, not a photo.
|
|
436
|
+
if (!/no-repeat/.test(rep) && (W < bw - 1 || H < bh - 1)) continue;
|
|
437
|
+
}
|
|
438
|
+
el._palateImg = im;
|
|
439
|
+
await consider({ el, kind: "background", src: u, nw, nh, box, fit, position: pos.replace(/,.*$/, "") });
|
|
440
|
+
delete el._palateImg;
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
// ================= TEXT_CLIPPED_EFFECT =================
|
|
444
|
+
const mctx = document.createElement("canvas").getContext("2d");
|
|
445
|
+
const fontOf = (cs) => `${cs.fontStyle} ${cs.fontWeight} ${cs.fontSize} ${cs.fontFamily}`;
|
|
446
|
+
// The boxes that cut this element's painting: clip-path, overflow, a mask, gradient text (background-clip:
|
|
447
|
+
// text paints only inside the box). Nearest first.
|
|
448
|
+
const insetBox = (v, r) => {
|
|
449
|
+
const m = v.match(/^inset\(([^)]*)\)/);
|
|
450
|
+
if (!m) return null;
|
|
451
|
+
const t = m[1].split(/\s+round\s+/)[0].trim().split(/\s+/);
|
|
452
|
+
const [a, b = a, c = a, d = b] = t;
|
|
453
|
+
const L = (s, full) => (/%$/.test(s) ? (parseFloat(s) / 100) * full : px(s));
|
|
454
|
+
return { left: r.left + L(d, r.width), top: r.top + L(a, r.height), right: r.right - L(b, r.width), bottom: r.bottom - L(c, r.height) };
|
|
455
|
+
};
|
|
456
|
+
const polyBox = (v, r) => {
|
|
457
|
+
const m = v.match(/^polygon\(([^)]*)\)/);
|
|
458
|
+
if (!m) return null;
|
|
459
|
+
const pts = m[1].replace(/^(nonzero|evenodd)\s*,/, "").split(",").map((p) => p.trim().split(/\s+/));
|
|
460
|
+
const L = (s, full) => (/%$/.test(s) ? (parseFloat(s) / 100) * full : px(s));
|
|
461
|
+
const xs = pts.map((p) => r.left + L(p[0], r.width)), ys = pts.map((p) => r.top + L(p[1], r.height));
|
|
462
|
+
return { left: Math.min(...xs), top: Math.min(...ys), right: Math.max(...xs), bottom: Math.max(...ys) };
|
|
463
|
+
};
|
|
464
|
+
const clipsOf = (el) => {
|
|
465
|
+
const out = [];
|
|
466
|
+
for (let a = el, depth = 0; a && a !== document.documentElement && depth < 12; a = a.parentElement, depth++) {
|
|
467
|
+
const cs = getComputedStyle(a);
|
|
468
|
+
const r = a.getBoundingClientRect();
|
|
469
|
+
const what = `${a.tagName.toLowerCase()}${a.classList.length ? "." + [...a.classList].slice(0, 2).join(".") : ""}`;
|
|
470
|
+
if (cs.clipPath && cs.clipPath !== "none" && !/^url\(/.test(cs.clipPath)) {
|
|
471
|
+
const b = insetBox(cs.clipPath, r) ?? polyBox(cs.clipPath, r) ?? { left: r.left, top: r.top, right: r.right, bottom: r.bottom };
|
|
472
|
+
out.push({ kind: "clip-path", value: short(cs.clipPath, 40), on: what, box: b });
|
|
473
|
+
}
|
|
474
|
+
const mask = cs.maskImage || cs.webkitMaskImage;
|
|
475
|
+
if (mask && mask !== "none") out.push({ kind: "mask", value: short(mask, 40), on: what, box: { left: r.left, top: r.top, right: r.right, bottom: r.bottom } });
|
|
476
|
+
if ((cs.backgroundClip === "text" || cs.webkitBackgroundClip === "text") && a.parentElement) out.push({ kind: "background-clip: text", on: what, box: { left: r.left, top: r.top, right: r.right, bottom: r.bottom } });
|
|
477
|
+
const ox = cs.overflowX !== "visible", oy = cs.overflowY !== "visible";
|
|
478
|
+
if (ox || oy) {
|
|
479
|
+
const p = paddingBox(a, r);
|
|
480
|
+
out.push({ kind: "overflow", value: `${cs.overflowX} ${cs.overflowY}`, on: what, box: { left: ox ? p.left : -1e9, right: ox ? p.right : 1e9, top: oy ? p.top : -1e9, bottom: oy ? p.bottom : 1e9 } });
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
return out;
|
|
484
|
+
};
|
|
485
|
+
const textClips = [];
|
|
486
|
+
const clipSeen = new Set();
|
|
487
|
+
for (const node of allText) {
|
|
488
|
+
const el = node.parentElement;
|
|
489
|
+
if (!el || clipSeen.has(el) || node.data.length > 400) continue;
|
|
490
|
+
const cs = getComputedStyle(el);
|
|
491
|
+
const fs = px(cs.fontSize);
|
|
492
|
+
const genre = genreOf(cs.fontFamily);
|
|
493
|
+
if (fs < 32 && genre !== "script" && genre !== "display") continue;
|
|
494
|
+
if (fs < 12 || !visible(el)) continue;
|
|
495
|
+
const clips = clipsOf(el);
|
|
496
|
+
if (!clips.length) continue;
|
|
497
|
+
// Lines of this text node: characters grouped by line.
|
|
498
|
+
const lines = [];
|
|
499
|
+
for (let i = 0; i < node.data.length; i++) {
|
|
500
|
+
if (/\s/.test(node.data[i])) continue;
|
|
501
|
+
const q = charRects(node, i)[0];
|
|
502
|
+
if (!q) continue;
|
|
503
|
+
const L = lines.find((l) => Math.abs(l.top - q.top) < fs * 0.5);
|
|
504
|
+
if (L) (L.text += node.data[i]), (L.left = Math.min(L.left, q.left)), (L.right = Math.max(L.right, q.right)), (L.last = node.data[i]);
|
|
505
|
+
else lines.push({ top: q.top, bottom: q.bottom, left: q.left, right: q.right, text: node.data[i], first: node.data[i], last: node.data[i], chars: [] });
|
|
506
|
+
}
|
|
507
|
+
if (!lines.length) continue;
|
|
508
|
+
mctx.font = fontOf(cs);
|
|
509
|
+
try {
|
|
510
|
+
mctx.letterSpacing = cs.letterSpacing === "normal" ? "0px" : cs.letterSpacing;
|
|
511
|
+
} catch {}
|
|
512
|
+
mctx.textAlign = "left";
|
|
513
|
+
mctx.textBaseline = "alphabetic";
|
|
514
|
+
// Swash allowance for script faces: alternates the canvas doesn't apply (font-feature-settings: "swsh").
|
|
515
|
+
const allow = genre === "script" ? 0.03 * fs : 0;
|
|
516
|
+
let hit = null;
|
|
517
|
+
for (const l of lines) {
|
|
518
|
+
const m = mctx.measureText(l.text);
|
|
519
|
+
const mf = mctx.measureText(l.first), ml = mctx.measureText(l.last);
|
|
520
|
+
const fa = m.fontBoundingBoxAscent ?? fs * 0.8, fd = m.fontBoundingBoxDescent ?? fs * 0.2;
|
|
521
|
+
const base = l.top + (l.bottom - l.top - (fa + fd)) / 2 + fa;
|
|
522
|
+
const ink = {
|
|
523
|
+
left: l.left - Math.max(0, mf.actualBoundingBoxLeft) - allow,
|
|
524
|
+
right: l.right + Math.max(0, ml.actualBoundingBoxRight - ml.width) + allow,
|
|
525
|
+
top: base - m.actualBoundingBoxAscent - allow,
|
|
526
|
+
bottom: base + m.actualBoundingBoxDescent + allow,
|
|
527
|
+
};
|
|
528
|
+
const mid = base - 0.3 * fs;
|
|
529
|
+
for (const c of clips) {
|
|
530
|
+
const b = c.box;
|
|
531
|
+
// The line itself is outside the clip (a ticker, a long word, a reveal not finished, a clamped line):
|
|
532
|
+
// a layout clip, not an ink one.
|
|
533
|
+
if (l.left < b.left - 1 || l.right > b.right + 1 || mid < b.top || mid > b.bottom) continue;
|
|
534
|
+
const over = { left: b.left - ink.left, right: ink.right - b.right, top: b.top - ink.top, bottom: ink.bottom - b.bottom };
|
|
535
|
+
const worst = Math.max(...Object.values(over));
|
|
536
|
+
if (worst > Math.max(1.5, 0.03 * fs) && (!hit || worst > hit.worst)) hit = { clip: c, over, worst, line: l.text };
|
|
537
|
+
}
|
|
538
|
+
}
|
|
539
|
+
if (!hit) continue;
|
|
540
|
+
clipSeen.add(el);
|
|
541
|
+
const r = el.getBoundingClientRect();
|
|
542
|
+
textClips.push({
|
|
543
|
+
text: short(el.innerText || node.data, 40),
|
|
544
|
+
fontSize: Math.round(fs),
|
|
545
|
+
family: cs.fontFamily.split(",")[0].replace(/["']/g, "").trim(),
|
|
546
|
+
genre,
|
|
547
|
+
clip: { kind: hit.clip.kind, value: hit.clip.value ?? null, on: hit.clip.on },
|
|
548
|
+
over: Object.fromEntries(Object.entries(hit.over).map(([k, v]) => [k, Math.max(0, Math.round(v * 10) / 10)])),
|
|
549
|
+
section: secOf(r),
|
|
550
|
+
});
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
// ================= HYPHEN_BREAK =================
|
|
554
|
+
// Display headings (20px+), short labels (three words or fewer) and any display-size text; never CJK (it breaks
|
|
555
|
+
// between any two characters by design) or decorative copies (aria-hidden: tickers, mock UI in a graphic).
|
|
556
|
+
const HEADING = "h1, h2, h3, h4, h5, h6, [role=heading]";
|
|
557
|
+
const LABELISH = "button, [role=button], [role=tab], label, th, dt, legend, summary, figcaption";
|
|
558
|
+
const CJK = /[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul}]/u;
|
|
559
|
+
const blockText = (el) => {
|
|
560
|
+
let b = el;
|
|
561
|
+
while (b.parentElement && getComputedStyle(b).display.startsWith("inline")) b = b.parentElement;
|
|
562
|
+
return clean(b.innerText);
|
|
563
|
+
};
|
|
564
|
+
const hyphens = [];
|
|
565
|
+
for (const node of allText) {
|
|
566
|
+
const el = node.parentElement;
|
|
567
|
+
if (!el || !visible(el) || el.closest("[aria-hidden=true]")) continue;
|
|
568
|
+
const t = node.data;
|
|
569
|
+
const hasHyphen = /[\p{L}\d][-‐][\p{L}\d]/u.test(t);
|
|
570
|
+
const cs = getComputedStyle(el);
|
|
571
|
+
const fs = px(cs.fontSize);
|
|
572
|
+
const words = blockText(el).split(" ").length;
|
|
573
|
+
const heading = (!!el.closest(HEADING) && fs >= 20) || (!!el.closest(LABELISH) && words <= 6);
|
|
574
|
+
const label = words <= 3;
|
|
575
|
+
if (!heading && !label && fs < 28) continue;
|
|
576
|
+
const rx = /[\p{L}\d]+(?:[-‐][\p{L}\d]+)*/gu;
|
|
577
|
+
for (let m; (m = rx.exec(t)); ) {
|
|
578
|
+
const word = m[0];
|
|
579
|
+
if (word.length < 3 || CJK.test(word)) continue;
|
|
580
|
+
const tops = [];
|
|
581
|
+
for (let i = 0; i < word.length; i++) {
|
|
582
|
+
const q = charRects(node, m.index + i)[0];
|
|
583
|
+
tops.push(q ? q.top : null);
|
|
584
|
+
}
|
|
585
|
+
for (let i = 1; i < word.length; i++) {
|
|
586
|
+
if (tops[i] == null || tops[i - 1] == null || tops[i] <= tops[i - 1] + fs * 0.5) continue;
|
|
587
|
+
const afterHyphen = /[-‐]/.test(word[i - 1]);
|
|
588
|
+
// A break inside a plain word only counts in headings and labels (a long URL in body text is its own matter).
|
|
589
|
+
if (!afterHyphen && !heading && !label) continue;
|
|
590
|
+
const r = el.getBoundingClientRect();
|
|
591
|
+
hyphens.push({ word, at: i, kind: afterHyphen ? "hyphen" : "mid-word", fontSize: Math.round(fs), heading, text: short(blockText(el), 60), section: secOf(r) });
|
|
592
|
+
break;
|
|
593
|
+
}
|
|
594
|
+
if (hyphens.length >= 24) break;
|
|
595
|
+
}
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
// ================= LABEL_WRAP =================
|
|
599
|
+
const looksButton = (el) => {
|
|
600
|
+
if (el.matches("button, [role=button], input[type=submit], input[type=button]")) return "button";
|
|
601
|
+
if (el.matches("[role=tab]")) return "tab";
|
|
602
|
+
if (el.tagName === "A") {
|
|
603
|
+
const cs = getComputedStyle(el);
|
|
604
|
+
const filled = !/rgba\(0, 0, 0, 0\)|transparent/.test(cs.backgroundColor);
|
|
605
|
+
const bordered = px(cs.borderTopWidth) > 0 && px(cs.borderLeftWidth) > 0;
|
|
606
|
+
if ((filled || bordered) && px(cs.paddingLeft) >= 8 && px(cs.paddingTop) >= 4) return "button";
|
|
607
|
+
}
|
|
608
|
+
return null;
|
|
609
|
+
};
|
|
610
|
+
const wraps = [];
|
|
611
|
+
const wrapSeen = new Set();
|
|
612
|
+
for (const node of allText) {
|
|
613
|
+
let el = node.parentElement;
|
|
614
|
+
if (!el || !visible(el)) continue;
|
|
615
|
+
// The label: the outermost element (a few levels up) that holds exactly this text.
|
|
616
|
+
const txt = clean(el.innerText);
|
|
617
|
+
if (!txt || txt.length > 24 || txt.length < 2 || txt.split(" ").length > 3 || !/\p{L}/u.test(txt) || CJK.test(txt) || el.closest("[aria-hidden=true]")) continue;
|
|
618
|
+
for (let k = 0; k < 4 && el.parentElement && el.parentElement !== document.body; k++) {
|
|
619
|
+
if (clean(el.parentElement.innerText) !== txt) break;
|
|
620
|
+
el = el.parentElement;
|
|
621
|
+
}
|
|
622
|
+
if (wrapSeen.has(el)) continue;
|
|
623
|
+
wrapSeen.add(el);
|
|
624
|
+
// A phrase inside running text ("… by Nov 1" breaking at a line end) is not a label: a label is its own box.
|
|
625
|
+
if (getComputedStyle(el).display === "inline") continue;
|
|
626
|
+
const cs = getComputedStyle(node.parentElement);
|
|
627
|
+
const fs = px(cs.fontSize);
|
|
628
|
+
if (fs >= 32 || el.querySelector("br") || /pre/.test(cs.whiteSpace)) continue;
|
|
629
|
+
const rects = nodeRects(node);
|
|
630
|
+
if (!rects.length) continue;
|
|
631
|
+
const r = el.getBoundingClientRect();
|
|
632
|
+
if (r.right < 0 || r.left > docW || r.width < 2) continue;
|
|
633
|
+
// Text outside its own box is hidden or overflowing (a visually hidden "Item 2" in a 24px carousel dot), not wrapped.
|
|
634
|
+
if (rects.some((q) => q.left < r.left - 4 || q.right > r.right + 4 || q.top < r.top - 4 || q.bottom > r.bottom + 4)) continue;
|
|
635
|
+
if (lineCount(rects, fs) < 2) continue;
|
|
636
|
+
const role = looksButton(el) ?? (el.closest("button, [role=button], [role=tab]") ? looksButton(el.closest("button, [role=button], [role=tab]")) : null) ?? "label";
|
|
637
|
+
wraps.push({ text: txt, role, tag: el.tagName.toLowerCase(), lines: lineCount(rects, fs), width: Math.round(r.width), fontSize: Math.round(fs), section: secOf(r) });
|
|
638
|
+
if (wraps.length >= 40) break;
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
// ================= DOUBLE_NUMBERING =================
|
|
642
|
+
// A marker is an element holding only a numbering: "01", "1.", "1)", "Step 1", "Chapter 1", "01 / 05". Its format
|
|
643
|
+
// decides what it can be: bare "4" or "4/6" are counts and ranks, never kickers; bare numbers count as a
|
|
644
|
+
// sequence only as a run of three (1, 2, 3: step circles).
|
|
645
|
+
const parseMarker = (t) => {
|
|
646
|
+
let m = t.match(/^(chapter|part|step|section|no\.?)\s*(\d{1,2})[.:]?$/i);
|
|
647
|
+
if (m) return { value: +m[2], fmt: "word", chapter: /chapter|part/i.test(m[1]) };
|
|
648
|
+
if ((m = t.match(/^(0\d)(?:\s*[.):]|\s*[\/—–-]\s*\d{2})?$/))) return { value: +m[1], fmt: "pad" };
|
|
649
|
+
if ((m = t.match(/^(\d{1,2})\s*[.)]$/))) return { value: +m[1], fmt: "punct" };
|
|
650
|
+
if ((m = t.match(/^(\d{1,2})$/))) return { value: +m[1], fmt: "bare" };
|
|
651
|
+
return null;
|
|
652
|
+
};
|
|
653
|
+
const HEAD_NUM = /^(?:(?:chapter|part|step)\s+(\d{1,2})\b|(0\d)(?=[\s.:—–-])|(\d{1,2})[.)]\s)/i;
|
|
654
|
+
const markers = [];
|
|
655
|
+
for (const el of document.body.querySelectorAll("*")) {
|
|
656
|
+
if (el.closest("svg, script, style, nav, header, footer, [role=navigation], table")) continue;
|
|
657
|
+
const tc = clean(el.textContent);
|
|
658
|
+
if (!tc || tc.length > 80) continue;
|
|
659
|
+
const isHead = /^H[1-6]$/.test(el.tagName) || el.getAttribute("role") === "heading";
|
|
660
|
+
let mk = tc.length <= 16 ? parseMarker(tc) : null;
|
|
661
|
+
let headPrefixed = false;
|
|
662
|
+
if (!mk && isHead) {
|
|
663
|
+
const h = tc.match(HEAD_NUM);
|
|
664
|
+
if (h) (mk = { value: +(h[1] ?? h[2] ?? h[3]), fmt: h[2] ? "pad" : h[1] ? "word" : "punct" }), (headPrefixed = true);
|
|
665
|
+
}
|
|
666
|
+
if (!mk) continue;
|
|
667
|
+
if (!headPrefixed && [...el.children].some((c) => clean(c.textContent) === tc)) continue; // the innermost holder
|
|
668
|
+
if (!visible(el)) continue;
|
|
669
|
+
const r = el.getBoundingClientRect();
|
|
670
|
+
if (r.width < 1 || r.height < 1) continue;
|
|
671
|
+
markers.push({ el, text: tc.slice(0, 30), ...mk, y: r.top + scrollY, h: r.height, x: r.left, fs: px(getComputedStyle(el).fontSize), head: isHead || !!mk.chapter, section: secOf(r) });
|
|
672
|
+
}
|
|
673
|
+
// Visible numbered lists count as markers too.
|
|
674
|
+
for (const ol of document.querySelectorAll("ol")) {
|
|
675
|
+
const cs = getComputedStyle(ol);
|
|
676
|
+
if (!/decimal|leading-zero/.test(cs.listStyleType) || !visible(ol) || ol.closest("nav, header, footer")) continue;
|
|
677
|
+
const items = [...ol.children].filter((li) => li.tagName === "LI" && visible(li));
|
|
678
|
+
if (items.length < 2) continue;
|
|
679
|
+
const start = ol.start || 1;
|
|
680
|
+
items.forEach((li, k) => {
|
|
681
|
+
const r = li.getBoundingClientRect();
|
|
682
|
+
markers.push({ el: li, text: /leading-zero/.test(cs.listStyleType) ? String(start + k).padStart(2, "0") : `${start + k}.`, value: start + k, fmt: "ol", y: r.top + scrollY, h: r.height, x: r.left, fs: px(getComputedStyle(li).fontSize), head: false, section: secOf(r), list: true });
|
|
683
|
+
});
|
|
684
|
+
}
|
|
685
|
+
// A kicker: a numbered heading, or a numbering marker with a heading just below it.
|
|
686
|
+
const headings = [...document.querySelectorAll("h1, h2, h3, h4, h5, h6, [role=heading]")].filter(visible).map((h) => ({ el: h, r: h.getBoundingClientRect() }));
|
|
687
|
+
const doubles = [];
|
|
688
|
+
for (const k of markers) {
|
|
689
|
+
if (k.list || !k.section || k.fmt === "bare") continue;
|
|
690
|
+
const below = headings.find(({ el, r }) => el !== k.el && !el.contains(k.el) && r.top + scrollY >= k.y - 4 && r.top + scrollY <= k.y + k.h + 160);
|
|
691
|
+
if (!(k.head || (below && !k.el.closest("li")))) continue;
|
|
692
|
+
// Below it in the same section: items in one format numbered again from 1.
|
|
693
|
+
const rest = markers.filter((m) => m !== k && m.section?.index === k.section.index && m.y > k.y + k.h / 2 && !m.el.contains(k.el) && !k.el.contains(m.el));
|
|
694
|
+
let seq = null;
|
|
695
|
+
for (const fmt of ["ol", "pad", "punct", "word", "bare"]) {
|
|
696
|
+
const g = rest.filter((m) => m.fmt === fmt);
|
|
697
|
+
const vals = new Set(g.map((m) => m.value));
|
|
698
|
+
if (vals.has(1) && vals.has(2) && (fmt !== "bare" || vals.has(3))) {
|
|
699
|
+
seq = g.sort((a, b) => a.y - b.y || a.x - b.x);
|
|
700
|
+
break;
|
|
701
|
+
}
|
|
702
|
+
}
|
|
703
|
+
if (!seq) continue;
|
|
704
|
+
const one = seq.find((m) => m.value === 1);
|
|
705
|
+
const sameLook = one.fmt === k.fmt || (one.fmt === "ol" && k.fmt === "punct");
|
|
706
|
+
doubles.push({ kicker: k.text, kickerValue: k.value, items: seq.slice(0, 6).map((m) => m.text), count: seq.length, sameLook, list: !!one.list, section: k.section });
|
|
707
|
+
if (doubles.length >= 8) break;
|
|
708
|
+
}
|
|
709
|
+
// One finding per section.
|
|
710
|
+
const dblBySec = new Map();
|
|
711
|
+
for (const d of doubles) if (!dblBySec.has(d.section.index)) dblBySec.set(d.section.index, d);
|
|
712
|
+
|
|
713
|
+
window.scrollTo({ top: startY, behavior: "instant" });
|
|
714
|
+
return {
|
|
715
|
+
width: docW,
|
|
716
|
+
vh,
|
|
717
|
+
photos: photos.slice(0, 40),
|
|
718
|
+
unreadImages: unread.slice(0, 12),
|
|
719
|
+
textClips: textClips.slice(0, 20),
|
|
720
|
+
hyphens,
|
|
721
|
+
wraps,
|
|
722
|
+
doubles: [...dblBySec.values()],
|
|
723
|
+
};
|
|
724
|
+
};
|