{
  "definitions": [
    {
      "callable": true,
      "callees": [
        {
          "file": "core/evaluators/card.evaluator.ts",
          "name": "resolveCard",
          "source": {
            "href": "https://banes-lab.com/anatomy/social-share#file-social-share-core-evaluators-card-evaluator-ts",
            "json": "https://banes-lab.com/json/source/social-share/core/evaluators/card.evaluator.ts",
            "label": "core/evaluators/card.evaluator.ts",
            "markdown": "https://banes-lab.com/source/social-share/core/evaluators/card.evaluator.ts.md",
            "ref": "anatomy:file-social-share-core-evaluators-card-evaluator-ts"
          }
        },
        {
          "file": "runtime/entrypoints/stage.entrypoint.ts",
          "name": "nextPaint",
          "source": {
            "href": "https://banes-lab.com/anatomy/social-share#file-social-share-runtime-entrypoints-stage-entrypoint-ts",
            "json": "https://banes-lab.com/json/source/social-share/runtime/entrypoints/stage.entrypoint.ts",
            "label": "runtime/entrypoints/stage.entrypoint.ts",
            "markdown": "https://banes-lab.com/source/social-share/runtime/entrypoints/stage.entrypoint.ts.md",
            "ref": "anatomy:file-social-share-runtime-entrypoints-stage-entrypoint-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "runtime/entrypoints/stage.entrypoint.ts",
          "name": "showCapture",
          "source": {
            "href": "https://banes-lab.com/anatomy/social-share#file-social-share-runtime-entrypoints-stage-entrypoint-ts",
            "json": "https://banes-lab.com/json/source/social-share/runtime/entrypoints/stage.entrypoint.ts",
            "label": "runtime/entrypoints/stage.entrypoint.ts",
            "markdown": "https://banes-lab.com/source/social-share/runtime/entrypoints/stage.entrypoint.ts.md",
            "ref": "anatomy:file-social-share-runtime-entrypoints-stage-entrypoint-ts"
          }
        }
      ],
      "exported": false,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 45,
      "name": "render",
      "signature": "const render = async (index: number): Promise<boolean> => {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/timers/stage.timer.ts",
          "name": "settle",
          "source": {
            "href": "https://banes-lab.com/anatomy/social-share#file-social-share-core-timers-stage-timer-ts",
            "json": "https://banes-lab.com/json/source/social-share/core/timers/stage.timer.ts",
            "label": "core/timers/stage.timer.ts",
            "markdown": "https://banes-lab.com/source/social-share/core/timers/stage.timer.ts.md",
            "ref": "anatomy:file-social-share-core-timers-stage-timer-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "runtime/entrypoints/stage.entrypoint.ts",
          "name": "render",
          "source": {
            "href": "https://banes-lab.com/anatomy/social-share#file-social-share-runtime-entrypoints-stage-entrypoint-ts",
            "json": "https://banes-lab.com/json/source/social-share/runtime/entrypoints/stage.entrypoint.ts",
            "label": "runtime/entrypoints/stage.entrypoint.ts",
            "markdown": "https://banes-lab.com/source/social-share/runtime/entrypoints/stage.entrypoint.ts.md",
            "ref": "anatomy:file-social-share-runtime-entrypoints-stage-entrypoint-ts"
          }
        }
      ],
      "exported": false,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 31,
      "name": "nextPaint",
      "signature": "const nextPaint = async function nextPaint(): Promise<void> {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "runtime/entrypoints/stage.entrypoint.ts",
          "name": "render",
          "source": {
            "href": "https://banes-lab.com/anatomy/social-share#file-social-share-runtime-entrypoints-stage-entrypoint-ts",
            "json": "https://banes-lab.com/json/source/social-share/runtime/entrypoints/stage.entrypoint.ts",
            "label": "runtime/entrypoints/stage.entrypoint.ts",
            "markdown": "https://banes-lab.com/source/social-share/runtime/entrypoints/stage.entrypoint.ts.md",
            "ref": "anatomy:file-social-share-runtime-entrypoints-stage-entrypoint-ts"
          }
        }
      ],
      "callers": [],
      "exported": false,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 41,
      "name": "showCapture",
      "signature": "const showCapture = async function showCapture(host: HTMLElement, spec: CardSpec, profile: Profile): Promise<void> {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 27,
      "name": "messageOf",
      "signature": "const messageOf = function messageOf(failure: unknown): string {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 43,
      "name": "mounted",
      "signature": "const mounted = mountCard(host, resolveCard(spec, profile, spec.timeline.keyFrame));"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 58,
      "name": "captureTarget",
      "signature": "const captureTarget = function captureTarget(query: URLSearchParams): { spec: CardSpec; profile: Profile } {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 59,
      "name": "card",
      "signature": "const card = query.get(CARD_PARAMETER) ?? \"\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 60,
      "name": "profileId",
      "signature": "const profileId = query.get(PROFILE_PARAMETER) ?? \"\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 61,
      "name": "captured",
      "signature": "const captured = getCard(card);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 65,
      "name": "profile",
      "signature": "const profile = PROFILES.find((candidate) => candidate.id === profileId);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 72,
      "name": "host",
      "signature": "const host = document.getElementById(STAGE_ID);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 76,
      "name": "query",
      "signature": "const query = new URLSearchParams(window.location.search);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 79,
      "name": "target",
      "signature": "const target = captureTarget(query);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 86,
      "name": "loaded",
      "signature": "const loaded = loadCards();"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 87,
      "name": "findings",
      "signature": "const findings = validateCards(loaded.cards, loaded.plugins, {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 93,
      "name": "stopGrid",
      "signature": "const stopGrid = renderGrid(host, loaded.cards, loaded.pages, findings);"
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/social-share#file-social-share-runtime-entrypoints-stage-entrypoint-ts",
  "language": "typescript",
  "layer": "runtime",
  "name": "stage.entrypoint.ts",
  "path": "runtime/entrypoints/stage.entrypoint.ts",
  "ref": "anatomy:file-social-share-runtime-entrypoints-stage-entrypoint-ts",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/social-share#folder-social-share-runtime-entrypoints",
          "json": "https://banes-lab.com/json/anatomy/social-share/folder-social-share-runtime-entrypoints",
          "label": "runtime/entrypoints",
          "markdown": "https://banes-lab.com/anatomy/social-share/folder-social-share-runtime-entrypoints.md",
          "ref": "chapter:/anatomy/social-share#folder-social-share-runtime-entrypoints"
        }
      ],
      "relation": "contained-in"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/social-share#file-social-share-core-evaluators-card-evaluator-ts",
          "json": "https://banes-lab.com/json/source/social-share/core/evaluators/card.evaluator.ts",
          "label": "core/evaluators/card.evaluator.ts",
          "markdown": "https://banes-lab.com/source/social-share/core/evaluators/card.evaluator.ts.md",
          "ref": "anatomy:file-social-share-core-evaluators-card-evaluator-ts"
        },
        {
          "href": "https://banes-lab.com/anatomy/social-share#file-social-share-core-timers-stage-timer-ts",
          "json": "https://banes-lab.com/json/source/social-share/core/timers/stage.timer.ts",
          "label": "core/timers/stage.timer.ts",
          "markdown": "https://banes-lab.com/source/social-share/core/timers/stage.timer.ts.md",
          "ref": "anatomy:file-social-share-core-timers-stage-timer-ts"
        }
      ],
      "relation": "uses"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/social-share#folder-social-share-core-evaluators",
          "json": "https://banes-lab.com/json/anatomy/social-share/folder-social-share-core-evaluators",
          "label": "core/evaluators",
          "markdown": "https://banes-lab.com/anatomy/social-share/folder-social-share-core-evaluators.md",
          "ref": "chapter:/anatomy/social-share#folder-social-share-core-evaluators"
        },
        {
          "href": "https://banes-lab.com/anatomy/social-share#folder-social-share-core-timers",
          "json": "https://banes-lab.com/json/anatomy/social-share/folder-social-share-core-timers",
          "label": "core/timers",
          "markdown": "https://banes-lab.com/anatomy/social-share/folder-social-share-core-timers.md",
          "ref": "chapter:/anatomy/social-share#folder-social-share-core-timers"
        },
        {
          "href": "https://banes-lab.com/anatomy/social-share#folder-social-share-runtime-entrypoints",
          "json": "https://banes-lab.com/json/anatomy/social-share/folder-social-share-runtime-entrypoints",
          "label": "runtime/entrypoints",
          "markdown": "https://banes-lab.com/anatomy/social-share/folder-social-share-runtime-entrypoints.md",
          "ref": "chapter:/anatomy/social-share#folder-social-share-runtime-entrypoints"
        }
      ],
      "relation": "linked-from"
    }
  ],
  "slots": {
    "concern": "entrypoint",
    "subject": "stage",
    "variant": null
  },
  "stats": {
    "bytes": 3720,
    "callable": 5,
    "definitions": 16,
    "edges": 4,
    "exported": 0,
    "files": 1,
    "findings": {},
    "flows": {
      "relay": 2,
      "entry": 1,
      "isolated": 13
    },
    "lines": {
      "blank": 5,
      "code": 90,
      "total": 95
    }
  },
  "summary": "90 lines of code and 16 definitions.",
  "text": "https://banes-lab.com/source/social-share/runtime/entrypoints/stage.entrypoint.ts.txt",
  "tree": "social-share",
  "siblings": {
    "next": {
      "href": "https://banes-lab.com/anatomy/social-share#file-social-share-runtime-entrypoints-validation-entrypoint-ts",
      "json": "https://banes-lab.com/json/source/social-share/runtime/entrypoints/validation.entrypoint.ts",
      "label": "runtime/entrypoints/validation.entrypoint.ts",
      "markdown": "https://banes-lab.com/source/social-share/runtime/entrypoints/validation.entrypoint.ts.md",
      "ref": "anatomy:file-social-share-runtime-entrypoints-validation-entrypoint-ts"
    },
    "previous": {
      "href": "https://banes-lab.com/anatomy/social-share#file-social-share-runtime-entrypoints-card-entrypoint-ts",
      "json": "https://banes-lab.com/json/source/social-share/runtime/entrypoints/card.entrypoint.ts",
      "label": "runtime/entrypoints/card.entrypoint.ts",
      "markdown": "https://banes-lab.com/source/social-share/runtime/entrypoints/card.entrypoint.ts.md",
      "ref": "anatomy:file-social-share-runtime-entrypoints-card-entrypoint-ts"
    }
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/source/social-share/runtime/entrypoints",
    "label": "runtime/entrypoints",
    "markdown": "https://banes-lab.com/api/source/social-share/runtime/entrypoints.md",
    "ref": "api:source/social-share/runtime/entrypoints"
  }
}
