{
  "definitions": [
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/converters/viewport.converter.ts",
          "name": "auditOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/scripts#file-scripts-core-converters-viewport-converter-ts",
            "json": "https://banes-lab.com/json/source/scripts/core/converters/viewport.converter.ts",
            "label": "core/converters/viewport.converter.ts",
            "markdown": "https://banes-lab.com/source/scripts/core/converters/viewport.converter.ts.md",
            "ref": "anatomy:file-scripts-core-converters-viewport-converter-ts"
          }
        },
        {
          "file": "core/selectors/manifest.selector.ts",
          "name": "stringRecordAt",
          "source": {
            "href": "https://banes-lab.com/anatomy/scripts#file-scripts-core-selectors-manifest-selector-ts",
            "json": "https://banes-lab.com/json/source/scripts/core/selectors/manifest.selector.ts",
            "label": "core/selectors/manifest.selector.ts",
            "markdown": "https://banes-lab.com/source/scripts/core/selectors/manifest.selector.ts.md",
            "ref": "anatomy:file-scripts-core-selectors-manifest-selector-ts"
          }
        },
        {
          "file": "core/selectors/rate.selector.ts",
          "name": "recordOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/scripts#file-scripts-core-selectors-rate-selector-ts",
            "json": "https://banes-lab.com/json/source/scripts/core/selectors/rate.selector.ts",
            "label": "core/selectors/rate.selector.ts",
            "markdown": "https://banes-lab.com/source/scripts/core/selectors/rate.selector.ts.md",
            "ref": "anatomy:file-scripts-core-selectors-rate-selector-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 52,
      "name": "isRecord",
      "signature": "const isRecord = function isRecord(value: unknown): value is Record<string, unknown> {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/loaders/viewport.loader.ts",
          "name": "builtRoutes",
          "source": {
            "href": "https://banes-lab.com/anatomy/scripts#file-scripts-core-loaders-viewport-loader-ts",
            "json": "https://banes-lab.com/json/source/scripts/core/loaders/viewport.loader.ts",
            "label": "core/loaders/viewport.loader.ts",
            "markdown": "https://banes-lab.com/source/scripts/core/loaders/viewport.loader.ts.md",
            "ref": "anatomy:file-scripts-core-loaders-viewport-loader-ts"
          }
        }
      ],
      "exported": true,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 34,
      "name": "routeOfPage",
      "signature": "export const routeOfPage = function routeOfPage(page: string): string | null {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/coordinators/viewport.coordinator.ts",
          "name": "auditRoute",
          "source": {
            "href": "https://banes-lab.com/anatomy/scripts#file-scripts-core-coordinators-viewport-coordinator-ts",
            "json": "https://banes-lab.com/json/source/scripts/core/coordinators/viewport.coordinator.ts",
            "label": "core/coordinators/viewport.coordinator.ts",
            "markdown": "https://banes-lab.com/source/scripts/core/coordinators/viewport.coordinator.ts.md",
            "ref": "anatomy:file-scripts-core-coordinators-viewport-coordinator-ts"
          }
        }
      ],
      "exported": true,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 42,
      "name": "shotNameOf",
      "signature": "export const shotNameOf = function shotNameOf(route: string): string {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/converters/viewport.converter.ts",
          "name": "isRecord",
          "source": {
            "href": "https://banes-lab.com/anatomy/scripts#file-scripts-core-converters-viewport-converter-ts",
            "json": "https://banes-lab.com/json/source/scripts/core/converters/viewport.converter.ts",
            "label": "core/converters/viewport.converter.ts",
            "markdown": "https://banes-lab.com/source/scripts/core/converters/viewport.converter.ts.md",
            "ref": "anatomy:file-scripts-core-converters-viewport-converter-ts"
          }
        }
      ],
      "callers": [],
      "exported": true,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 61,
      "name": "auditOf",
      "signature": "export const auditOf = function auditOf(value: unknown): ViewportAudit | null {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 17,
      "name": "readOptions",
      "signature": "export const readOptions = function readOptions(argv: ParsedArgv): ViewportOptions | null {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 18,
      "name": "outDir",
      "signature": "const outDir = flagValue(argv, \"--out-dir\");"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 35,
      "name": "path",
      "signature": "const path = page.split(sep).join(ROUTE_SEPARATOR);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 43,
      "name": "name",
      "signature": "const name ="
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 50,
      "name": "FAILING_LISTS",
      "signature": "const FAILING_LISTS = [\"overflow\", \"inputs\", \"text\", \"targets\"] as const;"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 56,
      "name": "textsAt",
      "signature": "const textsAt = function textsAt(record: Record<string, unknown>, key: string): readonly string[] | null {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 57,
      "name": "value",
      "signature": "const value = record[key];"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 65,
      "name": "clipped",
      "signature": "const clipped = textsAt(value, \"clipped\");"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 66,
      "name": "inputs",
      "signature": "const inputs = textsAt(value, \"inputs\");"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 67,
      "name": "overflow",
      "signature": "const overflow = textsAt(value, \"overflow\");"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 68,
      "name": "targets",
      "signature": "const targets = textsAt(value, \"targets\");"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 69,
      "name": "text",
      "signature": "const text = textsAt(value, \"text\");"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 87,
      "name": "hasFinding",
      "signature": "export const hasFinding = function hasFinding(audit: ViewportAudit): boolean {"
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/scripts#file-scripts-core-converters-viewport-converter-ts",
  "language": "typescript",
  "layer": "processing",
  "name": "viewport.converter.ts",
  "path": "core/converters/viewport.converter.ts",
  "ref": "anatomy:file-scripts-core-converters-viewport-converter-ts",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/scripts#folder-scripts-core-converters",
          "json": "https://banes-lab.com/json/anatomy/scripts/folder-scripts-core-converters",
          "label": "core/converters",
          "markdown": "https://banes-lab.com/anatomy/scripts/folder-scripts-core-converters.md",
          "ref": "chapter:/anatomy/scripts#folder-scripts-core-converters"
        }
      ],
      "relation": "contained-in"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/scripts#file-scripts-core-coordinators-viewport-coordinator-ts",
          "json": "https://banes-lab.com/json/source/scripts/core/coordinators/viewport.coordinator.ts",
          "label": "core/coordinators/viewport.coordinator.ts",
          "markdown": "https://banes-lab.com/source/scripts/core/coordinators/viewport.coordinator.ts.md",
          "ref": "anatomy:file-scripts-core-coordinators-viewport-coordinator-ts"
        },
        {
          "href": "https://banes-lab.com/anatomy/scripts#file-scripts-core-loaders-viewport-loader-ts",
          "json": "https://banes-lab.com/json/source/scripts/core/loaders/viewport.loader.ts",
          "label": "core/loaders/viewport.loader.ts",
          "markdown": "https://banes-lab.com/source/scripts/core/loaders/viewport.loader.ts.md",
          "ref": "anatomy:file-scripts-core-loaders-viewport-loader-ts"
        },
        {
          "href": "https://banes-lab.com/anatomy/scripts#file-scripts-core-selectors-manifest-selector-ts",
          "json": "https://banes-lab.com/json/source/scripts/core/selectors/manifest.selector.ts",
          "label": "core/selectors/manifest.selector.ts",
          "markdown": "https://banes-lab.com/source/scripts/core/selectors/manifest.selector.ts.md",
          "ref": "anatomy:file-scripts-core-selectors-manifest-selector-ts"
        },
        {
          "href": "https://banes-lab.com/anatomy/scripts#file-scripts-core-selectors-rate-selector-ts",
          "json": "https://banes-lab.com/json/source/scripts/core/selectors/rate.selector.ts",
          "label": "core/selectors/rate.selector.ts",
          "markdown": "https://banes-lab.com/source/scripts/core/selectors/rate.selector.ts.md",
          "ref": "anatomy:file-scripts-core-selectors-rate-selector-ts"
        }
      ],
      "relation": "used-by"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/scripts#folder-scripts-core-converters",
          "json": "https://banes-lab.com/json/anatomy/scripts/folder-scripts-core-converters",
          "label": "core/converters",
          "markdown": "https://banes-lab.com/anatomy/scripts/folder-scripts-core-converters.md",
          "ref": "chapter:/anatomy/scripts#folder-scripts-core-converters"
        },
        {
          "href": "https://banes-lab.com/anatomy/scripts#folder-scripts-core-coordinators",
          "json": "https://banes-lab.com/json/anatomy/scripts/folder-scripts-core-coordinators",
          "label": "core/coordinators",
          "markdown": "https://banes-lab.com/anatomy/scripts/folder-scripts-core-coordinators.md",
          "ref": "chapter:/anatomy/scripts#folder-scripts-core-coordinators"
        },
        {
          "href": "https://banes-lab.com/anatomy/scripts#folder-scripts-core-loaders",
          "json": "https://banes-lab.com/json/anatomy/scripts/folder-scripts-core-loaders",
          "label": "core/loaders",
          "markdown": "https://banes-lab.com/anatomy/scripts/folder-scripts-core-loaders.md",
          "ref": "chapter:/anatomy/scripts#folder-scripts-core-loaders"
        },
        {
          "href": "https://banes-lab.com/anatomy/scripts#folder-scripts-core-selectors",
          "json": "https://banes-lab.com/json/anatomy/scripts/folder-scripts-core-selectors",
          "label": "core/selectors",
          "markdown": "https://banes-lab.com/anatomy/scripts/folder-scripts-core-selectors.md",
          "ref": "chapter:/anatomy/scripts#folder-scripts-core-selectors"
        }
      ],
      "relation": "linked-from"
    }
  ],
  "slots": {
    "concern": "converter",
    "subject": "viewport",
    "variant": null
  },
  "stats": {
    "bytes": 3288,
    "callable": 7,
    "definitions": 17,
    "edges": 1,
    "exported": 13,
    "files": 1,
    "findings": {},
    "flows": {
      "leaf": 3,
      "entry": 1,
      "isolated": 13
    },
    "lines": {
      "blank": 8,
      "code": 81,
      "total": 89
    }
  },
  "summary": "81 lines of code and 17 definitions.",
  "text": "https://banes-lab.com/source/scripts/core/converters/viewport.converter.ts.txt",
  "tree": "scripts",
  "siblings": {
    "next": null,
    "previous": {
      "href": "https://banes-lab.com/anatomy/scripts#file-scripts-core-converters-snapshot-converter-ts",
      "json": "https://banes-lab.com/json/source/scripts/core/converters/snapshot.converter.ts",
      "label": "core/converters/snapshot.converter.ts",
      "markdown": "https://banes-lab.com/source/scripts/core/converters/snapshot.converter.ts.md",
      "ref": "anatomy:file-scripts-core-converters-snapshot-converter-ts"
    }
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/source/scripts/core/converters",
    "label": "core/converters",
    "markdown": "https://banes-lab.com/api/source/scripts/core/converters.md",
    "ref": "api:source/scripts/core/converters"
  }
}
