{"version":3,"file":"code.mjs","sources":["../../../../../../node_modules/markdown-it/lib/rules_block/code.mjs"],"sourcesContent":["// Code block (4 spaces padded)\n\nexport default function code (state, startLine, endLine/*, silent */) {\n  if (state.sCount[startLine] - state.blkIndent < 4) { return false }\n\n  let nextLine = startLine + 1\n  let last = nextLine\n\n  while (nextLine < endLine) {\n    if (state.isEmpty(nextLine)) {\n      nextLine++\n      continue\n    }\n\n    if (state.sCount[nextLine] - state.blkIndent >= 4) {\n      nextLine++\n      last = nextLine\n      continue\n    }\n    break\n  }\n\n  state.line = last\n\n  const token   = state.push('code_block', 'code', 0)\n  token.content = state.getLines(startLine, last, 4 + state.blkIndent, false) + '\\n'\n  token.map     = [startLine, state.line]\n\n  return true\n}\n"],"names":["code","state","startLine","endLine","nextLine","last","token"],"mappings":"AAEe,SAASA,EAAMC,GAAOC,GAAWC,GAAsB;AACpE,MAAIF,EAAM,OAAOC,CAAS,IAAID,EAAM,YAAY;AAAK,WAAO;AAE5D,MAAIG,IAAWF,IAAY,GACvBG,IAAOD;AAEX,SAAOA,IAAWD,KAAS;AACzB,QAAIF,EAAM,QAAQG,CAAQ,GAAG;AAC3B,MAAAA;AACA;AAAA,IACF;AAEA,QAAIH,EAAM,OAAOG,CAAQ,IAAIH,EAAM,aAAa,GAAG;AACjD,MAAAG,KACAC,IAAOD;AACP;AAAA,IACF;AACA;AAAA,EACF;AAEA,EAAAH,EAAM,OAAOI;AAEb,QAAMC,IAAUL,EAAM,KAAK,cAAc,QAAQ,CAAC;AAClD,SAAAK,EAAM,UAAUL,EAAM,SAASC,GAAWG,GAAM,IAAIJ,EAAM,WAAW,EAAK,IAAI;AAAA,GAC9EK,EAAM,MAAU,CAACJ,GAAWD,EAAM,IAAI,GAE/B;AACT;","x_google_ignoreList":[0]}