{
  "definitions": [
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "domain/converters/search.index.converter.ts",
          "name": "sourcesOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-domain-converters-search-index-converter-ts",
            "json": "https://banes-lab.com/json/source/tree/domain/converters/search.index.converter.ts",
            "label": "domain/converters/search.index.converter.ts",
            "markdown": "https://banes-lab.com/source/tree/domain/converters/search.index.converter.ts.md",
            "ref": "anatomy:file-domain-converters-search-index-converter-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 14,
      "name": "tabbedSources",
      "signature": "const tabbedSources = function tabbedSources(page: SearchPage, content: TabbedContent): SearchSource[] {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "domain/converters/search.index.converter.ts",
          "name": "positionsOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-domain-converters-search-index-converter-ts",
            "json": "https://banes-lab.com/json/source/tree/domain/converters/search.index.converter.ts",
            "label": "domain/converters/search.index.converter.ts",
            "markdown": "https://banes-lab.com/source/tree/domain/converters/search.index.converter.ts.md",
            "ref": "anatomy:file-domain-converters-search-index-converter-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 39,
      "name": "firstTabsOf",
      "signature": "const firstTabsOf = function firstTabsOf(pages: readonly SearchPage[]): ReadonlyMap<string, string> {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/analyzers/search.analyzer.ts",
          "name": "evidenceOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-analyzers-search-analyzer-ts",
            "json": "https://banes-lab.com/json/source/tree/core/analyzers/search.analyzer.ts",
            "label": "core/analyzers/search.analyzer.ts",
            "markdown": "https://banes-lab.com/source/tree/core/analyzers/search.analyzer.ts.md",
            "ref": "anatomy:file-core-analyzers-search-analyzer-ts"
          }
        },
        {
          "file": "core/analyzers/search.analyzer.ts",
          "name": "linksOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-analyzers-search-analyzer-ts",
            "json": "https://banes-lab.com/json/source/tree/core/analyzers/search.analyzer.ts",
            "label": "core/analyzers/search.analyzer.ts",
            "markdown": "https://banes-lab.com/source/tree/core/analyzers/search.analyzer.ts.md",
            "ref": "anatomy:file-core-analyzers-search-analyzer-ts"
          }
        },
        {
          "file": "domain/converters/search.index.converter.ts",
          "name": "firstTabsOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-domain-converters-search-index-converter-ts",
            "json": "https://banes-lab.com/json/source/tree/domain/converters/search.index.converter.ts",
            "label": "domain/converters/search.index.converter.ts",
            "markdown": "https://banes-lab.com/source/tree/domain/converters/search.index.converter.ts.md",
            "ref": "anatomy:file-domain-converters-search-index-converter-ts"
          }
        }
      ],
      "callers": [],
      "exported": true,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 48,
      "name": "positionsOf",
      "signature": "export const positionsOf = function positionsOf(input: PositionSources): SearchPositions {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/analyzers/search.analyzer.ts",
          "name": "anchorPath",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-analyzers-search-analyzer-ts",
            "json": "https://banes-lab.com/json/source/tree/core/analyzers/search.analyzer.ts",
            "label": "core/analyzers/search.analyzer.ts",
            "markdown": "https://banes-lab.com/source/tree/core/analyzers/search.analyzer.ts.md",
            "ref": "anatomy:file-core-analyzers-search-analyzer-ts"
          }
        },
        {
          "file": "core/analyzers/search.analyzer.ts",
          "name": "anchorsOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-analyzers-search-analyzer-ts",
            "json": "https://banes-lab.com/json/source/tree/core/analyzers/search.analyzer.ts",
            "label": "core/analyzers/search.analyzer.ts",
            "markdown": "https://banes-lab.com/source/tree/core/analyzers/search.analyzer.ts.md",
            "ref": "anatomy:file-core-analyzers-search-analyzer-ts"
          }
        },
        {
          "file": "core/analyzers/search.analyzer.ts",
          "name": "placeOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-analyzers-search-analyzer-ts",
            "json": "https://banes-lab.com/json/source/tree/core/analyzers/search.analyzer.ts",
            "label": "core/analyzers/search.analyzer.ts",
            "markdown": "https://banes-lab.com/source/tree/core/analyzers/search.analyzer.ts.md",
            "ref": "anatomy:file-core-analyzers-search-analyzer-ts"
          }
        }
      ],
      "callers": [],
      "exported": true,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 75,
      "name": "positionOf",
      "signature": "export const positionOf = function positionOf(index: SearchIndex, source: SearchSource, section: Section): number {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "domain/converters/search.index.converter.ts",
          "name": "tabbedSources",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-domain-converters-search-index-converter-ts",
            "json": "https://banes-lab.com/json/source/tree/domain/converters/search.index.converter.ts",
            "label": "domain/converters/search.index.converter.ts",
            "markdown": "https://banes-lab.com/source/tree/domain/converters/search.index.converter.ts.md",
            "ref": "anatomy:file-domain-converters-search-index-converter-ts"
          }
        }
      ],
      "callers": [],
      "exported": true,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 27,
      "name": "sourcesOf",
      "signature": "export const sourcesOf = function sourcesOf(page: SearchPage): readonly SearchSource[] {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 16,
      "name": "layout",
      "signature": "const layout = tab.layout ?? content.layout;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 20,
      "name": "label",
      "signature": "const label = page.definition.title + TITLE_SEPARATOR + tab.label;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 28,
      "name": "{ content, id, title }",
      "signature": "const { content, id, title } = page.definition;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 35,
      "name": "tab",
      "signature": "const tab = { icon: page.icon, id, label: content.meta.title, sections: content.sections };"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 42,
      "name": "first",
      "signature": "const first = definition.content.kind === \"tabbed\" ? definition.content.tabs[0] : undefined;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 49,
      "name": "route",
      "signature": "const route = routeOf(input.route);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 57,
      "name": "heldIndexes",
      "signature": "const heldIndexes = new WeakMap<SearchCorpus, SearchIndex>();"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 59,
      "name": "indexOf",
      "signature": "export const indexOf = function indexOf(corpus: SearchCorpus): SearchIndex {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 60,
      "name": "held",
      "signature": "const held = heldIndexes.get(corpus);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 64,
      "name": "{ positions }",
      "signature": "const { positions } = corpus;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 65,
      "name": "index",
      "signature": "const index = {"
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/tree#file-domain-converters-search-index-converter-ts",
  "language": "typescript",
  "layer": "processing",
  "name": "search.index.converter.ts",
  "path": "domain/converters/search.index.converter.ts",
  "ref": "anatomy:file-domain-converters-search-index-converter-ts",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/tree#folder-domain-converters",
          "json": "https://banes-lab.com/json/anatomy/tree/folder-domain-converters",
          "label": "domain/converters",
          "markdown": "https://banes-lab.com/anatomy/tree/folder-domain-converters.md",
          "ref": "chapter:/anatomy/tree#folder-domain-converters"
        }
      ],
      "relation": "contained-in"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/tree#file-core-analyzers-search-analyzer-ts",
          "json": "https://banes-lab.com/json/source/tree/core/analyzers/search.analyzer.ts",
          "label": "core/analyzers/search.analyzer.ts",
          "markdown": "https://banes-lab.com/source/tree/core/analyzers/search.analyzer.ts.md",
          "ref": "anatomy:file-core-analyzers-search-analyzer-ts"
        }
      ],
      "relation": "uses"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/tree#folder-core-analyzers",
          "json": "https://banes-lab.com/json/anatomy/tree/folder-core-analyzers",
          "label": "core/analyzers",
          "markdown": "https://banes-lab.com/anatomy/tree/folder-core-analyzers.md",
          "ref": "chapter:/anatomy/tree#folder-core-analyzers"
        },
        {
          "href": "https://banes-lab.com/anatomy/tree#folder-domain-converters",
          "json": "https://banes-lab.com/json/anatomy/tree/folder-domain-converters",
          "label": "domain/converters",
          "markdown": "https://banes-lab.com/anatomy/tree/folder-domain-converters.md",
          "ref": "chapter:/anatomy/tree#folder-domain-converters"
        }
      ],
      "relation": "linked-from"
    }
  ],
  "slots": {
    "concern": "converter",
    "subject": "search",
    "variant": "index"
  },
  "stats": {
    "bytes": 3018,
    "callable": 6,
    "definitions": 16,
    "edges": 7,
    "exported": 10,
    "files": 1,
    "findings": {},
    "flows": {
      "leaf": 2,
      "entry": 3,
      "isolated": 11
    },
    "lines": {
      "blank": 7,
      "code": 70,
      "total": 77
    }
  },
  "summary": "70 lines of code and 16 definitions.",
  "text": "https://banes-lab.com/source/tree/domain/converters/search.index.converter.ts.txt",
  "tree": "tree",
  "siblings": {
    "next": {
      "href": "https://banes-lab.com/anatomy/tree#file-domain-converters-source-converter-ts",
      "json": "https://banes-lab.com/json/source/tree/domain/converters/source.converter.ts",
      "label": "domain/converters/source.converter.ts",
      "markdown": "https://banes-lab.com/source/tree/domain/converters/source.converter.ts.md",
      "ref": "anatomy:file-domain-converters-source-converter-ts"
    },
    "previous": {
      "href": "https://banes-lab.com/anatomy/tree#file-domain-converters-search-fragment-converter-ts",
      "json": "https://banes-lab.com/json/source/tree/domain/converters/search.fragment.converter.ts",
      "label": "domain/converters/search.fragment.converter.ts",
      "markdown": "https://banes-lab.com/source/tree/domain/converters/search.fragment.converter.ts.md",
      "ref": "anatomy:file-domain-converters-search-fragment-converter-ts"
    }
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/source/tree/domain/converters",
    "label": "domain/converters",
    "markdown": "https://banes-lab.com/api/source/tree/domain/converters.md",
    "ref": "api:source/tree/domain/converters"
  }
}
