{"version":3,"sources":["../../../src/server/lib/install-code-frame.ts"],"sourcesContent":["/**\n * Installs code frame rendering support by injecting the renderer into patch-error-inspect.\n * This uses dependency injection to avoid hard dependencies on native bindings in runtime code.\n *\n * Should be called early in dev/build initialization, after native bindings are loaded.\n */\nexport function installCodeFrameSupport(): void {\n  const { setCodeFrameRenderer } =\n    require('../patch-error-inspect') as typeof import('../patch-error-inspect')\n  const { getOriginalCodeFrame } =\n    require('../../next-devtools/server/shared') as typeof import('../../next-devtools/server/shared')\n  setCodeFrameRenderer(getOriginalCodeFrame)\n}\n"],"names":["installCodeFrameSupport","setCodeFrameRenderer","require","getOriginalCodeFrame"],"mappings":"AAAA;;;;;CAKC;;;;+BACeA;;;eAAAA;;;AAAT,SAASA;IACd,MAAM,EAAEC,oBAAoB,EAAE,GAC5BC,QAAQ;IACV,MAAM,EAAEC,oBAAoB,EAAE,GAC5BD,QAAQ;IACVD,qBAAqBE;AACvB","ignoreList":[0]}