{
  "definitions": [
    {
      "callable": false,
      "callees": [],
      "callers": [
        {
          "file": "presentation/components/home.component.ts",
          "name": "attachHome",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-presentation-components-home-component-ts",
            "json": "https://banes-lab.com/json/source/tree/presentation/components/home.component.ts",
            "label": "presentation/components/home.component.ts",
            "markdown": "https://banes-lab.com/source/tree/presentation/components/home.component.ts.md",
            "ref": "anatomy:file-presentation-components-home-component-ts"
          }
        },
        {
          "file": "presentation/widgets/home.widget.ts",
          "name": "mountHome",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-presentation-widgets-home-widget-ts",
            "json": "https://banes-lab.com/json/source/tree/presentation/widgets/home.widget.ts",
            "label": "presentation/widgets/home.widget.ts",
            "markdown": "https://banes-lab.com/source/tree/presentation/widgets/home.widget.ts.md",
            "ref": "anatomy:file-presentation-widgets-home-widget-ts"
          }
        },
        {
          "file": "presentation/widgets/home.widget.ts",
          "name": "wire",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-presentation-widgets-home-widget-ts",
            "json": "https://banes-lab.com/json/source/tree/presentation/widgets/home.widget.ts",
            "label": "presentation/widgets/home.widget.ts",
            "markdown": "https://banes-lab.com/source/tree/presentation/widgets/home.widget.ts.md",
            "ref": "anatomy:file-presentation-widgets-home-widget-ts"
          }
        },
        {
          "file": "presentation/widgets/overlay.widget.ts",
          "name": "mountOverlay",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-presentation-widgets-overlay-widget-ts",
            "json": "https://banes-lab.com/json/source/tree/presentation/widgets/overlay.widget.ts",
            "label": "presentation/widgets/overlay.widget.ts",
            "markdown": "https://banes-lab.com/source/tree/presentation/widgets/overlay.widget.ts.md",
            "ref": "anatomy:file-presentation-widgets-overlay-widget-ts"
          }
        },
        {
          "file": "runtime/entrypoints/site.entrypoint.ts",
          "name": "start",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-runtime-entrypoints-site-entrypoint-ts",
            "json": "https://banes-lab.com/json/source/tree/runtime/entrypoints/site.entrypoint.ts",
            "label": "runtime/entrypoints/site.entrypoint.ts",
            "markdown": "https://banes-lab.com/source/tree/runtime/entrypoints/site.entrypoint.ts.md",
            "ref": "anatomy:file-runtime-entrypoints-site-entrypoint-ts"
          }
        }
      ],
      "exported": true,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 76,
      "name": "dispose",
      "signature": "let dispose = idle;"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "presentation/widgets/home.widget.ts",
          "name": "wire",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-presentation-widgets-home-widget-ts",
            "json": "https://banes-lab.com/json/source/tree/presentation/widgets/home.widget.ts",
            "label": "presentation/widgets/home.widget.ts",
            "markdown": "https://banes-lab.com/source/tree/presentation/widgets/home.widget.ts.md",
            "ref": "anatomy:file-presentation-widgets-home-widget-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 51,
      "name": "routeMap",
      "signature": "const routeMap = function routeMap(shell: Element): Disposer {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [
        {
          "file": "presentation/widgets/home.widget.ts",
          "name": "mountHome",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-presentation-widgets-home-widget-ts",
            "json": "https://banes-lab.com/json/source/tree/presentation/widgets/home.widget.ts",
            "label": "presentation/widgets/home.widget.ts",
            "markdown": "https://banes-lab.com/source/tree/presentation/widgets/home.widget.ts.md",
            "ref": "anatomy:file-presentation-widgets-home-widget-ts"
          }
        }
      ],
      "exported": true,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 77,
      "name": "unsubscribe",
      "signature": "const unsubscribe = subscribeEvent(ROUTE_CHANGED, (event) => {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "presentation/components/learning.component.ts",
          "name": "attachLearningMap",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-presentation-components-learning-component-ts",
            "json": "https://banes-lab.com/json/source/tree/presentation/components/learning.component.ts",
            "label": "presentation/components/learning.component.ts",
            "markdown": "https://banes-lab.com/source/tree/presentation/components/learning.component.ts.md",
            "ref": "anatomy:file-presentation-components-learning-component-ts"
          }
        },
        {
          "file": "presentation/components/learning.fragment.component.ts",
          "name": "attachPrerequisites",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-presentation-components-learning-fragment-component-ts",
            "json": "https://banes-lab.com/json/source/tree/presentation/components/learning.fragment.component.ts",
            "label": "presentation/components/learning.fragment.component.ts",
            "markdown": "https://banes-lab.com/source/tree/presentation/components/learning.fragment.component.ts.md",
            "ref": "anatomy:file-presentation-components-learning-fragment-component-ts"
          }
        },
        {
          "file": "presentation/widgets/home.widget.ts",
          "name": "dispose",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-presentation-widgets-home-widget-ts",
            "json": "https://banes-lab.com/json/source/tree/presentation/widgets/home.widget.ts",
            "label": "presentation/widgets/home.widget.ts",
            "markdown": "https://banes-lab.com/source/tree/presentation/widgets/home.widget.ts.md",
            "ref": "anatomy:file-presentation-widgets-home-widget-ts"
          }
        },
        {
          "file": "presentation/widgets/home.widget.ts",
          "name": "routeMap",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-presentation-widgets-home-widget-ts",
            "json": "https://banes-lab.com/json/source/tree/presentation/widgets/home.widget.ts",
            "label": "presentation/widgets/home.widget.ts",
            "markdown": "https://banes-lab.com/source/tree/presentation/widgets/home.widget.ts.md",
            "ref": "anatomy:file-presentation-widgets-home-widget-ts"
          }
        }
      ],
      "callers": [],
      "exported": false,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 58,
      "name": "wire",
      "signature": "const wire = function wire(main: Element): Disposer {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/assets/link.assets.ts",
          "name": "pageFromPath",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-assets-link-assets-ts",
            "json": "https://banes-lab.com/json/source/tree/core/assets/link.assets.ts",
            "label": "core/assets/link.assets.ts",
            "markdown": "https://banes-lab.com/source/tree/core/assets/link.assets.ts.md",
            "ref": "anatomy:file-core-assets-link-assets-ts"
          }
        },
        {
          "file": "core/buses/base.bus.ts",
          "name": "emitEvent",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-buses-base-bus-ts",
            "json": "https://banes-lab.com/json/source/tree/core/buses/base.bus.ts",
            "label": "core/buses/base.bus.ts",
            "markdown": "https://banes-lab.com/source/tree/core/buses/base.bus.ts.md",
            "ref": "anatomy:file-core-buses-base-bus-ts"
          }
        }
      ],
      "callers": [],
      "exported": false,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 40,
      "name": "onClick",
      "signature": "const onClick = function onClick(event: Event): void {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "presentation/widgets/home.widget.ts",
          "name": "dispose",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-presentation-widgets-home-widget-ts",
            "json": "https://banes-lab.com/json/source/tree/presentation/widgets/home.widget.ts",
            "label": "presentation/widgets/home.widget.ts",
            "markdown": "https://banes-lab.com/source/tree/presentation/widgets/home.widget.ts.md",
            "ref": "anatomy:file-presentation-widgets-home-widget-ts"
          }
        },
        {
          "file": "presentation/widgets/home.widget.ts",
          "name": "unsubscribe",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-presentation-widgets-home-widget-ts",
            "json": "https://banes-lab.com/json/source/tree/presentation/widgets/home.widget.ts",
            "label": "presentation/widgets/home.widget.ts",
            "markdown": "https://banes-lab.com/source/tree/presentation/widgets/home.widget.ts.md",
            "ref": "anatomy:file-presentation-widgets-home-widget-ts"
          }
        }
      ],
      "callers": [],
      "exported": true,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 75,
      "name": "mountHome",
      "signature": "export const mountHome = function mountHome(main: Element): Disposer {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 15,
      "name": "VECTOR_SELECTOR",
      "signature": "const VECTOR_SELECTOR = \"svg\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 16,
      "name": "TRACE_SELECTOR",
      "signature": "const TRACE_SELECTOR = \".learning-trace\";"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 18,
      "name": "placedOf",
      "signature": "const placedOf = function placedOf(shell: Element, stop: LaidStop, block: PlacedStop[\"block\"]): PlacedStop | null {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 19,
      "name": "node",
      "signature": "const node = shell.querySelector(`#${stop.id}`);"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 23,
      "name": "viewOf",
      "signature": "const viewOf = function viewOf(shell: Element): LearningView | null {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 24,
      "name": "vector",
      "signature": "const vector = shell.querySelector(VECTOR_SELECTOR);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 25,
      "name": "trace",
      "signature": "const trace = shell.querySelector(TRACE_SELECTOR);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 29,
      "name": "stops",
      "signature": "const stops = layoutLearning(LEARNING).blocks.flatMap((block) =>"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 31,
      "name": "placed",
      "signature": "const placed = placedOf(shell, stop, block);"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 38,
      "name": "idle",
      "signature": "const idle: Disposer = () => {};"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 41,
      "name": "{ target }",
      "signature": "const { target } = event;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 42,
      "name": "jump",
      "signature": "const jump = target instanceof Element ? target.closest(JUMP_SELECTOR) : null;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 43,
      "name": "href",
      "signature": "const href = jump?.getAttribute(HREF_ATTRIBUTE) ?? \"\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 59,
      "name": "shell",
      "signature": "const shell = main.querySelector(MAP_SELECTOR);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 60,
      "name": "view",
      "signature": "const view = shell === null ? null : viewOf(shell);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 61,
      "name": "disposers",
      "signature": "const disposers = [attachHome(main)];"
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/tree#file-presentation-widgets-home-widget-ts",
  "language": "typescript",
  "layer": "product",
  "name": "home.widget.ts",
  "path": "presentation/widgets/home.widget.ts",
  "ref": "anatomy:file-presentation-widgets-home-widget-ts",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/tree#folder-presentation-widgets",
          "json": "https://banes-lab.com/json/anatomy/tree/folder-presentation-widgets",
          "label": "presentation/widgets",
          "markdown": "https://banes-lab.com/anatomy/tree/folder-presentation-widgets.md",
          "ref": "chapter:/anatomy/tree#folder-presentation-widgets"
        }
      ],
      "relation": "contained-in"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/tree#file-core-assets-link-assets-ts",
          "json": "https://banes-lab.com/json/source/tree/core/assets/link.assets.ts",
          "label": "core/assets/link.assets.ts",
          "markdown": "https://banes-lab.com/source/tree/core/assets/link.assets.ts.md",
          "ref": "anatomy:file-core-assets-link-assets-ts"
        },
        {
          "href": "https://banes-lab.com/anatomy/tree#file-core-buses-base-bus-ts",
          "json": "https://banes-lab.com/json/source/tree/core/buses/base.bus.ts",
          "label": "core/buses/base.bus.ts",
          "markdown": "https://banes-lab.com/source/tree/core/buses/base.bus.ts.md",
          "ref": "anatomy:file-core-buses-base-bus-ts"
        },
        {
          "href": "https://banes-lab.com/anatomy/tree#file-presentation-components-learning-component-ts",
          "json": "https://banes-lab.com/json/source/tree/presentation/components/learning.component.ts",
          "label": "presentation/components/learning.component.ts",
          "markdown": "https://banes-lab.com/source/tree/presentation/components/learning.component.ts.md",
          "ref": "anatomy:file-presentation-components-learning-component-ts"
        },
        {
          "href": "https://banes-lab.com/anatomy/tree#file-presentation-components-learning-fragment-component-ts",
          "json": "https://banes-lab.com/json/source/tree/presentation/components/learning.fragment.component.ts",
          "label": "presentation/components/learning.fragment.component.ts",
          "markdown": "https://banes-lab.com/source/tree/presentation/components/learning.fragment.component.ts.md",
          "ref": "anatomy:file-presentation-components-learning-fragment-component-ts"
        }
      ],
      "relation": "uses"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/tree#file-presentation-components-home-component-ts",
          "json": "https://banes-lab.com/json/source/tree/presentation/components/home.component.ts",
          "label": "presentation/components/home.component.ts",
          "markdown": "https://banes-lab.com/source/tree/presentation/components/home.component.ts.md",
          "ref": "anatomy:file-presentation-components-home-component-ts"
        },
        {
          "href": "https://banes-lab.com/anatomy/tree#file-presentation-widgets-overlay-widget-ts",
          "json": "https://banes-lab.com/json/source/tree/presentation/widgets/overlay.widget.ts",
          "label": "presentation/widgets/overlay.widget.ts",
          "markdown": "https://banes-lab.com/source/tree/presentation/widgets/overlay.widget.ts.md",
          "ref": "anatomy:file-presentation-widgets-overlay-widget-ts"
        },
        {
          "href": "https://banes-lab.com/anatomy/tree#file-runtime-entrypoints-site-entrypoint-ts",
          "json": "https://banes-lab.com/json/source/tree/runtime/entrypoints/site.entrypoint.ts",
          "label": "runtime/entrypoints/site.entrypoint.ts",
          "markdown": "https://banes-lab.com/source/tree/runtime/entrypoints/site.entrypoint.ts.md",
          "ref": "anatomy:file-runtime-entrypoints-site-entrypoint-ts"
        }
      ],
      "relation": "used-by"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/tree#folder-core-assets",
          "json": "https://banes-lab.com/json/anatomy/tree/folder-core-assets",
          "label": "core/assets",
          "markdown": "https://banes-lab.com/anatomy/tree/folder-core-assets.md",
          "ref": "chapter:/anatomy/tree#folder-core-assets"
        },
        {
          "href": "https://banes-lab.com/anatomy/tree#folder-core-buses",
          "json": "https://banes-lab.com/json/anatomy/tree/folder-core-buses",
          "label": "core/buses",
          "markdown": "https://banes-lab.com/anatomy/tree/folder-core-buses.md",
          "ref": "chapter:/anatomy/tree#folder-core-buses"
        },
        {
          "href": "https://banes-lab.com/anatomy/tree#folder-presentation-components",
          "json": "https://banes-lab.com/json/anatomy/tree/folder-presentation-components",
          "label": "presentation/components",
          "markdown": "https://banes-lab.com/anatomy/tree/folder-presentation-components.md",
          "ref": "chapter:/anatomy/tree#folder-presentation-components"
        },
        {
          "href": "https://banes-lab.com/anatomy/tree#folder-presentation-widgets",
          "json": "https://banes-lab.com/json/anatomy/tree/folder-presentation-widgets",
          "label": "presentation/widgets",
          "markdown": "https://banes-lab.com/anatomy/tree/folder-presentation-widgets.md",
          "ref": "chapter:/anatomy/tree#folder-presentation-widgets"
        },
        {
          "href": "https://banes-lab.com/anatomy/tree#folder-runtime-entrypoints",
          "json": "https://banes-lab.com/json/anatomy/tree/folder-runtime-entrypoints",
          "label": "runtime/entrypoints",
          "markdown": "https://banes-lab.com/anatomy/tree/folder-runtime-entrypoints.md",
          "ref": "chapter:/anatomy/tree#folder-runtime-entrypoints"
        }
      ],
      "relation": "linked-from"
    }
  ],
  "slots": {
    "concern": "widget",
    "subject": "home",
    "variant": null
  },
  "stats": {
    "bytes": 3200,
    "callable": 7,
    "definitions": 22,
    "edges": 8,
    "exported": 3,
    "files": 1,
    "findings": {},
    "flows": {
      "leaf": 3,
      "entry": 3,
      "isolated": 16
    },
    "lines": {
      "blank": 8,
      "code": 77,
      "total": 85
    }
  },
  "summary": "77 lines of code and 22 definitions.",
  "text": "https://banes-lab.com/source/tree/presentation/widgets/home.widget.ts.txt",
  "tree": "tree",
  "siblings": {
    "next": {
      "href": "https://banes-lab.com/anatomy/tree#file-presentation-widgets-menu-widget-ts",
      "json": "https://banes-lab.com/json/source/tree/presentation/widgets/menu.widget.ts",
      "label": "presentation/widgets/menu.widget.ts",
      "markdown": "https://banes-lab.com/source/tree/presentation/widgets/menu.widget.ts.md",
      "ref": "anatomy:file-presentation-widgets-menu-widget-ts"
    },
    "previous": {
      "href": "https://banes-lab.com/anatomy/tree#file-presentation-widgets-citation-widget-ts",
      "json": "https://banes-lab.com/json/source/tree/presentation/widgets/citation.widget.ts",
      "label": "presentation/widgets/citation.widget.ts",
      "markdown": "https://banes-lab.com/source/tree/presentation/widgets/citation.widget.ts.md",
      "ref": "anatomy:file-presentation-widgets-citation-widget-ts"
    }
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/source/tree/presentation/widgets",
    "label": "presentation/widgets",
    "markdown": "https://banes-lab.com/api/source/tree/presentation/widgets.md",
    "ref": "api:source/tree/presentation/widgets"
  }
}
