[{"data":1,"prerenderedAt":4918},["ShallowReactive",2],{"msfe-doc:\u002Fen\u002Fguide\u002Fexport-nodes":3,"msfe-source:export-nodes\u002Fnative.ts":878,"msfe-source:export-nodes\u002Fimage.ts":879,"mdc--r0xwm7-key":880,"mdc--vdunua-key":3357},{"id":4,"title":5,"body":6,"description":861,"extension":862,"keywords":863,"locale":870,"meta":871,"navigation":370,"order":872,"path":873,"section":874,"seo":875,"stem":876,"__hash__":877},"docs\u002Fguide\u002Fexport-nodes.en.md","Export custom nodes to Word, PDF and OFD",{"type":7,"value":8,"toc":849},"minimark",[9,24,29,36,85,94,98,174,177,181,218,236,240,243,272,287,291,304,479,499,503,523,616,659,665,669,684,687,708,726,731,745,749,814,825,829,832,842,845],[10,11,12,13,17,18,23],"p",{},"Export adapters read a Markdown snapshot independently of your Vue\u002FReact node views. Screen appearance\ndoes not enter a file automatically: provide an explicit printable representation. Word, PDF and OFD can\nshare the same ",[14,15,16],"code",{},"extensions",". See ",[19,20,22],"a",{"href":21},"\u002Fen\u002Fguide\u002Fmd-editor#export-templates","MD Editor"," for template selection.",[25,26,28],"h2",{"id":27},"quire-render-and-multi-format-export","Quire Render and multi-format export",[10,30,31,35],{},[32,33,34],"strong",{},"Quire Render"," is QuireKit's unified rendering engine. Word, PDF and OFD first share semantic node\nconversion and templates. Word compiles editable DOCX, while PDF\u002FOFD uses Classic pagination and\npasses each page's content to the corresponding Quire Render backend.",[37,38,39,52],"table",{},[40,41,42],"thead",{},[43,44,45,49],"tr",{},[46,47,48],"th",{},"Name",[46,50,51],{},"Responsibility",[53,54,55,66,77],"tbody",{},[43,56,57,63],{},[58,59,60],"td",{},[14,61,62],{},"qkView",[58,64,65],{},"Compose declarative components and resolve their local layout",[43,67,68,71],{},[58,69,70],{},"Quire Display List",[58,72,73,74],{},"Represent text, paths, images and clipping with ",[14,75,76],{},"QuireDisplayList",[43,78,79,82],{},[58,80,81],{},"Render Backend",[58,83,84],{},"Output drawing commands to Canvas, SVG, PDF or OFD",[10,86,87,88,90,91,93],{},"A dedicated layout engine owns document pagination; ",[14,89,62],{}," is one way to produce drawing commands.\nMarkdown export still uses the native-content or image conversions below. Vue\u002FDOM views and ",[14,92,62],{},"\ninteractive controls do not automatically become Word or fixed-layout content. Font, resource and\nloss handling remain specific to each backend.",[25,95,97],{"id":96},"choose-a-representation","Choose a representation",[37,99,100,116],{},[40,101,102],{},[43,103,104,107,110,113],{},[46,105,106],{},"Requirement",[46,108,109],{},"Converter output",[46,111,112],{},"Word",[46,114,115],{},"PDF \u002F OFD",[53,117,118,132,146,160],{},[43,119,120,123,126,129],{},[58,121,122],{},"Callouts, business cards and readable fields",[58,124,125],{},"Native paragraphs, lists, tables, shading and borders",[58,127,128],{},"Editable text",[58,130,131],{},"Selectable text with Classic pagination",[43,133,134,137,140,143],{},[58,135,136],{},"Charts or complex graphics",[58,138,139],{},"Host-rendered PNG\u002FJPEG",[58,141,142],{},"Image, optionally with recovery metadata",[58,144,145],{},"Image, proportionally fitted to available width and height",[43,147,148,151,154,157],{},[58,149,150],{},"Recover business data on import",[58,152,153],{},"Versioned Custom XML metadata with visible content",[58,155,156],{},"Restored after validation",[58,158,159],{},"This recovery data is not saved",[43,161,162,165,168,171],{},[58,163,164],{},"Custom PDF\u002FOFD vector drawing or pagination",[58,166,167],{},"No dedicated public API yet",[58,169,170],{},"—",[58,172,173],{},"Requires a separate extension to shared layout",[10,175,176],{},"PDF\u002FOFD consumes visible LitAST understood by the existing Classic assembly. It does not execute DOCX\npackage passes or install arbitrary third-party Classic schemas. Private XML or an unknown LitAST\nnode type alone cannot make a custom node appear in PDF\u002FOFD.",[25,178,180],{"id":179},"conversion-lifecycle","Conversion lifecycle",[182,183,184,191,197,215],"ol",{},[185,186,187,190],"li",{},[14,188,189],{},"parse(source, next)"," extends parsing only when new Markdown syntax is needed. Existing code fences need no new parser.",[185,192,193,196],{},[14,194,195],{},"prepare(root, context)"," validates data, acquires resources and creates temporary nodes. Complete asynchronous work here.",[185,198,199,202,203,206,207,210,211,214],{},[14,200,201],{},"addDocx()"," returns the same ",[14,204,205],{},"docx.codec.node()"," contributions used by Classic. ",[14,208,209],{},"convertChildren"," reuses standard conversion;\n",[14,212,213],{},"resolveService(markdownExportTemplateService)"," reads the current resolved template.",[185,216,217],{},"Shared presentation constrains tables, images and margins. Word compiles a DOCX; PDF\u002FOFD imports a temporary Classic document for pagination and encoding.",[10,219,220,221,224,225,227,228,231,232,235],{},"Each ",[14,222,223],{},"modelType"," has one conversion owner. Avoid claiming every ",[14,226,14],{}," node and dropping unfamiliar\nlanguages. This recipe first converts validated ",[14,229,230],{},"approval-card"," fences into ",[14,233,234],{},"exampleApprovalCard",";\nordinary code keeps its standard converter.",[25,237,239],{"id":238},"a-native-business-card","A native business card",[10,241,242],{},"This is an independent export recipe. It does not install a new editor view or insertion menu.\nBusiness data is stored in an ordinary fence:",[244,245,250],"pre",{"className":246,"code":247,"language":248,"meta":249,"style":249},"language-markdown shiki shiki-themes github-light github-light github-dark","```approval-card\n{\"title\":\"Approval card\",\"paragraphs\":[\"Review release scope.\",\"Confirm rollback plan.\"]}\n```\n","markdown","",[14,251,252,260,266],{"__ignoreMap":249},[253,254,257],"span",{"class":255,"line":256},"line",1,[253,258,259],{},"```approval-card\n",[253,261,263],{"class":255,"line":262},2,[253,264,265],{},"{\"title\":\"Approval card\",\"paragraphs\":[\"Review release scope.\",\"Confirm rollback plan.\"]}\n",[253,267,269],{"class":255,"line":268},3,[253,270,271],{},"```\n",[10,273,274,275,278,279,282,283,286],{},"The complete implementation uses public package exports. TypeScript consumers need ",[14,276,277],{},"@types\u002Fmdast","\nand declare their temporary node with ",[14,280,281],{},"declare module 'mdast'",". The card uses ",[14,284,285],{},"containers.note"," from\nthe selected template. Cell margins use native twips and border width uses eighth-points; the shared\nexport pipeline owns paragraph styles, fonts and pagination.",[288,289],"msfe-recipe",{"name":290},"export-nodes\u002Fnative",[10,292,293,296,297,300,301,303],{},[14,294,295],{},"title"," and ",[14,298,299],{},"paragraphs"," contain plain text. Fields, lengths and counts are bounded; invalid input\nstays as code with a diagnostic. Long cards may split across pages without fixed row heights.\nFor rich content, define a clear child-node contract and use ",[14,302,209],{},"; do not interpolate\nuser HTML into XML.",[244,305,309],{"className":306,"code":307,"language":308,"meta":249,"style":249},"language-ts shiki shiki-themes github-light github-light github-dark","import { exportMarkdownDocx } from '@quirekit\u002Fmarkdown-docx'\nimport { exportMarkdownPdf } from '@quirekit\u002Fmd-editor-export\u002Fpdf'\nimport { createApprovalCardExtension } from '.\u002Fexport-nodes\u002Fnative'\nimport { approvalCardMarkdown } from '.\u002Fexport-nodes\u002Fdata'\n\nconst markdown = approvalCardMarkdown({ title: 'Approval card', paragraphs: ['Ready for review.'] })\nconst extensions = [createApprovalCardExtension()]\nconst template = { fonts: { body: { latin: 'Arial' } } }\nconst word = await exportMarkdownDocx(markdown, { extensions, template })\nconst pdf = await exportMarkdownPdf(markdown, { extensions, template, ownerDocument: document })\n","ts",[14,310,311,328,340,352,365,372,404,423,442,461],{"__ignoreMap":249},[253,312,313,317,321,324],{"class":255,"line":256},[253,314,316],{"class":315},"sDD9d","import",[253,318,320],{"class":319},"sVPnS"," { exportMarkdownDocx } ",[253,322,323],{"class":315},"from",[253,325,327],{"class":326},"s-HEn"," '@quirekit\u002Fmarkdown-docx'\n",[253,329,330,332,335,337],{"class":255,"line":262},[253,331,316],{"class":315},[253,333,334],{"class":319}," { exportMarkdownPdf } ",[253,336,323],{"class":315},[253,338,339],{"class":326}," '@quirekit\u002Fmd-editor-export\u002Fpdf'\n",[253,341,342,344,347,349],{"class":255,"line":268},[253,343,316],{"class":315},[253,345,346],{"class":319}," { createApprovalCardExtension } ",[253,348,323],{"class":315},[253,350,351],{"class":326}," '.\u002Fexport-nodes\u002Fnative'\n",[253,353,355,357,360,362],{"class":255,"line":354},4,[253,356,316],{"class":315},[253,358,359],{"class":319}," { approvalCardMarkdown } ",[253,361,323],{"class":315},[253,363,364],{"class":326}," '.\u002Fexport-nodes\u002Fdata'\n",[253,366,368],{"class":255,"line":367},5,[253,369,371],{"emptyLinePlaceholder":370},true,"\n",[253,373,375,378,382,385,389,392,395,398,401],{"class":255,"line":374},6,[253,376,377],{"class":315},"const",[253,379,381],{"class":380},"sUNQB"," markdown",[253,383,384],{"class":315}," =",[253,386,388],{"class":387},"sgQzM"," approvalCardMarkdown",[253,390,391],{"class":319},"({ title: ",[253,393,394],{"class":326},"'Approval card'",[253,396,397],{"class":319},", paragraphs: [",[253,399,400],{"class":326},"'Ready for review.'",[253,402,403],{"class":319},"] })\n",[253,405,407,409,412,414,417,420],{"class":255,"line":406},7,[253,408,377],{"class":315},[253,410,411],{"class":380}," extensions",[253,413,384],{"class":315},[253,415,416],{"class":319}," [",[253,418,419],{"class":387},"createApprovalCardExtension",[253,421,422],{"class":319},"()]\n",[253,424,426,428,431,433,436,439],{"class":255,"line":425},8,[253,427,377],{"class":315},[253,429,430],{"class":380}," template",[253,432,384],{"class":315},[253,434,435],{"class":319}," { fonts: { body: { latin: ",[253,437,438],{"class":326},"'Arial'",[253,440,441],{"class":319}," } } }\n",[253,443,445,447,450,452,455,458],{"class":255,"line":444},9,[253,446,377],{"class":315},[253,448,449],{"class":380}," word",[253,451,384],{"class":315},[253,453,454],{"class":315}," await",[253,456,457],{"class":387}," exportMarkdownDocx",[253,459,460],{"class":319},"(markdown, { extensions, template })\n",[253,462,464,466,469,471,473,476],{"class":255,"line":463},10,[253,465,377],{"class":315},[253,467,468],{"class":380}," pdf",[253,470,384],{"class":315},[253,472,454],{"class":315},[253,474,475],{"class":387}," exportMarkdownPdf",[253,477,478],{"class":319},"(markdown, { extensions, template, ownerDocument: document })\n",[10,480,481,482,486,487,490,491,494,495,498],{},"This minimal call uses Latin text. For Chinese or custom fonts, supply embeddable bytes and load\nmatching measurement faces as described in ",[19,483,485],{"href":484},"\u002Fen\u002Fguide\u002Fmd-editor#pdf-and-ofd-export","PDF and OFD export",".\n",[14,488,489],{},"word.data"," \u002F ",[14,492,493],{},"pdf.data"," contain download bytes and ",[14,496,497],{},"diagnostics"," contains the report. The code does\nnot download files or mutate an editor itself.",[25,500,502],{"id":501},"reuse-the-converter-for-ofd","Reuse the converter for OFD",[10,504,505,506,509,510,513,514,516,517,296,519,522],{},"The ",[14,507,508],{},"\u002Fofd"," entry of the commercial ",[14,511,512],{},"@quirekit\u002Fmd-editor-export"," package shares temporary document\npreparation and Classic pagination with PDF, then encodes OFD directly. Reuse the ",[14,515,248],{},",\n",[14,518,16],{},[14,520,521],{},"template"," above with explicit host fonts:",[244,524,526],{"className":306,"code":525,"language":308,"meta":249,"style":249},"import { exportMarkdownOfd, type MarkdownOfdOptions } from '@quirekit\u002Fmd-editor-export\u002Fofd'\n\nasync function exportCardOfd(fonts: NonNullable\u003CMarkdownOfdOptions['fonts']>, ownerDocument: Document) {\n  return exportMarkdownOfd(markdown, { extensions, template, fonts, ownerDocument })\n}\n",[14,527,528,546,550,600,611],{"__ignoreMap":249},[253,529,530,532,535,538,541,543],{"class":255,"line":256},[253,531,316],{"class":315},[253,533,534],{"class":319}," { exportMarkdownOfd, ",[253,536,537],{"class":315},"type",[253,539,540],{"class":319}," MarkdownOfdOptions } ",[253,542,323],{"class":315},[253,544,545],{"class":326}," '@quirekit\u002Fmd-editor-export\u002Fofd'\n",[253,547,548],{"class":255,"line":262},[253,549,371],{"emptyLinePlaceholder":370},[253,551,552,555,558,561,564,568,571,574,577,580,583,586,589,592,594,597],{"class":255,"line":268},[253,553,554],{"class":315},"async",[253,556,557],{"class":315}," function",[253,559,560],{"class":387}," exportCardOfd",[253,562,563],{"class":319},"(",[253,565,567],{"class":566},"sde8i","fonts",[253,569,570],{"class":315},":",[253,572,573],{"class":387}," NonNullable",[253,575,576],{"class":319},"\u003C",[253,578,579],{"class":387},"MarkdownOfdOptions",[253,581,582],{"class":319},"[",[253,584,585],{"class":326},"'fonts'",[253,587,588],{"class":319},"]>, ",[253,590,591],{"class":566},"ownerDocument",[253,593,570],{"class":315},[253,595,596],{"class":387}," Document",[253,598,599],{"class":319},") {\n",[253,601,602,605,608],{"class":255,"line":354},[253,603,604],{"class":315},"  return",[253,606,607],{"class":387}," exportMarkdownOfd",[253,609,610],{"class":319},"(markdown, { extensions, template, fonts, ownerDocument })\n",[253,612,613],{"class":255,"line":367},[253,614,615],{"class":319},"}\n",[10,617,618,619,516,622,625,626,629,630,633,634,637,638,641,642,645,646,296,649,651,652,296,655,658],{},"OFD has no PDF standard fonts: even Latin text requires complete TTF\u002FOTF bytes. The fonts' ",[14,620,621],{},"family",[14,623,624],{},"aliases"," or ",[14,627,628],{},"acceptedSubstitutions"," should cover the template, and the host must load the same physical\nfaces into the browser before measurement. Unicode subset embedding is the default;\n",[14,631,632],{},"fontEmbedding: 'full'"," embeds complete faces. Non-browser hosts supply ",[14,635,636],{},"textMeasurer"," and, for equations,\n",[14,639,640],{},"rasterizeFormula",". OFD returns ",[14,643,644],{},"data",", ",[14,647,648],{},"pageCount",[14,650,497],{},", with ",[14,653,654],{},"signal",[14,656,657],{},"lossPolicy",".",[10,660,661,662,664],{},"Native cards retain text; image nodes and equations remain images. DOCX Custom XML recovery data is\nnot included in OFD. Resource preparation, template width limits, failures and cancellation follow\nthe PDF contract below. See ",[19,663,485],{"href":484}," for font and reader boundaries.",[25,666,668],{"id":667},"image-nodes","Image nodes",[10,670,671,672,675,676,679,680,683],{},"This recipe renders a ",[14,673,674],{},"progress-chart"," fence containing a JSON array, such as ",[14,677,678],{},"[25,50,75]",", into a\nbounded PNG. It creates an offscreen canvas using an explicit ",[14,681,682],{},"Document",", without reading live\nnode views or requesting external resources. The renderer owns image colors and text. To follow\nan export template, pass its resolved colors and fonts to your own renderer.",[288,685],{"name":686},"export-nodes\u002Fimage",[10,688,689,690,693,694,696,697,700,701,703,704,707],{},"Create an ",[14,691,692],{},"AbortController"," for each export. Pass its ",[14,695,654],{}," to resource callbacks and PDF options.\nAdd ",[14,698,699],{},"createProgressChartExtension(document, controller.signal)"," to the shared ",[14,702,16],{},", then call\n",[14,705,706],{},"exportMarkdownPdf(markdown, { extensions, ownerDocument: document, signal: controller.signal })",",\nand abort when the dialog closes or document changes. A third-party renderer without cancellation\nsupport may keep computing; check the signal after it completes and discard stale results.\nWord hosts should also check the signal before publishing a result.",[10,709,710,713,714,717,718,721,722,725],{},[14,711,712],{},"render"," returns a valid PNG\u002FJPEG data URI. A ",[14,715,716],{},"null"," result, invalid data or thrown error retains the\noriginal code with ",[14,719,720],{},"code-image-unavailable",". Chart text is not individually selectable in PDF.\n",[14,723,724],{},"metadata: false"," disables Word source recovery and reports the loss. PDF only retains the visible\nimage even when the same converter has metadata enabled.",[727,728,730],"h3",{"id":729},"compose-with-mermaid","Compose with Mermaid",[10,732,733,734,737,738,740,741,744],{},"Multiple ",[14,735,736],{},"createMarkdownDocxCodeImageExtension"," instances claim the same temporary node type and\ncannot be registered separately. MD Editor replaces its builtin image converter with a same-name\nhost extension, so registering only ",[14,739,674],{}," also replaces its default Mermaid configuration.\nFor both languages, use one ",[14,742,743],{},"languages: ['mermaid', 'progress-chart']"," configuration and a dispatching\nrenderer. The host provides both implementations. Renaming an extension does not bypass node ownership.",[25,746,748],{"id":747},"install-in-md-editor","Install in MD Editor",[244,750,754],{"className":751,"code":752,"language":753,"meta":249,"style":249},"language-vue shiki shiki-themes github-light github-light github-dark","\u003CMdEditor :docx=\"{ extensions: [createApprovalCardExtension()] }\" :exporters=\"[mdPdfExport(), mdOfdExport()]\" \u002F>\n","vue",[14,755,756],{"__ignoreMap":249},[253,757,758,760,764,767,770,773,776,779,781,784,786,788,791,793,795,797,800,803,806,809,811],{"class":255,"line":256},[253,759,576],{"class":319},[253,761,763],{"class":762},"su0ou","MdEditor",[253,765,766],{"class":319}," :",[253,768,769],{"class":387},"docx",[253,771,772],{"class":319},"=",[253,774,775],{"class":326},"\"",[253,777,778],{"class":319},"{ extensions: [",[253,780,419],{"class":387},[253,782,783],{"class":319},"()] }",[253,785,775],{"class":326},[253,787,766],{"class":319},[253,789,790],{"class":387},"exporters",[253,792,772],{"class":319},[253,794,775],{"class":326},[253,796,582],{"class":319},[253,798,799],{"class":387},"mdPdfExport",[253,801,802],{"class":319},"(), ",[253,804,805],{"class":387},"mdOfdExport",[253,807,808],{"class":319},"()]",[253,810,775],{"class":326},[253,812,813],{"class":319}," \u002F>\n",[10,815,816,817,820,821,824],{},"Export plugins receive ",[14,818,819],{},"options"," that already contain the selected template and builtin\u002Fcustom\nconverters, so custom nodes use one converter for Word, PDF and OFD. ",[14,822,823],{},"docx.extensions"," does not\ninstall commercial PDF or OFD capability; formats that are not installed do not appear in the menu.\nFramework-neutral hosts call the format-specific export functions with the same template and converters explicitly.",[25,826,828],{"id":827},"recovery-diagnostics-and-acceptance","Recovery, diagnostics and acceptance",[10,830,831],{},"Word import verifies the visible-content fingerprint before the extension validates its payload\nversion and fields. When users edit Word text, images or relevant styles, retain their current\ncontent instead of restoring old business data. Missing extensions, invalid metadata and unknown\nversions also use visible fallback. Recovery restores validated business data; this recipe normalizes\nJSON formatting and does not promise byte-for-byte fence recovery.",[10,833,834,837,838,841],{},[14,835,836],{},"best-effort"," returns bytes and diagnostics. ",[14,839,840],{},"strict"," rejects any warning, including rounded-corner\napproximation, image projection or missing fonts. PDF does not promise source recovery; a Word\nmetadata diagnostic must not be interpreted as evidence that the PDF is reversible.",[10,843,844],{},"Before shipping a converter, verify ordinary nodes remain unchanged; failed resources retain content;\nreal DOCX\u002FPDF\u002FOFD files contain visible text or images; long content paginates and nested images fit;\ntemplates apply; cancellation cannot download an old result; and Word edits invalidate stale source.\nThe public recipes are exercised directly by their tests rather than copied into a second implementation.",[846,847,848],"style",{},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sDD9d, html code.shiki .sDD9d{--shiki-default:#D73A49;--shiki-light:#D73A49;--shiki-dark:#F97583}html pre.shiki code .sVPnS, html code.shiki .sVPnS{--shiki-default:#24292E;--shiki-light:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .s-HEn, html code.shiki .s-HEn{--shiki-default:#032F62;--shiki-light:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .sUNQB, html code.shiki .sUNQB{--shiki-default:#005CC5;--shiki-light:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .sgQzM, html code.shiki .sgQzM{--shiki-default:#6F42C1;--shiki-light:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sde8i, html code.shiki .sde8i{--shiki-default:#E36209;--shiki-light:#E36209;--shiki-dark:#FFAB70}html pre.shiki code .su0ou, html code.shiki .su0ou{--shiki-default:#22863A;--shiki-light:#22863A;--shiki-dark:#85E89D}",{"title":249,"searchDepth":262,"depth":262,"links":850},[851,852,853,854,855,856,859,860],{"id":27,"depth":262,"text":28},{"id":96,"depth":262,"text":97},{"id":179,"depth":262,"text":180},{"id":238,"depth":262,"text":239},{"id":501,"depth":262,"text":502},{"id":667,"depth":262,"text":668,"children":857},[858],{"id":729,"depth":268,"text":730},{"id":747,"depth":262,"text":748},{"id":827,"depth":262,"text":828},"Share native content conversion and image rendering, with templates, resource failures, cancellation and Word metadata recovery.","md",[864,865,112,866,867,868,869],"PDF","OFD","DOCX","addDocx","custom nodes","templates","en",{},12,"\u002Fen\u002Fguide\u002Fexport-nodes","Integration",{"title":5,"description":861},"guide\u002Fexport-nodes.en","sMCPVagcmBzvj7uJgqC-ji9G50iccw974AULi8au264","import { docx } from '@quirekit\u002Flit-docx';\nimport type { Nodes } from 'mdast';\nimport { markdownExportTemplateService, type MarkdownDocxExtension } from '@quirekit\u002Fmarkdown-docx';\nimport { defaultExportTemplate } from '@quirekit\u002Fexport-template';\nimport { approvalCardMarkdown, readApprovalCard } from '.\u002Fdata';\nimport type { ApprovalCardNode } from '.\u002Ftypes';\n\nconst tag = 'example:approval-card';\n\n\u002F** @returns A standalone converter shared by Word and PDF; no editor or browser required. *\u002F\nexport function createApprovalCardExtension(): MarkdownDocxExtension {\n  return {\n    name: 'example.approval-card',\n    prepare(root, context) {\n      \u002F\u002F Claim only validated fences. Invalid input remains ordinary code, with\n      \u002F\u002F a loss report; unrelated code and the caller's source are unchanged.\n      \u002F** @param node - Source subtree. @returns A fresh export-only projection. *\u002F\n      function visit(node: Nodes): Nodes {\n        if (node.type === 'code' && node.lang === 'approval-card') {\n          try {\n            if (node.value.length > 24_000) throw new Error('Card source exceeds its budget.');\n            const data = readApprovalCard(JSON.parse(node.value));\n            const card: ApprovalCardNode = { type: 'exampleApprovalCard', card: data, position: node.position,\n              children: data.paragraphs.map(text => ({ type: 'paragraph', children: [{ type: 'text', value: text }] })) };\n            return card;\n          } catch {\n            context.report({ code: 'approval-card-invalid', path: `\u002Fsource\u002F${node.position?.start.offset ?? 0}`,\n              severity: 'warning', disposition: 'approximated', message: 'Invalid card data was retained as source code.' });\n            return node;\n          }\n        }\n        return 'children' in node ? { ...node, children: node.children.map(visit) } as Nodes : node;\n      }\n      return { ...root, children: root.children.map(node => visit(node) as typeof node) };\n    },\n    addDocx: () => docx.codec.node\u003CNodes, never>({\n      id: 'example.approval-card', modelType: 'exampleApprovalCard',\n      export: { convert: ({ node, docx: api, convertChildren, resolveService }) => {\n        if (node.type !== 'exampleApprovalCard') throw new Error('Unexpected card node.');\n        \u002F\u002F Use the resolved template, then let the common projector constrain\n        \u002F\u002F the table width and Classic paginate it. Never set a fixed row height.\n        const style = (resolveService(markdownExportTemplateService) ?? defaultExportTemplate.style).containers.note;\n        const border = { val: style.border ? 'single' : 'nil', color: style.border?.color ?? 'auto',\n          sz: Math.round((style.border?.width ?? 0) * 8), space: 0 };\n        const padding = Math.round(style.padding * 20); \u002F\u002F Template pt → native cell twips.\n        const children = [api.blocks.paragraph({ properties: { keepNext: true },\n          children: [api.inline.text(node.card.title, { marks: [api.marks.bold()] })] }), ...convertChildren(node.children)];\n        const styled = children.map(child => ({ ...child, attrs: { ...child.attrs, styleId: 'QuireKitContainer_note' } }));\n        const cell = api.tables.cell({ children: styled, width: { value: 5000, type: 'pct' },\n          shading: { val: style.fill ? 'clear' : 'nil', fill: style.fill ?? 'auto' },\n          borders: { top: border, bottom: border, left: border, right: border } });\n        const table = api.tables.table({ width: { value: 5000, type: 'pct' }, rows: [api.tables.row({ cells: [\n          { ...cell, attrs: { ...cell.attrs, cellMargins: { top: padding, bottom: padding, left: padding, right: padding } } },\n        ] })] });\n        return [api.roundTrip.taggedBlock({ tag, alias: node.card.title, children: [table],\n          metadata: { version: 1, data: { title: node.card.title, paragraphs: [...node.card.paragraphs] } } })];\n      } },\n      import: { from: docx.roundTrip.matchTag(tag), creates: ['docxSource', 'paragraph', 'heading', 'list', 'blockquote', 'code', 'table', 'thematicBreak'],\n        convert: ({ node, docx: api, convertChildren, report }) => {\n          \u002F\u002F The shared codec first verifies visible-content fingerprints. Then\n          \u002F\u002F validate our own payload\u002Fversion; never resurrect stale Word text.\n          const metadata = api.roundTrip.readMetadata(node);\n          if (metadata?.version === 1) {\n            try { return [{ type: 'docxSource', value: approvalCardMarkdown(readApprovalCard(metadata.data)) }]; }\n            catch { \u002F* Invalid business data must use the current visible content. *\u002F }\n          }\n          report({ code: 'approval-card-source-unavailable', severity: 'warning', disposition: 'approximated',\n            message: 'Card metadata is unavailable; current visible content was retained.' });\n          const children = (node.children ?? []).flatMap(child => child.type === 'table' && child.children?.length === 1\n            && child.children[0]?.children?.length === 1 ? child.children[0].children[0]!.children ?? [] : [child]);\n          return convertChildren(children);\n        } },\n    }),\n  };\n}\n","import { createMarkdownDocxCodeImageExtension, type MarkdownDocxCodeImageRequest, type MarkdownDocxExtension } from '@quirekit\u002Fmarkdown-docx';\n\n\u002F**\n * Draws a bounded chart from source data without reading a mounted editor view.\n * @param request - A progress-chart fence containing a JSON number array.\n * @param ownerDocument - Explicit browser capability owned by this export.\n * @param signal - Cancellation of this export, not a global editor signal.\n * @returns A complete PNG data URI; malformed data throws for the shared source fallback.\n *\u002F\nexport async function renderProgressChart(request: MarkdownDocxCodeImageRequest, ownerDocument: Document, signal?: AbortSignal): Promise\u003Cstring> {\n  signal?.throwIfAborted();\n  if (request.language !== 'progress-chart' || request.value.length > 2000) throw new Error('Unsupported chart input.');\n  const values: unknown = JSON.parse(request.value);\n  if (!Array.isArray(values) || !values.length || values.length > 12\n    || values.some(value => typeof value !== 'number' || !Number.isFinite(value) || value \u003C 0 || value > 100)) throw new Error('Expected 1–12 values between 0 and 100.');\n  const canvas = ownerDocument.createElement('canvas');\n  \u002F\u002F Raster dimensions are fixed and bounded. The common exporter separately\n  \u002F\u002F fits this image to the current page\u002Fcell width without changing its ratio.\n  canvas.width = 1200; canvas.height = 480;\n  try {\n    const context = canvas.getContext('2d');\n    if (!context) throw new Error('Canvas 2D is unavailable.');\n    context.fillStyle = '#FFFFFF'; context.fillRect(0, 0, canvas.width, canvas.height);\n    context.fillStyle = '#172033'; context.font = 'bold 32px sans-serif'; context.fillText('Progress', 40, 52);\n    const step = 1120 \u002F values.length;\n    values.forEach((value: number, index: number) => {\n      const height = value * 3;\n      context.fillStyle = '#4F63D8'; context.fillRect(40 + step * index, 410 - height, step * .65, height);\n      context.fillStyle = '#172033'; context.font = '24px sans-serif'; context.fillText(String(value), 40 + step * index, 444);\n    });\n    signal?.throwIfAborted();\n    return canvas.toDataURL('image\u002Fpng');\n  } finally { canvas.width = 0; canvas.height = 0; }\n}\n\n\u002F**\n * Registers the image recipe for a standalone conversion operation.\n * @param ownerDocument - Browser capability used for offscreen rendering.\n * @param signal - Optional operation cancellation.\n * @param metadata - Word source recovery; PDF has no round-trip store.\n * @returns The one code-image owner. Merge other languages into its renderer when composing with Mermaid.\n *\u002F\nexport function createProgressChartExtension(ownerDocument: Document, signal?: AbortSignal, metadata = true): MarkdownDocxExtension {\n  return createMarkdownDocxCodeImageExtension({ languages: ['progress-chart'], metadata,\n    render: request => renderProgressChart(request, ownerDocument, signal) });\n}\n",{"data":881,"body":882},{},{"type":883,"children":884},"root",[885,3352],{"type":886,"tag":244,"props":887,"children":889},"element",{"className":306,"code":888,"language":308,"meta":249,"style":249},"import { docx } from '@quirekit\u002Flit-docx';\nimport type { Nodes } from 'mdast';\nimport { markdownExportTemplateService, type MarkdownDocxExtension } from '@quirekit\u002Fmarkdown-docx';\nimport { defaultExportTemplate } from '@quirekit\u002Fexport-template';\nimport { approvalCardMarkdown, readApprovalCard } from '.\u002Fdata';\nimport type { ApprovalCardNode } from '.\u002Ftypes';\n\nconst tag = 'example:approval-card';\n\n\u002F** @returns A standalone converter shared by Word and PDF; no editor or browser required. *\u002F\nexport function createApprovalCardExtension(): MarkdownDocxExtension {\n  return {\n    name: 'example.approval-card',\n    prepare(root, context) {\n      \u002F\u002F Claim only validated fences. Invalid input remains ordinary code, with\n      \u002F\u002F a loss report; unrelated code and the caller's source are unchanged.\n      \u002F** @param node - Source subtree. @returns A fresh export-only projection. *\u002F\n      function visit(node: Nodes): Nodes {\n        if (node.type === 'code' && node.lang === 'approval-card') {\n          try {\n            if (node.value.length > 24_000) throw new Error('Card source exceeds its budget.');\n            const data = readApprovalCard(JSON.parse(node.value));\n            const card: ApprovalCardNode = { type: 'exampleApprovalCard', card: data, position: node.position,\n              children: data.paragraphs.map(text => ({ type: 'paragraph', children: [{ type: 'text', value: text }] })) };\n            return card;\n          } catch {\n            context.report({ code: 'approval-card-invalid', path: `\u002Fsource\u002F${node.position?.start.offset ?? 0}`,\n              severity: 'warning', disposition: 'approximated', message: 'Invalid card data was retained as source code.' });\n            return node;\n          }\n        }\n        return 'children' in node ? { ...node, children: node.children.map(visit) } as Nodes : node;\n      }\n      return { ...root, children: root.children.map(node => visit(node) as typeof node) };\n    },\n    addDocx: () => docx.codec.node\u003CNodes, never>({\n      id: 'example.approval-card', modelType: 'exampleApprovalCard',\n      export: { convert: ({ node, docx: api, convertChildren, resolveService }) => {\n        if (node.type !== 'exampleApprovalCard') throw new Error('Unexpected card node.');\n        \u002F\u002F Use the resolved template, then let the common projector constrain\n        \u002F\u002F the table width and Classic paginate it. Never set a fixed row height.\n        const style = (resolveService(markdownExportTemplateService) ?? defaultExportTemplate.style).containers.note;\n        const border = { val: style.border ? 'single' : 'nil', color: style.border?.color ?? 'auto',\n          sz: Math.round((style.border?.width ?? 0) * 8), space: 0 };\n        const padding = Math.round(style.padding * 20); \u002F\u002F Template pt → native cell twips.\n        const children = [api.blocks.paragraph({ properties: { keepNext: true },\n          children: [api.inline.text(node.card.title, { marks: [api.marks.bold()] })] }), ...convertChildren(node.children)];\n        const styled = children.map(child => ({ ...child, attrs: { ...child.attrs, styleId: 'QuireKitContainer_note' } }));\n        const cell = api.tables.cell({ children: styled, width: { value: 5000, type: 'pct' },\n          shading: { val: style.fill ? 'clear' : 'nil', fill: style.fill ?? 'auto' },\n          borders: { top: border, bottom: border, left: border, right: border } });\n        const table = api.tables.table({ width: { value: 5000, type: 'pct' }, rows: [api.tables.row({ cells: [\n          { ...cell, attrs: { ...cell.attrs, cellMargins: { top: padding, bottom: padding, left: padding, right: padding } } },\n        ] })] });\n        return [api.roundTrip.taggedBlock({ tag, alias: node.card.title, children: [table],\n          metadata: { version: 1, data: { title: node.card.title, paragraphs: [...node.card.paragraphs] } } })];\n      } },\n      import: { from: docx.roundTrip.matchTag(tag), creates: ['docxSource', 'paragraph', 'heading', 'list', 'blockquote', 'code', 'table', 'thematicBreak'],\n        convert: ({ node, docx: api, convertChildren, report }) => {\n          \u002F\u002F The shared codec first verifies visible-content fingerprints. Then\n          \u002F\u002F validate our own payload\u002Fversion; never resurrect stale Word text.\n          const metadata = api.roundTrip.readMetadata(node);\n          if (metadata?.version === 1) {\n            try { return [{ type: 'docxSource', value: approvalCardMarkdown(readApprovalCard(metadata.data)) }]; }\n            catch { \u002F* Invalid business data must use the current visible content. *\u002F }\n          }\n          report({ code: 'approval-card-source-unavailable', severity: 'warning', disposition: 'approximated',\n            message: 'Card metadata is unavailable; current visible content was retained.' });\n          const children = (node.children ?? []).flatMap(child => child.type === 'table' && child.children?.length === 1\n            && child.children[0]?.children?.length === 1 ? child.children[0].children[0]!.children ?? [] : [child]);\n          return convertChildren(children);\n        } },\n    }),\n  };\n}\n\n",[890],{"type":886,"tag":14,"props":891,"children":892},{"__ignoreMap":249},[893,923,953,987,1012,1037,1066,1073,1099,1106,1125,1163,1174,1192,1223,1232,1241,1274,1323,1370,1383,1446,1492,1533,1585,1599,1617,1702,1741,1754,1763,1772,1842,1851,1912,1921,1972,1998,2069,2120,2129,2138,2180,2238,2294,2344,2386,2427,2499,2550,2593,2602,2659,2686,2695,2718,2746,2755,2846,2907,2916,2925,2958,2985,3036,3059,3067,3106,3124,3208,3298,3317,3326,3335,3344],{"type":886,"tag":253,"props":894,"children":895},{"class":255,"line":256},[896,902,908,912,918],{"type":886,"tag":253,"props":897,"children":899},{"style":898},"--shiki-default:#D73A49;--shiki-light:#D73A49;--shiki-dark:#F97583",[900],{"type":901,"value":316},"text",{"type":886,"tag":253,"props":903,"children":905},{"style":904},"--shiki-default:#24292E;--shiki-light:#24292E;--shiki-dark:#E1E4E8",[906],{"type":901,"value":907}," { docx } ",{"type":886,"tag":253,"props":909,"children":910},{"style":898},[911],{"type":901,"value":323},{"type":886,"tag":253,"props":913,"children":915},{"style":914},"--shiki-default:#032F62;--shiki-light:#032F62;--shiki-dark:#9ECBFF",[916],{"type":901,"value":917}," '@quirekit\u002Flit-docx'",{"type":886,"tag":253,"props":919,"children":920},{"style":904},[921],{"type":901,"value":922},";\n",{"type":886,"tag":253,"props":924,"children":925},{"class":255,"line":262},[926,930,935,940,944,949],{"type":886,"tag":253,"props":927,"children":928},{"style":898},[929],{"type":901,"value":316},{"type":886,"tag":253,"props":931,"children":932},{"style":898},[933],{"type":901,"value":934}," type",{"type":886,"tag":253,"props":936,"children":937},{"style":904},[938],{"type":901,"value":939}," { Nodes } ",{"type":886,"tag":253,"props":941,"children":942},{"style":898},[943],{"type":901,"value":323},{"type":886,"tag":253,"props":945,"children":946},{"style":914},[947],{"type":901,"value":948}," 'mdast'",{"type":886,"tag":253,"props":950,"children":951},{"style":904},[952],{"type":901,"value":922},{"type":886,"tag":253,"props":954,"children":955},{"class":255,"line":268},[956,960,965,969,974,978,983],{"type":886,"tag":253,"props":957,"children":958},{"style":898},[959],{"type":901,"value":316},{"type":886,"tag":253,"props":961,"children":962},{"style":904},[963],{"type":901,"value":964}," { markdownExportTemplateService, ",{"type":886,"tag":253,"props":966,"children":967},{"style":898},[968],{"type":901,"value":537},{"type":886,"tag":253,"props":970,"children":971},{"style":904},[972],{"type":901,"value":973}," MarkdownDocxExtension } ",{"type":886,"tag":253,"props":975,"children":976},{"style":898},[977],{"type":901,"value":323},{"type":886,"tag":253,"props":979,"children":980},{"style":914},[981],{"type":901,"value":982}," '@quirekit\u002Fmarkdown-docx'",{"type":886,"tag":253,"props":984,"children":985},{"style":904},[986],{"type":901,"value":922},{"type":886,"tag":253,"props":988,"children":989},{"class":255,"line":354},[990,994,999,1003,1008],{"type":886,"tag":253,"props":991,"children":992},{"style":898},[993],{"type":901,"value":316},{"type":886,"tag":253,"props":995,"children":996},{"style":904},[997],{"type":901,"value":998}," { defaultExportTemplate } ",{"type":886,"tag":253,"props":1000,"children":1001},{"style":898},[1002],{"type":901,"value":323},{"type":886,"tag":253,"props":1004,"children":1005},{"style":914},[1006],{"type":901,"value":1007}," '@quirekit\u002Fexport-template'",{"type":886,"tag":253,"props":1009,"children":1010},{"style":904},[1011],{"type":901,"value":922},{"type":886,"tag":253,"props":1013,"children":1014},{"class":255,"line":367},[1015,1019,1024,1028,1033],{"type":886,"tag":253,"props":1016,"children":1017},{"style":898},[1018],{"type":901,"value":316},{"type":886,"tag":253,"props":1020,"children":1021},{"style":904},[1022],{"type":901,"value":1023}," { approvalCardMarkdown, readApprovalCard } ",{"type":886,"tag":253,"props":1025,"children":1026},{"style":898},[1027],{"type":901,"value":323},{"type":886,"tag":253,"props":1029,"children":1030},{"style":914},[1031],{"type":901,"value":1032}," '.\u002Fdata'",{"type":886,"tag":253,"props":1034,"children":1035},{"style":904},[1036],{"type":901,"value":922},{"type":886,"tag":253,"props":1038,"children":1039},{"class":255,"line":374},[1040,1044,1048,1053,1057,1062],{"type":886,"tag":253,"props":1041,"children":1042},{"style":898},[1043],{"type":901,"value":316},{"type":886,"tag":253,"props":1045,"children":1046},{"style":898},[1047],{"type":901,"value":934},{"type":886,"tag":253,"props":1049,"children":1050},{"style":904},[1051],{"type":901,"value":1052}," { ApprovalCardNode } ",{"type":886,"tag":253,"props":1054,"children":1055},{"style":898},[1056],{"type":901,"value":323},{"type":886,"tag":253,"props":1058,"children":1059},{"style":914},[1060],{"type":901,"value":1061}," '.\u002Ftypes'",{"type":886,"tag":253,"props":1063,"children":1064},{"style":904},[1065],{"type":901,"value":922},{"type":886,"tag":253,"props":1067,"children":1068},{"class":255,"line":406},[1069],{"type":886,"tag":253,"props":1070,"children":1071},{"emptyLinePlaceholder":370},[1072],{"type":901,"value":371},{"type":886,"tag":253,"props":1074,"children":1075},{"class":255,"line":425},[1076,1080,1086,1090,1095],{"type":886,"tag":253,"props":1077,"children":1078},{"style":898},[1079],{"type":901,"value":377},{"type":886,"tag":253,"props":1081,"children":1083},{"style":1082},"--shiki-default:#005CC5;--shiki-light:#005CC5;--shiki-dark:#79B8FF",[1084],{"type":901,"value":1085}," tag",{"type":886,"tag":253,"props":1087,"children":1088},{"style":898},[1089],{"type":901,"value":384},{"type":886,"tag":253,"props":1091,"children":1092},{"style":914},[1093],{"type":901,"value":1094}," 'example:approval-card'",{"type":886,"tag":253,"props":1096,"children":1097},{"style":904},[1098],{"type":901,"value":922},{"type":886,"tag":253,"props":1100,"children":1101},{"class":255,"line":444},[1102],{"type":886,"tag":253,"props":1103,"children":1104},{"emptyLinePlaceholder":370},[1105],{"type":901,"value":371},{"type":886,"tag":253,"props":1107,"children":1108},{"class":255,"line":463},[1109,1115,1120],{"type":886,"tag":253,"props":1110,"children":1112},{"style":1111},"--shiki-default:#6A737D;--shiki-light:#6A737D;--shiki-dark:#6A737D",[1113],{"type":901,"value":1114},"\u002F** ",{"type":886,"tag":253,"props":1116,"children":1117},{"style":898},[1118],{"type":901,"value":1119},"@returns",{"type":886,"tag":253,"props":1121,"children":1122},{"style":1111},[1123],{"type":901,"value":1124}," A standalone converter shared by Word and PDF; no editor or browser required. *\u002F\n",{"type":886,"tag":253,"props":1126,"children":1128},{"class":255,"line":1127},11,[1129,1134,1138,1144,1149,1153,1158],{"type":886,"tag":253,"props":1130,"children":1131},{"style":898},[1132],{"type":901,"value":1133},"export",{"type":886,"tag":253,"props":1135,"children":1136},{"style":898},[1137],{"type":901,"value":557},{"type":886,"tag":253,"props":1139,"children":1141},{"style":1140},"--shiki-default:#6F42C1;--shiki-light:#6F42C1;--shiki-dark:#B392F0",[1142],{"type":901,"value":1143}," createApprovalCardExtension",{"type":886,"tag":253,"props":1145,"children":1146},{"style":904},[1147],{"type":901,"value":1148},"()",{"type":886,"tag":253,"props":1150,"children":1151},{"style":898},[1152],{"type":901,"value":570},{"type":886,"tag":253,"props":1154,"children":1155},{"style":1140},[1156],{"type":901,"value":1157}," MarkdownDocxExtension",{"type":886,"tag":253,"props":1159,"children":1160},{"style":904},[1161],{"type":901,"value":1162}," {\n",{"type":886,"tag":253,"props":1164,"children":1165},{"class":255,"line":872},[1166,1170],{"type":886,"tag":253,"props":1167,"children":1168},{"style":898},[1169],{"type":901,"value":604},{"type":886,"tag":253,"props":1171,"children":1172},{"style":904},[1173],{"type":901,"value":1162},{"type":886,"tag":253,"props":1175,"children":1177},{"class":255,"line":1176},13,[1178,1183,1188],{"type":886,"tag":253,"props":1179,"children":1180},{"style":904},[1181],{"type":901,"value":1182},"    name: ",{"type":886,"tag":253,"props":1184,"children":1185},{"style":914},[1186],{"type":901,"value":1187},"'example.approval-card'",{"type":886,"tag":253,"props":1189,"children":1190},{"style":904},[1191],{"type":901,"value":516},{"type":886,"tag":253,"props":1193,"children":1195},{"class":255,"line":1194},14,[1196,1201,1205,1210,1214,1219],{"type":886,"tag":253,"props":1197,"children":1198},{"style":1140},[1199],{"type":901,"value":1200},"    prepare",{"type":886,"tag":253,"props":1202,"children":1203},{"style":904},[1204],{"type":901,"value":563},{"type":886,"tag":253,"props":1206,"children":1208},{"style":1207},"--shiki-default:#E36209;--shiki-light:#E36209;--shiki-dark:#FFAB70",[1209],{"type":901,"value":883},{"type":886,"tag":253,"props":1211,"children":1212},{"style":904},[1213],{"type":901,"value":645},{"type":886,"tag":253,"props":1215,"children":1216},{"style":1207},[1217],{"type":901,"value":1218},"context",{"type":886,"tag":253,"props":1220,"children":1221},{"style":904},[1222],{"type":901,"value":599},{"type":886,"tag":253,"props":1224,"children":1226},{"class":255,"line":1225},15,[1227],{"type":886,"tag":253,"props":1228,"children":1229},{"style":1111},[1230],{"type":901,"value":1231},"      \u002F\u002F Claim only validated fences. Invalid input remains ordinary code, with\n",{"type":886,"tag":253,"props":1233,"children":1235},{"class":255,"line":1234},16,[1236],{"type":886,"tag":253,"props":1237,"children":1238},{"style":1111},[1239],{"type":901,"value":1240},"      \u002F\u002F a loss report; unrelated code and the caller's source are unchanged.\n",{"type":886,"tag":253,"props":1242,"children":1244},{"class":255,"line":1243},17,[1245,1250,1255,1260,1265,1269],{"type":886,"tag":253,"props":1246,"children":1247},{"style":1111},[1248],{"type":901,"value":1249},"      \u002F** ",{"type":886,"tag":253,"props":1251,"children":1252},{"style":898},[1253],{"type":901,"value":1254},"@param",{"type":886,"tag":253,"props":1256,"children":1257},{"style":904},[1258],{"type":901,"value":1259}," node",{"type":886,"tag":253,"props":1261,"children":1262},{"style":1111},[1263],{"type":901,"value":1264}," - Source subtree. ",{"type":886,"tag":253,"props":1266,"children":1267},{"style":898},[1268],{"type":901,"value":1119},{"type":886,"tag":253,"props":1270,"children":1271},{"style":1111},[1272],{"type":901,"value":1273}," A fresh export-only projection. *\u002F\n",{"type":886,"tag":253,"props":1275,"children":1277},{"class":255,"line":1276},18,[1278,1283,1288,1292,1297,1301,1306,1311,1315,1319],{"type":886,"tag":253,"props":1279,"children":1280},{"style":898},[1281],{"type":901,"value":1282},"      function",{"type":886,"tag":253,"props":1284,"children":1285},{"style":1140},[1286],{"type":901,"value":1287}," visit",{"type":886,"tag":253,"props":1289,"children":1290},{"style":904},[1291],{"type":901,"value":563},{"type":886,"tag":253,"props":1293,"children":1294},{"style":1207},[1295],{"type":901,"value":1296},"node",{"type":886,"tag":253,"props":1298,"children":1299},{"style":898},[1300],{"type":901,"value":570},{"type":886,"tag":253,"props":1302,"children":1303},{"style":1140},[1304],{"type":901,"value":1305}," Nodes",{"type":886,"tag":253,"props":1307,"children":1308},{"style":904},[1309],{"type":901,"value":1310},")",{"type":886,"tag":253,"props":1312,"children":1313},{"style":898},[1314],{"type":901,"value":570},{"type":886,"tag":253,"props":1316,"children":1317},{"style":1140},[1318],{"type":901,"value":1305},{"type":886,"tag":253,"props":1320,"children":1321},{"style":904},[1322],{"type":901,"value":1162},{"type":886,"tag":253,"props":1324,"children":1326},{"class":255,"line":1325},19,[1327,1332,1337,1342,1347,1352,1357,1361,1366],{"type":886,"tag":253,"props":1328,"children":1329},{"style":898},[1330],{"type":901,"value":1331},"        if",{"type":886,"tag":253,"props":1333,"children":1334},{"style":904},[1335],{"type":901,"value":1336}," (node.type ",{"type":886,"tag":253,"props":1338,"children":1339},{"style":898},[1340],{"type":901,"value":1341},"===",{"type":886,"tag":253,"props":1343,"children":1344},{"style":914},[1345],{"type":901,"value":1346}," 'code'",{"type":886,"tag":253,"props":1348,"children":1349},{"style":898},[1350],{"type":901,"value":1351}," &&",{"type":886,"tag":253,"props":1353,"children":1354},{"style":904},[1355],{"type":901,"value":1356}," node.lang ",{"type":886,"tag":253,"props":1358,"children":1359},{"style":898},[1360],{"type":901,"value":1341},{"type":886,"tag":253,"props":1362,"children":1363},{"style":914},[1364],{"type":901,"value":1365}," 'approval-card'",{"type":886,"tag":253,"props":1367,"children":1368},{"style":904},[1369],{"type":901,"value":599},{"type":886,"tag":253,"props":1371,"children":1373},{"class":255,"line":1372},20,[1374,1379],{"type":886,"tag":253,"props":1375,"children":1376},{"style":898},[1377],{"type":901,"value":1378},"          try",{"type":886,"tag":253,"props":1380,"children":1381},{"style":904},[1382],{"type":901,"value":1162},{"type":886,"tag":253,"props":1384,"children":1386},{"class":255,"line":1385},21,[1387,1392,1397,1402,1407,1412,1417,1422,1427,1432,1436,1441],{"type":886,"tag":253,"props":1388,"children":1389},{"style":898},[1390],{"type":901,"value":1391},"            if",{"type":886,"tag":253,"props":1393,"children":1394},{"style":904},[1395],{"type":901,"value":1396}," (node.value.",{"type":886,"tag":253,"props":1398,"children":1399},{"style":1082},[1400],{"type":901,"value":1401},"length",{"type":886,"tag":253,"props":1403,"children":1404},{"style":898},[1405],{"type":901,"value":1406}," >",{"type":886,"tag":253,"props":1408,"children":1409},{"style":1082},[1410],{"type":901,"value":1411}," 24_000",{"type":886,"tag":253,"props":1413,"children":1414},{"style":904},[1415],{"type":901,"value":1416},") ",{"type":886,"tag":253,"props":1418,"children":1419},{"style":898},[1420],{"type":901,"value":1421},"throw",{"type":886,"tag":253,"props":1423,"children":1424},{"style":898},[1425],{"type":901,"value":1426}," new",{"type":886,"tag":253,"props":1428,"children":1429},{"style":1140},[1430],{"type":901,"value":1431}," Error",{"type":886,"tag":253,"props":1433,"children":1434},{"style":904},[1435],{"type":901,"value":563},{"type":886,"tag":253,"props":1437,"children":1438},{"style":914},[1439],{"type":901,"value":1440},"'Card source exceeds its budget.'",{"type":886,"tag":253,"props":1442,"children":1443},{"style":904},[1444],{"type":901,"value":1445},");\n",{"type":886,"tag":253,"props":1447,"children":1449},{"class":255,"line":1448},22,[1450,1455,1460,1464,1469,1473,1478,1482,1487],{"type":886,"tag":253,"props":1451,"children":1452},{"style":898},[1453],{"type":901,"value":1454},"            const",{"type":886,"tag":253,"props":1456,"children":1457},{"style":1082},[1458],{"type":901,"value":1459}," data",{"type":886,"tag":253,"props":1461,"children":1462},{"style":898},[1463],{"type":901,"value":384},{"type":886,"tag":253,"props":1465,"children":1466},{"style":1140},[1467],{"type":901,"value":1468}," readApprovalCard",{"type":886,"tag":253,"props":1470,"children":1471},{"style":904},[1472],{"type":901,"value":563},{"type":886,"tag":253,"props":1474,"children":1475},{"style":1082},[1476],{"type":901,"value":1477},"JSON",{"type":886,"tag":253,"props":1479,"children":1480},{"style":904},[1481],{"type":901,"value":658},{"type":886,"tag":253,"props":1483,"children":1484},{"style":1140},[1485],{"type":901,"value":1486},"parse",{"type":886,"tag":253,"props":1488,"children":1489},{"style":904},[1490],{"type":901,"value":1491},"(node.value));\n",{"type":886,"tag":253,"props":1493,"children":1495},{"class":255,"line":1494},23,[1496,1500,1505,1509,1514,1518,1523,1528],{"type":886,"tag":253,"props":1497,"children":1498},{"style":898},[1499],{"type":901,"value":1454},{"type":886,"tag":253,"props":1501,"children":1502},{"style":1082},[1503],{"type":901,"value":1504}," card",{"type":886,"tag":253,"props":1506,"children":1507},{"style":898},[1508],{"type":901,"value":570},{"type":886,"tag":253,"props":1510,"children":1511},{"style":1140},[1512],{"type":901,"value":1513}," ApprovalCardNode",{"type":886,"tag":253,"props":1515,"children":1516},{"style":898},[1517],{"type":901,"value":384},{"type":886,"tag":253,"props":1519,"children":1520},{"style":904},[1521],{"type":901,"value":1522}," { type: ",{"type":886,"tag":253,"props":1524,"children":1525},{"style":914},[1526],{"type":901,"value":1527},"'exampleApprovalCard'",{"type":886,"tag":253,"props":1529,"children":1530},{"style":904},[1531],{"type":901,"value":1532},", card: data, position: node.position,\n",{"type":886,"tag":253,"props":1534,"children":1536},{"class":255,"line":1535},24,[1537,1542,1547,1551,1555,1560,1565,1570,1575,1580],{"type":886,"tag":253,"props":1538,"children":1539},{"style":904},[1540],{"type":901,"value":1541},"              children: data.paragraphs.",{"type":886,"tag":253,"props":1543,"children":1544},{"style":1140},[1545],{"type":901,"value":1546},"map",{"type":886,"tag":253,"props":1548,"children":1549},{"style":904},[1550],{"type":901,"value":563},{"type":886,"tag":253,"props":1552,"children":1553},{"style":1207},[1554],{"type":901,"value":901},{"type":886,"tag":253,"props":1556,"children":1557},{"style":898},[1558],{"type":901,"value":1559}," =>",{"type":886,"tag":253,"props":1561,"children":1562},{"style":904},[1563],{"type":901,"value":1564}," ({ type: ",{"type":886,"tag":253,"props":1566,"children":1567},{"style":914},[1568],{"type":901,"value":1569},"'paragraph'",{"type":886,"tag":253,"props":1571,"children":1572},{"style":904},[1573],{"type":901,"value":1574},", children: [{ type: ",{"type":886,"tag":253,"props":1576,"children":1577},{"style":914},[1578],{"type":901,"value":1579},"'text'",{"type":886,"tag":253,"props":1581,"children":1582},{"style":904},[1583],{"type":901,"value":1584},", value: text }] })) };\n",{"type":886,"tag":253,"props":1586,"children":1588},{"class":255,"line":1587},25,[1589,1594],{"type":886,"tag":253,"props":1590,"children":1591},{"style":898},[1592],{"type":901,"value":1593},"            return",{"type":886,"tag":253,"props":1595,"children":1596},{"style":904},[1597],{"type":901,"value":1598}," card;\n",{"type":886,"tag":253,"props":1600,"children":1602},{"class":255,"line":1601},26,[1603,1608,1613],{"type":886,"tag":253,"props":1604,"children":1605},{"style":904},[1606],{"type":901,"value":1607},"          } ",{"type":886,"tag":253,"props":1609,"children":1610},{"style":898},[1611],{"type":901,"value":1612},"catch",{"type":886,"tag":253,"props":1614,"children":1615},{"style":904},[1616],{"type":901,"value":1162},{"type":886,"tag":253,"props":1618,"children":1620},{"class":255,"line":1619},27,[1621,1626,1631,1636,1641,1646,1651,1655,1659,1664,1669,1674,1678,1683,1688,1693,1698],{"type":886,"tag":253,"props":1622,"children":1623},{"style":904},[1624],{"type":901,"value":1625},"            context.",{"type":886,"tag":253,"props":1627,"children":1628},{"style":1140},[1629],{"type":901,"value":1630},"report",{"type":886,"tag":253,"props":1632,"children":1633},{"style":904},[1634],{"type":901,"value":1635},"({ code: ",{"type":886,"tag":253,"props":1637,"children":1638},{"style":914},[1639],{"type":901,"value":1640},"'approval-card-invalid'",{"type":886,"tag":253,"props":1642,"children":1643},{"style":904},[1644],{"type":901,"value":1645},", path: ",{"type":886,"tag":253,"props":1647,"children":1648},{"style":914},[1649],{"type":901,"value":1650},"`\u002Fsource\u002F${",{"type":886,"tag":253,"props":1652,"children":1653},{"style":904},[1654],{"type":901,"value":1296},{"type":886,"tag":253,"props":1656,"children":1657},{"style":914},[1658],{"type":901,"value":658},{"type":886,"tag":253,"props":1660,"children":1661},{"style":904},[1662],{"type":901,"value":1663},"position",{"type":886,"tag":253,"props":1665,"children":1666},{"style":914},[1667],{"type":901,"value":1668},"?.",{"type":886,"tag":253,"props":1670,"children":1671},{"style":904},[1672],{"type":901,"value":1673},"start",{"type":886,"tag":253,"props":1675,"children":1676},{"style":914},[1677],{"type":901,"value":658},{"type":886,"tag":253,"props":1679,"children":1680},{"style":904},[1681],{"type":901,"value":1682},"offset",{"type":886,"tag":253,"props":1684,"children":1685},{"style":898},[1686],{"type":901,"value":1687}," ??",{"type":886,"tag":253,"props":1689,"children":1690},{"style":1082},[1691],{"type":901,"value":1692}," 0",{"type":886,"tag":253,"props":1694,"children":1695},{"style":914},[1696],{"type":901,"value":1697},"}`",{"type":886,"tag":253,"props":1699,"children":1700},{"style":904},[1701],{"type":901,"value":516},{"type":886,"tag":253,"props":1703,"children":1705},{"class":255,"line":1704},28,[1706,1711,1716,1721,1726,1731,1736],{"type":886,"tag":253,"props":1707,"children":1708},{"style":904},[1709],{"type":901,"value":1710},"              severity: ",{"type":886,"tag":253,"props":1712,"children":1713},{"style":914},[1714],{"type":901,"value":1715},"'warning'",{"type":886,"tag":253,"props":1717,"children":1718},{"style":904},[1719],{"type":901,"value":1720},", disposition: ",{"type":886,"tag":253,"props":1722,"children":1723},{"style":914},[1724],{"type":901,"value":1725},"'approximated'",{"type":886,"tag":253,"props":1727,"children":1728},{"style":904},[1729],{"type":901,"value":1730},", message: ",{"type":886,"tag":253,"props":1732,"children":1733},{"style":914},[1734],{"type":901,"value":1735},"'Invalid card data was retained as source code.'",{"type":886,"tag":253,"props":1737,"children":1738},{"style":904},[1739],{"type":901,"value":1740}," });\n",{"type":886,"tag":253,"props":1742,"children":1744},{"class":255,"line":1743},29,[1745,1749],{"type":886,"tag":253,"props":1746,"children":1747},{"style":898},[1748],{"type":901,"value":1593},{"type":886,"tag":253,"props":1750,"children":1751},{"style":904},[1752],{"type":901,"value":1753}," node;\n",{"type":886,"tag":253,"props":1755,"children":1757},{"class":255,"line":1756},30,[1758],{"type":886,"tag":253,"props":1759,"children":1760},{"style":904},[1761],{"type":901,"value":1762},"          }\n",{"type":886,"tag":253,"props":1764,"children":1766},{"class":255,"line":1765},31,[1767],{"type":886,"tag":253,"props":1768,"children":1769},{"style":904},[1770],{"type":901,"value":1771},"        }\n",{"type":886,"tag":253,"props":1773,"children":1775},{"class":255,"line":1774},32,[1776,1781,1786,1791,1796,1801,1806,1811,1816,1820,1825,1830,1834,1838],{"type":886,"tag":253,"props":1777,"children":1778},{"style":898},[1779],{"type":901,"value":1780},"        return",{"type":886,"tag":253,"props":1782,"children":1783},{"style":914},[1784],{"type":901,"value":1785}," 'children'",{"type":886,"tag":253,"props":1787,"children":1788},{"style":898},[1789],{"type":901,"value":1790}," in",{"type":886,"tag":253,"props":1792,"children":1793},{"style":904},[1794],{"type":901,"value":1795}," node ",{"type":886,"tag":253,"props":1797,"children":1798},{"style":898},[1799],{"type":901,"value":1800},"?",{"type":886,"tag":253,"props":1802,"children":1803},{"style":904},[1804],{"type":901,"value":1805}," { ",{"type":886,"tag":253,"props":1807,"children":1808},{"style":898},[1809],{"type":901,"value":1810},"...",{"type":886,"tag":253,"props":1812,"children":1813},{"style":904},[1814],{"type":901,"value":1815},"node, children: node.children.",{"type":886,"tag":253,"props":1817,"children":1818},{"style":1140},[1819],{"type":901,"value":1546},{"type":886,"tag":253,"props":1821,"children":1822},{"style":904},[1823],{"type":901,"value":1824},"(visit) } ",{"type":886,"tag":253,"props":1826,"children":1827},{"style":898},[1828],{"type":901,"value":1829},"as",{"type":886,"tag":253,"props":1831,"children":1832},{"style":1140},[1833],{"type":901,"value":1305},{"type":886,"tag":253,"props":1835,"children":1836},{"style":898},[1837],{"type":901,"value":766},{"type":886,"tag":253,"props":1839,"children":1840},{"style":904},[1841],{"type":901,"value":1753},{"type":886,"tag":253,"props":1843,"children":1845},{"class":255,"line":1844},33,[1846],{"type":886,"tag":253,"props":1847,"children":1848},{"style":904},[1849],{"type":901,"value":1850},"      }\n",{"type":886,"tag":253,"props":1852,"children":1854},{"class":255,"line":1853},34,[1855,1860,1864,1868,1873,1877,1881,1885,1889,1893,1898,1902,1907],{"type":886,"tag":253,"props":1856,"children":1857},{"style":898},[1858],{"type":901,"value":1859},"      return",{"type":886,"tag":253,"props":1861,"children":1862},{"style":904},[1863],{"type":901,"value":1805},{"type":886,"tag":253,"props":1865,"children":1866},{"style":898},[1867],{"type":901,"value":1810},{"type":886,"tag":253,"props":1869,"children":1870},{"style":904},[1871],{"type":901,"value":1872},"root, children: root.children.",{"type":886,"tag":253,"props":1874,"children":1875},{"style":1140},[1876],{"type":901,"value":1546},{"type":886,"tag":253,"props":1878,"children":1879},{"style":904},[1880],{"type":901,"value":563},{"type":886,"tag":253,"props":1882,"children":1883},{"style":1207},[1884],{"type":901,"value":1296},{"type":886,"tag":253,"props":1886,"children":1887},{"style":898},[1888],{"type":901,"value":1559},{"type":886,"tag":253,"props":1890,"children":1891},{"style":1140},[1892],{"type":901,"value":1287},{"type":886,"tag":253,"props":1894,"children":1895},{"style":904},[1896],{"type":901,"value":1897},"(node) ",{"type":886,"tag":253,"props":1899,"children":1900},{"style":898},[1901],{"type":901,"value":1829},{"type":886,"tag":253,"props":1903,"children":1904},{"style":898},[1905],{"type":901,"value":1906}," typeof",{"type":886,"tag":253,"props":1908,"children":1909},{"style":904},[1910],{"type":901,"value":1911}," node) };\n",{"type":886,"tag":253,"props":1913,"children":1915},{"class":255,"line":1914},35,[1916],{"type":886,"tag":253,"props":1917,"children":1918},{"style":904},[1919],{"type":901,"value":1920},"    },\n",{"type":886,"tag":253,"props":1922,"children":1924},{"class":255,"line":1923},36,[1925,1930,1935,1940,1945,1949,1953,1958,1962,1967],{"type":886,"tag":253,"props":1926,"children":1927},{"style":1140},[1928],{"type":901,"value":1929},"    addDocx",{"type":886,"tag":253,"props":1931,"children":1932},{"style":904},[1933],{"type":901,"value":1934},": () ",{"type":886,"tag":253,"props":1936,"children":1937},{"style":898},[1938],{"type":901,"value":1939},"=>",{"type":886,"tag":253,"props":1941,"children":1942},{"style":904},[1943],{"type":901,"value":1944}," docx.codec.",{"type":886,"tag":253,"props":1946,"children":1947},{"style":1140},[1948],{"type":901,"value":1296},{"type":886,"tag":253,"props":1950,"children":1951},{"style":904},[1952],{"type":901,"value":576},{"type":886,"tag":253,"props":1954,"children":1955},{"style":1140},[1956],{"type":901,"value":1957},"Nodes",{"type":886,"tag":253,"props":1959,"children":1960},{"style":904},[1961],{"type":901,"value":645},{"type":886,"tag":253,"props":1963,"children":1964},{"style":1082},[1965],{"type":901,"value":1966},"never",{"type":886,"tag":253,"props":1968,"children":1969},{"style":904},[1970],{"type":901,"value":1971},">({\n",{"type":886,"tag":253,"props":1973,"children":1975},{"class":255,"line":1974},37,[1976,1981,1985,1990,1994],{"type":886,"tag":253,"props":1977,"children":1978},{"style":904},[1979],{"type":901,"value":1980},"      id: ",{"type":886,"tag":253,"props":1982,"children":1983},{"style":914},[1984],{"type":901,"value":1187},{"type":886,"tag":253,"props":1986,"children":1987},{"style":904},[1988],{"type":901,"value":1989},", modelType: ",{"type":886,"tag":253,"props":1991,"children":1992},{"style":914},[1993],{"type":901,"value":1527},{"type":886,"tag":253,"props":1995,"children":1996},{"style":904},[1997],{"type":901,"value":516},{"type":886,"tag":253,"props":1999,"children":2001},{"class":255,"line":2000},38,[2002,2007,2012,2017,2021,2025,2029,2034,2039,2043,2047,2051,2056,2061,2065],{"type":886,"tag":253,"props":2003,"children":2004},{"style":904},[2005],{"type":901,"value":2006},"      export: { ",{"type":886,"tag":253,"props":2008,"children":2009},{"style":1140},[2010],{"type":901,"value":2011},"convert",{"type":886,"tag":253,"props":2013,"children":2014},{"style":904},[2015],{"type":901,"value":2016},": ({ ",{"type":886,"tag":253,"props":2018,"children":2019},{"style":1207},[2020],{"type":901,"value":1296},{"type":886,"tag":253,"props":2022,"children":2023},{"style":904},[2024],{"type":901,"value":645},{"type":886,"tag":253,"props":2026,"children":2027},{"style":1207},[2028],{"type":901,"value":769},{"type":886,"tag":253,"props":2030,"children":2031},{"style":904},[2032],{"type":901,"value":2033},": ",{"type":886,"tag":253,"props":2035,"children":2036},{"style":1207},[2037],{"type":901,"value":2038},"api",{"type":886,"tag":253,"props":2040,"children":2041},{"style":904},[2042],{"type":901,"value":645},{"type":886,"tag":253,"props":2044,"children":2045},{"style":1207},[2046],{"type":901,"value":209},{"type":886,"tag":253,"props":2048,"children":2049},{"style":904},[2050],{"type":901,"value":645},{"type":886,"tag":253,"props":2052,"children":2053},{"style":1207},[2054],{"type":901,"value":2055},"resolveService",{"type":886,"tag":253,"props":2057,"children":2058},{"style":904},[2059],{"type":901,"value":2060}," }) ",{"type":886,"tag":253,"props":2062,"children":2063},{"style":898},[2064],{"type":901,"value":1939},{"type":886,"tag":253,"props":2066,"children":2067},{"style":904},[2068],{"type":901,"value":1162},{"type":886,"tag":253,"props":2070,"children":2072},{"class":255,"line":2071},39,[2073,2077,2081,2086,2091,2095,2099,2103,2107,2111,2116],{"type":886,"tag":253,"props":2074,"children":2075},{"style":898},[2076],{"type":901,"value":1331},{"type":886,"tag":253,"props":2078,"children":2079},{"style":904},[2080],{"type":901,"value":1336},{"type":886,"tag":253,"props":2082,"children":2083},{"style":898},[2084],{"type":901,"value":2085},"!==",{"type":886,"tag":253,"props":2087,"children":2088},{"style":914},[2089],{"type":901,"value":2090}," 'exampleApprovalCard'",{"type":886,"tag":253,"props":2092,"children":2093},{"style":904},[2094],{"type":901,"value":1416},{"type":886,"tag":253,"props":2096,"children":2097},{"style":898},[2098],{"type":901,"value":1421},{"type":886,"tag":253,"props":2100,"children":2101},{"style":898},[2102],{"type":901,"value":1426},{"type":886,"tag":253,"props":2104,"children":2105},{"style":1140},[2106],{"type":901,"value":1431},{"type":886,"tag":253,"props":2108,"children":2109},{"style":904},[2110],{"type":901,"value":563},{"type":886,"tag":253,"props":2112,"children":2113},{"style":914},[2114],{"type":901,"value":2115},"'Unexpected card node.'",{"type":886,"tag":253,"props":2117,"children":2118},{"style":904},[2119],{"type":901,"value":1445},{"type":886,"tag":253,"props":2121,"children":2123},{"class":255,"line":2122},40,[2124],{"type":886,"tag":253,"props":2125,"children":2126},{"style":1111},[2127],{"type":901,"value":2128},"        \u002F\u002F Use the resolved template, then let the common projector constrain\n",{"type":886,"tag":253,"props":2130,"children":2132},{"class":255,"line":2131},41,[2133],{"type":886,"tag":253,"props":2134,"children":2135},{"style":1111},[2136],{"type":901,"value":2137},"        \u002F\u002F the table width and Classic paginate it. Never set a fixed row height.\n",{"type":886,"tag":253,"props":2139,"children":2141},{"class":255,"line":2140},42,[2142,2147,2152,2156,2161,2165,2170,2175],{"type":886,"tag":253,"props":2143,"children":2144},{"style":898},[2145],{"type":901,"value":2146},"        const",{"type":886,"tag":253,"props":2148,"children":2149},{"style":1082},[2150],{"type":901,"value":2151}," style",{"type":886,"tag":253,"props":2153,"children":2154},{"style":898},[2155],{"type":901,"value":384},{"type":886,"tag":253,"props":2157,"children":2158},{"style":904},[2159],{"type":901,"value":2160}," (",{"type":886,"tag":253,"props":2162,"children":2163},{"style":1140},[2164],{"type":901,"value":2055},{"type":886,"tag":253,"props":2166,"children":2167},{"style":904},[2168],{"type":901,"value":2169},"(markdownExportTemplateService) ",{"type":886,"tag":253,"props":2171,"children":2172},{"style":898},[2173],{"type":901,"value":2174},"??",{"type":886,"tag":253,"props":2176,"children":2177},{"style":904},[2178],{"type":901,"value":2179}," defaultExportTemplate.style).containers.note;\n",{"type":886,"tag":253,"props":2181,"children":2183},{"class":255,"line":2182},43,[2184,2188,2193,2197,2202,2206,2211,2215,2220,2225,2229,2234],{"type":886,"tag":253,"props":2185,"children":2186},{"style":898},[2187],{"type":901,"value":2146},{"type":886,"tag":253,"props":2189,"children":2190},{"style":1082},[2191],{"type":901,"value":2192}," border",{"type":886,"tag":253,"props":2194,"children":2195},{"style":898},[2196],{"type":901,"value":384},{"type":886,"tag":253,"props":2198,"children":2199},{"style":904},[2200],{"type":901,"value":2201}," { val: style.border ",{"type":886,"tag":253,"props":2203,"children":2204},{"style":898},[2205],{"type":901,"value":1800},{"type":886,"tag":253,"props":2207,"children":2208},{"style":914},[2209],{"type":901,"value":2210}," 'single'",{"type":886,"tag":253,"props":2212,"children":2213},{"style":898},[2214],{"type":901,"value":766},{"type":886,"tag":253,"props":2216,"children":2217},{"style":914},[2218],{"type":901,"value":2219}," 'nil'",{"type":886,"tag":253,"props":2221,"children":2222},{"style":904},[2223],{"type":901,"value":2224},", color: style.border?.color ",{"type":886,"tag":253,"props":2226,"children":2227},{"style":898},[2228],{"type":901,"value":2174},{"type":886,"tag":253,"props":2230,"children":2231},{"style":914},[2232],{"type":901,"value":2233}," 'auto'",{"type":886,"tag":253,"props":2235,"children":2236},{"style":904},[2237],{"type":901,"value":516},{"type":886,"tag":253,"props":2239,"children":2241},{"class":255,"line":2240},44,[2242,2247,2252,2257,2261,2265,2269,2274,2279,2284,2289],{"type":886,"tag":253,"props":2243,"children":2244},{"style":904},[2245],{"type":901,"value":2246},"          sz: Math.",{"type":886,"tag":253,"props":2248,"children":2249},{"style":1140},[2250],{"type":901,"value":2251},"round",{"type":886,"tag":253,"props":2253,"children":2254},{"style":904},[2255],{"type":901,"value":2256},"((style.border?.width ",{"type":886,"tag":253,"props":2258,"children":2259},{"style":898},[2260],{"type":901,"value":2174},{"type":886,"tag":253,"props":2262,"children":2263},{"style":1082},[2264],{"type":901,"value":1692},{"type":886,"tag":253,"props":2266,"children":2267},{"style":904},[2268],{"type":901,"value":1416},{"type":886,"tag":253,"props":2270,"children":2271},{"style":898},[2272],{"type":901,"value":2273},"*",{"type":886,"tag":253,"props":2275,"children":2276},{"style":1082},[2277],{"type":901,"value":2278}," 8",{"type":886,"tag":253,"props":2280,"children":2281},{"style":904},[2282],{"type":901,"value":2283},"), space: ",{"type":886,"tag":253,"props":2285,"children":2286},{"style":1082},[2287],{"type":901,"value":2288},"0",{"type":886,"tag":253,"props":2290,"children":2291},{"style":904},[2292],{"type":901,"value":2293}," };\n",{"type":886,"tag":253,"props":2295,"children":2297},{"class":255,"line":2296},45,[2298,2302,2307,2311,2316,2320,2325,2329,2334,2339],{"type":886,"tag":253,"props":2299,"children":2300},{"style":898},[2301],{"type":901,"value":2146},{"type":886,"tag":253,"props":2303,"children":2304},{"style":1082},[2305],{"type":901,"value":2306}," padding",{"type":886,"tag":253,"props":2308,"children":2309},{"style":898},[2310],{"type":901,"value":384},{"type":886,"tag":253,"props":2312,"children":2313},{"style":904},[2314],{"type":901,"value":2315}," Math.",{"type":886,"tag":253,"props":2317,"children":2318},{"style":1140},[2319],{"type":901,"value":2251},{"type":886,"tag":253,"props":2321,"children":2322},{"style":904},[2323],{"type":901,"value":2324},"(style.padding ",{"type":886,"tag":253,"props":2326,"children":2327},{"style":898},[2328],{"type":901,"value":2273},{"type":886,"tag":253,"props":2330,"children":2331},{"style":1082},[2332],{"type":901,"value":2333}," 20",{"type":886,"tag":253,"props":2335,"children":2336},{"style":904},[2337],{"type":901,"value":2338},"); ",{"type":886,"tag":253,"props":2340,"children":2341},{"style":1111},[2342],{"type":901,"value":2343},"\u002F\u002F Template pt → native cell twips.\n",{"type":886,"tag":253,"props":2345,"children":2347},{"class":255,"line":2346},46,[2348,2352,2357,2361,2366,2371,2376,2381],{"type":886,"tag":253,"props":2349,"children":2350},{"style":898},[2351],{"type":901,"value":2146},{"type":886,"tag":253,"props":2353,"children":2354},{"style":1082},[2355],{"type":901,"value":2356}," children",{"type":886,"tag":253,"props":2358,"children":2359},{"style":898},[2360],{"type":901,"value":384},{"type":886,"tag":253,"props":2362,"children":2363},{"style":904},[2364],{"type":901,"value":2365}," [api.blocks.",{"type":886,"tag":253,"props":2367,"children":2368},{"style":1140},[2369],{"type":901,"value":2370},"paragraph",{"type":886,"tag":253,"props":2372,"children":2373},{"style":904},[2374],{"type":901,"value":2375},"({ properties: { keepNext: ",{"type":886,"tag":253,"props":2377,"children":2378},{"style":1082},[2379],{"type":901,"value":2380},"true",{"type":886,"tag":253,"props":2382,"children":2383},{"style":904},[2384],{"type":901,"value":2385}," },\n",{"type":886,"tag":253,"props":2387,"children":2389},{"class":255,"line":2388},47,[2390,2395,2399,2404,2409,2414,2418,2422],{"type":886,"tag":253,"props":2391,"children":2392},{"style":904},[2393],{"type":901,"value":2394},"          children: [api.inline.",{"type":886,"tag":253,"props":2396,"children":2397},{"style":1140},[2398],{"type":901,"value":901},{"type":886,"tag":253,"props":2400,"children":2401},{"style":904},[2402],{"type":901,"value":2403},"(node.card.title, { marks: [api.marks.",{"type":886,"tag":253,"props":2405,"children":2406},{"style":1140},[2407],{"type":901,"value":2408},"bold",{"type":886,"tag":253,"props":2410,"children":2411},{"style":904},[2412],{"type":901,"value":2413},"()] })] }), ",{"type":886,"tag":253,"props":2415,"children":2416},{"style":898},[2417],{"type":901,"value":1810},{"type":886,"tag":253,"props":2419,"children":2420},{"style":1140},[2421],{"type":901,"value":209},{"type":886,"tag":253,"props":2423,"children":2424},{"style":904},[2425],{"type":901,"value":2426},"(node.children)];\n",{"type":886,"tag":253,"props":2428,"children":2430},{"class":255,"line":2429},48,[2431,2435,2440,2444,2449,2453,2457,2462,2466,2471,2475,2480,2484,2489,2494],{"type":886,"tag":253,"props":2432,"children":2433},{"style":898},[2434],{"type":901,"value":2146},{"type":886,"tag":253,"props":2436,"children":2437},{"style":1082},[2438],{"type":901,"value":2439}," styled",{"type":886,"tag":253,"props":2441,"children":2442},{"style":898},[2443],{"type":901,"value":384},{"type":886,"tag":253,"props":2445,"children":2446},{"style":904},[2447],{"type":901,"value":2448}," children.",{"type":886,"tag":253,"props":2450,"children":2451},{"style":1140},[2452],{"type":901,"value":1546},{"type":886,"tag":253,"props":2454,"children":2455},{"style":904},[2456],{"type":901,"value":563},{"type":886,"tag":253,"props":2458,"children":2459},{"style":1207},[2460],{"type":901,"value":2461},"child",{"type":886,"tag":253,"props":2463,"children":2464},{"style":898},[2465],{"type":901,"value":1559},{"type":886,"tag":253,"props":2467,"children":2468},{"style":904},[2469],{"type":901,"value":2470}," ({ ",{"type":886,"tag":253,"props":2472,"children":2473},{"style":898},[2474],{"type":901,"value":1810},{"type":886,"tag":253,"props":2476,"children":2477},{"style":904},[2478],{"type":901,"value":2479},"child, attrs: { ",{"type":886,"tag":253,"props":2481,"children":2482},{"style":898},[2483],{"type":901,"value":1810},{"type":886,"tag":253,"props":2485,"children":2486},{"style":904},[2487],{"type":901,"value":2488},"child.attrs, styleId: ",{"type":886,"tag":253,"props":2490,"children":2491},{"style":914},[2492],{"type":901,"value":2493},"'QuireKitContainer_note'",{"type":886,"tag":253,"props":2495,"children":2496},{"style":904},[2497],{"type":901,"value":2498}," } }));\n",{"type":886,"tag":253,"props":2500,"children":2502},{"class":255,"line":2501},49,[2503,2507,2512,2516,2521,2526,2531,2536,2541,2546],{"type":886,"tag":253,"props":2504,"children":2505},{"style":898},[2506],{"type":901,"value":2146},{"type":886,"tag":253,"props":2508,"children":2509},{"style":1082},[2510],{"type":901,"value":2511}," cell",{"type":886,"tag":253,"props":2513,"children":2514},{"style":898},[2515],{"type":901,"value":384},{"type":886,"tag":253,"props":2517,"children":2518},{"style":904},[2519],{"type":901,"value":2520}," api.tables.",{"type":886,"tag":253,"props":2522,"children":2523},{"style":1140},[2524],{"type":901,"value":2525},"cell",{"type":886,"tag":253,"props":2527,"children":2528},{"style":904},[2529],{"type":901,"value":2530},"({ children: styled, width: { value: ",{"type":886,"tag":253,"props":2532,"children":2533},{"style":1082},[2534],{"type":901,"value":2535},"5000",{"type":886,"tag":253,"props":2537,"children":2538},{"style":904},[2539],{"type":901,"value":2540},", type: ",{"type":886,"tag":253,"props":2542,"children":2543},{"style":914},[2544],{"type":901,"value":2545},"'pct'",{"type":886,"tag":253,"props":2547,"children":2548},{"style":904},[2549],{"type":901,"value":2385},{"type":886,"tag":253,"props":2551,"children":2553},{"class":255,"line":2552},50,[2554,2559,2563,2568,2572,2576,2581,2585,2589],{"type":886,"tag":253,"props":2555,"children":2556},{"style":904},[2557],{"type":901,"value":2558},"          shading: { val: style.fill ",{"type":886,"tag":253,"props":2560,"children":2561},{"style":898},[2562],{"type":901,"value":1800},{"type":886,"tag":253,"props":2564,"children":2565},{"style":914},[2566],{"type":901,"value":2567}," 'clear'",{"type":886,"tag":253,"props":2569,"children":2570},{"style":898},[2571],{"type":901,"value":766},{"type":886,"tag":253,"props":2573,"children":2574},{"style":914},[2575],{"type":901,"value":2219},{"type":886,"tag":253,"props":2577,"children":2578},{"style":904},[2579],{"type":901,"value":2580},", fill: style.fill ",{"type":886,"tag":253,"props":2582,"children":2583},{"style":898},[2584],{"type":901,"value":2174},{"type":886,"tag":253,"props":2586,"children":2587},{"style":914},[2588],{"type":901,"value":2233},{"type":886,"tag":253,"props":2590,"children":2591},{"style":904},[2592],{"type":901,"value":2385},{"type":886,"tag":253,"props":2594,"children":2596},{"class":255,"line":2595},51,[2597],{"type":886,"tag":253,"props":2598,"children":2599},{"style":904},[2600],{"type":901,"value":2601},"          borders: { top: border, bottom: border, left: border, right: border } });\n",{"type":886,"tag":253,"props":2603,"children":2605},{"class":255,"line":2604},52,[2606,2610,2615,2619,2623,2627,2632,2636,2640,2644,2649,2654],{"type":886,"tag":253,"props":2607,"children":2608},{"style":898},[2609],{"type":901,"value":2146},{"type":886,"tag":253,"props":2611,"children":2612},{"style":1082},[2613],{"type":901,"value":2614}," table",{"type":886,"tag":253,"props":2616,"children":2617},{"style":898},[2618],{"type":901,"value":384},{"type":886,"tag":253,"props":2620,"children":2621},{"style":904},[2622],{"type":901,"value":2520},{"type":886,"tag":253,"props":2624,"children":2625},{"style":1140},[2626],{"type":901,"value":37},{"type":886,"tag":253,"props":2628,"children":2629},{"style":904},[2630],{"type":901,"value":2631},"({ width: { value: ",{"type":886,"tag":253,"props":2633,"children":2634},{"style":1082},[2635],{"type":901,"value":2535},{"type":886,"tag":253,"props":2637,"children":2638},{"style":904},[2639],{"type":901,"value":2540},{"type":886,"tag":253,"props":2641,"children":2642},{"style":914},[2643],{"type":901,"value":2545},{"type":886,"tag":253,"props":2645,"children":2646},{"style":904},[2647],{"type":901,"value":2648}," }, rows: [api.tables.",{"type":886,"tag":253,"props":2650,"children":2651},{"style":1140},[2652],{"type":901,"value":2653},"row",{"type":886,"tag":253,"props":2655,"children":2656},{"style":904},[2657],{"type":901,"value":2658},"({ cells: [\n",{"type":886,"tag":253,"props":2660,"children":2662},{"class":255,"line":2661},53,[2663,2668,2672,2677,2681],{"type":886,"tag":253,"props":2664,"children":2665},{"style":904},[2666],{"type":901,"value":2667},"          { ",{"type":886,"tag":253,"props":2669,"children":2670},{"style":898},[2671],{"type":901,"value":1810},{"type":886,"tag":253,"props":2673,"children":2674},{"style":904},[2675],{"type":901,"value":2676},"cell, attrs: { ",{"type":886,"tag":253,"props":2678,"children":2679},{"style":898},[2680],{"type":901,"value":1810},{"type":886,"tag":253,"props":2682,"children":2683},{"style":904},[2684],{"type":901,"value":2685},"cell.attrs, cellMargins: { top: padding, bottom: padding, left: padding, right: padding } } },\n",{"type":886,"tag":253,"props":2687,"children":2689},{"class":255,"line":2688},54,[2690],{"type":886,"tag":253,"props":2691,"children":2692},{"style":904},[2693],{"type":901,"value":2694},"        ] })] });\n",{"type":886,"tag":253,"props":2696,"children":2698},{"class":255,"line":2697},55,[2699,2703,2708,2713],{"type":886,"tag":253,"props":2700,"children":2701},{"style":898},[2702],{"type":901,"value":1780},{"type":886,"tag":253,"props":2704,"children":2705},{"style":904},[2706],{"type":901,"value":2707}," [api.roundTrip.",{"type":886,"tag":253,"props":2709,"children":2710},{"style":1140},[2711],{"type":901,"value":2712},"taggedBlock",{"type":886,"tag":253,"props":2714,"children":2715},{"style":904},[2716],{"type":901,"value":2717},"({ tag, alias: node.card.title, children: [table],\n",{"type":886,"tag":253,"props":2719,"children":2721},{"class":255,"line":2720},56,[2722,2727,2732,2737,2741],{"type":886,"tag":253,"props":2723,"children":2724},{"style":904},[2725],{"type":901,"value":2726},"          metadata: { version: ",{"type":886,"tag":253,"props":2728,"children":2729},{"style":1082},[2730],{"type":901,"value":2731},"1",{"type":886,"tag":253,"props":2733,"children":2734},{"style":904},[2735],{"type":901,"value":2736},", data: { title: node.card.title, paragraphs: [",{"type":886,"tag":253,"props":2738,"children":2739},{"style":898},[2740],{"type":901,"value":1810},{"type":886,"tag":253,"props":2742,"children":2743},{"style":904},[2744],{"type":901,"value":2745},"node.card.paragraphs] } } })];\n",{"type":886,"tag":253,"props":2747,"children":2749},{"class":255,"line":2748},57,[2750],{"type":886,"tag":253,"props":2751,"children":2752},{"style":904},[2753],{"type":901,"value":2754},"      } },\n",{"type":886,"tag":253,"props":2756,"children":2758},{"class":255,"line":2757},58,[2759,2764,2769,2774,2779,2783,2787,2791,2796,2800,2805,2809,2814,2818,2823,2827,2832,2836,2841],{"type":886,"tag":253,"props":2760,"children":2761},{"style":904},[2762],{"type":901,"value":2763},"      import: { from: docx.roundTrip.",{"type":886,"tag":253,"props":2765,"children":2766},{"style":1140},[2767],{"type":901,"value":2768},"matchTag",{"type":886,"tag":253,"props":2770,"children":2771},{"style":904},[2772],{"type":901,"value":2773},"(tag), creates: [",{"type":886,"tag":253,"props":2775,"children":2776},{"style":914},[2777],{"type":901,"value":2778},"'docxSource'",{"type":886,"tag":253,"props":2780,"children":2781},{"style":904},[2782],{"type":901,"value":645},{"type":886,"tag":253,"props":2784,"children":2785},{"style":914},[2786],{"type":901,"value":1569},{"type":886,"tag":253,"props":2788,"children":2789},{"style":904},[2790],{"type":901,"value":645},{"type":886,"tag":253,"props":2792,"children":2793},{"style":914},[2794],{"type":901,"value":2795},"'heading'",{"type":886,"tag":253,"props":2797,"children":2798},{"style":904},[2799],{"type":901,"value":645},{"type":886,"tag":253,"props":2801,"children":2802},{"style":914},[2803],{"type":901,"value":2804},"'list'",{"type":886,"tag":253,"props":2806,"children":2807},{"style":904},[2808],{"type":901,"value":645},{"type":886,"tag":253,"props":2810,"children":2811},{"style":914},[2812],{"type":901,"value":2813},"'blockquote'",{"type":886,"tag":253,"props":2815,"children":2816},{"style":904},[2817],{"type":901,"value":645},{"type":886,"tag":253,"props":2819,"children":2820},{"style":914},[2821],{"type":901,"value":2822},"'code'",{"type":886,"tag":253,"props":2824,"children":2825},{"style":904},[2826],{"type":901,"value":645},{"type":886,"tag":253,"props":2828,"children":2829},{"style":914},[2830],{"type":901,"value":2831},"'table'",{"type":886,"tag":253,"props":2833,"children":2834},{"style":904},[2835],{"type":901,"value":645},{"type":886,"tag":253,"props":2837,"children":2838},{"style":914},[2839],{"type":901,"value":2840},"'thematicBreak'",{"type":886,"tag":253,"props":2842,"children":2843},{"style":904},[2844],{"type":901,"value":2845},"],\n",{"type":886,"tag":253,"props":2847,"children":2849},{"class":255,"line":2848},59,[2850,2855,2859,2863,2867,2871,2875,2879,2883,2887,2891,2895,2899,2903],{"type":886,"tag":253,"props":2851,"children":2852},{"style":1140},[2853],{"type":901,"value":2854},"        convert",{"type":886,"tag":253,"props":2856,"children":2857},{"style":904},[2858],{"type":901,"value":2016},{"type":886,"tag":253,"props":2860,"children":2861},{"style":1207},[2862],{"type":901,"value":1296},{"type":886,"tag":253,"props":2864,"children":2865},{"style":904},[2866],{"type":901,"value":645},{"type":886,"tag":253,"props":2868,"children":2869},{"style":1207},[2870],{"type":901,"value":769},{"type":886,"tag":253,"props":2872,"children":2873},{"style":904},[2874],{"type":901,"value":2033},{"type":886,"tag":253,"props":2876,"children":2877},{"style":1207},[2878],{"type":901,"value":2038},{"type":886,"tag":253,"props":2880,"children":2881},{"style":904},[2882],{"type":901,"value":645},{"type":886,"tag":253,"props":2884,"children":2885},{"style":1207},[2886],{"type":901,"value":209},{"type":886,"tag":253,"props":2888,"children":2889},{"style":904},[2890],{"type":901,"value":645},{"type":886,"tag":253,"props":2892,"children":2893},{"style":1207},[2894],{"type":901,"value":1630},{"type":886,"tag":253,"props":2896,"children":2897},{"style":904},[2898],{"type":901,"value":2060},{"type":886,"tag":253,"props":2900,"children":2901},{"style":898},[2902],{"type":901,"value":1939},{"type":886,"tag":253,"props":2904,"children":2905},{"style":904},[2906],{"type":901,"value":1162},{"type":886,"tag":253,"props":2908,"children":2910},{"class":255,"line":2909},60,[2911],{"type":886,"tag":253,"props":2912,"children":2913},{"style":1111},[2914],{"type":901,"value":2915},"          \u002F\u002F The shared codec first verifies visible-content fingerprints. Then\n",{"type":886,"tag":253,"props":2917,"children":2919},{"class":255,"line":2918},61,[2920],{"type":886,"tag":253,"props":2921,"children":2922},{"style":1111},[2923],{"type":901,"value":2924},"          \u002F\u002F validate our own payload\u002Fversion; never resurrect stale Word text.\n",{"type":886,"tag":253,"props":2926,"children":2928},{"class":255,"line":2927},62,[2929,2934,2939,2943,2948,2953],{"type":886,"tag":253,"props":2930,"children":2931},{"style":898},[2932],{"type":901,"value":2933},"          const",{"type":886,"tag":253,"props":2935,"children":2936},{"style":1082},[2937],{"type":901,"value":2938}," metadata",{"type":886,"tag":253,"props":2940,"children":2941},{"style":898},[2942],{"type":901,"value":384},{"type":886,"tag":253,"props":2944,"children":2945},{"style":904},[2946],{"type":901,"value":2947}," api.roundTrip.",{"type":886,"tag":253,"props":2949,"children":2950},{"style":1140},[2951],{"type":901,"value":2952},"readMetadata",{"type":886,"tag":253,"props":2954,"children":2955},{"style":904},[2956],{"type":901,"value":2957},"(node);\n",{"type":886,"tag":253,"props":2959,"children":2961},{"class":255,"line":2960},63,[2962,2967,2972,2976,2981],{"type":886,"tag":253,"props":2963,"children":2964},{"style":898},[2965],{"type":901,"value":2966},"          if",{"type":886,"tag":253,"props":2968,"children":2969},{"style":904},[2970],{"type":901,"value":2971}," (metadata?.version ",{"type":886,"tag":253,"props":2973,"children":2974},{"style":898},[2975],{"type":901,"value":1341},{"type":886,"tag":253,"props":2977,"children":2978},{"style":1082},[2979],{"type":901,"value":2980}," 1",{"type":886,"tag":253,"props":2982,"children":2983},{"style":904},[2984],{"type":901,"value":599},{"type":886,"tag":253,"props":2986,"children":2988},{"class":255,"line":2987},64,[2989,2994,2998,3003,3008,3012,3017,3022,3026,3031],{"type":886,"tag":253,"props":2990,"children":2991},{"style":898},[2992],{"type":901,"value":2993},"            try",{"type":886,"tag":253,"props":2995,"children":2996},{"style":904},[2997],{"type":901,"value":1805},{"type":886,"tag":253,"props":2999,"children":3000},{"style":898},[3001],{"type":901,"value":3002},"return",{"type":886,"tag":253,"props":3004,"children":3005},{"style":904},[3006],{"type":901,"value":3007}," [{ type: ",{"type":886,"tag":253,"props":3009,"children":3010},{"style":914},[3011],{"type":901,"value":2778},{"type":886,"tag":253,"props":3013,"children":3014},{"style":904},[3015],{"type":901,"value":3016},", value: ",{"type":886,"tag":253,"props":3018,"children":3019},{"style":1140},[3020],{"type":901,"value":3021},"approvalCardMarkdown",{"type":886,"tag":253,"props":3023,"children":3024},{"style":904},[3025],{"type":901,"value":563},{"type":886,"tag":253,"props":3027,"children":3028},{"style":1140},[3029],{"type":901,"value":3030},"readApprovalCard",{"type":886,"tag":253,"props":3032,"children":3033},{"style":904},[3034],{"type":901,"value":3035},"(metadata.data)) }]; }\n",{"type":886,"tag":253,"props":3037,"children":3039},{"class":255,"line":3038},65,[3040,3045,3049,3054],{"type":886,"tag":253,"props":3041,"children":3042},{"style":898},[3043],{"type":901,"value":3044},"            catch",{"type":886,"tag":253,"props":3046,"children":3047},{"style":904},[3048],{"type":901,"value":1805},{"type":886,"tag":253,"props":3050,"children":3051},{"style":1111},[3052],{"type":901,"value":3053},"\u002F* Invalid business data must use the current visible content. *\u002F",{"type":886,"tag":253,"props":3055,"children":3056},{"style":904},[3057],{"type":901,"value":3058}," }\n",{"type":886,"tag":253,"props":3060,"children":3062},{"class":255,"line":3061},66,[3063],{"type":886,"tag":253,"props":3064,"children":3065},{"style":904},[3066],{"type":901,"value":1762},{"type":886,"tag":253,"props":3068,"children":3070},{"class":255,"line":3069},67,[3071,3076,3080,3085,3090,3094,3098,3102],{"type":886,"tag":253,"props":3072,"children":3073},{"style":1140},[3074],{"type":901,"value":3075},"          report",{"type":886,"tag":253,"props":3077,"children":3078},{"style":904},[3079],{"type":901,"value":1635},{"type":886,"tag":253,"props":3081,"children":3082},{"style":914},[3083],{"type":901,"value":3084},"'approval-card-source-unavailable'",{"type":886,"tag":253,"props":3086,"children":3087},{"style":904},[3088],{"type":901,"value":3089},", severity: ",{"type":886,"tag":253,"props":3091,"children":3092},{"style":914},[3093],{"type":901,"value":1715},{"type":886,"tag":253,"props":3095,"children":3096},{"style":904},[3097],{"type":901,"value":1720},{"type":886,"tag":253,"props":3099,"children":3100},{"style":914},[3101],{"type":901,"value":1725},{"type":886,"tag":253,"props":3103,"children":3104},{"style":904},[3105],{"type":901,"value":516},{"type":886,"tag":253,"props":3107,"children":3109},{"class":255,"line":3108},68,[3110,3115,3120],{"type":886,"tag":253,"props":3111,"children":3112},{"style":904},[3113],{"type":901,"value":3114},"            message: ",{"type":886,"tag":253,"props":3116,"children":3117},{"style":914},[3118],{"type":901,"value":3119},"'Card metadata is unavailable; current visible content was retained.'",{"type":886,"tag":253,"props":3121,"children":3122},{"style":904},[3123],{"type":901,"value":1740},{"type":886,"tag":253,"props":3125,"children":3127},{"class":255,"line":3126},69,[3128,3132,3136,3140,3145,3149,3154,3159,3163,3167,3171,3176,3180,3185,3189,3194,3198,3203],{"type":886,"tag":253,"props":3129,"children":3130},{"style":898},[3131],{"type":901,"value":2933},{"type":886,"tag":253,"props":3133,"children":3134},{"style":1082},[3135],{"type":901,"value":2356},{"type":886,"tag":253,"props":3137,"children":3138},{"style":898},[3139],{"type":901,"value":384},{"type":886,"tag":253,"props":3141,"children":3142},{"style":904},[3143],{"type":901,"value":3144}," (node.children ",{"type":886,"tag":253,"props":3146,"children":3147},{"style":898},[3148],{"type":901,"value":2174},{"type":886,"tag":253,"props":3150,"children":3151},{"style":904},[3152],{"type":901,"value":3153}," []).",{"type":886,"tag":253,"props":3155,"children":3156},{"style":1140},[3157],{"type":901,"value":3158},"flatMap",{"type":886,"tag":253,"props":3160,"children":3161},{"style":904},[3162],{"type":901,"value":563},{"type":886,"tag":253,"props":3164,"children":3165},{"style":1207},[3166],{"type":901,"value":2461},{"type":886,"tag":253,"props":3168,"children":3169},{"style":898},[3170],{"type":901,"value":1559},{"type":886,"tag":253,"props":3172,"children":3173},{"style":904},[3174],{"type":901,"value":3175}," child.type ",{"type":886,"tag":253,"props":3177,"children":3178},{"style":898},[3179],{"type":901,"value":1341},{"type":886,"tag":253,"props":3181,"children":3182},{"style":914},[3183],{"type":901,"value":3184}," 'table'",{"type":886,"tag":253,"props":3186,"children":3187},{"style":898},[3188],{"type":901,"value":1351},{"type":886,"tag":253,"props":3190,"children":3191},{"style":904},[3192],{"type":901,"value":3193}," child.children?.",{"type":886,"tag":253,"props":3195,"children":3196},{"style":1082},[3197],{"type":901,"value":1401},{"type":886,"tag":253,"props":3199,"children":3200},{"style":898},[3201],{"type":901,"value":3202}," ===",{"type":886,"tag":253,"props":3204,"children":3205},{"style":1082},[3206],{"type":901,"value":3207}," 1\n",{"type":886,"tag":253,"props":3209,"children":3211},{"class":255,"line":3210},70,[3212,3217,3222,3226,3231,3235,3239,3243,3248,3252,3256,3261,3265,3270,3275,3280,3284,3289,3293],{"type":886,"tag":253,"props":3213,"children":3214},{"style":898},[3215],{"type":901,"value":3216},"            &&",{"type":886,"tag":253,"props":3218,"children":3219},{"style":904},[3220],{"type":901,"value":3221}," child.children[",{"type":886,"tag":253,"props":3223,"children":3224},{"style":1082},[3225],{"type":901,"value":2288},{"type":886,"tag":253,"props":3227,"children":3228},{"style":904},[3229],{"type":901,"value":3230},"]?.children?.",{"type":886,"tag":253,"props":3232,"children":3233},{"style":1082},[3234],{"type":901,"value":1401},{"type":886,"tag":253,"props":3236,"children":3237},{"style":898},[3238],{"type":901,"value":3202},{"type":886,"tag":253,"props":3240,"children":3241},{"style":1082},[3242],{"type":901,"value":2980},{"type":886,"tag":253,"props":3244,"children":3245},{"style":898},[3246],{"type":901,"value":3247}," ?",{"type":886,"tag":253,"props":3249,"children":3250},{"style":904},[3251],{"type":901,"value":3221},{"type":886,"tag":253,"props":3253,"children":3254},{"style":1082},[3255],{"type":901,"value":2288},{"type":886,"tag":253,"props":3257,"children":3258},{"style":904},[3259],{"type":901,"value":3260},"].children[",{"type":886,"tag":253,"props":3262,"children":3263},{"style":1082},[3264],{"type":901,"value":2288},{"type":886,"tag":253,"props":3266,"children":3267},{"style":904},[3268],{"type":901,"value":3269},"]",{"type":886,"tag":253,"props":3271,"children":3272},{"style":898},[3273],{"type":901,"value":3274},"!",{"type":886,"tag":253,"props":3276,"children":3277},{"style":904},[3278],{"type":901,"value":3279},".children ",{"type":886,"tag":253,"props":3281,"children":3282},{"style":898},[3283],{"type":901,"value":2174},{"type":886,"tag":253,"props":3285,"children":3286},{"style":904},[3287],{"type":901,"value":3288}," [] ",{"type":886,"tag":253,"props":3290,"children":3291},{"style":898},[3292],{"type":901,"value":570},{"type":886,"tag":253,"props":3294,"children":3295},{"style":904},[3296],{"type":901,"value":3297}," [child]);\n",{"type":886,"tag":253,"props":3299,"children":3301},{"class":255,"line":3300},71,[3302,3307,3312],{"type":886,"tag":253,"props":3303,"children":3304},{"style":898},[3305],{"type":901,"value":3306},"          return",{"type":886,"tag":253,"props":3308,"children":3309},{"style":1140},[3310],{"type":901,"value":3311}," convertChildren",{"type":886,"tag":253,"props":3313,"children":3314},{"style":904},[3315],{"type":901,"value":3316},"(children);\n",{"type":886,"tag":253,"props":3318,"children":3320},{"class":255,"line":3319},72,[3321],{"type":886,"tag":253,"props":3322,"children":3323},{"style":904},[3324],{"type":901,"value":3325},"        } },\n",{"type":886,"tag":253,"props":3327,"children":3329},{"class":255,"line":3328},73,[3330],{"type":886,"tag":253,"props":3331,"children":3332},{"style":904},[3333],{"type":901,"value":3334},"    }),\n",{"type":886,"tag":253,"props":3336,"children":3338},{"class":255,"line":3337},74,[3339],{"type":886,"tag":253,"props":3340,"children":3341},{"style":904},[3342],{"type":901,"value":3343},"  };\n",{"type":886,"tag":253,"props":3345,"children":3347},{"class":255,"line":3346},75,[3348],{"type":886,"tag":253,"props":3349,"children":3350},{"style":904},[3351],{"type":901,"value":615},{"type":886,"tag":846,"props":3353,"children":3354},{},[3355],{"type":901,"value":3356},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"data":3358,"body":3359},{},{"type":883,"children":3360},[3361,4914],{"type":886,"tag":244,"props":3362,"children":3364},{"className":306,"code":3363,"language":308,"meta":249,"style":249},"import { createMarkdownDocxCodeImageExtension, type MarkdownDocxCodeImageRequest, type MarkdownDocxExtension } from '@quirekit\u002Fmarkdown-docx';\n\n\u002F**\n * Draws a bounded chart from source data without reading a mounted editor view.\n * @param request - A progress-chart fence containing a JSON number array.\n * @param ownerDocument - Explicit browser capability owned by this export.\n * @param signal - Cancellation of this export, not a global editor signal.\n * @returns A complete PNG data URI; malformed data throws for the shared source fallback.\n *\u002F\nexport async function renderProgressChart(request: MarkdownDocxCodeImageRequest, ownerDocument: Document, signal?: AbortSignal): Promise\u003Cstring> {\n  signal?.throwIfAborted();\n  if (request.language !== 'progress-chart' || request.value.length > 2000) throw new Error('Unsupported chart input.');\n  const values: unknown = JSON.parse(request.value);\n  if (!Array.isArray(values) || !values.length || values.length > 12\n    || values.some(value => typeof value !== 'number' || !Number.isFinite(value) || value \u003C 0 || value > 100)) throw new Error('Expected 1–12 values between 0 and 100.');\n  const canvas = ownerDocument.createElement('canvas');\n  \u002F\u002F Raster dimensions are fixed and bounded. The common exporter separately\n  \u002F\u002F fits this image to the current page\u002Fcell width without changing its ratio.\n  canvas.width = 1200; canvas.height = 480;\n  try {\n    const context = canvas.getContext('2d');\n    if (!context) throw new Error('Canvas 2D is unavailable.');\n    context.fillStyle = '#FFFFFF'; context.fillRect(0, 0, canvas.width, canvas.height);\n    context.fillStyle = '#172033'; context.font = 'bold 32px sans-serif'; context.fillText('Progress', 40, 52);\n    const step = 1120 \u002F values.length;\n    values.forEach((value: number, index: number) => {\n      const height = value * 3;\n      context.fillStyle = '#4F63D8'; context.fillRect(40 + step * index, 410 - height, step * .65, height);\n      context.fillStyle = '#172033'; context.font = '24px sans-serif'; context.fillText(String(value), 40 + step * index, 444);\n    });\n    signal?.throwIfAborted();\n    return canvas.toDataURL('image\u002Fpng');\n  } finally { canvas.width = 0; canvas.height = 0; }\n}\n\n\u002F**\n * Registers the image recipe for a standalone conversion operation.\n * @param ownerDocument - Browser capability used for offscreen rendering.\n * @param signal - Optional operation cancellation.\n * @param metadata - Word source recovery; PDF has no round-trip store.\n * @returns The one code-image owner. Merge other languages into its renderer when composing with Mermaid.\n *\u002F\nexport function createProgressChartExtension(ownerDocument: Document, signal?: AbortSignal, metadata = true): MarkdownDocxExtension {\n  return createMarkdownDocxCodeImageExtension({ languages: ['progress-chart'], metadata,\n    render: request => renderProgressChart(request, ownerDocument, signal) });\n}\n\n",[3365],{"type":886,"tag":14,"props":3366,"children":3367},{"__ignoreMap":249},[3368,3409,3416,3424,3432,3454,3475,3496,3512,3520,3620,3638,3712,3756,3827,3962,4001,4009,4017,4052,4064,4104,4150,4198,4268,4306,4366,4400,4481,4560,4568,4584,4614,4657,4664,4671,4678,4686,4706,4726,4746,4762,4769,4851,4878,4907],{"type":886,"tag":253,"props":3369,"children":3370},{"class":255,"line":256},[3371,3375,3380,3384,3389,3393,3397,3401,3405],{"type":886,"tag":253,"props":3372,"children":3373},{"style":898},[3374],{"type":901,"value":316},{"type":886,"tag":253,"props":3376,"children":3377},{"style":904},[3378],{"type":901,"value":3379}," { createMarkdownDocxCodeImageExtension, ",{"type":886,"tag":253,"props":3381,"children":3382},{"style":898},[3383],{"type":901,"value":537},{"type":886,"tag":253,"props":3385,"children":3386},{"style":904},[3387],{"type":901,"value":3388}," MarkdownDocxCodeImageRequest, ",{"type":886,"tag":253,"props":3390,"children":3391},{"style":898},[3392],{"type":901,"value":537},{"type":886,"tag":253,"props":3394,"children":3395},{"style":904},[3396],{"type":901,"value":973},{"type":886,"tag":253,"props":3398,"children":3399},{"style":898},[3400],{"type":901,"value":323},{"type":886,"tag":253,"props":3402,"children":3403},{"style":914},[3404],{"type":901,"value":982},{"type":886,"tag":253,"props":3406,"children":3407},{"style":904},[3408],{"type":901,"value":922},{"type":886,"tag":253,"props":3410,"children":3411},{"class":255,"line":262},[3412],{"type":886,"tag":253,"props":3413,"children":3414},{"emptyLinePlaceholder":370},[3415],{"type":901,"value":371},{"type":886,"tag":253,"props":3417,"children":3418},{"class":255,"line":268},[3419],{"type":886,"tag":253,"props":3420,"children":3421},{"style":1111},[3422],{"type":901,"value":3423},"\u002F**\n",{"type":886,"tag":253,"props":3425,"children":3426},{"class":255,"line":354},[3427],{"type":886,"tag":253,"props":3428,"children":3429},{"style":1111},[3430],{"type":901,"value":3431}," * Draws a bounded chart from source data without reading a mounted editor view.\n",{"type":886,"tag":253,"props":3433,"children":3434},{"class":255,"line":367},[3435,3440,3444,3449],{"type":886,"tag":253,"props":3436,"children":3437},{"style":1111},[3438],{"type":901,"value":3439}," * ",{"type":886,"tag":253,"props":3441,"children":3442},{"style":898},[3443],{"type":901,"value":1254},{"type":886,"tag":253,"props":3445,"children":3446},{"style":904},[3447],{"type":901,"value":3448}," request",{"type":886,"tag":253,"props":3450,"children":3451},{"style":1111},[3452],{"type":901,"value":3453}," - A progress-chart fence containing a JSON number array.\n",{"type":886,"tag":253,"props":3455,"children":3456},{"class":255,"line":374},[3457,3461,3465,3470],{"type":886,"tag":253,"props":3458,"children":3459},{"style":1111},[3460],{"type":901,"value":3439},{"type":886,"tag":253,"props":3462,"children":3463},{"style":898},[3464],{"type":901,"value":1254},{"type":886,"tag":253,"props":3466,"children":3467},{"style":904},[3468],{"type":901,"value":3469}," ownerDocument",{"type":886,"tag":253,"props":3471,"children":3472},{"style":1111},[3473],{"type":901,"value":3474}," - Explicit browser capability owned by this export.\n",{"type":886,"tag":253,"props":3476,"children":3477},{"class":255,"line":406},[3478,3482,3486,3491],{"type":886,"tag":253,"props":3479,"children":3480},{"style":1111},[3481],{"type":901,"value":3439},{"type":886,"tag":253,"props":3483,"children":3484},{"style":898},[3485],{"type":901,"value":1254},{"type":886,"tag":253,"props":3487,"children":3488},{"style":904},[3489],{"type":901,"value":3490}," signal",{"type":886,"tag":253,"props":3492,"children":3493},{"style":1111},[3494],{"type":901,"value":3495}," - Cancellation of this export, not a global editor signal.\n",{"type":886,"tag":253,"props":3497,"children":3498},{"class":255,"line":425},[3499,3503,3507],{"type":886,"tag":253,"props":3500,"children":3501},{"style":1111},[3502],{"type":901,"value":3439},{"type":886,"tag":253,"props":3504,"children":3505},{"style":898},[3506],{"type":901,"value":1119},{"type":886,"tag":253,"props":3508,"children":3509},{"style":1111},[3510],{"type":901,"value":3511}," A complete PNG data URI; malformed data throws for the shared source fallback.\n",{"type":886,"tag":253,"props":3513,"children":3514},{"class":255,"line":444},[3515],{"type":886,"tag":253,"props":3516,"children":3517},{"style":1111},[3518],{"type":901,"value":3519}," *\u002F\n",{"type":886,"tag":253,"props":3521,"children":3522},{"class":255,"line":463},[3523,3527,3532,3536,3541,3545,3550,3554,3559,3563,3567,3571,3575,3579,3583,3588,3593,3597,3601,3606,3610,3615],{"type":886,"tag":253,"props":3524,"children":3525},{"style":898},[3526],{"type":901,"value":1133},{"type":886,"tag":253,"props":3528,"children":3529},{"style":898},[3530],{"type":901,"value":3531}," async",{"type":886,"tag":253,"props":3533,"children":3534},{"style":898},[3535],{"type":901,"value":557},{"type":886,"tag":253,"props":3537,"children":3538},{"style":1140},[3539],{"type":901,"value":3540}," renderProgressChart",{"type":886,"tag":253,"props":3542,"children":3543},{"style":904},[3544],{"type":901,"value":563},{"type":886,"tag":253,"props":3546,"children":3547},{"style":1207},[3548],{"type":901,"value":3549},"request",{"type":886,"tag":253,"props":3551,"children":3552},{"style":898},[3553],{"type":901,"value":570},{"type":886,"tag":253,"props":3555,"children":3556},{"style":1140},[3557],{"type":901,"value":3558}," MarkdownDocxCodeImageRequest",{"type":886,"tag":253,"props":3560,"children":3561},{"style":904},[3562],{"type":901,"value":645},{"type":886,"tag":253,"props":3564,"children":3565},{"style":1207},[3566],{"type":901,"value":591},{"type":886,"tag":253,"props":3568,"children":3569},{"style":898},[3570],{"type":901,"value":570},{"type":886,"tag":253,"props":3572,"children":3573},{"style":1140},[3574],{"type":901,"value":596},{"type":886,"tag":253,"props":3576,"children":3577},{"style":904},[3578],{"type":901,"value":645},{"type":886,"tag":253,"props":3580,"children":3581},{"style":1207},[3582],{"type":901,"value":654},{"type":886,"tag":253,"props":3584,"children":3585},{"style":898},[3586],{"type":901,"value":3587},"?:",{"type":886,"tag":253,"props":3589,"children":3590},{"style":1140},[3591],{"type":901,"value":3592}," AbortSignal",{"type":886,"tag":253,"props":3594,"children":3595},{"style":904},[3596],{"type":901,"value":1310},{"type":886,"tag":253,"props":3598,"children":3599},{"style":898},[3600],{"type":901,"value":570},{"type":886,"tag":253,"props":3602,"children":3603},{"style":1140},[3604],{"type":901,"value":3605}," Promise",{"type":886,"tag":253,"props":3607,"children":3608},{"style":904},[3609],{"type":901,"value":576},{"type":886,"tag":253,"props":3611,"children":3612},{"style":1082},[3613],{"type":901,"value":3614},"string",{"type":886,"tag":253,"props":3616,"children":3617},{"style":904},[3618],{"type":901,"value":3619},"> {\n",{"type":886,"tag":253,"props":3621,"children":3622},{"class":255,"line":1127},[3623,3628,3633],{"type":886,"tag":253,"props":3624,"children":3625},{"style":904},[3626],{"type":901,"value":3627},"  signal?.",{"type":886,"tag":253,"props":3629,"children":3630},{"style":1140},[3631],{"type":901,"value":3632},"throwIfAborted",{"type":886,"tag":253,"props":3634,"children":3635},{"style":904},[3636],{"type":901,"value":3637},"();\n",{"type":886,"tag":253,"props":3639,"children":3640},{"class":255,"line":872},[3641,3646,3651,3655,3660,3665,3670,3674,3678,3683,3687,3691,3695,3699,3703,3708],{"type":886,"tag":253,"props":3642,"children":3643},{"style":898},[3644],{"type":901,"value":3645},"  if",{"type":886,"tag":253,"props":3647,"children":3648},{"style":904},[3649],{"type":901,"value":3650}," (request.language ",{"type":886,"tag":253,"props":3652,"children":3653},{"style":898},[3654],{"type":901,"value":2085},{"type":886,"tag":253,"props":3656,"children":3657},{"style":914},[3658],{"type":901,"value":3659}," 'progress-chart'",{"type":886,"tag":253,"props":3661,"children":3662},{"style":898},[3663],{"type":901,"value":3664}," ||",{"type":886,"tag":253,"props":3666,"children":3667},{"style":904},[3668],{"type":901,"value":3669}," request.value.",{"type":886,"tag":253,"props":3671,"children":3672},{"style":1082},[3673],{"type":901,"value":1401},{"type":886,"tag":253,"props":3675,"children":3676},{"style":898},[3677],{"type":901,"value":1406},{"type":886,"tag":253,"props":3679,"children":3680},{"style":1082},[3681],{"type":901,"value":3682}," 2000",{"type":886,"tag":253,"props":3684,"children":3685},{"style":904},[3686],{"type":901,"value":1416},{"type":886,"tag":253,"props":3688,"children":3689},{"style":898},[3690],{"type":901,"value":1421},{"type":886,"tag":253,"props":3692,"children":3693},{"style":898},[3694],{"type":901,"value":1426},{"type":886,"tag":253,"props":3696,"children":3697},{"style":1140},[3698],{"type":901,"value":1431},{"type":886,"tag":253,"props":3700,"children":3701},{"style":904},[3702],{"type":901,"value":563},{"type":886,"tag":253,"props":3704,"children":3705},{"style":914},[3706],{"type":901,"value":3707},"'Unsupported chart input.'",{"type":886,"tag":253,"props":3709,"children":3710},{"style":904},[3711],{"type":901,"value":1445},{"type":886,"tag":253,"props":3713,"children":3714},{"class":255,"line":1176},[3715,3720,3725,3729,3734,3738,3743,3747,3751],{"type":886,"tag":253,"props":3716,"children":3717},{"style":898},[3718],{"type":901,"value":3719},"  const",{"type":886,"tag":253,"props":3721,"children":3722},{"style":1082},[3723],{"type":901,"value":3724}," values",{"type":886,"tag":253,"props":3726,"children":3727},{"style":898},[3728],{"type":901,"value":570},{"type":886,"tag":253,"props":3730,"children":3731},{"style":1082},[3732],{"type":901,"value":3733}," unknown",{"type":886,"tag":253,"props":3735,"children":3736},{"style":898},[3737],{"type":901,"value":384},{"type":886,"tag":253,"props":3739,"children":3740},{"style":1082},[3741],{"type":901,"value":3742}," JSON",{"type":886,"tag":253,"props":3744,"children":3745},{"style":904},[3746],{"type":901,"value":658},{"type":886,"tag":253,"props":3748,"children":3749},{"style":1140},[3750],{"type":901,"value":1486},{"type":886,"tag":253,"props":3752,"children":3753},{"style":904},[3754],{"type":901,"value":3755},"(request.value);\n",{"type":886,"tag":253,"props":3757,"children":3758},{"class":255,"line":1194},[3759,3763,3767,3771,3776,3781,3786,3791,3796,3801,3805,3809,3814,3818,3822],{"type":886,"tag":253,"props":3760,"children":3761},{"style":898},[3762],{"type":901,"value":3645},{"type":886,"tag":253,"props":3764,"children":3765},{"style":904},[3766],{"type":901,"value":2160},{"type":886,"tag":253,"props":3768,"children":3769},{"style":898},[3770],{"type":901,"value":3274},{"type":886,"tag":253,"props":3772,"children":3773},{"style":904},[3774],{"type":901,"value":3775},"Array.",{"type":886,"tag":253,"props":3777,"children":3778},{"style":1140},[3779],{"type":901,"value":3780},"isArray",{"type":886,"tag":253,"props":3782,"children":3783},{"style":904},[3784],{"type":901,"value":3785},"(values) ",{"type":886,"tag":253,"props":3787,"children":3788},{"style":898},[3789],{"type":901,"value":3790},"||",{"type":886,"tag":253,"props":3792,"children":3793},{"style":898},[3794],{"type":901,"value":3795}," !",{"type":886,"tag":253,"props":3797,"children":3798},{"style":904},[3799],{"type":901,"value":3800},"values.",{"type":886,"tag":253,"props":3802,"children":3803},{"style":1082},[3804],{"type":901,"value":1401},{"type":886,"tag":253,"props":3806,"children":3807},{"style":898},[3808],{"type":901,"value":3664},{"type":886,"tag":253,"props":3810,"children":3811},{"style":904},[3812],{"type":901,"value":3813}," values.",{"type":886,"tag":253,"props":3815,"children":3816},{"style":1082},[3817],{"type":901,"value":1401},{"type":886,"tag":253,"props":3819,"children":3820},{"style":898},[3821],{"type":901,"value":1406},{"type":886,"tag":253,"props":3823,"children":3824},{"style":1082},[3825],{"type":901,"value":3826}," 12\n",{"type":886,"tag":253,"props":3828,"children":3829},{"class":255,"line":1225},[3830,3835,3839,3844,3848,3853,3857,3861,3866,3870,3875,3879,3883,3888,3893,3898,3902,3906,3910,3914,3918,3922,3927,3932,3937,3941,3945,3949,3953,3958],{"type":886,"tag":253,"props":3831,"children":3832},{"style":898},[3833],{"type":901,"value":3834},"    ||",{"type":886,"tag":253,"props":3836,"children":3837},{"style":904},[3838],{"type":901,"value":3813},{"type":886,"tag":253,"props":3840,"children":3841},{"style":1140},[3842],{"type":901,"value":3843},"some",{"type":886,"tag":253,"props":3845,"children":3846},{"style":904},[3847],{"type":901,"value":563},{"type":886,"tag":253,"props":3849,"children":3850},{"style":1207},[3851],{"type":901,"value":3852},"value",{"type":886,"tag":253,"props":3854,"children":3855},{"style":898},[3856],{"type":901,"value":1559},{"type":886,"tag":253,"props":3858,"children":3859},{"style":898},[3860],{"type":901,"value":1906},{"type":886,"tag":253,"props":3862,"children":3863},{"style":904},[3864],{"type":901,"value":3865}," value ",{"type":886,"tag":253,"props":3867,"children":3868},{"style":898},[3869],{"type":901,"value":2085},{"type":886,"tag":253,"props":3871,"children":3872},{"style":914},[3873],{"type":901,"value":3874}," 'number'",{"type":886,"tag":253,"props":3876,"children":3877},{"style":898},[3878],{"type":901,"value":3664},{"type":886,"tag":253,"props":3880,"children":3881},{"style":898},[3882],{"type":901,"value":3795},{"type":886,"tag":253,"props":3884,"children":3885},{"style":904},[3886],{"type":901,"value":3887},"Number.",{"type":886,"tag":253,"props":3889,"children":3890},{"style":1140},[3891],{"type":901,"value":3892},"isFinite",{"type":886,"tag":253,"props":3894,"children":3895},{"style":904},[3896],{"type":901,"value":3897},"(value) ",{"type":886,"tag":253,"props":3899,"children":3900},{"style":898},[3901],{"type":901,"value":3790},{"type":886,"tag":253,"props":3903,"children":3904},{"style":904},[3905],{"type":901,"value":3865},{"type":886,"tag":253,"props":3907,"children":3908},{"style":898},[3909],{"type":901,"value":576},{"type":886,"tag":253,"props":3911,"children":3912},{"style":1082},[3913],{"type":901,"value":1692},{"type":886,"tag":253,"props":3915,"children":3916},{"style":898},[3917],{"type":901,"value":3664},{"type":886,"tag":253,"props":3919,"children":3920},{"style":904},[3921],{"type":901,"value":3865},{"type":886,"tag":253,"props":3923,"children":3924},{"style":898},[3925],{"type":901,"value":3926},">",{"type":886,"tag":253,"props":3928,"children":3929},{"style":1082},[3930],{"type":901,"value":3931}," 100",{"type":886,"tag":253,"props":3933,"children":3934},{"style":904},[3935],{"type":901,"value":3936},")) ",{"type":886,"tag":253,"props":3938,"children":3939},{"style":898},[3940],{"type":901,"value":1421},{"type":886,"tag":253,"props":3942,"children":3943},{"style":898},[3944],{"type":901,"value":1426},{"type":886,"tag":253,"props":3946,"children":3947},{"style":1140},[3948],{"type":901,"value":1431},{"type":886,"tag":253,"props":3950,"children":3951},{"style":904},[3952],{"type":901,"value":563},{"type":886,"tag":253,"props":3954,"children":3955},{"style":914},[3956],{"type":901,"value":3957},"'Expected 1–12 values between 0 and 100.'",{"type":886,"tag":253,"props":3959,"children":3960},{"style":904},[3961],{"type":901,"value":1445},{"type":886,"tag":253,"props":3963,"children":3964},{"class":255,"line":1234},[3965,3969,3974,3978,3983,3988,3992,3997],{"type":886,"tag":253,"props":3966,"children":3967},{"style":898},[3968],{"type":901,"value":3719},{"type":886,"tag":253,"props":3970,"children":3971},{"style":1082},[3972],{"type":901,"value":3973}," canvas",{"type":886,"tag":253,"props":3975,"children":3976},{"style":898},[3977],{"type":901,"value":384},{"type":886,"tag":253,"props":3979,"children":3980},{"style":904},[3981],{"type":901,"value":3982}," ownerDocument.",{"type":886,"tag":253,"props":3984,"children":3985},{"style":1140},[3986],{"type":901,"value":3987},"createElement",{"type":886,"tag":253,"props":3989,"children":3990},{"style":904},[3991],{"type":901,"value":563},{"type":886,"tag":253,"props":3993,"children":3994},{"style":914},[3995],{"type":901,"value":3996},"'canvas'",{"type":886,"tag":253,"props":3998,"children":3999},{"style":904},[4000],{"type":901,"value":1445},{"type":886,"tag":253,"props":4002,"children":4003},{"class":255,"line":1243},[4004],{"type":886,"tag":253,"props":4005,"children":4006},{"style":1111},[4007],{"type":901,"value":4008},"  \u002F\u002F Raster dimensions are fixed and bounded. The common exporter separately\n",{"type":886,"tag":253,"props":4010,"children":4011},{"class":255,"line":1276},[4012],{"type":886,"tag":253,"props":4013,"children":4014},{"style":1111},[4015],{"type":901,"value":4016},"  \u002F\u002F fits this image to the current page\u002Fcell width without changing its ratio.\n",{"type":886,"tag":253,"props":4018,"children":4019},{"class":255,"line":1325},[4020,4025,4029,4034,4039,4043,4048],{"type":886,"tag":253,"props":4021,"children":4022},{"style":904},[4023],{"type":901,"value":4024},"  canvas.width ",{"type":886,"tag":253,"props":4026,"children":4027},{"style":898},[4028],{"type":901,"value":772},{"type":886,"tag":253,"props":4030,"children":4031},{"style":1082},[4032],{"type":901,"value":4033}," 1200",{"type":886,"tag":253,"props":4035,"children":4036},{"style":904},[4037],{"type":901,"value":4038},"; canvas.height ",{"type":886,"tag":253,"props":4040,"children":4041},{"style":898},[4042],{"type":901,"value":772},{"type":886,"tag":253,"props":4044,"children":4045},{"style":1082},[4046],{"type":901,"value":4047}," 480",{"type":886,"tag":253,"props":4049,"children":4050},{"style":904},[4051],{"type":901,"value":922},{"type":886,"tag":253,"props":4053,"children":4054},{"class":255,"line":1372},[4055,4060],{"type":886,"tag":253,"props":4056,"children":4057},{"style":898},[4058],{"type":901,"value":4059},"  try",{"type":886,"tag":253,"props":4061,"children":4062},{"style":904},[4063],{"type":901,"value":1162},{"type":886,"tag":253,"props":4065,"children":4066},{"class":255,"line":1385},[4067,4072,4077,4081,4086,4091,4095,4100],{"type":886,"tag":253,"props":4068,"children":4069},{"style":898},[4070],{"type":901,"value":4071},"    const",{"type":886,"tag":253,"props":4073,"children":4074},{"style":1082},[4075],{"type":901,"value":4076}," context",{"type":886,"tag":253,"props":4078,"children":4079},{"style":898},[4080],{"type":901,"value":384},{"type":886,"tag":253,"props":4082,"children":4083},{"style":904},[4084],{"type":901,"value":4085}," canvas.",{"type":886,"tag":253,"props":4087,"children":4088},{"style":1140},[4089],{"type":901,"value":4090},"getContext",{"type":886,"tag":253,"props":4092,"children":4093},{"style":904},[4094],{"type":901,"value":563},{"type":886,"tag":253,"props":4096,"children":4097},{"style":914},[4098],{"type":901,"value":4099},"'2d'",{"type":886,"tag":253,"props":4101,"children":4102},{"style":904},[4103],{"type":901,"value":1445},{"type":886,"tag":253,"props":4105,"children":4106},{"class":255,"line":1448},[4107,4112,4116,4120,4125,4129,4133,4137,4141,4146],{"type":886,"tag":253,"props":4108,"children":4109},{"style":898},[4110],{"type":901,"value":4111},"    if",{"type":886,"tag":253,"props":4113,"children":4114},{"style":904},[4115],{"type":901,"value":2160},{"type":886,"tag":253,"props":4117,"children":4118},{"style":898},[4119],{"type":901,"value":3274},{"type":886,"tag":253,"props":4121,"children":4122},{"style":904},[4123],{"type":901,"value":4124},"context) ",{"type":886,"tag":253,"props":4126,"children":4127},{"style":898},[4128],{"type":901,"value":1421},{"type":886,"tag":253,"props":4130,"children":4131},{"style":898},[4132],{"type":901,"value":1426},{"type":886,"tag":253,"props":4134,"children":4135},{"style":1140},[4136],{"type":901,"value":1431},{"type":886,"tag":253,"props":4138,"children":4139},{"style":904},[4140],{"type":901,"value":563},{"type":886,"tag":253,"props":4142,"children":4143},{"style":914},[4144],{"type":901,"value":4145},"'Canvas 2D is unavailable.'",{"type":886,"tag":253,"props":4147,"children":4148},{"style":904},[4149],{"type":901,"value":1445},{"type":886,"tag":253,"props":4151,"children":4152},{"class":255,"line":1494},[4153,4158,4162,4167,4172,4177,4181,4185,4189,4193],{"type":886,"tag":253,"props":4154,"children":4155},{"style":904},[4156],{"type":901,"value":4157},"    context.fillStyle ",{"type":886,"tag":253,"props":4159,"children":4160},{"style":898},[4161],{"type":901,"value":772},{"type":886,"tag":253,"props":4163,"children":4164},{"style":914},[4165],{"type":901,"value":4166}," '#FFFFFF'",{"type":886,"tag":253,"props":4168,"children":4169},{"style":904},[4170],{"type":901,"value":4171},"; context.",{"type":886,"tag":253,"props":4173,"children":4174},{"style":1140},[4175],{"type":901,"value":4176},"fillRect",{"type":886,"tag":253,"props":4178,"children":4179},{"style":904},[4180],{"type":901,"value":563},{"type":886,"tag":253,"props":4182,"children":4183},{"style":1082},[4184],{"type":901,"value":2288},{"type":886,"tag":253,"props":4186,"children":4187},{"style":904},[4188],{"type":901,"value":645},{"type":886,"tag":253,"props":4190,"children":4191},{"style":1082},[4192],{"type":901,"value":2288},{"type":886,"tag":253,"props":4194,"children":4195},{"style":904},[4196],{"type":901,"value":4197},", canvas.width, canvas.height);\n",{"type":886,"tag":253,"props":4199,"children":4200},{"class":255,"line":1535},[4201,4205,4209,4214,4219,4223,4228,4232,4237,4241,4246,4250,4255,4259,4264],{"type":886,"tag":253,"props":4202,"children":4203},{"style":904},[4204],{"type":901,"value":4157},{"type":886,"tag":253,"props":4206,"children":4207},{"style":898},[4208],{"type":901,"value":772},{"type":886,"tag":253,"props":4210,"children":4211},{"style":914},[4212],{"type":901,"value":4213}," '#172033'",{"type":886,"tag":253,"props":4215,"children":4216},{"style":904},[4217],{"type":901,"value":4218},"; context.font ",{"type":886,"tag":253,"props":4220,"children":4221},{"style":898},[4222],{"type":901,"value":772},{"type":886,"tag":253,"props":4224,"children":4225},{"style":914},[4226],{"type":901,"value":4227}," 'bold 32px sans-serif'",{"type":886,"tag":253,"props":4229,"children":4230},{"style":904},[4231],{"type":901,"value":4171},{"type":886,"tag":253,"props":4233,"children":4234},{"style":1140},[4235],{"type":901,"value":4236},"fillText",{"type":886,"tag":253,"props":4238,"children":4239},{"style":904},[4240],{"type":901,"value":563},{"type":886,"tag":253,"props":4242,"children":4243},{"style":914},[4244],{"type":901,"value":4245},"'Progress'",{"type":886,"tag":253,"props":4247,"children":4248},{"style":904},[4249],{"type":901,"value":645},{"type":886,"tag":253,"props":4251,"children":4252},{"style":1082},[4253],{"type":901,"value":4254},"40",{"type":886,"tag":253,"props":4256,"children":4257},{"style":904},[4258],{"type":901,"value":645},{"type":886,"tag":253,"props":4260,"children":4261},{"style":1082},[4262],{"type":901,"value":4263},"52",{"type":886,"tag":253,"props":4265,"children":4266},{"style":904},[4267],{"type":901,"value":1445},{"type":886,"tag":253,"props":4269,"children":4270},{"class":255,"line":1587},[4271,4275,4280,4284,4289,4294,4298,4302],{"type":886,"tag":253,"props":4272,"children":4273},{"style":898},[4274],{"type":901,"value":4071},{"type":886,"tag":253,"props":4276,"children":4277},{"style":1082},[4278],{"type":901,"value":4279}," step",{"type":886,"tag":253,"props":4281,"children":4282},{"style":898},[4283],{"type":901,"value":384},{"type":886,"tag":253,"props":4285,"children":4286},{"style":1082},[4287],{"type":901,"value":4288}," 1120",{"type":886,"tag":253,"props":4290,"children":4291},{"style":898},[4292],{"type":901,"value":4293}," \u002F",{"type":886,"tag":253,"props":4295,"children":4296},{"style":904},[4297],{"type":901,"value":3813},{"type":886,"tag":253,"props":4299,"children":4300},{"style":1082},[4301],{"type":901,"value":1401},{"type":886,"tag":253,"props":4303,"children":4304},{"style":904},[4305],{"type":901,"value":922},{"type":886,"tag":253,"props":4307,"children":4308},{"class":255,"line":1601},[4309,4314,4319,4324,4328,4332,4337,4341,4346,4350,4354,4358,4362],{"type":886,"tag":253,"props":4310,"children":4311},{"style":904},[4312],{"type":901,"value":4313},"    values.",{"type":886,"tag":253,"props":4315,"children":4316},{"style":1140},[4317],{"type":901,"value":4318},"forEach",{"type":886,"tag":253,"props":4320,"children":4321},{"style":904},[4322],{"type":901,"value":4323},"((",{"type":886,"tag":253,"props":4325,"children":4326},{"style":1207},[4327],{"type":901,"value":3852},{"type":886,"tag":253,"props":4329,"children":4330},{"style":898},[4331],{"type":901,"value":570},{"type":886,"tag":253,"props":4333,"children":4334},{"style":1082},[4335],{"type":901,"value":4336}," number",{"type":886,"tag":253,"props":4338,"children":4339},{"style":904},[4340],{"type":901,"value":645},{"type":886,"tag":253,"props":4342,"children":4343},{"style":1207},[4344],{"type":901,"value":4345},"index",{"type":886,"tag":253,"props":4347,"children":4348},{"style":898},[4349],{"type":901,"value":570},{"type":886,"tag":253,"props":4351,"children":4352},{"style":1082},[4353],{"type":901,"value":4336},{"type":886,"tag":253,"props":4355,"children":4356},{"style":904},[4357],{"type":901,"value":1416},{"type":886,"tag":253,"props":4359,"children":4360},{"style":898},[4361],{"type":901,"value":1939},{"type":886,"tag":253,"props":4363,"children":4364},{"style":904},[4365],{"type":901,"value":1162},{"type":886,"tag":253,"props":4367,"children":4368},{"class":255,"line":1619},[4369,4374,4379,4383,4387,4391,4396],{"type":886,"tag":253,"props":4370,"children":4371},{"style":898},[4372],{"type":901,"value":4373},"      const",{"type":886,"tag":253,"props":4375,"children":4376},{"style":1082},[4377],{"type":901,"value":4378}," height",{"type":886,"tag":253,"props":4380,"children":4381},{"style":898},[4382],{"type":901,"value":384},{"type":886,"tag":253,"props":4384,"children":4385},{"style":904},[4386],{"type":901,"value":3865},{"type":886,"tag":253,"props":4388,"children":4389},{"style":898},[4390],{"type":901,"value":2273},{"type":886,"tag":253,"props":4392,"children":4393},{"style":1082},[4394],{"type":901,"value":4395}," 3",{"type":886,"tag":253,"props":4397,"children":4398},{"style":904},[4399],{"type":901,"value":922},{"type":886,"tag":253,"props":4401,"children":4402},{"class":255,"line":1704},[4403,4408,4412,4417,4421,4425,4429,4433,4438,4443,4447,4452,4457,4462,4467,4471,4476],{"type":886,"tag":253,"props":4404,"children":4405},{"style":904},[4406],{"type":901,"value":4407},"      context.fillStyle ",{"type":886,"tag":253,"props":4409,"children":4410},{"style":898},[4411],{"type":901,"value":772},{"type":886,"tag":253,"props":4413,"children":4414},{"style":914},[4415],{"type":901,"value":4416}," '#4F63D8'",{"type":886,"tag":253,"props":4418,"children":4419},{"style":904},[4420],{"type":901,"value":4171},{"type":886,"tag":253,"props":4422,"children":4423},{"style":1140},[4424],{"type":901,"value":4176},{"type":886,"tag":253,"props":4426,"children":4427},{"style":904},[4428],{"type":901,"value":563},{"type":886,"tag":253,"props":4430,"children":4431},{"style":1082},[4432],{"type":901,"value":4254},{"type":886,"tag":253,"props":4434,"children":4435},{"style":898},[4436],{"type":901,"value":4437}," +",{"type":886,"tag":253,"props":4439,"children":4440},{"style":904},[4441],{"type":901,"value":4442}," step ",{"type":886,"tag":253,"props":4444,"children":4445},{"style":898},[4446],{"type":901,"value":2273},{"type":886,"tag":253,"props":4448,"children":4449},{"style":904},[4450],{"type":901,"value":4451}," index, ",{"type":886,"tag":253,"props":4453,"children":4454},{"style":1082},[4455],{"type":901,"value":4456},"410",{"type":886,"tag":253,"props":4458,"children":4459},{"style":898},[4460],{"type":901,"value":4461}," -",{"type":886,"tag":253,"props":4463,"children":4464},{"style":904},[4465],{"type":901,"value":4466}," height, step ",{"type":886,"tag":253,"props":4468,"children":4469},{"style":898},[4470],{"type":901,"value":2273},{"type":886,"tag":253,"props":4472,"children":4473},{"style":1082},[4474],{"type":901,"value":4475}," .65",{"type":886,"tag":253,"props":4477,"children":4478},{"style":904},[4479],{"type":901,"value":4480},", height);\n",{"type":886,"tag":253,"props":4482,"children":4483},{"class":255,"line":1743},[4484,4488,4492,4496,4500,4504,4509,4513,4517,4521,4526,4531,4535,4539,4543,4547,4551,4556],{"type":886,"tag":253,"props":4485,"children":4486},{"style":904},[4487],{"type":901,"value":4407},{"type":886,"tag":253,"props":4489,"children":4490},{"style":898},[4491],{"type":901,"value":772},{"type":886,"tag":253,"props":4493,"children":4494},{"style":914},[4495],{"type":901,"value":4213},{"type":886,"tag":253,"props":4497,"children":4498},{"style":904},[4499],{"type":901,"value":4218},{"type":886,"tag":253,"props":4501,"children":4502},{"style":898},[4503],{"type":901,"value":772},{"type":886,"tag":253,"props":4505,"children":4506},{"style":914},[4507],{"type":901,"value":4508}," '24px sans-serif'",{"type":886,"tag":253,"props":4510,"children":4511},{"style":904},[4512],{"type":901,"value":4171},{"type":886,"tag":253,"props":4514,"children":4515},{"style":1140},[4516],{"type":901,"value":4236},{"type":886,"tag":253,"props":4518,"children":4519},{"style":904},[4520],{"type":901,"value":563},{"type":886,"tag":253,"props":4522,"children":4523},{"style":1140},[4524],{"type":901,"value":4525},"String",{"type":886,"tag":253,"props":4527,"children":4528},{"style":904},[4529],{"type":901,"value":4530},"(value), ",{"type":886,"tag":253,"props":4532,"children":4533},{"style":1082},[4534],{"type":901,"value":4254},{"type":886,"tag":253,"props":4536,"children":4537},{"style":898},[4538],{"type":901,"value":4437},{"type":886,"tag":253,"props":4540,"children":4541},{"style":904},[4542],{"type":901,"value":4442},{"type":886,"tag":253,"props":4544,"children":4545},{"style":898},[4546],{"type":901,"value":2273},{"type":886,"tag":253,"props":4548,"children":4549},{"style":904},[4550],{"type":901,"value":4451},{"type":886,"tag":253,"props":4552,"children":4553},{"style":1082},[4554],{"type":901,"value":4555},"444",{"type":886,"tag":253,"props":4557,"children":4558},{"style":904},[4559],{"type":901,"value":1445},{"type":886,"tag":253,"props":4561,"children":4562},{"class":255,"line":1756},[4563],{"type":886,"tag":253,"props":4564,"children":4565},{"style":904},[4566],{"type":901,"value":4567},"    });\n",{"type":886,"tag":253,"props":4569,"children":4570},{"class":255,"line":1765},[4571,4576,4580],{"type":886,"tag":253,"props":4572,"children":4573},{"style":904},[4574],{"type":901,"value":4575},"    signal?.",{"type":886,"tag":253,"props":4577,"children":4578},{"style":1140},[4579],{"type":901,"value":3632},{"type":886,"tag":253,"props":4581,"children":4582},{"style":904},[4583],{"type":901,"value":3637},{"type":886,"tag":253,"props":4585,"children":4586},{"class":255,"line":1774},[4587,4592,4596,4601,4605,4610],{"type":886,"tag":253,"props":4588,"children":4589},{"style":898},[4590],{"type":901,"value":4591},"    return",{"type":886,"tag":253,"props":4593,"children":4594},{"style":904},[4595],{"type":901,"value":4085},{"type":886,"tag":253,"props":4597,"children":4598},{"style":1140},[4599],{"type":901,"value":4600},"toDataURL",{"type":886,"tag":253,"props":4602,"children":4603},{"style":904},[4604],{"type":901,"value":563},{"type":886,"tag":253,"props":4606,"children":4607},{"style":914},[4608],{"type":901,"value":4609},"'image\u002Fpng'",{"type":886,"tag":253,"props":4611,"children":4612},{"style":904},[4613],{"type":901,"value":1445},{"type":886,"tag":253,"props":4615,"children":4616},{"class":255,"line":1844},[4617,4622,4627,4632,4636,4640,4644,4648,4652],{"type":886,"tag":253,"props":4618,"children":4619},{"style":904},[4620],{"type":901,"value":4621},"  } ",{"type":886,"tag":253,"props":4623,"children":4624},{"style":898},[4625],{"type":901,"value":4626},"finally",{"type":886,"tag":253,"props":4628,"children":4629},{"style":904},[4630],{"type":901,"value":4631}," { canvas.width ",{"type":886,"tag":253,"props":4633,"children":4634},{"style":898},[4635],{"type":901,"value":772},{"type":886,"tag":253,"props":4637,"children":4638},{"style":1082},[4639],{"type":901,"value":1692},{"type":886,"tag":253,"props":4641,"children":4642},{"style":904},[4643],{"type":901,"value":4038},{"type":886,"tag":253,"props":4645,"children":4646},{"style":898},[4647],{"type":901,"value":772},{"type":886,"tag":253,"props":4649,"children":4650},{"style":1082},[4651],{"type":901,"value":1692},{"type":886,"tag":253,"props":4653,"children":4654},{"style":904},[4655],{"type":901,"value":4656},"; }\n",{"type":886,"tag":253,"props":4658,"children":4659},{"class":255,"line":1853},[4660],{"type":886,"tag":253,"props":4661,"children":4662},{"style":904},[4663],{"type":901,"value":615},{"type":886,"tag":253,"props":4665,"children":4666},{"class":255,"line":1914},[4667],{"type":886,"tag":253,"props":4668,"children":4669},{"emptyLinePlaceholder":370},[4670],{"type":901,"value":371},{"type":886,"tag":253,"props":4672,"children":4673},{"class":255,"line":1923},[4674],{"type":886,"tag":253,"props":4675,"children":4676},{"style":1111},[4677],{"type":901,"value":3423},{"type":886,"tag":253,"props":4679,"children":4680},{"class":255,"line":1974},[4681],{"type":886,"tag":253,"props":4682,"children":4683},{"style":1111},[4684],{"type":901,"value":4685}," * Registers the image recipe for a standalone conversion operation.\n",{"type":886,"tag":253,"props":4687,"children":4688},{"class":255,"line":2000},[4689,4693,4697,4701],{"type":886,"tag":253,"props":4690,"children":4691},{"style":1111},[4692],{"type":901,"value":3439},{"type":886,"tag":253,"props":4694,"children":4695},{"style":898},[4696],{"type":901,"value":1254},{"type":886,"tag":253,"props":4698,"children":4699},{"style":904},[4700],{"type":901,"value":3469},{"type":886,"tag":253,"props":4702,"children":4703},{"style":1111},[4704],{"type":901,"value":4705}," - Browser capability used for offscreen rendering.\n",{"type":886,"tag":253,"props":4707,"children":4708},{"class":255,"line":2071},[4709,4713,4717,4721],{"type":886,"tag":253,"props":4710,"children":4711},{"style":1111},[4712],{"type":901,"value":3439},{"type":886,"tag":253,"props":4714,"children":4715},{"style":898},[4716],{"type":901,"value":1254},{"type":886,"tag":253,"props":4718,"children":4719},{"style":904},[4720],{"type":901,"value":3490},{"type":886,"tag":253,"props":4722,"children":4723},{"style":1111},[4724],{"type":901,"value":4725}," - Optional operation cancellation.\n",{"type":886,"tag":253,"props":4727,"children":4728},{"class":255,"line":2122},[4729,4733,4737,4741],{"type":886,"tag":253,"props":4730,"children":4731},{"style":1111},[4732],{"type":901,"value":3439},{"type":886,"tag":253,"props":4734,"children":4735},{"style":898},[4736],{"type":901,"value":1254},{"type":886,"tag":253,"props":4738,"children":4739},{"style":904},[4740],{"type":901,"value":2938},{"type":886,"tag":253,"props":4742,"children":4743},{"style":1111},[4744],{"type":901,"value":4745}," - Word source recovery; PDF has no round-trip store.\n",{"type":886,"tag":253,"props":4747,"children":4748},{"class":255,"line":2131},[4749,4753,4757],{"type":886,"tag":253,"props":4750,"children":4751},{"style":1111},[4752],{"type":901,"value":3439},{"type":886,"tag":253,"props":4754,"children":4755},{"style":898},[4756],{"type":901,"value":1119},{"type":886,"tag":253,"props":4758,"children":4759},{"style":1111},[4760],{"type":901,"value":4761}," The one code-image owner. Merge other languages into its renderer when composing with Mermaid.\n",{"type":886,"tag":253,"props":4763,"children":4764},{"class":255,"line":2140},[4765],{"type":886,"tag":253,"props":4766,"children":4767},{"style":1111},[4768],{"type":901,"value":3519},{"type":886,"tag":253,"props":4770,"children":4771},{"class":255,"line":2182},[4772,4776,4780,4785,4789,4793,4797,4801,4805,4809,4813,4817,4821,4826,4830,4835,4839,4843,4847],{"type":886,"tag":253,"props":4773,"children":4774},{"style":898},[4775],{"type":901,"value":1133},{"type":886,"tag":253,"props":4777,"children":4778},{"style":898},[4779],{"type":901,"value":557},{"type":886,"tag":253,"props":4781,"children":4782},{"style":1140},[4783],{"type":901,"value":4784}," createProgressChartExtension",{"type":886,"tag":253,"props":4786,"children":4787},{"style":904},[4788],{"type":901,"value":563},{"type":886,"tag":253,"props":4790,"children":4791},{"style":1207},[4792],{"type":901,"value":591},{"type":886,"tag":253,"props":4794,"children":4795},{"style":898},[4796],{"type":901,"value":570},{"type":886,"tag":253,"props":4798,"children":4799},{"style":1140},[4800],{"type":901,"value":596},{"type":886,"tag":253,"props":4802,"children":4803},{"style":904},[4804],{"type":901,"value":645},{"type":886,"tag":253,"props":4806,"children":4807},{"style":1207},[4808],{"type":901,"value":654},{"type":886,"tag":253,"props":4810,"children":4811},{"style":898},[4812],{"type":901,"value":3587},{"type":886,"tag":253,"props":4814,"children":4815},{"style":1140},[4816],{"type":901,"value":3592},{"type":886,"tag":253,"props":4818,"children":4819},{"style":904},[4820],{"type":901,"value":645},{"type":886,"tag":253,"props":4822,"children":4823},{"style":1207},[4824],{"type":901,"value":4825},"metadata",{"type":886,"tag":253,"props":4827,"children":4828},{"style":898},[4829],{"type":901,"value":384},{"type":886,"tag":253,"props":4831,"children":4832},{"style":1082},[4833],{"type":901,"value":4834}," true",{"type":886,"tag":253,"props":4836,"children":4837},{"style":904},[4838],{"type":901,"value":1310},{"type":886,"tag":253,"props":4840,"children":4841},{"style":898},[4842],{"type":901,"value":570},{"type":886,"tag":253,"props":4844,"children":4845},{"style":1140},[4846],{"type":901,"value":1157},{"type":886,"tag":253,"props":4848,"children":4849},{"style":904},[4850],{"type":901,"value":1162},{"type":886,"tag":253,"props":4852,"children":4853},{"class":255,"line":2240},[4854,4858,4863,4868,4873],{"type":886,"tag":253,"props":4855,"children":4856},{"style":898},[4857],{"type":901,"value":604},{"type":886,"tag":253,"props":4859,"children":4860},{"style":1140},[4861],{"type":901,"value":4862}," createMarkdownDocxCodeImageExtension",{"type":886,"tag":253,"props":4864,"children":4865},{"style":904},[4866],{"type":901,"value":4867},"({ languages: [",{"type":886,"tag":253,"props":4869,"children":4870},{"style":914},[4871],{"type":901,"value":4872},"'progress-chart'",{"type":886,"tag":253,"props":4874,"children":4875},{"style":904},[4876],{"type":901,"value":4877},"], metadata,\n",{"type":886,"tag":253,"props":4879,"children":4880},{"class":255,"line":2296},[4881,4886,4890,4894,4898,4902],{"type":886,"tag":253,"props":4882,"children":4883},{"style":1140},[4884],{"type":901,"value":4885},"    render",{"type":886,"tag":253,"props":4887,"children":4888},{"style":904},[4889],{"type":901,"value":2033},{"type":886,"tag":253,"props":4891,"children":4892},{"style":1207},[4893],{"type":901,"value":3549},{"type":886,"tag":253,"props":4895,"children":4896},{"style":898},[4897],{"type":901,"value":1559},{"type":886,"tag":253,"props":4899,"children":4900},{"style":1140},[4901],{"type":901,"value":3540},{"type":886,"tag":253,"props":4903,"children":4904},{"style":904},[4905],{"type":901,"value":4906},"(request, ownerDocument, signal) });\n",{"type":886,"tag":253,"props":4908,"children":4909},{"class":255,"line":2346},[4910],{"type":886,"tag":253,"props":4911,"children":4912},{"style":904},[4913],{"type":901,"value":615},{"type":886,"tag":846,"props":4915,"children":4916},{},[4917],{"type":901,"value":3356},1793046311994]